/* ────────────────────────────────────────────────────────────────
   分屏样式，逐屏对应设计稿 01–09。
   ──────────────────────────────────────────────────────────────── */

/* ══ 01 入场 · 西天大雷音寺 ══════════════════════════════════════ */

.temple__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.temple__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.temple__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(4, 3, 3, 0.94) 0%,
    rgba(4, 3, 3, 0.32) 44%,
    rgba(4, 3, 3, 0.97) 100%
  );
}

.temple__hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 660px;
}

.temple__lede {
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-7);
  max-width: 520px;
}

.temple__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.temple__trust {
  font-size: 13px;
  color: var(--ink-11);
}

.temple__foot {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.roster-line {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--ink-6);
}

.link-gold {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.link-gold svg {
  width: 14px;
  height: 14px;
}

/* ══ 02 择师殿 ══════════════════════════════════════════════════ */

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.page-head__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quota-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 22px;
  border-radius: var(--r-3);
  background: var(--glass-1);
  border: 1px solid var(--line-3);
}

.quota-card__cell {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.quota-card__label {
  font-size: 12px;
  color: var(--ink-11);
}

.quota-card__value {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 500;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.quota-card__value--gold {
  color: var(--gold);
}

.tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tab {
  padding: 8px 20px;
  border-radius: var(--r-pill);
  font-size: 14px;
  background: var(--glass-5);
  border: 1px solid var(--line-3);
  color: var(--ink-7);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.tab:hover {
  color: var(--ink-4);
}

.tab--on {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--gold-ink);
  font-weight: 500;
}

.roster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.master {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-4);
  overflow: hidden;
  background: var(--glass-2);
  border: 1px solid var(--line-3);
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.master:hover {
  border-color: rgba(196, 154, 74, 0.45);
  transform: translateY(-2px);
}

.master__art {
  position: relative;
  height: 168px;
  flex: none;
  overflow: hidden;
  background: #14100c;
}

.master__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 0.6s ease;
}

.master:hover .master__art img {
  transform: scale(1.04);
}

.master__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 10, 9, 0.85), rgba(12, 10, 9, 0) 62%);
}

.master__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 20px 18px;
}

.master__name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink-2);
}

.master__role {
  font-size: 13px;
  line-height: 20px;
  color: var(--ink-10);
}

.master__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.master__price {
  font-size: 12px;
  color: var(--gold-deep);
}

.master--off {
  opacity: 0.55;
}

/* ══ 03 连线中 ══════════════════════════════════════════════════ */

.call__main {
  display: flex;
  gap: 28px;
  flex: 1;
  min-height: 0;
}

.call__stage {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 16px 0 12px;
}

.halo {
  position: relative;
  width: clamp(210px, 23vw, 320px);
  aspect-ratio: 1;
  flex: none;
}

.halo__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(232, 194, 104, 0.1);
}

.halo__ring--mid {
  inset: 9.4%;
  border-color: rgba(232, 194, 104, 0.18);
}

.halo__glow {
  position: absolute;
  inset: 13.75%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 194, 104, 0.4) 0%, rgba(232, 194, 104, 0) 72%);
  transition: opacity 0.3s ease;
}

.halo__portrait {
  position: absolute;
  inset: 18.75%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(232, 194, 104, 0.28);
}

.halo__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.halo--speaking .halo__glow {
  animation: halo-pulse 1.5s ease-in-out infinite;
}

@keyframes halo-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.11);
    opacity: 0.72;
  }
}

.call__name {
  font-family: var(--font-brush);
  font-size: clamp(30px, 3.4vw, 40px);
  color: var(--ink-2);
  text-align: center;
}

.call__status {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--ink-7);
  font-variant-numeric: tabular-nums;
}

.call__live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vermilion);
  animation: blink 1.4s ease-in-out infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.call__allowance {
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.call__allowance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-11);
}

