/* POINT FINGERS — styles. Mobile-first, portrait-first, 48px tap targets,
   themed popups only (no native grey menus). Edition skin via --ec.
   RESKIN v10 (Nov 15, 2026 — anime x techno cyberpunk / graffiti):
   violet-black base (#05050a page, #0b0b14 panels/cards, neon outline);
   gold stays the CTA colour; neon (magenta/cyan/lime/orange) is for
   accents, frames and motion. Sticker treatment everywhere: 2-3px solid
   outline + hard offset shadow, NO soft blur shadows anywhere. */
:root {
  /* --ec is the per-edition accent (set inline per screen/card from
     C.EDITIONS); --on-ec is the text colour that sits ON --ec, so a
     light edition colour (gold, sky, mint) gets dark text instead of
     unreadable white. Main text/button pairs measured >= 4.5:1. */
  --ec: #ffc531;
  --on-ec: #0b1e4b;
  --page: #05050a;
  --panel: #0b0b14;
  --navy: #0b1e4b;
  --navy-deep: #05050a;
  --navblue: #0b1e4b;
  --ink: #f7f4ec;
  --bg: #05050a;
  --card: #0b0b14;
  --card2: #141428;
  --input-bg: #12121f;
  --line: #33335c;
  --track: #262640;
  --muted: #b9c0e8;
  --plum: #0b0b14;
  --pink: #ff5da2;
  --magenta: #ff2e88;
  --cyan: #00e5ff;
  --lime: #c8ff00;
  --orange: #ff7a1a;
  --gold: #ffc531;
  --gold-deep: #e8a100;
  --gold-tint: #241a00;
  --gold-ink: #ffe08a;
  --yes: #4ade80;
  --no: #ff6b6b;
  --radius: 20px;
  /* Halftone-dot texture (subtle, on panels) — layered over panel
     backgrounds via background-image where a gradient is also set. */
  --halftone: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1.5px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { font-size: 16px; }
body {
  margin: 0; font-family: 'Archivo', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(180deg, #141428 0%, #0b0b14 45%, #05050a 100%) fixed; color: var(--ink); min-height: 100vh;
  overflow-x: hidden;
}
#app { max-width: 520px; margin: 0 auto; min-height: 100vh; background: transparent; overflow-x: clip; display: flex; flex-direction: column; }
/* Sweep-2 fix 5: #app is a flex column at least viewport-tall, so a
   .screen.game with flex:1 fills EXACTLY viewport-minus-header — no
   magic-number min-height to drift from the real header height. */
img { max-width: 100%; }
h1, h2, .logo, .brand, .point-num, .card-text, .big-btn, .ed-name, .award-title, .twist-burst, .point-label {
  font-family: 'Anton', 'Arial Narrow', Impact, sans-serif-condensed;
  letter-spacing: .03em; text-transform: uppercase;
}
h1, h2 { letter-spacing: .04em; }
button { font-family: inherit; cursor: pointer; }
button:disabled { opacity: .45; cursor: not-allowed; }
h1 { font-size: 1.7rem; margin: .4rem 0; }
h2 { font-size: 1.2rem; margin: 1.1rem 0 .4rem; }
h3 { font-size: 1.05rem; margin: .8rem 0 .3rem; }
.hint { color: var(--muted); font-size: .92rem; line-height: 1.45; }
.warn { color: var(--gold-ink); }
.error { color: var(--no); font-weight: 600; }
.fineprint { color: var(--muted); font-size: .8rem; line-height: 1.5; text-align: center; padding: 0 1rem; }

/* top bar */
.topbar { display: flex; align-items: center; justify-content: center; padding: .6rem .9rem; position: sticky; top: 0; background: var(--bg); border-bottom: 2px solid var(--line); z-index: 20; }
.brand { font-weight: 900; letter-spacing: .12em; color: var(--ec); font-size: 1.5rem; }
.icon-btn { min-width: 48px; min-height: 48px; font-size: 1.3rem; background: none; border: none; border-radius: 12px; }
.icon-btn:active { background: rgba(255,255,255,.14); }

.screen { padding: .4rem 1rem 2.5rem; }

/* buttons */
.big-btn {
  display: block; width: 100%; min-height: 56px; margin: .55rem 0; padding: .8rem 1rem;
  font-size: 1.25rem; font-weight: 800; border-radius: 16px; border: 3px solid var(--ec);
  background: var(--card); color: var(--ec); box-shadow: 4px 4px 0 #000;
}
.big-btn.primary { background: var(--ec); color: var(--on-ec); border-color: #000; box-shadow: 4px 4px 0 #000; }
.big-btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #000; }
/* Buttons audit (v10): every tappable is a <button> covered by the global
   vibrate listener + :active scale — this rule makes the coverage explicit
   for the five sticker tappables. The modal-veil backdrop dismiss is the
   one non-button tappable; it gets its own press visual below. */
.big-btn:active, .mini-btn:active, .chip-btn:active, .ed-card:active, .vote-face:active { transform: translate(2px, 2px) scale(.97); box-shadow: 2px 2px 0 #000; }
/* Dan (Nov 15): every button gives press feedback — a subtle shrink on tap,
   on top of the per-class :active rules (which win by specificity). */
button:active { transform: scale(.97); }
/* Dan (Nov 15 audit): tappables that are not <button> get the same press
   feedback — labels and the who-voted summary buzz via the delegated
   listener in app.js, and shrink here. */
.check:active, .photo-btn:active { transform: scale(.97); }
.who-voted summary:active { transform: scale(.98); }
.small-btn {
  min-height: 48px; padding: .6rem 1rem; font-size: 1rem; font-weight: 700;
  border-radius: 12px; border: 2px solid var(--ec); background: var(--card); color: var(--ec); box-shadow: 3px 3px 0 #000;
}
.mini-btn { min-height: 40px; padding: .35rem .7rem; font-size: .9rem; font-weight: 700; border-radius: 10px; border: 2px solid var(--ec); background: var(--card); color: var(--ec); box-shadow: 3px 3px 0 #000; }
.chip-btn {
  min-height: 48px; padding: .55rem .9rem; margin: .2rem; font-size: .98rem; font-weight: 700;
  border-radius: 999px; border: 2px solid var(--line); background: var(--card); color: var(--ink); box-shadow: 3px 3px 0 #000;
}
.chip-btn.sel { background: var(--ec); border-color: #000; color: var(--on-ec); }
/* Pack one-liners (Dan Nov 15: "no explanation for what you are picking"). */
.chip-desc { display: block; font-size: .72rem; font-weight: 400; color: var(--muted); margin-top: .1rem; }
.chip-btn.sel .chip-desc { color: var(--on-ec); opacity: .85; }
.chip-row { display: flex; flex-wrap: wrap; gap: .1rem; margin: .3rem 0; }
.check { display: flex; align-items: center; gap: .6rem; min-height: 48px; font-size: 1rem; font-weight: 600; }
.check input { width: 24px; height: 24px; accent-color: var(--ec); }
.text-input {
  width: 100%; min-height: 52px; padding: .7rem .9rem; margin: .35rem 0; font-size: 1.05rem;
  border: 2px solid var(--line); border-radius: 14px; background: var(--input-bg); color: var(--ink);
}
.text-input:focus { outline: 3px solid var(--ec); outline-offset: 1px; border-color: var(--ec); }
.field-row { margin: .7rem 0; }
.field-row > label { font-weight: 800; display: block; margin-bottom: .2rem; }

/* home — Nov 13, 2026 redesign: one logo, no top banner, fits 390x844.
   .screen.home is a full-height flex column. The fineprint line was
   removed Nov 13 ~00:40 EST (Dan: remove "clean rooms stay clean") —
   no fineprint on home; .fineprint still lives on setup/join/awards.
   Measured stack at 390x844 (root 16px): logo-block ~211 + actions
   ~278 + padding ~38 = ~527px < 844. */
.screen.home { display: flex; flex-direction: column; min-height: 100vh; padding-top: 1rem; padding-bottom: 1.4rem; justify-content: space-evenly; }
.home-strip { text-align: center; font-weight: 800; font-size: .95rem; color: var(--muted); letter-spacing: .02em; padding: .6rem .4rem; border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.logo-block { text-align: center; padding: .8rem 0 .3rem; }
.logo {
  font-size: 2rem; font-weight: 900; line-height: .95; letter-spacing: .02em;
  color: var(--ec); text-shadow: 3px 3px 0 #000; margin-bottom: .45rem;
}
.tagline { font-size: 1.1rem; color: var(--muted); margin: .6rem 0 .5rem; }
.ed-line { font-size: .95rem; font-weight: 700; color: var(--muted); margin: .2rem 0; letter-spacing: .04em; }
.ed-strip { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.ed-chip { border: 2px solid; border-radius: 999px; padding: .3rem .7rem; font-weight: 800; font-size: .85rem; background: var(--card); }
.home-actions { margin-top: .8rem; }
.home-actions .big-btn { margin: .45rem 0; }
.home-row { display: flex; gap: .5rem; justify-content: center; margin-top: .4rem; }

/* Scroll arrow — on brand (reskin, Nov 15, 2026): neon magenta #ff2e88
   chevron in a violet-black pill (var(--card)), 2px magenta outline,
   hard offset shadow, no blur — the same sticker treatment as the
   rest of the reskin. Fixed reskin tokens, NOT the per-edition --ec:
   the arrow is brand chrome, so it never changes colour with the
   edition. Shows only while the active scroll container has more
   below (.on toggled from scroll/resize); a real button, tap scrolls
   down ~60% of the visible height. z 60 sits above the modal veil
   (50) and below the toast (100). Reduced motion: no bob. */
.pf-scroll-arrow {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
  z-index: 60; width: 44px; height: 32px; border-radius: 999px;
  background: var(--card); border: 2px solid #ff2e88; color: #ff2e88;
  font-size: 20px; font-weight: 900; line-height: 1; padding: 0 0 2px;
  display: none; align-items: center; justify-content: center;
  box-shadow: 3px 3px 0 #000;
}
.pf-scroll-arrow.on { display: flex; animation: pf-hint-bob 1.7s ease-in-out infinite; }
@keyframes pf-hint-bob { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .pf-scroll-arrow.on { animation: none; } }

/* edition picker */
.ed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.ed-card {
  text-align: left; padding: .8rem; border-radius: 16px; border: 3px solid var(--ec);
  background: var(--card); background-image: var(--halftone); background-size: 12px 12px;
  color: var(--ink); min-height: 96px; display: flex; flex-direction: column; gap: .15rem;
  box-shadow: 4px 4px 0 #000;
}
.ed-card.sel { background: var(--ec); background-image: none; color: var(--on-ec); box-shadow: 4px 4px 0 #000; }
.ed-card.sel .ed-ages, .ed-card.sel .ed-promise { color: var(--on-ec); }
/* Host Pass gate (Nov 15, 2026): pass editions show a 🎟️, never the 18+ 🔒. */
.ed-card.pass-locked { border-style: dashed; opacity: .85; }
.ed-name { font-weight: 900; font-size: 1.05rem; }
.host-line { display: flex; align-items: center; gap: .6rem; }
.host-line .face { flex: none; }
.host-line span { flex: 1; }
.ed-ages { font-size: .8rem; font-weight: 700; opacity: .75; }
.ed-promise { font-size: .82rem; line-height: 1.3; opacity: .85; }
.gate-box { background: var(--gold-tint); border: 2px solid var(--gold); border-radius: 14px; padding: .7rem .9rem; margin: .6rem 0; box-shadow: 3px 3px 0 #000; }

/* profiles */
.avatar-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .4rem; margin: .4rem 0; }
.avatar-pick { min-width: 48px; min-height: 48px; font-size: 1.6rem; border-radius: 50%; border: 3px solid transparent; padding: 0; position: relative; }
/* Selected avatar must be unmistakable (Dan, Nov 13 2026): white ring +
   accent outer ring + lift + a check badge. Every avatar already shows a
   coloured ring from its own background, so a border-colour change alone
   does not read as "selected". */
.avatar-pick.sel { border-color: #fff; box-shadow: 0 0 0 3px var(--ec), 4px 4px 0 #000; transform: scale(1.15); z-index: 1; }
.avatar-pick.sel::after { content: '✓'; position: absolute; right: 0; bottom: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--ec); color: var(--on-ec); font-size: 13px; font-weight: 900; line-height: 22px; text-align: center; border: 2px solid #fff; box-shadow: 2px 2px 0 #000; }
.avatar-pick { overflow: hidden; }
.avatar-pick img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-btn { display: inline-flex; min-height: 48px; align-items: center; padding: .5rem .9rem; border: 2px dashed var(--ec); border-radius: 12px; font-weight: 700; color: var(--ec); cursor: pointer; }
.photo-preview { display: flex; align-items: center; gap: .7rem; margin: .4rem 0; }
.bio-count { text-align: right; color: var(--muted); font-size: .85rem; }
.face { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 1.9rem; overflow: hidden; flex: none; }
.face.photo img { width: 100%; height: 100%; object-fit: cover; }

/* join */
.pin-display { font-size: 2.6rem; font-weight: 900; letter-spacing: .35em; text-align: center; margin: 1rem 0; font-variant-numeric: tabular-nums; }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; max-width: 340px; margin: 0 auto; }
.key { min-height: 64px; font-size: 1.6rem; font-weight: 800; border-radius: 16px; border: 2px solid var(--line); background: var(--card); color: var(--ink); box-shadow: 3px 3px 0 #000; }
.key.go { background: var(--ec); color: var(--on-ec); border-color: var(--ec); }
/* Join screen sustained motion (Dan Nov 15 sweep): after the 600ms
   entrance the join screen sat still while every other screen keeps
   moving. The PIN display breathes a slow gold ring, and the avatar
   grid gently bobs — both existing anime keyframes (pf-join-ring,
   pf-idle), looped. Transform-only on the grid, so the avatar
   buttons keep their own press states. */
.screen.join .pin-display { animation: pf-join-ring 2.6s ease-out infinite; }
.screen.join .avatar-grid { animation: pf-idle 5s ease-in-out infinite; }
/* Sweep-2 fix 7: the PIN step is short — centre its block in the screen
   instead of leaving ~35% empty below the keypad. flex:1 stretches the
   main to the viewport (see #app); the confirm step is taller than the
   viewport and never gets this class. */
.screen.join-pin { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; }

/* lobby */
.lobby-head { text-align: center; }
.ed-badge { display: inline-block; color: var(--on-ec, #fff); font-weight: 900; letter-spacing: .1em; padding: .35rem .8rem; border-radius: 999px; font-size: .85rem; }
.pin-box { text-align: center; background: var(--card); background-image: var(--halftone); background-size: 12px 12px; border: 3px dashed var(--ec); border-radius: var(--radius); padding: 1rem; margin: .8rem 0; box-shadow: 4px 4px 0 #000; }
.pin-label { font-size: .8rem; font-weight: 800; letter-spacing: .2em; color: var(--muted); }
.pin-big { font-size: 3rem; font-weight: 900; letter-spacing: .25em; }
.pin-actions { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-top: .5rem; }
.player-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.lobby-face { background: var(--card); border: 2px solid var(--line); border-radius: 16px; padding: .6rem .3rem; display: flex; flex-direction: column; align-items: center; gap: .3rem; min-height: 110px; box-shadow: 3px 3px 0 #000; }
.lf-name { font-weight: 800; font-size: .95rem; max-width: 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lf-team { color: #fff; font-size: .72rem; font-weight: 800; padding: .15rem .5rem; border-radius: 999px; }
.custom-box { background: var(--card); background-image: var(--halftone); background-size: 12px 12px; border: 2px solid var(--line); border-radius: var(--radius); padding: .9rem; margin: 1rem 0; box-shadow: 4px 4px 0 #000; }
.custom-row { display: flex; gap: .5rem; }
.custom-row .text-input { flex: 1; }
.approve-queue { margin-top: .7rem; }
.queue-item { display: flex; gap: .5rem; align-items: center; justify-content: space-between; background: var(--card2); border-radius: 10px; padding: .5rem .6rem; margin: .35rem 0; }
.queue-item span { flex: 1; }

/* game chrome */
.game-top { display: flex; align-items: center; gap: .6rem; margin: .3rem 0 .6rem; }
.round-label { font-weight: 800; }
.timer-ring {
  margin-left: auto; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.2rem; color: #fff; background: conic-gradient(var(--ec) calc(var(--p, 100) * 1%), var(--track) 0);
  border: 2px solid #000; box-shadow: 0 0 0 2px var(--cyan), 3px 3px 0 #000;
}
.timer-ring span { background: var(--plum); width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.timer-ring.urgent span { background: #dc2626; animation: pulse 1s infinite; }
@keyframes pulse { 50% { transform: scale(1.12); } }
.hype-meter { display: flex; align-items: center; gap: .5rem; margin: .2rem 0 .6rem; }
.hype-bar { flex: 1; height: 10px; background: var(--track); border-radius: 999px; overflow: hidden; }
.hype-bar div { height: 100%; background: linear-gradient(90deg, #ffc531, #ff5da2, #ff4d6d); transition: width .5s; }
.host-line {
  display: flex; gap: .6rem; align-items: flex-start; background: var(--plum); color: var(--ink);
  border: 2px solid rgba(255,197,49,.55); border-radius: 16px; padding: .8rem .9rem; margin: .5rem 0; font-size: 1rem; line-height: 1.4; box-shadow: 3px 3px 0 #000;
}
.host-ava { font-size: 1.4rem; }
.host-line .mini-btn { margin-left: auto; border-color: var(--gold); color: var(--gold-ink); background: transparent; }
.conn-banner { background: var(--gold-tint); border: 2px solid var(--gold); color: var(--gold-ink); border-radius: 10px; padding: .5rem .8rem; text-align: center; font-weight: 700; margin: .4rem 0; box-shadow: 3px 3px 0 #000; }

/* cards + flip */
.deck-row { display: flex; justify-content: space-between; align-items: center; margin: .4rem 0; }
.mini-deck { font-weight: 800; }
.flip-stage { perspective: 900px; margin: 1rem 0; }
.card {
  background: var(--card); background-image: var(--halftone), linear-gradient(180deg, #17172b 0%, #0b0b14 100%); background-size: 12px 12px, auto; border-radius: 24px; border: 3px solid var(--ec); padding: 1.2rem;
  min-height: 300px; display: flex; flex-direction: column; box-shadow: 6px 6px 0 #000;
}
.card.flip-in { animation: flipIn .9s cubic-bezier(.2, .7, .3, 1.2); transform-style: preserve-3d; }
@keyframes flipIn {
  0% { transform: rotateY(90deg) scale(.85); opacity: 0; }
  60% { transform: rotateY(-8deg) scale(1.03); opacity: 1; }
  100% { transform: rotateY(0) scale(1); }
}
.card-band { display: inline-block; font-weight: 900; letter-spacing: .12em; color: var(--ec); font-size: .85rem; padding: .3rem .8rem; border: 2px solid var(--ec); border-radius: 999px; background: var(--panel); }
.card-type { font-weight: 900; font-size: 1rem; color: var(--muted); margin-top: .4rem; }
.card-text { font-family: 'Anton', 'Arial Narrow', Impact, sans-serif-condensed; font-size: 1.75rem; font-weight: 400; line-height: 1.25; margin: auto 0; text-align: center; letter-spacing: .02em; }
.card-custom { text-align: center; color: var(--muted); font-size: .85rem; }
.card-mini { background: var(--card); background-image: var(--halftone); background-size: 12px 12px; border: 3px solid var(--ec); border-radius: 18px; padding: .9rem 1rem; margin: .6rem 0; box-shadow: 4px 4px 0 #000; }
.card-mini .card-text { font-size: 1.75rem; margin: .5rem 0 .3rem; }
/* Per-type neon bands (v10 §4) — the band class lands on the .card-mini
   (or on the .card-band itself); the pill takes the type colour with
   black text (all >= 4.5:1 on their band colour) and the card outline
   follows the band. Labels ("MOST LIKELY TO…", "YES OR NO", "KNOW ME",
   "DUEL") come from the markup. */
.band-classic .card-band, .card-band.band-classic { background: var(--magenta); border-color: #000; color: #05050a; }
.band-yesno .card-band, .card-band.band-yesno { background: var(--cyan); border-color: #000; color: #05050a; }
.band-knowme .card-band, .card-band.band-knowme { background: var(--gold); border-color: #000; color: #05050a; }
.band-duel .card-band, .card-band.band-duel { background: var(--orange); border-color: #000; color: #05050a; }
.band-stakes .card-band, .card-band.band-stakes { background: var(--lime); border-color: #000; color: #05050a; }
/* Edition·pack secondary text inside the band — same ink (black on the bright band keeps 5.8:1+), smaller and lighter. */
.card-band .band-sub { font-size: .72rem; font-weight: 700; letter-spacing: .08em; margin-left: .45rem; }
.card-mini.band-classic { border-color: var(--magenta); }
.card-mini.band-yesno { border-color: var(--cyan); }
.card-mini.band-knowme { border-color: var(--gold); }
.card-mini.band-duel { border-color: var(--orange); }
.card-mini.band-stakes { border-color: var(--lime); }
/* Edition · pack line inside a question card renders in secondary. */
.card-mini .card-type, .card-mini .card-custom { color: var(--muted); }
.twist-announce { text-align: center; padding: 1rem 0; }
.twist-burst { font-size: 2.6rem; font-weight: 900; animation: burst 1s ease infinite alternate; }
@keyframes burst { to { transform: scale(1.08) rotate(-2deg); } }
.twist-tag { background: var(--gold-tint); border: 2px solid var(--gold); color: var(--gold-ink); border-radius: 12px; padding: .5rem; font-weight: 800; text-align: center; margin: .4rem 0; }

/* voting */
.vote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin: .7rem 0; }
/* Voting / Point! fill the phone (Dan Nov 15 sweep): on a 390x844
   phone the question card + faces ended at ~60% height, leaving the
   bottom third empty purple. The game screen is now a flex column at
   least viewport-tall; the vote grid grows into the spare space with
   its faces centred in it, the pass/voter-pick screens centre
   themselves the same way, and the Point! screen centres its
   countdown. Faces are roomier too (108 -> 132px min-height).
   flex:1 only ADDS spare space — a 12-player grid keeps its natural
   height, so nothing overflows that didn't before. */
.screen.game { display: flex; flex-direction: column; flex: 1 0 auto; min-height: 0; }
.screen.game > .vote-grid { flex: 1; align-content: center; }
.screen.game > .voter-pick, .screen.game > .pass-screen { flex: 1; display: flex; flex-direction: column; justify-content: center; }
/* Sweep-2 fix 7: the voter-pick heading sat mid-screen (the block
   centred itself in the spare space, leaving a dead band between the
   question card and "WHO'S VOTING?"). Pull the heading up under the
   card; the face grid grows into the rest of the space instead. The
   pass screen stays centred — it is a privacy screen, not a list. */
.screen.game > .voter-pick { justify-content: flex-start; padding-top: .4rem; }
.screen.game > .voter-pick .vote-grid { flex: 1; align-content: center; }
.screen.game > .point-screen { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.vote-cell { position: relative; }
.vote-face {
  width: 100%; background: var(--card); border: 3px solid var(--line); border-radius: 16px; padding: .6rem .2rem;
  display: flex; flex-direction: column; align-items: center; gap: .25rem; min-height: 132px;
  color: var(--ink); box-shadow: 3px 3px 0 #000; /* buttons default to black text — names were unreadable on dark */
}
.vote-face .face { border: 2px solid #000; box-shadow: 2px 2px 0 #000; }
.vote-face.picked { border-color: var(--ec); background: color-mix(in srgb, var(--ec) 14%, var(--card)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ec) 35%, transparent), 3px 3px 0 #000; }
.vf-name { font-weight: 800; font-size: .92rem; max-width: 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vf-team { color: #fff; font-size: .68rem; font-weight: 800; padding: .1rem .45rem; border-radius: 999px; }
.bio-dot { position: absolute; top: 4px; right: 6px; width: 32px; height: 32px; border-radius: 50%; border: none; background: rgba(255,255,255,.16); font-size: 1rem; }
.vote-progress { margin: .6rem 0; font-weight: 700; }
.vp-bar { height: 10px; background: var(--track); border-radius: 999px; overflow: hidden; margin-top: .3rem; }
.vp-bar div { height: 100%; background: var(--ec); transition: width .4s; }
.yn-row { display: flex; gap: .6rem; margin: .8rem 0; }
.yn-btn { flex: 1; min-height: 64px; font-size: 1.2rem; font-weight: 900; border-radius: 16px; border: 3px solid; background: var(--card); box-shadow: 4px 4px 0 #000; }
.yn-btn.yes { border-color: #22c55e; color: var(--yes); }
.yn-btn.no { border-color: #ef4444; color: var(--no); }
.yn-btn.sel.yes { background: #22c55e; color: #02210f; }
.yn-btn.sel.no { background: #ef4444; color: #1c0208; }
.yn-result { display: flex; gap: .6rem; margin: .8rem 0; }
.yn-count { flex: 1; text-align: center; font-weight: 900; font-size: 1.2rem; padding: .8rem; border-radius: 14px; }
.yn-count.yes { background: #052e16; color: var(--yes); }
.yn-count.no { background: #2b0505; color: var(--no); }
.opt-list { display: flex; flex-direction: column; gap: .55rem; margin: .8rem 0; }
.opt-btn { min-height: 56px; font-size: 1.1rem; font-weight: 800; border-radius: 14px; border: 2px solid var(--ec); background: var(--card); color: var(--ink); padding: .6rem; box-shadow: 3px 3px 0 #000; }
.opt-btn.sel { background: var(--ec); color: var(--on-ec); }
.spotlight-big { font-size: 3rem; text-align: center; }
.km-answer { background: var(--gold-tint); border: 2px solid var(--gold); color: var(--gold-ink); border-radius: 14px; padding: .9rem; font-size: 1.15rem; text-align: center; margin: .7rem 0; }
.waiting-dots span { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--ec); margin: 0 3px; animation: bounce 1s infinite; }
.waiting-dots span:nth-child(2) { animation-delay: .15s; }
.waiting-dots span:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 50% { transform: translateY(-8px); } }
.duel-faces { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: .6rem; }
.vs { font-weight: 900; font-size: 1.3rem; color: var(--ec); }
.duel-result { display: flex; align-items: center; justify-content: space-around; margin: .8rem 0; }
.duelist { display: flex; flex-direction: column; align-items: center; gap: .4rem; font-weight: 800; opacity: .6; position: relative; }
.duelist.win { opacity: 1; }
.duelist.win .face { box-shadow: 0 0 0 4px #ffc531; }

/* reveal */
.bars { margin: .8rem 0; }
.bar-row { display: flex; align-items: center; gap: .6rem; margin: .45rem 0; background: var(--card); border: 2px solid var(--line); border-radius: 12px; padding: .4rem .6rem; position: relative; box-shadow: 3px 3px 0 #000; }
.bar-row.winner { border: 2px solid var(--gold); background: var(--gold-tint); }
.bar-name { font-weight: 800; flex: 0 1 150px; min-width: 0; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { flex: 1; height: 16px; background: var(--track); border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--ec); border-radius: 999px; }
.bar-count { font-weight: 900; min-width: 24px; text-align: right; }
.crown-banner, .tie-banner, .unanimous {
  text-align: center; font-size: 1.25rem; font-weight: 900; padding: .9rem; border-radius: 16px; margin: .6rem 0;
  background: var(--gold-tint); border: 2px solid var(--gold); color: var(--gold-ink);
}
.unanimous { background: var(--plum); color: var(--gold-ink); border-color: var(--gold); animation: burst 1s ease infinite alternate; }
.tie-banner { background: var(--card); border-color: var(--ec); }
.crown-banner span, .tie-banner span, .unanimous span { font-size: 1rem; font-weight: 600; }
.who-voted { margin: .6rem 0; background: var(--card); border: 2px solid var(--line); border-radius: 12px; padding: .6rem .8rem; box-shadow: 3px 3px 0 #000; }
.who-voted summary { font-weight: 800; cursor: pointer; min-height: 32px; }
.wv-row { padding: .25rem 0; border-top: 1px solid var(--line); }
.reaction-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin: .8rem 0 .3rem; }
.react-btn { min-height: 56px; font-size: 1rem; font-weight: 800; border-radius: 14px; border: 2px solid var(--line); background: var(--card); color: var(--ink); box-shadow: 3px 3px 0 #000; }
.react-btn:active { background: var(--ec); color: var(--on-ec); border-color: var(--ec); }
.reaction-counts { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .9rem; color: var(--muted); }
/* Dan (Nov 15): a reaction must DO something — a big anime face pops
   with speed lines and floats up on every phone when one lands
   (rendered only on the fresh reaction). */
.pf-react-burst { position: fixed; left: 50%; top: 38%; transform: translate(-50%, -50%); z-index: 60; pointer-events: none; animation: pf-react-burst 1.2s ease-out forwards; }
.pf-react-burst .anime-face { width: 120px; height: 120px; display: block; filter: drop-shadow(4px 4px 0 #000); }
.pf-react-speed { position: absolute; inset: -46px; border-radius: 50%; background: repeating-conic-gradient(var(--cyan) 0 3deg, transparent 3deg 16deg); -webkit-mask: radial-gradient(circle, transparent 44%, #000 48%); mask: radial-gradient(circle, transparent 44%, #000 48%); animation: pf-react-spin 1.2s linear forwards; }
.pf-react-burst { background: var(--panel); border: 3px solid var(--cyan); border-radius: 50%; padding: .4rem; box-shadow: 4px 4px 0 #000; }
/* Anime reaction faces: drawn SVG, sized by context. */
.react-btn .anime-face { width: 1.7em; height: 1.7em; vertical-align: -0.45em; margin-right: .15em; }
.reaction-counts .anime-face { width: 1.15em; height: 1.15em; vertical-align: -0.2em; }
/* Reactions rework (Dan Nov 15): your pick is unmissable — the button
   you tapped stays gold with a ★ You tag until you tap another face;
   the burst names the reactor; the mine-line survives the 1.3s burst. */
.react-btn.react-mine { border-color: var(--gold); background: var(--gold-tint); box-shadow: 3px 3px 0 #000, 0 0 0 2px var(--gold); transform: scale(1.04); }
.react-mine-tag { display: block; font-size: .72rem; font-weight: 900; color: var(--gold-ink); letter-spacing: .02em; }
.pf-react-burst-name { display: block; margin-top: .3rem; font-weight: 900; font-size: 1.05rem; text-align: center; background: var(--panel); border: 2px solid var(--line); border-radius: 999px; padding: .15rem .7rem; box-shadow: 2px 2px 0 #000; white-space: nowrap; }
.pf-react-mine { font-weight: 800; margin: .45rem 0 .1rem; }
.pf-react-mine .anime-face { width: 1.4em; height: 1.4em; vertical-align: -0.3em; }
.pf-react-mine-none { font-weight: 700; color: var(--muted); }
.pf-react-awards { font-weight: 700; }
/* Card effects: the latest reaction lands on the exposed player's row. */
.pf-fx-badge { position: absolute; left: 30px; top: -8px; width: 26px; height: 26px; z-index: 3; pointer-events: none; }
.pf-fx-badge svg { width: 100%; height: 100%; }
.pf-fx-fire { box-shadow: 0 0 0 2px #ff7a1a, 4px 4px 0 #000; }
.pf-fx-fire .pf-fx-badge { animation: pf-fx-fire-glow 1s ease-in-out infinite alternate; }
.pf-fx-boo { animation: pf-fx-shake .45s ease-in-out 2; }
.pf-fx-laugh .pf-fx-badge { animation: pf-fx-pop .8s ease-in-out infinite alternate; }
.pf-fx-gasp .pf-fx-badge { animation: pf-fx-bob 1s ease-in-out infinite alternate; }
.guilty-row { display: flex; gap: .6rem; margin: .6rem 0; }
.bluff-reveal { background: var(--card2); border-radius: 14px; padding: .8rem; margin: .7rem 0; }
.bluff-line { padding: .3rem 0; border-top: 1px solid var(--line); }

/* stakes / wheel */
.stakes-card { background: var(--card); background-image: var(--halftone), linear-gradient(180deg, #17172b 0%, #0b0b14 100%); background-size: 12px 12px, auto; border: 3px solid var(--ec); border-radius: 24px; padding: 1.2rem; min-height: 220px; display: flex; flex-direction: column; box-shadow: 6px 6px 0 #000; }
/* Stakes scoring (v1.5.5): the completed-dare points land BIG and gold,
   popping in — the player must SEE the +N, not just find it on a board. */
.stakes-points { font-size: 3rem; font-weight: 900; color: #ffc531; text-align: center; line-height: 1.1; margin: .5rem 0 0; text-shadow: 0 2px 0 #000, 0 0 24px rgba(255, 197, 49, .55); animation: pf-stakes-points .8s ease-out; }
.stakes-score-line { font-weight: 700; }
.wheel { position: relative; width: 260px; height: 260px; margin: 1rem auto; border-radius: 50%; border: 6px solid var(--gold); overflow: hidden; display: flex; flex-wrap: wrap; }
.wheel-seg { flex: 1 1 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.05rem; color: #fff; }
.wheel-seg.q { background: #1d4ed8; }
.wheel-seg.g { background: #d61f4a; }
.wheel-seg.c { background: #0b7a3e; }
.wheel-pointer { position: absolute; top: -4px; left: 50%; transform: translateX(-50%); font-size: 2rem; }
.gossip-lines { margin: .7rem 0; }
.gossip-line { background: var(--card); border-left: 4px solid var(--ec); border-radius: 8px; padding: .6rem .8rem; margin: .4rem 0; font-size: 1.05rem; }
.pass-screen, .voter-pick { text-align: center; padding: 1.5rem 0; }
.pass-big { font-size: 4rem; }

/* leaderboard / awards */
.leaderboard .bar-row { padding: .6rem; }
/* Sweep-2 fix 8: "14 pts · 11 pointed at" wrapped mid-phrase. The points
   span never breaks now. */
.leaderboard .bar-count { white-space: nowrap; flex: none; }
.team-dot { width: 20px; height: 20px; border-radius: 50%; flex: none; }
.awards-show { position: relative; text-align: center; }
#confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.award-card { background: var(--card); background-image: var(--halftone), linear-gradient(180deg, #17172b 0%, #0b0b14 100%); background-size: 12px 12px, auto; border: 3px solid var(--gold); border-radius: 24px; padding: 1.4rem 1rem; margin: 1rem 0; box-shadow: 6px 6px 0 #000; }
.award-title { font-size: 1.5rem; font-weight: 900; margin-bottom: .6rem; }
.award-winner h3 { margin: .4rem 0; font-size: 1.4rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.award-stat { font-weight: 800; color: var(--gold); font-size: 1.1rem; }
.mvp-ladder { background: var(--gold-tint); border-radius: 12px; padding: .7rem; margin: .6rem 0; }
.team-champs { background: #052e16; border-radius: 12px; padding: .7rem; margin: .6rem 0; font-size: 1.1rem; }

/* recap */
.recap-canvas { width: 100%; max-width: 320px; display: block; margin: .8rem auto; border-radius: 16px; border: 2px solid var(--ec); }
/* Sweep-2 fix 3: the finale breathes now — the MVP's face bobs gently
   (pf-idle) over a slow shimmer strip (pf-bg-drift). Both are infinite,
   transform/background only, so no tap target ever moves. */
.recap-mvp { text-align: center; margin: .6rem 0 .2rem; }
.recap-mvp-face { display: inline-block; animation: pf-idle 5s ease-in-out infinite; }
.recap-mvp-face .face { box-shadow: 0 0 0 3px var(--gold); }
.recap-mvp-name { font-size: 1.15rem; margin: .5rem 0; }
.recap-shimmer { height: 6px; border-radius: 999px; margin: .4rem 0 .8rem;
  background: linear-gradient(90deg, var(--gold), #ff2e88, #00e5ff, var(--gold));
  background-size: 200% 100%; animation: pf-bg-drift 12s ease-in-out infinite; }
.recap-actions { display: flex; flex-direction: column; gap: .2rem; }
.sv-panel { background: var(--card); background-image: var(--halftone); background-size: 12px 12px; border: 2px solid var(--ec); border-radius: 18px; padding: .9rem; margin: 1rem 0; box-shadow: 4px 4px 0 #000; }
.sv-card { display: flex; justify-content: space-between; align-items: center; gap: .6rem; border-top: 1px solid var(--line); padding: .6rem 0; }
.sv-code { font-family: ui-monospace, monospace; font-weight: 800; letter-spacing: .08em; }
/* ScanVault card art (Nov 13, 2026): art lives in scanvault-cards/<cardId>.png
   (512x768, illustration only — title + earn condition render as UI text).
   MVP tiers are frame treatments over the same per-edition art, not
   separate images. Holo shimmer runs only when motion is allowed. */
.sv-art { width: 84px; height: 126px; object-fit: cover; border-radius: 10px; border: 2px solid var(--ec); flex: none; }
.sv-body { flex: 1; min-width: 0; }
.sv-earn { font-size: .85rem; color: var(--muted); }
.sv-mvp { display: flex; gap: .8rem; align-items: flex-start; }
.sv-mvp-art { width: 110px; height: 165px; }
.sv-tier-base { border-color: #c9a86a; }
.sv-tier-silver { border-color: #c0c8d8; box-shadow: 3px 3px 0 #000; }
.sv-tier-gold { border-color: var(--gold); box-shadow: 3px 3px 0 #000; }
.sv-tier-holo { border-color: #7dd3fc; }
@keyframes sv-holo { 0% { box-shadow: 0 0 0 3px rgba(255,197,49,.9); } 50% { box-shadow: 0 0 0 3px rgba(129,140,248,.9); } 100% { box-shadow: 0 0 0 3px rgba(255,93,162,.9); } }
@media (prefers-reduced-motion: no-preference) { .sv-tier-holo { animation: sv-holo 2.4s ease-in-out infinite; } }

/* My Cards (Nov 16, 2026): Home -> My Cards modal. Reuses the Recap
   .sv-* panel styles above; these are the only new rules. The home
   row gains a fourth button, so it wraps to two per row instead of
   squeezing; the ladder rows are one compact line per edition. No
   blur anywhere — same hard-shadow sticker treatment as the reskin. */
.mycards-row { flex-wrap: wrap; }
.mycards-empty { font-size: 1.05rem; font-weight: 700; text-align: center; margin: 1rem 0; }
.mycards-ladder-row { display: flex; justify-content: space-between; gap: .6rem; padding: .45rem 0; border-top: 1px solid var(--line); font-size: .95rem; }

/* modals + toast */
/* Buttons audit (v10): the veil backdrop is the one non-button tappable —
   tapping it dismisses the modal, so it gets a press visual (opacity
   shift + the sheet dips) instead of the button :active scale. */
.modal-veil { position: fixed; inset: 0; background: rgba(5,5,10,.88); display: flex; align-items: flex-end; justify-content: center; z-index: 50; }
.modal-veil:active { opacity: .9; }
.modal-veil:active .modal { transform: translateY(4px); }
.modal { background: var(--panel); background-image: var(--halftone); background-size: 12px 12px; border: 3px solid var(--gold); border-radius: 24px 24px 0 0; padding: 1.2rem 1.2rem 2rem; max-width: 520px; width: 100%; max-height: 85vh; overflow-y: auto; box-shadow: 6px 6px 0 #000; }
.modal h2 { margin-top: 0; }
.bio-pop { text-align: center; }
.bio-text { font-size: 1.2rem; font-style: italic; }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--panel); color: var(--ink); border: 3px solid var(--gold); box-shadow: 4px 4px 0 #000;
  padding: .8rem 1.2rem; border-radius: 999px; font-weight: 700; opacity: 0; transition: all .25s; z-index: 100;
  max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.pp-list { margin-top: .6rem; }
.pp-item { display: flex; align-items: center; gap: .6rem; background: var(--card); border-radius: 12px; padding: .5rem .7rem; margin: .35rem 0; }
.pp-item span { flex: 1; }
.team-setup { background: var(--card); border: 2px solid var(--line); border-radius: 14px; padding: .7rem; margin: .5rem 0; box-shadow: 3px 3px 0 #000; }

/* reduced motion: animation becomes a quick fade */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .card.flip-in { animation: fadeIn .2s ease; }
  @keyframes fadeIn { from { opacity: 0; } }
}
@media (min-width: 560px) {
  .modal-veil { align-items: center; }
  .modal { border-radius: 24px; }
}

/* Point! countdown (tap-first flow): big plain-text numerals, never
   animation-only — the count is readable with reduced motion on.
   The final beat is the word "POINT!" (pointBeat): the old 6.5rem measured
   ~387px vs 358px inner at 390px width. The old min(6.5rem, 20vw) cap did
   not save it: 20vw is a WINDOW unit, and the app's screen is a fixed
   phone-width column — on a wider window 20vw grows past 6.5rem and the
   rem size overflows the column. The fix caps in rem against the column
   itself: 3.5rem (56px) renders "POINT!" at ~197px, digits stay big, and
   it fits the 358px inner at any window width. */
.point-screen { text-align: center; padding: 1.2rem 0 .5rem; }
.point-label { font-weight: 900; letter-spacing: .08em; color: var(--ec); font-size: .95rem; }
.point-num {
  font-size: min(3.5rem, 14vw); font-weight: 900; line-height: 1.05; color: var(--ec);
  font-variant-numeric: tabular-nums; margin: .4rem 0 .2rem; white-space: nowrap;
}
.point-instruct { font-size: 1.05rem; line-height: 1.5; margin: .4rem 0; }
@media (prefers-reduced-motion: no-preference) {
  .point-num { animation: point-pop .9s ease-out; }
  @keyframes point-pop { from { transform: scale(1.25); opacity: .4; } to { transform: scale(1); opacity: 1; } }
}

/* Dan's logo (final, supplied by Dan — master: brand/dan-logo/logo-master-1024-fullbleed.png;
   full-bleed navy (1,4,109), no white frame. Icons generated by android/gen-icons.py.) */
/* Chrome/sticker glove badge (v10 §1): white disc, black outline, chrome
   ring, magenta glow + cyan halo as hard rings (no blur), hard offset
   shadow. The img src change to glove.png is the app.js worker's job;
   this CSS is the badge treatment for .brand-mark / .home-mark. */
.brand { display: inline-flex; align-items: center; gap: .45rem; }
.brand-mark { width: 44px; height: 44px; border-radius: 50%; flex: none; background: #fff; border: 2px solid #000; object-fit: contain; box-shadow: 0 0 0 2px #c0c8d8, 0 0 0 4px var(--magenta), 0 0 0 6px var(--cyan), 3px 3px 0 #000; }
.home-mark { display: block; width: 84px; height: 84px; border-radius: 50%; margin: 0 auto .5rem; background: #fff; border: 3px solid #000; object-fit: contain; box-shadow: 0 0 0 3px #c0c8d8, 0 0 0 5px var(--magenta), 0 0 0 7px var(--cyan), 4px 4px 0 #000; }
/* Spray splatter behind heroes ONLY — the home logo block. */
.logo-block { position: relative; z-index: 0; }
.logo-block::before { content: ''; position: absolute; inset: -14px -24px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at 18% 28%, rgba(255,46,136,.38), transparent 55%),
    radial-gradient(circle at 82% 62%, rgba(0,229,255,.32), transparent 52%),
    radial-gradient(circle at 50% 88%, rgba(200,255,0,.20), transparent 46%),
    radial-gradient(circle at 68% 12%, rgba(255,122,26,.22), transparent 42%); }

/* Glove pointer — Dan's final logo glove (transparent cutout web/glove.png).
   Navy medallion echoes the logo's full-bleed navy (1,4,109) so the white
   glove reads on any screen background; the cutout itself is transparent
   (corner alpha 0, verified) — no navy box, no white fringe. The hand sits
   directly above the primary action, pointing at the viewer / at the tap.
   Decorative only; never intercepts taps. */
.glove-point { display: flex; justify-content: center; margin: .9rem 0 .15rem; pointer-events: none; }
.glove-point.sm { margin: .7rem 0 .1rem; }
/* Spray halo behind the pointing glove (hero only). */
.glove-point { position: relative; }
.glove-point::before { content: ''; position: absolute; inset: -18px -30px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at 30% 40%, rgba(255,46,136,.30), transparent 55%),
    radial-gradient(circle at 72% 60%, rgba(0,229,255,.28), transparent 52%); }
.glove-disc { width: 104px; height: 104px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 3px solid #000; box-shadow: 0 0 0 3px #c0c8d8, 0 0 0 5px var(--magenta), 0 0 0 7px var(--cyan), 4px 4px 0 #000; flex: none; }
.glove-disc img { width: 94%; height: 94%; object-fit: contain; transform: rotate(-5deg); display: block; }
.glove-point.sm .glove-disc { width: 76px; height: 76px; }

/* Epic Point! toggle (Dan, Nov 13 ~19:44 EST) — replaces the setup
   checkbox with a big gold-on-navy button. ON: gold field, navy text.
   OFF: navy field, gold border, gold text. The glove disc is the small
   version of the logo medallion; the ON/OFF pill is the state at a
   glance. Full-width, no fixed widths — it fits the 390px screen with
   room to spare (flex, wraps only if the viewport forces it). */
.point-toggle {
  display: flex; align-items: center; gap: .7rem; width: 100%;
  min-height: 64px; padding: .6rem .8rem; margin: .6rem 0 .2rem;
  border-radius: 16px; border: 3px solid var(--gold);
  background: var(--navy); color: var(--gold); box-shadow: 4px 4px 0 #000;
  font: inherit; text-align: left; cursor: pointer;
}
.point-toggle .glove-disc { width: 48px; height: 48px; border-width: 2px; box-shadow: 0 0 0 2px #c0c8d8, 0 0 0 3px var(--magenta), 2px 2px 0 #000; }
.point-toggle:not(.on) .glove-disc { box-shadow: 0 0 0 2px #c0c8d8, 0 0 0 3px var(--gold), 2px 2px 0 #000; }
.point-toggle.on { background: var(--gold); color: var(--navy); }
.point-toggle-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.point-toggle-title { font-weight: 900; font-size: 1.05rem; line-height: 1.2; }
.point-toggle-sub { font-size: .85rem; line-height: 1.35; font-weight: 400; opacity: .92; }
.point-toggle-pill {
  flex: none; font-weight: 900; font-size: .85rem; letter-spacing: .06em;
  border: 2px solid currentColor; border-radius: 999px; padding: .25rem .6rem;
}
.point-toggle:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* Owner card — first run (Nov 13, 2026). One cool card: avatar/selfie,
   name, DOB, bio. Deep-navy gradient panel, gold border; gold is the
   accent, navy the base — the same system as the rest of the game.
   Pass-and-play player cards reuse the same panel (thinner border). */
.screen.owner { padding-top: 1rem; }
.owner-card { background: var(--card); background-image: var(--halftone), linear-gradient(180deg, #17172b 0%, #0b0b14 100%); background-size: 12px 12px, auto; border: 3px solid var(--gold); border-radius: 24px; padding: 1.1rem 1rem 1.2rem; box-shadow: 6px 6px 0 #000; }
.owner-label { font-weight: 900; letter-spacing: .12em; color: var(--gold); font-size: .95rem; text-align: center; }
.owner-face { display: flex; justify-content: center; margin: .7rem 0 .4rem; }
.owner-face .face { box-shadow: 0 0 0 3px var(--gold); }
/* Sweep-2 fix 4: the first thing a new player sees was static. The
   header portrait breathes (pf-idle) and the selected avatar's ring
   pulses (pf-join-ring) — the same treatment the join screen got. */
.screen.owner .owner-face .face { animation: pf-idle 5s ease-in-out infinite; }
.screen.owner .avatar-pick.sel { animation: pf-join-ring 2.6s ease-out infinite; }
.owner-sub { text-align: center; color: var(--muted); font-size: .95rem; line-height: 1.45; margin: .3rem 0 .8rem; }
.bio-hint { background: var(--gold-tint); border-left: 3px solid var(--gold); color: var(--gold-ink); font-size: .88rem; line-height: 1.45; border-radius: 8px; padding: .5rem .7rem; margin: .6rem 0 .35rem; }
/* DOB — one full-width field + a custom scrolling picker sheet
   (Nov 13, 2026 — Dan: the three DD/MM/YYYY boxes overflowed and the
   year box was cut off at 390px). The field is width:100% of the card's
   inner width, so it cannot overflow; the sheet's three columns are
   flex:1 inside the modal, each ~112px at 390px — wide enough for
   "1990" and "September". No native <select> / date input anywhere. */
.dob-field {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  width: 100%; min-height: 52px; padding: .7rem .9rem; margin: .35rem 0; font-size: 1.05rem;
  border: 2px solid var(--line); border-radius: 14px; background: var(--input-bg); color: var(--ink);
  text-align: left;
}
.dob-field:focus { outline: 3px solid var(--ec); outline-offset: 1px; border-color: var(--ec); }
.dob-value { font-weight: 700; }
.dob-placeholder { color: var(--muted); }
.dob-chev { color: var(--ec); font-size: 1.3rem; line-height: 1; }
.dob-hint { color: var(--muted); font-size: .82rem; line-height: 1.45; margin: .3rem 0 0; }
.dob-cols { display: flex; gap: .5rem; margin: .6rem 0; }
.dob-col-wrap { flex: 1; min-width: 0; }
.dob-col-label { font-weight: 800; font-size: .85rem; letter-spacing: .08em; color: var(--muted); text-align: center; margin-bottom: .3rem; }
.dob-col {
  max-height: 240px; overflow-y: auto; -webkit-overflow-scrolling: touch;
  display: flex; flex-direction: column; gap: .25rem; padding: .3rem;
  background: var(--input-bg); border: 2px solid var(--line); border-radius: 14px;
  scrollbar-width: thin;
}
.dob-opt {
  min-height: 48px; padding: .5rem .3rem; font-size: 1.05rem; font-weight: 700;
  border-radius: 10px; border: 2px solid transparent; background: transparent; color: var(--ink);
}
.dob-opt:active { box-shadow: 2px 2px 0 #000; }
.dob-opt.sel { background: var(--ec); border-color: var(--ec); color: var(--on-ec); }
.dob-picked { text-align: center; font-weight: 800; font-size: 1.1rem; color: var(--gold-ink); margin: .5rem 0 .8rem; }
.pp-card { background: var(--card); background-image: var(--halftone), linear-gradient(180deg, #17172b 0%, #0b0b14 100%); background-size: 12px 12px, auto; border: 2px solid var(--gold); border-radius: 20px; padding: .9rem; margin: .7rem 0; box-shadow: 4px 4px 0 #000; }
.pp-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .6rem; }
.pp-head-text { flex: 1; font-size: 1rem; min-width: 0; }
.pp-head .mini-btn { margin-left: auto; flex: none; }

/* ---------- legal (Nov 16, 2026 — Legal in Settings) -----------------------
   Only legal- prefixed classes live here. The in-app legal modal shows
   the standalone page under web/legal/ in a themed iframe — same dark
   theme as the modal, no native/system popup ever. */
.legal-btns { display: flex; gap: .6rem; margin: .5rem 0; }
.legal-btns .small-btn { flex: 1; }
.legal-blurb { margin-top: 0; }
.legal-frame { display: block; width: 100%; height: 52vh; min-height: 300px; border: 2px solid var(--line); border-radius: 14px; background: var(--page); margin: .6rem 0; }
