@font-face {
  font-family: 'countdown';
  src: url('https://qn.mktzr.com/dtzh/font/countdown.ttf');
}

@font-face {
  font-family: 'level';
  src: url('https://qn.mktzr.com/dtzh/font/level.ttf');
}
html {
  font-size: calc(100vw / 7.5);
  font-size: -webkit-calc(100vw/7.5);
  -webkit-text-size-adjust: 100%;
   background-color: #ffffff;
}

li {
  list-style: none;
  display: inline-block;
}

body,
.body {
  width: 100%;
  height: 100%;
  background-size: 100% 100%;
    background-color: #ffffff;
  margin: 0;
  padding: 0;
}
.body{
  height: 100vh !important;
  overflow-y: scroll;
}
/*消除ios点击阴影*/
html,
body {
  -webkit-text-size-adjust: 100% !important;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  /* ios 滑动 */
  -webkit-overflow-scrolling: touch !important;
  user-select: none;
  -webkit-user-select: none;

}
body {
  -webkit-text-size-adjust: 100% !important;

}

/*消除ios动画抖动*/
* {
  -webkit-backface-visibility: hidden;
}

::placeholder{
  color:#0068a6 !important;
}
/* 清除浮动 */
.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.clearfix {
  *zoom: 1;
}


input {
  -webkit-user-select: text !important;
  background: transparent;
  outline: none;
  border: none;
}

input::-webkit-input-placeholder {
  /* placeholder颜色  */
  color: #dedede;
}

/* 页面切换动画 */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.3s;
}

.fade-enter,
.fade-leave-to

/* .fade-leave-active below version 2.1.8 */
  {
  opacity: 0;
}
.page {
  width: 7.5rem;
  min-height: 14.51rem;
  position: absolute;
  top: 0;
  left: 0;
 background-color: #ffeeb6;
  overflow-y: scroll;
  z-index: 1;
}

.dialog {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  overflow: hidden!important;
}

