/* SOLANA SANTA · $SSANTA
   Aubergine void, Santa red, Solana violet, tinsel gold, snow. */

:root {
  --void: #0d0418;
  --plum: #170a2b;
  --grape: #26104a;
  --line: rgba(255, 246, 236, 0.16);
  --violet: #9945ff;
  --violet-deep: #5b21b6;
  --red: #ec1f3d;
  --red-deep: #8e0f26;
  --gold: #ffc83d;
  --gold-deep: #b9860a;
  --snow: #fff6ec;
  --muted: #cbbbe6;
  --ink: #0a0310;
  --danger: #ff8aa0;

  --display: "Bagel Fat One", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --body: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r: 16px;
  --shadow-sticker: 6px 6px 0 var(--violet-deep);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(900px 600px at 82% -8%, rgba(153, 69, 255, 0.38), transparent 60%),
    radial-gradient(700px 500px at -6% 38%, rgba(236, 31, 61, 0.16), transparent 60%),
    radial-gradient(800px 600px at 100% 92%, rgba(153, 69, 255, 0.22), transparent 60%),
    var(--void);
  background-attachment: fixed;
  color: var(--snow);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  min-height: 100dvh;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

#snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
main, .nav, .foot { position: relative; z-index: 1; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 99; font-weight: 700; }
.skip:focus { left: 8px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 40px); }
.gold { color: var(--gold); }
.ic { width: 1.15em; height: 1.15em; flex: none; }

