/* GPT138 前台样式 —— 深色舞台 + 金色单一强调色 + 磨砂玻璃。只用系统字体，不引用外部字体 / 图标库。 */

:root {
  --bg: #08080a;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f5f5f7;
  --sub: #a1a1a6;
  --faint: #6e6e73;
  --gold: #f4bd5c;
  --gold-2: #ffd88a;
  --gold-grad: linear-gradient(180deg, #fff2cc 0%, #ffd37c 45%, #eba13b 100%);
  --gold-ink: #1b1306;
  --ok: #3ddc84;
  --warn: #ffb340;
  --bad: #ff6b5e;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'PingFang SC', 'HarmonyOS Sans SC', 'MiSans', 'Microsoft YaHei UI',
    'Microsoft YaHei', 'Segoe UI', system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body.site {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}

/* 舞台灯光 + 胶片颗粒（固定在背景，不随滚动） */
body.site::before,
body.site::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
body.site::before {
  background:
    radial-gradient(70% 45% at 50% -8%, rgba(255, 190, 90, 0.17), transparent 70%),
    radial-gradient(45% 35% at 105% 35%, rgba(120, 140, 255, 0.07), transparent 70%),
    radial-gradient(120% 90% at 50% 40%, transparent 60%, rgba(0, 0, 0, 0.55) 100%);
}
body.site::after {
  opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

::selection {
  background: rgba(244, 189, 92, 0.35);
  color: #fff;
}

a {
  color: var(--gold-2);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

[hidden] {
  display: none !important;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 100;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
}
.skip:focus {
  left: 16px;
}

/* ---------------------------------------------------------------- 顶栏 / 页脚 */

.bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 8, 10, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.bar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}
.logo-mark {
  display: block;
  width: 30px;
  height: 30px;
}
.wordmark {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.wordmark b {
  font-weight: 800;
  background-image: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bar-nav {
  display: flex;
  gap: 4px;
}
.bar-nav a {
  color: var(--sub);
  text-decoration: none;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.2s, background-color 0.2s;
}
.bar-nav a:hover {
  color: var(--text);
  background: var(--panel-2);
}

.foot {
  margin-top: 96px;
  border-top: 1px solid var(--line);
  padding: 36px 0 calc(40px + env(safe-area-inset-bottom));
}
.foot-in {
  display: grid;
  gap: 14px;
}
.foot-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
}
.foot-brand span {
  color: var(--faint);
  font-size: 13px;
}
.foot-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  color: var(--sub);
  font-size: 13px;
}
.foot-legal {
  color: var(--faint);
  font-size: 12px;
}

/* ---------------------------------------------------------------- 文字 */

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
}
.h-xl,
.h-lg,
.h-md,
.h-sm {
  margin: 0;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.h-xl {
  font-size: clamp(28px, 4.6vw, 42px);
}
.h-lg {
  font-size: clamp(24px, 3.4vw, 34px);
}
.h-md {
  font-size: 22px;
}
.h-sm {
  font-size: 17px;
  letter-spacing: -0.01em;
}
.muted {
  color: var(--sub);
}
.small {
  font-size: 13px;
}
.center {
  text-align: center;
}
.mono {
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

/* ---------------------------------------------------------------- 按钮 / 标签 */

.btn,
.copy-qq {
  font: inherit;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.btn:active {
  transform: scale(0.98);
}
.btn-primary {
  background: #f5f5f7;
  color: #0a0a0c;
  box-shadow: 0 12px 34px rgba(255, 255, 255, 0.07);
}
.btn-primary:hover {
  background: #fff;
  box-shadow: 0 14px 40px rgba(255, 214, 140, 0.16);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-2);
  color: var(--text);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}
.btn-gold {
  background-image: var(--gold-grad);
  color: var(--gold-ink);
  box-shadow: 0 12px 34px rgba(244, 189, 92, 0.22);
}
.btn-sm {
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
}
.btn-block {
  width: 100%;
}
.btn.is-disabled,
.btn:disabled {
  opacity: 0.45;
  pointer-events: none;
}

.foot-qq {
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text);
  padding: 5px 12px;
  font-size: 13px;
  cursor: pointer;
}
.foot-qq:hover {
  border-color: var(--gold);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--sub);
  font-size: 13px;
}
.pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--faint);
}
.pill-on i {
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.15);
}

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid var(--line-2);
}
.tag-ok {
  color: var(--ok);
  border-color: rgba(61, 220, 132, 0.35);
  background: rgba(61, 220, 132, 0.08);
}
.tag-warn {
  color: var(--warn);
  border-color: rgba(255, 179, 64, 0.4);
  background: rgba(255, 179, 64, 0.08);
}
.tag-bad {
  color: var(--bad);
  border-color: rgba(255, 107, 94, 0.4);
  background: rgba(255, 107, 94, 0.08);
}