.dialog .frame {
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 100% 100%;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/* 首页 */
.home-page {
    width: 7.5rem;
    height: 14.51rem;
    background: url('https://qn.mktzr.com/dttbh/images/home-bg.png') left top no-repeat;
    background-size: 100% 100%;
}
.logo {
    left: .25rem;
    top: .22rem;
    width: 4.18rem;
    height: .63rem;
    background: url('https://qn.mktzr.com/dttbh/images/logo.png') left top no-repeat;
    background-size: contain;
    position: absolute;
}
.home-page .btn-rule {
    width: 0.82rem;
    height: .75rem;
    position: absolute;
    right: 0.3rem;
    top: 0.3rem;
    background: url('https://qn.mktzr.com/dttbh/images/home-btn-rule.png') left top no-repeat;
    background-size: 100% 100%;
}

.home-page .btn-reward {
    width: 0.82rem;
    height: .75rem;
    position: absolute;
    right: 0.3rem;
    top: 1.25rem;
    z-index: 10;
    background: url('https://qn.mktzr.com/dttbh/images/home-btn-reward.png') left top no-repeat;
    background-size: 100% 100%;
}

.home-page .title {
    width: 7.4rem;
    height: 4.36rem;
    position: absolute;
    left: 0.05rem;
    top: 1.56rem;
    background: url('https://qn.mktzr.com/dttbh/images/home-title.png') left top no-repeat;
    background-size: 100% 100%;
}

.home-page .btn-start {
    width: 3.73rem;
    height: 1.23rem;
    position: absolute;
    left: calc((100vw - 3.73rem) / 2);
    top: 12rem;
    background: url('https://qn.mktzr.com/dttbh/images/home-btn-start.png') left top no-repeat;
    background-size: contain;
}

.choose-page{
    width: 7.5rem;
    height: 14.51rem;
    background: url('https://qn.mktzr.com/dttbh/images/choose-bg.jpg') left top no-repeat;
    background-size: 100% 100%;
}
.choose-page .title {
    width:4.53rem;
    height: 1.58rem;
    position: absolute;
    left: calc((100vw - 4.53rem) /2);
    top: 1.38rem;
    background: url('https://qn.mktzr.com/dttbh/images/choose-title.png') left top no-repeat;
    background-size: 100% 100%;
}

.choose-page .choose-block {
    width: 7.5rem;
    height: 10.49rem;
    position: absolute;
    left: 0;
    top: 3.19rem;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    align-items: center;
}

.choose-page .choose-block .choose {
    width: 7.03rem;
    height: 3.48rem;
}

.choose-page .choose-block .choose.choose-0 {
    background: url('https://qn.mktzr.com/dttbh/images/choose-0.png') left top no-repeat;
    background-size: contain;
}

.choose-page .choose-block .choose.choose-1 {
    background: url('https://qn.mktzr.com/dttbh/images/choose-1.png?v=9') left top no-repeat;
    background-size: contain;
}

.choose-page .choose-block .choose.choose-2 {
    background: url('https://qn.mktzr.com/dttbh/images/choose-2.png?v=9') left top no-repeat;
    background-size: contain;
}
.game-page {
    width: 7.5rem;
    height: 14.51rem;
    background: url('https://qn.mktzr.com/dttbh/images/game-bg.png') left top no-repeat;
    background-size: 100% 100%;
}
.game-page .title {
    width: 6.10rem;
    height: 3.57rem;
    position: absolute;
    left: calc((100vw - 6.1rem) / 2);

    top: 0.58rem;
    background: url('https://qn.mktzr.com/dttbh/images/home-title.png') left top no-repeat;
    background-size: 100% 100%;
}
.game-page .team-0{
    width: 5.87rem;
    height: 2.88rem;
    background: url('https://qn.mktzr.com/dttbh/images/team-0.png') left top no-repeat;
    background-size: 100% 100%;
    position: absolute;
    left: calc((100vw - 5.87rem) /2);
    top: 3.5rem;
}
.game-page .team-1{
    width: 5.65rem;
    height: 2.83rem;
    background: url('https://qn.mktzr.com/dttbh/images/team-1.png') left top no-repeat;
    background-size: 100% 100%;
    position: absolute;
    left: calc((100vw - 5.65rem) /2);
    top: 3.5rem;
}
.game-page .team-2{
    width: 6.32rem;
    height: 3.14rem;
    background: url('https://qn.mktzr.com/dttbh/images/team-2.png') left top no-repeat;
    background-size: 100% 100%;
    position: absolute;
    left: calc((100vw - 6.32rem) /2);
    top: 3.5rem;
}
.game-page .player {
    width: 7.5rem;
    height: 2.56rem;
    position: absolute;
    left: 0;
    top: 7.11rem;
    background: url('https://qn.mktzr.com/dttbh/images/game-player0.png') left top no-repeat;
    background-size: 100% 100%;
}

.game-page .player.action {
    background: url('https://qn.mktzr.com/dttbh/images/game-player1.png') left top no-repeat;
    background-size: 100% 100%;
}
.game-page .rope{
    width: 6.57rem;
    height: 0.85rem;
    position: absolute;
    left: calc((100vw - 6.57rem) /2);
    top: 9.78rem;
    background: url('https://qn.mktzr.com/dttbh/images/rope.png') left top no-repeat;
    background-size: 100% 100%;
}
.game-page .score-cox{
    width: 6.92rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.24rem;
    font-weight: bold;
    color: #ffffff;
    position: absolute;
    left: calc((100vw - 6.92rem) /2);
    top: 10.67rem;
}
.game-page .countdown {
    width: 3.54rem;
    height: .66rem;
    position: absolute;
    left: 2.14rem;
    top: 11.1rem;
    color: #1c7daa;
    text-align: center;
    line-height: .66rem;
    font-size: .42rem;
    font-weight: 550;
}

.game-page .drum {
    width: 2.89rem;
    height: 1.92rem;
    position: absolute;
    left: calc((100vw - 2.89rem) / 2);
    top: 12.05rem;
    background: url('https://qn.mktzr.com/dttbh/images/game-drum.png?v=8') left top no-repeat;
    background-size: 100% 100% ;
    animation: scaleAni 1s ease-in-out infinite;
}
@keyframes scaleAni {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.game-page .drum.active {
    background: url('https://qn.mktzr.com/dttbh/images/game-drum-active.png') left top no-repeat;
    background-size: 100% 100%
}























.result-page{
  width: 7.5rem;
  height: 15.51rem;
  background: url('https://qn.mktzr.com/dttbh/images/result-page.png') left  top no-repeat;
  background-size: 100% 100%;
  position: relative;


}



.result-text{
   width: 6.04rem;
  height: 1.21rem;
  position: absolute;
  top: 1.49rem;
  left: 0.25rem;

}

.header{
     width: 6.72rem;
    height: 3.48rem;
    position: absolute;
    top: 4.1rem;
    left: 0.44rem


}
.text-bg{
    width: 5.8rem;
    height: 3.8rem;
    line-height: 0.38rem;
    letter-spacing: 0.03rem;
    font-size: 0.24rem;
    overflow-y: auto;
    position: absolute;
    left: 50%;

    transform: translateX(-50%);
    top: 8.1rem;
    color: #fff;
}

.lottery {
  width: 3.18rem;
  height: 0.89rem;
  background: url(https://qn.mktzr.com/dttbh/images/lottery.png) left top
  no-repeat;
  background-size: 100% 100%;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: .6rem;

}
.viewprize {
    width: 3.18rem;
    height: 0.89rem;
  background: url(https://qn.mktzr.com/dttbh/images/viewprize.png) left top
  no-repeat;
  background-size: 100% 100%;
 position: fixed;
  right: 0.46rem;
  bottom: .6rem;

}
.result-page .btn-back{
    width: 3.18rem;
    height: 0.89rem;
  background: url(https://qn.mktzr.com/dttbh/images/btn-back.png) left top
  no-repeat;
  background-size: 100% 100%;
  position: fixed;
  left: 0.46rem;
  bottom: .6rem;

}
.result-page .btn-try{
    width: 3.18rem;
    height: 0.89rem;
  background: url(https://qn.mktzr.com/dttbh/images/btn-try.png) left top
  no-repeat;
  background-size: 100% 100%;
  position: fixed;
  right: 0.46rem;

  bottom: .6rem;

}















.flex{
  display: flex;
  align-items: center;
  justify-content: center;
}

.frame{
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 100% 100%;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.captcha-div{
  position:absolute;
}

.tip-dialog .frame{
  width: 6.16rem;
  height: 6.33rem;
  background:url(https://qn.mktzr.com/dttbh/images/dialog-tips.png?v=1) no-repeat left top;
  background-size: 100%;
  transform: translate(-50%, -50%);

}
.tip-dialog .frame .back-btn{
   width: 3.43rem;
    height: 0.9rem;
    left: 50%;
    transform: translateX(-50%);
    top:5.1rem
}
.rule-dialog .frame{
  width: 6.16rem;
  height: 9.89rem;
  background:url('https://qn.mktzr.com/dttbh/images/dialog-rule.png') no-repeat left top;
  background-size: 100%;

}
.rule-dialog .frame .back-btn{
width: 4rem;
    height: 1rem;
    position: absolute;
    left: 50%;
    bottom: 0.4rem;
  transform: translateX(-50%);
}

.fail-dialog .frame{
  width: 6.16rem;
  height:7.71rem;
  background:url('https://qn.mktzr.com/dttbh/images/dialog-nored.png') no-repeat left top;
  background-size: 100%;

}
.fail-dialog .frame .back-btn{
    width: 3.43rem;
    height: 0.9rem;
    left: 50%;
    transform: translateX(-50%);
    top:6.4rem
}




.countdown-dialog .frame.countdown {
    width: 1.77rem;
    height: 1.16rem;

    /* animation: countdown 4s linear forwards; */
}

.countdown-dialog .frame.countdown .num {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.countdown-dialog .frame.countdown .num.num-0.animate {

    background: url('https://qn.mktzr.com/dttbh/images/countdown-0.png') left top no-repeat;
    background-size: 100% 100%;
    animation: countdown 1s 3s linear both;
}

.countdown-dialog .frame.countdown .num.num-1.animate {

    background: url('https://qn.mktzr.com/dttbh/images/countdown-1.png') left top no-repeat;
    background-size: 100% 100%;
    animation: countdown 1s 2s linear both;
}

.countdown-dialog .frame.countdown .num.num-2.animate {

    background: url('https://qn.mktzr.com/dttbh/images/countdown-2.png') left top no-repeat;
    background-size: 100% 100%;
    animation: countdown 1s 1s linear both;
}

.countdown-dialog .frame.countdown .num.num-3.animate {

    background: url('https://qn.mktzr.com/dttbh/images/countdown-3.png') left top no-repeat;
    background-size: 100% 100%;
    animation: countdown 1s linear both;
}

@keyframes countdown {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    20% {
        transform: scale(1.8);
        opacity: 1;
    }

    99.9% {
        transform: scale(2);
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.login-dialog .frame{
  width: 6.16rem;
  height: 6.33rem;
  background:url('https://qn.mktzr.com/dttbh/images/dialog-login.png') no-repeat left top;
  background-size: 100%;
}
.login-dialog .frame input{
    line-height: 0.8rem;
    height: 0.8rem;
    line-height: 0.9rem;
    left: 0.8rem;
    text-align: center;
    font-size: .27rem;
    padding: 0 0.2rem;
    box-sizing: border-box;
    color: #0068a6;
}
.login-dialog .frame input.mobile{
width: 4.6rem;
    top: 1.8rem;
}
.login-dialog .frame input.verifyCode{
    width: 2.55rem;
    top: 3.05rem;
}
.login-dialog .frame .get-sms-btn{
    width: 1.9rem;
    height: 0.8rem;
    right: 0.55rem;
    top: 3.05rem;
    color: #0068a6;
    font-size: 0.25rem;
    line-height: 0.8rem;
    text-align: center
}
.login-dialog .frame .login-btn{
    width: 3.53rem;
    height: 0.9rem;
    left: 50%;
    transform: translateX(-50%);
    top: 5.1rem;
}


.captcha_mask{
  position:fixed;
  left:0;
  top:0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  background-color: rgba(0,0,0,.5);
  display: none;
}
.captcha_mask .captcha_main{
  position: absolute;
  top: 5.2rem;
  z-index: 2001;
  left: 3.7rem;
  width: 2.7rem;
  height: 1.5rem;
  padding: 0.1rem 0.1rem;
  background: #ccc;
  border-radius: 0.2rem;
  font-size: 0;
}
.captcha_mask .captcha_main::after{
  content: "";
  display: block;
  width: 0;
  height: 0;
  border:0.1rem solid transparent;
  border-top-color: #ccc;
  position: absolute;
  /* top: 0; */
  left: 50%;
  transform: translateX(-50%);
  bottom: -0.2rem;
  z-index: 3;
}
.captcha_mask .captcha_main .captcha_img{
  width:100%;
  height:0.77rem;
  margin:0;
}
.captcha_mask .captcha_main .captcha_value{
  width: 1.39rem;
  margin-top: 0.15rem;
  text-align: center;
  color: #999999;
  vertical-align: baseline;
  background: white;
  height: 0.5rem;
}
.captcha_mask .captcha_main .sendSms{
  margin-left: 0.1rem;
  text-align: center;
  padding: 0.1rem;
  color: white;
  background-color: #0072ff;
  width: 0.64rem;
  height: 0.33rem;
  border-radius: 15%;
  display: inline-block;
  line-height: 0.33rem;
  font-size: 0.2rem;

}
.captcha_mask .captcha_main .captcha_value::placeholder{
  font-size:0.2rem;
}

.red-dialog .frame{
  width: 6.16rem;
  height: 8.6rem;
  background:url('https://qn.mktzr.com/dttbh/images/dialog-red.png') no-repeat left top;
  background-size: 100%;
}

.red-dialog .bonus{
  width: 3rem;
  color: #f45454;
  font-weight: bold;
  font-size: 0.48rem;
  left: 50%;
  transform: translateX(-50%);
  top: 4rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.red-dialog .bonus:after{
  font-size:0.48rem;
  content: "元";
}

.red-dialog .back-btn{
    width: 3.43rem;
    height: 0.9rem;
    left: 50%;
    transform: translateX(-50%);
    top: 6.4rem

}



.music {
    background: url('https://qn.mktzr.com/dttbh/images/music-open.png?v=8') left top no-repeat;
    background-size: 100% 100%;
    width: .66rem;
    height: .66rem;
    position: absolute;
    left: 4.83rem;
    top: .36rem;
    animation: roll 3s linear infinite;
    -webkit-animation: roll 3s linear infinite;
    transform-origin: 50%;
    z-index: 2;
}

.music.stoped {
    background: url('https://qn.mktzr.com/dttbh/images/music-close.png?v=8') left top no-repeat;
    background-size: 100% 100%;
    animation: none;
    -webkit-animation: none;
}


