@-webkit-keyframes rotate {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotate {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes toss-tip-hand {
    0%,
    100% {
        top: 0;
    }
    50% {
        top: -60px;
    }
}

@keyframes toss-tip-hand {
    0%,
    100% {
        top: 0;
    }
    50% {
        top: -60px;
    }
}

@-webkit-keyframes btn-intro-icon {
    0%,
    100% {
        top: -120px;
    }
    50% {
        top: -150px;
    }
}

@keyframes btn-intro-icon {
    0%,
    100% {
        top: -120px;
    }
    50% {
        top: -150px;
    }
}

html {
    width: 750px;
    -webkit-tap-highlight-color: transparent;
}

body {
    width: 100%;
}

a {
    text-decoration: none;
}

a>img {
    display: block;
}

ul {
    margin: 0;
    padding: 0;
}

ul.list-unstyled>li {
    list-style: none;
}

ul.list-inline:after {
    content: " ";
    display: table;
    clear: both;
}

ul.list-inline>li {
    display: block;
    float: left;
}

.clearfix:after {
    content: " ";
    display: table;
    clear: both;
}

.hidden {
    display: none !important;
}

#toast-container.toast-top-full-width>div {
    width: 100%;
    border-radius: 0;
}

.toast .toast-message {
    font-size: 2em;
}

.btn-music {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 500;
    display: block;
    width: 55px;
    height: 55px;
    -webkit-animation: rotate 3s infinite linear;
    -moz-animation: rotate 3s infinite linear;
    animation: rotate 3s infinite linear;
}

.btn-music.on {
    background: url(../../Images/bobing/btn-music.png?2) left center no-repeat;
}

.btn-music.off {
    background: url(../../Images/bobing/btn-music.png?2) -55px center no-repeat;
    -webkit-animation: none;
    -moz-animation: none;
    animation: none;
}

#btn-intro {
    position: absolute;
    top: 250px;
    right: 20px;
    z-index: 600;
    width: 94px;
    height: 60px;
}

#btn-intro .intro-icon,
#btn-intro .intro-text {
    display: block;
}

#btn-intro .intro-icon {
    /* position: absolute;
    left: 50%;
    top: -150px;
    margin-left: -40px;
    width: 94px;
    height: 515px; */
    position: absolute;
    left: -17%;
    top: -22px;
    margin-left: -40px;
    width: 180px;
    height: 77px;
}

#btn-intro .intro-text {
    width: 100%;
    height: 100%;
}

#box-intro {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    z-index: 3000;
    min-height: 100%;
    background-color: rgba(0, 0, 0, .7);
}

#box-intro .box-inner {
    position: relative;
    margin: 120px 75px 75px;
}

#box-intro .box-inner img {
    display: block;
    width: 100%;
}

#box-intro .box-inner .btn-close {
    position: absolute;
    top: -115px;
    right: -44px;
    display: block;
    width: 94px;
    height: 124px;
    background: url(../../Images/bobing/btn-close.png?2) center center no-repeat;
}

/* #btn-rules {
    position: absolute;
    top: 226px;
    right: -1.5%;
    z-index: 700;
    width: 170px;
    height: 69px;
    background: url(../../Images/bobing/btn-rules.png?2) center center no-repeat;
} */

#box-rules {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 3000;
    padding: 120px 30px 0;
    background-color: rgba(0, 0, 0, .75);
    height:100%; 
    overflow-y: scroll;
}
#box-rules .tab-body{
    position: relative;
    top: -6rem;
    z-index: -1;
}
#box-rules .tab-head {
    width: 100%;
    /* height: 85px; */
    color: #fff;
    display: flex;
    justify-content: center;
}

#box-rules .tab-head .btn-tab {
    position: relative;
    top: 20px;
    float: left;
    display: block;
    /* margin-right: 7px; */
    width: 190px;
    height: 100%;
    background: url(../../Images/bobing/rules-tab-head.png?2) center -95px no-repeat;
    text-align: center;
    line-height: 65px;
    font-size: 25px;
}

