/* Hallmark · macrostructure: camera-walk story (one live 3D room, glass card per stop) then paper product panels · theme: custom, warm umber + lime from the logo */
@font-face { font-family: "Instrument Serif"; src: url(/assets/fonts/InstrumentSerif-normal-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(/assets/fonts/InstrumentSerif-italic-400.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url(/assets/fonts/Geist-var.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --lime: #c4f333;
  --ink: #0f0f10;
  --cream: #ede6d6;
  --base: #16110e;
  --paper: #f2ece0;
  --umber: #2a211b;
  --red: #ff6a4d;
  --lime-hi: #d3fb55;
  --umber-hi: #33281f;
  --umber-lo: #201a15;
  --gain: #3f6b00;
  --loss: #b3321b;
  --paper-line: #ddd5c6;
  --gain-hi: #5f9a00;
  --red-soft: #ffd9cf;
  --glass: rgba(22, 17, 14, 0.52);
  --line: rgba(237, 230, 214, 0.16);
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; background: var(--base); color: var(--cream); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 15px/1.55 var(--sans); background: var(--base); overflow-x: clip; }
body.is-gated { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

/* ---------- the scene ---------- */
.scene { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; display: block; z-index: 0; }
.scene-tint { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 90% at 30% 50%, rgba(22, 17, 14, 0) 40%, rgba(22, 17, 14, 0.55) 100%); }

/* ---------- gate ---------- */
.gate { position: fixed; inset: 0; z-index: 50; display: grid; place-content: center; justify-items: center; gap: 14px; background: rgba(22, 17, 14, 0.94); backdrop-filter: blur(10px); text-align: center; transition: opacity 1.1s var(--ease), visibility 1.1s; }
.gate.is-open { opacity: 0; visibility: hidden; }
.gate-mark { width: 56px; height: 56px; border-radius: 12px; animation: gate-breathe 2.4s ease-in-out infinite; }
@keyframes gate-breathe { 50% { transform: translateY(-4px); } }
.gate-count { font: 400 clamp(64px, 9vw, 120px)/1 var(--serif); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.gate-what { opacity: 0.6; font-size: 14px; min-height: 22px; }
.gate-go { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; justify-content: center; }
.gate-go .pill { opacity: 0; transform: translateY(8px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), background 0.2s; }
.gate.is-ready .gate-go .pill { opacity: 1; transform: none; }

/* ---------- pills ---------- */
.pill { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; padding: 13px 22px; font: 500 15px/1 var(--sans); cursor: pointer; text-decoration: none; white-space: nowrap; transition: background 0.2s, color 0.2s, transform 0.2s var(--ease); }
.pill:disabled { cursor: default; }
:where(.card, .deskui, .sheet, .share) .pill:disabled { opacity: 0.5; }
.pill:active:not(:disabled), .row .acts button:active:not(:disabled), .tab:active { transform: translateY(1px); }
.pill-sm { padding: 9px 15px; font-size: 13.5px; }
.pill-lime { background: var(--lime); color: var(--ink); }
.pill-lime:hover { background: var(--lime-hi); }
.pill-dark { background: rgba(15, 15, 16, 0.72); color: var(--cream); box-shadow: inset 0 0 0 1px var(--line); }
.pill-dark:hover { background: rgba(15, 15, 16, 0.92); }
.pill-cream { background: var(--cream); color: var(--ink); }
.pill-glass { background: rgba(237, 230, 214, 0.1); color: var(--cream); box-shadow: inset 0 0 0 1px var(--line); }
.pill-glass:hover { background: rgba(237, 230, 214, 0.18); }
.pill-arrow { padding-right: 6px; }
.pill-sm.pill-arrow { padding-right: 4px; }
.pill-arrow i { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); position: relative; transition: transform 0.2s var(--ease); flex: none; }
.pill-sm.pill-arrow i { width: 26px; height: 26px; }
.pill-glass.pill-arrow i, .pill-dark.pill-arrow i { background: var(--lime); }
.pill-arrow i::after { content: ""; position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border-top: 1.6px solid var(--lime); border-right: 1.6px solid var(--lime); transform: translateX(-1px) rotate(45deg); }
.pill-glass.pill-arrow i::after, .pill-dark.pill-arrow i::after { border-color: var(--ink); }
.pill-arrow:hover i { transform: translateX(3px); }

/* ---------- header ---------- */
.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; padding: 18px clamp(16px, 3vw, 36px); pointer-events: none; }
.bar > * { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 17px/1 var(--sans); letter-spacing: 0.02em; }
.brand img { border-radius: 7px; }
.bar-right { display: flex; align-items: center; gap: 8px; }
.ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(15, 15, 16, 0.6); box-shadow: inset 0 0 0 1px var(--line); color: var(--cream); transition: background 0.2s; }
.ico:hover { background: rgba(15, 15, 16, 0.9); }
.ca { border: 0; border-radius: 999px; padding: 9px 13px; background: rgba(15, 15, 16, 0.6); box-shadow: inset 0 0 0 1px var(--line); font: 500 12.5px/1 var(--sans); cursor: pointer; font-variant-numeric: tabular-nums; }
.ca.is-copied { color: var(--lime); }

/* ---------- story stops ---------- */
#story { position: relative; z-index: 5; }
.stop { position: relative; min-height: 165vh; padding: 0 clamp(16px, 4vw, 64px); }
.stop .card { position: sticky; top: calc(50vh - 190px); }
.stop-hero { min-height: 190vh; }
.stop-hero .card { top: calc(50vh - 230px); }
.card { width: min(460px, 100%); padding: 30px 30px 28px; border-radius: 20px; background: var(--glass); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -30px rgba(0, 0, 0, 0.5); }
.card-hero { width: min(560px, 100%); }
.card p { color: rgba(237, 230, 214, 0.78); font-size: 15px; }
.card .pill { margin-top: 22px; }
.head { font: 400 clamp(44px, 4.6vw, 68px)/0.98 var(--serif); letter-spacing: -0.012em; margin-bottom: 18px; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
.ln { display: block; }
.ln-lime { color: var(--lime); font-style: normal; }
.ln-red { color: var(--red); font-style: normal; }
.ln-wrap { display: block; overflow: hidden; padding-bottom: 0.06em; }
.beats { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.beats li { padding-left: 18px; position: relative; color: rgba(237, 230, 214, 0.82); }
.beats li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 2px; background: var(--lime); }
.hero-meta { margin-top: 18px !important; font-size: 13px !important; opacity: 0.7; }
.live-line { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px !important; color: var(--cream) !important; font-variant-numeric: tabular-nums; }
.live-line b { color: var(--lime); font-weight: 500; }
.live-line .dn { color: var(--red); }
.scroll-cue { position: absolute; left: 50%; bottom: calc(190vh - 100vh + 30px); transform: translateX(-50%); font-size: 13px; opacity: 0.7; animation: cue 2.6s ease-in-out infinite; }
@keyframes cue { 50% { transform: translate(-50%, 6px); opacity: 0.4; } }

/* crash wipe */
.stop-crash .wipe { position: sticky; top: 0; height: 100vh; margin-bottom: -100vh; pointer-events: none; background: radial-gradient(circle at 60% 55%, rgba(255, 106, 77, 0) 0, rgba(255, 106, 77, 0) var(--r, 0%), rgba(255, 106, 77, 0.55) calc(var(--r, 0%) + 1.5%), rgba(58, 20, 16, 0.5) calc(var(--r, 0%) + 6%), rgba(58, 20, 16, 0) calc(var(--r, 0%) + 18%)); opacity: 0; }
.stop-crash.is-live .wipe { opacity: 1; }

/* ---------- after the walk ---------- */
.after { position: relative; z-index: 6; background: var(--base); }
.rail-wrap { padding: clamp(80px, 12vh, 140px) 0 60px; overflow: hidden; }
.rail-head { padding: 0 clamp(16px, 4vw, 64px); max-width: 760px; }
.rail-head p { color: rgba(237, 230, 214, 0.72); max-width: 520px; }
.rail { display: flex; gap: 16px; padding: 44px clamp(16px, 4vw, 64px) 8px; will-change: transform; }
.ncard { flex: none; width: 300px; min-height: 360px; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; background: var(--umber); box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.6s var(--ease), background 0.4s; overflow: hidden; }
.ncard.is-open { transform: translateY(-10px); background: var(--umber-hi); }
.ncard h3 { font: 400 36px/1 var(--serif); margin-bottom: 8px; }
.ncard .nmove { font: 500 15px/1 var(--sans); font-variant-numeric: tabular-nums; }
.ncard .nmove.up { color: var(--lime); } .ncard .nmove.dn { color: var(--red); }
.ncard .nstat { margin-top: 6px; font-size: 13.5px; color: rgba(237, 230, 214, 0.68); }
.ncoins { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; padding-top: 18px; }
.ncoins a { color: inherit; text-decoration: none; transition: background .2s; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px 5px 5px; border-radius: 999px; background: rgba(15, 15, 16, 0.5); font-size: 12.5px; }
.ncoins a:hover { background: rgba(196, 243, 51, 0.18); }
.ncoins img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; background: var(--ink); }
.ncard-you { background: var(--lime); color: var(--ink); box-shadow: none; }
.ncard-you.is-open { background: var(--lime); }
.ncard-you p { margin-top: 8px; color: rgba(15, 15, 16, 0.75); }
.ncard-you .pill { margin-top: auto; align-self: flex-start; }
.rail-empty { padding: 24px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); color: rgba(237, 230, 214, 0.7); width: 360px; flex: none; }