.call__allowance-value {
  font-family: var(--font-mono);
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

/* 再上一炷香 —— 每轮上香模式下，这一轮答完后它就是唯一的下一步动作。
   老香客答完容易以为坏了，所以做得比别的按钮都显眼，还带一点呼吸感。 */
.incense {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.incense__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: var(--gold-ink);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(232, 194, 104, 0.5);
  animation: incense-breathe 2.4s ease-in-out infinite;
}

.incense__btn svg {
  width: 18px;
  height: 18px;
}

.incense__hint {
  font-size: 12px;
  color: var(--ink-8);
}

@keyframes incense-breathe {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(232, 194, 104, 0.42);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(232, 194, 104, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .incense__btn {
    animation: none;
  }
}

.controls {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
}

.control {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}

.control__btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--line-4);
  border: 1px solid transparent;
  color: var(--ink-4);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.control__btn svg {
  width: 24px;
  height: 24px;
}

.control__btn:hover {
  background: var(--line-6);
}

.control__btn--on {
  background: var(--gold);
  color: var(--gold-ink);
}

.control__btn--hangup {
  background: rgba(224, 120, 102, 0.15);
  border-color: rgba(224, 120, 102, 0.5);
  color: var(--vermilion);
}

.control__btn--hangup:hover {
  background: rgba(224, 120, 102, 0.24);
}

.control__label {
  font-size: 12px;
  color: var(--ink-10);
}

.control__label--danger {
  color: var(--vermilion);
}

.rail {
  width: 440px;
  flex: none;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-5);
  background: var(--glass-3);
  border: 1px solid var(--line-2);
  overflow: hidden;
  min-height: 0;
}

.rail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  flex: none;
}

.rail__title {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-3);
}

.rail__sub {
  font-size: 11px;
  color: var(--ink-11);
}

.rail__thread {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px 20px;
}

.rail__foot {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 20px 18px;
  background: var(--glass-2);
}

.line {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.line__bar {
  width: 2px;
  flex: none;
  border-radius: 2px;
  background: rgba(196, 154, 74, 0.4);
  align-self: stretch;
  min-height: 20px;
}

.line__text {
  font-family: var(--font-serif);
  font-size: 13px;
  line-height: 21px;
  color: #dad5ce;
}

.line--pending .line__text {
  color: var(--ink-11);
}

/* 跟声同步：思量占位 —— 正文还没落屏时，让静默有个说法 */
.line--thinking .line__text {
  color: var(--ink-11);
}

.think-dots {
  letter-spacing: 3px;
  animation: think-breathe 1.6s ease-in-out infinite;
}

.line__bar--pulse {
  background: var(--gold);
  animation: think-breathe 1.6s ease-in-out infinite;
}

/* 配音播放中：这一条是「正在说的话」，金条呼吸、文字提亮；读完自动褪回 */
.line--speaking .line__bar {
  background: var(--gold);
  animation: think-breathe 1.4s ease-in-out infinite;
}

.line--speaking .line__text {
  color: #f2ead9;
}

@keyframes think-breathe {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

.line--user {
  justify-content: flex-end;
}

.line--user .bubble {
  background: var(--glass-4);
  color: var(--ink-6);
}

.bubble {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: var(--r-2);
  font-size: 13px;
  line-height: 20px;
  color: var(--ink-5);
}

/* 声音的能量条 */
.level {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
}

.level span {
  width: 3px;
  border-radius: 2px;
  background: var(--gold);
  height: 3px;
  transition: height 0.12s ease;
  opacity: 0.85;
}

/* ══ 04 文字问答 ════════════════════════════════════════════════ */

.chat__main {
  display: flex;
  gap: 24px;
  flex: 1;
  min-height: 0;
}

.chat__panel {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-5);
  background: var(--glass-3);
  border: 1px solid var(--line-2);
  overflow: hidden;
}

.chat__thread {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 26px;
}

.chat__side {
  width: 360px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat__composer {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px 16px;
  background: var(--glass-1);
}

.chat__input {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px 11px 18px;
  border-radius: var(--r-2);
  background: var(--glass-2);
  border: 1px solid var(--line-3);
}

.chat__input textarea {
  flex: 1;
  min-height: 22px;
  max-height: 120px;
  resize: none;
  background: none;
  border: 0;
  outline: none;
  font-size: 14px;
  line-height: 22px;
  color: var(--ink-4);
}

.chat__input textarea::placeholder {
  color: var(--ink-13);
}

.qa-bubble {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.qa-bubble--me {
  justify-content: flex-end;
}

.qa-bubble__body {
  max-width: 78%;
  padding: 13px 17px;
  border-radius: var(--r-3);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.qa-bubble--master .qa-bubble__body {
  background: var(--glass-3);
}

.qa-bubble--me .qa-bubble__body {
  background: rgba(224, 120, 102, 0.1);
  border: 1px solid rgba(224, 120, 102, 0.22);
}

.qa-bubble__who {
  font-size: 11px;
  font-weight: 500;
  color: var(--gold-deep);
}

.qa-bubble__text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-4);
  white-space: pre-wrap;
  word-break: break-word;
}

.qa-bubble--master .qa-bubble__text {
  font-family: var(--font-serif);
  color: var(--ink-4);
}

.qa-bubble--me .qa-bubble__text {
  color: var(--ink-5);
}

.qa-bubble--error .qa-bubble__body {
  background: rgba(224, 120, 102, 0.1);
  border: 1px solid rgba(224, 120, 102, 0.3);
}

.qa-bubble--error .qa-bubble__text {
  color: var(--vermilion);
}

.qa-suggest {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qa-suggest button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 11px 14px;
  border-radius: var(--r-1);
  background: var(--glass-2);
  border: 1px solid transparent;
  font-size: 13px;
  color: var(--ink-8);
  cursor: pointer;
}

.qa-suggest button:hover {
  background: var(--glass-4);
  color: var(--ink-4);
}

.typing span {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--gold-deep);
  animation: typing 1.2s infinite;
}

.typing span:nth-child(2) {
  animation-delay: 0.16s;
}

.typing span:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes typing {
  0%,
  60%,
  100% {
    opacity: 0.25;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

/* ══ 05 香火与额度 ══════════════════════════════════════════════ */

.pricing__free {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.free-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--r-3);
  background: var(--glass-2);
  border: 1px solid var(--line-2);
}

.free-tile__icon {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold-veil-4);
  color: var(--gold);
}

.free-tile__icon svg {
  width: 22px;
  height: 22px;
}

.pricing__area {
  display: grid;
  grid-template-columns: 620fr 604fr;
  gap: 24px;
  align-items: stretch;
}

.pricing__side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pkg {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 24px;
  border-radius: var(--r-6);
  background: var(--glass-2);
  border: 1px solid var(--line-2);
  flex: 1;
}

.pkg--hero {
  gap: 16px;
  padding: 26px 28px;
  background: linear-gradient(135deg, rgba(196, 154, 74, 0.16) 0%, rgba(196, 154, 74, 0.03) 100%);
  border-color: rgba(196, 154, 74, 0.38);
}

.pkg__price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.pkg__price {
  font-family: var(--font-price);
  font-weight: 600;
  font-size: 44px;
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.pkg__price--plain {
  color: var(--ink-3);
}

.pkg__unit {
  font-size: 13px;
  color: var(--ink-11);
}

.benefits {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-8);
}

.benefit svg {
  width: 14px;
  height: 14px;
  flex: none;
  margin-top: 3px;
  color: var(--gold);
}

.rules {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  align-items: start;
}

.rule {
  padding: 0 22px;
}

.rule:first-child {
  padding-left: 0;
}

.rule:last-child {
  padding-right: 0;
}

.rule__title {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-7);
  margin-bottom: 6px;
}