#box-rules .tab-head .btn-tab.active {
    top:21px;
    height: 80px;
    line-height: 64px;
    background: url(../../Images/bobing/rules-tab-head.png?2)no-repeat;
    background-size: 100%;
    width: 210px;
}

#box-rules .tab-head .btn-tab:last-child {
    margin-right: 0;
}

#box-rules .tab-body img {
    display: block;
    width: 100%;
}

#box-rules .btn-close {
    position: absolute;
    top: 55px;
    right: 20px;
    width: 94px;
    height: 114px;
    background: url(../../Images/bobing/btn-close.png?2) center center no-repeat;
}

#box-help-success {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3500;
    background: rgba(0, 0, 0, .75) url(../../Images/bobing/help-success.png?2) center center no-repeat;
}

#box-congratulation {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 3000;
    padding: 0 130px;
    background: rgba(0, 0, 0, .75) url(../../Images/bobing/box-congratulation.png?2) center top no-repeat;
}

#box-congratulation .head {
    margin: 140px auto 0;
    width: 450px;
    height: 295px;
}

#box-congratulation .head.result-type-1 {
    background: url(../../Images/bobing/result-head-1.png?2) center center no-repeat;
}

#box-congratulation .head.result-type-2 {
    background: url(../../Images/bobing/result-head-2.png?2) center center no-repeat;
}

#box-congratulation .head.result-type-3 {
    background: url(../../Images/bobing/result-head-3.png?2) center center no-repeat;
}

#box-congratulation .head.result-type-4 {
    background: url(../../Images/bobing/result-head-4.png?2) center center no-repeat;
}

#box-congratulation .head.result-type-5 {
    background: url(../../Images/bobing/result-head-5.png?2) center center no-repeat;
}

#box-congratulation .head.result-type-6 {
    background: url(../../Images/bobing/result-head-6.png?2) center center no-repeat;
}

#box-congratulation .dice-list {
    margin-top: 12px;
    text-align: center;
}

#box-congratulation .dice-list .dice {
    display: inline-block;
    margin: 0 2px;
    width: 57px;
    height: 56px;
}

#box-congratulation .dice-list .dice.dice-result-1 {
    background: url(../../Images/bobing/dice-result-1.png?2) center center no-repeat;
    background-size: 100%, 100%;
}

#box-congratulation .dice-list .dice.dice-result-2 {
    background: url(../../Images/bobing/dice-result-2.png?2) center center no-repeat;
    background-size: 100%, 100%;
}

#box-congratulation .dice-list .dice.dice-result-3 {
    background: url(../../Images/bobing/dice-result-3.png?2) center center no-repeat;
    background-size: 100%, 100%;
}

#box-congratulation .dice-list .dice.dice-result-4 {
    background: url(../../Images/bobing/dice-result-4.png?2) center center no-repeat;
    background-size: 100%, 100%;
}

#box-congratulation .dice-list .dice.dice-result-5 {
    background: url(../../Images/bobing/dice-result-5.png?2) center center no-repeat;
    background-size: 100%, 100%;
}

#box-congratulation .dice-list .dice.dice-result-6 {
    background: url(../../Images/bobing/dice-result-6.png?2) center center no-repeat;
    background-size: 100%, 100%;
}

#box-congratulation .congratulation-info {
    margin-top: 20px;
    text-align: center;
}

#box-congratulation .congratulation-info .congratulation-title {
    line-height: 54px;
    font-size: 34px;
}

#box-congratulation .congratulation-info .congratulation-content {
    width: 90%;
    line-height: 60px;
    font-weight: bold;
    font-size: 38px;
    color: #c4000e;
    margin: 0 auto;
}

#box-congratulation .time-toss {
    margin-top: 25px;
    text-align: center;
    line-height: 1;
    font-size: 28px;
}

#box-congratulation .date-exchange {
    text-align: center;
    margin-top: 20px;
}