/* ------------------------------------------------------------ nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(13, 4, 24, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 1.2rem; letter-spacing: 0.02em; }
.brand-mark { width: 28px; height: 22px; fill: var(--violet); filter: drop-shadow(0 0 8px rgba(153, 69, 255, 0.8)); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 600; color: var(--muted); transition: color 0.15s, background 0.15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--snow); background: rgba(255, 246, 236, 0.09); }
.nav-end { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  display: grid; place-items: center; width: 40px; height: 40px;
  background: transparent; border: 2px solid var(--line); border-radius: 50%; cursor: pointer; color: var(--muted);
  transition: border-color 0.15s, color 0.15s;
}
.icon-btn:hover { color: var(--snow); border-color: var(--snow); }
.icon-btn .ic-on { display: none; }
.icon-btn[aria-pressed="true"] { color: var(--gold); border-color: var(--gold); }
.icon-btn[aria-pressed="true"] .ic-on { display: block; }
.icon-btn[aria-pressed="true"] .ic-off { display: none; }

/* -------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border: 2px solid var(--ink); border-radius: 14px;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s;
  box-shadow: 0 4px 0 var(--ink);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn-lg { padding: 15px 26px; font-size: 1.08rem; }
.btn-sm { padding: 8px 16px; font-size: 0.95rem; border-radius: 12px; }
.btn-red { background: var(--red); color: var(--snow); box-shadow: 0 4px 0 var(--red-deep), 0 0 28px rgba(236, 31, 61, 0.45); }
.btn-red:active { box-shadow: 0 1px 0 var(--red-deep); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 4px 0 var(--gold-deep), 0 0 28px rgba(255, 200, 61, 0.35); }
.btn-gold:active { box-shadow: 0 1px 0 var(--gold-deep); }
.btn-ghost { background: rgba(255, 246, 236, 0.05); color: var(--snow); border-color: rgba(255, 246, 236, 0.4); box-shadow: none; }
.btn-ghost:hover { background: rgba(255, 246, 236, 0.12); border-color: var(--snow); }
.is-soon { opacity: 0.5; border-style: dashed; cursor: not-allowed; pointer-events: none; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

.pill { display: inline-block; padding: 3px 12px; border-radius: 999px; font-weight: 800; font-size: 0.85rem; letter-spacing: 0.04em; }
.pill-gold { background: var(--gold); color: var(--ink); }
.pill-red { background: var(--red); color: var(--snow); }

/* ----------------------------------------------------------- hero */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(52px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(16px, 4vw, 56px); align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.title { font-family: var(--display); font-weight: 400; line-height: 0.84; font-size: clamp(3.7rem, 11vw, 8.8rem); letter-spacing: 0.005em; }
.title span { display: block; }
.t1 { color: var(--snow); text-shadow: 5px 5px 0 var(--violet-deep); }
.t2 { color: var(--red); text-shadow: 5px 5px 0 var(--violet-deep), 0 0 50px rgba(236, 31, 61, 0.45); }
.hodl {
  display: inline-block; margin: 22px 0 10px; padding: 6px 18px 8px;
  background: var(--gold); color: var(--ink); font-family: var(--display); font-size: clamp(1.4rem, 3.2vw, 2rem);
  transform: rotate(-2.5deg); border-radius: 10px; box-shadow: 4px 4px 0 var(--red-deep);
}
.bio { font-size: clamp(1.1rem, 1.7vw, 1.3rem); max-width: 34ch; color: var(--snow); margin-bottom: 26px; }

.board {
  max-width: 520px; padding: 16px 18px 14px;
  background: linear-gradient(180deg, #1c0a36, #12061f); border: 2px solid rgba(255, 200, 61, 0.55); border-radius: var(--r);
  box-shadow: var(--shadow-sticker), inset 0 0 40px rgba(153, 69, 255, 0.12);
}
.board-label { font-weight: 800; font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.board-cells { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cell { position: relative; text-align: center; background: var(--ink); border-radius: 10px; padding: 10px 4px 6px; border: 1px solid var(--line); overflow: hidden; }
.cell::after { content: ""; position: absolute; left: 0; right: 0; top: 46%; height: 2px; background: rgba(0, 0, 0, 0.75); }
.cell b { display: block; font-family: var(--mono); font-weight: 700; font-size: clamp(1.7rem, 5vw, 2.5rem); line-height: 1.1; color: var(--gold); font-variant-numeric: tabular-nums; }
.cell span { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.board-date { margin-top: 12px; font-size: 0.92rem; color: var(--muted); }
.board-date strong { color: var(--snow); letter-spacing: 0.03em; }
.board-date [data-local-time] { display: block; }
.board-live { margin-top: 12px; font-family: var(--display); font-size: 1.5rem; color: var(--gold); }
.board-live[hidden] { display: none; }
.board.is-live .board-cells, .board.is-live .board-label { opacity: 0.35; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.hero-art { position: relative; display: grid; place-items: center; min-height: 300px; }
.glow { position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(153, 69, 255, 0.75), rgba(153, 69, 255, 0.18) 55%, transparent 70%); filter: blur(10px); }
.mascot { position: relative; width: min(100%, 540px); height: auto; aspect-ratio: 1; object-fit: cover; border: 4px solid var(--ink); border-radius: 28px; box-shadow: 10px 10px 0 var(--violet-deep), 0 0 80px rgba(153, 69, 255, 0.5); transform: rotate(2deg); animation: bob 5s ease-in-out infinite; }
.sticker { position: absolute; background: var(--snow); color: var(--ink); padding: 8px 14px; border-radius: 12px; font-weight: 700; font-size: 0.8rem; line-height: 1.15; text-align: center; text-transform: uppercase; letter-spacing: 0.08em; box-shadow: 4px 4px 0 var(--ink); border: 2px solid var(--ink); }
.sticker b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.3rem; letter-spacing: 0; color: var(--red); }
.s1 { top: 8%; left: 2%; transform: rotate(-8deg); }
.s2 { bottom: 12%; left: 0; transform: rotate(-6deg); background: var(--gold); }
.s2 b { color: var(--ink); }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(1.4deg); } 50% { transform: translateY(-10px) rotate(2.6deg); } }

/* --------------------------------------------------------- ticker */
.ticker {
  background: var(--red); border-block: 3px solid var(--ink); transform: rotate(-1.2deg);
  margin: 0 -20px; overflow: hidden; position: relative; z-index: 2; box-shadow: 0 8px 0 rgba(10, 3, 16, 0.4);
}
.ticker-track { display: flex; width: max-content; animation: tick 40s linear infinite; }
.ticker-set { display: flex; align-items: center; gap: 28px; padding: 12px 14px; white-space: nowrap; font-family: var(--display); font-size: 1.35rem; color: var(--snow); }
.ticker-set span:nth-of-type(odd) { color: var(--gold); }
.ticker-set i { width: 10px; height: 10px; background: var(--snow); transform: rotate(45deg); flex: none; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ------------------------------------------------------- sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt { background: linear-gradient(180deg, rgba(38, 16, 74, 0.55), rgba(13, 4, 24, 0.2)); border-top: 1px solid var(--line); }
.sec-head { margin-bottom: 30px; }
.kicker { font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.8rem; color: var(--gold); margin-bottom: 10px; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.02; }
.h1-sm { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1; }
h3 { font-family: var(--display); font-weight: 400; font-size: 1.35rem; }
.lead { margin-top: 12px; font-size: 1.15rem; color: var(--muted); max-width: 52ch; }
.lead strong { color: var(--snow); }
.hint { font-size: 0.9rem; color: var(--muted); margin-top: 12px; }
.warn { margin-top: 12px; color: var(--gold); font-weight: 700; }
.label { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.link { color: var(--gold); font-weight: 700; text-underline-offset: 3px; }

.panel { background: var(--plum); border: 2px solid var(--line); border-radius: var(--r); padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow-sticker); margin-bottom: 26px; }

.locked { display: flex; gap: 22px; align-items: center; }
.locked p { color: var(--muted); max-width: 54ch; margin-top: 6px; }
.locked p.warn { color: var(--gold); }
.locked-ic { flex: none; width: 76px; height: 76px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; box-shadow: 0 0 40px rgba(255, 200, 61, 0.35); }
.locked-ic svg { width: 38px; height: 38px; }

.ca-row { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.ca { flex: 1 1 320px; min-width: 0; font-family: var(--mono); font-weight: 700; font-size: clamp(0.82rem, 2vw, 1.05rem); word-break: break-all; background: var(--ink); border: 2px dashed var(--gold); border-radius: 12px; padding: 14px 16px; user-select: all; }
.chart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.chart-frame { border-radius: 12px; overflow: hidden; background: var(--ink); border: 2px solid var(--line); height: clamp(420px, 70vh, 640px); }
.chart-frame iframe { width: 100%; height: 100%; border: 0; }

.buy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.buy { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; text-decoration: none; background: var(--grape); border: 2px solid var(--line); border-radius: 14px; padding: 16px 18px; transition: transform 0.12s, border-color 0.15s, box-shadow 0.12s; }
.buy:hover { transform: translate(-2px, -2px); border-color: var(--gold); box-shadow: 4px 4px 0 var(--gold); }
.buy-name { font-family: var(--display); font-size: 1.3rem; grid-column: 1; }
.buy-note { color: var(--muted); font-size: 0.88rem; grid-column: 1; }
.buy .ic { grid-column: 2; grid-row: 1 / span 2; color: var(--gold); width: 1.4em; height: 1.4em; }

.win-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.win-copy h2 { margin-bottom: 18px; }
.win-copy p { color: var(--muted); max-width: 46ch; margin-bottom: 12px; }
.board-panel { margin-bottom: 0; }

/* ---------------------------------------------------- leaderboard */
.lb { display: grid; gap: 6px; }
.lb li { display: grid; grid-template-columns: 2.4rem 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; background: rgba(255, 246, 236, 0.05); }
.lb .rk { font-family: var(--display); font-size: 1.15rem; color: var(--muted); text-align: center; }
.lb .who { min-width: 0; }
.lb .who b { display: block; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb .who small { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.lb .pts { font-family: var(--mono); font-weight: 700; font-size: 1.05rem; color: var(--gold); font-variant-numeric: tabular-nums; }
.lb li:nth-child(1) { background: linear-gradient(90deg, rgba(255, 200, 61, 0.28), rgba(255, 200, 61, 0.08)); border: 1px solid rgba(255, 200, 61, 0.6); }
.lb li:nth-child(1) .rk { color: var(--gold); font-size: 1.5rem; }
.lb li.me { outline: 2px solid var(--violet); outline-offset: -2px; background: rgba(153, 69, 255, 0.2); }
.lb li.lb-empty { background: rgba(255, 246, 236, 0.05); border: 0; display: block; text-align: center; color: var(--muted); padding: 22px 12px; }
.lb-full li { padding: 13px 16px; }
.side { display: grid; gap: 22px; align-content: start; }
.side .panel { margin-bottom: 0; }
.side .board-panel .link { display: inline-block; margin-top: 14px; }
.mini h3 { margin-bottom: 8px; }
.mini p { color: var(--muted); font-size: 0.97rem; }

/* ------------------------------------------------------------ game */
.game-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; align-items: start; }
.game-card { min-width: 0; }
.hud { display: grid; grid-template-columns: 1.1fr 1.5fr 0.8fr 0.9fr; gap: 10px; margin-bottom: 12px; }
.hud-item { position: relative; background: var(--plum); border: 2px solid var(--line); border-radius: 12px; padding: 8px 12px 10px; overflow: hidden; }
.hud-item span { display: block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.hud-item b { font-family: var(--mono); font-weight: 700; font-size: 1.5rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
#hud-score { color: var(--gold); }
#hud-combo.hot { color: var(--red); }
.bar { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(255, 246, 236, 0.1); }
.bar u { display: block; height: 100%; width: 100%; background: var(--violet); transform-origin: left; text-decoration: none; transition: background 0.3s; }
.bar u.low { background: var(--red); }

.stage { position: relative; border-radius: var(--r); overflow: hidden; border: 3px solid var(--ink); box-shadow: var(--shadow-sticker); background: #1a0836; line-height: 0; touch-action: none; user-select: none; -webkit-user-select: none; }
.stage canvas { width: 100%; height: 100%; touch-action: none; cursor: none; }
.overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 18px; text-align: center; line-height: 1.5; background: rgba(13, 4, 24, 0.86); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.overlay[hidden] { display: none; }
.overlay h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.overlay img { width: clamp(90px, 22vw, 160px); height: auto; }
.overlay-clear { background: rgba(13, 4, 24, 0.35); backdrop-filter: none; -webkit-backdrop-filter: none; pointer-events: none; }
.overlay-clear b { font-family: var(--display); font-size: clamp(6rem, 24vw, 12rem); font-weight: 400; color: var(--gold); text-shadow: 6px 6px 0 var(--violet-deep); line-height: 1; }
.rules { display: grid; grid-template-columns: repeat(2, auto); gap: 6px 22px; text-align: left; font-weight: 600; }
.rules li { display: flex; align-items: center; gap: 8px; }
.rules b { color: var(--gold); font-family: var(--mono); }
.dot { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.d-red { background: var(--red); } .d-gold { background: var(--gold); } .d-coin { background: var(--violet); border-radius: 50%; } .d-coal { background: #3a3340; border: 2px solid #777; }
.controls { color: var(--muted); font-size: 0.92rem; }
kbd { font-family: var(--mono); font-size: 0.85em; background: var(--ink); border: 1px solid var(--line); border-bottom-width: 3px; border-radius: 6px; padding: 1px 7px; }
.stage-note { margin-top: 12px; font-size: 0.9rem; color: var(--muted); }

/* ----------------------------------------------------------- modal */
.modal { width: min(480px, calc(100% - 28px)); max-height: calc(100dvh - 28px); overflow: auto; padding: 28px clamp(20px, 4vw, 30px) 26px; background: #1b0a33; color: var(--snow); border: 2px solid rgba(255, 200, 61, 0.6); border-radius: 20px; box-shadow: 8px 8px 0 var(--violet-deep), 0 0 80px rgba(153, 69, 255, 0.4); }
.modal::backdrop { background: rgba(5, 0, 12, 0.82); backdrop-filter: blur(4px); }
.modal[open] { animation: pop 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes pop { from { transform: scale(0.92); opacity: 0; } }
.modal h2 { font-size: clamp(1.7rem, 5vw, 2.2rem); margin-bottom: 8px; }
.modal-x { position: absolute; top: 10px; right: 12px; margin: 0; }
.modal-x button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 246, 236, 0.08); color: var(--snow); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.modal-x button:hover { background: rgba(255, 246, 236, 0.18); }
.new-best { color: var(--gold); font-weight: 800; margin-bottom: 4px; }
.new-best[hidden], #modal-form-view[hidden], #modal-done-view[hidden] { display: none; }
#score-form { margin-top: 18px; display: grid; gap: 6px; }
label { font-weight: 700; margin-top: 8px; }
label em { font-style: normal; font-weight: 500; color: var(--muted); font-size: 0.88em; }
label em.req { color: var(--gold); }
input { width: 100%; background: var(--ink); border: 2px solid var(--line); border-radius: 12px; padding: 13px 14px; font-size: 1rem; }
input::placeholder { color: #8d7bb0; }
input:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-color: var(--gold); }
input[aria-invalid="true"] { border-color: var(--danger); }
#f-wallet { font-family: var(--mono); font-size: 0.92rem; }
.field-err { color: var(--danger); font-weight: 600; font-size: 0.92rem; }
.field-err[hidden] { display: none; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
#done-lb { margin-top: 16px; }

/* ---------------------------------------------------------- footer */
.foot { margin-top: 40px; background: #08020f; border-top: 3px solid var(--red); padding: 40px 0 34px; }
.foot-top { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.foot-brand { font-family: var(--display); font-size: 1.7rem; }
.foot-brand span { color: var(--gold); margin-left: 6px; }
.foot-line { color: var(--muted); margin-top: 6px; }
.foot-line strong { color: var(--snow); }
.foot-line.prize { display: flex; align-items: center; gap: 8px; color: var(--gold); }
.foot-line.prize strong { color: var(--gold); }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; }
.fine { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.82rem; color: #a592c4; max-width: 90ch; }

/* ------------------------------------------------------ responsive */
@media (max-width: 960px) {
  .hero-grid, .win-grid, .game-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; min-height: 0; }
  .mascot { width: min(78%, 400px); }
  .s1 { left: 6%; } .s2 { left: 4%; }
  .game-grid .side { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-end { margin-left: auto; }
  .nav-in { gap: 12px; }
  .brand { font-size: 1.05rem; }
  .locked { flex-direction: column; align-items: flex-start; }
  .game-grid .side { grid-template-columns: 1fr; }
  .hud { grid-template-columns: 1fr 1fr; }
  .hud-item b { font-size: 1.3rem; }
  .rules { grid-template-columns: 1fr; gap: 4px; }
  .overlay { gap: 8px; padding: 12px; }
  .overlay img { width: 80px; }
  .btn-lg { padding: 14px 20px; }
  .cta-row .btn { flex: 1 1 100%; }
  .modal-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mascot, .ticker-track { animation: none; }
  .modal[open] { animation: none; }
  .btn, .buy { transition: none; }
}
