@charset "UTF-8";
.klg-board {
  grid-template-columns: repeat(3, 2.08rem) !important;
  grid-template-rows: repeat(3, 3.39rem) !important;
}

.klg-cell {
  background: none !important;
  border: none !important;
}

:root input,
:root textarea {
  font-size: 0.22rem;
  color: #333;
  text-align: left;
  line-height: 0.7rem;
  padding: 0 0.2rem;
  background: none;
  outline: none;
  -moz-user-select: text !important;
  user-select: text !important;
  -webkit-user-select: text !important;
  margin-bottom: 0.2rem;
  resize: none;
}
:root .text-overflow {
  white-space: nowrap;
  /* 防止文本换行 */
  overflow: hidden;
  /* 超出部分隐藏 */
  text-overflow: ellipsis;
  /* 用省略号表示超出部分 */
}
:root {
  /*
    进入和离开动画可以使用不同
    持续时间和速度曲线。
  */
}
:root .slide-fade-enter,
:root .slide-fade-leave-to {
  opacity: 0;
  transform: translateY(100%);
}
:root .slide-fade-enter-active,
:root .slide-fade-leave-active {
  transition: all 0.3s ease-out;
}
:root .slide-fade-enter-to,
:root .slide-fade-leave {
  transform: translateY(0);
  opacity: 1;
}
:root input::-webkit-input-placeholder {
  /* placeholder颜色  */
  color: #333;
}
:root input {
  -moz-user-select: text !important;
  user-select: text !important;
  -webkit-user-select: text !important;
  background: none;
  border: none;
  outline: none;
}
:root #container {
  display: none;
  background: #025193;
}

.auth-mask {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
}

.home-page .frame {
  background-image: url("https://qn.mktzr.com/hxnm/images/home-bg.jpg?v=8");
}
.home-page .frame .btn-rule {
  width: 1.81rem;
  height: 0.74rem;
  background-image: url("https://qn.mktzr.com/hxnm/images/home-btn-rule.png?v=8");
  position: absolute;
  right: 0.1rem;
  top: 0.31rem;
}
.home-page .frame .btn-myrewards {
  width: 1.81rem;
  height: 0.74rem;
  background-image: url("https://qn.mktzr.com/hxnm/images/home-btn-myrewards.png?v=8");
  position: absolute;
  right: 0.1rem;
  top: 0.9rem;
}
.home-page .frame .btn-start {
  width: 4.32rem;
  height: 1.34rem;
  background-image: url("https://qn.mktzr.com/hxnm/images/home-btn-start.png?v=8");
  position: absolute;
  left: 1.93rem;
  top: 12.34rem;
}

.game-page .frame {
  background-image: url("https://qn.mktzr.com/hxnm/images/game-bg.jpg?v=8");
}
.game-page .frame #stage {
  width: 6.55rem;
  height: 10.75rem;
  top: 2.73rem;
}
.game-page .frame #stage canvas {
  width: 100%;
  height: 100%;
}
.game-page .frame .score {
  width: 1.23rem;
  height: 0.6rem;
  position: absolute;
  left: 0.96rem;
  top: 0.86rem;
  color: #fff;
  line-height: 0.6rem;
  text-align: center;
  font-size: 0.3rem;
  font-weight: bold;
}
.game-page .frame .target-score {
  width: 1.23rem;
  height: 0.6rem;
  position: absolute;
  left: 3.41rem;
  top: 0.86rem;
  color: #fff;
  line-height: 0.6rem;
  text-align: center;
  font-size: 0.3rem;
  font-weight: bold;
}
.game-page .frame .countdown {
  width: 1.23rem;
  height: 0.6rem;
  position: absolute;
  left: 5.98rem;
  top: 0.86rem;
  color: #fff;
  line-height: 0.6rem;
  text-align: center;
  font-size: 0.3rem;
  font-weight: bold;
}

