/* ═══════════════════════════════════════════════════════════════════
   SCHMECKLES.IO — the cartoon is the interface.

   One world, four rooms:
     • the dark machine room (hero, tracker, leaderboard, chart)
     • the green poster field (the story, mental health)
     • the crimson poster field (how the burn works)
     • the purple poster field (the NFT universe)
   Everything structural wears the artwork's 3px ink outline. Poster
   rooms use the art's own flat backgrounds and hard ink shadows; the
   machine room uses soft depth because it is lit by the counters.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --ink: #000;
  --gold: #ffd400;
  --gold-hi: #ffe873;
  --gold-lo: #f5a800;
  --gold-pale: #fff6c2;

  --bg: #0b0d12;
  --bg-2: #10131b;
  --panel: #151a26;
  --panel-2: #1b2130;
  --line: #262d3f;

  --text: #f3f1ea;
  --muted: #97a1b6;
  /* Was #626c80, which measured 3.3:1 against the panels — under WCAG
     AA's 4.5:1 for the small text this token carries (row numbers,
     column headings, proof lines). #7a849e is the least change that
     clears it: 4.66 on panels, 5.2 on the page. */
  --dim: #7a849e;

  --green: #8ec95c;      /* the idle poster       */
  --green-deep: #5f9e37;
  --green-ink: #10240a;

  --crimson: #e94057;    /* the sick poster       */
  --crimson-deep: #c22740;
  --crimson-pale: #ffd9de;

  --purple: #7c6cf0;     /* the sword poster      */
  --purple-deep: #5847d6;
  --purple-pale: #e4dfff;

  --burn: #ff6a1f;
  --burn-hi: #ffb03a;
  --hot: #ff2d55;
  --cool: #35d6f5;
  --good: #46e0a0;

  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 9px;

  --outline: 3px solid var(--ink);
  --shadow-soft: 0 18px 44px rgb(0 0 0 / 55%);
  --shadow-ink: 0 6px 0 var(--ink);
  --shadow-ink-sm: 0 4px 0 var(--ink);

  --font-display: "Luckiest Guy", "Comic Sans MS", cursive;
  --font-ui: "Outfit", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, monospace;

  --max: 1240px;
  --ground: 118px;
}

/* ── base ──────────────────────────────────────────────────────── */

* { box-sizing: border-box; }

/* THE hidden ATTRIBUTE ALWAYS WINS. Any class that sets display otherwise
   silently resurrects hidden elements (author rules outrank the browser's
   built-in [hidden] handling). This line retires a recurring bug family:
   the phantom score-claim overlay, the pre-key Owners' Room shell, the
   game table rendering beneath the VS YOU! gate, every hidden .btn. */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  caret-color: var(--gold);
  overflow-x: hidden;
}

/* the browser chrome we did not draw still wears the brand */
::selection { background: var(--gold); color: var(--ink); }

* { scrollbar-width: thin; scrollbar-color: var(--gold-lo) #07080c; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #07080c; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo));
  border: 3px solid #07080c;
  border-radius: 999px;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

a { color: inherit; }
img { max-width: 100%; }

h1, h2, h3 { margin: 0; }

.num { font-variant-numeric: tabular-nums; }

.wrap {
  width: min(100% - 36px, var(--max));
  margin-inline: auto;
}

/* display voice: chunky letters with the artwork's ink stroke */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.02em;
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
  text-shadow: 0 4px 0 rgb(0 0 0 / 55%);
}

/* ── skip link ─────────────────────────────────────────────────── */

.skip {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  border: var(--outline);
  border-radius: var(--r-sm);
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  transition: top 0.2s;
}
.skip:focus-visible { top: 12px; }

/* ── nav ───────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: var(--outline);
  background: rgb(9 11 16 / 88%);
  backdrop-filter: blur(10px);
}

.nav__in {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 11px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  margin-right: auto;
}

.brand__mark {
  display: block;
  width: 34px;
  height: auto;
  filter: drop-shadow(0 3px 6px rgb(0 0 0 / 45%));
  animation: coinIdle 5s ease-in-out infinite;
}

@keyframes coinIdle {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-3px) rotate(3deg); }
}

.brand__word {
  font-family: var(--font-display);
  font-size: 23px;
  letter-spacing: 0.05em;
  color: var(--gold);
  -webkit-text-stroke: 2.5px var(--ink);
  paint-order: stroke fill;
  text-shadow: 0 3px 0 rgb(0 0 0 / 65%);
  white-space: nowrap;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav__links a {
  padding: 8px 12px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}

.nav__links a:hover { color: var(--gold); background: rgb(255 212 0 / 9%); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: rgb(0 0 0 / 40%);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dim);
}

.pill[data-live="true"] { color: var(--good); border-color: rgb(70 224 160 / 45%); }
.pill[data-live="true"] i { background: var(--good); animation: ping 1.7s ease-out infinite; }
/* the card the redraw just handed you — so a Pass is never invisible */
.vsCard--fresh {
  outline: 3px solid var(--gold, #ffd400);
  outline-offset: 2px;
  animation: vsFreshPop .5s cubic-bezier(.22, 1.6, .36, 1);
}

@keyframes vsFreshPop { from { transform: translateY(10px) scale(.9); opacity: 0; } }

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

/* while a sentence is being retyped, honour the line breaks that get
   typed into it — innerText only reports a newline it can actually see */
.editable.editing { white-space: pre-wrap; }

/* a snapshot's age, so old numbers can never pass for live ones */
.pill #livePillAge { margin-left: 6px; opacity: .75; font-size: .82em; font-weight: 700; }
.pill[data-live="snapshot"] { color: var(--cool); border-color: rgb(53 214 245 / 40%); }
.pill[data-live="snapshot"] i { background: var(--cool); }

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgb(70 224 160 / 60%); }
  100% { box-shadow: 0 0 0 10px rgb(70 224 160 / 0%); }
}

.iconBtn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: rgb(0 0 0 / 40%);
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.iconBtn:hover { color: var(--gold); border-color: rgb(255 212 0 / 45%); }
.iconBtn[data-off="true"] { opacity: 0.45; }
.iconBtn svg { width: 15px; height: 15px; }

.nav__burger { display: none; }

/* ── buttons ───────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px 13px;
  border: var(--outline);
  border-radius: 16px;
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  color: var(--ink);
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo));
  box-shadow: var(--shadow-ink);
  transform: translateY(0);
  transition: transform 0.12s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.12s;
  -webkit-text-stroke: 0;
  text-shadow: none;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.btn svg { width: 20px; height: 20px; }

.btn--green { background: linear-gradient(180deg, #b4e388, var(--green) 55%, var(--green-deep)); }
.btn--ghost {
  background: rgb(255 255 255 / 4%);
  color: var(--text);
  box-shadow: var(--shadow-ink-sm);
}
.btn--sm { padding: 11px 18px 9px; font-size: 15px; border-width: 2.5px; }

/* ── hero: the machine room ────────────────────────────────────── */

.hero {
  position: relative;
  padding: 54px 0 130px;
  background:
    radial-gradient(1000px 560px at 14% -6%, rgb(255 212 0 / 10%), transparent 60%),
    radial-gradient(860px 520px at 88% 2%, rgb(255 106 31 / 8%), transparent 62%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 52%);
  border-bottom: var(--outline);
  overflow: hidden;
}

/* far-back stars, drawn once in CSS */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 8% 18%, rgb(255 255 255 / 35%) 50%, transparent 51%),
    radial-gradient(2px 2px at 23% 64%, rgb(255 255 255 / 22%) 50%, transparent 51%),
    radial-gradient(3px 3px at 41% 12%, rgb(255 232 115 / 40%) 50%, transparent 51%),
    radial-gradient(2px 2px at 66% 42%, rgb(255 255 255 / 26%) 50%, transparent 51%),
    radial-gradient(2px 2px at 82% 15%, rgb(255 255 255 / 33%) 50%, transparent 51%),
    radial-gradient(3px 3px at 93% 58%, rgb(53 214 245 / 35%) 50%, transparent 51%),
    radial-gradient(2px 2px at 52% 78%, rgb(255 255 255 / 18%) 50%, transparent 51%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 34px;
}

.hero__copy { position: relative; z-index: 2; }

.hero__title {
  font-size: clamp(42px, 6.6vw, 88px);
  color: var(--gold);
  text-transform: uppercase;
}

.hero__title .hot {
  color: var(--burn-hi);
  display: inline-block;
  animation: simmer 2.6s ease-in-out infinite;
}

@keyframes simmer {
  0%, 100% { transform: rotate(-1deg) scale(1); }
  50% { transform: rotate(1.2deg) scale(1.035); }
}

.hero__sub {
  max-width: 56ch;
  margin: 20px 0 0;
  font-size: 18px;
  color: var(--muted);
}

.hero__sub b { color: var(--text); }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 26px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dim);
}

.hero__proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero__proof svg { width: 15px; height: 15px; color: var(--good); }

/* the star of the show */
.hero__stage {
  position: relative;
  display: grid;
  justify-items: center;
  z-index: 1;
}

.mascot {
  width: min(330px, 68vw);
  filter: drop-shadow(0 22px 26px rgb(0 0 0 / 55%));
  animation: mascotBob 4.6s ease-in-out infinite;
  transform-origin: 50% 100%;
}

@keyframes mascotBob {
  0%, 100% { transform: translateY(0) rotate(-1.4deg); }
  50% { transform: translateY(-13px) rotate(1.6deg); }
}

.mascot .blink { animation: blink 5.2s infinite; transform-origin: center; }

@keyframes blink {
  0%, 93%, 100% { transform: scaleY(1); }
  95.5% { transform: scaleY(0.08); }
}

/* ── the burn machine ──────────────────────────────────────────── */

.machine {
  position: relative;
  z-index: 3;
  /* ride higher over the mascot — James (2026-08-11): "pushed up a bit to
     overlap the schmeckle a bit more" (and clear of the ticket stubs) */
  margin-top: -104px;
  border: var(--outline);
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, #232a3c, var(--panel) 58%);
  box-shadow: var(--shadow-soft), inset 0 2px 0 rgb(255 255 255 / 7%);
}

.machine__plate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 20px 10px;
  border-bottom: var(--outline);
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, var(--gold-lo));
  border-radius: calc(var(--r-lg) - 3px) calc(var(--r-lg) - 3px) 0 0;
}

.machine__name {
  font-family: var(--font-display);
  font-size: clamp(17px, 2.2vw, 22px);
  letter-spacing: 0.08em;
  color: var(--ink);
}

.machine__ledger {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: rgb(0 0 0 / 72%);
  white-space: nowrap;
}

.machine__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 22px;
}

.gauge { min-width: 0; }

.gauge__k {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
  font-family: var(--font-display);
  font-size: 14.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gold);
}

.gauge--burn .gauge__k { color: var(--burn-hi); }

.gauge__tag {
  font-family: var(--font-ui);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--dim);
}

.gauge__glass {
  position: relative;
  padding: 16px 16px 13px;
  border: var(--outline);
  border-radius: var(--r-md);
  background:
    repeating-linear-gradient(180deg, rgb(255 255 255 / 2.5%) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #05060a, #0d1017);
  box-shadow: inset 0 4px 14px rgb(0 0 0 / 75%);
  overflow: hidden;
}

.gauge__glass::after {
  content: "";
  position: absolute;
  inset: -30% 62% auto -10%;
  height: 200%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 4.5%), transparent);
  pointer-events: none;
}

.gauge.is-hit .gauge__glass { animation: zap 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97); }

@keyframes zap {
  10%, 90% { transform: translate(-2px, 1px); }
  30%, 70% { transform: translate(5px, -2px); }
  50% { transform: translate(-6px, 2px); }
}

.gauge__sub {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
  font-size: 12.5px;
  color: var(--dim);
}

.gauge__sub b { color: var(--muted); font-variant-numeric: tabular-nums; }

