body,
html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: system-ui, sans-serif;
}
* {
  box-sizing: border-box;
  font-family: system-ui, sans-serif;
}
/* @font-face {
  font-family: 'FZZCHJW';
  src: url('../fonts/FZZCHJW.ttf');
}
@font-face {
  font-family: 'FZZZHONGHJW';
  src: url('../fonts/FZZZHONGHJW.ttf');
}
@font-face {
  font-family: 'FZZZHUNHJW';
  src: url('../fonts/FZZZHUNHJW.ttf');
} */
.st {
  background-color: #b97025;
}
.st .bg {
  width: 100%;
  height: 100%;
  background-image: url(./bg1.jpg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: relative;
}
.st .qcdb {
  width: 65%;
  padding-top: 1.1rem;
  margin: 0 auto;
  text-align: center;
}
.st .qcdb img {
  width: 100%;
}

.st .qcdb .title-bg {
  background-image: url(./title-bg.png);
  background-size: 100% auto;
  color: #fff;
  font-size: 16px;
  padding: 0.1rem 0.5rem;
}
.st .wz {
  width: 5.05rem;
  height: 1rem;
  padding-top: 0.25rem;
  margin: 1.5rem auto;
  text-align: center;
  font-size: 20px;
  line-height: 25px;
  /* font-family: 'FZZZHONGHJW'; */
  color: #FFD58C;
  position: relative;
}
.st .wz .wz1 {
  display: block;
  width: 0.55rem;
  height: 0.22rem;
  border-top: 1px solid #a8a39b;
  border-left: 1px solid #a8a39b;
  position: absolute;
  top: 0;
  left: 0;
}
.st .wz .wz2 {
  display: block;
  width: 0.55rem;
  height: 0.22rem;
  border-bottom: 1px solid #a8a39b;
  border-right: 1px solid #a8a39b;
  position: absolute;
  right: 0;
  bottom: 0;
}
.st .sBtn {
  width: 60%;
  margin: 0 auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.st .sBtn img {
  width: 100%;
}
.st .sBtn .btnText {
  position: absolute;
  font-size: 25px;
  color: #fff;
}

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

.djks .btnText {
  position: absolute;
  font-size: 3vw;
  color: #060400;
}
.st .mark {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 10;
}
.st .nameInput {
  width: 100%;
  height: 3rem;
  font-size: 0.22rem;
  color: #FFD58C;
  text-align: center;
  background-image: url(./nameInput.png);
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  margin-top: -1.5rem;
  padding-top: 0.6rem;
}
.st .nameInput h2 {
  width: 100%;
  height: 0.8rem;
  text-align: center;
  line-height: .8rem;
}
.st .nameInput input {
  width: 55%;
  text-align: center;
  font-size: 0.24rem;
  height: 0.6rem;
  line-height: 0.6rem;
  color: #FFD58C;
  font-weight: bold;
  margin-top: 0.3rem;
  background-color: transparent;
}
.st .djks {
  width: 2.5rem;
  position: absolute;
  top: 65%;
  left: 50%;
  margin-left: -1.25rem;
  animation-duration: 1s;
  animation-delay: 0.5s;
}
.st .djks img {
  width: 100%;
  height: auto;
}
.st .huan {
  width: 100%;
  height: 3.9rem;
  position: absolute;
  bottom: 0;
  animation: run 10s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  transform-origin: 50% 3.9rem;
}
.st .huan img {
  width: 120%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.answer .bg {
  width: 100%;
  height: 100%;
  padding-top: 2rem;
  background-image: url(./qbg.jpg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: relative;
}
.answer .huan {
  width: 100%;
  height: 5rem;
  animation: run 10s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  transform-origin: 50% 50%;
  position: absolute;
  top: 0;
  z-index: 1;
}
.answer .huan img {
  width: 60%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.answer .answerBox {
  width: 80%;
  height: 7.65rem;
  background-image: url(./qabg.png);
  background-size: 100% auto;
  background-repeat: no-repeat;
  margin: auto;
  /* font-family: 'FZZZHONGHJW'; */
  color: #FFD58C;
  position: relative;
  z-index: 2;
}
.answer .answerBox .answerA {
  padding: 0.8rem 0.9rem 0 0.9rem;
  font-weight: bold;
  font-size: 0.3rem;
  line-height: 0.35rem;
}
.answer .answerBox ul {
  font-size: 0.26rem;
  padding: 0.6rem 1rem 0 1rem;
}
.answer .answerBox li {
  height: 0.7rem;
  line-height: 0.36rem;
  position: relative;
  padding-left: 0.5rem;
  display: flex;
  align-items: center;
}
.answer .answerBox li.active div:after {
  content: '';
  display: block;
  width: 0.15rem;
  height: 0.15rem;
  background-color: #d3674f;
}
.answer .answerBox li div {
  width: 0.30rem;
  height: 0.30rem;
  border-radius: 3px;
  border: 2px solid #7d583c;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%) rotateZ(45deg);
}
.answer .answerBox li div:after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.5s;
}
.answer .nexBtn {
  width: 3rem;
  height: 0.6rem;
  background-image: url(./btns.png);
  background-size: 100% auto;
  background-repeat: no-repeat;
  position: absolute;
  top: 83%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.nexBtn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.nexBtn .btnText {
  position: absolute;
  font-size: 22px;
}
.nexBtn .btnTextResult {
  position: absolute;
  font-size: 12px;
  display: none;
}
.nexBtn.active .btnText {
  display: none !important;;
}
.nexBtn.active .btnTextResult {
  display: block !important;;
}
.answer .nexBtn.active {
  background-image: url(./btns.png);
}
.answer .qer {
  animation-delay: 0.5s;
}
.result .bg {
  width: 100%;
  height: 100%;
  padding-top: 2rem;
  background-image: url(./qbg.jpg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: relative;
  padding-top: 1rem;
}
.result .reBox {
  width: 80%;
  height: 70%;
  background-color: rgba(0, 0, 0, 0.7);
  margin: 0 auto;
  /* border-radius: 0.4rem; */
  border: 2px solid #FFD58C;
  padding: 0.15rem 0;
  position: relative;
  background-size: contain;
  display: flex;
  flex-direction: column;
}
.result .reBox h3 {
  height: 0.72rem;
  line-height: 0.3rem;
  padding: 0.21rem 0.1rem;
  font-size: 0.24rem;
  color: #FFD58C;
  font-weight: normal;
  /* font-family: 'FZZZHONGHJW'; */
  text-align: center;
}
.result .reBox span {
  display: inline-block;
  color: #ffe57c;
  font-size: 0.3rem;
  animation-delay: 1s;
}
.result .reBox .huname {
  width: 4rem;
  height: 0.6rem;
  line-height: 0.55rem;
  margin: 0 auto;
  position: relative;
  margin-top: 0.7rem;
}
.result .reBox .huname div {
  width: 4rem;
  height: 0.46rem;
  font-size: 0.3rem;
  border-radius: 0.05rem;
  color: #fff;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.result .divider {
  padding: 0 0.4rem;
  margin-top: -0.7rem;
}
.result .divider img {
  width: 100%;
  height: auto;
}
.result .reBox .imgBox {
  width: 2.5rem;
  height: 2.5rem;
  margin: auto;
  animation-delay: 1s;
  margin-top: -0.3rem;
}
.result .reBox .imgBox img {
  width: 100%;
  height: auto;
}
.result .reBox .content {
  width: 75%;
  margin: 0 auto;
  -webkit-overflow-scrolling: touch;
  height: 25%;
  font-size: 0.26rem;
  overflow: scroll;
  color: #FFD58C;
  animation-delay: 2s;
  margin-top: 1rem;
}
.result .reBox .content div {
  -webkit-overflow-scrolling: touch;
  overflow: scroll;
}
.result .btnBox {
  width: 80%;
  height: 1.2rem;
  margin: 0 auto;
  text-align: center;
  display: flex;
  justify-content: space-between;
}
.result .btnBox .again, .result .btnBox .save {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.result .btnBox .again {
  margin-right: 0.1rem;
}
.result .btnBox .save {
  margin-left: 0.1rem;
}
.result .btnBox .again .btnText {
  position: absolute;
  font-size: 3vw;
  font-weight: bold;
  white-space: nowrap;
}
.result .btnBox .save .btnText {
  position: absolute;
  font-size: 4vw;
  font-weight: bold;
}
.result .btnBox img {
  width: 100%;
  height: auto;
}

.result .btnBox .save a {
  display: block;
  width: 100%;
  height: 100%;
}

.result .db .store {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.result .db .store .btnText {
  position: absolute;
  font-size: 5vw;
  margin-top: 0.2rem;
  color: #fff;
}


.result .db {
  width: 70%;
  margin: 0 auto;
  position: relative;
}
.result .db .code {
  width: 1.2rem;
  height: 1.2rem;
  margin-left: 0.5rem;
  float: left;
}
.result .db .code img {
  width: 100%;
}
.result .db .wz {
  font-size: 0.22rem;
  color: #eee7d9;
  float: left;
  padding-left: 1.9rem;
  padding-right: 0.1rem;
  padding-top: 0.1rem;
  position: absolute;
  top: 0;
  left: 0;
}
.result canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.result .jt {
  width: 0.45rem;
  height: 0.5rem;
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
}
.result .jt div {
  width: 0.45rem;
  height: 0.5rem;
  animation-iteration-count: infinite;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url(./箭头.png);
}
.result .mark {
  display: none;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  background-image: url(./huan.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 40%;
  position: absolute;
  font-size: 0.3rem;
  color: #fff;
  text-align: center;
  top: 0;
  left: 0;
  z-index: 1000;
}
.result .mark .mjtBox {
  width: 100%;
  height: 2.2rem;
}
.result .mark .mjt {
  height: 1.8rem;
  float: right;
  margin-right: 1rem;
  margin-top: 0.3rem;
}
.result .mark .mjt img {
  width: auto;
  height: 100%;
}
.result .mark a {
  color: #59b2ff;
  font-size: 0.34rem;
  line-height: 0.5rem;
}
.result .mark .fenx {
  padding-top: 0.5rem;
  line-height: 0.5rem;
}
.end .bg {
  width: 100%;
  height: 100%;
  background-image: url(./bg1.jpg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: relative;
  padding-top: 0.5rem;
}
.end .luoma {
  width: 70%;
  margin: 0 auto;
}
.end .luoma img {
  width: 100%;
}
.end .huodong {
  color: #fff;
  font-size: 0.28rem;
  text-align: center;
  margin-top: 0.1rem;
}
.end .huodong div {
  display: inline-block;
  width: 2rem;
  height: 0.4rem;
  border-radius: 0.3rem;
  line-height: 0.44rem;
  background-color: #2ea591;
}
.end .huodong.data {
  margin-top: 0.3rem;
}
.end .content {
  color: #ffffff;
  text-align: center;
  font-size: 0.24rem;
  line-height: 0.4rem;
  padding-top: 0.25rem;
}
.end .content span {
  color: #ffda43;
}
.end .imgBox {
  text-align: center;
}
.end .imgBox div {
  display: inline-block;
  width: 0.9rem;
  height: 0.9rem;
  background-repeat: no-repeat;
  background-size: contain;
}
.end .imgBox div.img1 {
  background-image: url(./LOGO-1@2x.png);
}
.end .imgBox div.img2 {
  background-image: url(./LOGO-2@2x.png);
}
.end .db {
  width: 80%;
  margin: 0 auto;
  position: relative;
}
.end .db .code {
  width: 1.2rem;
  height: 1.2rem;
  margin-left: 0.5rem;
  float: left;
}
.end .db .code img {
  width: 100%;
}
.end .db .wz {
  font-size: 0.22rem;
  color: #eee7d9;
  float: left;
  padding-left: 1.9rem;
  padding-right: 0.1rem;
  padding-top: 0.1rem;
  position: absolute;
  top: 0;
  left: 0;
}
@keyframes run {
  from {
    transform: rotateZ(0);
  }
  to {
    transform: rotateZ(360deg);
  }
}
.result .share-wrapper {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
  font-size: .5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #51493f;
  padding-top: 3px;
  padding-left: 20px;
  border-bottom-left-radius: 10px;
}
.result .share-wrapper .share, .result .share-wrapper .label {
  display: inline-block;
  margin-right: 0.2rem;
}
.result .share-wrapper .label {
  font-size: 0.3rem;
  color: #fff;
  padding-right: .2rem;
}
.result .share-wrapper img {
  width: 23px;
  height: 23px;
}
.popup-container {
  position: fixed;
  top:0;
  left:0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}
.popup-content {
  background-color: rgba(255, 213, 140, 0.7);
  font-size: 0.3rem;
  padding: 0.1rem 0.5rem;
  border-radius: 0.2rem;
  color: #fff;
}