#box-congratulation .date-exchange .exchange-range {
    line-height: 1;
    font-size: 28px;
}

#box-congratulation .date-exchange .exchange-tip {
    margin-top: 15px;
    line-height: 1;
    font-size: 22px;
    color: #666;
}

#box-congratulation .btn-toss-again {
    display: block;
    margin: 0px auto 0;
    width: 280px;
    height: 106px;
    background: url(../../Images/bobing/btn-toss-again.png?2) center center no-repeat;
}

#box-congratulation .form-fill-in-mobile-no {
    margin: 40px auto 0;
}

#box-congratulation .form-fill-in-mobile-no .mobile-no {
    float: left;
    box-sizing: border-box;
    margin-left: 25px;
    border-radius: 10px;
    border: 1px solid #000;
    width: 310px;
    height: 60px;
    background: none;
    font-size: 22px;
}

#box-congratulation .form-fill-in-mobile-no .btn-submit {
    float: right;
    margin-right: 25px;
    border: none;
    width: 115px;
    height: 60px;
    background: url(../../Images/bobing/btn-submit.png?2) center center no-repeat;
}

#box-sorry {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 3000;
    background: rgba(0, 0, 0, .75) url(../../Images/bobing/box-sorry.png?2) 0px 120px no-repeat;
}

#box-sorry .btn-toss-again {
    display: block;
    margin: 447px auto 0;
    width: 280px;
    height: 78px;
}

#header {
    height: 412px;
}

#header h1 {
    display: none;
}

#footer {
    text-align: center;
    line-height: 90px;
    font-size: 22px;
    color: #cda217;
}