.rule__body {
  font-size: 12px;
  line-height: 19px;
  color: var(--ink-12);
}

/* ══ 06 商家控制台 ══════════════════════════════════════════════ */

.admin__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 24px;
  align-items: start;
}

.admin__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 设置台的香火分档编辑器：一行 = 档名 / 分钟 / 价格 / 删。
   四列固定比例，输入框跟着列宽走 —— 三行并排看着才像价目表，而不是一堆散框。 */
/* 四格：档名 · 分钟 · 价格 · 有效天数，末尾一个删除按钮 */
.plan-edit {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.7fr) minmax(0, 0.7fr) minmax(0, 0.7fr) auto;
  gap: 8px;
  align-items: center;
}

.plan-edit .field__input {
  padding: 8px 10px;
  font-size: 13px;
}

@media (max-width: 760px) {
  .plan-edit {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 0.8fr) auto;
    gap: 6px;
  }
}

/* ══ 07 排队中 ══════════════════════════════════════════════════ */

.queue__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex: 1;
  padding-bottom: 48px;
  text-align: center;
}

.wheel {
  position: relative;
  width: clamp(200px, 21vw, 300px);
  aspect-ratio: 1;
  flex: none;
}

.wheel__rings {
  position: absolute;
  inset: 0;
}

.wheel__rings svg {
  width: 100%;
  height: 100%;
}

.wheel__arc {
  transform-origin: 50% 50%;
  animation: spin 3.4s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.wheel__glow {
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 194, 104, 0.32) 0%, rgba(232, 194, 104, 0) 70%);
}

.wheel__disc {
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #472f14 0%, #b8802f 100%);
  overflow: hidden;
}

