/* ===========================================================
   X本真 · 解锁 / 充值弹窗（演示）
   =========================================================== */

.go--btn {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.go--btn.is-disabled { color: var(--ink-3); cursor: not-allowed; }

.chip--open { background: #e7eedf; color: #41563f; }
.chip--gold { background: #f2e8d3; color: #7a5f2c; }

/* ── 遮罩与卡片 ───────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal[hidden] { display: none; }

.modal__mask {
  position: absolute;
  inset: 0;
  background: rgba(40, 34, 26, 0.44);
  backdrop-filter: blur(2px);
  animation: bz-fade 0.18s ease;
}

.modal__card {
  position: relative;
  width: min(432px, 100%);
  background: var(--card);
  border-radius: 20px;
  padding: 34px 34px 26px;
  box-shadow: 0 26px 70px rgba(40, 32, 20, 0.28);
  animation: bz-pop 0.24s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.modal__x {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: none;
  background: none;
  border-radius: 50%;
  color: var(--ink-3);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.modal__x:hover { background: #f4eee2; color: var(--ink); }

.modal__body .eyebrow { font-size: 11.5px; letter-spacing: 0.14em; color: var(--gold-soft); }
.modal h2 { font-family: var(--serif); font-size: 24px; margin: 10px 0 8px; letter-spacing: 0.01em; }
.modal__sub { margin: 0; font-size: 13px; line-height: 1.9; color: var(--ink-2); }

.pay-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pay-list li {
  position: relative;
  padding-left: 24px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-2);
}
.pay-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  font-size: 10.5px;
  border-radius: 50%;
  background: #e8eedf;
  color: #4a6152;
}

.pay-amounts { display: flex; gap: 10px; margin: 20px 0 0; }
.pay-amt {
  position: relative;
  flex: 1;
  padding: 12px 0 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink-2);
  transition: all 0.16s ease;
}
.pay-amt:hover { border-color: var(--gold-soft); }
.pay-amt.is-active {
  border-color: var(--gold);
  color: var(--gold);
  background: #fbf6ec;
}
.pay-amt i {
  display: block;
  font-style: normal;
  font-family: var(--sans);
  font-size: 10.5px;
  color: var(--ink-3);
  margin-top: 2px;
}
.modal__note { margin: 12px 0 0; font-size: 11.5px; color: var(--ink-3); line-height: 1.8; }

.pay-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  margin: 22px 0 0;
  font-family: var(--serif);
  color: var(--gold);
}
.pay-price span { font-size: 18px; }
.pay-price b { font-size: 40px; font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }
.pay-note { margin: 8px 0 18px; text-align: center; font-size: 12px; color: var(--ink-3); }

.modal .pay-btn { width: 100%; justify-content: center; margin-top: 18px; }
.modal .pay-price + .pay-note + .pay-btn { margin-top: 0; }
.pay-demo { margin: 12px 0 0; text-align: center; font-size: 11px; color: #bcb2a0; }

/* ── 轻提示 ───────────────────────────────── */
.toast {
  position: fixed;
  left: 50%;
  bottom: 36px;
  z-index: 70;
  transform: translateX(-50%) translateY(12px);
  background: rgba(44, 40, 34, 0.93);
  color: #fdf9f1;
  font-size: 13px;
  padding: 11px 20px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(40, 32, 20, 0.24);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

@keyframes bz-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bz-pop {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