/* ---------------------------------------------------------------- 面板 / 提示 */

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
}
:where(.panel) h3 {
  margin: 0 0 8px;
  font-size: 17px;
  letter-spacing: -0.01em;
}
:where(.panel) p {
  margin: 0;
  color: var(--sub);
  font-size: 15px;
}
.panel-warn {
  border-color: rgba(244, 189, 92, 0.4);
  background: rgba(244, 189, 92, 0.05);
}
.panel-warn b {
  color: var(--gold-2);
}

.alert,
.go-notice {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: var(--panel-2);
  font-size: 14px;
  color: var(--sub);
  text-align: left;
}
.alert b {
  color: var(--text);
}
.alert-bad,
.go-notice-error {
  border-color: rgba(255, 107, 94, 0.45);
  background: rgba(255, 107, 94, 0.08);
  color: #ffc2bb;
}
.alert-gold,
.go-notice-warn {
  border-color: rgba(244, 189, 92, 0.45);
  background: rgba(244, 189, 92, 0.07);
}
.alert-gold b {
  color: var(--gold-2);
}
.alert-ok,
.go-notice-ok {
  border-color: rgba(61, 220, 132, 0.4);
  background: rgba(61, 220, 132, 0.07);
  color: #b8f5d2;
}

/* ---------------------------------------------------------------- 首页 */