.bowl {
    position: relative;
    box-sizing: border-box;
    padding: 88px 65px 0;
    height: 602px;
    background-image: url(../../Images/bobing/bowl.png?3);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.bowl .toss-tip {
    position: absolute;
    left: 50%;
    top: 100px;
    z-index: 200;
    margin-left: -115px;
    width: 250px;
    height: 280px;
    background: url(../../Images/bobing/toss-tip-text.png?2) center bottom no-repeat;
}

.bowl .toss-tip .toss-tip-hand {
    position: absolute;
    top: 0;
    left: 10px;
    width: 191px;
    height: 235px;
    background: url(../../Images/bobing/toss-tip-hand.png?2) center bottom no-repeat;
    -webkit-animation: toss-tip-hand 1s infinite;
    animation: toss-tip-hand 1s infinite;
}

.bowl .dice {
    position: absolute;
    z-index: 100;
    width: 135px;
    height: 135px;
}

.bowl .dice-1 {
    left: 190px;
    top: 200px;
}

.bowl .dice-2 {
    right: 190px;
    top: 200px;
}

.bowl .dice-3 {
    left: 310px;
    top: 270px;
}

.bowl .dice-4 {
    left: 170px;
    top: 330px;
}

.bowl .dice-5 {
    right: 170px;
    top: 330px;
}

.bowl .dice-6 {
    left: 310px;
    top: 395px;
}

.bowl .dice-result-1 {
    background: url(../../Images/bobing/dice-result-1.png?2) center center no-repeat;
    background-size: 100% 100%;
}

.bowl .dice-result-2 {
    background: url(../../Images/bobing/dice-result-2.png?2) center center no-repeat;
    background-size: 100% 100%;
}

.bowl .dice-result-3 {
    background: url(../../Images/bobing/dice-result-3.png?2) center center no-repeat;
    background-size: 100% 100%;
}

.bowl .dice-result-4 {
    background: url(../../Images/bobing/dice-result-4.png?2) center center no-repeat;
    background-size: 100% 100%;
}

.bowl .dice-result-5 {
    background: url(../../Images/bobing/dice-result-5.png?2) center center no-repeat;
    background-size: 100% 100%;
}

.bowl .dice-result-6 {
    background: url(../../Images/bobing/dice-result-6.png?2) center center no-repeat;
    background-size: 100% 100%;
}

.bowl .dice-1.dice-rolling {
    background: url(../../Images/bobing/dice-rolling-1.gif?2) center center no-repeat;
    background-size: 100% 100%;
}

.bowl .dice-2.dice-rolling {
    background: url(../../Images/bobing/dice-rolling-2.gif?2) center center no-repeat;
    background-size: 100% 100%;
}

.bowl .dice-3.dice-rolling {
    background: url(../../Images/bobing/dice-rolling-3.gif?2) center center no-repeat;
    background-size: 100% 100%;
}

.bowl .dice-4.dice-rolling {
    background: url(../../Images/bobing/dice-rolling-2.gif?2) center center no-repeat;
    background-size: 100% 100%;
}

.bowl .dice-5.dice-rolling {
    background: url(../../Images/bobing/dice-rolling-2.gif?2) center center no-repeat;
    background-size: 100% 100%;
}

.bowl .dice-6.dice-rolling {
    background: url(../../Images/bobing/dice-rolling-3.gif?2) center center no-repeat;
    background-size: 100% 100%;
}

.user-info {
    display: flex;
    margin-top: 40px;
}

.user-info .avatar-wrapper {
    position: relative;
    float: left;
    margin-left: 25px;
}

.user-info .avatar-wrapper .avatar {
    display: block;
    border-radius: 50%;
    width: 107px;
    height: 107px;
}

.user-info .avatar-wrapper .cap {
    position: absolute;
    left: -30px;
    top: -30px;
    width: 155px;
    height: 72px;
    background: url(../../Images/bobing/cap.png?2) center center no-repeat;
}

.user-info .toss-times-wrapper {
    /* float: left;
    display: table;
    margin-left: 12px;
    color: rgb(220, 10, 0); */
    float: left;
    display: table;
    margin-left: 12px;
    color: #fff;
    width: 16rem;
    display: flex;
    align-items: center;
}

.user-info .toss-times-wrapper .label {
    display: table-cell;
    width: 5rem;
    /* height: 107px; */
    vertical-align: middle;
    line-height: 1.4;
    font-size: 24px;
    color: #fff;
}

.user-info .toss-times-wrapper .cross {
    display: table-cell;
    padding: 0 10px;
    /* height: 107px; */
    vertical-align: middle;
    font-size: 48px;
    color: #fff;
}

.user-info .toss-times-wrapper .toss-times {
    display: table-cell;
    /* height: 107px; */
    vertical-align: middle;
    font-size: 60px;
    color: #fff;
}

#btn-share {
    /* float: right;
    display: block;
    margin-right: 10px;
    width: 385px;
    height: 105px;
    background: url(../../Images/bobing/btn-share.png?2) center center no-repeat; */
    float: right;
    display: block;
    margin-right: 10px;
    width: 281px;
    /* height: 97px; */
    background: url(../../Images/bobing/btn-share.png?2) center center no-repeat;
    background-size: 100%;
    margin-left: 3rem;
}

#box-share {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3000;
    background-color: rgba(0, 0, 0, .7);
}

#box-share .desp-img {
    display: block;
    margin: 80px auto 0;
}

#box-share .btn-close {
    position: absolute;
    left: 50%;
    
    display: block;
    margin-left: -47px;
    width: 94px;
    height: 134px;
    transform: rotate(180deg);
    background: url(../../Images/bobing/btn-close.png?3) center center no-repeat;
}

#box-data {
    margin-top: 40px;
    padding: 0 30px;
}

#box-data .tab-head {
    width: 100%;
    height: 85px;
    display: flex;
    justify-content: center;
}

#box-data .tab-head .btn-tab {
    position: relative;
    /* top: 18px; */
    top: -5px;
    float: left;
    display: block;
    margin-right: 7px;
    /* width: 225px; */
    width: 189px;
    height: 100%;
    text-align: center;
    font-size: 25px;
}