.stack { padding: 40px clamp(12px, 2.4vw, 32px) 0; }
.panel { position: sticky; top: 84px; min-height: calc(100vh - 110px); margin-bottom: 28px; border-radius: 26px; background: var(--paper); color: var(--ink); padding: clamp(24px, 3.4vw, 48px); box-shadow: 0 -24px 60px -30px rgba(0, 0, 0, 0.6); }
.panel-ink { background: var(--umber-lo); color: var(--cream); box-shadow: inset 0 0 0 1px var(--line), 0 -24px 60px -30px rgba(0, 0, 0, 0.6); }
.panel-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 26px; flex-wrap: wrap; }
.phead { font: 400 clamp(40px, 4vw, 60px)/1 var(--serif); letter-spacing: -0.01em; }
.panel-note { max-width: 420px; font-size: 14px; opacity: 0.72; }
.table-wrap { overflow-x: auto; }
.desk-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 14.5px; }
.desk-table th { text-align: left; font-weight: 500; font-size: 13px; opacity: 0.6; padding: 0 12px 12px; border-bottom: 1px solid rgba(15, 15, 16, 0.14); }
.desk-table td { padding: 11px 12px; border-bottom: 1px solid rgba(15, 15, 16, 0.08); white-space: nowrap; }
.desk-table .num { text-align: right; }
.desk-table .up { color: var(--gain); } .desk-table .dn { color: var(--loss); }
.coin { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.coin img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; background: var(--paper-line); }
.coin b { font-weight: 600; }
.coin small { opacity: 0.55; font-size: 12.5px; }
.tag-theme { font-size: 12.5px; padding: 4px 9px; border-radius: 999px; background: rgba(15, 15, 16, 0.07); }
.board { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.board li { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: rgba(15, 15, 16, 0.05); }
.board .rk { font: 400 26px/1 var(--serif); opacity: 0.55; }
.board .nm { font-weight: 600; }
.board .sub { display: block; font-size: 12.5px; opacity: 0.6; font-weight: 400; }
.board .xp { text-align: right; font-variant-numeric: tabular-nums; font-weight: 500; }
.board .on { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gain-hi); margin-left: 6px; vertical-align: middle; }
.board .board-empty { display: block; padding: 28px; border-radius: 16px; background: rgba(15, 15, 16, 0.05); grid-column: 1 / -1; max-width: 560px; }
.share { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr); gap: 32px; align-items: center; }
.share canvas { width: 100%; height: auto; border-radius: 16px; display: block; box-shadow: inset 0 0 0 1px var(--line); }
.share-do { display: grid; gap: 10px; justify-items: start; }
.share-hint { font-size: 14px; opacity: 0.7; }