.result-page .frame {
  height: 15.51rem;
  background-image: url("https://qn.mktzr.com/hxnm/images/result-bg.jpg?v=8");
}
.result-page .frame .btn-warn {
  width: 1.54rem;
  height: 0.76rem;
  position: absolute;
  right: 0.34rem;
  top: 0.32rem;
  background-image: url("https://qn.mktzr.com/hxnm/images/btn-warn.png?v=8");
}
.result-page .frame .title {
  width: 6.29rem;
  height: 1.83rem;
  top: 1.42rem;
}
.result-page .frame .title.win {
  background-image: url("https://qn.mktzr.com/hxnm/images/result-title-win.png?v=8");
}
.result-page .frame .title.fail {
  background-image: url("https://qn.mktzr.com/hxnm/images/result-title-fail.png?v=8");
}
.result-page .frame .score {
  width: 2.56rem;
  height: 0.6rem;
  top: 3.5rem;
  position: absolute;
  left: 1.06rem;
  font-size: 0.37rem;
  color: #fff;
  text-align: center;
  line-height: 0.6rem;
  font-weight: bold;
}
.result-page .frame .person {
  width: 7.5rem;
  height: 5.29rem;
  top: 3.46rem;
  position: absolute;
  left: 0rem;
}
.result-page .frame .person.person-0 {
  background-image: url("https://qn.mktzr.com/hxnm/images/result-person-0.png?v=8");
}
.result-page .frame .person.person-1 {
  background-image: url("https://qn.mktzr.com/hxnm/images/result-person-1.png?v=8");
}
.result-page .frame .person.person-2 {
  background-image: url("https://qn.mktzr.com/hxnm/images/result-person-2.png?v=8");
}
.result-page .frame .person.person-3 {
  background-image: url("https://qn.mktzr.com/hxnm/images/result-person-3.png?v=8");
}
.result-page .frame .person.person-4 {
  background-image: url("https://qn.mktzr.com/hxnm/images/result-person-4.png?v=8");
}
.result-page .frame .text {
  width: 6.16rem;
  height: 3.33rem;
  top: 9.5rem;
  padding: 0.2rem;
  box-sizing: border-box;
  font-size: 0.24rem;
  color: #fff;
  overflow-y: scroll;
  line-height: 0.4rem;
  letter-spacing: 0.01rem;
}
.result-page .frame .btn-wrap {
  width: 6.5rem;
  height: 0.82rem;
  top: 13.3rem;
  display: flex;
  flex-flow: row;
  justify-content: space-between;
}
.result-page .frame .btn-wrap .btn-lottery {
  width: 3.02rem;
  height: 0.82rem;
  background-image: url("https://qn.mktzr.com/hxnm/images/result-btn-lottery.png?v=8");
}
.result-page .frame .btn-wrap .btn-retry {
  width: 3.02rem;
  height: 0.82rem;
  background-image: url("https://qn.mktzr.com/hxnm/images/result-btn-retry.png?v=8");
}
.result-page .frame .btn-wrap .btn-backtohome {
  width: 3.02rem;
  height: 0.82rem;
  background-image: url("https://qn.mktzr.com/hxnm/images/result-btn-backtohome.png?v=8");
}
.result-page .frame .btn-wrap .btn-viewreward {
  width: 3.02rem;
  height: 0.82rem;
  background-image: url("https://qn.mktzr.com/hxnm/images/result-btn-viewreward.png?v=8");
}

.warn-dialog .frame {
  width: 6rem;
  height: 10.35rem;
  background-image: url("https://qn.mktzr.com/hxnm/images/dialog-warn.png?v=8");
}
.warn-dialog .frame .btn-close {
  width: 3.32rem;
  height: 0.91rem;
  top: 9.02rem;
}

.login-dialog .frame {
  width: 6rem;
  height: 8.36rem;
  background-image: url("https://qn.mktzr.com/hxnm/images/dialog-login.png?v=8");
}
.login-dialog .frame input {
  font-size: 0.28rem;
  color: #333;
  padding: 0 0.2rem;
  position: absolute;
  left: 0.75rem;
  height: 0.9rem;
  line-height: 0.9rem;
}
.login-dialog .frame .tel {
  width: 4.5rem;
  top: 2.75rem;
}
.login-dialog .frame .captcha-code {
  width: 3.01rem;
  top: 4.04rem;
}
.login-dialog .frame .captcha-img {
  width: 1.84rem;
  height: 0.75rem;
  position: absolute;
  left: 3.81rem;
  top: 4.14rem;
}
.login-dialog .frame .verify-code {
  width: 3.01rem;
  top: 5.34rem;
}
.login-dialog .frame .btn-sendsmscode {
  width: 1.4rem;
  height: 0.9rem;
  font-size: 0.24rem;
  color: #fff;
  line-height: 0.9rem;
  text-align: center;
  position: absolute;
  left: 3.85rem;
  top: 5.34rem;
}
.login-dialog .frame .btn-login {
  width: 3.32rem;
  height: 0.91rem;
  top: 6.83rem;
}

.rule-dialog .frame {
  width: 6rem;
  height: 10.35rem;
  background-image: url("https://qn.mktzr.com/hxnm/images/dialog-rule.png?v=8");
}
.rule-dialog .frame .btn-close {
  width: 3.34rem;
  height: 0.91rem;
  top: 9.02rem;
}

.introduction-dialog .frame {
  width: 6.22rem;
  height: 8.33rem;
  background-image: url("https://qn.mktzr.com/hxnm/images/dialog-introduction.png?v=8");
}
.introduction-dialog .frame .btn-close {
  width: 3.26rem;
  height: 0.87rem;
  top: 6.16rem;
}

.red-dialog .frame {
  width: 6rem;
  height: 6.95rem;
  background-image: url("https://qn.mktzr.com/hxnm/images/dialog-red.png?v=8");
}
.red-dialog .frame .amount {
  width: 100%;
  height: 0.6rem;
  text-align: center;
  font-size: 0.8rem;
  color: #d93b1e;
  font-weight: bold;
  top: 3rem;
}
.red-dialog .frame .btn-close {
  width: 3.34rem;
  height: 0.91rem;
  top: 4.81rem;
}

.notwin-dialog .frame {
  width: 6rem;
  height: 6.32rem;
  background-image: url("https://qn.mktzr.com/hxnm/images/dialog-notwin.png?v=8");
}
.notwin-dialog .frame .btn-close {
  width: 3.34rem;
  height: 0.91rem;
  top: 4.72rem;
}