/* odometer digits */
.odo {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 47px);
  line-height: 1;
  color: var(--gold);
  -webkit-text-stroke: 2.5px var(--ink);
  paint-order: stroke fill;
  text-shadow: 0 0 22px rgb(255 212 0 / 34%), 0 3px 0 rgb(0 0 0 / 70%);
  user-select: none;
}

.odo--burn {
  color: var(--burn-hi);
  text-shadow: 0 0 22px rgb(255 106 31 / 40%), 0 3px 0 rgb(0 0 0 / 70%);
}

/* Each digit window is 18% taller and a touch wider than the glyph so the
   ink stroke and glow never clip; negative margins keep the line rhythm.
   The roll math is percentage-based, so the extra room changes nothing. */
.odo__d {
  position: relative;
  width: 0.62em;
  height: 1.18em;
  margin-block: -0.09em;
  margin-inline: -0.02em;
  overflow: hidden;
}
.odo__strip { position: absolute; inset: 0 0 auto; display: grid; will-change: transform; }
.odo__strip span { height: 1.18em; display: grid; place-items: center; }
.odo__d--sm { font-size: 0.5em; width: 0.6em; margin-bottom: 0.16em; opacity: 0.85; }
.odo__sep { width: 0.3em; text-align: center; opacity: 0.7; }
.odo__dec { font-size: 0.5em; opacity: 0.8; align-self: flex-end; padding-bottom: 0.14em; }

/* meltdown bar bridges the two gauges */
.melt {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
}

.melt__track {
  position: relative;
  height: 34px;
  border: var(--outline);
  border-radius: 999px;
  background: linear-gradient(180deg, #05060a, #10141d);
  box-shadow: inset 0 3px 10px rgb(0 0 0 / 70%);
  overflow: hidden;
}

.melt__fill {
  position: relative;
  height: 100%;
  width: 0%;
  border-radius: 999px 0 0 999px;
  background: linear-gradient(90deg, #b8340a, var(--burn) 45%, var(--burn-hi) 80%, var(--gold-hi));
  box-shadow: 0 0 26px rgb(255 106 31 / 55%);
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.melt__fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgb(255 255 255 / 15%) 0 10px, transparent 10px 22px);
  animation: crawl 1.15s linear infinite;
}

@keyframes crawl { to { background-position: 22px 0; } }

.melt__flame {
  position: absolute;
  right: -8px;
  top: 50%;
  translate: 0 -50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff8d6, var(--gold-hi) 40%, rgb(255 106 31 / 0%) 72%);
  animation: flicker 0.42s ease-in-out infinite alternate;
}

@keyframes flicker { to { transform: scale(1.45); opacity: 0.7; } }

.melt__pct {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 15.5px;
  letter-spacing: 0.08em;
  color: #fff;
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
}

.melt__legend {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--dim);
}

/* phone insurance: the pill stays comfortably inside its bar even when a
   fallback font's metrics run tall (iOS mid-load — James's screenshot) */
@media (max-width: 480px) {
  .melt__pct { font-size: 13px; -webkit-text-stroke-width: 1.6px; white-space: nowrap; }
  .melt__legend { margin-top: 3px; }
}

/* ── shared section scaffolding ────────────────────────────────── */

.room { padding: 76px 0 84px; }

.room__head { margin-bottom: 34px; max-width: 70ch; }

.room__title {
  font-size: clamp(32px, 4.6vw, 54px);
  color: var(--gold);
  text-transform: uppercase;
}

.room__lede {
  margin: 16px 0 0;
  font-size: 17px;
  color: var(--muted);
  max-width: 62ch;
}

.room__lede a { color: var(--gold-hi); }

/* ── minis: ticket-stub stats ──────────────────────────────────── */

.minis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(148px, 100%), 1fr));
  gap: 13px;
  margin-top: -46px;
  position: relative;
  z-index: 4;
}

/* On the two-column hero the -46px stub-tuck could land ON the machine
   whenever the stage column runs taller than the copy (James's screenshot,
   2026-08-11: "The Burn Machine looks to be overlapped by the data boxes").
   Side-by-side layouts get honest clearance instead; the stacked hero
   (≤880px) keeps its tuck, where the copy column always ends the grid. */
@media (min-width: 881px) {
  .minis { margin-top: 22px; }
}

.mini {
  display: grid;
  gap: 3px;
  padding: 13px 16px;
  border: var(--outline);
  border-radius: var(--r-md);
  background: linear-gradient(170deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow-ink-sm);
  transition: transform 0.16s;
}

.mini:hover { transform: translateY(-3px) rotate(-0.6deg); }

.mini b {
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.mini span {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ── leaderboard + live feed ───────────────────────────────────── */

.boardGrid {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.card {
  border: var(--outline);
  border-radius: var(--r-lg);
  background: linear-gradient(168deg, var(--panel-2), var(--panel) 70%);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  min-width: 0;
}

.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  border-bottom: var(--outline);
  flex-wrap: wrap;
}

.card__title {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.card__title svg { width: 19px; height: 19px; }

.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-top: 2px solid var(--line);
  flex-wrap: wrap;
}

.card__note { font-size: 11.5px; color: var(--dim); }

.seg {
  position: relative;
  display: inline-flex;
  padding: 4px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: rgb(0 0 0 / 45%);
}

.seg button {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 17px;
  border: 0;
  border-radius: 999px;
  background: none;
  font: inherit;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s;
}

.seg button svg { width: 15px; height: 15px; }
.seg button.is-on { color: var(--ink); }

.seg__thumb {
  position: absolute;
  z-index: 1;
  top: 4px;
  bottom: 4px;
  left: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo));
  box-shadow: 0 3px 10px rgb(255 212 0 / 35%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), width 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.seg[data-mode="holders"] .seg__thumb {
  background: linear-gradient(180deg, #9fe8ff, var(--cool));
  box-shadow: 0 3px 10px rgb(53 214 245 / 35%);
}

.search input {
  width: 220px;
  max-width: 48vw;
  padding: 10px 14px;
  border: 2.5px solid var(--line);
  border-radius: 999px;
  background: rgb(0 0 0 / 40%);
  color: var(--text);
  font: inherit;
  font-size: 13.5px;
  outline: 0;
  transition: border-color 0.16s;
}

.search input::placeholder { color: var(--dim); }
.search input:focus { border-color: var(--gold); }

.board { padding: 7px 9px 9px; max-height: 630px; overflow-y: auto; }
.board__empty { padding: 46px 16px; text-align: center; color: var(--dim); }

.row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 11px;
  border-radius: var(--r-md);
  transition: background 0.15s;
}

.row:hover { background: rgb(255 255 255 / 4%); }

.row__rank {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2.5px solid var(--line);
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--muted);
}

