html, body {
    width: 100%;
    height: 100%;
    padding: 0;
    position: relative;
    margin: 0;
}

::-webkit-scrollbar {
    width: 0;
}

a, input, select, button {
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    outline: none;
}

body {
    max-width: 640px;
    margin: 0 auto;
    background: #ffffff;
}

.content {
    overflow-x: hidden;
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #e7cd51;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /*padding-bottom: 3%;*/
    /*overflow: hidden;*/
}

blockquote, body, button, dd, dt, dl, fieldset, form, h1, h2, h3, h4, h5, h6, hr, input, legend, li, ol, p, pre, td, textarea, th, ul, img, div {
    margin: 0;
    padding: 0;
}

img {
    width: 100%;
    border: none;
}

.content .top {
    width: 100%;
    font-size: 0;
    position: relative;
}

.content .top-word {
    position: absolute;
    bottom: 2%;
    width: 100%;
}

.top-word p {
    text-align: center;
}

.top-word .number {
    color: #404040;
    font-size: 16px;
    font-family: '微软雅黑';
    margin: 0 17%;
}

.top-word .number span {
    font-size: 20px;
    font-family: Arial;
    color: #d14e38;
}

.top-word .button button {
    display: block;
    background: #d14e38;
    width: 50%;
    height: 40px;
    font-size: 20px;
    color: #fdde9a;
    font-weight: bold;
    margin: 10px auto 0;
    border: none;
    border-radius: 10px;
    line-height: 40px;
}

.content .center {
    font-size: 0;
    width: 100%;
    position: relative;
    background: #e7cd52;

}

.center .top-list {
    display: -webkit-box;
    margin: 0 15%;
    height: 72px;
    line-height: 72px;
}

.content .center-word {
    top: 0;
    bottom: 0;
    position: static;
    padding-bottom: 5%;
}

.center .top-list span {
    -webkit-box-flex: 1;
    display: block;
    font-size: 22px;
    color: #333;
}

.center-place {
    font-weight: 400;
}

.left-place {
    background: url('images/left_p.png') no-repeat center center;
    background-size: 100% 10%;
}

.right-place {
    background: url('images/right_p.png') no-repeat center center;
    background-size: 100% 10%;
}

ul {
    margin-top: 2.5%;
}

ul li {
    font-size: 12px;
    display: -webkit-box;
}

ul li span {
    display: block;
    font-size: 16px;
    height: 37px;
    line-height: 37px;
}

li .li-left {
    width: 14%;
    font-family: Arial;
    text-align: center;
}

li .li-center {
    -webkit-box-flex: 1;
}

li .li-right {
    width: 25%;
}

li .li-right b {
    font-weight: normal;
    font-family: Arial;
}

li:nth-child(2n+1) {
    background: #edd871;
}

#rank {
    display: block;
    margin: 4% auto 0;
    width: 42%;
    font-size: 16px;
    line-height: 41px;
    background: none;
    border: 1px solid #333333;
    color: #333333;
    border-radius: 40px;
}

#rankMore {
    display: block;
    margin: 4% auto 0;
    width: 30%;
    font-size: 16px;
    line-height: 41px;
    background: none;
    border: 1px solid #333333;
    color: #333333;
    border-radius: 40px;
}

p.setting {
    text-align: center;
    font-size: 16px;
    height: 28px;
    line-height: 28px;
}

p.setting a {
    display: inline-block;
    text-decoration: none;
    border-bottom: 1px solid #333;
    color: #333333;
}

#barrage {
    position: absolute;
    -webkit-transform: translateX(-100%);
}

.barrage {
    display: -webkit-box;
    /*margin-left: 20px;*/
    z-index: 200;
    position: relative;
}

.barrage .touxiang {
    display: block;
    border-radius: 40px;
    width: 44px;
    height: 44px;
    border: 1px solid #f4e8af;
    border-left: none;
    position: absolute;
    border-right: 0;
    background: #3c375d;

}

.barrage .touxiang img {
    display: block;
    border-radius: 40px;
    width: 40px;
    height: 40px;
    border-left: none;
    position: absolute;
    margin: 2px;
}

.barrage .name {
    background: #3c375d;
    display: -webkit-box;
    margin-left: 28px;
    height: 30px;
    margin-top: 7px;
    border-bottom-right-radius: 20px;
    border-top-right-radius: 20px;
    border: 1px solid #f4e8af;
    border-left: none;
}

.barrage .name .name-left {
    -webkit-box-flex: 1;
    display: block;
    font-size: 14px;
    text-align: center;
    color: #ffffff;
    line-height: 30px;
    padding: 0 15px 0 24px;
}

.barrage .name .name-icon {
    width: 26px;
    display: block;
    background: url('images/Lantern.png') no-repeat center left;
    background-size: 15px 16px;
}