.home .hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  padding: 64px 0 40px;
}
.hero-title {
  margin: 14px 0 18px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.hero-title em {
  font-style: normal;
  background-image: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin: 0;
  max-width: 34em;
  color: var(--sub);
  font-size: 17px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 18px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.hero-visual {
  display: flex;
  justify-content: center;
}

/* 会员卡 */
.member {
  position: relative;
  width: min(380px, 100%);
  aspect-ratio: 1.586;
  padding: 24px 26px;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(255, 214, 140, 0.22), transparent 55%),
    linear-gradient(145deg, #201c15 0%, #0f0e0c 55%, #1b1813 100%);
  border: 1px solid rgba(255, 215, 140, 0.3);
  box-shadow: 0 50px 110px rgba(0, 0, 0, 0.65), 0 0 80px rgba(244, 189, 92, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transform: perspective(1200px) rotateY(-14deg) rotateX(7deg);
  animation: float 7s ease-in-out infinite;
}
.member-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.member-brand {
  color: rgba(255, 236, 200, 0.78);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
}
.member-chip {
  width: 42px;
  height: 31px;
  border-radius: 7px;
  background-image: linear-gradient(135deg, #fff0c4, #d79a3a);
  opacity: 0.85;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}
.member-plus {
  margin-top: 22px;
  font-size: 64px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
  background-image: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.member-plus sup {
  font-size: 0.45em;
  vertical-align: 0.9em;
  margin-left: 2px;
}
.member-bottom {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 22px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.member-bottom span {
  color: rgba(255, 236, 200, 0.62);
  font-size: 13px;
  letter-spacing: 0.08em;
}
.member-bottom b {
  color: var(--gold-2);
  font-size: 20px;
}
.member-sheen {
  position: absolute;
  inset: -40%;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.13) 50%, transparent 58%);
  animation: sheen 6.5s ease-in-out infinite;
  pointer-events: none;
}
.member-sm {
  width: min(340px, 100%);
  transform: none;
  animation: none;
  margin-bottom: 26px;
}
@keyframes sheen {
  0% {
    transform: translateX(-55%);
  }
  55%,
  100% {
    transform: translateX(55%);
  }
}
@keyframes float {
  0%,
  100% {
    transform: perspective(1200px) rotateY(-14deg) rotateX(7deg) translateY(0);
  }
  50% {
    transform: perspective(1200px) rotateY(-10deg) rotateX(5deg) translateY(-8px);
  }
}

.recent {
  margin-top: 28px;
}
.recent .h-sm {
  margin-bottom: 12px;
}
.go-recent-list {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}
.go-recent-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--panel-2);
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
}
.go-recent-item small {
  color: var(--faint);
}
.go-recent-item b {
  color: var(--gold-2);
}
.go-recent-item:hover {
  background: rgba(255, 255, 255, 0.09);
}

.section {
  padding-top: 72px;
}
.section .h-lg {
  margin: 8px 0 26px;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.steps li {
  padding: 26px;
  border-radius: var(--r-lg);
  background: var(--panel);
  border: 1px solid var(--line);
}
.step-no {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.steps h3 {
  margin: 14px 0 8px;
  font-size: 18px;
}
.steps p {
  margin: 0;
  color: var(--sub);
  font-size: 15px;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tile {
  padding: 26px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
}
.tile h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.tile p {
  margin: 0;
  color: var(--sub);
  font-size: 15px;
}
.others {
  display: grid;
  gap: 10px;
}
.other {
  display: flex;
  justify-content: space-between;
  color: var(--text);
  text-decoration: none;
}
.other b {
  color: var(--gold-2);
}

.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 2px;
  font-size: 17px;
  font-weight: 600;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  color: var(--gold);
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.25s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq p {
  margin: 0 0 20px;
  max-width: 46em;
  color: var(--sub);
}

.trust {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.trust b {
  color: var(--text);
}

/* ---------------------------------------------------------------- 购买页 */

.back {
  display: inline-block;
  margin: 28px 0 8px;
  color: var(--sub);
  text-decoration: none;
  font-size: 14px;
}
.back:hover {
  color: var(--text);
}
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
  padding-top: 16px;
}
.summary .h-xl {
  margin: 10px 0 12px;
}
.summary > .muted {
  margin: 0 0 10px;
}
.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 24px 0 0;
}
.facts div {
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.facts dt {
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.08em;
}
.facts dd {
  margin: 2px 0 0;
  font-size: 15px;
}
.order-card {
  position: sticky;
  top: 88px;
  padding: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.price {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background-image: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price small {
  font-size: 22px;
  margin-right: 2px;
}
.stock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 20px;
}
.form {
  display: grid;
  gap: 16px;
}
.field {
  display: block;
}
.field > span {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}
.field > span em {
  font-style: normal;
  font-weight: 400;
  color: var(--faint);
  font-size: 12px;
  margin-left: 4px;
}
.field input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-2);
  color: var(--text);
  font: 16px var(--font);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder {
  color: var(--faint);
}
.field input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(244, 189, 92, 0.15);
}
.field small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--sub);
  cursor: pointer;
}
.check input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
}
.turnstile {
  min-height: 65px;
}
.unavailable {
  display: grid;
  gap: 14px;
  justify-items: start;
}
.unavailable p {
  margin: 0;
  color: var(--sub);
}

.terms {
  margin-top: 80px;
}
.terms .h-lg {
  margin: 8px 0 24px;
}
.terms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.terms-redeem {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

/* ---------------------------------------------------------------- 订单页 */

.order #order,
.query > *,
.message .message-card {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.order-head,
.page-head {
  text-align: center;
  padding: 44px 0 26px;
}
.order-head .h-xl,
.page-head .h-xl {
  margin: 12px 0 10px;
}
.order-head p,
.page-head p {
  margin: 0 auto;
  max-width: 30em;
}
.status {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--line-2);
  color: var(--sub);
}
.status-pending {
  color: var(--gold-2);
  border-color: rgba(244, 189, 92, 0.45);
  background: rgba(244, 189, 92, 0.08);
}
.status-claimed {
  color: #b9c6ff;
  border-color: rgba(140, 160, 255, 0.4);
  background: rgba(140, 160, 255, 0.08);
}
.status-delivered {
  color: var(--ok);
  border-color: rgba(61, 220, 132, 0.4);
  background: rgba(61, 220, 132, 0.08);
}

.receipt {
  margin: 0;
  padding: 6px 22px;
}
.receipt div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.receipt div:last-child {
  border-bottom: 0;
}
.receipt dt {
  color: var(--sub);
  font-size: 14px;
  flex: none;
}
.receipt dd {
  margin: 0;
  font-size: 15px;
  text-align: right;
  word-break: break-all;
}
.receipt-amount {
  color: var(--gold-2);
  font-weight: 700;
}

.pay {
  margin-top: 16px;
  padding: 34px 24px 28px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}
.pay > form {
  margin-top: 14px;
}
.pay-label {
  margin: 0;
  color: var(--sub);
  font-size: 13px;
  letter-spacing: 0.14em;
}
.pay-amount {
  color: var(--text);
  margin: 10px 0 8px;
  font-size: clamp(56px, 13vw, 84px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.pay-amount small {
  font-size: 0.4em;
  color: var(--sub);
  margin-right: 4px;
}
.pay-amount mark,
.pay-steps mark {
  background: none;
  background-image: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pay-timer {
  margin: 0;
  color: var(--sub);
  font-size: 14px;
}
.pay-timer b {
  font-family: var(--mono);
  color: var(--text);
}
.pay-only {
  display: inline-block;
  margin: 16px 0 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 107, 94, 0.1);
  border: 1px solid rgba(255, 107, 94, 0.35);
  color: #ffbcb4;
  font-size: 14px;
}
.pay-only b {
  color: #fff;
}
.pay-only s {
  color: var(--faint);
}

.qr {
  position: relative;
  width: 252px;
  height: 252px;
  margin: 24px auto 10px;
  padding: 6px;
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(244, 189, 92, 0.6), 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 70px rgba(244, 189, 92, 0.16);
}
.qr-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.qr-img {
  display: block;
  width: 240px;
  height: 240px;
  border-radius: 18px;
}
.qr-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 18px;
  background: radial-gradient(90% 70% at 50% 0%, rgba(244, 189, 92, 0.18), transparent 70%), #111114;
  color: var(--text);
  cursor: pointer;
}
.qr-toggle:checked ~ .qr-cover {
  display: none;
}
.qr-toggle:focus-visible ~ .qr-cover {
  outline: 2px solid var(--gold);
  outline-offset: -4px;
}
.qr-cover-amount {
  color: var(--sub);
  font-size: 15px;
}
.qr-cover-amount b {
  color: var(--gold-2);
  font-size: 22px;
}
.qr-cover-tip {
  color: var(--faint);
  font-size: 12px;
}

.pay-steps {
  max-width: 420px;
  margin: 20px auto 18px;
  padding-left: 22px;
  text-align: left;
  color: var(--sub);
  font-size: 15px;
}
.pay-steps li {
  margin: 8px 0;
}
.pay-steps b {
  color: var(--text);
}

/* 电脑上显示「扫码」步骤；手机 / 平板显示「保存图片再扫」步骤 */
@media (hover: none) and (pointer: coarse) {
  .only-pointer {
    display: none !important;
  }
}
@media (hover: hover), (pointer: fine) {
  .only-touch {
    display: none !important;
  }
}

.wait {
  margin-top: 16px;
  text-align: center;
  padding: 36px 24px;
  display: grid;
  gap: 10px;
  justify-items: center;
}
.wait .muted {
  margin: 0;
  max-width: 30em;
}
.spinner {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid var(--line-2);
  border-top-color: var(--gold);
  animation: spin 1s linear infinite;
  margin-bottom: 6px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  text-align: left;
}
.help p {
  margin: 0;
  flex: 1 1 260px;
  color: var(--sub);
  font-size: 14px;
}
.order .panel > .btn-primary {
  margin-top: 16px;
}

.delivered {
  margin-top: 16px;
  display: grid;
  gap: 14px;
}
.delivered > p {
  margin: 0;
}
.cards {
  display: grid;
  gap: 10px;
}
.card-content-no-password {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.card-display {
  flex: 1;
  min-width: 0;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(244, 189, 92, 0.55);
  color: var(--gold-2);
  font: 17px/1.5 var(--mono);
  word-break: break-all;
  -webkit-user-select: all;
  user-select: all;
}
.copy-card-content {
  flex: none;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  background: #f5f5f7;
  color: #0a0a0c;
  font: 650 15px var(--font);
  cursor: pointer;
}
/* 一张 Plus 卡密：卡密 + 复制，下面是「去兑换」 */
.plus-card {
  display: grid;
  gap: 10px;
}
.plus-card + .plus-card {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
/* 兑换方法 */
.redeem {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(244, 189, 92, 0.07);
  border: 1px solid rgba(244, 189, 92, 0.25);
}
.redeem .h-sm,
.redeem p {
  margin: 0;
}
.redeem-steps {
  margin: 0;
  padding-left: 22px;
  color: var(--sub);
  font-size: 15px;
  line-height: 1.65;
}
.redeem-steps li + li {
  margin-top: 6px;
}
.redeem-steps b,
.redeem p b {
  color: var(--text);
}
.go-renew {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.go-renew-text {
  display: grid;
  gap: 2px;
}
.go-renew-text b {
  font-size: 14px;
}
.go-renew-text span {
  font-size: 13px;
  color: var(--sub);
}
.go-renew-btn {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
  font: 600 13px var(--font);
  cursor: pointer;
}
.go-renew-btn.is-off {
  background: #f5f5f7;
  color: #0a0a0c;
  border-color: transparent;
}

.keep {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 26px;
  text-align: center;
  color: var(--sub);
  font-size: 14px;
}
.keep p {
  margin: 0;
  max-width: 32em;
}
.keep b {
  color: var(--text);
}

/* ---------------------------------------------------------------- 查询 / 提示页 */

.query-form {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}
.query > .alert {
  margin-bottom: 16px;
}
.query > .panel:last-child {
  margin-top: 16px;
}
.query .h-sm {
  margin-bottom: 10px;
}
.list {
  margin: 0 0 16px;
  padding-left: 20px;
  color: var(--sub);
  font-size: 15px;
}
.list li {
  margin: 6px 0;
}
.message-card {
  margin-top: 72px !important;
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
  padding: 40px 28px;
}
.message-card p {
  margin: 0;
}

/* ---------------------------------------------------------------- 提示气泡（app.js 生成） */

.go-toast {
  position: fixed;
  left: 50%;
  bottom: calc(28px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 1000;
  max-width: calc(100vw - 32px);
  padding: 12px 20px;
  border-radius: 999px;
  background: #f5f5f7;
  color: #0a0a0c;
  font: 600 14px var(--font);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

/* ---------------------------------------------------------------- 窄屏 */

@media (max-width: 880px) {
  .home .hero {
    grid-template-columns: 1fr;
    padding-top: 36px;
    gap: 36px;
  }
  .hero-visual {
    justify-content: flex-start;
  }
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .order-card {
    position: static;
  }
  .steps,
  .tiles,
  .terms-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .wrap {
    padding: 0 18px;
  }
  .bar-nav a {
    padding: 8px 10px;
  }
  .hero-actions .btn {
    flex: 1 1 0;
  }
  .section {
    padding-top: 56px;
  }
  .card-content-no-password {
    flex-direction: column;
  }
  .copy-card-content {
    height: 46px;
  }
  .panel {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .member,
  .member-sheen,
  .spinner {
    animation: none;
  }
}