.row--1 .row__rank { border-color: var(--ink); color: var(--ink); background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); box-shadow: var(--shadow-ink-sm); }
.row--2 .row__rank { border-color: var(--ink); color: var(--ink); background: linear-gradient(180deg, #f2f5fa, #b9c2d3); }
.row--3 .row__rank { border-color: var(--ink); color: var(--ink); background: linear-gradient(180deg, #f0b070, #c17a35); }

.row__id { min-width: 0; display: grid; gap: 5px; }

.row__addr {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  white-space: nowrap;
}

.row__addr:hover { color: var(--gold); }

.row__bar { height: 6px; border-radius: 999px; background: rgb(255 255 255 / 7%); overflow: hidden; }

.row__bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--burn), var(--gold-hi));
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.board[data-mode="holders"] .row__bar i { background: linear-gradient(90deg, #1e88b8, var(--cool)); }

.row__meta { display: flex; flex-wrap: wrap; gap: 7px; font-size: 10.5px; color: var(--dim); }

.chip {
  padding: 2px 8px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.chip--closed { border-color: rgb(255 45 85 / 38%); color: rgb(255 130 150 / 92%); }

.chip--bot { border-color: rgb(255 106 31 / 45%); color: var(--burn-hi, #ffb03a); }

.chip--viabot { border-color: rgb(255 212 0 / 32%); color: rgb(255 226 120 / 92%); }

.row__val { text-align: right; display: grid; gap: 2px; }

.row__amt {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--gold-hi);
  font-variant-numeric: tabular-nums;
}

.board[data-mode="holders"] .row__amt { color: var(--cool); }
.row__pct { font-size: 11px; color: var(--dim); }

.more {
  padding: 10px 20px;
  border: 2.5px solid var(--line);
  border-radius: 999px;
  background: rgb(0 0 0 / 35%);
  color: var(--muted);
  font: inherit;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.16s, border-color 0.16s;
}

.more:hover { color: var(--gold); border-color: rgb(255 212 0 / 45%); }
.more[hidden] { display: none; }

/* live feed */
.feed { margin: 0; padding: 9px; list-style: none; max-height: 630px; overflow-y: auto; display: grid; gap: 7px; align-content: start; }
.feed__empty { padding: 38px 12px; text-align: center; color: var(--dim); font-size: 13px; }

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--burn);
  box-shadow: 0 0 12px var(--burn);
  animation: ping2 2.1s ease-out infinite;
}

@keyframes ping2 {
  0% { box-shadow: 0 0 0 0 rgb(255 106 31 / 60%); }
  100% { box-shadow: 0 0 0 12px rgb(255 106 31 / 0%); }
}

.burnItem {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 2.5px solid var(--line);
  border-radius: var(--r-md);
  background: rgb(0 0 0 / 26%);
}

.burnItem--new { animation: dropIn 0.55s cubic-bezier(0.22, 1, 0.36, 1); border-color: rgb(255 106 31 / 62%); }

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-14px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

.burnItem__ico { color: var(--burn-hi); }
.burnItem__ico svg { width: 20px; height: 20px; filter: drop-shadow(0 0 7px rgb(255 106 31 / 70%)); }

.burnItem__who {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

.burnItem__who:hover { color: var(--gold); }
.burnItem__when { font-size: 10px; color: var(--dim); }

.burnItem__amt {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--burn-hi);
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ── chart ─────────────────────────────────────────────────────── */

.chart { position: relative; padding: 20px 18px 8px; }

.chart svg { display: block; width: 100%; height: 240px; }

.chart__tip {
  position: absolute;
  padding: 7px 11px;
  border: 2.5px solid var(--ink);
  border-radius: var(--r-sm);
  background: var(--gold);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -8px);
  transition: opacity 0.12s;
  z-index: 5;
}

.chart__legend {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 18px 16px;
  font-size: 11.5px;
  color: var(--dim);
}

/* ── poster rooms ──────────────────────────────────────────────── */

.field {
  position: relative;
  border-top: var(--outline);
  border-bottom: var(--outline);
  padding: 84px 0 92px;
  overflow: hidden; /* sprites and cards may lean past the edge — clip, never scroll */
}

.field--green { background: var(--green); color: var(--green-ink); }
.field--crimson { background: var(--crimson); color: #fff; }
.field--purple { background: var(--purple); color: #fff; }

/* halftone poster dots, one corner each */
.field::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(0 0 0 / 8%) 1.6px, transparent 1.7px);
  background-size: 22px 22px;
  mask-image: radial-gradient(560px 420px at 92% 6%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(560px 420px at 92% 6%, #000, transparent 70%);
  pointer-events: none;
}

.field--crimson::before { mask-image: radial-gradient(560px 420px at 6% 94%, #000, transparent 70%); -webkit-mask-image: radial-gradient(560px 420px at 6% 94%, #000, transparent 70%); }

.field__title {
  font-size: clamp(34px, 5vw, 60px);
  text-transform: uppercase;
  color: #fff;
}

.field--green .field__title { color: var(--gold); }

.field__lede {
  margin: 18px 0 0;
  max-width: 64ch;
  font-size: 17.5px;
  font-weight: 500;
}

.field--green .field__lede { color: #1c3110; }
.field--crimson .field__lede { color: var(--crimson-pale); }
.field--purple .field__lede { color: var(--purple-pale); }

/* comic sticker panels */
.stickers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 22px;
  margin-top: 40px;
}

.sticker {
  padding: 22px 22px 20px;
  border: var(--outline);
  border-radius: var(--r-lg);
  background: #fffdf4;
  color: #17130a;
  box-shadow: var(--shadow-ink);
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sticker:hover { transform: rotate(0deg) translateY(-4px); }
.sticker:nth-child(3n + 1) { --tilt: -1.1deg; }
.sticker:nth-child(3n + 2) { --tilt: 0.8deg; }
.sticker:nth-child(3n) { --tilt: -0.5deg; }

.sticker h2, .sticker h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.04em;
  margin-bottom: 9px;
}

.sticker h2 svg, .sticker h3 svg { width: 24px; height: 24px; flex: 0 0 auto; }

.sticker p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #3a3426; }
.sticker p + p { margin-top: 8px; }
.sticker a { color: var(--crimson-deep); font-weight: 700; }

.sticker--dark { background: #14171f; color: var(--text); }
.sticker--dark p { color: var(--muted); }

/* big fact plates (crimson room) */
.plates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 22px;
  margin-top: 40px;
}

.plate {
  padding: 24px 22px 20px;
  border: var(--outline);
  border-radius: var(--r-lg);
  background: rgb(0 0 0 / 26%);
  box-shadow: var(--shadow-ink);
}

.plate b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1;
  color: var(--gold);
  -webkit-text-stroke: 2.5px var(--ink);
  paint-order: stroke fill;
  text-shadow: 0 3px 0 rgb(0 0 0 / 55%);
  font-variant-numeric: tabular-nums;
}

.plate span { display: block; margin-top: 9px; font-size: 13.5px; font-weight: 600; color: var(--crimson-pale); }
.plate a { color: #fff; }

/* proof strip (blackhole receipts) */
.receipts {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.receipt {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: var(--outline);
  border-radius: var(--r-md);
  background: rgb(0 0 0 / 22%);
  font-size: 14.5px;
  font-weight: 600;
}

.receipt svg { width: 26px; height: 26px; flex: 0 0 auto; color: var(--gold); }
.receipt code { font-family: var(--font-mono); font-size: 12.5px; color: var(--gold-pale); word-break: break-all; }

/* marquee of NFT pun names */
.marquee {
  margin: 44px 0 0;
  padding: 14px 0;
  border-top: var(--outline);
  border-bottom: var(--outline);
  background: rgb(0 0 0 / 24%);
  overflow: hidden;
  white-space: nowrap;
}

.marquee__track {
  display: inline-flex;
  gap: 34px;
  padding-right: 34px;
  animation: slide 46s linear infinite;
  will-change: transform;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

@keyframes slide { to { transform: translateX(-50%); } }

.marquee b {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: 0.05em;
  color: #fff;
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
}

.marquee svg { width: 18px; height: 18px; color: var(--gold); align-self: center; }

/* deck fan (VS YOU!) */
.deckRow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: 22px;
  margin-top: 40px;
}

.deckCard {
  position: relative;
  padding: 20px;
  border: var(--outline);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-ink);
  background: #fffdf4;
  color: #17130a;
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.deckCard:hover { transform: rotate(0) translateY(-5px); }

.deckCard--common { --tilt: -1.4deg; }
.deckCard--rare { --tilt: 1deg; background: linear-gradient(170deg, #e8f7ff, #bfe9ff); }
.deckCard--epic { --tilt: -0.7deg; background: linear-gradient(170deg, #f3edff, #d8c9ff); }
.deckCard--artefact { --tilt: 1.3deg; background: linear-gradient(170deg, var(--gold-pale), var(--gold-hi)); }

.deckCard b { font-family: var(--font-display); font-size: 20px; display: block; }
.deckCard span { font-size: 13px; font-weight: 700; color: #4b4433; }

.deckCard::after {
  content: attr(data-count);
  position: absolute;
  top: -14px;
  right: -10px;
  padding: 6px 11px 4px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: var(--hot);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  box-shadow: var(--shadow-ink-sm);
  transform: rotate(6deg);
}

/* ── games arcade strip ────────────────────────────────────────── */

.arcade { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }

/* ── how to get schmeckles ─────────────────────────────────────── */

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 22px;
  margin-top: 38px;
}

.step {
  counter-increment: step;
  position: relative;
  padding: 26px 22px 20px;
  border: var(--outline);
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow-ink-sm);
}

.step::before {
  content: counter(step);
  position: absolute;
  top: -20px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: var(--outline);
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo));
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 19px;
  box-shadow: var(--shadow-ink-sm);
}

.step h2, .step h3 { font-family: var(--font-display); font-size: 19px; letter-spacing: 0.04em; margin: 4px 0 9px; color: var(--gold); }
.step p { margin: 0 0 14px; font-size: 14.5px; color: var(--muted); }
.step p a { color: var(--gold-hi); }

/* ── community ─────────────────────────────────────────────────── */

.socials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 14px;
  margin-top: 36px;
}

.soc {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 16px;
  border: var(--outline);
  border-radius: var(--r-md);
  background: linear-gradient(170deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow-ink-sm);
  color: var(--text);
  font-weight: 800;
  font-size: 14.5px;
  text-decoration: none;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.15s;
}

.soc:hover { transform: translateY(-3px) rotate(-0.7deg); color: var(--gold); }
.soc svg { width: 22px; height: 22px; flex: 0 0 auto; }

/* ── footer ────────────────────────────────────────────────────── */

.footer {
  border-top: var(--outline);
  padding: 44px 0 26px;
  padding-bottom: calc(26px + var(--ground));
  background: #07080c;
  font-size: 13px;
  color: var(--dim);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px;
  margin-bottom: 26px;
}

.footer h3 { font-family: var(--font-display); font-size: 15px; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 10px; text-transform: uppercase; }
.footer p { margin: 0 0 10px; max-width: 70ch; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--gold); }

.hash {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 8px 12px;
  margin: 2px 0 8px;
  border: 2px solid var(--line);
  border-radius: var(--r-sm);
  background: rgb(0 0 0 / 40%);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
}

.hash code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.hash button {
  display: grid;
  place-items: center;
  padding: 3px;
  border: 0;
  background: none;
  color: var(--dim);
  cursor: pointer;
}

.hash button:hover { color: var(--gold); }
.hash button svg { width: 14px; height: 14px; }

.footer__legal { border-top: 2px solid #14171f; padding-top: 18px; font-size: 12px; line-height: 1.7; }

/* ── the cast (kept from the tracker) ──────────────────────────── */

#fx { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
#cast { position: fixed; inset: 0; z-index: 89; pointer-events: none; overflow: hidden; }

.actor {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 50% 100%;
  will-change: transform;
  filter: drop-shadow(0 10px 14px rgb(0 0 0 / 55%));
}

.actor--ufo { transform-origin: 50% 50%; filter: drop-shadow(0 12px 22px rgb(0 0 0 / 55%)); }

.shadowBlob {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgb(0 0 0 / 52%), rgb(0 0 0 / 0%) 70%);
  will-change: transform, opacity;
}

/* ── scroll reveals: one cel-pop grammar, visible by default ───── */

@media (prefers-reduced-motion: no-preference) {
  .rv {
    opacity: 0;
    transform: translateY(26px) rotate(var(--rv-tilt, 0deg)) scale(0.985);
    transition: opacity 0.55s ease-out, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--rv-delay, 0s);
  }

  .rv.rv-in { opacity: 1; transform: none; }
}

/* ── responsive ────────────────────────────────────────────────── */

@media (max-width: 1060px) {
  .nav__links a { padding: 8px 9px; font-size: 13px; }
  .boardGrid { grid-template-columns: minmax(0, 1fr); }
  .feed { max-height: 420px; }
}

@media (max-width: 880px) {
  .hero { padding-top: 34px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  /* James (2026-08-12): on phones the WORDS lead and the machine follows —
     stage no longer jumps above the copy. The minis then trail the machine,
     so they get clearance instead of the tuck. */
  .mascot { width: min(230px, 52vw); }
  .machine { margin-top: -40px; }
  .minis { margin-top: 16px; }
  .machine__body { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }

  .nav__links {
    position: fixed;
    inset: 62px 0 auto;
    z-index: 59;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 4px;
    border-bottom: var(--outline);
    background: rgb(9 11 16 / 97%);
  }

  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 13px 16px; font-size: 16px; }

  .nav__burger {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 2.5px solid var(--line);
    border-radius: var(--r-sm);
    background: rgb(0 0 0 / 40%);
    color: var(--text);
    cursor: pointer;
  }

  .nav__burger svg { width: 20px; height: 20px; }
}

@media (max-width: 560px) {
  :root { --ground: 96px; }
  body { font-size: 15.5px; }
  .wrap { width: min(100% - 24px, var(--max)); }
  .room { padding: 56px 0 62px; }
  .field { padding: 62px 0 70px; }
  .brand__word { font-size: 19px; }
  .pill { display: none; }
  .btn { width: 100%; }
  .hero__cta { flex-direction: column; }
  .machine__plate { flex-wrap: wrap; }
  .search { flex: 1 1 100%; }
  .search input { width: 100%; max-width: none; }
  .row { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 9px; }
  /* James (2026-08-13): the top tiles were riding over the machine's bottom
     lip on his iPhone — this narrow block was re-applying the desktop tuck
     that the ≤880px rule had already traded for honest clearance. Phones
     get clearance, full stop. */
  .minis { margin-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  #cast, #fx { display: none; }
  .marquee__track { animation: none; white-space: normal; flex-wrap: wrap; }
}

/* ── the burn fuse: scroll progress as a lit fuse ──────────────── */

.fuse {
  position: fixed;
  top: 78px;
  bottom: 18px;
  right: 9px;
  width: 5px;
  z-index: 55;
  border-radius: 999px;
  background: rgb(255 255 255 / 9%);
  pointer-events: none;
}

.fuse__burnt {
  position: absolute;
  inset: 0 0 auto;
  height: 0%;
  border-radius: 999px;
  background: linear-gradient(180deg, #3a2213, #6b3b16);
}

.fuse__head {
  position: absolute;
  left: 50%;
  top: 0%;
  width: 15px;
  height: 15px;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle, #fff8d6, var(--gold-hi) 40%, var(--burn) 75%, transparent 78%);
  filter: drop-shadow(0 0 9px rgb(255 176 58 / 85%));
  animation: flicker 0.38s ease-in-out infinite alternate;
}

@media (max-width: 880px) { .fuse { display: none; } }
@media (prefers-reduced-motion: reduce) { .fuse { display: none; } }

/* ── sprites living in the poster rooms ────────────────────────── */

.fieldSprite {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 14px 18px rgb(0 0 0 / 38%));
  will-change: transform;
}

.field .wrap { position: relative; z-index: 2; }

@media (max-width: 720px) { .fieldSprite { opacity: 0.4; width: min(120px, 20vw) !important; } }

/* ── NFT gallery ───────────────────────────────────────────────── */

.gallery { margin-top: 40px; }

.galleryTabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gtab {
  display: grid;
  gap: 2px;
  padding: 10px 16px 9px;
  border: var(--outline);
  border-radius: var(--r-md);
  background: rgb(0 0 0 / 26%);
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow-ink-sm);
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.15s;
}

.gtab:hover { transform: translateY(-2px); }

.gtab.is-on {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo));
  color: var(--ink);
}

.gtab__name { font-family: var(--font-display); font-size: 14.5px; letter-spacing: 0.05em; }
.gtab__floor { font-size: 11px; font-weight: 800; opacity: 0.75; }

.galleryMeta { margin: 18px 0 6px; }
.galleryMeta p { margin: 0 0 6px; font-size: 14.5px; color: var(--purple-pale); max-width: 74ch; }
.galleryMeta__stats { font-weight: 800; color: #fff; }

.galleryMeta__row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.galleryGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(185px, 100%), 1fr));
  gap: 18px;
  margin-top: 18px;
  perspective: 1100px;
}

/* the flow owns its own layout — the grid rules must not apply to it */
.galleryGrid[data-view="flow"] {
  display: block;
  perspective: none;
  margin-top: 10px;
}

.galleryGrid[data-view="flow"] .galleryCta { display: inline-flex; margin: 14px auto 0; }
.galleryGrid[data-view="flow"] { text-align: center; }
.galleryGrid[data-view="flow"] .flow { text-align: initial; }

.piece {
  display: grid;
  gap: 8px;
  text-decoration: none;
  color: #fff;
}

.piece__frame {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border: var(--outline);
  border-radius: var(--r-md);
  background: #171225;
  box-shadow: var(--shadow-ink-sm);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.22s ease-out, box-shadow 0.22s;
}

.piece:hover .piece__frame { box-shadow: var(--shadow-ink); }

.piece__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* the WHOLE artwork, centred — James (2026-08-12): "can we centre the
     images?" cover cropped odd ratios; the dark frame now mats them */
  object-fit: contain;
  object-position: center;
  display: block;
}

/* off-screen pieces skip layout & paint entirely — the phone only works
   for what's in view (James: "NFT page struggles big time on mobile") */
.piece { content-visibility: auto; contain-intrinsic-size: 220px 250px; }

.piece__shine {
  position: absolute;
  inset: 0;
  --sx: 50%;
  background: radial-gradient(340px 340px at var(--sx) 8%, rgb(255 255 255 / 22%), transparent 60%);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.piece:hover .piece__shine { opacity: 1; }

/* "this artwork exists N times" — honest, and it keeps a 300-token
   collection from reading as 300 identical tiles */
.piece__copies {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  padding: 3px 9px;
  border: 2px solid #000;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo));
  color: #000;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.03em;
  box-shadow: 0 3px 0 #000;
  pointer-events: none;
}

.piece--noimg .piece__frame { background: linear-gradient(170deg, var(--gold-hi), var(--gold-lo)); }
.piece--noimg .piece__frame img { display: none; }
.piece--noimg .piece__frame::after {
  content: "?";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--ink);
}

.piece__plate {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.piece__plate b {
  font-family: var(--font-display);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.piece__plate span { font-size: 11px; font-weight: 800; opacity: 0.65; flex: 0 0 auto; }

.galleryCta {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 10px;
}

/* ── chart marks ───────────────────────────────────────────────── */

.chart__bar {
  transform-box: fill-box;
  transform-origin: bottom;
  animation: growUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  transition: filter 0.15s;
}

.chart__bar.is-hot { filter: brightness(1.35) drop-shadow(0 0 6px rgb(255 176 58 / 70%)); }

@keyframes growUp { from { transform: scaleY(0); } }

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

/* ── load-in choreography (only once JS marks the boot) ────────── */

@media (prefers-reduced-motion: no-preference) {
  html.is-booted .hero__title { animation: popIn 0.6s cubic-bezier(0.26, 1.4, 0.42, 1) 0.05s backwards; }
  html.is-booted .hero__sub { animation: popIn 0.55s cubic-bezier(0.26, 1.4, 0.42, 1) 0.18s backwards; }
  html.is-booted .hero__cta { animation: popIn 0.55s cubic-bezier(0.26, 1.4, 0.42, 1) 0.3s backwards; }
  html.is-booted .hero__proof { animation: popIn 0.5s ease-out 0.44s backwards; }
  html.is-booted .mascot { animation: mascotIn 0.8s cubic-bezier(0.26, 1.5, 0.4, 1) 0.15s backwards, mascotBob 4.6s ease-in-out 1s infinite; }
  html.is-booted .machine { animation: machineIn 0.7s cubic-bezier(0.26, 1.4, 0.42, 1) 0.35s backwards; }
}

@keyframes popIn {
  from { opacity: 0; transform: translateY(22px) scale(0.97); }
}

@keyframes mascotIn {
  from { opacity: 0; transform: translateY(60px) scale(0.8) rotate(-6deg); }
}

@keyframes machineIn {
  from { opacity: 0; transform: translateY(46px) scale(0.94) rotate(1.2deg); }
}

/* ── the card wall: VS YOU! cards loose in the margins ─────────── */

.room { position: relative; }

.cardWall { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }

.cardWall__card {
  position: absolute;
  display: block;
  pointer-events: auto;
  border: 2.5px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
  background: #171225;
  box-shadow: var(--shadow-ink-sm);
  transform: rotate(var(--tilt, 0deg));
  opacity: 0.94;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s, z-index 0s;
}

.cardWall__card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }

.cardWall__card:hover {
  transform: rotate(0deg) scale(1.6);
  opacity: 1;
  z-index: 20;
  box-shadow: var(--shadow-ink);
}

@media (prefers-reduced-motion: no-preference) {
  .cardWall__card { animation: cardDrift 7s ease-in-out infinite alternate; }
  @keyframes cardDrift {
    from { translate: 0 -7px; }
    to { translate: 0 7px; }
  }
}

.cardWall--corners .cardWall__card { opacity: 0.5; }
.cardWall--corners .cardWall__card:hover { opacity: 1; }

@media (max-width: 720px) { .cardWall__card { display: none; } .cardWall__card:nth-child(-n+4) { display: block; width: 64px !important; opacity: .55; } }

/* ── gallery v2: the collection shelf ──────────────────────────── */

.shelf {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
  gap: 16px;
}

.shelfCard {
  position: relative;
  display: grid;
  padding: 0;
  border: var(--outline);
  border-radius: var(--r-md);
  background: #171225;
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  box-shadow: var(--shadow-ink-sm);
  transition: transform 0.16s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.16s;
}

.shelfCard:hover { transform: translateY(-4px) rotate(-0.5deg); box-shadow: var(--shadow-ink); }

.shelfCard img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-bottom: var(--outline);
}

.shelfCard__plate { display: grid; gap: 2px; padding: 11px 14px 12px; }
.shelfCard__plate b { font-family: var(--font-display); font-size: 15.5px; font-weight: 400; letter-spacing: 0.04em; }
.shelfCard__plate span { font-size: 11px; font-weight: 800; opacity: 0.7; }

.shelfCard.is-on {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.shelfCard.is-on .shelfCard__plate { background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); color: var(--ink); }

/* pieces are buttons now */
.piece { border: 0; padding: 0; background: none; font: inherit; text-align: left; cursor: pointer; }

/* ── the piece inspector ───────────────────────────────────────── */

.inspector { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; }
.inspector[hidden] { display: none; }

.inspector__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(5 4 12 / 78%);
  backdrop-filter: blur(6px);
}

.inspector__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px;
  width: min(920px, 100%);
  max-height: min(86vh, 720px);
  padding: 24px;
  border: var(--outline);
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, #241c3f, #171225 60%);
  box-shadow: var(--shadow-soft), var(--shadow-ink);
  animation: popIn 0.4s cubic-bezier(0.26, 1.4, 0.42, 1);
  overflow-y: auto;
}