.content .shadow {
    z-index: 200;
    width: 100%;
    position: fixed;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    top: 0;
    overflow: hidden;
    left: 0;
    right: 0;
    bottom: 0;
}

.shadow-red {
    width: 76%;
    margin: 0 auto;
    position: relative;
    top: 9%;
}

.shadow-red .shadow-red-top {
    background: url('images/border_top.png') no-repeat center center;
    background-size: 100% 100%;
    height: 17px;
}

.shadow-red .shadow-red-bottom {
    background: url('images/border_bottom.png') no-repeat center center;
    background-size: 100% 100%;
    height: 17px;
}

.shadow-close {
    position: absolute;
    top: -44px;
    right: -44px;
    width: 44px;
    height: 44px;
}

.shadow-red-center {
    text-align: center;
    font-size: 18px;
    line-height: 35px;
    color: #fff1b1;
    background: #b54530;
    padding: 16px 0;
}

.shadow-red-center h5 {
    font-size: 20px;
    font-weight: normal;
    height: 40px;
    line-height: 40px;
}

.shadow-red-center p {
    height: 40px;
    line-height: 40px;
}

.shadow-red-center p span.number {
    font-family: Arial;
    letter-spacing: 1px;
    display: inline-block;
    margin: 0 2px 0 5px;
    font-size: 18px;
}

.shadow-red-center button {
    background: #fff1b1;
    border: none;
    border-radius: 20px;
    color: #b54530;
    width: 45%;
    line-height: 35px;
    font-size: 18px;
    height: 35px;
    margin-top: 10px;
}

.shadow-red-center input {
    display: block;
    border: none;
    vertical-align: middle;
    background: none;
    /*height: 40px;*/
    width: 100%;
    color: #fff1b1;
    font-size: 14px;
    /*line-height: 40px;*/
    padding: 14px 0 8px;
    /*border: 1px solid #333333;*/
    /*font-size: 18px;*/
}

.shadow-red-center input[type='datetime'] {
}

#info p {
    margin: 14px 15px;
    text-align: left;
    height: 40px;
    line-height: 40px;
    display: -webkit-box;
}

#info p.left {
    text-align: center;
    color: #dca97b;
    display: block;
}

#info p.school {
    border: 1px solid #fdde9a;
    border-radius: 10px;
}

#info span {
    display: block;
    margin-left: 10px;
}

#info span.input {
    -webkit-box-flex: 1;
    height: 40px;
    line-height: 40px;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: #fff1b1;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #fff1b1;
}

#info span.name {
    width: 35%;
}

#noWish .first-p {
    margin-top: 8px;
}

.rule {
    color: #ffffff;
    padding: 0 30px;
    z-index: 200;
    position: fixed;
    background: rgba(0, 0, 0, 0.8);
    top: 0;
    overflow: hidden;
    left: 0;
    right: 0;
    bottom: 0;
}

.rule h6.first-h {
    margin-top: 35px;
}

.rule img {
    position: absolute;
    width: 44px;
    height: 44px;
    top: 10px;
    right: 29px;
    z-index: 300;
}

.rule h6 {
    height: 54px;
    line-height: 54px;
    font-size: 20px;
}

.rule p {
    line-height: 26px;
    font-size: 14px;
}

.rule p.last-p {
    margin-bottom: 40px;
}

.rule-center {
    position: relative;
    height: 100%;
    overflow: scroll;
}

.getDate {
    display: -webkit-box;
    height: 50px;
    margin: 10px 12% 0;
}

/*.getDate span.span {*/
/*display: block;*/
/*height: 62px;*/
/*-webkit-box-flex: 1;*/
/*border-radius: 4px;*/
/*background: #fff1b1;*/
/*}*/

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0;
}

/*.getDate span.interval {*/
/*width: 10px;*/
/*height: 62px;*/
/*display: block;*/
/*}*/

.getDate input {
    width: 100%;
    /*height: 100%;*/
    display: block;
    color: #dca97b;
    background: #fff1b1;
    text-align: center;
    font-size: 26px;
    border-radius: 12px;
}

#getDate p.p {
    font-size: 14px;
    color: #e3b987;
}

.loading {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    bottom: 0;
    z-index: 100;
    position: fixed;
}

.loading div {
    position: absolute;
    top: 40%;
    /* margin: 0 auto; */
    text-align: center;
    width: 100%;
    font-size: 20px;
    color: #d1bb52;
    font-weight: bold;
}

.loading div img {
    height: 36px;
    width: 36px;
}

@keyframes zoomIn {
    0% {
        -webkit-transform: translateX(-100%); /* Safari 和 Chrome */
    }
    50% {
        -webkit-transform: translateX(100%); /* Safari 和 Chrome */
    }
    100% {
        -webkit-transform: translateX(300%); /* Safari 和 Chrome */
    }
}

.zoomIn {
    -webkit-animation: zoomIn 3s linear both;
    animation: zoomIn 3s linear both;
}