@font-face {
  font-family: 'harmonyOS-b';
  src: url('https://qn.mktcreator.cn/hxdjj/font/HarmonyOS_Sans_Bold.ttf');
}

html {
  font-size: calc(100vw/7.5);
  font-size: -webkit-calc(100vw/7.5);
  /* -webkit-text-size-adjust: 100%; */

  background: #f4f3f1;
  overflow-y: scroll;
}

body,
.container {
  width: 100%;
  height: 100%;
  display: none;
  overflow: hidden;
}

/*消除ios点击阴影*/
html,
body {
  -webkit-text-size-adjust: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  /* ios 滑动 */
  -webkit-overflow-scrolling: touch;
  -webkit-user-select: none;

}

body {
  -webkit-text-size-adjust: 100% !important;
}

/*消除ios动画抖动*/
* {
  -webkit-backface-visibility: hidden;
  -webkit-user-select: auto;
}

/* 去除滚动条 */
::-webkit-scrollbar {
  width: 0;
  height: 1px
}

/* 清除浮动 */
.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.clearfix {
  *zoom: 1;
}

input::-webkit-input-placeholder {
  /* placeholder颜色  */
  color: #333;
}

input {
  -webkit-user-select: text !important;
}

.page {
  width: 7.5rem;
  height: 15.58rem;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

.dialog {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}

.dialog .frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.logo {
  width: 2.1rem;
  height: .68rem;
  position: absolute;
  left: .45rem;
  top: .55rem;
  background: url('https://qn.mktcreator.cn/hxdjj/images/logo.png?v=25') left top no-repeat;
  background-size: contain;
}

.humane,
.humane-original {
  left: 10%;
  width: 80%;
}

.hori-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}


.music {
  background: url('https://qn.mktcreator.cn/hxdjj/images/music-open.png?v=25') left top no-repeat;
  background-size: 100% 100%;
  width: .66rem;
  height: .66rem;
  position: absolute;
  left: 0.53rem;
  top: 10.26rem;
  animation: roll 3s linear infinite;
  -webkit-animation: roll 3s linear infinite;
  transform-origin: 50%;
  z-index: 2;
}

.music.stoped {
  background: url('https://qn.mktcreator.cn/hxdjj/images/music-close.png?v=25') left top no-repeat;
  background-size: 100% 100%;
  animation: none;
  -webkit-animation: none;
}

.hide {
  display: none;
}

@keyframes roll {
  0% {
    transform: rotate(0) scale(0.9);
  }

  100% {
    transform: rotate(360deg) scale(0.9);
  }
}

@-webkit-keyframes roll {
  0% {
    -webkit-transform: rotate(0) scale(0.9);
  }

  100% {
    -webkit-transform: rotate(360deg) scale(0.9);
  }
}

.warning {
  width: 100%;
  height: .25rem;
  color: #333;
  text-align: center;
  font-size: .25rem;
  font-weight: 500;
  position: absolute;
  bottom: 0.5rem;
}

/* 加载 */
.loading-dialog .frame {
  width: 2.2rem;
  height: 2.86rem;
  color: #fff;
}

.loading-dialog .frame .progress-ring__circle {
  /* stroke-dashoffset: 10 20; */
  transition: stroke-dashoffset 0.35s;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

.loading-dialog .frame .progress {
  width: 2.2rem;
  text-align: center;
  position: absolute;
  top: .88rem;
  font-size: .48rem;
}

.loading-dialog .frame .text {
  width: 2.2rem;
  text-align: center;
  position: absolute;
  bottom: 0;
  font-size: .36rem;
}

/* 页面切换动画 */
.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;
}

/* 首页 */
.home-page {
  background: url('https://qn.mktcreator.cn/hxdjj/images/page-home.png?t=1') left top no-repeat;
  background-size: 100%;
}

.home-page .btn-rule{
  position: absolute;
  width: 2rem;
  right: 0rem;
  top: 0.15rem;
  width: 1.2rem;
  height: .4rem;
}
.home-page .btn-prize{
  position: absolute;
  width: 2rem;
  right: 0rem;
  top: 0.65rem;
  width: 1.2rem;
  height: .4rem;

}

.home-page .btn-packet-1 {
  width: 1.9rem;
  height: 2.35rem;
  position: absolute;
  left: 1.24rem;
  top: 6.96rem;
}

.home-page .btn-packet-2 {
  width: 1.9rem;
  height: 2.35rem;
  position: absolute;
  right: 1.22rem;
  top: 6.96rem;
}

.home-page .btn-packet-3 {
  width: 1.9rem;
  height: 2.35rem;
  position: absolute;
  left: 1.24rem;
  top: 9.95rem;
}

.home-page .btn-packet-4 {
  width: 1.9rem;
  height: 2.35rem;
  position: absolute;
  right: 1.22rem;
  top: 9.95rem;
}


/* 红包页面 */
.red-dialog .frame {
  width: 7.03rem;
  height: 8.78rem;
  background: url('https://qn.mktcreator.cn/hxdjj/images/dialog-success.png') left top no-repeat;
  background-size: 100%;
}

.red-dialog .amount {
  font-size: .3rem;
  color: #ed292a;
  text-align: center;
  font-weight: bolder;
  line-height: .83rem;
  width: 100%;
  height: .83rem;
  position: absolute;
  left: 0;
  top: 4.3rem;
}

.red-dialog .amount span {
  font-size: .83rem;
}

.red-dialog .frame .btn-close {
  width: 3.65rem;
  height: 1rem;
  position: absolute;
  top: 5.6rem;
  left: 50%;
  transform: translateX(-50%);
}

/* 未中奖 */
.notwin-dialog .frame {
  width: 7.03rem;
  height: 8.78rem;
  background: url('https://qn.mktcreator.cn/hxdjj/images/dialog-fail.png') left top no-repeat;
  background-size: 100%;
}

.notwin-dialog .frame .btn-close {
  width: 3.65rem;
  height: 1rem;
  position: absolute;
  top: 5.6rem;
  left: 50%;
  transform: translateX(-50%);
}


/* 活动规则 */

.rule-dialog .frame {
  width: 6.43rem;
  height: 9.28rem;
  background: url('https://qn.mktcreator.cn/hxdjj/images/dialog-rule.png') left top no-repeat;
  background-size: 100%;
}

.rule-dialog .frame .btn-close {
  width: 3.63rem;
  height: .74rem;
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}