.inspector__frame {
  display: block;
  border: var(--outline);
  border-radius: var(--r-md);
  overflow: hidden;
  background: #0d0a18;
  align-self: start;
  box-shadow: var(--shadow-ink-sm);
}

.inspector__frame img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; }

.inspector__body { display: grid; gap: 14px; align-content: start; min-width: 0; }

.inspector__name { font-size: clamp(22px, 3vw, 34px); color: var(--gold); }

.inspector__sub { margin: 0; font-size: 13.5px; color: var(--purple-pale); }
.inspector__sub a { color: #fff; }

.inspector__traits { display: flex; flex-wrap: wrap; gap: 8px; }

.trait {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border: 2px solid rgb(255 255 255 / 22%);
  border-radius: 999px;
  font-size: 12px;
  background: rgb(0 0 0 / 30%);
}

.trait i { font-style: normal; font-weight: 700; opacity: 0.6; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; }
.trait b { font-weight: 800; }
.trait--none { opacity: 0.55; }

.inspector__price { margin: 0; font-size: 15px; font-weight: 700; color: var(--purple-pale); }
.inspector__price[data-state="listed"] { color: var(--gold-hi); }
.inspector__price[data-state="listed"] b { font-family: var(--font-display); font-size: 19px; letter-spacing: 0.03em; }

.inspector__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

@media (max-width: 720px) {
  .inspector { padding: 10px; }
  .inspector__panel { grid-template-columns: 1fr; max-height: 92vh; padding: 16px; }
}

/* ── "offer a prize" pitch form ─────────────────────────────────── */

.pitch {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgb(4 6 10 / 74%);
  backdrop-filter: blur(4px);
}

.pitch__panel {
  width: min(520px, 100%);
  max-height: 88dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px;
  border: var(--outline);
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, var(--panel-2, #1b2130), var(--panel, #151a26));
  box-shadow: var(--shadow-ink);
}

.pitch__panel h3 { margin: 0 0 6px; color: var(--gold); font-size: clamp(20px, 4vw, 26px); }
.pitch__lede { margin: 0 0 14px; font-size: 13.5px; color: var(--muted); }

.pitch label {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.pitch input,
.pitch textarea {
  width: 100%;
  margin-top: 5px;
  padding: 10px 12px;
  font: inherit;
  font-size: 15px;          /* 16px floor on iOS avoids the zoom-on-focus jump */
  color: var(--text);
  background: rgb(0 0 0 / 34%);
  border: 2px solid var(--line);
  border-radius: 10px;
  text-transform: none;
  letter-spacing: normal;
}

.pitch input:focus,
.pitch textarea:focus { outline: 3px solid var(--gold); outline-offset: 1px; }

.pitch__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 0 12px; }
.pitch__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pitch__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.pitch__note { margin: 4px 0 10px; font-size: 13px; color: var(--good, #46e0a0); min-height: 1em; }
.pitch__note[data-bad="true"] { color: var(--hot, #ff2d55); }
.pitch__fine { margin: 12px 0 0; font-size: 11.5px; color: var(--dim); }

/* the score, shown as its parts, right under the result */
.vsWhy {
  display: flex;
  gap: 8px 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

.vsWhy b { color: var(--gold-hi); }

/* ── VS YOU! onboarding: the loop, taught once, before the modes ── */

.vsHow {
  margin-top: 26px;
  padding: 20px 22px;
  border: var(--outline);
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, rgb(0 0 0 / 34%), rgb(0 0 0 / 18%));
  box-shadow: var(--shadow-ink-sm);
}

.vsHow h2 {
  margin: 0 0 14px;
  font-size: clamp(20px, 4vw, 28px);
  color: #fff;
  -webkit-text-stroke: 2px #000;
  paint-order: stroke fill;
}

.vsHowSteps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  counter-reset: vsstep;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
}

.vsHowSteps li {
  counter-increment: vsstep;
  position: relative;
  padding: 14px 14px 14px 52px;
  border: 2px solid rgb(255 255 255 / 22%);
  border-radius: var(--r-md);
  background: rgb(0 0 0 / 28%);
}

.vsHowSteps li::before {
  content: counter(vsstep);
  position: absolute;
  left: 12px;
  top: 12px;
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  border: 2px solid #000;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo));
  color: #000;
  font-family: var(--font-display);
  font-size: 15px;
}

.vsHowSteps b { display: block; color: var(--gold); font-size: 15px; margin-bottom: 3px; }
.vsHowSteps span { font-size: 13.5px; color: var(--purple-pale); }

.vsHowFoot { margin: 14px 0 0; font-size: 13.5px; color: var(--purple-pale); }

.vsRulesLink {
  font: inherit;
  font-weight: 800;
  color: var(--gold-hi);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
}

/* On a phone the full rulebook is taller than the screen, which pushed the
   close button off the bottom with no way back — the panel scrolls inside
   itself instead, and the button stays reachable. */
.vsRules__panel {
  max-width: 560px;
  text-align: left;
  max-height: 86dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.vsRules__body { display: grid; gap: 10px; margin: 10px 0 16px; font-size: 14.5px; }
.vsRules__body p { margin: 0; }
.vsRules__body b { color: var(--gold-hi); }
.vsRules__body ul { margin: 0; padding-left: 20px; display: grid; gap: 5px; }
.vsRules__note { font-size: 13px; color: var(--muted); }

/* ── gaming campaigns (story) ───────────────────────────────────── */

.campaignHow ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  counter-reset: step;
}

.campaignHow li {
  counter-increment: step;
  position: relative;
  padding: 14px 16px 14px 56px;
  border: var(--outline);
  border-radius: var(--r-md);
  background: var(--panel);
  box-shadow: var(--shadow-ink-sm);
  font-size: 15px;
}

.campaignHow li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 12px;
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border: 2px solid #000;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo));
  color: #000;
  font-family: var(--font-display);
  font-size: 16px;
}

.campaignGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr));
  gap: 10px;
  margin-top: 20px;
}

.campaign {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: var(--outline);
  border-radius: var(--r-sm, 9px);
  background: #151a26;
  box-shadow: var(--shadow-ink-sm);
}

.campaign b { font-size: 13.5px; }
.campaign .num { font-weight: 900; color: var(--gold); white-space: nowrap; }

.campaign--total {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo));
  color: #000;
}

