/* ═══ 山野烤局 · 等位游戏大厅 ═══ */
:root {
  --bg: #150d09;
  --surface: #221510;
  --surface-2: #2d1c13;
  --line: #46301f;
  --ember: #ff5a2b;
  --flame: #ff8a3d;
  --amber: #ffb020;
  --gold: #ffd34d;
  --jade: #21c07a;
  --wechat: #07c160;
  --wolf: #7c6cff;
  --moon: #b9c6ff;
  --danger: #ff4d5e;
  --cream: #f6ead9;
  --muted: #b99f8b;
  --faint: #8a715e;
  --radius: 18px;
  --shadow: 0 14px 40px rgba(0, 0, 0, .45);
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html { height: 100%; }
body {
  min-height: 100%;
  font-family: var(--font);
  background: var(--bg);
  color: var(--cream);
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--ember) var(--surface);
}
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--flame), var(--ember)); border-radius: 8px; border: 2px solid var(--surface); }
::-webkit-scrollbar-thumb:hover { background: var(--amber); }
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }
a { color: var(--amber); }

/* ─── 背景层 ─── */
#embers { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.aurora {
  position: fixed; inset: -20%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(42% 34% at 18% 12%, rgba(255, 90, 43, .22), transparent 70%),
    radial-gradient(38% 30% at 85% 20%, rgba(255, 176, 32, .13), transparent 70%),
    radial-gradient(46% 40% at 70% 92%, rgba(124, 108, 255, .12), transparent 70%),
    radial-gradient(34% 30% at 10% 80%, rgba(33, 192, 122, .08), transparent 70%);
  animation: auroraDrift 26s ease-in-out infinite alternate;
}
@keyframes auroraDrift {
  from { transform: translate3d(-2%, -1%, 0) rotate(-1.5deg) scale(1); }
  to   { transform: translate3d(2%, 2%, 0) rotate(1.5deg) scale(1.06); }
}
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ─── 布局 ─── */
#app {
  position: relative; z-index: 2;
  max-width: 480px; margin: 0 auto;
  min-height: 100dvh;
  padding: 0 18px calc(24px + env(safe-area-inset-bottom));
}
.screen { display: none; }
.screen.active { display: block; animation: screenIn .45s cubic-bezier(.22, .9, .3, 1) both; }
@keyframes screenIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ─── 通用控件 ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 14px; font-size: 16px; font-weight: 700;
  padding: 14px 22px; color: #fff; transition: transform .15s, filter .15s, box-shadow .15s;
  user-select: none;
}
.btn:active { transform: scale(.96); filter: brightness(1.12); }
.btn svg { width: 20px; height: 20px; }
.btn-block { display: flex; width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, var(--flame), var(--ember) 60%, #e63a1f);
  box-shadow: 0 8px 24px rgba(255, 90, 43, .35), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-wechat {
  width: 100%;
  background: linear-gradient(135deg, #10d070, var(--wechat) 65%, #059a4c);
  box-shadow: 0 8px 24px rgba(7, 193, 96, .3), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-ghost { background: transparent; border: 1.5px solid var(--line); color: var(--muted); }
.btn-danger { background: transparent; border: 1.5px solid rgba(255, 77, 94, .5); color: var(--danger); }
.btn-mini {
  padding: 8px 14px; font-size: 13px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--amber);
}
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(34, 21, 16, .8); color: var(--amber); font-size: 17px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .15s, border-color .15s;
}
.icon-btn:active { transform: scale(.9); }
.icon-btn.off { color: var(--faint); border-color: #33241a; }

/* ─── 登录页 ─── */
.login-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 0 4px; }
.login-top-tag {
  font-size: 12px; letter-spacing: .12em; color: var(--amber);
  border: 1px solid rgba(255, 176, 32, .35); border-radius: 999px; padding: 6px 12px;
  background: rgba(255, 176, 32, .08);
}
.brand { text-align: center; padding: 26px 0 22px; }
.brand-title { margin: 0 0 12px; line-height: 0; }
.brand-logo { width: min(66vw, 292px); height: auto; filter: drop-shadow(0 8px 30px rgba(255, 90, 43, .38)); animation: flameBob 3.6s ease-in-out infinite; }
@keyframes flameBob { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-5px) scale(1.03); } }
.brand-slogan { color: var(--muted); font-size: 14px; letter-spacing: .3em; }

