html {
  font-size: calc(100vw / 7.5);
  font-size: -webkit-calc(100vw/7.5);
  -webkit-text-size-adjust: 100%;
}

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

body,
.container {
  width: 100%;
  height: 100%;
  background-size: 100% 100%;
  background-color: #f8f8f8;
  margin: 0;
  padding: 0;
}
.container{
  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:#999999 !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.5s;
}

.fade-enter,
.fade-leave-to

/* .fade-leave-active below version 2.1.8 */
  {
  opacity: 0;
}
.page {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #f8f8f8;
  overflow-y: scroll;
  z-index: 1;
}

.dialog-mask {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  overflow: hidden!important;
}
.dialog{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
}
.dialog .frame {
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 100% 100%;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -70%);
}

.home-page {
  width: 7.5rem;
  height: 14.51rem;
  background-position: left top;
  background-repeat: no-repeat;
  background-size: cover;
  z-index:1;
}

.home-page .btn{
  width: 1.82rem;
  height: 0.56rem;
  right:0;

}

.home-page .btn.btn-rule{
  top: 0.4rem;
}

.home-page .btn.btn-viewAward{
  top:1.1rem;
  background-size: 100%;
  background-position: left top;
  background-repeat: no-repeat;
}

.home-page .btn.btn-start{
  right:unset;
  width: 3.73rem;
  height: 1.23rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 11.74rem;
}

/* .rule-page{
  height: 14.51rem;
  background-position:  center top ;
  background-repeat: no-repeat;
  background-size: 100%;
}
.rule-page .btn-back{
  width: 1.43rem;
  height: .66rem;
  position: absolute;
  top: 0.7rem;
  right: 0;
} */

/* .tip-page{
  height: 14.51rem;
  background-position:  center top ;
  background-repeat: no-repeat;
  background-size: 100%;
}
.tip-page .btn-back{
  width: 1.43rem;
  height: .66rem;
  position: absolute;
  top: 0.7rem;
  right: 0;
} */

.prize-page{
  height: 14.51rem;
  background-position:  center top ;
  background-repeat: no-repeat;
  background-size: 100%;
}
.prize-page .btn-back{
  width: 1.43rem;
  height: .66rem;
  position: absolute;
  top: 0.7rem;
  right: 0;
}
.prize-page .prize-list{
  width: 5.11rem;
  height: 6rem;

  position: absolute;
  top: 6.6rem;
  left: 50%;
  transform: translateX(-50%);
  overflow-y: auto;
}

.prize-page .prize-list .prize-item{
  font-size: 0.24rem;
  color: #666666;
  display: flex;
  height: 0.8rem;
  align-items: center;
}

.prize-page .prize-list .prize-date,
.prize-page .prize-list .prize-amount {
  width: 1.8rem;
}

.prize-page .prize-list .prize-item .btn-view{
  width: 1.05rem;
  height: 0.38rem;
  background-position:  center top ;
  background-repeat: no-repeat;
  background-size: 100%;
}


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

.dare-page{
  width: 7.5rem;
  height: 14.51rem;
  background-position: left top;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  z-index:4
}

.dare-page .person {
  width: 7.5rem;
  height: 5.43rem;
  background: left top/100% 100% no-repeat;
}

.dare-page .btn-tip {
  width: 1.23rem;
  height: .44rem;
  position: absolute;
  right: .36rem;
  top: .92rem;
  background: left top/100% 100% no-repeat;
}

.dare-page .text-bg {
  width: 7.32rem;
  height: 2.69rem;
  background: left top/100% 100% no-repeat;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 2.91rem;
}

.dare-page .text {
  width: 6.1rem;
  height: 1.75rem;
  font-size: .2rem;
  color: #fff;
  line-height: .3rem;
  overflow-y: scroll;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 3.2rem;
  text-align:justify;
  text-justify:inter-ideograph;
}

.dare-page div.active-bg {
  background: left top/100% 100% no-repeat;
  font-size: .52rem;
  font-family: 'oswald';
  text-align: center;
  line-height: 1.77rem;
  color: #f13e3e;
}

.dare-page div.active-bg::after {
  content: attr(data-content);
  -webkit-text-stroke: 0.07rem #fff;
	position: absolute;
	left: 50%;
  transform: translateX(-50%);
	top: 0;
	z-index: -1;
}

.dare-page .stage{
  left: 2.4rem;
  width: 2.54rem;
  height: 0.72rem;
  font-size: 0.72rem;
  line-height: 0.72rem;
  text-align: center;
  top: 6.3rem;
  color: white;
  font-family: 'youshe';
}

.dare-page .tip-card{
  width: 6.32rem;
  height: 3rem;
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 100% 100%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 8.6rem
}
.tip-progress{
  width: 3rem;
  height: 0.3rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 5.8rem;
  font-size: 0.3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: white;
}
.tip-progress .bar{
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background-color: #ffc539;
}
.tip-progress .second{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
}
.dare-page .game-body{
  width: 5.84rem;
  height: 5.84rem;
  position: absolute;
  left: 50%;
  top: 7.35rem;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3,1fr);
  grid-template-rows: repeat(3,1fr);
  place-items: center;
}

.dare-page .game-body .game-item{
  width: 1.77rem;
  height: 1.77rem;
  margin-bottom: 0.1rem;

  /*background: url("../images/item-bg.png") left top no-repeat;*/
  /*background-size: 100% 100%;*/
}
.flip .bg{
  z-index:1;
  transform: rotateY(-180deg);
}
.flip .active-bg{
  z-index:2;
  transform: rotateY(0deg);
}
.bg{
  width: 1.77rem;
  height: 1.77rem;
  transition: 0.5s ease-in-out;
  position: absolute;
  z-index:2
}
.active-bg{
  width: 1.77rem;
  height: 1.77rem;
  position: absolute;
  transform: rotateY(-180deg);
  transition: all 0.5s ease-in-out;
  z-index:1
}
.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;
}