.sheet { display: grid; grid-template-columns: 1fr minmax(320px, 460px); gap: clamp(32px, 6vw, 96px); padding: clamp(100px, 14vh, 160px) clamp(16px, 4vw, 64px); align-items: start; }
.sheet-left { position: sticky; top: 120px; }
.sheet-left p { max-width: 460px; color: rgba(237, 230, 214, 0.75); }
.sheet-card { border-radius: 22px; background: var(--paper); color: var(--ink); padding: 28px; display: grid; gap: 18px; }
.sheet-row { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(15, 15, 16, 0.1); }
.sheet-k { opacity: 0.6; }
.sheet-v { font-weight: 500; text-align: right; }
.sheet-form label { display: block; font-size: 13px; opacity: 0.6; margin-bottom: 6px; }
.sheet-inline { display: flex; gap: 8px; }
.sheet-inline input { flex: 1; min-width: 0; border: 0; border-radius: 999px; padding: 10px 16px; font: 400 15px var(--sans); background: rgba(15, 15, 16, 0.07); color: var(--ink); }
.sheet-card .pill-lime { justify-self: start; }
.sheet-msg { font-size: 13.5px; min-height: 20px; }

.faq { padding: 40px clamp(16px, 4vw, 64px) 120px; display: grid; grid-template-columns: 1fr minmax(320px, 680px); gap: clamp(32px, 6vw, 96px); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 400 26px/1.2 var(--serif); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--lime), var(--lime)) center / 14px 1.6px no-repeat, linear-gradient(var(--lime), var(--lime)) center / 1.6px 14px no-repeat; transition: transform 0.3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 40px 22px 0; color: rgba(237, 230, 214, 0.75); max-width: 600px; }
.foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 30px clamp(16px, 4vw, 64px) 40px; border-top: 1px solid var(--line); font-size: 14px; }
.foot p { opacity: 0.6; flex: 1; }
.foot nav { display: flex; gap: 18px; }
.foot nav a { text-decoration: none; opacity: 0.8; } .foot nav a:hover { opacity: 1; color: var(--lime); }

