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: #da391f !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: #da391f;
}

/* 页面切换动画 */
.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;
}
div {
  background: left top/contain no-repeat;
}
.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: 15.8rem;
  background-position: left top;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
}

.home-page .btn {
  width: 1.38rem;
  height: 0.52rem;
  right: 0;
}

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

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

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

.prod-page {
  width: 7.5rem;
  height: 14.51rem;
  overflow-y: scroll;
}

.prod-page .frame {
  width: 7.5rem;
  height: 72.32rem;
  background-position: left top;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
  position: unset;
  transform: none;
}

.prod-page .btn-back {
  width: 1.06rem;
  height: 0.5rem;
  position: absolute;
  right: 0;
  top: 0.2rem;
}

.prod-page .btn-draw {
  width: 1.44rem;
  height: 1.9rem;
  position: fixed;
  right: 0.27rem;
  top: 8.53rem;
}

/* .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: 0.66rem;
  position: absolute;
  top: 0.3rem;
  right: 0;
}
.prize-page .prize-list {
  width: 5.45rem;
  height: 9rem;

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

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

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

.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: 6.92rem;
  height: 1.77rem;
  background: left top/100% 100% no-repeat;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 3.6rem;
}

.dare-page .btn-tip {
  width: 1.23rem;
  height: 0.44rem;
  position: absolute;
  right: 0.36rem;
  top: 0.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: 0.2rem;
  color: #fff;
  line-height: 0.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: 0.52rem;
  text-align: center;
  line-height: 1.77rem;
  color: #d1341c;
  /* font-weight: bolder; */
}

.dare-page div.active-bg.num {
  font-family: "oswald";
}

.dare-page div.active-bg.txt {
  font-family: "shuhei";
}

.dare-page div.active-bg.small {
  font-size: 0.37rem;
  line-height: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0.15rem;
  box-sizing: border-box;
}

/* .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.46rem;
    width: 2.54rem;
    height: 0.54rem;
    font-size: 0.3rem;
    line-height: 0.54rem;
    text-align: center;
    top: 5.9rem;
    font-weight: bold;
    color: #c70f2d;
    font-family: "shuhei";
}

.dare-page .tip-card {
  width: 6.55rem;
  height: 4.07rem;
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 100% 100%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 8rem;
  padding: 0.8rem 0;
  box-sizing: border-box;
  display: flex;
  flex-flow: column;
  justify-content: space-around;
  align-items: center;
  color: #ae1f10;
  font-size: 0.38rem;
}

.tip-progress {
  width: 3rem;
  height: 0.28rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 6.69rem;
  font-size: 0.26rem;
  display: flex;
  justify-content: center;
  align-items: center;
  
  color:#fff;
}
.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.31rem;
  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: transform 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: 4.7rem;
}
.suc-dialog .frame .viewAward-btn {
  top: 6.19rem;
}
.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: 5.54rem;
  height: 5.5rem;
  transform: translate(-50%, -50%);
}

.fund-dialog .frame .fundinput-wrap {
  width: 7.5rem;
  height: 2rem;
  display: flex;
  flex-flow: column;
  justify-content: space-around;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 4.8rem;
}

.fund-dialog .frame .fundinput-wrap label {
  font-size: 0.38rem;
  font-weight: bolder;
  position: relative;
  top: 0.15rem;
  color: #ffeacd;
}

.fund-dialog .frame input {
  text-align: center;
  height: 0.7rem;
  width: 4.4rem;
  font-size: 0.3rem;
  padding: 0;
  line-height: normal;
  display: flex;
  align-items: center;
  min-height: 0.7rem;
  position: unset;
  vertical-align: middle;
  color: #ffeacd;
  background: #ef9377;
  border-radius: 0.35rem;
}

.fund-dialog .frame input::placeholder {
  font-size: 0.3rem;
}
.fund-dialog .frame .btn {
  top: 3.05rem;
  width: 3.43rem;
  height: 0.7rem;
  left: 50%;
  transform: translateX(-50%);
}

.fund-dialog .frame .prod {
  width: 5.08rem;
  height: 0.96rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 8.5rem;
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 100% 100%;
}
.fund-dialog .frame .detail-btn {
  top: 6.8rem;
  right: 0.72rem;
  width: 1rem;
  left: unset;
  height: 1rem;
  transform: unset;
}
.rule-dialog .frame {
  width: 5.95rem;
  height: 7.18rem;
}

.rule-dialog .back-btn {
  width: 0.7rem;
  height: 0.6rem;
  position: absolute;
  bottom: 0;
  left: 2.67rem;
}

.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.71rem;
}
.fail-dialog .frame .retry-btn {
  top: 6.12rem;
}
.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.7rem;
  line-height: 0.7rem;
  left: 1.55rem;
  text-align: center;
  font-size: 0.27rem;
  padding: 0 0.2rem;
  box-sizing: border-box;
  color: #da391f;
}
.login-dialog .frame input.mobile {
  width: 4.4rem;
  top: 4.11rem;
}
.login-dialog .frame input.verifyCode {
  width: 2.75rem;
  top: 5.09rem;
}
.login-dialog .frame .get-sms-btn {
  width: 1.47rem;
  height: 0.73rem;
  right: 1.55rem;
  top: 5.07rem;
  color: #da391f;
  font-size: 0.25rem;
  line-height: 0.73rem;
  text-align: center;
}
.login-dialog .frame .login-btn {
  width: 3.03rem;
  height: 1.03rem;
  left: 50%;
  transform: translateX(-50%);
  top: 6.65rem;
}
.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, 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: 9.02rem;
}
.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: #da391f;
  font-size: 0.36rem;
  left: 50%;
  transform: translateX(-50%);
  top: 5.72rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.award-dialog .bonus:after {
  font-size: 0.36rem;
  content: "元";
}

.award-dialog .back-btn {
  width: 3.03rem;
  height: 1.01rem;
  left: 50%;
  transform: translateX(-50%);
  top: 6.39rem;
}

.unlucky-dialog .frame {
  height: 8.84rem;
}

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

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