*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  line-height: 1;
}

html {
  width: 100vw;
  min-height: 100vh;
  background: #ffffff;
  font-size: min(13.333333vw, 100px);
}

body {
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  overflow-x: hidden;
  background: #131217;
  color: #2e2e2e;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  touch-action: manipulation;
}

button {
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
  -webkit-appearance: none;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

.hidden {
  display: none !important;
}

.app-shell {
  width: 7.5rem;
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background: #d8e1fd;
}

.image-button {
  display: block;
  padding: 0;
}

.index-page,
.animate-page,
.pay-view,
.report-view {
  width: 7.5rem;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background-color: #d8e1fd;
}

.index-page {
  overflow-y: auto;
}

.tip-bar {
  width: 7.5rem;
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 1000;
  transform: translateX(-50%);
  background-color: rgba(238, 245, 253, 0.8);
}

.index-top {
  position: relative;
  z-index: 1;
}

.index-content {
  width: 6.9rem;
  height: 3.5rem;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  transform: translateY(-0.4rem);
}

.index-btn {
  width: 5.08rem;
  height: 1.12rem;
  margin: 0 auto 0.2rem;
  position: relative;
  z-index: 10;
  animation: breath 2s infinite linear;
}

.user-NDA {
  width: 100%;
  height: 0.4rem;
  margin-bottom: 0.4rem;
  padding: 0 1.45rem;
  position: relative;
  z-index: 20;
}

.user-NDA input {
  width: 1px;
  height: 1px;
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.NDA-bk {
  width: 100%;
  height: 0.4rem;
}

.agreement-hotspot {
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  z-index: 20;
}

.agreement-hotspot.left {
  width: 1.5rem;
  left: 2.45rem;
}

.agreement-hotspot.right {
  width: 1.5rem;
  right: 1.45rem;
}

.agreement-hotspot.dui {
  width: 0.6rem;
  left: 1.46rem;
}

.index-bottom {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.order {
  width: 0.52rem;
  position: absolute;
  top: 1.6rem;
  right: 0;
  z-index: 100;
}

.animate-page {
  height: 100vh;
  position: fixed;
  top: 0;
  left: 50%;
  margin-left: -3.75rem;
}

.animate-top,
.animate-bottom {
  width: 100%;
  height: auto;
  position: absolute;
  left: 0;
  z-index: 1;
}

.animate-top {
  top: 0;
}

.animate-bottom {
  bottom: 0;
}

.yaoqian {
  width: 100%;
  height: 100vh;
  position: relative;
  z-index: 20;
}

.linqian {
  width: 4.5rem;
  height: 6.1rem;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 20;
  margin-left: -2.25rem;
  margin-top: -3.05rem;
  background-image: url("assets/linqian/index/qiantong.png");
  background-repeat: no-repeat;
  background-size: 700% 100%;
  background-position-x: 0;
  background-position-y: 0;
}

.lingqian-box {
  width: 0.7rem;
  height: 4.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10;
  margin-left: -0.35rem;
  margin-top: -1.8rem;
  text-align: center;
  opacity: 0;
}

.lingqian-box.cup-side {
  transform: translateX(-300%);
}

.lingqian-box.ready {
  animation: showimg 0.8s forwards;
  animation-delay: 0.5s;
}

.lingqian-box img {
  width: 0.7rem;
  height: 4.6rem;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.lingqian-box span {
  width: 0.4rem;
  position: relative;
  z-index: 2;
  color: #924e16;
  font-size: 0.28rem;
  line-height: 0.32rem;
  text-align: center;
}

.start-zhibei {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 50;
  margin-top: -0.7rem;
  transform: translateX(100%);
  opacity: 0.4;
}

.start-zhibei.show {
  animation: panelIn 0.8s linear forwards;
}

.start-zhibei .zhibei-content {
  position: relative;
  margin-bottom: 0.3rem;
}

.start-zhibei .title {
  height: 0.5rem;
  position: absolute;
  top: 0.8rem;
  left: 2.8rem;
  padding: 0 0.4rem;
  border: 1px solid #e2361f;
  border-radius: 0.25rem;
  color: #e2361f;
  font-size: 0.32rem;
  line-height: 0.45rem;
  white-space: nowrap;
}

.start-zhibei .title span {
  line-height: 0.45rem;
}

.start-zhibei .desc {
  width: 3.75rem;
  position: absolute;
  top: 1.75rem;
  left: 3.1rem;
  color: #353535;
  font-size: 0.28rem;
  line-height: 0.42rem;
}

.start-zhibei .desc span {
  color: #ec3820;
  line-height: 0.42rem;
}

.zhibei-btn {
  width: 5.1rem;
  height: 1rem;
  margin: 0 auto;
}

.zhibei-btn button {
  width: 5.1rem;
  height: 1rem;
}

.shengbei {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 50;
  margin-top: -3rem;
  margin-left: -0.5rem;
}

.shengbei > div {
  width: 1.3rem;
  height: 2.2rem;
  margin: 0 0.1rem;
  opacity: 0;
}

.shengbei .right-shengbei img {
  transform: rotate(180deg);
}

.shengbei.throwing .left-shengbei {
  animation: cupDrop 2s ease-out forwards;
  animation-delay: 0.1s;
}

.shengbei.throwing .right-shengbei {
  animation: cupDrop 2s ease-out forwards;
  animation-delay: 0.1s;
}

.pay-view {
  height: 100vh;
  overflow-y: auto;
  padding-bottom: 1.35rem;
}

.pay-top,
.result-top {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.pay-main-card {
  margin-bottom: 0.3rem;
  padding-top: 0.48rem;
  position: relative;
  z-index: 3;
}

.pay-box-img {
  width: 6.9rem;
  margin: 0 auto;
}

.pay-money {
  position: absolute;
  top: 7.6rem;
  left: 2.7rem;
  color: #f63043;
  font-size: 0.5rem;
  font-weight: bold;
  line-height: 0.56rem;
}

.pay-time {
  width: 1.6rem;
  position: absolute;
  top: 7.65rem;
  right: 1.03rem;
  color: #f63043;
  font-size: 0.36rem;
  line-height: 0.42rem;
}

.pay-image-btn {
  width: 6rem;
  position: absolute;
  bottom: 1.12rem;
  left: 50%;
  transform: translateX(-50%);
}

.fixed-pay-btn {
  width: 7.5rem;
  max-width: 640px;
  display: none;
  position: fixed;
  bottom: 0;
  left: 50%;
  z-index: 100;
  padding: 0.15rem 0.75rem;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.4);
}

.fixed-pay-btn img {
  animation: breath 2s infinite;
}

.report-view {
  height: 100vh;
  overflow-y: auto;
  padding-bottom: 0.5rem;
  background-color: #d8e2fc;
}

.result-summary {
  height: 5.5rem;
  position: relative;
  z-index: 3;
}

.result-lingqian {
  position: relative;
  top: auto;
  left: auto;
  margin: 0 auto;
  transform: translate(-1.5rem, 1rem);
  opacity: 1;
}

.result-shengbei {
  top: 50%;
  left: 50%;
  margin-left: -0.5rem;
  margin-top: -0.5rem;
}

.result-shengbei > div {
  opacity: 1;
}

.content-wrap {
  width: 100%;
  position: relative;
  z-index: 3;
}

.content-02 {
  width: 100%;
  margin-bottom: 0.3rem;
  padding: 0 0.3rem;
}

.content-02 .center {
  min-height: 1rem;
  background-image: url("assets/linqian/result/border2.png");
  background-size: 100% auto;
  background-repeat: repeat-y;
}

.borderBottom {
  margin-top: -1px;
}

.result-section-title {
  margin-bottom: 0.6rem;
}

.content-text {
  width: 100%;
  padding: 0 0.3rem 0.15rem;
}

.mark {
  margin-bottom: 0.4rem;
  color: #3663a5;
  font-size: 0.31rem;
  font-weight: bold;
  line-height: 0.48rem;
}

.mark span {
  color: #e32f2f;
  line-height: 0.48rem;
}

.desc {
  margin-bottom: 0.3rem;
  color: #2e2e2e;
  font-size: 0.3rem;
  line-height: 0.48rem;
  text-align: justify;
  vertical-align: middle;
}

.desc .mark {
  margin-bottom: 0;
  display: inline;
}

.desc span {
  line-height: 0.48rem;
}

.verse {
  margin-bottom: 0.3rem;
  text-align: center;
}

.verse p {
  font-size: 0.3rem;
  line-height: 0.58rem;
}

.keywords p {
  min-height: 0.48rem;
  margin-bottom: 0.1rem;
  padding-left: 1rem;
  position: relative;
  color: #2e2e2e;
  font-size: 0.3rem;
  line-height: 0.48rem;
  text-align: justify;
}

.keywords p:last-child {
  margin-bottom: 0;
}

.keywords p span {
  height: 0.48rem;
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  font-size: 0.31rem;
  font-weight: bold;
  line-height: 0.48rem;
}

.restart-link {
  width: 5.1rem;
  height: 0.92rem;
  display: block;
  margin: 0.2rem auto 0;
  border-radius: 0.46rem;
  color: #ffffff;
  background: linear-gradient(180deg, #fb6d40, #df2d1e);
  font-size: 0.34rem;
  font-weight: bold;
}

.comment-section {
  width: 100%;
  margin-bottom: 0.3rem;
  padding: 0 0.3rem;
  position: relative;
  z-index: 3;
}

.comment-center {
  min-height: 1rem;
  background-image: url("assets/linqian/result/border2.png");
  background-repeat: repeat-y;
  background-size: 100% auto;
}

.comment-title {
  width: auto;
  height: 0.65rem;
  margin: 0 auto 0.2rem;
  transform: translateY(-0.2rem);
}

.comment-text {
  width: 100%;
  height: 9rem;
  overflow: hidden;
  padding: 0 0.4rem;
}

.evaluate-wrap {
  will-change: transform;
}

.evaluate-item {
  margin-bottom: 0.4rem;
}

.name-box,
.star-box {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.name-box {
  margin-bottom: 0.4rem;
}

.evaluate-name {
  margin-right: 0.3rem;
  font-size: 0.32rem;
  font-weight: bold;
  line-height: 0.38rem;
}

.star {
  width: 0.27rem;
  height: 0.25rem;
  margin-right: 0.1rem;
}

.evaluate {
  margin-bottom: 0.4rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid #d8d6d6;
  color: #696969;
  font-size: 0.28rem;
  letter-spacing: 1px;
  line-height: 0.42rem;
  text-align: justify;
}

.hot-section {
  width: 6.9rem;
  margin: 0 auto 0.35rem;
  position: relative;
  z-index: 3;
  border: 0.04rem solid #3765a6;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.28rem;
}

.hot-title {
  margin-bottom: 0.22rem;
  color: #3663a5;
  font-size: 0.38rem;
  font-weight: bold;
  line-height: 0.48rem;
  text-align: center;
}

.hot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.18rem;
}

.hot-item {
  min-height: 1.22rem;
  border: 1px solid #f1a848;
  border-radius: 0.12rem;
  background: #fff4cf;
  padding: 0.16rem;
  text-align: left;
}

.hot-item strong {
  display: block;
  color: #b74816;
  font-size: 0.3rem;
  line-height: 0.38rem;
}

.hot-item span {
  display: block;
  margin-top: 0.1rem;
  color: #5d6270;
  font-size: 0.24rem;
  line-height: 0.32rem;
}

.toast {
  min-width: 3rem;
  min-height: 1rem;
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 999;
  padding: 0.3rem 0.4rem;
  transform: translate(-50%, -50%);
  color: #eeeeee;
  background-color: rgba(0, 0, 0, 0.6);
  font-size: 0.32rem;
  line-height: 0.42rem;
  text-align: center;
  white-space: nowrap;
}

@keyframes breath {
  0% {
    transform: scale(0.98);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(0.98);
  }
}

@keyframes showimg {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes panelIn {
  0% {
    transform: translateX(100%);
    opacity: 0.4;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes cupDrop {
  0% {
    transform: translateY(-150%) rotateZ(0deg);
    opacity: 0.6;
  }
  100% {
    transform: translateY(0) rotateZ(720deg);
    opacity: 1;
  }
}

@media (min-width: 640px) {
  html {
    font-size: 85.3333px;
  }
}