/* ---------- play mode ---------- */
body.is-playing { overflow: hidden; }
body.is-playing #story, body.is-playing .after, body.is-playing .scene-tint { display: none; }
body.is-playing #clockBtn { display: none; }
.hud { position: fixed; inset: 0; z-index: 20; pointer-events: none; }
.hud > * { pointer-events: auto; }
.hud-top { position: absolute; top: 74px; left: clamp(12px, 3vw, 36px); right: clamp(12px, 3vw, 36px); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; pointer-events: none; }
.hud-top > * { pointer-events: auto; }
.hud-me, .hud-stats, .meters { background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line); border-radius: 16px; }
.hud-me { padding: 10px 16px; display: grid; }
.hud-me strong { font-weight: 600; }
.hud-me span { font-size: 12.5px; opacity: 0.7; }
.hud-stats { display: flex; margin: 0; padding: 8px 6px; }
.hud-stats div { padding: 2px 14px; border-left: 1px solid var(--line); }
.hud-stats div:first-child { border-left: 0; }
.hud-stats dt { font-size: 12px; opacity: 0.6; }
.hud-stats dd { margin: 0; font: 400 24px/1 var(--serif); font-variant-numeric: tabular-nums; }
.hud-top #clockOut { margin-left: auto; }
.meters { position: absolute; left: clamp(12px, 3vw, 36px); bottom: 28px; padding: 14px 16px; display: grid; gap: 10px; width: 240px; }
.meter span { font-size: 12.5px; opacity: 0.8; }
.meter b { display: block; height: 6px; border-radius: 6px; background: rgba(237, 230, 214, 0.15); margin-top: 5px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 100%; transform-origin: left center; transform: scaleX(0.5); background: var(--lime); border-radius: 6px; transition: transform 0.6s var(--ease), background 0.4s; }
.meter i.is-low { background: var(--red); }
.hud-prompt { position: absolute; left: 50%; bottom: 120px; transform: translateX(-50%); padding: 12px 18px; border-radius: 999px; background: rgba(15, 15, 16, 0.78); box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; white-space: nowrap; }
.hud-prompt kbd { display: inline-grid; place-items: center; min-width: 24px; height: 24px; margin-right: 8px; border-radius: 6px; background: var(--lime); color: var(--ink); font: 600 13px var(--sans); }
.hud-toast { position: absolute; left: 50%; top: 150px; transform: translate(-50%, -8px); padding: 12px 20px; border-radius: 14px; background: var(--paper); color: var(--ink); font-size: 14.5px; opacity: 0; transition: opacity 0.3s, transform 0.3s var(--ease); max-width: min(520px, 90vw); text-align: center; pointer-events: none; }
.hud-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.hud-keys { position: absolute; right: clamp(12px, 3vw, 36px); bottom: 28px; font-size: 12.5px; opacity: 0.65; max-width: 260px; text-align: right; }
.stick { display: none; position: absolute; left: 24px; bottom: 150px; width: 120px; height: 120px; border-radius: 50%; background: rgba(15, 15, 16, 0.4); box-shadow: inset 0 0 0 1px var(--line); touch-action: none; }
.stick i { position: absolute; left: 50%; top: 50%; width: 50px; height: 50px; margin: -25px 0 0 -25px; border-radius: 50%; background: rgba(237, 230, 214, 0.85); }
.use { position: absolute; right: 24px; bottom: 170px; width: 84px; height: 84px; border-radius: 50%; border: 0; background: var(--lime); color: var(--ink); font: 600 16px var(--sans); }
.crash-banner { position: absolute; left: 50%; top: 210px; transform: translateX(-50%); padding: 12px 20px; border-radius: 14px; background: rgba(58, 20, 16, 0.85); color: var(--red-soft); box-shadow: inset 0 0 0 1px rgba(255, 106, 77, 0.4); font-size: 14px; white-space: nowrap; }