.wheel__disc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.queue__slots {
  display: flex;
  align-items: center;
  gap: 11px;
}

.queue__slot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-deep);
}

.queue__slot--wait {
  background: rgba(196, 154, 74, 0.4);
}

.queue__slot--me {
  width: 15px;
  height: 15px;
  background: none;
  border: 1.6px solid var(--gold);
  display: grid;
  place-items: center;
}

.queue__slot--me::after {
  content: "";
  width: 5.6px;
  height: 5.6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ══ 08 连线中断 ════════════════════════════════════════════════ */

.fail__main {
  display: flex;
  gap: 30px;
  flex: 1;
  min-height: 0;
}

.fail__left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}

.fail__icon {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(224, 120, 102, 0.1);
  border: 1px solid rgba(224, 120, 102, 0.28);
  color: var(--vermilion);
  flex: none;
}

.fail__rail {
  width: 440px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.fail__quote {
  display: flex;
  gap: 11px;
  align-items: center;
}

.fail__quote-bar {
  width: 2px;
  border-radius: 2px;
  background: rgba(196, 154, 74, 0.4);
  align-self: stretch;
  min-height: 30px;
  flex: none;
}

.fail__quote-text {
  font-family: var(--font-serif);
  font-size: 13px;
  line-height: 21px;
  color: #dad5ce;
}

.fail__quote--pending .fail__quote-bar {
  background: rgba(255, 255, 255, 0.12);
}

.fail__quote--pending .fail__quote-text {
  color: var(--ink-11);
}

.diagnose {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: var(--r-2);
  background: var(--glass-2);
  font-size: 13px;
  color: var(--ink-8);
}

.diagnose svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--vermilion);
}

/* ══ 09 余额不足 ════════════════════════════════════════════════ */

.insufficient__body {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.topup {
  width: min(800px, 100%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px 34px;
  border-radius: var(--r-7);
  background: linear-gradient(135deg, rgba(196, 154, 74, 0.14) 0%, rgba(196, 154, 74, 0.03) 100%);
  border: 1px solid rgba(196, 154, 74, 0.32);
}

.countdown {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: var(--r-3);
  background: var(--vermilion-veil);
  border: 1px solid rgba(224, 120, 102, 0.35);
  color: var(--vermilion);
  font-family: var(--font-mono);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.countdown svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.stats {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  border-radius: var(--r-3);
  background: var(--glass-1);
}

.stats__cell {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.stats__label {
  font-size: 12px;
  color: var(--ink-11);
}

.stats__value {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.stats__value--vermilion {
  color: var(--vermilion);
}

.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.opt {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--r-3);
  background: var(--glass-2);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.opt:hover {
  background: var(--glass-4);
}

.opt--on {
  background: var(--gold-veil-3);
  border-color: rgba(232, 194, 104, 0.5);
}

.opt__radio {
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  display: grid;
  place-items: center;
}

.opt--on .opt__radio {
  border-color: var(--gold);
}

.opt--on .opt__radio::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.opt__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.opt__name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-3);
}

.opt__desc {
  font-size: 12px;
  color: var(--ink-11);
}

.opt__price {
  font-family: var(--font-price);
  font-weight: 600;
  font-size: 20px;
  color: var(--ink-3);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.opt--on .opt__price {
  color: var(--gold);
}

/* ── 响应式折叠 ───────────────────────────────────────────────── */

@media (max-width: 1180px) {
  .roster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .call__main,
  .chat__main,
  .fail__main {
    flex-direction: column;
  }

  .rail,
  .chat__side,
  .fail__rail {
    width: 100%;
  }

  .rail {
    min-height: 340px;
  }

  .pricing__area,
  .admin__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .roster {
    grid-template-columns: minmax(0, 1fr);
  }

  .pricing__free,
  .rules {
    grid-template-columns: minmax(0, 1fr);
  }

  .rule {
    padding: 16px 0 0;
    border-top: 1px solid var(--line-1);
  }

  .rule:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .topup {
    padding: 22px 18px;
    gap: 16px;
  }

  .stats {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .stats__cell {
    flex-direction: row;
    justify-content: space-between;
  }

  .quota-card {
    flex-wrap: wrap;
    gap: 14px;
  }

  .opt {
    flex-wrap: wrap;
  }

  .control__btn {
    width: 48px;
    height: 48px;
  }

  .controls {
    gap: 14px;
  }

  .fail__icon {
    width: 78px;
    height: 78px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