#box-data .tab-head .btn-tab-1 {
    background: url(../../Images/bobing/data-tab-head-1.png?3) center -96px no-repeat;
}

#box-data .tab-head .btn-tab-2 {
    background: url(../../Images/bobing/data-tab-head-2.png?3) center -96px no-repeat;
}

#box-data .tab-head .btn-tab-3 {
    background: url(../../Images/bobing/data-tab-head-3.png?3) center -96px no-repeat;
}

#box-data .tab-head .btn-tab:last-child {
    margin-right: 0;
}

#box-data .tab-head .btn-tab.active {
    top: -6px;
    height: 66px;
    line-height: 80px;
}

#box-data .tab-head .btn-tab-1.active {
    background: url(../../Images/bobing/data-tab-head-1.png?3) center top no-repeat;
    background-size: 100%;
}

#box-data .tab-head .btn-tab-2.active {
    background: url(../../Images/bobing/data-tab-head-2.png?3) center top no-repeat;
    background-size: 100%;
}

#box-data .tab-head .btn-tab-3.active {
    background: url(../../Images/bobing/data-tab-head-3.png?3) center top no-repeat;
    background-size: 100%;
}

#box-data .tab-body {
    color: rgb(220, 10, 0);
    min-height: 245px;
    /* background-color: #f8ecc7; */
    /* background: url(../../Images/bobing/top.png) center top no-repeat; */
    position: relative;
    top: -3px;
}

#box-data .tab-body .my-ranking-info {
    color: rgb(220, 10, 0);
    /* border-bottom: 1px solid #d13c2b; */
    padding: 0 22px;
    line-height: 125px;
    font-size: 34px;
}

#box-data .tab-body .my-ranking-info .ranking-no-wrapper {
    float: left;
}

#box-data .tab-body .my-ranking-info .ranking-no-wrapper .ranking-no {
    font-weight: bold;
    font-size: 60px;
}

#box-data .tab-body .my-ranking-info .score {
    float: right;
    line-height: 135px;
}

#box-data .tab-body .ranking-list {}

#box-data .tab-body .ranking-list li {
    display: block;
    height: 110px;
    line-height: 110px;
    display: flex;
    justify-content: space-between;
}

#box-data .tab-body .ranking-list li:nth-child(2n+1) {
    /* background-color: #fff9b8; */
}

#box-data .tab-body .ranking-list li .ranking-no,
#box-data .tab-body .ranking-list li .avatar,
#box-data .tab-body .ranking-list li .nickname,
#box-data .tab-body .ranking-list li .score {
    float: left;
}

#box-data .tab-body .ranking-list li .ranking-no {
    width: 85px;
    text-align: center;
    font-size: 30px;
}

#box-data .tab-body .ranking-list li:nth-child(1) .ranking-no,
#box-data .tab-body .ranking-list li:nth-child(2) .ranking-no,
#box-data .tab-body .ranking-list li:nth-child(3) .ranking-no {
    text-indent: -9999em;
}

#box-data .tab-body .ranking-list li:nth-child(1) .ranking-no {
    background: url(../../Images/bobing/1.png?2) center center no-repeat;
}

#box-data .tab-body .ranking-list li:nth-child(2) .ranking-no {
    background: url(../../Images/bobing/2.png?2) center center no-repeat;
}

#box-data .tab-body .ranking-list li:nth-child(3) .ranking-no {
    background: url(../../Images/bobing/3.png?2) center center no-repeat;
}

#box-data .tab-body .ranking-list li .avatar {
    display: block;
    margin-top: 22.5px;
    border-radius: 50%;
    width: 70px;
    height: 70px;
}

#box-data .tab-body .ranking-list li .nickname {
    margin-left: 15px;
    overflow: hidden;
    width: 13em;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 28px;
}

#box-data .tab-body .ranking-list li .score {
    margin-left: 10px;
    width: 145px;
    font-size: 28px;
    float: right;
}

#box-data .tab-body .ticket-list {}