.deskui { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 20px; background: rgba(15, 15, 16, 0.45); }
.deskui-in { width: min(940px, 100%); max-height: calc(100vh - 40px); overflow: auto; border-radius: 24px; background: var(--paper); color: var(--ink); padding: 26px; }
.deskui-top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.deskui-top .phead { font-size: 44px; }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(15, 15, 16, 0.07); }
.tab { border: 0; background: none; padding: 8px 14px; border-radius: 999px; cursor: pointer; font-size: 14px; }
.tab.is-on { background: var(--ink); color: var(--cream); }
.deskui-top .pill { margin-left: auto; }
.deskui-cash { margin: 14px 0 16px; font-size: 14px; opacity: 0.75; font-variant-numeric: tabular-nums; }
.rows { display: grid; gap: 8px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(15, 15, 16, 0.05); font-variant-numeric: tabular-nums; }
.row .acts { display: flex; gap: 6px; }
.row .acts button { border: 0; border-radius: 999px; padding: 8px 12px; background: var(--ink); color: var(--cream); cursor: pointer; font-size: 13px; }
.row .acts button.lime { background: var(--lime); color: var(--ink); }
.row .acts button:disabled { opacity: 0.35; cursor: default; }
.row .mv { font-size: 13.5px; }
.row .up { color: var(--gain); } .row .dn { color: var(--loss); }
.done { opacity: 0.55; }
.desk-empty { padding: 20px; border-radius: 14px; background: rgba(15, 15, 16, 0.05); }

@media (hover: none), (max-width: 760px) {
  .stick { display: block; }
  .hud-keys { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 14.5px; }
  .bar { padding: 12px 14px; }
  .brand span { display: none; }
  .bar-right { gap: 6px; }
  #soundBtn { display: none; }
  .stop { min-height: 150vh; padding: 0 12px; }
  .stop .card, .stop-hero .card { top: auto; bottom: 14px; position: sticky; margin-top: 70vh; }
  .stop-hero .card { margin-top: 44vh; }
  .card { padding: 22px 20px; border-radius: 18px; }
  .head { font-size: clamp(38px, 11vw, 48px); }
  .scroll-cue { display: none; }
  .ncard { width: 260px; min-height: 320px; }
  .panel { position: relative; top: 0; min-height: 0; }
  .share, .sheet, .faq { grid-template-columns: 1fr; }
  .sheet-left { position: static; }
  .hud-top { top: 62px; gap: 8px; }
  .hud-stats div { padding: 2px 9px; }
  .hud-stats dd { font-size: 20px; }
  .meters { width: auto; right: 120px; bottom: 18px; left: 12px; }
  .stick { left: 16px; bottom: 120px; }
  .use { right: 16px; bottom: 26px; }
  .hud-prompt { bottom: 236px; }
  .crash-banner { white-space: normal; width: 90vw; text-align: center; }
  .deskui-in { padding: 18px; }
  .row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}
