/* Direction: Blue Plate Special — a 1950s roadside diner on paper: booth-green menu board,
   ketchup-red order tickets, a blue-rimmed china plate for the wheel, slab-serif signage
   and a waitress's scrawl. Tokens and contrast ratios come from design/DIRECTION.md. */

@font-face { font-family: "Alfa Slab One"; src: url("/fonts/AlfaSlabOne-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("/fonts/Caveat-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Libre Franklin"; src: url("/fonts/LibreFranklin-Regular.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Libre Franklin"; src: url("/fonts/LibreFranklin-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Libre Franklin"; src: url("/fonts/LibreFranklin-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Libre Franklin"; src: url("/fonts/LibreFranklin-ExtraBold.woff2") format("woff2"); font-weight: 800 900; font-display: swap; }

:root {
  --paper: oklch(0.96 0.02 95);
  --paper-2: oklch(0.91 0.035 90);
  --ticket: oklch(0.99 0.008 95);
  --ink: oklch(0.25 0.03 165);
  --ink-soft: oklch(0.44 0.04 165);
  --booth: oklch(0.47 0.09 160);
  --booth-deep: oklch(0.36 0.07 160);
  --booth-light: oklch(0.86 0.06 160);
  --ketchup: oklch(0.52 0.19 29);
  --ketchup-deep: oklch(0.40 0.15 29);
  --mustard: oklch(0.84 0.14 90);
  --navy: oklch(0.36 0.09 255);
  --chalk: oklch(0.97 0.015 95);

  --sign: "Alfa Slab One", "Rockwell", "Roboto Slab", Georgia, serif;
  --body: "Libre Franklin", "Franklin Gothic Medium", "Avenir Next", "Segoe UI", sans-serif;
  --hand: "Caveat", "Marker Felt", "Bradley Hand", cursive;

  --step-xl: clamp(2.6rem, 12vw, 3.4rem);
  --step-l: clamp(2.2rem, 10vw, 2.75rem);
  --step-m: clamp(1.5rem, 6.4vw, 1.8rem);

  --gutter: 16px;
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
  font: 500 1rem/1.45 var(--body);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.board :focus-visible, .codebox :focus-visible { outline-color: var(--mustard); }

.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 10; background: var(--mustard); color: var(--ink); padding: 8px 12px; border-radius: 6px; font-weight: 800; }

main {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 20px max(var(--gutter), env(safe-area-inset-right)) calc(32px + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
  outline: none;
}
.screen { display: flex; flex-direction: column; gap: 18px; animation: rise 420ms var(--ease-out-expo) both; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ── type ─────────────────────────────────────── */
.eyebrow { margin: 0; font: 800 0.8125rem/1.2 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.eyebrow-soft { color: var(--ink-soft); }
.eyebrow-chalk { color: var(--chalk); }
.title { margin: 2px 0 0; font: 400 var(--step-m)/1.08 var(--sign); color: var(--ink); text-wrap: balance; }
.spin-sub { margin: 4px 0 0; color: var(--ink-soft); font-weight: 600; font-size: 0.9375rem; }
.fine { margin: 0; font-size: 0.875rem; color: var(--ink-soft); font-weight: 600; }
.scrawl { margin: 0; font: 700 1.6rem/1 var(--hand); color: var(--ketchup); }

/* ── menu board (brand moment) ───────────────── */
.board {
  margin: -20px calc(-1 * var(--gutter)) 0;
  background: var(--booth);
  color: var(--chalk);
  padding: 22px 24px 24px;
  position: relative;
}
.board::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -16px; height: 16px;
  background: conic-gradient(var(--ink) 25%, var(--chalk) 0 50%, var(--ink) 0 75%, var(--chalk) 0) 0 0 / 32px 32px;
}
.board + * { margin-top: 16px; }
.board-sm { padding: 18px 22px 18px; }
.open-tag { display: inline-block; margin: 0 0 12px; font: 800 0.8125rem/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink); background: var(--mustard); padding: 6px 10px; border-radius: 4px; }
/* Mustard on booth is 3.98:1, so the logo never drops below large-text size. */
.logo { margin: 0; font: 400 max(var(--step-xl), 2.4rem)/0.98 var(--sign); color: var(--chalk); }
.logo span { display: block; color: var(--mustard); }
.board-sm .logo { font-size: clamp(1.9rem, 9vw, 2.3rem); }
.board-sm .logo span { display: inline; }
.tagline { margin: 8px 0 0; font: 700 2rem/1 var(--hand); color: var(--chalk); transform: rotate(-3deg); transform-origin: left; }
.board-sm .tagline { font-size: 1.6rem; }

.checker { height: 16px; margin: -18px calc(-1 * var(--gutter)) 0; background: conic-gradient(var(--ink) 25%, var(--chalk) 0 50%, var(--ink) 0 75%, var(--chalk) 0) 0 0 / 32px 32px; }

.invite { margin: 4px 0 0; font-size: 1.125rem; line-height: 1.45; font-weight: 500; }
.invite b { color: var(--ketchup); font-weight: 800; }

.rules { list-style: none; padding: 0 4px; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.rules li { display: flex; align-items: baseline; gap: 10px; font-weight: 700; font-size: 1.0625rem; }
.rules b { font: 700 1.75rem/1 var(--hand); color: var(--ketchup); min-width: 1.4em; }

/* ── tickets & fields ─────────────────────────── */
.card { background: var(--ticket); color: var(--ink); border: 2px solid var(--ink); border-radius: 8px; padding: 18px; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.card-title { margin: 0; font: 400 var(--step-m)/1.1 var(--sign); color: var(--ink); padding-bottom: 10px; border-bottom: 2px dashed var(--ink-soft); }
.card-lede, .card-note { margin: 0; color: var(--ink-soft); font-size: 0.9375rem; font-weight: 600; }
.field-label { font-weight: 800; font-size: 0.9375rem; }
.field {
  width: 100%;
  font: 700 1.25rem/1.2 var(--body);
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 2.5px solid var(--ink);
  border-radius: 0;
  padding: 10px 4px;
}
.field::placeholder { color: var(--ink-soft); }
.field:focus-visible { outline: none; border-bottom: 3px solid var(--navy); box-shadow: 0 3px 0 var(--navy); }
.field-code { font: 400 1.75rem/1 var(--sign); letter-spacing: 0.24em; text-transform: uppercase; background: var(--paper-2); border-radius: 6px 6px 0 0; padding: 12px; }
.field-code::placeholder { color: var(--ink-soft); font: 600 1.05rem/1 var(--body); letter-spacing: 0; text-transform: none; }
.field-err { margin: 0; font-weight: 700; color: var(--ketchup-deep); min-height: 0; }
.field-err:empty { display: none; }
.field-err::before { content: "⚠ "; }
.mono-code { font-weight: 800; letter-spacing: 0.12em; color: var(--ink); }

/* ── buttons: primary (ketchup slab), secondary (ticket), link ── */
.btn {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 62px; width: 100%;
  padding: 12px 24px;
  border-radius: 8px;
  font: 400 1.3125rem/1.1 var(--sign);
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition: transform 120ms var(--ease-out-quart);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--ketchup); color: var(--chalk); box-shadow: inset 0 0 0 3px var(--ketchup), inset 0 0 0 5px var(--chalk); margin-top: 6px; }
.btn-primary:active { background: var(--ketchup-deep); box-shadow: inset 0 0 0 3px var(--ketchup-deep), inset 0 0 0 5px var(--chalk); }
.btn-primary:disabled { background: var(--paper-2); color: var(--ink-soft); box-shadow: none; outline: 2px dashed var(--ink-soft); outline-offset: -2px; cursor: progress; }
.btn-secondary { background: var(--ticket); color: var(--ink); box-shadow: inset 0 0 0 2.5px var(--ink); font: 800 1.125rem/1.1 var(--body); min-height: 54px; }
.btn-link { background: none; border: 0; padding: 6px 0; color: var(--chalk); text-decoration: underline; text-underline-offset: 3px; font-weight: 800; cursor: pointer; min-height: 44px; }

/* ── app banner ───────────────────────────────── */
.appbar {
  display: flex; align-items: center; gap: 10px;
  background: var(--ticket);
  color: var(--ink);
  padding: 10px max(var(--gutter), env(safe-area-inset-right)) 10px max(var(--gutter), env(safe-area-inset-left));
  padding-top: max(10px, env(safe-area-inset-top));
  border-bottom: 2px solid var(--ink);
}
.appbar img { border-radius: 10px; flex: none; }
.appbar p { margin: 0; flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.appbar strong { font-weight: 800; }
.appbar span { font-size: 0.8125rem; color: var(--ink-soft); }
.appbar-get { flex: none; background: var(--ink); color: var(--chalk); text-decoration: none; font-weight: 800; padding: 9px 14px; border-radius: 6px; font-size: 0.9375rem; }
.appbar-x { flex: none; background: none; border: 0; color: var(--ink-soft); font-size: 1rem; width: 44px; height: 44px; cursor: pointer; border-radius: 50%; }

/* ── lobby ────────────────────────────────────── */
.head { display: flex; flex-direction: column; }
.codebox { background: var(--booth); color: var(--chalk); border-radius: 10px; padding: 14px 16px 6px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.code-tiles { margin: 0; display: flex; gap: 2px; font: 400 clamp(2rem, 10vw, 2.5rem)/1.1 var(--sign); letter-spacing: 0.08em; color: var(--mustard); }
.code-tiles span { display: inline-block; }
.codebox .btn-link { align-self: stretch; text-align: right; border-top: 2px dashed var(--booth-light); margin-top: 6px; }
.check { background: var(--ticket); border: 2px solid var(--ink); border-radius: 6px; padding: 8px 14px 4px; }
.table-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--ink); padding-bottom: 6px; }
.table-head h2 { margin: 0; }
.players { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.players li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 2px dashed var(--paper-2); font-size: 1.0625rem; font-weight: 700; }
.players li:last-child { border-bottom: 0; }
.avatar { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-weight: 800; font-size: 0.9375rem; color: var(--chalk); }
.pname { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.pname small { color: var(--ink-soft); font-weight: 600; font-size: 0.8125rem; margin-left: 6px; }
.away { color: var(--ink-soft); font-size: 0.8125rem; font-weight: 600; font-style: italic; }
.token { flex: none; display: inline-block; font: 400 0.75rem/1 var(--sign); letter-spacing: 0.04em; padding: 3px 6px; border-radius: 4px; border: 2px solid var(--ketchup); color: var(--ketchup); transform: rotate(-4deg); }
.token-watch { font: italic 700 0.8125rem/1 var(--body); color: var(--ink-soft); border: 1.5px dashed var(--ink-soft); transform: none; padding: 4px 8px; }
.token-used { font: 700 0.8125rem/1 var(--body); color: var(--ink-soft); border: 0; transform: none; text-decoration: line-through; }

.waiting { margin: 4px 0 0; display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.loading { margin: 30vh 0 0; display: flex; gap: 10px; align-items: center; justify-content: center; color: var(--ink-soft); }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--ketchup); animation: chase 1.2s linear infinite; }
.dots i:nth-child(2) { animation-delay: 0.4s; }
.dots i:nth-child(3) { animation-delay: 0.8s; }
@keyframes chase { 0%, 60%, 100% { opacity: 0.25; } 20% { opacity: 1; } }

/* ── spin ─────────────────────────────────────── */
.screen-spin { gap: 14px; }
.spin-head { display: flex; flex-direction: column; gap: 10px; min-height: 72px; }
/* Kitchen timer: a striped bar that drains, seconds in slab type. */
.ring { display: flex; align-items: center; gap: 12px; }
.ring-bar { flex: 1; height: 16px; border: 2px solid var(--ink); border-radius: 4px; background: var(--ticket); overflow: hidden; }
.ring-fill { display: block; height: 100%; width: 100%; transform-origin: left; background: repeating-linear-gradient(-45deg, var(--ketchup) 0 8px, var(--ketchup-deep) 8px 16px); transition: transform 120ms linear; }
.ring-num { font: 400 1.6rem/1 var(--sign); color: var(--ketchup); font-variant-numeric: tabular-nums; min-width: 3ch; text-align: right; }

.stage { display: flex; flex-direction: column; gap: 14px; }
.wheel-wrap { width: min(100%, 360px); align-self: center; }
.stage.landed .wheel-wrap { width: min(56%, 210px); }
.wheel { width: 100%; height: auto; display: block; overflow: visible; }
.wheel text { font-family: var(--body); font-weight: 800; }
.hub-label { font-family: var(--hand) !important; font-weight: 700 !important; }
.pointer.nudge { animation: nudge 360ms var(--ease-out-quart); transform-box: fill-box; transform-origin: 50% 0; }
@keyframes nudge { 0% { rotate: 0deg; } 30% { rotate: -6deg; } 65% { rotate: 4deg; } 100% { rotate: 0deg; } }

.place-card { padding: 0; overflow: hidden; animation: card-in 280ms var(--ease-out-expo) both; position: relative; }
@keyframes card-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.photo { position: relative; background: linear-gradient(var(--mustard), oklch(0.79 0.11 70)); aspect-ratio: 16 / 7; border-bottom: 2px solid var(--ink); }
.photo-lg { aspect-ratio: 16 / 9; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-emoji { position: absolute; inset: 0; display: grid; place-items: center; font-size: 3.5rem; }
.credit { position: absolute; left: 10px; bottom: 10px; right: 10px; margin: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.credit span { background: var(--ink); color: var(--chalk); font-size: 0.75rem; font-weight: 600; padding: 3px 8px; border-radius: 4px; }
.credit a { color: var(--chalk); }
.place-body { padding: 14px 16px 16px; }
.place-name { margin: 0; font: 400 var(--step-m)/1.08 var(--sign); color: var(--ink); overflow-wrap: anywhere; }
.meta { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--ink-soft); font-size: 0.9375rem; font-weight: 600; }
.meta b { color: var(--ink); font-weight: 800; }

.stamp {
  position: absolute; top: 16px; right: 10px; margin: 0;
  font: 400 1.35rem/1 var(--sign); color: var(--ketchup);
  background: var(--ticket); border: 3px solid var(--ketchup); border-radius: 6px; padding: 6px 12px;
  transform: rotate(8deg);
  animation: slam 220ms var(--ease-out-quart) both;
}
@keyframes slam { from { opacity: 0; transform: scale(1.4) rotate(8deg); } to { opacity: 1; transform: scale(1) rotate(8deg); } }

.sync { margin: 0; background: var(--ticket); border: 2px solid var(--ink); border-radius: 6px; padding: 10px 14px; display: flex; justify-content: space-between; gap: 10px; font-size: 0.9375rem; font-weight: 700; color: var(--ink); }
.sync b { font: 400 1.1rem/1.2 var(--sign); color: var(--ketchup); font-variant-numeric: tabular-nums; }
.sync:empty { display: none; }
.notice { margin: 0; background: var(--mustard); color: var(--ink); border: 2px solid var(--ink); border-radius: 6px; padding: 12px 14px; font-weight: 700; display: flex; gap: 10px; }
.notice::before { content: "!"; flex: none; font: 400 1.35rem/1 var(--sign); }

.btn-veto {
  width: 100%; min-height: 92px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: var(--ketchup); color: var(--chalk);
  border: 0; border-radius: 10px;
  box-shadow: 0 6px 0 var(--ketchup-deep);
  cursor: pointer;
  transition: transform 90ms var(--ease-out-quart);
}
.btn-veto:active, .btn-veto.pressed { transform: translateY(4px) scale(0.97); box-shadow: 0 2px 0 var(--ketchup-deep); }
.veto-word { font: 400 2.6rem/1 var(--sign); }
.veto-sub { font-weight: 700; font-size: 0.875rem; }
.veto-86 { font: 700 1.5rem/1 var(--hand); }
.btn-veto:disabled { background: var(--paper-2); color: var(--ink-soft); box-shadow: none; cursor: default; outline: 2px dashed var(--ink-soft); outline-offset: -2px; }
.veto-note { margin: 12px 0 0; text-align: center; color: var(--ink-soft); font-weight: 600; }

.holders { display: flex; flex-direction: column; gap: 8px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; background: var(--ticket); border: 1.5px solid var(--ketchup); border-radius: 6px; padding: 3px 10px 3px 3px; font-size: 0.875rem; font-weight: 700; }
.chips li .avatar { width: 22px; height: 22px; font-size: 0.75rem; }
.chips li.spent { text-decoration: line-through; color: var(--ink-soft); border-color: var(--ink-soft); }
.chips li.watch { border: 1.5px dashed var(--ink-soft); color: var(--ink-soft); padding: 3px 10px; }

.powered { margin: 8px 0 0; font-size: 0.75rem; font-weight: 600; color: var(--ink-soft); text-align: right; }
.powered .gmaps-logo { height: 16px; width: auto; vertical-align: middle; }
.powered-stage { text-align: center; }

/* ── final ────────────────────────────────────── */
.head-final { text-align: center; align-items: center; margin: -20px calc(-1 * var(--gutter)) 0; padding: 18px 20px 20px; background: var(--booth); color: var(--chalk); gap: 4px; }
.head-final .spin-sub { color: var(--chalk); }
.scrawl-chalk { color: var(--chalk); font-size: 1.6rem; }
.final-stamp { margin: 0; font: 400 max(var(--step-l), 2.2rem)/1 var(--sign); color: var(--mustard); animation: stamp-in 320ms var(--ease-out-quart) both; }
@keyframes stamp-in { from { opacity: 0; transform: scale(1.4); } to { opacity: 1; transform: scale(1); } }
.head-final + .checker { margin-top: -18px; }
.result { padding: 0; overflow: hidden; border: 0; border-radius: 0; position: relative; padding-bottom: 12px;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 9px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 18px 9px repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - 9px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 18px 9px repeat-x; }
.result .photo { border-bottom: 0; }
.open { margin: 8px 0 0; color: var(--booth); font-weight: 800; font-size: 0.9375rem; }
.open.closed { color: var(--ketchup-deep); }
.address { margin: 6px 0 0; color: var(--ink-soft); font-size: 0.9375rem; }
.actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 0 16px 14px; }
.action {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ticket); color: var(--ink); border: 2px solid var(--ink); border-radius: 6px;
  min-height: 46px; padding: 8px 6px; text-decoration: none; text-align: center;
  font: 800 0.9375rem/1.15 var(--body); cursor: pointer;
}
.action span { font-size: 1rem; }
#act-dir { background: var(--ink); color: var(--chalk); order: -1; }
.hours { margin: 0 16px; padding: 10px 0; border-top: 2px dashed var(--paper-2); }
.hours summary { font-weight: 800; cursor: pointer; }
.hours ul { margin: 8px 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 0.875rem; }
.reviews { padding: 4px 16px 0; border-top: 2px dashed var(--paper-2); margin: 0; }
.reviews ul { list-style: none; margin: 0; padding: 0; }
.reviews li { padding: 12px 0; border-bottom: 1px solid var(--paper-2); font-size: 0.9375rem; }
.reviews li:last-child { border-bottom: 0; }
.rev-head { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; font-size: 0.8125rem; color: var(--ink-soft); }
.rev-head a, .rev-head b { color: var(--ink); font-weight: 800; }
.rev-stars { color: var(--ink); letter-spacing: 0.05em; }
.reviews p { margin: 4px 0 0; font-weight: 500; line-height: 1.45; }
.result .powered { padding: 0 16px 16px; }
.fine-final { text-align: center; margin-top: 6px; }

.confetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 9px; height: 14px; border-radius: 2px; animation: fall var(--d, 2.2s) var(--ease-out-quart) forwards; }
@keyframes fall { from { transform: translate(0, 0) rotate(0); opacity: 1; } to { transform: translate(var(--x, 0), 105vh) rotate(var(--r, 540deg)); opacity: 0.9; } }

/* ── toast ────────────────────────────────────── */
.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 5;
  width: min(calc(100% - 32px), 420px);
  transform: translateX(-50%);
  background: var(--mustard); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 6px; padding: 12px 16px;
  font-weight: 700;
  animation: toast-in 260ms var(--ease-out-expo) both;
}
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }
.noscript { background: var(--ticket); color: var(--ink); border: 2px solid var(--ink); padding: 16px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .confetti { display: none; }
}