.campaign--total b { font-family: var(--font-display); letter-spacing: 0.04em; }
.campaign--total .num { color: #000; font-size: 16px; }

.campaignRun {
  margin-top: 24px;
  padding: 18px 20px;
  border: var(--outline);
  border-radius: var(--r-md);
  background: linear-gradient(170deg, #1b2130, var(--panel));
  box-shadow: var(--shadow-ink-sm);
}

.campaignRun h3 {
  margin: 0 0 8px;
  font-size: clamp(20px, 3.2vw, 26px);
  color: var(--gold);
  -webkit-text-stroke: 2px #000;
  paint-order: stroke fill;
}

.campaignRun p { margin: 0 0 12px; font-size: 14.5px; color: var(--muted); }

.runSteps {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 8px;
  font-size: 14.5px;
}

.runSteps li { padding-left: 4px; }
.runSteps b { color: var(--gold-hi); }
.runSteps a { color: var(--burn-hi, #ffb03a); }

/* ── THE FLOW: Cover-Flow browsing for a whole collection ────────
   Every piece is present, only a handful are drawn. Three things do the
   work and none of them is a scroll library:
     1. a native scroll container with scroll-snap — real momentum, real
        fling physics, real accessibility, on every phone;
     2. `content-visibility: auto` — the browser skips rendering anything
        off-screen (virtualisation without bookkeeping), with
        `contain-intrinsic-size` reserving the space so nothing jumps;
     3. scroll-driven animations (`view-timeline` + `animation-timeline`)
        — the 3D turn is tied to scroll POSITION and runs on the
        compositor, off the main thread. Browsers without them get the
        same layout driven by a cheap rAF fallback in app.js.
   The transform lives on the INNER frame, never the flow item: rotating
   the item itself would change the scroll length and flicker.          */

.flow { position: relative; --flow-w: clamp(148px, 44vw, 248px); }

.flow__track {
  display: flex;
  gap: clamp(10px, 2.2vw, 20px);
  margin: 0;
  padding: 30px 0 10px;
  padding-inline: calc(50% - var(--flow-w) / 2);
  list-style: none;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  perspective: 1400px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.flow__track::-webkit-scrollbar { display: none; }

.flow__item {
  flex: 0 0 var(--flow-w);
  width: var(--flow-w);
  scroll-snap-align: center;
  scroll-snap-stop: always;
  transform-style: preserve-3d;
  /* the virtualisation: off-screen pieces cost nothing to render */
  content-visibility: auto;
  contain-intrinsic-size: var(--flow-w) calc(var(--flow-w) * 1.28);
  view-timeline-name: --flowItem;
  view-timeline-axis: inline;
  z-index: 1;
}

.flow__item .piece { width: 100%; }
.flow__item .piece__frame { will-change: transform; }

@keyframes flowTurn {
  0%   { transform: rotateY(-44deg) scale(0.8); filter: brightness(0.55); }
  36%  { transform: rotateY(-44deg) scale(0.8); filter: brightness(0.55); }
  50%  { transform: rotateY(0deg) scale(1.08) translateZ(52px); filter: brightness(1); }
  64%  { transform: rotateY(44deg) scale(0.8); filter: brightness(0.55); }
  100% { transform: rotateY(44deg) scale(0.8); filter: brightness(0.55); }
}

@keyframes flowLift {
  0%, 100% { z-index: 1; }
  50% { z-index: 20; }
}

/* z-index is layout-free, so animating it on the item is safe */
@supports (animation-timeline: view()) {
  .flow__item .piece__frame {
    animation: flowTurn linear both;
    animation-timeline: --flowItem;
  }
  .flow__item {
    animation: flowLift steps(1) both;
    animation-timeline: --flowItem;
  }
}

/* the rAF fallback writes these directly; same look, main thread */
.flow--js .flow__item .piece__frame { transition: none; }

.flow__nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  padding-inline: 4px;
}

.flowBtn {
  pointer-events: auto;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: var(--outline);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo));
  color: #000;
  box-shadow: var(--shadow-ink-sm);
  cursor: pointer;
  transition: transform 0.14s, box-shadow 0.14s;
}

.flowBtn:hover { transform: translateY(-2px); }
.flowBtn:active { transform: translateY(2px); box-shadow: none; }
.flowBtn svg { width: 20px; height: 20px; }
.flowBtn[disabled] { opacity: 0.32; pointer-events: none; }

.flow__hint {
  margin: 6px 0 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--dim);
}

.flowToggle { display: inline-flex; gap: 6px; margin-left: auto; }

.flowToggle button {
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.flowToggle button.is-on {
  background: var(--gold);
  border-color: #000;
  color: #000;
}

@media (prefers-reduced-motion: reduce) {
  .flow__track { scroll-behavior: auto; }
  .flow__item .piece__frame { animation: none; transform: none; filter: none; }
}

/* ── the 1/1 art wheel ─────────────────────────────────────────── */

.marquee--art { padding: 18px 0; }
.marquee--art .marquee__track { animation-duration: 80s; align-items: stretch; gap: 22px; }

.wheelPiece {
  display: inline-grid;
  gap: 6px;
  width: 150px;
  vertical-align: middle;
}

.wheelPiece img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: var(--outline);
  border-radius: var(--r-md);
  background: #171225;
  box-shadow: var(--shadow-ink-sm);
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wheelPiece:hover img { transform: scale(1.12) rotate(-2deg); }

.wheelPiece b {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #fff;
  -webkit-text-stroke: 1.6px var(--ink);
  paint-order: stroke fill;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (prefers-reduced-motion: reduce) {
  .marquee--art .marquee__track { animation: none; flex-wrap: wrap; }
}

/* James (2026-08-13): on a phone the wheel reads as an offset art wall with
   no context — it is desktop decoration, so phones simply skip it. */
@media (max-width: 720px) { .marquee { display: none; } }

/* ── multi-page furniture ──────────────────────────────────────── */

.nav__links a.is-here { color: var(--gold); background: rgb(255 212 0 / 10%); }

.announce {
  border-bottom: var(--outline);
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 70%);
  color: var(--ink);
}

.announce__in {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  font-weight: 800;
  font-size: 14px;
}

.announce svg { width: 17px; height: 17px; flex: 0 0 auto; }

.hero--page { padding: 10px 0 96px; }
/* the -40px machine pull is a HOME-hero composition (overlapping the
   mascot stage); on page heroes it climbed over the lede text at narrow
   widths and sliced the line (caught in a live screenshot). Never here. */
.hero--page .machine { margin-top: 0; }

/* the doors on the home page */
.teasers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 20px;
}

.teaser {
  display: grid;
  gap: 8px;
  padding: 24px 22px 20px;
  border: var(--outline);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-ink);
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.16s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.16s;
}

.teaser:nth-child(3n + 1) { --tilt: -0.8deg; }
.teaser:nth-child(3n + 2) { --tilt: 0.6deg; }
.teaser:hover { transform: rotate(0deg) translateY(-5px); box-shadow: 0 9px 0 var(--ink); }

.teaser svg { width: 30px; height: 30px; }
.teaser b { font-family: var(--font-display); font-size: 21px; font-weight: 400; letter-spacing: 0.04em; }
.teaser span { font-size: 14px; line-height: 1.55; opacity: 0.9; }

