html {
  background: #8f8f8f;
}

/* ==================== 页面加载遮罩 ==================== */
.page-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loading-overlay.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loading-spinner {
  width: 56px;
  height: 56px;
  border: 4px solid #fee2e2;
  border-top-color: #da2618;
  border-radius: 50%;
  animation: page-loading-rotate 0.9s linear infinite;
}

.page-loading-text {
  margin-top: 16px;
  font-size: 1.4rem;
  color: #da2618;
  letter-spacing: 1px;
  animation: page-loading-fade 1.4s ease-in-out infinite;
}

.page-loading-text::after {
  content: '';
  display: inline-block;
  width: 18px;
  text-align: left;
  animation: page-loading-dots 1.4s steps(4, end) infinite;
}

@keyframes page-loading-rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes page-loading-fade {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

@keyframes page-loading-dots {
  0% {
    content: '';
  }

  25% {
    content: '.';
  }

  50% {
    content: '..';
  }

  75% {
    content: '...';
  }

  100% {
    content: '';
  }
}

body {
  background: #fee2e2 url(../images/image_24@2x.png) center -24% no-repeat;
  background-size: contain;
  min-height: 100vh;
}

.bgimg img {
  padding-top: 30px;
}

/* .download_container {
  position: fixed;
  bottom: 0;
  width: 100%;
  max-width: 480px;
  height: 332px;
  border: 2px solid #ffffff75;
  box-sizing: border-box;
  background: #da2618;
  overflow: hidden;

} */


.download_container {
  position: fixed;
  bottom: 0;
  z-index: 9;
  width: 100%;
  max-width: 480px;
  height: 350px;
  background: linear-gradient(180deg, #da4444 0%, #f55050 83.85%);

  /* 核心：用 mask 实现完美大圆弧凹陷，凹陷部分完全透明 */
  -webkit-mask-image: radial-gradient(ellipse 260px 100px at 50% 0%,
      transparent 99%,
      black 100%);
  mask-image: radial-gradient(ellipse 260px 100px at 50% 0%,
      transparent 99%,
      black 100%);
}

.download_container_bg {
  position: fixed;
  bottom: 0;
  z-index: 8;
  width: 100%;
  max-width: 480px;
  height: 390px;
  border-top: 2px solid #ffffff75;
  box-sizing: border-box;
  background: #ffffff85;
  backdrop-filter: blur(4px);

  /* 核心：用 mask 实现完美大圆弧凹陷，凹陷部分完全透明 */
  -webkit-mask-image: radial-gradient(ellipse 240px 120px at 50% 0%,
      transparent 99%,
      black 100%);
  mask-image: radial-gradient(ellipse 240px 120px at 50% 0%,
      transparent 99%,
      black 100%);
}

.container {
  position: fixed;
  bottom: 0;
  z-index: 10;
  height: 300px;
  width: 100%;
  max-width: 480px;
}

.container .logo {
  width: 72px;
  height: 72px;
  margin: 0 auto
}

.container .logotxt {
  margin: 10px 0;
  text-align: center;
  font-weight: 600;
  font-size: 3.6rem;
  line-height: 44px;
  color: #ffffff;
}


.container .psg {
  margin: 10px 0;
  text-align: center;
  font-size: 1.6rem;
  line-height: 24px;
  color: #ffffff;
}


.container .btn_contain {
  width: 225px;
  height: 48px;
  border-radius: 8px;
  border: 1px solid linear-gradient(0deg, #eab66b 0%, #ffecd0 100%);
  box-sizing: border-box;
  background: linear-gradient(180deg, #ffdda8 0%, #f2c995 100%);
  box-shadow: 0px 2.5px 5.1px #eab66b26, 0px 8.9px 8.9px #eab66b21;
  font-size: 1.6rem;
  line-height: 48px;
  color: #9a3412;
  text-align: center;
  margin: 0 auto;
}

.container .btn {
  display: block;
  width: 100%;
  height: 48px;
  border: none;
  background: none;
  color: #9a3412;
  font-size: 1.6rem;
  line-height: 48px;
  text-align: center;
}

.btn_dl {
  margin-top: 10px;
  text-align: center;
  color: #ffffff;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 22px;
  text-decoration-line: underline;
  text-decoration-skip-ink: auto;
}

/* ==================== 按钮禁用态（防重复点击） ==================== */
.btn-disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}



/* ==================== 弹窗通用 ==================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  display: none;
}

.modal-overlay.show {
  display: block;
}

.modal-panel {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  max-width: 480px;
  background: #f3f4f6;
  z-index: 999;
  padding: 12px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  transition: transform 0.3s ease;
}

.modal-panel#commentModal {
  background: #fff;
}

.modal-panel.show {
  transform: translateX(-50%) translateY(0);
}

.modal-panel .modal-header {
  text-align: center;
  position: relative;
  margin-bottom: 20px;
}

.modal-panel .modal-header .modal-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #1d1e22;
  height: 24px;
  line-height: 24px;
  overflow: hidden;
  text-align: center;
  padding: 0 30px;

}

.modal-panel .modal-header .modal-close {
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  font-size: 2rem;
  color: #999;
  line-height: 24px;
  cursor: pointer;
  background: url('../images/fault_black.png') no-repeat center center;
  background-size: 100% 100%;
}

/* ====================  提示弹窗 ==================== */
.intro-modal {
  padding: 0;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, #ef444433 0%, #ffffff33 100%), #ffffff;
  min-height: 400px;
}

.intro-modal-bg {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  height: 72px;
}

.intro-modal-bg .intro-modal-title {
  width: 128px;
  height: auto;
  display: block;
  margin-left: 12px;
}

.intro-modal-bg .intro-modal-icon {
  width: 85px;
  height: 79px;
  display: block;
  position: absolute;
  top: -24px;
  right: 0;
  width: 105.9px;
  height: 115px;
}

.intro-modal-content {
  min-height: 312px;
  border-radius: 12px;
  background: #ffffff;
  margin: 0 12px;
  padding: 12px;
  overflow-y: auto;
  color: #384250;
  font-size: 1.6rem;
  line-height: 24px;
  box-sizing: border-box;
}

#ts_msg {
  border-radius: 8px;
  background: #fee2e2;
  font-size: 1.6rem;
  line-height: 24px;
  color: #384250;
  padding: 8px;
}

/* 微信引导遮罩层 */
.wechat-guide-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.8);
}

.wechat-guide-overlay img {
  display: block;
  width: 100%;
  height: auto;
}

.opacity_set {
  opacity: 0;
}

#qrCodeBox img {
  display: block;
  margin: 20px auto;
}