#box-data .tab-body .ticket-list li:nth-child(2n) {
    background-color: #fff9b8;
}

#box-data .tab-body .ticket-list .ticket {
    height: 130px;
}

#box-data .tab-body .ticket-list .ticket .ticket-icon,
#box-data .tab-body .ticket-list .ticket .ticket-name,
#box-data .tab-body .ticket-list .ticket .time-send {
    float: left;
}

#box-data .tab-body .ticket-list .ticket .ticket-icon {
    width: 110px;
    height: 100%;
    background: url(../../Images/bobing/ticket.png?2) center center no-repeat;
}

#box-data .tab-body .ticket-list .ticket .ticket-name {
    box-sizing: border-box;
    padding: 20px 0;
    width: 360px;
    height: 100%;
    overflow: hidden;
}

#box-data .tab-body .ticket-list .ticket .ticket-name .name {
    line-height: 50px;
    font-weight: bold;
    font-size: 31px;
}

#box-data .tab-body .ticket-list .ticket .ticket-name .exchange-tip {
    font-size: 24px;
    color: #b35a00;
}

#box-data .tab-body .ticket-list .ticket .time-send {
    width: 200px;
    text-align: right;
    line-height: 130px;
    font-size: 28px;
}

#box-data .tab-body .ticket-list .total-score {
    height: 130px;
}

#box-data .tab-body .ticket-list .total-score .title {
    float: left;
    width: 480px;
    text-align: right;
    font-size: 34px;
    line-height: 130px;
}

#box-data .tab-body .ticket-list .total-score .score {
    float: left;
    width: 190px;
    text-align: center;
    font-weight: bold;
    font-size: 65px;
    line-height: 130px;
}

#box-data .tab-body .ticket-list .record {
    height: 130px;
}

#box-data .tab-body .ticket-list .record .no,
#box-data .tab-body .ticket-list .record .name,
#box-data .tab-body .ticket-list .record .score,
#box-data .tab-body .ticket-list .record .time-toss {
    float: left;
}

#box-data .tab-body .ticket-list .record .no {
    width: 110px;
    text-align: center;
    line-height: 130px;
    font-size: 30px;
}

#box-data .tab-body .ticket-list .record .name {
    width: 180px;
    line-height: 130px;
    font-weight: bold;
    font-size: 30px;
}

#box-data .tab-body .ticket-list .record .score {
    width: 130px;
    text-align: center;
    line-height: 130px;
    font-weight: bold;
    font-size: 30px;
}

#box-data .tab-body .ticket-list .record .time-toss {
    width: 250px;
    text-align: right;
    line-height: 130px;
    font-size: 28px;
}

#box-data .tab-body .help-list {}

#box-data .tab-body .help-list li {
    display: block;
    padding: 0 22.5px;
    height: 110px;
    line-height: 110px;
}

#box-data .tab-body .help-list li:nth-child(2n+1) {
    /* background-color: #fff9b8; */
}

#box-data .tab-body .help-list li .avatar,
#box-data .tab-body .help-list li .nickname {
    float: left;
}

#box-data .tab-body .help-list li .avatar {
    display: block;
    margin-top: 22.5px;
    border-radius: 8px;
    width: 70px;
    height: 70px;
}

#box-data .tab-body .help-list li .nickname {
    margin-left: 15px;
    overflow: hidden;
    width: 13em;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 28px;
}

#box-data .tab-body .help-list li .time-help {
    float: right;
    font-size: 28px;
}


/* 首页 */


/* #page-index {
  position: relative;
  background: #c60e16 url(../../Images/bobing/bg-index.jpg) top center no-repeat;
} */

.fixed-contactus-container {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 950;
    background: rgba(0, 0, 0, 0.6);
    left: auto;
    z-index: 99999;
    display: none;
    width: 750px;
}

.fixed-contactus-container.active {
    display: block;
}

.fixed-contactus-container .btn-close {
    position: absolute;
    top: 240px;
    right: 90px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    display: block;
}