.teaser--dark { background: linear-gradient(170deg, var(--panel-2), var(--panel)); }
.teaser--dark svg { color: var(--gold); }
.teaser--purple { background: var(--purple); color: #fff; }
.teaser--green { background: var(--green); color: var(--green-ink); }
.teaser--green b { color: #143207; }
.teaser--crimson { background: var(--crimson); color: #fff; }
.teaser--gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); color: var(--ink); }

/* bare shelf cards (no official cover yet — name plate carries it) */
.shelfCard--bare { min-height: 118px; align-content: end; }

/* ── the mission band on the front door (James: carry the life part across) ── */

.mission { padding: 46px 0 52px; }
.mission__quote { margin: 0; max-width: 74ch; }
.mission__text {
  margin: 0;
  font-size: clamp(19px, 2.6vw, 26px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--green-ink);
}
.mission__text b { color: #143207; }
.mission__foot {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  font-size: 14.5px;
  font-weight: 600;
  color: #1c3110;
}
.mission__more {
  color: #143207;
  font-weight: 800;
  text-decoration-color: rgb(20 50 7 / 45%);
  text-underline-offset: 3px;
}
.mission__more:hover, .mission__more:focus-visible { color: #0d2603; }

/* ── the Whirly Dirly ──────────────────────────────────────────── */

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

.whirlyBox { display: grid; gap: 14px; justify-items: center; }

.whirly { width: min(380px, 88vw); }
.whirly svg { display: block; width: 100%; height: auto; }
.whirly svg { cursor: pointer; }

.whirly__label {
  font-family: "Outfit", sans-serif;
  /* the wheel now carries only the permanent slices, so the wedges are
     wide and the type can be read from across a room */
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.whirly__rotor { will-change: transform; }

.whirly__result {
  margin: 0;
  min-height: 1.6em;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
}

.whirly__result b { color: var(--gold-hi); font-family: var(--font-display); letter-spacing: 0.04em; }

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

/* the Whirly Dirly turns slowly and continuously — readable, never clickable */
.whirly svg { cursor: default; }

.whirly__rotor--idle { animation: whirlyIdle 75s linear infinite; }

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

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

/* ── visual edit mode ──────────────────────────────────────────── */

.editable { outline: 2px dashed rgb(255 212 0 / 45%); outline-offset: 3px; cursor: text; }
.editable:hover { outline-color: var(--gold); background: rgb(255 212 0 / 8%); }
.editable[contenteditable] { outline: 3px solid var(--gold); background: rgb(0 0 0 / 25%); }

.editBar {
  position: fixed;
  bottom: 16px;
  left: 50%;
  translate: -50% 0;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border: var(--outline);
  border-radius: 999px;
  background: #10131b;
  box-shadow: var(--shadow-soft), var(--shadow-ink-sm);
}

.editBar b { font-family: var(--font-display); letter-spacing: .08em; color: var(--gold); }
.editBar span { font-size: 13px; color: var(--muted); }

/* ── a Schmeckle a day ─────────────────────────────────────────── */

.burnaday {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  padding: 30px;
  border: var(--outline);
  border-radius: var(--r-lg);
  background: linear-gradient(168deg, #241b10, var(--panel) 65%);
  box-shadow: var(--shadow-soft), var(--shadow-ink);
}

.burnaday__steps {
  margin: 16px 0;
  padding-left: 22px;
  display: grid;
  gap: 8px;
  font-size: 15.5px;
  color: var(--text);
}

.burnaday__warn {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 14px 0 18px;
  padding: 12px 14px;
  border: 2px solid rgb(255 176 58 / 40%);
  border-radius: var(--r-md);
  background: rgb(255 106 31 / 8%);
  font-size: 13px;
  color: var(--burn-hi);
}

.burnaday__warn svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; }

.burnaday__streak { margin: 12px 0 0; font-size: 13px; font-weight: 700; color: var(--gold-hi); min-height: 1.2em; }

.burnaday__qr {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 22px;
  border: var(--outline);
  border-radius: var(--r-lg);
  background: #fff;
  color: #17130a;
  box-shadow: var(--shadow-ink);
  /* no tilt here, on James's ask — the tree portrait and the QR people
     actually scan should stand straight */
}

.burnaday__qr img, .burnaday__qr canvas { display: block; }
.burnaday__qr code { font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; }
.burnaday__qr span { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #6b6250; }

@media (max-width: 880px) {
  .burnaday { grid-template-columns: minmax(0, 1fr); }
  .burnaday__qr { justify-self: center; }
}

/* ── VS YOU!: the first-deal shuffle curtain ─────────────────────── */

.vsShuffle {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  text-align: center;
  background: rgb(10 8 20 / 90%);
  backdrop-filter: blur(4px);
  padding: 24px;
}

.vsShuffle b { display: block; font-size: clamp(22px, 5vw, 34px); letter-spacing: .06em; margin-bottom: 8px; }
.vsShuffle span { font-size: 13px; opacity: .82; line-height: 1.6; }

.vsShuffle__spin {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 4px solid rgb(255 255 255 / 15%);
  border-top-color: var(--gold, #ffd400);
  animation: vsShuffleSpin .9s linear infinite;
}

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

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

/* ── the arcade cabinet ────────────────────────────────────────── */

.cabinet {
  border: var(--outline);
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, var(--panel-2), var(--panel) 70%);
  box-shadow: var(--shadow-soft), var(--shadow-ink);
  overflow: hidden;
}

.cabinet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 13px 16px;
  border-bottom: var(--outline);
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, var(--gold-lo));
}

.cabTabs { display: flex; gap: 8px; flex-wrap: wrap; }

.cabTab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px 8px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: rgb(0 0 0 / 14%);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: .05em;
  cursor: pointer;
  transition: transform .14s cubic-bezier(.34,1.56,.64,1), background .14s;
}

.cabTab svg { width: 16px; height: 16px; }
.cabTab:hover { transform: translateY(-2px); }
.cabTab.is-on { background: var(--ink); color: var(--gold); }

.cabinet__score { font-size: 12.5px; font-weight: 800; color: rgb(0 0 0 / 75%); }

#arcadeCanvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  background: var(--bg);
  touch-action: none;
  cursor: crosshair;
}

.cabinet__help {
  margin: 0;
  padding: 11px 16px;
  border-top: 2px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

/* the little buy bot's wagon */
.botbar { display: grid; gap: 6px; margin: 14px 0 4px; }

.botbar__track {
  height: 22px;
  border: var(--outline);
  border-radius: 999px;
  background: linear-gradient(180deg, #05060a, #10141d);
  overflow: hidden;
  box-shadow: inset 0 3px 8px rgb(0 0 0 / 65%);
}

.botbar__fill {
  height: 100%;
  width: 0%;
  border-radius: 999px 0 0 999px;
  background: linear-gradient(90deg, var(--burn), var(--gold-hi));
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.botbar__note { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.botNote--fed { animation: fedFlash 1.6s ease; }
@keyframes fedFlash { 20% { color: var(--gold); transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .botNote--fed { animation: none; color: var(--gold); } }

/* ── device safe areas (notches, curved corners, home bars) ────── */

.nav__in { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
.fuse { right: max(9px, env(safe-area-inset-right)); }
.footer { padding-bottom: calc(26px + var(--ground) + env(safe-area-inset-bottom)); }
.editBar { bottom: calc(16px + env(safe-area-inset-bottom)); }

/* long on-chain strings may break anywhere rather than escape their box */
main code, .receipt code { overflow-wrap: anywhere; }
.gauge__sub { flex-wrap: wrap; gap: 2px 14px; }

/* the official seal */
.brand__mark--seal { width: 38px; filter: drop-shadow(0 2px 5px rgb(0 0 0 / 50%)); }
.footer__seal { margin: 6px 0 14px; }
.footer__seal img { width: 72px; height: 72px; filter: drop-shadow(0 4px 10px rgb(0 0 0 / 45%)); }

/* ── SCHMECKLES VS YOU! table ──────────────────────────────────── */

.vsModes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: 22px; }

.vsMode {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 24px 22px;
  border: var(--outline);
  border-radius: var(--r-lg);
  background: rgb(0 0 0 / 26%);
  box-shadow: var(--shadow-ink);
}

.vsMode h2, .vsMode h3 { font-size: 24px; color: var(--gold); }
.vsMode p { margin: 0; font-size: 14px; color: var(--purple-pale); }
.vsMode--soon { opacity: 0.75; }

.vsLabel { display: grid; gap: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--purple-pale); }

.vsSelect {
  width: 100%;
  padding: 11px 13px;
  border: 2.5px solid var(--ink);
  border-radius: var(--r-sm);
  background: rgb(0 0 0 / 35%);
  color: #fff;
  font: inherit;
  font-size: 14px;
}

.vsSelect:focus { outline: 3px solid var(--gold); outline-offset: 2px; }
.vsStatus { min-height: 1.4em; margin: 0; font-size: 13px; font-weight: 700; color: var(--gold-hi); }

.vsTable { display: grid; gap: 18px; }

.vsTop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.vsSeat {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: var(--outline);
  border-radius: var(--r-md);
  background: rgb(0 0 0 / 26%);
  box-shadow: var(--shadow-ink-sm);
}

.vsSeat--you { flex-direction: row-reverse; text-align: right; }
.vsSeat img { filter: drop-shadow(0 6px 8px rgb(0 0 0 / 40%)); }
.vsSeat b { display: block; font-size: 17px; letter-spacing: .06em; }
.vsSeat span { font-family: var(--font-display); font-size: 30px; color: var(--gold); }

.vsMid { display: grid; gap: 8px; justify-items: center; }
.vsMid > span { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--purple-pale); }

.vsSceneSlot { min-height: 200px; display: grid; place-items: center; }
.vsScene__empty { color: var(--purple-pale); font-weight: 700; }

.vsCard {
  position: relative;
  width: 168px;
  border: var(--outline);
  border-radius: var(--r-md);
  background: #171225;
  color: #fff;
  padding: 0;
  font: inherit;
  text-align: left;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-ink-sm);
  transition: transform .16s cubic-bezier(.34,1.56,.64,1), box-shadow .16s;
}

.vsCard:not(:disabled):hover { transform: translateY(-8px) rotate(-1deg); box-shadow: var(--shadow-ink); }
.vsCard:disabled { cursor: default; }
.vsCard img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.vsCard--sm { width: 120px; }
.vsCard--scene { width: 190px; outline: 3px solid var(--gold); outline-offset: 3px; }

.vsCard--down { aspect-ratio: 168 / 210; background:
  repeating-linear-gradient(45deg, #241c3f 0 14px, #1b1430 14px 28px); }
.vsCard--down::after { content: "?"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 54px; color: var(--gold); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; }

.vsCard__plate { display: grid; gap: 3px; padding: 9px 11px 10px; }
.vsCard__plate b { font-family: var(--font-display); font-weight: 400; font-size: 13.5px; letter-spacing: .04em; line-height: 1.15; }
.vsCard__meta { display: flex; gap: 6px; align-items: center; font-size: 10.5px; font-weight: 800; color: var(--purple-pale); }

.dot { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); display: inline-block; }
.dot--Red { background: #e94057; } .dot--Orange { background: #ff8a2a; }
.dot--Yellow { background: #ffd400; } .dot--Green { background: #8ec95c; }
.dot--Blue { background: #35d6f5; } .dot--Indigo { background: #5865f2; }
.dot--Violet { background: #a06cf0; }

.vsRarity { padding: 1px 7px; border: 1.5px solid var(--ink); border-radius: 999px; font-size: 9.5px; }
.vsRarity--Rare { background: #bfe9ff; color: #0a2c3d; }
.vsRarity--Epic { background: #d8c9ff; color: #2a1a4d; }
.vsRarity--Artefact { background: var(--gold); color: var(--ink); }
.vsRarity--Legend { background: var(--hot); color: #fff; }

.vsHandRow { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.vsHand { display: flex; gap: 14px; flex-wrap: wrap; }

.vsLog {
  max-height: 170px;
  overflow-y: auto;
  padding: 12px 16px;
  border: 2.5px solid rgb(255 255 255 / 20%);
  border-radius: var(--r-md);
  background: rgb(0 0 0 / 22%);
  font-size: 13px;
  color: var(--purple-pale);
}

.vsLog p { margin: 0 0 6px; }
.vsLog b { color: #fff; }

.vsArena { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; gap: 10px; background: rgb(10 6 24 / 86%); backdrop-filter: blur(5px); padding: 20px; }
.vsArena[hidden] { display: none; }

.vsArena__in { display: flex; gap: 26px; align-items: center; }
.vsPlay { display: grid; gap: 8px; justify-items: center; }
.vsPlay > span { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--purple-pale); }
.vsVs { font-size: 44px; color: var(--gold); }

.vsClash { margin: 14px 0 0; font-size: 19px; font-weight: 800; color: #fff; text-align: center; }
.vsClash .ok { color: var(--good); } .vsClash .bad { color: var(--hot); }

.vsSceneWin {
  display: grid;
  gap: 16px;
  justify-items: center;
  padding: 26px;
  border: var(--outline);
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, #241c3f, #171225 60%);
  box-shadow: var(--shadow-soft), var(--shadow-ink);
  max-width: min(92vw, 720px);
}

.vsSceneWin h3 { color: var(--gold); font-size: 24px; }
.vsSceneChoices { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; max-height: 46vh; overflow-y: auto; }

@media (max-width: 880px) {
  .vsTop { grid-template-columns: minmax(0, 1fr); }
  .vsSeat--you { flex-direction: row; text-align: left; }
  .vsCard { width: 138px; }
  .vsCard--scene { width: 160px; }
  .vsArena__in { flex-direction: column; gap: 12px; }
  .vsVs { font-size: 30px; }
}

/* ── VS YOU! card anatomy v2 + choreography ────────────────────── */

.vsCard { transform-style: preserve-3d; will-change: transform; }

.vsCard__art { position: relative; display: block; overflow: hidden; }
.vsCard__art img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }

.vsCard__shine {
  position: absolute; inset: 0; --sx: 50%;
  background: radial-gradient(280px 280px at var(--sx) 10%, rgb(255 255 255 / 26%), transparent 60%);
  opacity: 0; transition: opacity .18s; pointer-events: none;
}
.vsCard:hover .vsCard__shine { opacity: 1; }

.vsCard__ribbon {
  position: absolute; top: 8px; left: -26px; z-index: 2;
  padding: 3px 30px; transform: rotate(-32deg);
  font-size: 8.5px; font-weight: 900; letter-spacing: .14em;
  border: 1.5px solid var(--ink); color: var(--ink);
}
.vsCard__ribbon--Scene { background: var(--gold); }
.vsCard__ribbon--Response { background: #cfd6e4; }

.vsCard__gem {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid var(--ink); box-shadow: 0 2px 0 var(--ink);
}

.vsCard__pow {
  position: absolute; right: 8px; top: 34px; z-index: 2;
  padding: 3px 8px; border: 2px solid var(--ink); border-radius: 999px;
  background: #10131b; color: var(--gold-hi);
  font-size: 12px; font-weight: 900; box-shadow: 0 2px 0 var(--ink);
}
.vsCard__pow--rex { background: var(--hot); color: #fff; animation: rexPulse 1s ease-in-out infinite; }
@keyframes rexPulse { 50% { transform: scale(1.15) rotate(-3deg); } }

/* rarity frames */
.vsCard[data-rarity="Rare"] { border-color: #7fd0f2; box-shadow: 0 4px 0 var(--ink), 0 0 14px rgb(53 214 245 / 35%); }
.vsCard[data-rarity="Epic"] { border-color: #a98df5; box-shadow: 0 4px 0 var(--ink), 0 0 16px rgb(124 108 240 / 45%); }
.vsCard[data-rarity="Artefact"] {
  border-color: var(--gold);
  box-shadow: 0 4px 0 var(--ink), 0 0 18px rgb(255 212 0 / 45%);
  background-image: linear-gradient(115deg, transparent 30%, rgb(255 232 115 / 14%) 45%, transparent 60%);
  background-size: 260% 100%;
  animation: foil 3.2s linear infinite;
}
@keyframes foil { to { background-position: -260% 0; } }
.vsCard[data-rarity="Legend"] {
  border-color: var(--hot);
  box-shadow: 0 4px 0 var(--ink), 0 0 22px rgb(255 45 85 / 55%);
  animation: legendGlow 1.6s ease-in-out infinite;
}
@keyframes legendGlow { 50% { box-shadow: 0 4px 0 var(--ink), 0 0 34px rgb(255 106 31 / 75%); } }

/* the seal card back */
.vsCard__back {
  display: grid; place-items: center; aspect-ratio: 168 / 232;
  background:
    radial-gradient(circle at 50% 46%, rgb(255 212 0 / 10%), transparent 55%),
    repeating-linear-gradient(45deg, #241c3f 0 14px, #1b1430 14px 28px);
}
.vsCard__back img { width: 62%; filter: drop-shadow(0 4px 8px rgb(0 0 0 / 55%)); }

/* deal / flip / slam / verdicts */
@media (prefers-reduced-motion: no-preference) {
  .vsCard--deal { animation: dealIn .5s cubic-bezier(.22,1.3,.36,1) backwards; }
  @keyframes dealIn {
    from { opacity: 0; transform: translate(48vw, -12vh) rotate(24deg) scale(.6); }
  }
  .vsCard--flipIn { animation: flipIn .32s ease-out; }
  @keyframes flipIn { from { transform: rotateY(90deg); } }
  .vsCard--flipOut { animation: flipOut .2s ease-in forwards; }
  @keyframes flipOut { to { transform: rotateY(90deg); } }
  .vsCard--slam { animation: slam .38s cubic-bezier(.22,1.4,.36,1); }
  @keyframes slam {
    0% { transform: translateY(40vh) scale(1.25) rotate(4deg); }
    70% { transform: translateY(-6px) scale(1.04); }
  }
  .vsHand .vsCard { animation-name: idleSway; animation-duration: 5s; animation-iteration-count: infinite; animation-delay: var(--idle-delay, 0s); }
  .vsHand .vsCard--deal { animation: dealIn .5s cubic-bezier(.22,1.3,.36,1) backwards, idleSway 5s ease-in-out .6s infinite; }
  @keyframes idleSway { 50% { translate: 0 -4px; rotate: .6deg; } }
}

.vsCard--won { outline: 4px solid var(--gold); outline-offset: 3px; animation: wonPulse .6s ease-out; z-index: 2; }
@keyframes wonPulse { 30% { transform: scale(1.1); } }
.vsCard--lost { filter: saturate(.35) brightness(.75); transform: rotate(3deg) translateY(6px); transition: all .4s; }

.vsCount {
  position: absolute; left: 50%; bottom: 42px; translate: -50% 0; z-index: 3;
  min-width: 44px; text-align: center;
  padding: 6px 12px; border: 3px solid var(--ink); border-radius: 999px;
  background: var(--gold); color: var(--ink);
  font-family: var(--font-display); font-size: 22px;
  box-shadow: 0 3px 0 var(--ink);
}
.vsCount--bump { animation: countBump .15s ease-out; }
@keyframes countBump { 50% { transform: scale(1.3); } }
.vsCount--rex { background: var(--hot); color: #fff; }

.vsChip {
  position: fixed; z-index: 200; width: 26px; height: 26px; border-radius: 50%;
  border: 3px solid var(--ink);
  background: radial-gradient(circle at 35% 30%, var(--gold-hi), var(--gold-lo));
  box-shadow: 0 3px 0 var(--ink);
  transition: transform .58s cubic-bezier(.4,.1,.2,1), opacity .58s;
  pointer-events: none;
}

.vsScore--bump { display: inline-block; animation: scoreBump .35s cubic-bezier(.34,1.8,.64,1); }
@keyframes scoreBump { 40% { transform: scale(1.5) rotate(-4deg); } }

.vsShake { animation: vsShakeA .35s; }
.vsShake--hard { animation: vsShakeA .55s; }
@keyframes vsShakeA {
  20% { transform: translate(-7px, 3px) rotate(-.4deg); }
  40% { transform: translate(6px, -4px) rotate(.4deg); }
  60% { transform: translate(-5px, 2px); }
  80% { transform: translate(4px, -2px); }
}

.vsRex {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 5;
  font-size: clamp(38px, 8vw, 90px); color: var(--gold);
  background: radial-gradient(circle, rgb(255 45 85 / 30%), transparent 70%);
  animation: rexIn .5s cubic-bezier(.22,1.6,.36,1);
  pointer-events: none;
}
@keyframes rexIn { from { transform: scale(.2) rotate(-8deg); opacity: 0; } }

.vsRain {
  position: fixed; top: -140px; z-index: 210; width: 74px;
  border: 2.5px solid var(--ink); border-radius: 8px;
  animation: rainFall var(--fall, 3s) linear forwards;
  pointer-events: none;
}
@keyframes rainFall { to { transform: translateY(120vh) rotate(var(--spin, 360deg)); } }

.vsBanner {
  position: fixed; top: 38%; left: 0; right: 0; z-index: 140;
  text-align: center; font-size: clamp(40px, 9vw, 96px); color: var(--gold);
  opacity: 0; pointer-events: none;
}
.vsBanner--go { animation: bannerSweep 1.1s cubic-bezier(.22,1,.36,1); }
@keyframes bannerSweep {
  0% { opacity: 0; transform: translateX(-40vw) skewX(-8deg); }
  25%, 60% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateX(40vw) skewX(8deg); }
}

/* ── PVP: lobby, codes, presence ─────────────────────────────────── */

.vsJoinRow {
  display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px;
  margin-top: 10px;
}
.vsJoinRow .btn { flex: 0 0 auto; }
.vsCodeIn {
  flex: 1 1 90px; min-width: 0; max-width: 130px;
  text-transform: uppercase; letter-spacing: .35em; text-align: center;
  font-weight: 800;
}

.vsCode {
  font-size: clamp(46px, 10vw, 84px); letter-spacing: .18em;
  color: var(--gold); margin: 6px 0 12px;
  text-shadow: 0 4px 0 var(--ink);
  user-select: all;
}
.vsLobbySub { font-size: 14px; opacity: .85; }
.vsLobbyWait { margin: 16px 0 10px; opacity: .9; }
.vsDots i { display: inline-block; animation: vsDotHop 1.2s infinite; font-style: normal; }
.vsDots i:nth-child(2) { animation-delay: .18s; }
.vsDots i:nth-child(3) { animation-delay: .36s; }
@keyframes vsDotHop { 30% { transform: translateY(-4px); } 60% { transform: none; } }

.vsTapHint {
  position: absolute; left: 0; right: 0; bottom: max(18px, env(safe-area-inset-bottom));
  text-align: center; font-size: 13px; letter-spacing: .08em; opacity: 0;
  color: var(--paper, #fff);
  animation: tapHintIn .5s ease .9s forwards;
  pointer-events: none;
}
@keyframes tapHintIn { to { opacity: .75; } }

.vsOverBtns {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 10px; margin-top: 14px;
}
.vsRematchNote { min-height: 1.2em; color: var(--gold-hi); }

@media (prefers-reduced-motion: reduce) {
  .vsDots i { animation: none; }
  .vsTapHint { animation: none; opacity: .75; }
}

/* ── story: the team ─────────────────────────────────────────────── */

.teamRow {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
}
.teamCard {
  background: var(--card, #12151d);
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 0 6px 0 var(--ink);
  padding: 18px 18px 14px;
  display: flex; flex-direction: column; gap: 6px;
}
.teamCard > b { font-size: 21px; letter-spacing: .02em; }
.teamCard__role {
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold);
}
.teamCard p { font-size: 14px; line-height: 1.5; opacity: .92; margin: 0; }
.teamCard__links { margin-top: auto; }
.teamCard__links a { font-weight: 700; }

/* ── story: the big moments ──────────────────────────────────────── */

.moments {
  display: grid; gap: 14px; margin: 26px 0 18px;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
}
.moment {
  background: rgb(0 0 0 / 26%);
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 0 6px 0 var(--ink);
  padding: 16px 16px 13px;
  display: flex; flex-direction: column; gap: 5px;
}
.moment__when {
  font-size: 12px; font-weight: 800; letter-spacing: .1em;
  color: var(--gold-hi);
}
.moment > b { font-size: 17px; }
.moment p { font-size: 14px; line-height: 1.5; margin: 0; opacity: .92; }

/* ── story: wellbeing directories ────────────────────────────────── */

.mhList { display: grid; gap: 10px; max-width: 900px; }
.mh {
  background: var(--card, #12151d);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 0 5px 0 var(--ink);
  overflow: hidden;
}
.mh summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px;
  cursor: pointer;
  font-size: 17px;
  list-style: none;
}
.mh summary::-webkit-details-marker { display: none; }
.mh summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 22px; line-height: 1;
  color: var(--gold);
  transition: transform .2s;
}
.mh[open] summary::after { transform: rotate(45deg); }
.mh summary span { font-size: 12px; opacity: .7; margin-left: auto; }
.mh ul { list-style: none; margin: 0; padding: 4px 18px 16px; display: grid; gap: 10px; }
.mh li { font-size: 14px; line-height: 1.5; }
.mh li b { display: inline; }
.mh li span { display: block; opacity: .78; font-size: 13.5px; }
@media (prefers-reduced-motion: reduce) { .mh summary::after { transition: none; } }

/* ── vote page: past results ─────────────────────────────────────── */

.voteBars { display: grid; gap: 10px; padding: 18px; }
.voteBar {
  display: grid; align-items: center; gap: 10px;
  /* the value column carries TWO lines now - the share on top, the
     Schmeckles and wallet count under it - so it needs room to breathe */
  grid-template-columns: minmax(110px, 160px) 1fr minmax(64px, 140px);
  font-size: 14px;
}
.voteBar span { overflow-wrap: anywhere; }
.voteBar i {
  display: block; height: 16px;
  width: var(--w, 0%);
  min-width: 3px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 3px 0 var(--ink);
}
.voteBar b { text-align: right; line-height: 1.25; }
/* the same three numbers the Owners' Room prints, so one vote never reads
   as two different results depending on which screen you are looking at */
.voteBar b em {
  display: block;
  font-style: normal; font-weight: 600;
  font-size: 11px; color: var(--muted);
  white-space: nowrap; letter-spacing: 0;
}
/* narrow phones: name and value on one line, the bar full-width beneath */
@media (max-width: 560px) {
  .voteBar { grid-template-columns: 1fr auto; }
  .voteBar i { grid-column: 1 / -1; order: 3; }
}

/* ── whitepaper page ─────────────────────────────────────────────── */

.paperFrame {
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 0 8px 0 var(--ink);
  overflow: hidden;
  background: var(--card, #12151d);
}
.paperFrame object { display: block; width: 100%; height: min(78vh, 900px); }
@media (max-width: 700px) { .paperFrame object { height: 60vh; } }

.paperLog {
  display: grid; gap: 18px; padding: 18px;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  font-size: 13.5px;
}
.paperLog__col { display: flex; flex-direction: column; gap: 4px; }
.paperLog__col b {
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 4px;
}
.paperLog__col span { opacity: .85; }
.paperLog__col i { font-style: normal; font-weight: 800; }

/* ── THE SCHMECKLES ARCADE: hub tiles, board, name claim ─────────── */

.arcTiles {
  display: grid; gap: 14px; margin-bottom: 22px;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 45%), 1fr));
  perspective: 900px;
}
.arcTile {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 16px 10px 13px;
  background:
    radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--tile) 38%, transparent), transparent 70%),
    var(--card, #12151d);
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 0 7px 0 var(--ink);
  cursor: pointer;
  color: inherit;
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s;
  overflow: hidden;
}
.arcTile::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / 14%) 46%, transparent 62%);
  transform: translateX(-120%);
  transition: transform .5s;
  pointer-events: none;
}
.arcTile:hover { transform: translateY(-6px) rotateX(5deg); box-shadow: 0 13px 0 var(--ink); }
.arcTile:hover::after { transform: translateX(120%); }
.arcTile:active { transform: translateY(-1px); box-shadow: 0 4px 0 var(--ink); }
.arcTile img {
  width: 58px; height: 58px; object-fit: contain;
  filter: drop-shadow(0 5px 4px rgb(0 0 0 / 45%));
  transition: transform .2s;
}
.arcTile:hover img { transform: scale(1.12) rotate(-4deg); }
.arcTile b { font-size: 16px; letter-spacing: .03em; }
.arcTile span { font-size: 11.5px; opacity: .75; text-align: center; line-height: 1.3; }
.arcTile.is-on {
  outline: 3px solid var(--tile);
  outline-offset: -3px;
  box-shadow: 0 7px 0 var(--ink), 0 0 26px color-mix(in srgb, var(--tile) 55%, transparent);
}

/* ── fullscreen play: the API where it exists, an immersive overlay
      where it doesn't (iPhone). Canvas letterboxes crisply either way. ── */

.cabinet canvas {
  display: block;
  margin: 0 auto;
  touch-action: none;          /* the game owns every gesture on its glass */
}
.arcTile, .btn, .cabTab, .iconBtn { touch-action: manipulation; }

.cabinet--immersive {
  position: fixed;
  inset: 0;
  z-index: 400;
  height: 100dvh;              /* tracks mobile browser chrome */
  border-radius: 0;
  padding:
    calc(env(safe-area-inset-top, 0px) + 6px)
    env(safe-area-inset-right, 0px)
    env(safe-area-inset-bottom, 0px)
    env(safe-area-inset-left, 0px);
  overscroll-behavior: contain; /* no pull-to-refresh mid-boss-fight */
}
.cabinet--immersive,
.cabinet:fullscreen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #06070b;
  border-color: transparent;
  box-shadow: none;
}
.cabinet:fullscreen { width: 100%; height: 100%; }
.cabinet--immersive canvas,
.cabinet:fullscreen canvas { margin: auto; }
html.has-immersive, html.has-immersive body { overflow: hidden; }

/* the crown of the arcade: same tile language, royal scale */
.arcTile--flagship {
  grid-column: 1 / -1;
  flex-direction: row;
  justify-content: flex-start;
  gap: 18px;
  padding: 18px 22px;
  text-decoration: none;
  background:
    radial-gradient(140% 130% at 12% 0%, color-mix(in srgb, var(--tile) 42%, transparent), transparent 65%),
    linear-gradient(115deg, #1a1430, var(--card, #12151d) 70%);
}
.arcTile--flagship img {
  width: 72px; height: 72px;
  animation: flagSeal 12s linear infinite;
}
@keyframes flagSeal { to { transform: rotate(360deg); } }
.arcTile--flagship:hover img { transform: none; }
.arcTile__flagText { display: grid; gap: 3px; text-align: left; min-width: 0; }
.arcTile__flagText b { font-size: clamp(19px, 2.6vw, 27px); color: var(--gold); letter-spacing: .03em; }
.arcTile__flagText span { font-size: 13px; opacity: .85; text-align: left; }
.arcTile__ribbon {
  position: absolute; top: 12px; right: -34px;
  transform: rotate(35deg);
  background: var(--tile);
  color: #fff;
  font-size: 10.5px; font-weight: 900; letter-spacing: .14em;
  padding: 4px 38px;
  border-top: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink);
}
.arcTile__go {
  margin-left: auto; flex: 0 0 auto;
  font-size: 17px; color: var(--gold);
  padding-right: 26px;
}
@media (max-width: 680px) {
  .arcTile--flagship { flex-wrap: wrap; }
  .arcTile__go { margin-left: 0; padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) { .arcTile--flagship img { animation: none; } }
@media (prefers-reduced-motion: reduce) {
  .arcTile, .arcTile::after, .arcTile img { transition: none; }
}

.arcadeGrid {
  display: grid; gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 250px);
  align-items: start;
}
@media (max-width: 860px) { .arcadeGrid { grid-template-columns: 1fr; } }

.arcadeBoard {
  background: var(--card, #12151d);
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 0 6px 0 var(--ink);
  padding: 16px;
}
.arcadeBoard > b { display: block; font-size: 17px; color: var(--gold); margin-bottom: 10px; }
.arcadeBoard ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: rank; }
.arcadeBoard li {
  display: flex; justify-content: space-between; gap: 10px;
  font-size: 13.5px; counter-increment: rank;
}
.arcadeBoard li::before {
  content: counter(rank);
  font-family: var(--font-display);
  color: var(--gold);
  min-width: 1.4em;
}
.arcadeBoard li span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arcadeBoard li:nth-child(1) { font-size: 15px; }
.boardEmpty { font-size: 13px; opacity: .7; }

.scoreClaim {
  position: fixed; inset: 0; z-index: 260;
  display: grid; place-items: center;
  background: rgb(4 5 9 / 72%);
  backdrop-filter: blur(3px);
}
/* the hidden attribute must beat the display:grid above — without this the
   panel ignores [hidden] entirely (equal specificity, later source order) */
.scoreClaim[hidden] { display: none !important; }

/* the weekly stream deserves front-door billing (James streams every week) */
.iconBtn--twitch {
  color: #d6c6ff;
  border-color: #6b4fbb;
  background: linear-gradient(180deg, rgb(100 65 165 / 34%), rgb(0 0 0 / 40%));
  text-decoration: none;
}
.iconBtn--twitch:hover { color: #fff; border-color: #9146ff; }
.iconBtn--twitch svg { fill: currentColor; }
/* ── the real Gilbert + Tobin terms, nested verbatim (disclaimers) ── */

.legalBox {
  border: var(--outline);
  border-radius: var(--r-md);
  background: linear-gradient(170deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow-ink-sm);
  margin-top: 18px;
}
.legalBox > summary {
  cursor: pointer;
  padding: 16px 18px;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--gold);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.legalBox > summary::-webkit-details-marker { display: none; }
.legalBox > summary::after { content: "+"; font-size: 22px; line-height: 1; }
.legalBox[open] > summary::after { content: "–"; }
.legalBox__body { padding: 0 18px 18px; }
.legalMeta { font-size: 12px; color: var(--dim); display: flex; gap: 14px; flex-wrap: wrap; margin: 0 0 10px; }
.legal { display: grid; gap: 8px; font-size: 14px; line-height: 1.62; color: var(--text); }
.legal h3, .legal h4 {
  font-family: var(--font-display);
  font-size: 14.5px;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-transform: uppercase;
  margin: 12px 0 0;
}
.legal p { margin: 0; }
.legal .ind { padding-left: 26px; }
.legal .ind2 { padding-left: 52px; }

/* the FX button's honest little voice (never a silent dead tap) */
.fxNote {
  position: fixed;
  bottom: 18px;
  left: 50%;
  translate: -50% 0;
  z-index: 320;
  padding: 10px 18px;
  border: var(--outline);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo));
  color: var(--ink);
  font-weight: 800;
  font-size: 13.5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.fxNote--on { opacity: 1; }

/* the squeeze band: full link row is still up but the wrap is narrow —
   Stream AND FX fold to icons or the nav pushes the page sideways
   (found in the wave-12 width sweep: 50px h-overflow at 900px) */
@media (max-width: 960px) and (min-width: 681px) {
  .iconBtn--twitch span, #fxToggle span { display: none; }
  .iconBtn--twitch, #fxToggle { padding: 8px 10px; }
}
@media (max-width: 680px) {
  /* phones: the stream button folds to its icon so the nav row never bursts */
  .iconBtn--twitch span { display: none; }
  .iconBtn--twitch { padding: 8px 10px; }
  /* the issuer/hex copy chips grow into honest touch targets */
  .hash button { min-width: 36px; min-height: 36px; }
  /* sub-16px inputs make iOS Safari zoom the page on focus — never */
  .vsSelect, .search input { font-size: 16px; }
}
@media (max-width: 380px) {
  /* the smallest phones: FX folds to its icon too, the wordmark breathes in */
  #fxToggle span { display: none; }
  #fxToggle { padding: 8px 10px; }
  .brand__word { font-size: 15px; }
}
.scoreClaim__panel {
  background: var(--card, #12151d);
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 0 10px 0 var(--ink);
  padding: 26px 28px;
  display: grid; gap: 12px; justify-items: center;
  width: min(360px, 92vw);
  text-align: center;
  animation: claimPop .4s cubic-bezier(.34,1.56,.64,1);
}
@keyframes claimPop { from { transform: scale(.6) rotate(-2deg); opacity: 0; } }
.scoreClaim__panel > b { font-size: 28px; color: var(--gold); }
.scoreClaim__panel input {
  width: 100%;
  background: rgb(0 0 0 / 30%);
  border: 3px solid var(--ink);
  border-radius: 10px;
  color: inherit;
  font: 800 18px/1.2 var(--font-ui, inherit);
  text-align: center;
  letter-spacing: .06em;
  padding: 10px;
}
.scoreClaim__row { display: flex; gap: 10px; }
@media (prefers-reduced-motion: reduce) { .scoreClaim__panel { animation: none; } }

/* ── the swap desk (get page) ────────────────────────────────────── */

.swapDesk {
  margin-top: 26px;
  background: var(--card, #12151d);
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 0 7px 0 var(--ink);
  padding: 20px 22px;
  display: grid; gap: 12px;
}
.swapDesk__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.swapDesk__head h2, .swapDesk__head h3 { font-size: 22px; }
.swapDesk__io {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  font-size: 15px;
}
.swapDesk__io label { display: inline-flex; align-items: center; gap: 8px; }
.swapDesk__io input {
  width: 110px;
  background: rgb(0 0 0 / 30%);
  border: 3px solid var(--ink);
  border-radius: 10px;
  color: inherit;
  font: 800 17px/1.2 inherit;
  text-align: right;
  padding: 8px 10px;
}
.swapDesk__io input::-webkit-outer-spin-button,
.swapDesk__io input::-webkit-inner-spin-button { -webkit-appearance: none; }
.swapDesk__arrow { font-size: 22px; color: var(--gold); font-weight: 900; }
.swapDesk__io #swapOut { color: var(--gold-hi); font-size: 19px; }
.swapDesk__meta { font-size: 13px; opacity: .85; min-height: 1.2em; }
.swapDesk__note { font-size: 12.5px; opacity: .7; margin: 18px 0 0; }

/* ── background decor v2: deck characters in the gutters ─────────── */

/* HARD GUARANTEE: content always paints above decor. Even if placement
   math ever goes wrong again, the words win — decor sits at z 0, every
   content column sits above it in its own stacking context. */
.field > .wrap,
.room > .wrap,
.hero > .wrap {
  position: relative;
  z-index: 1;
}

.srOnly {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.decorItem {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  filter: drop-shadow(0 10px 14px rgb(0 0 0 / 38%));
  animation: decorSway var(--dur, 8s) ease-in-out infinite alternate;
  opacity: .94;
}
.decorItem img { width: 100%; height: auto; display: block; }
/* a floating CARD is clickable (it opens the inspector); it lifts a
   little under the cursor so the affordance is felt, not guessed */
.decorItem--live { pointer-events: auto; cursor: pointer; }
.decorItem--live:hover { opacity: 1; filter: drop-shadow(0 14px 18px rgb(0 0 0 / 50%)); }
.decorItem--card img {
  border: 3px solid var(--ink);
  border-radius: 10px;
  box-shadow: 0 6px 0 var(--ink);
}
@keyframes decorSway {
  from { transform: translateY(-7px) rotate(var(--r0, -3deg)); }
  to { transform: translateY(9px) rotate(var(--r1, 3deg)); }
}
@media (prefers-reduced-motion: reduce) { .decorItem { animation: none; } }