.suc-dialog .frame{
  width: 7.5rem;
  height: 8.84rem;
}
.suc-dialog .frame .captcha-div{
  width: 3.03rem;
  height: 1.01rem;
  left:50%;
  transform: translateX(-50%);
}
.suc-dialog .frame .back-btn{
  top: 5.02rem;
}
.suc-dialog .frame .viewAward-btn{
  top:5.56rem;
}
.suc-dialog .frame .detail-btn{
  top: 6.8rem;
  right: 0.72rem;
  width: 1rem;
  left: unset;
  height: 1rem;
  transform: unset;
}
.fund-dialog{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
}
.fund-dialog .frame{
  width: 7.5rem;
  height: 8.84rem;
}
.fund-dialog .frame input{
  left: 1.76rem;
  top: 4.83rem;
  text-align: center;
  height: 0.8rem;
  width: 4.28rem;
  font-size: 0.3rem;
  padding: 0;
  line-height: normal;
  display: flex;
  align-items: center;
  min-height: 0.8rem;
}
.fund-dialog .frame input::placeholder{
  font-size: 0.3rem;
}
.fund-dialog .frame .btn{
  top: 5rem;
  width: 3.03rem;
  height: 1.01rem;
  left: 50%;
  transform: translateX(-50%);
}
.fund-dialog .frame .detail-btn{
  top: 6.8rem;
  right: 0.72rem;
  width: 1rem;
  left: unset;
  height: 1rem;
  transform: unset;
}
.rule-dialog .frame{
  width:7.5rem;
  height:9.7rem;
}
.rule-dialog .frame .back-btn{
  right: 3.5rem;
  bottom: 0.02rem;
  width: 0.55rem;
  height: 0.55rem;
}

.tip-dialog .frame{
  width:7.5rem;
  height:11.55rem;
}
.tip-dialog .frame .back-btn{
  right: 3.5rem;
  bottom: 0.02rem;
  width: 0.55rem;
  height: 0.55rem;
}
.detail-dialog{
  left:0;
  top:0;
  position:fixed;
  width:100%;
  height:100%;
  overflow: auto;
  z-index:1200;
  font-size:0;
  background-color: #000000;
}
.detail-dialog  .detail-back-btn{
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 100%;
  position:fixed;
  right:0;
  top:2rem;
  width:1.1rem;
  height:0.49rem;
  z-index:1001;
}


.fail-dialog .frame{
  width: 7.5rem;
  height: 8.84rem;
}
.fail-dialog .frame .captcha-div{
  width: 3.03rem;
  height: 1.01rem;
  left:50%;
  transform: translateX(-50%);
}
.fail-dialog .frame .back-btn{
  top:4.41rem;
}
.fail-dialog .frame .retry-btn{
  top:5.82rem;
}
.fail-dialog .frame .detail-btn{
  top: 6.8rem;
  right: 0.72rem;
  width: 1rem;
  left: unset;
  height: 1rem;
  transform: unset;
}


.login-dialog .frame{
  width: 7.5rem;
  height: 8.84rem;
}
.login-dialog .frame input{
  height: 0.66rem;
  line-height: 0.66rem;
  left: 1.5rem;
  text-align: center;
  font-size: .27rem;
  padding: 0 0.2rem;
  box-sizing: border-box;
}
.login-dialog .frame input.mobile{
  width: 4.36rem;
  top: 4.13rem;
}
.login-dialog .frame input.verifyCode{
  width:2.71rem;
  top:5.11rem;
}
.login-dialog .frame .get-sms-btn{
  width: 1.47rem;
  height: 0.7rem;
  right: 1.62rem;
  top: 5.09rem;
  color: white;
  font-size: 0.25rem;
  line-height: 0.7rem;
  text-align: center;
}
.login-dialog .frame .login-btn{
  width: 3.03rem;
  height: 1.01rem;
  left: 50%;
  transform: translateX(-50%);
  top: 6.231rem;
}
.login-dialog .frame .detail-btn{
  top: 7.45rem;
  right: 0.72rem;
  width: 1rem;
  left: unset;
  height: 1rem;
  transform: unset;
}

.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: 4.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;
}

.award-dialog .frame{
  width:7.5rem;
  height:8.84rem;
}
.award-dialog .detail-btn{
  top: 7.3rem;
  right: 0.72rem;
  width: 1rem;
  left: unset;
  height: 1rem;
  transform: unset;
}
.award-dialog .bonus{
  width: 3rem;
  height: 1rem;
  color: #e73333;
  font-size: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  top: 4rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
}
.award-dialog .bonus:after{
  font-size:0.4rem;
  content: "元";
}
.award-dialog .back-btn{
  width: 3.03rem;
  height: 1.01rem;
  left: 50%;
  transform: translateX(-50%);
  top: 5.02rem;
}

.unlucky-dialog .back-btn{
  top: 4.97rem;
}

.music_btn{
  left: 0.4rem;
  width: 0.58rem;
  height: 0.59rem;
  top: 1.3rem;
  z-index: 1100;
}
.music_btn.active{
  animation: rotate 2s linear infinite;
}
@keyframes rotate {
  0%{
    transform: rotate(0deg);
  }
  100%{
    transform: rotate(360deg);
  }
}