.qr-card {
  background: linear-gradient(165deg, #fbf4e6, #f1e4cd);
  border-radius: 22px; padding: 18px 18px 16px; color: #3a2a1c;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 210, 140, .25), 0 0 44px rgba(255, 138, 61, .12);
  animation: cardUp .6s .12s cubic-bezier(.22, .9, .3, 1) both;
}
@keyframes cardUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.qr-head { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; color: #0a7a43; }
.qr-head .wx-ico { width: 22px; height: 22px; }
.qr-head em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 700; color: #9a7b52; font-variant-numeric: tabular-nums; }
.qr-stage {
  position: relative; width: 232px; height: 232px; margin: 14px auto 10px;
  border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px #e4d5ba, 0 4px 14px rgba(90, 60, 20, .12);
}
#qrCanvas { width: 232px; height: 232px; display: block; image-rendering: pixelated; }
.qr-logo {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 10px; background: var(--wechat);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 4px #fff, 0 3px 10px rgba(0, 0, 0, .25);
}
.qr-logo svg { width: 28px; height: 28px; }
.qr-overlay {
  position: absolute; inset: 0; background: rgba(252, 247, 236, .96);
  display: flex; align-items: center; justify-content: center; text-align: center;
  animation: fadeIn .25s both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.qr-overlay-inner { padding: 16px; font-size: 14px; font-weight: 700; color: #5a4326; line-height: 1.7; }
.qr-overlay-inner .big { font-size: 34px; display: block; margin-bottom: 6px; }
.qr-overlay-inner button {
  margin-top: 10px; border: none; border-radius: 10px; padding: 9px 20px;
  background: var(--wechat); color: #fff; font-weight: 700; font-size: 14px;
}
.qr-status { text-align: center; font-size: 13px; color: #7a5f3d; display: flex; align-items: center; justify-content: center; gap: 7px; margin-bottom: 12px; }
.qr-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wechat); animation: blink 1.4s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(7, 193, 96, .5); } 50% { opacity: .5; box-shadow: 0 0 0 5px rgba(7, 193, 96, 0); } }
.qr-tip { text-align: center; font-size: 12px; color: #9a7b52; margin-top: 10px; }

.login-perks {
  list-style: none; display: flex; gap: 10px; margin: 20px 0 14px;
  animation: cardUp .6s .24s cubic-bezier(.22, .9, .3, 1) both;
}
.login-perks li {
  flex: 1; text-align: center; padding: 12px 6px; border-radius: 14px;
  background: rgba(45, 28, 19, .75); border: 1px solid var(--line);
}
.login-perks b { display: block; font-size: 14px; color: var(--gold); margin-bottom: 3px; }
.login-perks span { font-size: 11px; color: var(--muted); }
.terms { text-align: center; font-size: 11.5px; color: var(--faint); padding-bottom: 12px; }
.terms a { color: var(--muted); text-decoration: none; border-bottom: 1px dotted var(--faint); }

/* ─── 门店地址条 ─── */
.store-bar {
  display: flex; align-items: center; gap: 12px;
  margin: 4px 0 14px; padding: 12px 14px; border-radius: 14px;
  background: rgba(45, 28, 19, .78); border: 1px solid var(--line);
  animation: cardUp .6s .32s cubic-bezier(.22, .9, .3, 1) both;
}
.store-bar-lobby { margin: 22px 0 0; animation-delay: .42s; }
.store-location { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; min-height: 44px; text-decoration: none; border-radius: 6px; }
.store-location:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
.store-location:hover .store-map-label { text-decoration: underline; text-underline-offset: 3px; }
.store-pin { width: 30px; height: 30px; flex: none; color: var(--ember); filter: drop-shadow(0 3px 10px rgba(255, 90, 43, .45)); }
.store-meta { flex: 1; min-width: 0; }
.store-meta b { display: block; font-size: 13.5px; color: var(--gold); letter-spacing: .05em; margin-bottom: 2px; }
.store-meta span { display: block; font-size: 12px; color: var(--muted); line-height: 1.5; }
.store-meta .store-map-label { margin-top: 4px; color: var(--amber); font-size: 11px; }
.store-copy {
  flex: none; border: 1px solid rgba(255, 176, 32, .4); background: rgba(255, 176, 32, .1);
  color: var(--amber); border-radius: 10px; padding: 8px 12px; font-size: 12.5px; font-weight: 700;
  transition: transform .15s, background .15s;
}
.store-copy:active { transform: scale(.94); background: rgba(255, 176, 32, .2); }

/* ─── 确认页 ─── */
.confirm-wrap { max-width: 360px; margin: 0 auto; padding-top: 14dvh; text-align: center; }
.confirm-check { width: 84px; height: 84px; margin: 0 auto 18px; }
.confirm-check svg { width: 100%; height: 100%; }
.confirm-check circle { stroke: var(--wechat); stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .6s .1s ease-out forwards; }
.confirm-check path { stroke: var(--wechat); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .35s .55s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.confirm-wrap h2 { font-size: 26px; font-weight: 900; letter-spacing: .06em; }
.confirm-sub { color: var(--muted); font-size: 14px; margin: 8px 0 24px; }
.wx-profile {
  display: flex; align-items: center; gap: 14px; text-align: left;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 16px; margin-bottom: 26px;
}
.wx-avatar {
  width: 52px; height: 52px; border-radius: 14px; font-size: 28px;
  background: linear-gradient(145deg, #123524, #0c2418);
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(7, 193, 96, .4);
}
.wx-meta { flex: 1; min-width: 0; }
.wx-meta b { display: block; font-size: 16px; margin-bottom: 3px; }
.wx-meta span { font-size: 12px; color: var(--muted); }
.wx-badge { width: 26px; height: 26px; flex: none; }
.confirm-wrap .btn + .btn { margin-top: 12px; }

/* ─── 注册页 ─── */
.setup-wrap { max-width: 380px; margin: 0 auto; padding-top: 7dvh; text-align: center; }
.step-eyebrow { font-size: 12px; letter-spacing: .25em; color: var(--amber); margin-bottom: 8px; }
.setup-wrap h2 { font-size: 25px; font-weight: 900; margin-bottom: 22px; }
.setup-avatar {
  width: 92px; height: 92px; margin: 0 auto 18px; border-radius: 26px; font-size: 50px;
  background: radial-gradient(120% 120% at 30% 20%, var(--surface-2), var(--surface));
  border: 2px solid var(--ember); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 30px rgba(255, 90, 43, .3); transition: transform .2s;
}
.setup-avatar.pop { animation: pop .3s; }
@keyframes pop { 50% { transform: scale(1.15) rotate(-4deg); } }
.avatar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.avatar-grid button {
  aspect-ratio: 1; border-radius: 14px; font-size: 26px; border: 1.5px solid var(--line);
  background: var(--surface); transition: transform .15s, border-color .15s, background .15s;
}
.avatar-grid button:active { transform: scale(.9); }
.avatar-grid button.sel {
  border-color: var(--amber); background: rgba(255, 176, 32, .12);
  box-shadow: 0 0 14px rgba(255, 176, 32, .25);
}
.field { display: block; text-align: left; margin: 18px 0 22px; }
.field > span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.field-row { display: flex; gap: 8px; }
.field input {
  flex: 1; min-width: 0; background: var(--surface); border: 1.5px solid var(--line);
  border-radius: 12px; padding: 13px 14px; color: var(--cream); font-size: 16px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255, 176, 32, .15); }
.setup-note { font-size: 12px; color: var(--faint); margin-top: 14px; }

/* ─── 大厅 ─── */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 2px; margin: 0 -2px;
  background: linear-gradient(180deg, rgba(21, 13, 9, .94), rgba(21, 13, 9, .78));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(70, 48, 31, .6);
}
.topbar-brand { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 900; letter-spacing: .1em; }
.topbar-logo { height: 26px; width: auto; filter: drop-shadow(0 2px 8px rgba(255, 90, 43, .55)); }
.topbar-actions { display: flex; gap: 10px; align-items: center; }
.avatar-btn {
  width: 40px; height: 40px; border-radius: 12px; font-size: 21px;
  border: 1.5px solid var(--amber); background: var(--surface-2);
  box-shadow: 0 0 12px rgba(255, 176, 32, .25); transition: transform .15s;
}
.avatar-btn:active { transform: scale(.9); }

.hero { padding: 22px 2px 16px; }
.hero-greet { color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.hero-title { font-size: 29px; font-weight: 900; line-height: 1.35; letter-spacing: .02em; }
.hero-title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--gold), var(--flame) 60%, var(--ember));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.table-chip {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 14px;
  background: rgba(45, 28, 19, .8); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 16px; font-size: 13px; color: var(--muted);
}
.table-chip .table-no { color: var(--gold); font-weight: 800; }
.table-chip i { width: 4px; height: 4px; border-radius: 50%; background: var(--faint); }

.online-strip {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--muted); padding: 0 2px 16px;
}
.online-strip #onlineCount { color: var(--jade); font-weight: 800; font-variant-numeric: tabular-nums; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--jade); animation: blink 1.6s infinite; }
.online-strip em {
  flex-basis: 100%; font-style: normal; color: var(--faint); font-size: 12px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .4s;
}

.games { display: flex; flex-direction: column; gap: 16px; }
.game-card {
  position: relative; display: block; text-decoration: none; color: var(--cream);
  border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .18s cubic-bezier(.22, .9, .3, 1), box-shadow .18s;
  animation: cardUp .55s cubic-bezier(.22, .9, .3, 1) both;
}
.game-card:nth-child(1) { animation-delay: .08s; }
.game-card:nth-child(2) { animation-delay: .18s; }
.game-card:nth-child(3) { animation-delay: .28s; }
.game-card:active { transform: scale(.975); }
.gc-glow { position: absolute; inset: 0; pointer-events: none; opacity: .9; }
.gc-ddz { border-color: rgba(255, 90, 43, .45); }
.gc-ddz .gc-glow { background: radial-gradient(90% 130% at 100% 0%, rgba(255, 90, 43, .28), transparent 55%), radial-gradient(60% 80% at 0% 100%, rgba(255, 176, 32, .14), transparent 60%); }
.gc-mj { border-color: rgba(33, 192, 122, .45); }
.gc-mj .gc-glow { background: radial-gradient(90% 130% at 100% 0%, rgba(33, 192, 122, .24), transparent 55%), radial-gradient(60% 80% at 0% 100%, rgba(15, 138, 95, .16), transparent 60%); }
.gc-wolf { border-color: rgba(124, 108, 255, .5); }
.gc-wolf .gc-glow { background: radial-gradient(90% 130% at 100% 0%, rgba(124, 108, 255, .3), transparent 55%), radial-gradient(60% 80% at 0% 100%, rgba(185, 198, 255, .1), transparent 60%); }
.gc-body { position: relative; display: flex; gap: 6px; padding: 18px 16px 12px; }
.gc-text { flex: 1; min-width: 0; }
.gc-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em;
  padding: 4px 10px; border-radius: 999px; margin-bottom: 8px;
}
.gc-ddz .gc-tag { color: var(--gold); background: rgba(255, 176, 32, .14); border: 1px solid rgba(255, 176, 32, .4); }
.gc-mj .gc-tag { color: #6fe8b0; background: rgba(33, 192, 122, .12); border: 1px solid rgba(33, 192, 122, .4); }
.gc-wolf .gc-tag { color: var(--moon); background: rgba(124, 108, 255, .14); border: 1px solid rgba(124, 108, 255, .45); }
.gc-text h3 { font-size: 26px; font-weight: 900; letter-spacing: .1em; margin-bottom: 5px; }
.gc-ddz .gc-text h3 { color: #ffd9a8; }
.gc-mj .gc-text h3 { color: #b8f5d8; }
.gc-wolf .gc-text h3 { color: #d9d4ff; }
.gc-text p { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin-bottom: 10px; }
.gc-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 11.5px; color: var(--faint); }
.gc-hot { color: var(--amber); }
.gc-art { width: 108px; height: 108px; flex: none; align-self: center; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .4)); }
.gc-cta {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; font-size: 14px; font-weight: 800; letter-spacing: .1em;
  border-top: 1px solid rgba(255, 255, 255, .07);
}
.gc-cta svg { width: 20px; height: 20px; transition: transform .18s; }
.game-card:active .gc-cta svg { transform: translateX(4px); }
.gc-ddz .gc-cta { color: var(--flame); background: linear-gradient(90deg, rgba(255, 90, 43, .16), rgba(255, 176, 32, .08)); }
.gc-mj .gc-cta { color: #4fe0a0; background: linear-gradient(90deg, rgba(33, 192, 122, .16), rgba(33, 192, 122, .05)); }
.gc-wolf .gc-cta { color: #a99dff; background: linear-gradient(90deg, rgba(124, 108, 255, .2), rgba(124, 108, 255, .06)); }

.stats {
  margin-top: 22px; border-radius: var(--radius); padding: 16px;
  background: rgba(34, 21, 16, .8); border: 1px solid var(--line);
  animation: cardUp .55s .36s cubic-bezier(.22, .9, .3, 1) both;
}
.stats h4 { font-size: 13px; color: var(--muted); letter-spacing: .15em; margin-bottom: 12px; }
.stats-row { display: flex; }
.stats-row div { flex: 1; text-align: center; }
.stats-row div + div { border-left: 1px solid var(--line); }
.stats-row b { display: block; font-size: 24px; font-weight: 900; color: var(--gold); font-variant-numeric: tabular-nums; }
.stats-row span { font-size: 11.5px; color: var(--faint); }
.stats-note { margin-top: 12px; font-size: 12px; color: var(--amber); background: rgba(255, 176, 32, .08); border-radius: 10px; padding: 8px 10px; }
.lobby-foot { text-align: center; font-size: 11.5px; color: var(--faint); padding: 22px 0 8px; line-height: 2; }
.lobby-foot span { display: block; }

/* ─── 档案抽屉 ─── */
.sheet-scrim { position: fixed; inset: 0; z-index: 40; background: rgba(10, 5, 3, .6); backdrop-filter: blur(3px); animation: fadeIn .25s both; }
.sheet {
  position: fixed; left: 50%; bottom: 0; z-index: 41; width: 100%; max-width: 480px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border-radius: 24px 24px 0 0; border-top: 1px solid var(--line);
  padding: 10px 22px calc(26px + env(safe-area-inset-bottom));
  box-shadow: 0 -18px 50px rgba(0, 0, 0, .5);
  animation: sheetUp .32s cubic-bezier(.22, .9, .3, 1) both;
  max-height: 86dvh; overflow-y: auto;
}
@keyframes sheetUp { from { transform: translate(-50%, 100%); } to { transform: translate(-50%, 0); } }
.sheet-handle { width: 44px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 14px; }
.sheet h3 { text-align: center; font-size: 18px; font-weight: 900; letter-spacing: .1em; margin-bottom: 16px; }
.sheet-avatar {
  width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 22px; font-size: 40px;
  background: var(--surface-2); border: 2px solid var(--amber);
  display: flex; align-items: center; justify-content: center;
}
.sheet .btn + .btn { margin-top: 12px; }
.sheet-meta { text-align: center; font-size: 11.5px; color: var(--faint); margin-top: 14px; }

/* ─── Toast ─── */
.toast {
  position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 60;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: rgba(45, 28, 19, .96); border: 1px solid var(--amber); color: var(--cream);
  border-radius: 12px; padding: 11px 18px; font-size: 14px; max-width: 86vw; text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5); transition: transform .25s, opacity .25s;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ─── 响应式 ─── */
@media (min-width: 520px) {
  #app { padding-top: 8px; }
  body { background: radial-gradient(60% 50% at 50% 0%, #241410, var(--bg)); }
}
@media (max-width: 360px) {
  .gc-art { width: 88px; height: 88px; }
  .hero-title { font-size: 25px; }
  .brand-logo { width: min(72vw, 250px); }
  .qr-stage, #qrCanvas { width: 208px; height: 208px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}