@font-face {
  font-family: "zihun27";
  src: url(../font/zihun27.ttf) format("truetype");
  font-style: normal;
}

/* body {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
} */

.loadingBox {
  /* background: url(../images/loading/bg.jpg) no-repeat 0 0 / 7.5rem 15rem; */
  width: 7.5rem;
  height: 100vh;
  min-height: 13.34rem;
  position: fixed;
  top: 0;
  left: 50%;
  margin-left: -3.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 9999;
}

.loadingBg {
  width: 7.5rem;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.loadingCon {
  width: 7.5rem;
  height: 3.5rem;
  position: relative;
}

.loadingTips {
  display: block;
  width: 2.74rem;
  height: 0.77rem;
  position: absolute;
  top: 0rem;
  left: 2.4rem;
}

.progressBox {
  width: 7.14rem;
  height: 1.52rem;
  position: absolute;
  top: 0.43rem;
  left: 0.23rem;
}

.progressBg {
  width: 7.14rem;
  height: 1.52rem;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.progressCon {
  width: 6.15rem;
  height: 0.54rem;
  position: absolute;
  top: 0.6rem;
  left: 0.52rem;
  border-radius: 50px;
  overflow: hidden;
}

.progressBar {
  background: linear-gradient(to bottom,#FFAF1D,#FF7727);
  width: 6.15rem;
  height: 0.54rem;
  border-radius: 50px;
  position: absolute;
  top: 0;
  left: -6.15rem;
}


.progressTips {
  width: 6.21rem;
  height: 0.62rem;
  position: absolute;
  top: 0.55rem;
  left: 0.52rem;
  overflow: hidden;
  text-align: center;
  line-height: 0.62rem;
  color: #fff;
  font-weight: 1000;
}


.loadingBox .logo {
  width: 2.34rem;
  height: 1.37rem;
  position: absolute;
  bottom: 0;
  left: 2.4rem;
}

.wrapper {
  margin: 0 auto;
  width: 7.5rem;
  height: 100%;
  min-height: 13.34rem;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.5s;
}

.wrapper.show {
  opacity: 1;
}

.sceneBox {
  background: url(../images/bg.jpg) no-repeat 0 0 / 7.5rem 15rem;
  width: 7.5rem;
  height: 100%;
  min-height: 13.34rem;
  position: relative;
  overflow: hidden;
}

.sceneBox canvas {
  position: absolute;
  z-index: 10;
  pointer-events: none;
}

.d-0.active {
  opacity: 0;
}

.d-1,.d-0 {
  pointer-events: none;
}

.d-1.active {
  opacity: 1;
  pointer-events: all;
}

.d1-0 {
  display: block;
  width: 1.11rem;
  height: 1.46rem;
  position: absolute;
  top: 7.8rem;
  right: 0rem;
  z-index: 1;
  opacity: 1;
}

.d1-mask {
  display: block;
  width: 1.05rem;
  height: 3.39rem;
  position: absolute;
  top: 7.34rem;
  right: 0rem;
  z-index: 2;
}

.d1-1 {
  display: block;
  width: 2.54rem;
  height: 1.87rem;
  position: absolute;
  top: 7.7rem;
  right: 0.6rem;
  z-index: 3;
  opacity: 0;
  transform: scale(0.8);
}

.d2-0 {
  display: block;
  width: 2.31rem;
  height: 2.71rem;
  position: absolute;
  top: 7.8rem;
  left: 0.5rem;
  z-index: 4;
  opacity: 1;
}

.d2-mask {
  display: block;
  width: 4.37rem;
  height: 5.07rem;
  position: absolute;
  top: 7.2rem;
  left: 0rem;
  z-index: 5;
  pointer-events: none;
}

.d2-1 {
  display: block;
  width: 2.3rem;
  height: 2.71rem;
  position: absolute;
  top: 7.6rem;
  left: 1.2rem;
  z-index: 4;
  opacity: 0;
  transform: scale(0.8);
}

.d3-0 {
  display: block;
  width: 0.9rem;
  height: 0.93rem;
  position: absolute;
  top: 3.76rem;
  right: 1.82rem;
  z-index: 1;
  opacity: 1;
}

.d3-mask {
  display: block;
  width: 1.58rem;
  height: 1.35rem;
  position: absolute;
  top: 3.6rem;
  right: 2.1rem;
  z-index: 2;
}

.d3-1 {
  display: block;
  width: 0.86rem;
  height: 1.02rem;
  position: absolute;
  top: 3.76rem;
  right: 1.82rem;
  z-index: 3;
  opacity: 0;
  transform: scale(0.8);
}

.d4-0 {
  display: block;
  width: 1.83rem;
  height: 1.06rem;
  position: absolute;
  top: 6.8rem;
  left: 3rem;
  z-index: 4;
  opacity: 1 !important;
}

.d4-1 {
  display: block;
  width: 2.6rem;
  height: 1.95rem;
  position: absolute;
  top: 5.7rem;
  left: 2.6rem;
  z-index: 3;
  opacity: 0;
  transform: scale(0.8);
}

.d5-0 {
  display: block;
  width: 1.99rem;
  height: 2.19rem;
  position: absolute;
  top: 6.2rem;
  left: 0.9rem;
  z-index: 1;
  opacity: 1;
}

.d5-mask {
  display: block;
  width: 2.89rem;
  height: 2.25rem;
  position: absolute;
  top: 5.9rem;
  left: 0rem;
  z-index: 2;
}

.d5-1 {
  display: block;
  width: 2.11rem;
  height: 2.19rem;
  position: absolute;
  top: 4.9rem;
  left: 0.2rem;
  z-index: 3;
  opacity: 0;
  transform: scale(0.8);
}

.d6-0 {
  display: block;
  width: 0.73rem;
  height: 0.95rem;
  position: absolute;
  top: 4.2rem;
  left: 6.3rem;
  z-index: 1;
  opacity: 1;
}

.d6-mask {
  display: block;
  width: 2.17rem;
  height: 1.59rem;
  position: absolute;
  top: 4rem;
  left: 5.2rem;
  z-index: 2;
}

.d6-1 {
  display: block;
  width: 0.73rem;
  height: 0.95rem;
  position: absolute;
  top: 4.2rem;
  left: 6.1rem;
  z-index: 3;
  opacity: 0;
  transform: scale(0.8);
}

.d7-0 {
  display: block;
  width: 1rem;
  height: 1.2rem;
  position: absolute;
  top: 3.4rem;
  left: 2.4rem;
  z-index: 1;
  opacity: 1;
}

.d7-mask {
  display: block;
  width: 3.17rem;
  height: 1.3rem;
  position: absolute;
  top: 3.8rem;
  left: 1.1rem;
  z-index: 2;
}

.d7-1 {
  display: block;
  width: 1rem;
  height: 1.2rem;
  position: absolute;
  top: 3.6rem;
  left: 2.2rem;
  z-index: 11;
  opacity: 0;
  transform: scale(0.8);
}

.d8-0 {
  display: block;
  width: 1.71rem;
  height: 1.4rem;
  position: absolute;
  top: 5.5rem;
  left: 4.1rem;
  z-index: 3;
  opacity: 1;
}

.d8-mask {
  display: block;
  width: 1.24rem;
  height: 0.87rem;
  position: absolute;
  top: 5.6rem;
  left: 4.6rem;
  z-index: 2;
}

.d8-1 {
  display: block;
  width: 1.96rem;
  height: 1.62rem;
  position: absolute;
  top: 5.2rem;
  left: 5.2rem;
  z-index: 4;
  opacity: 0;
  transform: scale(0.8);
}

.tips-pre {
  width: 1.75rem;
  height: 0.59rem;
  position: absolute;
  top: 4.8rem;
  left: 2.6rem;
  z-index: 5;
}

.link_pre {
  width: 1rem;
  height: 1rem;
  position: absolute;
  top: 3.6rem;
  left: 3rem;
  cursor: pointer;
  z-index: 11;
}

.btn-rules {
  width: 1rem;
  height: 1rem;
  padding: 0;
  outline: none;
  background: none;
  border: none;
  position: absolute;
  top: 2.8rem;
  right: 0.8rem;
  z-index: 11;
  cursor: pointer;
}

.btn-all {
  width: 0.5rem;
  height: 2rem;
  padding: 0;
  outline: none;
  background: none;
  border: none;
  position: absolute;
  top: 7.6rem;
  left: 0.8rem;
  z-index: 11;
  cursor: pointer;
}

.lightBox {
  width: 7.5rem;
  height: 100%;
  /* min-height: 13.34rem; */
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 10;
}


.drawBox {
  width: 7.5rem;
  height: 100vh;
  position: fixed;
  bottom: 0;
  left: 50%;
  margin-left: -3.75rem;
  z-index: 999;
  pointer-events: none;
}

.grass-bot {
  width: 7.5rem;
  height: 2.77rem;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.leftNums {
  font-family: "zihun27";
  font-size: 0.28rem;
  color: #321602;
  text-shadow: #F3B75C 0 0 3px;
  position: absolute;
  bottom: 2.1rem;
  left: 0.24rem;
  z-index: 2;
}

.drawBox canvas {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
}

.AniBox {
  /* background: url(../images/btn-draw.png) no-repeat 0 0 / 100% 100%; */
  width: 4.2rem;
  height: 3.93rem;
  position: absolute;
  bottom: 0;
  left: 1.6rem;
  pointer-events: all;
  border-radius: 50%;
  z-index: 3;
}

.grass-top {
  width: 7.5rem;
  height: 0.74rem;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;
}

.bubblesBox {
  /* background: url(../images/bubble.png) no-repeat 0 0 / 100% 100%; */
  width: 2.64rem;
  height: 2.92rem;
  position: absolute;
  bottom: 1.6rem;
  right: 0.1rem;
  z-index: 4;
  animation: bubblesTipsAni 3s ease infinite;
}

@keyframes bubblesTipsAni {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(1%, -1%, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

.bubblesBox .tips1 {
  display: block;
  width: 1.68rem;
  height: 0.83rem;
  position: absolute;
  top: 0.7rem;
  left: 0.6rem;
  opacity: 0;
  transition: opacity 1s;
}

.bubblesBox .tips2 {
  display: block;
  width: 1.94rem;
  height: 0.89rem;
  position: absolute;
  top: 0.7rem;
  left: 0.6rem;
  opacity: 0;
  transition: opacity 1s;
}

.bubblesBox img.cur {
  opacity: 1;
}


.finger {
  width: 3.44rem;
  height: 3.22rem;
  position: absolute;
  bottom: 1rem;
  left: 50%;
  margin-left: -1.72rem;
  transform: scale(0.4);
  z-index: 99;
}

/* dialog */
.mask {
  background-color: #000;
  border-top: 1px solid #000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  filter: alpha(opacity=0);
  z-index: -1;
}

.mask.on {
  -webkit-opacity: 0.8;
  -moz-opacity: 0.8;
  opacity: 0.8;
  filter: alpha(opacity=80);
  z-index: 9998;
}

.dialog {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 9999;
}

.dialog.on {
  display: block;
}

button.dialog-close {
  border: none;
  outline: none;
  background: none;
  width: 1rem;
  height: 1rem;
  position: absolute;
  top: -0.2rem;
  right: 0.3rem;
  z-index: 10;
}

.dialog-common {
  background: url(../images/dialog/bg.png) no-repeat 0 0 / 100% 100%;
  width: 6.86rem;
  height: 4.44rem;
  margin-top: -2.22rem;
  margin-left: -3.43rem;
}

.dialog-common .dialog-con {
  width: 100%;
  height: 100%;
  padding: 1.3rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dialog-common .dialog-con p {
  font-family: "zihun27";
  color: #321602;
  text-align: left;
  font-size: 0.28rem;
}

.dialog-all {
  background: url(../images/dialog/bg-all.png) no-repeat 0 0 / 100% 100%;
  width: 6.86rem;
  height: 6.39rem;
  margin-left: -3.43rem;
  margin-top: -3.195rem;
}

.log-item img {
  width: 100%;
  height: 100%;
  filter: brightness(30%);
  cursor: pointer;
}

.log-item.active img {
  filter: brightness(100%);
} 

.log-7 {
  width: 1.26rem;
  height: 1.06rem;
  position: absolute;
  top: 1.6rem;
  left: 1.5rem;
}

.log-5 {
  width: 1.17rem;
  height: 1.11rem;
  position: absolute;
  top: 1.6rem;
  left: 2.88rem;
}

.log-3 {
  width: 1.09rem;
  height: 1.18rem;
  position: absolute;
  top: 1.5rem;
  left: 4.24rem;
}

.log-6 {
  width: 1.18rem;
  height: 1.04rem;
  position: absolute;
  top: 2.92rem;
  left: 1.5rem;
}

.log-2 {
  width: 1.09rem;
  height: 1rem;
  position: absolute;
  top: 2.92rem;
  left: 2.88rem;
}

.log-8 {
  width: 1.09rem;
  height: 1.02rem;
  position: absolute;
  top: 2.92rem;
  left: 4.25rem;
}

.log-1 {
  width: 1.19rem;
  height: 1.04rem;
  position: absolute;
  top: 3.96rem;
  left: 2.24rem;
}

.log-4 {
  width: 1.31rem;
  height: 0.82rem;
  position: absolute;
  top: 4.2rem;
  left: 3.7rem;
}



.dialog-share {
  width: 6.4rem;
  height: 5rem;
  margin-left: -3.2rem;
  margin-top: -2.5rem;
}

.dialog-share img {
  width: 100%;
  height: 100%;
  position: absolute;
}

.dialog-share img.current {
  z-index: 10;
}

.dialog-rules {
  background: url(../images/dialog/rules.png) no-repeat 0 0 / 100% 100%;
  width: 6.86rem;
  height: 6.39rem;
  margin-top: -3.195rem;
  margin-left: -3.43rem;
}

.dialog-rules .dialog-con {
  width: 100%;
  height: 100%;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
}

.dialog-rules .dialog-con .dialog-inner {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 1.6rem;
}

.dialog-rules .dialog-con p {
  font-family: "zihun27";
  color: #321602;
  text-align: left;
  font-size: 0.28rem;
}