/* The app shell (1 Nov 2026): the name top left and you top right, three tabs (Play, Friends, You) and a
   floating tab bar along the bottom. Same fonts, gradient and tone as the onboarding. */
/* hidden always hides, also where a class sets display (launch prep 6 Nov 2026: the hidden previews still showed) */
#home [hidden], .sheet [hidden], .tabbar [hidden] { display:none !important; }
#home.app { gap:0; padding-top:0; padding-bottom:calc(max(10px, calc(env(safe-area-inset-bottom) - 12px)) + 92px); }

/* Top bar: stays put while the page scrolls, with a soft fade under it */
.appbar { position:relative; top:0; z-index:20; display:flex; align-items:center; justify-content:space-between; height:calc(max(10px, env(safe-area-inset-top)) + 54px);
  padding-top:max(10px, env(safe-area-inset-top)); margin:0 -24px; padding-left:24px; padding-right:20px;
  background:linear-gradient(rgba(255,255,255,.0), rgba(255,255,255,0)); transition:background-color .3s; }
/* No frosted glass behind the top bar (Mickey 2 Nov 2026): it scrolls away with the page instead */
.app-mark { font-family:Switzer, system-ui, sans-serif; font-weight:700; font-size:21px; line-height:1; letter-spacing:-.035em; } /* the logo in a bold sans, apart from the serif headlines (Mickey 12 Nov 2026) */
.app-me { width:38px; height:38px; padding:0; border:0; border-radius:50%; display:grid; place-items:center; color:#fff; font-weight:600; font-size:16px;
  background:#111; transition:transform .25s var(--ease-out); }
.app-me:active { transform:scale(.92); }

/* Tabs: each slides in a touch when chosen */
.tab { display:flex; flex-direction:column; gap:14px; padding-top:14px; }
.tab.entering { animation:tabIn .18s ease-out both; }
@keyframes tabIn { from { opacity:0; } }
.hometitle { font-family:var(--f-serif); font-weight:400; font-size:clamp(38px, 11vw, 46px); line-height:1; letter-spacing:-.01em; margin:2px 0 6px; text-wrap:balance; }
.hometitle em { font-style:italic; padding:0 .08em 0 .02em; margin:0 -.08em 0 -.02em;
  color:inherit; }

/* Hello: the greeting is the heading (no eyebrow), the streak sits beside it */
.hello { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.hello .hometitle { margin-top:6px; }

/* Tonight's show, the one primary action: Max and Vera lean over the top of the card */
.playcard { position:relative; display:flex; flex-direction:column; align-items:stretch; gap:4px; text-align:center; border-radius:28px; margin-top:56px;
  padding:92px 22px 18px; background:var(--ink); color:var(--paper); isolation:isolate;
  box-shadow:0 1px 2px rgba(20,10,40,.1), 0 24px 44px -20px rgba(30,20,70,.55); }
.playcard::after { content:''; position:absolute; inset:0; border-radius:inherit; z-index:-1; pointer-events:none;
  background:radial-gradient(60% 50% at 22% 108%, rgba(240,80,160,.45), transparent 70%), radial-gradient(60% 50% at 80% 112%, rgba(90,140,255,.45), transparent 70%); }
.pc-hosts { position:absolute; left:50%; top:-58px; width:min(66%, 240px); translate:-50% 0; pointer-events:none; -webkit-user-drag:none; }
.pc-title { margin:0; font-family:var(--f-serif); font-weight:400; font-size:34px; line-height:1; }
.pc-meta { margin:0; font-size:13.5px; color:rgba(255,255,255,.66); }
.pc-quote { margin:12px 0 2px; font-family:var(--f-serif); font-style:italic; font-size:19px; line-height:1.2; color:rgba(255,255,255,.92); text-wrap:balance; }
.pc-quote span { font-family:var(--f); font-style:normal; font-size:12.5px; color:rgba(255,255,255,.55); margin-left:3px; }
.pc-go { margin-top:12px; display:flex; align-items:center; justify-content:center; gap:8px; border:0; background:var(--paper); color:var(--ink); border-radius:999px; padding:16px 18px; font-weight:600; font-size:17px; }
/* Hands-free sits with the action it changes */
.pc-hf { align-self:center; display:inline-flex; align-items:center; gap:10px; margin-top:10px; font-size:14px; font-weight:500; color:rgba(255,255,255,.8); cursor:pointer; }
.pc-hf input { position:absolute; opacity:0; width:1px; height:1px; pointer-events:none; }
.pc-hf i { position:relative; width:40px; height:24px; border-radius:999px; background:rgba(255,255,255,.22); transition:background-color .2s; }
.pc-hf i::after { content:''; position:absolute; top:2px; left:2px; width:20px; height:20px; border-radius:50%; background:#fff; box-shadow:0 1px 4px rgba(0,0,0,.3); transition:transform .25s cubic-bezier(.23, 1, .32, 1); }
.pc-hf input:checked + i { background:linear-gradient(120deg, #f050a0, #8c6eff 60%, #3fa0ff); }
.pc-hf input:checked + i::after { transform:translateX(16px); }
.pc-hf input:focus-visible + i { outline:2px solid #fff; outline-offset:3px; }
.nextshow { margin:-2px 0 4px; text-align:center; font-size:13px; color:var(--mute); }
.nextshow .ns-dot { display:inline-block; width:6px; height:6px; border-radius:50%; background:var(--ok); margin-right:7px; vertical-align:1px; }
.quiz-head { margin:22px 0 0; font-family:var(--f-serif); font-weight:400; font-size:26px; line-height:1; }
/* The quizzes (6 Nov 2026): one row that scrolls sideways, a clay picture on top of each, in the cards' language */

/* A setting with a switch (iOS-style) */
.row-switch { display:flex; align-items:center; gap:14px; padding:14px 16px; border-radius:20px; background:var(--ash); cursor:pointer; }
.rs-text { flex:1; display:flex; flex-direction:column; gap:2px; font-weight:400; }
.rs-text b { font-weight:600; font-size:16px; }
.rs-text span { font-size:13.5px; color:var(--ink-2); line-height:1.35; }
.row-switch input { position:absolute; opacity:0; width:1px; height:1px; pointer-events:none; }
.row-switch i { flex:none; position:relative; width:51px; height:31px; border-radius:999px; background:#d9d9d6; transition:background-color .25s; }
.row-switch i::after { content:''; position:absolute; top:2px; left:2px; width:27px; height:27px; border-radius:50%; background:#fff; box-shadow:0 2px 6px rgba(0,0,0,.2);
  transition:transform .35s cubic-bezier(.3, 1.35, .5, 1); }
.row-switch input:checked + i { background:var(--ink); }
.row-switch input:checked + i::after { transform:translateX(20px); }
.row-switch input:focus-visible + i { outline:2px solid var(--ink); outline-offset:3px; }

/* Friends */
.cards { display:grid; gap:10px; margin-top:4px; }
.card { display:flex; flex-direction:column; align-items:flex-start; gap:4px; text-align:left; border:1.5px solid var(--line); border-radius:22px; padding:18px; background:var(--paper); color:var(--ink); position:relative; }
.c-title { font-weight:600; font-size:17px; }
.c-text { font-size:14px; color:var(--ink-2); padding-right:8px; }
.soon { position:absolute; top:16px; right:16px; font-size:12.5px; font-weight:600; border:1.5px solid var(--line); border-radius:999px; padding:3px 9px; color:var(--mute); }

/* You */
.field { display:flex; flex-direction:column; gap:7px; }
.field > span { font-size:14px; font-weight:600; }
.field small { font-size:13px; color:var(--mute); font-weight:400; }
.field textarea { width:100%; font:inherit; font-size:17px; padding:14px 18px; border-radius:20px; border:1.5px solid var(--line); background:var(--paper); color:var(--ink); resize:none; }
.field textarea:focus { border-color:var(--ink); outline:none; }
.me-row { text-align:left; border:0; background:none; padding:16px 18px; font-size:16px; font-weight:500; }
.me-row + .me-row { border-top:1px solid var(--line); }
.me-row:active { background:rgba(0,0,0,.04); }
.me-row.danger { color:var(--bad); }

/* The tab bar: floats over the bottom, the dark pill slides to the chosen tab */
/* Down over the home bar's own margin, like iOS's floating tab bars (Mickey 2 Nov 2026: it hung too high in the app) */
.tabbar { position:fixed; z-index:30; left:50%; bottom:max(10px, calc(env(safe-area-inset-bottom) - 12px)); translate:-50% 0; width:min(calc(100% - 32px), 420px);
  display:grid; grid-auto-flow:column; grid-auto-columns:1fr; padding:6px; border-radius:999px;
  background:rgba(255,255,255,.84); -webkit-backdrop-filter:blur(18px) saturate(1.5); backdrop-filter:blur(18px) saturate(1.5);
  box-shadow:0 1px 2px rgba(0,0,0,.06), 0 14px 34px -14px rgba(30,20,70,.4), inset 0 0 0 1px rgba(11,11,12,.05); }
.tabbar button { position:relative; z-index:1; display:flex; flex-direction:column; align-items:center; gap:2px; border:0; background:none; padding:7px 0 6px;
  color:var(--mute); font-size:12.5px; font-weight:600; letter-spacing:.01em; transition:color .3s; }
.tabbar button[aria-current="page"] { color:var(--paper); }
.tabbar button:active svg { transform:scale(.88); }
.tabbar svg { transition:transform .25s var(--ease-out); }
/* Sharper tab icons (Mickey 11 Nov 2026: "sexier icons"): outlined at rest, the chosen tab's icon fills in */
.tabbar svg .f { fill:transparent; transition:fill .2s; }
.tabbar button[aria-current="page"] svg .f { fill:currentColor; }
.tabbar button[aria-current="page"] svg .s { stroke:var(--ink); transition:stroke .2s; }
.tb-pill { position:absolute; z-index:0; top:6px; bottom:6px; left:6px; width:calc((100% - 12px) / var(--n, 4)); border-radius:999px; background:var(--ink);
  transform:translateX(calc(var(--i, 0) * 100%)); transition:transform .42s cubic-bezier(.3, 1.1, .45, 1); }
/* --n (tabs shown) and --i (the chosen one among them) are set by shell.js placePill() */
.tabbar button span:last-child { font-size:11.5px; white-space:nowrap; }
/* You: the player's own avatar in the tab bar instead of an icon (Mickey 2 Nov 2026), ringed when chosen */
.tb-av { width:24px; height:24px; border-radius:50%; display:grid; place-items:center; color:#fff; font-size:12px; font-weight:700;
  background:#111; transition:box-shadow .3s, transform .25s var(--ease-out); }
.tabbar button[aria-current="page"] .tb-av { box-shadow:0 0 0 2px var(--ink), 0 0 0 3.5px #fff; }
.tabbar button:active .tb-av { transform:scale(.88); }
/* The streak sits in the top bar now, opposite the name */
.appbar .streak { margin-top:0; }

/* ---------- Challenges ---------- */
.story-card { display:flex; flex-direction:column; gap:6px; padding:20px 18px; border-radius:24px; text-decoration:none; color:#efe9e1; background:#050506; position:relative; overflow:hidden; isolation:isolate; }
.story-card[hidden] { display:none; }
.story-card::before { content:''; position:absolute; inset:0; z-index:-1; background:radial-gradient(60% 80% at 80% 20%, rgba(200,66,63,.4), transparent 70%); }
.story-card .sc-k { font-size:11px; letter-spacing:.2em; color:#c8423f; }
.story-card b { font-family:var(--f-serif); font-weight:400; font-size:38px; line-height:1; }
.story-card span:last-child { font-size:14px; line-height:1.4; color:rgba(239,233,225,.62); }
.hotseat-card { display:flex; align-items:center; gap:14px; text-align:left; border:0; border-radius:24px; padding:16px; color:#fff; background:var(--ink); isolation:isolate; position:relative; overflow:hidden;
  box-shadow:0 22px 40px -22px rgba(30,20,70,.6); transition:transform .16s ease-out; }
.hotseat-card::before { content:''; position:absolute; inset:0; z-index:-1; background:radial-gradient(70% 90% at 0% 100%, rgba(239,122,60,.55), transparent 70%), radial-gradient(60% 80% at 100% 0%, rgba(240,80,160,.4), transparent 70%); }
.hotseat-card:active { transform:scale(.98); }
.hs-chair { flex:none; width:52px; height:52px; border-radius:16px; display:grid; place-items:center; background:rgba(255,255,255,.12); }
.hs-body { flex:1; display:flex; flex-direction:column; gap:3px; }
.hs-body b { font-family:var(--f-serif); font-weight:400; font-size:26px; line-height:1; }
.hs-body > span { font-size:13.5px; line-height:1.35; color:rgba(255,255,255,.72); }
.hs-go { flex:none; padding:9px 15px; border-radius:999px; background:#fff; color:var(--ink); font-weight:600; font-size:15px; }
.soon { position:absolute; top:10px; right:10px; padding:3px 8px; border-radius:999px; background:rgba(255,255,255,.75); font-size:11px; font-weight:700; }
.extras { display:flex; flex-direction:column; gap:8px; }
.extra { display:flex; align-items:center; gap:12px; text-align:left; border:1.5px solid var(--line); border-radius:20px; padding:13px 14px; background:var(--paper); color:var(--ink); transition:transform .16s ease-out; }
.extra:active { transform:scale(.98); }
.extra i { flex:none; width:40px; height:40px; border-radius:13px; display:grid; place-items:center; font-style:normal; font-size:19px; background:var(--ash); }
.extra .ex-text { flex:1; display:flex; flex-direction:column; gap:1px; }
.extra .ex-text b { font-size:16px; }
.extra .ex-text span { font-size:13px; line-height:1.3; color:var(--ink-2); }
.extra .soon { position:static; background:var(--ash); }
/* Milestones in clay (Mickey 12 Nov 2026): a collection. Not yet won: the figure as a shadow and how to get it */
.badges { display:grid; grid-template-columns:repeat(3, 1fr); gap:12px 10px; margin-top:12px; }
.badge-count { grid-column:1 / -1; margin:-6px 0 0; font-size:14px; color:var(--ink-2); }
.badge-count b { font-family:var(--f-serif); font-weight:400; font-size:24px; color:var(--ink); }
.badge { position:relative; display:flex; flex-direction:column; align-items:center; gap:3px; text-align:center; padding:12px 6px 12px; border-radius:22px;
  background:#f1efea; box-shadow:inset 0 -4px 0 #e2dfd7; min-width:0; }
.badge img { width:74px; height:74px; object-fit:contain; margin:-2px 0 4px; filter:brightness(0) opacity(.13); pointer-events:none; }
.badge b { font-size:13px; font-weight:700; line-height:1.15; color:var(--ink-2); }
.badge span { font-size:11.5px; line-height:1.25; color:var(--ink-2); opacity:.8; text-wrap:balance; }
.badge.won { background:linear-gradient(170deg, #fff4cf, #ffe2a8); box-shadow:inset 0 -4px 0 #f1c46b, 0 14px 22px -16px rgba(239,150,60,.8); }
.badge.won img { filter:drop-shadow(0 6px 8px rgba(120,70,0,.18)); transform:rotate(-4deg) scale(1.06); }
.badge.won b { color:var(--ink); }
.badge.won span { color:#9a6a12; opacity:1; font-weight:600; }

@media (prefers-reduced-motion:reduce) {
  .tab.entering { animation:none; }
  .tb-pill, .row-switch i::after { transition:none; }
}

/* ---------- What keeps people coming back (reports/Talegenkendelse og vækstloops for Buzzer.md) ---------- */
.pill { display:inline-flex; align-items:center; justify-content:center; gap:7px; border:1.5px solid var(--line); background:var(--paper); color:var(--ink); border-radius:999px; padding:10px 16px; font-size:15px; font-weight:600; transition:transform .16s ease-out; }
.pill:disabled { opacity:.5; }
.pill:active, .streak:active, .event:active, .duel:active, .pc-go:active, .me-row:active, .app-me:active { transform:scale(.97); }
.streak, .event, .duel, .pc-go, .me-row { transition:transform .16s ease-out; }
.pill.dark { background:var(--ink); color:var(--paper); border-color:var(--ink); }
.pill.light { background:var(--paper); color:var(--ink); border:0; }

/* The streak: a small pill by the greeting; the week and the rules live in its sheet */
.streak { flex:none; display:inline-flex; align-items:center; gap:5px; border:0; border-radius:999px; padding:7px 12px 7px 9px; background:var(--ash); font-size:15px; margin-top:10px; }
.streak b { font-weight:700; }
.st-week { display:flex; justify-content:center; gap:6px; }
.st-week i { width:30px; height:30px; border-radius:50%; display:grid; place-items:center; font-style:normal; font-size:12.5px; font-weight:600; color:var(--mute); background:var(--ash); }
.st-week i.on { color:#fff; background:linear-gradient(135deg, #f0507f, #8c6eff); }
.st-week i.today { box-shadow:0 0 0 1.5px var(--ink); color:var(--ink); }
.st-week i.today.on { color:#fff; }

/* A line from a host who remembers you */
.memo { display:flex; gap:12px; align-items:flex-start; }
.memo-ava { flex:none; width:40px; height:40px; border-radius:50%; background:#f6e8df url(/media/onboarding/hosts.png) no-repeat; background-size:230% auto; }
/* Each face centred in its circle (Mickey 2 Nov 2026: Max showed only his top-left corner) */
.memo-ava.max { background-position:9% 57%; }
.memo-ava.vera { background-position:89% 69%; }
.memo p { margin:0; position:relative; background:var(--ash); border-radius:4px 20px 20px 20px; padding:11px 15px 12px; font-size:15.5px; line-height:1.38; }
.memo p b { display:block; font-size:12.5px; font-weight:600; color:var(--mute); margin-bottom:1px; }
.memo.small p { font-size:14.5px; }

/* Yesterday's show: a spoiler-free grid, a host quote, share and challenge */
/* Your last show (Mickey 12 Nov 2026): on Play, the score big, one clay bar, the challenge as the action */
.lastshow { margin-top:14px; border-radius:26px; padding:18px 18px 16px; display:flex; flex-direction:column; gap:12px; background:var(--paper);
  box-shadow:inset 0 -5px 0 #e6e3dc, inset 0 0 0 1.5px var(--line), 0 18px 30px -22px rgba(20,20,40,.35); }
.lastshow[hidden] { display:none; }
.ls-top { display:flex; justify-content:space-between; align-items:flex-end; gap:12px; }
.ls-k { font-size:14px; font-weight:600; color:var(--ink-2); padding-bottom:6px; }
.ls-score { display:flex; align-items:baseline; font-family:var(--f-serif); line-height:.9; }
.ls-score b { font-weight:400; font-size:52px; letter-spacing:-.02em; color:var(--ink); }
.ls-score span { font-size:28px; color:var(--ink-2); }
.ls-bar { height:16px; border-radius:999px; background:#ecebe6; box-shadow:inset 0 2px 3px rgba(0,0,0,.08); overflow:hidden; }
.ls-bar i { display:block; height:100%; width:calc(var(--p, 0) * 100%); min-width:16px; border-radius:inherit; background:var(--o3);
  box-shadow:inset 0 -3px 0 var(--o3-rim), inset 0 2px 0 rgba(255,255,255,.45); transition:width .8s var(--ease-out); }
.ls-bar.none i { min-width:0; }
.ls-say { margin:0; font-size:14px; line-height:1.4; color:var(--ink-2); }
.ls-actions { display:grid; grid-template-columns:1fr auto; gap:8px; }
.ls-share { width:48px; padding:0; display:grid; place-items:center; }

/* The event: time-limited, one goal for everyone; quiet, below the show */
.event { display:flex; align-items:center; gap:14px; text-align:left; border:0; border-radius:22px; padding:16px; background:var(--ash); color:var(--ink); }
.event > svg { flex:none; color:var(--mute); }
.ev-body { flex:1; display:flex; flex-direction:column; gap:3px; }
.ev-body b { font-size:16px; }
.ev-body > span { font-size:13.5px; color:var(--ink-2); line-height:1.35; }
.ev-bar { height:5px; border-radius:999px; background:rgba(11,11,12,.08); overflow:hidden; margin-top:6px; }
.ev-bar i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg, #f050a0, #8c6eff 60%, #3fa0ff); transform-origin:0 50%; transform:scaleX(var(--p)); }

/* Friends */
/* Section headings in the serif, like Quizzes on Play and the You tab's sections: one heading role across the tabs (Mickey 10 Nov 2026 audit) */
.sec { font-family:var(--f-serif); font-size:28px; font-weight:400; line-height:1.05; letter-spacing:-.01em; margin:20px 0 -2px; }
.duels { display:flex; flex-direction:column; border-radius:22px; background:var(--ash); overflow:hidden; }
.duel { display:flex; align-items:center; gap:12px; border:0; background:none; text-align:left; padding:13px 16px; }
.duel + .duel { border-top:1px solid var(--line); }
.duel:active { background:rgba(0,0,0,.04); }
.ava { flex:none; width:42px; height:42px; border-radius:50%; display:grid; place-items:center; color:#fff; font-weight:600; font-size:16px; background:var(--c, #8c6eff); }
.ava.me { background:#111; }
.du-text { flex:1; display:flex; flex-direction:column; min-width:0; }
.du-text b { font-size:16px; }
.du-text span { font-size:13.5px; color:var(--ink-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.du-badge { flex:none; font-size:12.5px; font-weight:700; border-radius:999px; padding:5px 10px; background:var(--paper); color:var(--ink-2); }
.du-badge.turn { background:var(--ink); color:var(--paper); }
.board { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:2px; }
.board li { display:flex; align-items:center; gap:12px; padding:8px 4px; font-size:15px; }
.board li .rank { width:18px; text-align:center; font-weight:600; color:var(--mute); }
.board li .ava { width:32px; height:32px; font-size:13px; }
.board li .nm { flex:1; }
.board li .pts { font-variant-numeric:tabular-nums; font-weight:600; }
.board li.me { background:var(--ash); border-radius:14px; padding-left:8px; padding-right:12px; }
/* Referral: the Friends tab's one primary action */
.invite-card { position:relative; isolation:isolate; display:flex; flex-direction:column; gap:12px; border-radius:28px; padding:22px 20px 16px; background:var(--ink); color:var(--paper);
  box-shadow:0 1px 2px rgba(20,10,40,.1), 0 24px 44px -20px rgba(30,20,70,.55); }
.invite-card::after { content:''; position:absolute; inset:0; border-radius:inherit; z-index:-1; pointer-events:none;
  background:radial-gradient(60% 50% at 100% -10%, rgba(240,80,160,.45), transparent 70%), radial-gradient(60% 50% at 0% 110%, rgba(90,140,255,.4), transparent 70%); }
.invite-card h2 { margin:0; font-family:var(--f-serif); font-weight:400; font-size:30px; line-height:1.02; text-wrap:balance; }
.invite-card h2 em { font-style:italic; color:inherit; padding-right:.06em; }
.invite-card > p { margin:0; font-size:14.5px; line-height:1.4; color:rgba(255,255,255,.72); }
.tiers { list-style:none; margin:2px 0 0; padding:0; display:flex; flex-direction:column; gap:6px; }
.tiers li { display:flex; align-items:center; gap:10px; font-size:14px; color:rgba(255,255,255,.62); }
.tiers li i { flex:none; width:26px; height:26px; border-radius:50%; display:grid; place-items:center; font-style:normal; font-size:12.5px; font-weight:700; border:1.5px solid rgba(255,255,255,.25); }
.tiers li.on { color:#fff; }
.tiers li.on i { border:0; background:linear-gradient(135deg, #f050a0, #8c6eff 60%, #3fa0ff); }
.share-row { display:grid; grid-template-columns:repeat(4, 1fr); gap:8px; margin-top:4px; }
.sh { height:52px; border:0; border-radius:16px; display:grid; place-items:center; color:#fff; transition:transform .16s ease-out; }
.sh:active { transform:scale(.95); }
.sh.wa { background:#25d366; }
.sh.ms { background:linear-gradient(135deg, #0a7cff, #a033ff 70%, #ff5280); }
.sh.sms { background:#34c759; }
.sh.copy { background:rgba(255,255,255,.14); }
.invite-card .invited-link { align-self:center; padding:6px; font-size:14px; font-weight:500; color:rgba(255,255,255,.75); text-decoration:none; }
.invited { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; border-radius:20px; background:var(--ash); overflow:hidden; }
.invited li { display:flex; align-items:center; gap:12px; padding:12px 14px; }
.invited li + li { border-top:1px solid var(--line); }
.iv-text { flex:1; display:flex; flex-direction:column; min-width:0; }
.iv-text b { font-size:15.5px; }
.iv-text span { font-size:13px; color:var(--ink-2); }
.invited .pill { padding:8px 13px; font-size:13.5px; }
/* Party: one quiet row with its two actions */
.party { display:flex; align-items:center; gap:12px; margin-top:10px; border:1.5px solid var(--line); border-radius:22px; padding:14px; }
.pa-icon { flex:none; width:44px; height:44px; border-radius:14px; display:grid; place-items:center; color:#fff; background:linear-gradient(135deg, #ffb347, #ef7a3c 60%, #f0507f); }
.pa-text { flex:1; display:flex; flex-direction:column; gap:1px; min-width:0; }
.pa-text b { font-size:16px; }
.pa-text span { font-size:13px; color:var(--ink-2); line-height:1.3; }
.pa-actions { flex:none; display:flex; gap:6px; }
.pa-actions .pill { padding:9px 13px; font-size:14px; }

/* You */

/* ---------- Sheets: slide up over the app, drag down or tap outside to close ---------- */
.scrim { position:fixed; inset:0; z-index:40; background:rgba(11,11,12,.38); opacity:0; transition:opacity .3s ease; }
.scrim.on { opacity:1; }
.sheet { position:fixed; z-index:41; left:50%; bottom:0; width:min(100%, 480px); max-height:calc(100dvh - max(28px, env(safe-area-inset-top))); overflow:auto; overscroll-behavior:contain;
  translate:-50% 0; transform:translateY(105%); transition:transform .5s cubic-bezier(.32, .72, 0, 1);
  background:var(--paper); border-radius:28px 28px 0 0; padding:10px 22px calc(max(16px, env(safe-area-inset-bottom)) + 8px); display:flex; flex-direction:column; gap:14px;
  box-shadow:0 -10px 40px -10px rgba(0,0,0,.3); }
.sheet.on { transform:translateY(0); }
.sheet.dragging { transition:none; }
.grab { align-self:center; width:38px; height:5px; border-radius:3px; background:var(--line); margin-bottom:2px; }
.preview { align-self:center; font-size:12.5px; font-weight:600; color:var(--mute); border:1.5px dashed var(--line); border-radius:999px; padding:2px 10px; }
.sheet-title { margin:0; font-family:var(--f-serif); font-weight:400; font-size:32px; line-height:1.05; text-align:center; display:flex; align-items:center; justify-content:center; gap:8px; }
.sheet-sub { margin:-8px 0 0; text-align:center; color:var(--ink-2); font-size:15px; }
.vs { display:flex; align-items:center; justify-content:center; gap:22px; margin-top:4px; }
.vs-side { display:flex; flex-direction:column; align-items:center; gap:4px; }
.vs-side .ava { width:58px; height:58px; font-size:22px; }
.vs-side b { font-size:14px; font-weight:600; color:var(--ink-2); }
.vs-side strong { font-family:var(--f-serif); font-weight:400; font-size:44px; line-height:.9; }
.vs-mid { font-family:var(--f-serif); font-style:italic; font-size:22px; color:var(--mute); }
.rounds { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.rounds li { border-radius:18px; background:var(--ash); padding:12px 14px; display:flex; flex-direction:column; gap:8px; }
.rounds .rq { font-size:14px; color:var(--ink-2); }
.rounds .ans { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.rounds .ans > * { flex:0 1 auto; }
.rounds .a { display:flex; align-items:center; gap:7px; font-size:14.5px; font-weight:600; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.rounds .a i { flex:none; width:18px; height:18px; border-radius:50%; display:grid; place-items:center; font-style:normal; font-size:12.5px; color:#fff; background:var(--ok); }
.rounds .a i.x { background:var(--bad); }
.rounds .a small { font-weight:400; color:var(--mute); font-size:12.5px; }
.voice { display:flex; align-items:center; gap:7px; min-width:0; max-width:100%; border:0; border-radius:999px; background:var(--paper); padding:5px 11px 5px 5px; font-size:13px; font-weight:600; color:var(--ink); justify-self:start; white-space:nowrap; }
.voice .vt { overflow:hidden; text-overflow:ellipsis; }
.voice .ok { flex:none; width:7px; height:7px; border-radius:50%; background:var(--ok); }
.voice .ok.x { background:var(--bad); }
.voice .play { width:24px; height:24px; border-radius:50%; display:grid; place-items:center; background:var(--ink); color:#fff; }
.voice .wv { display:inline-flex; align-items:center; gap:2px; height:16px; }
.voice .wv b { width:3px; height:100%; border-radius:2px; background:var(--ink-2); transform:scaleY(var(--h)); }
.voice.playing .wv b { animation:ccWave .5s ease-in-out infinite alternate; background:#8c6eff; }
.voice.playing .wv b:nth-child(2n) { animation-duration:.38s; }
.voice.playing .wv b:nth-child(3n) { animation-duration:.62s; }
.code { display:flex; justify-content:center; gap:8px; }
.code span { width:58px; height:70px; border-radius:16px; display:grid; place-items:center; font-family:var(--f-serif); font-size:44px; background:var(--ash); box-shadow:inset 0 -3px 0 var(--line); }
.players { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; min-height:44px; }
.pl { display:inline-flex; align-items:center; gap:8px; border-radius:999px; background:var(--ash); padding:5px 14px 5px 5px; font-size:14.5px; font-weight:600; }
.pl i { width:30px; height:30px; border-radius:50%; display:grid; place-items:center; font-style:normal; color:#fff; font-size:13px; background:var(--c, #8c6eff); }
.pl.me i { background:#111; }
.pl.pop { animation:pop .6s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes pop { from { transform:scale(.4); opacity:0; } }
.codein { text-align:center; font-family:var(--f-serif); font-size:40px; letter-spacing:.3em; text-transform:uppercase; padding:12px 0 12px .3em; border-radius:20px; }
.join-step { display:flex; flex-direction:column; gap:14px; }
.buzzer { align-self:center; width:min(64vw, 240px); aspect-ratio:1; border-radius:50%; border:0; margin:10px 0 6px; color:#fff; font-weight:800; font-size:26px; letter-spacing:.08em;
  background:radial-gradient(circle at 35% 30%, #ff8a6b, var(--red) 55%, var(--red-rim)); box-shadow:0 12px 0 var(--red-rim), 0 26px 40px -10px rgba(230,65,36,.6); transition:transform .09s, box-shadow .09s; }
.buzzer:active, .buzzer.hit { transform:translateY(9px); box-shadow:0 3px 0 var(--red-rim), 0 12px 24px -10px rgba(230,65,36,.6); }
.rules { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.rules li { display:flex; flex-direction:column; gap:2px; padding:12px 14px; border-radius:18px; background:var(--ash); font-size:14.5px; color:var(--ink-2); }
.rules b { color:var(--ink); font-size:15.5px; }

.toast { position:fixed; z-index:60; left:50%; bottom:calc(max(10px, calc(env(safe-area-inset-bottom) - 12px)) + 84px); translate:-50% 0; transform:translateY(20px); opacity:0; pointer-events:none;
  background:var(--ink); color:var(--paper); border-radius:999px; padding:11px 18px; font-size:14.5px; font-weight:600; transition:transform .45s var(--ease-out), opacity .3s; max-width:calc(100% - 40px); text-align:center; }
.toast.on { transform:translateY(0); opacity:1; }
@media (prefers-reduced-motion:reduce) {
  .sheet, .scrim, .toast { transition:none; }
}

/* ---------- The end card: light like the app, one clear order (Mickey 1 Nov 2026: the dark one was all over the
   place, and signing up, the thing that matters most to us, looked the least important) ---------- */
.endcard { position:fixed; inset:0; z-index:45; overflow:auto; color:var(--ink); -webkit-overflow-scrolling:touch;
  background:radial-gradient(70% 28% at 15% 0%, rgba(240,80,160,.28), transparent 70%), radial-gradient(70% 28% at 85% 0%, rgba(90,170,255,.3), transparent 70%), radial-gradient(60% 22% at 50% 0%, rgba(140,110,255,.25), transparent 70%), var(--paper); }
.ec-inner { max-width:440px; margin:0 auto; min-height:100%; display:flex; flex-direction:column; align-items:stretch; gap:16px;
  padding:calc(max(16px, env(safe-area-inset-top)) + 58px) 22px max(22px, env(safe-area-inset-bottom)); } /* room for the close button */
.endcard.in .ec-inner > * { animation:ecIn .55s cubic-bezier(.23, 1, .32, 1) both; }
.endcard.in .ec-inner > *:nth-child(2) { animation-delay:.05s; } .endcard.in .ec-inner > *:nth-child(3) { animation-delay:.1s; }
.endcard.in .ec-inner > *:nth-child(4) { animation-delay:.2s; } .endcard.in .ec-inner > *:nth-child(n+5) { animation-delay:.3s; }
@keyframes ecIn { from { opacity:0; transform:translate3d(0, 10px, 0); } }
.ec-kicker { margin:0; text-align:center; font-size:12.5px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--mute); }
.ec-title { margin:-6px 0 0; text-align:center; font-family:var(--f-serif); font-weight:400; font-size:clamp(32px, 9.4vw, 40px); line-height:1.02; text-wrap:balance; }
.ec-title em, .ec-save h2 em { font-style:italic; color:inherit; padding-right:.06em; }
/* The result: the score and the spoiler-free row, side by side */
.ec-result { display:flex; align-items:center; justify-content:center; gap:16px; }
.ec-score { font-family:var(--f-serif); line-height:.9; white-space:nowrap; }
.ec-score b { font-weight:400; font-size:68px; }
.ec-score span { font-size:26px; color:var(--mute); }
.ec-score i { font-style:normal; }
.ec-grid { display:grid; grid-template-columns:repeat(5, 18px); gap:5px; }
.ec-grid i { width:18px; height:18px; border-radius:6px; background:var(--line); }
.ec-grid i.ok { background:var(--o3); box-shadow:inset 0 -2px 0 var(--o3-rim); }
.ec-grid i.pass { background:var(--o2); box-shadow:inset 0 -2px 0 var(--o2-rim); }
.endcard.in .ec-grid i { animation:ecPop .45s cubic-bezier(.3, 1.4, .5, 1) both; animation-delay:calc(.3s + var(--i) * .05s); }
@keyframes ecPop { from { transform:scale(.6); opacity:0; } }
/* One row of facts, all the same chip */
.ec-chips { display:flex; flex-wrap:wrap; justify-content:center; gap:6px; }
.ec-chip { display:inline-flex; align-items:center; gap:5px; font-size:13.5px; font-weight:600; border-radius:999px; padding:6px 12px; background:var(--ash); }
.ec-chip.best { background:linear-gradient(120deg, rgba(240,80,160,.14), rgba(140,110,255,.16)); }
.ec-chip.milestone { color:#fff; background:linear-gradient(120deg, #f050a0, #8c6eff 60%, #3fa0ff); }
.ec-quote { margin:0; text-align:center; font-family:var(--f-serif); font-style:italic; font-size:20px; line-height:1.2; text-wrap:balance; }
.ec-quote span { font-family:var(--f); font-style:normal; font-size:13px; color:var(--mute); }
/* Sign in: the hero of the card for a guest */
.ec-save { display:flex; flex-direction:column; gap:9px; padding:18px 16px 10px; border-radius:26px; background:#fff;
  box-shadow:0 1px 2px rgba(20,10,40,.06), 0 22px 44px -22px rgba(60,30,110,.45), inset 0 0 0 1px rgba(11,11,12,.05); }
.ec-save h2 { margin:0; text-align:center; font-family:var(--f-serif); font-weight:400; font-size:27px; line-height:1.05; }
.ec-save p { margin:0 0 4px; text-align:center; font-size:14.5px; color:var(--ink-2); }
.ec-save .cta { display:flex; align-items:center; justify-content:center; gap:10px; padding:15px 18px; font-size:17px; }
.ec-save .ec-fb { background:#1877f2; color:#fff; }
.ec-save .ec-apple { background:var(--ink); color:#fff; }
.ec-save .linkbtn { padding:8px; font-size:14.5px; font-weight:500; text-decoration:none; color:var(--ink-2); }
/* Challenge and share: side by side; for a guest they step back, signed in, challenge leads */
.ec-actions { display:grid; grid-template-columns:1.4fr 1fr; gap:8px; }
.ec-actions .cta { display:flex; align-items:center; justify-content:center; gap:8px; padding:15px 14px; font-size:16px; }
.endcard.guest .ec-actions .cta:not(.secondary) { background:var(--paper); color:var(--ink); border:1.5px solid var(--line); }
.ec-nudge { display:flex; flex-direction:column; gap:10px; padding:14px 16px; border-radius:20px; background:var(--ash); }
.ec-nudge p { margin:0; font-size:15px; line-height:1.4; color:var(--ink-2); }
.ec-nudge p b { color:var(--ink); margin-right:4px; }
.ec-nudge div { display:flex; gap:8px; }
.ec-nudge .pill { flex:1; justify-content:center; }
.ec-tomorrow { margin:0; text-align:center; font-size:14px; color:var(--ink-2); }
.ec-tomorrow b { color:var(--ink); }
.ec-more { display:flex; justify-content:center; gap:22px; }
.endcard .ec-more .linkbtn { color:var(--ink-2); text-decoration:none; font-size:15px; font-weight:500; padding:8px; }

/* The microphone primer and the challenge sheet */
.mic-ask { display:flex; flex-direction:column; gap:14px; }
.mic-ico { align-self:center; width:64px; height:64px; border-radius:50%; display:grid; place-items:center; color:#fff; background:linear-gradient(135deg, #f050a0, #8c6eff 60%, #3fa0ff); margin-top:6px; }
.taunts { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.taunt { display:flex; flex-direction:column; gap:3px; padding:14px; border-radius:20px; background:var(--ash); text-align:left; }
.taunt b { font-size:16px; }
.taunt > span { font-size:13px; color:var(--ink-2); margin-bottom:8px; }
.taunt-row { display:flex; flex-direction:column; gap:6px; }
.taunt .pill { padding:9px 12px; font-size:14px; }
.taunt .pill.done { background:var(--ink); color:#fff; border-color:var(--ink); }

/* A segmented control: Mild, Spicy, Savage */
.seg { display:grid; grid-template-columns:repeat(3, 1fr); gap:4px; padding:4px; border-radius:999px; background:var(--ash); }
.seg button { border:0; background:none; border-radius:999px; padding:10px 0; font-size:15px; font-weight:600; color:var(--ink-2); transition:background-color .2s, color .2s; }
.seg button[aria-checked="true"] { background:var(--ink); color:#fff; }
.field input#meAvoid { font-size:17px; }
/* The sheets that open over the end card must sit above it */
#scrimSolo { z-index:52; }
.sheet.solo { z-index:53; }

/* Confetti, fireworks (public/js/feel.js): above everything, never in the way of a finger */
.feel-bit { position:fixed; z-index:9000; pointer-events:none; will-change:transform, opacity; margin:-4px 0 0 -4px; }
.feel-rocket { position:fixed; z-index:9000; width:6px; height:6px; border-radius:50%; pointer-events:none; box-shadow:0 0 10px 3px rgba(255,255,255,.8); }
.feel-flash { position:fixed; z-index:8999; width:180px; height:180px; border-radius:50%; pointer-events:none; }

/* The streak flame on the home screen: bigger with every day, flickering from three (main.js loadStreak) */
#streakBtn svg { transform:scale(var(--flame, 1)); transform-origin:50% 85%; transition:transform .6s cubic-bezier(.34, 1.56, .64, 1); }
#streakBtn.lit svg { animation:flame 1.6s ease-in-out infinite; filter:drop-shadow(0 0 4px rgba(240,80,127,.55)); }
@keyframes flame { 0%, 100% { transform:scale(var(--flame, 1)) rotate(-2deg); } 50% { transform:scale(calc(var(--flame, 1) * 1.08)) rotate(2deg); } }
@media (prefers-reduced-motion: reduce) { #streakBtn.lit svg { animation:none; } }

/* "Give the hosts something to work with" (public/js/roast-profile.js): prompt chips, Facebook chips, the meter */
.rp { display:flex; flex-direction:column; gap:10px; margin-top:8px; text-align:left; }
.rp-chips { display:flex; flex-wrap:wrap; gap:7px; }
.rp-chip { padding:7px 12px; border-radius:999px; border:1.5px solid var(--line); background:var(--paper); color:var(--ink); font:inherit; font-size:14px; font-weight:500; }
.rp-chip.fb[aria-pressed="true"] { background:#1877f2; border-color:#1877f2; color:#fff; }
.rp-fb { display:flex; flex-direction:column; gap:8px; padding:12px; border-radius:16px; background:rgba(24,119,242,.07); }
.rp-fb-head { display:flex; align-items:center; gap:7px; font-size:14px; font-weight:600; }
.rp-fb small { font-size:12px; color:var(--mute); }
.rp-meter { display:flex; flex-direction:column; gap:6px; }
.rp-bar { height:8px; border-radius:4px; background:rgba(11,11,12,.08); overflow:hidden; transform-origin:50% 50%; }
.rp-bar i { display:block; height:100%; border-radius:4px; transform-origin:0 50%; transform:scaleX(0); transition:transform .5s cubic-bezier(.34, 1.56, .64, 1);
  background:linear-gradient(90deg, #ffb547, #f0507f, #8c6eff); }
.rp-bar.full i { box-shadow:0 0 10px rgba(240,80,127,.6); }
.rp-meter span { font-size:13px; color:var(--mute); }

/* Clay pieces (2 Nov 2026): no background, sticking out over the top of their cards */
.ava.photo { background-size:cover; background-position:center; }
.hotseat-card { overflow:visible; margin-top:14px; }
.hotseat-card::before { border-radius:inherit; }
.hs-art { flex:none; width:96px; margin:-34px -4px -8px -10px; pointer-events:none; }
.party .pa-art { flex:none; width:70px; margin:-22px -4px -10px -8px; pointer-events:none; }
.invite-card { position:relative; }
.ic-art { position:absolute; top:-40px; right:6px; width:108px; pointer-events:none; }
.invite-card { margin-top:36px; }
a.me-row { display:block; color:inherit; text-decoration:none; }
.alt-onb { display:flex; flex-direction:column; gap:2px; margin:14px 0 0; padding:14px 18px; border-radius:20px; border:1.5px dashed var(--line); color:inherit; text-decoration:none; font-size:15px; }
.alt-onb span { color:var(--ink-2); font-size:14px; }
/* ---------- The share card (Mickey 3 Nov 2026) ----------
   The Play card's world (ink, candy glow, the clay hosts) as a collectible: it flips in, sways a little while
   it waits, tilts in 3D under the finger, and a holographic foil and a shine follow the finger (sharecard.js
   sets --rx/--ry and --mx/--my). The same card is drawn as a picture for sharing. */
.sc-wrap { perspective:900px; margin-top:58px; }
.scard { position:relative; isolation:isolate; display:flex; flex-direction:column; align-items:center; gap:10px; text-align:center;
  border-radius:30px; padding:84px 22px 18px; background:var(--ink); color:var(--paper); overflow:visible;
  transform:rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style:preserve-3d; transition:transform .5s cubic-bezier(.23, 1, .32, 1);
  box-shadow:0 1px 2px rgba(20,10,40,.1), 0 30px 50px -22px rgba(30,20,70,.6); will-change:transform; }
.scard.held { transition:transform .08s linear; }
.scard::after { content:''; position:absolute; inset:0; border-radius:inherit; z-index:-1; pointer-events:none;
  background:radial-gradient(60% 45% at 18% 108%, rgba(240,80,160,.5), transparent 70%), radial-gradient(60% 45% at 84% 112%, rgba(90,140,255,.5), transparent 70%), radial-gradient(50% 30% at 50% 0%, rgba(140,110,255,.28), transparent 75%); }
.sc-hosts { position:absolute; left:50%; top:-60px; width:min(64%, 236px); translate:-50% 0; transform:translateZ(40px); pointer-events:none; -webkit-user-drag:none; }
.sc-top { align-self:stretch; display:flex; justify-content:space-between; font-size:11.5px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.6); }
.sc-score { transform:translateZ(30px); }
.scard .ec-score b { font-size:96px; }
.scard .ec-score span { color:rgba(255,255,255,.5); font-size:34px; }
.sc-rank { margin:-4px 0 2px; display:flex; flex-direction:column; gap:2px; font-family:var(--f-serif); font-style:italic; font-size:27px; line-height:1.05; text-wrap:balance; }
.sc-rank span { color:inherit; padding:0 .08em; }
.sc-rank small { font-family:var(--f); font-style:normal; font-size:11.5px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.45); }
.scard .sc-grid { grid-template-columns:repeat(5, 30px); gap:7px; margin:4px 0 2px; transform:translateZ(20px); }
.scard .sc-grid i { width:30px; height:30px; border-radius:9px; background:rgba(255,255,255,.12); }
.scard .sc-grid i.ok { background:var(--o3); box-shadow:inset 0 -3px 0 var(--o3-rim); }
.scard .sc-grid i.pass { background:var(--o2); box-shadow:inset 0 -3px 0 var(--o2-rim); }
.scard .ec-quote { color:rgba(255,255,255,.9); font-size:18px; }
.scard .ec-quote span { color:rgba(255,255,255,.5); }
.scard .ec-chip { background:rgba(255,255,255,.1); color:var(--paper); }
.scard .ec-chip.best { background:linear-gradient(120deg, rgba(240,80,160,.4), rgba(140,110,255,.45)); }
.sc-foot { align-self:stretch; display:flex; justify-content:space-between; align-items:baseline; margin-top:6px; padding-top:12px; border-top:1px solid rgba(255,255,255,.12); font-size:14px; font-weight:600; }
.sc-mark { font-family:Switzer, system-ui, sans-serif; font-weight:700; font-size:16px; letter-spacing:-.03em; color:rgba(255,255,255,.75); }
/* The holographic foil (a rainbow band that slides with the tilt) and the shine under the finger */
.sc-foil, .sc-shine { position:absolute; inset:0; border-radius:inherit; pointer-events:none; }
.sc-foil { z-index:-1; opacity:.1; mix-blend-mode:screen; transition:opacity .4s;
  background:linear-gradient(115deg, transparent 30%, #ff9ad8 39%, #fff1a8 44%, #a8ffd9 49%, #a8dcff 54%, #cfa8ff 59%, transparent 68%);
  background-size:260% 260%; background-position:calc(50% + var(--mx, 50%) * .6 - 30%) calc(50% + var(--my, 50%) * .6 - 30%); }
.scard.held .sc-foil { opacity:.26; }
.sc-shine { z-index:2; opacity:0; transition:opacity .35s; mix-blend-mode:soft-light;
  background:radial-gradient(45% 35% at var(--mx, 50%) var(--my, 30%), rgba(255,255,255,.75), transparent 70%); }
.scard.held .sc-shine { opacity:1; }
/* In: flipped from its edge like a card dealt onto the table; then a slow sway until it's touched */
.endcard.in .scard { animation:scDeal .9s cubic-bezier(.2, 1.25, .35, 1) .1s both, scSway 7s ease-in-out 1.2s infinite; }
.scard.held, .scard.touched { animation:none !important; }
@keyframes scDeal { from { transform:rotateY(-80deg) rotateX(18deg) translateY(30px) scale(.85); opacity:0; } }
@keyframes scSway { 0%, 100% { transform:rotateX(2deg) rotateY(-5deg); } 50% { transform:rotateX(-2deg) rotateY(5deg); } }
@media (prefers-reduced-motion: reduce) { .endcard.in .scard { animation:none; } .scard { transform:none !important; } }
.sc-preview { position:fixed; inset:0; z-index:80; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; padding:max(20px, env(safe-area-inset-top)) 22px max(20px, env(safe-area-inset-bottom)); background:rgba(11,11,12,.86); color:#fff; }
.sc-preview img { max-width:100%; max-height:70vh; border-radius:18px; box-shadow:0 20px 50px rgba(0,0,0,.5); -webkit-touch-callout:default; -webkit-user-select:auto; user-select:auto; }
.sc-preview p { margin:0; font-size:15px; color:rgba(255,255,255,.75); }
.sc-preview div { display:grid; grid-template-columns:1fr 1fr; gap:8px; width:min(100%, 420px); }
/* The share card, round two (Mickey 3 Nov 2026): the hosts' line about you is the hero, the score sits under
   it, and Share lives on the card itself */
.sc-quote { margin:2px 0 0; font-family:var(--f-serif); font-style:italic; font-size:clamp(25px, 7.4vw, 30px); line-height:1.12; text-wrap:balance; transform:translateZ(30px); transition:opacity .4s, transform .5s; }
.sc-quote.swap { opacity:0; transform:translateZ(30px) translateY(8px); }
.sc-quote em { font-style:italic; color:inherit; padding-right:.06em; }
.sc-by { margin:-2px 0 4px; font-size:11.5px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:rgba(255,255,255,.55); }
.sc-row { display:flex; align-items:center; justify-content:center; gap:16px; transform:translateZ(20px); }
.scard .sc-row .ec-score b { font-size:64px; }
.scard .sc-row .ec-score span { font-size:24px; }
.sc-side { display:flex; flex-direction:column; align-items:flex-start; gap:7px; }
.scard .sc-grid { grid-template-columns:repeat(5, 22px); gap:5px; margin:0; transform:none; }
.scard .sc-grid i { width:22px; height:22px; border-radius:7px; }
.scard .sc-rank { margin:0; display:block; font-family:var(--f); font-style:normal; font-size:12.5px; font-weight:600; color:rgba(255,255,255,.7); }
.scard .ec-quote { display:none !important; }
.sc-foot { align-items:center; }
.sc-share { display:inline-flex; align-items:center; gap:7px; border:0; border-radius:999px; padding:11px 18px; background:var(--paper); color:var(--ink); font:600 15px var(--f); transform:translateZ(24px); box-shadow:0 8px 20px -8px rgba(0,0,0,.5); }
.sc-share:active { transform:translateZ(24px) scale(.96); }
.sc-tilt { margin:-6px 0 0; text-align:center; font-size:13px; color:var(--mute); }
.ec-actions { grid-template-columns:1fr; }
.story-card.museum::before { background:radial-gradient(60% 80% at 80% 20%, rgba(217,178,95,.42), transparent 70%), radial-gradient(50% 60% at 10% 110%, rgba(111,155,224,.3), transparent 70%); }
.story-card.museum .sc-k { color:#d9b25f; }
.story-card + .story-card { margin-top:-4px; }
/* ---------- Learning (Mickey 3 Nov 2026) ----------
   The why after a verdict sits where the commands were; "You learned tonight" on the end card; "What you know"
   on the You tab. Quiet, readable, in the app's own style. */
.why { margin:8px 2px 0; display:flex; gap:8px; align-items:flex-start; padding:8px 12px; border-radius:14px; background:var(--ash); font-size:14px; line-height:1.3; color:var(--ink); }
.why { padding-left:26px; position:relative; } /* the whole why, never cut off (Mickey 8 Nov 2026: Carthage ended at "the suburb of") */
.why.long { font-size:13px; line-height:1.25; }
.why::before { position:absolute; left:11px; top:13px; margin:0 !important; }
.why::before { content:''; flex:none; width:8px; height:8px; margin-top:6px; border-radius:50%; background:linear-gradient(120deg, #f050a0, #8c6eff 60%, #3fa0ff); }
.why[hidden] { display:none; }
.why.in { animation:whyIn .45s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes whyIn { from { opacity:0; transform:translateY(6px); } }
.ec-learned { padding:16px 18px 14px; border-radius:22px; background:#fff; box-shadow:0 1px 2px rgba(20,10,40,.06), 0 14px 30px -18px rgba(60,30,110,.3); }
.ec-learned[hidden] { display:none; }
.ec-learned h2 { margin:0 0 8px; font-family:var(--f-serif); font-weight:400; font-size:23px; line-height:1.1; }
.ec-learned ul { margin:0; padding:0; list-style:none; display:flex; flex-direction:column; gap:8px; }
.ec-learned li { position:relative; padding-left:18px; font-size:15px; line-height:1.35; color:var(--ink-2); }
.ec-learned li::before { content:''; position:absolute; left:2px; top:7px; width:8px; height:8px; border-radius:3px; background:var(--o3); }
.ec-learned li.no::before { background:var(--o1); }
.know-empty[hidden] { display:none; }
.know-row { padding:11px 0; border-top:1px solid var(--line); }
.know-row:first-child { border-top:0; }
.know-top { display:flex; justify-content:space-between; font-size:16px; }
.know-top span { font-weight:600; font-variant-numeric:tabular-nums; }
.know-bar { height:7px; margin:7px 0 6px; border-radius:99px; background:var(--ash); overflow:hidden; }
.know-bar i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg, #f050a0, #8c6eff 60%, #3fa0ff); }
.know-sub { font-size:13px; color:var(--mute); }
.know-sub .up { color:var(--ok); font-weight:600; } .know-sub .down { color:var(--bad); font-weight:600; }
.know-sub .top { color:var(--ink); font-weight:600; }
.know-learned { margin:8px 0 0; font-size:14px; color:var(--ink-2); }
.know-learned[hidden] { display:none; }
.extra.live .soon { background:var(--ink); color:var(--paper); }
.story-card.kids { background:linear-gradient(160deg, #bfe3ff, #fff6df); color:#24304a; padding-right:120px; }
.story-card.kids::before { display:none; }
.story-card.kids .sc-k { color:#3a7bd5; }
.story-card.kids span:last-child { color:#5d6a86; }
.story-card.kids .sc-duo { position:absolute; right:52px; bottom:8px; height:84px; }
.story-card.kids .sc-duo.b { right:6px; height:92px; }

/* ---------- The deck (Mickey 8 Nov 2026: "make them a bit more sexy… bigger… something sexy when you swipe them…
   different colors… the quizzes and the theme nights the same component") ----------
   Big coloured cards on a snapping rail. deck.js sets --d (how far a card is from the middle, -1..1) while the
   rail scrolls: the middle card stands up straight and full size, its neighbours turn away and sink back, and the
   clay art drifts against the swipe, so the piece floats over its card. */
/* Room above the cards for the clay to stand out of them (a scrolling row clips what goes outside it) */
.deck { display:flex; gap:6px; overflow-x:auto; overflow-y:visible; scroll-snap-type:x mandatory; scroll-padding:0 24px; margin:-20px -24px -18px; padding:30px 24px 30px;
  scrollbar-width:none; perspective:1000px; -webkit-overflow-scrolling:touch; }
.deck::-webkit-scrollbar { display:none; }
.dcard { --d:0; --a:0; flex:none; position:relative; width:min(64vw, 250px); aspect-ratio:4 / 5; min-height:0; /* keeps its shape: the clay stands out of the top instead of stretching the card */ scroll-snap-align:center; scroll-snap-stop:always;
  display:flex; flex-direction:column; justify-content:flex-end; gap:6px; padding:18px 18px 20px; border:0; border-radius:30px; text-align:left; color:var(--ink);
  background:linear-gradient(170deg, var(--c), color-mix(in srgb, var(--c) 78%, var(--r))); /* no light patch behind the clay (Mickey 11 Nov 2026) */
  box-shadow:inset 0 -6px 0 var(--r), inset 0 1px 0 rgba(255,255,255,.6), 0 22px 34px -18px color-mix(in srgb, var(--r) 85%, #000 15%);
  transform:rotateY(calc(var(--d) * -16deg)) scale(calc(1 - min(1, var(--a)) * .06)) translateZ(0);
  opacity:calc(1 - min(1, var(--a)) * .25); will-change:transform; }
.dcard:first-child { scroll-snap-align:start; }
.dcard:last-child { scroll-snap-align:end; }
.dcard:active { filter:brightness(.97); }
/* The clay stands up out of the top of the card and stops well above the title (Mickey 10 Nov 2026: figures sat on the
   quiz names and looked buggy): a fixed share of the card's height, whatever the picture's shape */
.dc-art { position:relative; flex:1 1 0; min-height:0; width:100%; height:auto; object-fit:contain; object-position:50% 100%; margin:-44px 0 4px; pointer-events:none;
  /* The clay fills the room above the text and rises only a little over the card's top edge (Mickey 11 Nov 2026: "only
     a SMIDGE over the edges"), the same for every card whatever the title's length */
  transform:translate3d(calc(var(--d) * 26px), calc(var(--a) * 10px), 0) rotate(calc(var(--d) * 6deg)); }
.dcard b { font-family:var(--f-serif); font-weight:400; font-size:31px; line-height:.98; letter-spacing:-.01em; }
.dc-sub { font-size:13.5px; line-height:1.3; opacity:.78; max-width:26ch; }
/* Every card says what tapping it does (Mickey 9 Nov 2026: "the other quizzes and challenges are all missing a CTA") */
.dc-foot { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:4px; }
.dc-foot .dc-meta { margin-top:0; }
.dc-cta { display:inline-flex; align-items:center; gap:6px; padding:8px 14px; border-radius:999px; background:var(--ink); color:var(--paper); font-size:14px; font-weight:700; box-shadow:0 3px 0 rgba(0,0,0,.25); }
.dc-cta.soft { background:rgba(255,255,255,.85); color:var(--ink); box-shadow:none; font-weight:600; }
.dc-meta { align-self:flex-start; margin-top:4px; padding:5px 11px; border-radius:999px; background:rgba(255,255,255,.62); font-size:12.5px; font-weight:600; }
@media (prefers-reduced-motion: reduce) { .dcard, .dc-art { transform:none; } }

.ec-close { position:fixed; z-index:46; top:calc(env(safe-area-inset-top) + 10px); left:14px; width:42px; height:42px; display:grid; place-items:center; border:0; border-radius:50%;
  background:rgba(255,255,255,.78); color:var(--ink); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); box-shadow:0 4px 14px rgba(20,20,40,.12); }
.ec-close:active { transform:scale(.94); }
.endcard[hidden] .ec-close { display:none; }

/* Bug report by voice (9 Nov 2026) */
.bugsheet { position:fixed; inset:0; z-index:60; display:grid; align-items:end; background:rgba(11,11,12,.38); padding:0 12px calc(12px + env(safe-area-inset-bottom)); animation:bsFade .2s ease both; }
.bugsheet[hidden] { display:none; }
.bs-card { background:var(--paper); border-radius:26px; padding:22px 20px 18px; box-shadow:0 20px 50px -20px rgba(0,0,0,.4); animation:bsUp .38s cubic-bezier(.2, 1.1, .3, 1) both; }
.bs-card b { display:block; font-family:var(--f-serif); font-weight:400; font-size:28px; line-height:1.05; }
.bs-card p { margin:6px 0 14px; color:var(--mute); font-size:15px; }
.bs-level { height:8px; border-radius:8px; background:var(--line); overflow:hidden; margin-bottom:16px; }
.bs-level i { display:block; height:100%; width:100%; transform-origin:0 50%; transform:scaleX(var(--l, 0)); background:linear-gradient(90deg, #f050a0, #8c6eff, #3fa0ff); transition:transform .08s linear; }
.bs-row { display:flex; gap:10px; }
.bs-row .pill { flex:1; height:50px; font-size:16px; }
.bs-send { background:var(--ink); color:var(--paper); border-color:var(--ink); }
@keyframes bsFade { from { opacity:0; } }
@keyframes bsUp { from { transform:translate3d(0, 40px, 0); opacity:0; } }

/* Where it went wrong (9 Nov 2026): each miss as the question, what they said (struck) and what it was */
.ec-misses li { display:flex; flex-direction:column; gap:2px; }
.ec-misses .mq { color:var(--ink); font-weight:600; }
.ec-misses .ma { font-size:14px; }
.ec-misses .ma s { text-decoration-thickness:2px; text-decoration-color:var(--red, #e64124); }
.ec-miss-roast { margin:0 0 10px; font-family:var(--f-serif); font-style:italic; font-size:18px; line-height:1.25; }
.ec-miss-roast b { font-family:var(--f); font-style:normal; font-size:13px; font-weight:700; margin-right:4px; color:var(--ink-2); }

/* ---------- The store, a preview (Mickey 10 Nov 2026; js/store.js, js/plans.js) ----------
   Same clay and serif as the rest: the Pro card is the Play card's dark sibling, the weekly ticket a clay tile,
   the packs a quiet list with the price on the button. */
.app-side { display:inline-flex; align-items:center; gap:8px; }
.prochip { display:inline-flex; align-items:center; gap:5px; border:0; border-radius:999px; padding:7px 12px 7px 10px; font-size:14px; font-weight:700; color:var(--ink);
  background:linear-gradient(var(--paper), var(--paper)) padding-box, linear-gradient(100deg, #f050a0, #8c6eff 55%, #3fa0ff) border-box; border:1.5px solid transparent; transition:transform .16s ease-out; }
.prochip svg { color:#8c6eff; }
.prochip.on { color:#fff; background:linear-gradient(100deg, #f050a0, #8c6eff 55%, #3fa0ff); }
.prochip.on svg { color:#fff; }
.prochip:active { transform:scale(.96); }

/* A long sheet scrolls; its parts never squash to fit (the Pro card and the lists were clipped) */
.sheet.plans > *, #sheetStoreHow > * { flex-shrink:0; }
.sheet-title em { font-style:italic; color:inherit; padding-right:.06em; }
.seg.two { grid-template-columns:1fr 1fr; }
.seg .save { display:inline-block; margin-left:4px; padding:1px 7px; border-radius:999px; font-size:11.5px; font-weight:700; background:var(--o3); color:var(--ink); vertical-align:1px; }

.procard { position:relative; isolation:isolate; overflow:hidden; display:flex; flex-direction:column; gap:6px; padding:20px 20px 18px; border-radius:26px; background:var(--ink); color:var(--paper);
  box-shadow:0 1px 2px rgba(20,10,40,.1), 0 22px 40px -22px rgba(30,20,70,.6); }
.procard::after { content:''; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:radial-gradient(60% 55% at 12% 110%, rgba(240,80,160,.5), transparent 70%), radial-gradient(60% 55% at 92% 115%, rgba(90,140,255,.5), transparent 70%); }
.pro-price { display:flex; align-items:baseline; gap:8px; }
.pro-price b { font-family:var(--f-serif); font-weight:400; font-size:46px; line-height:1; letter-spacing:-.01em; }
.pro-price span { font-size:15px; color:rgba(255,255,255,.7); }
.pro-note { margin:0; font-size:14px; color:rgba(255,255,255,.72); }
.pro-perks { list-style:none; margin:6px 0 0; padding:0; display:flex; flex-direction:column; gap:7px; }
.pro-perks li { position:relative; padding-left:24px; font-size:15px; line-height:1.3; }
.pro-perks li::before { content:''; position:absolute; left:0; top:2px; width:16px; height:16px; border-radius:50%;
  background:var(--o3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0b0c' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 11px no-repeat; }
.procard .pc-go { margin-top:10px; }
.procard.is-pro .pro-perks li::before { background-color:var(--o2); }

.ticket { display:flex; align-items:center; gap:12px; padding:16px 16px 18px; border-radius:24px; color:var(--ink);
  background:radial-gradient(130% 90% at 80% 0%, rgba(255,255,255,.55), rgba(255,255,255,0) 60%), var(--o2); box-shadow:inset 0 -5px 0 var(--o2-rim); }
.tk-text { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.tk-text b { font-family:var(--f-serif); font-weight:400; font-size:26px; line-height:1; }
.tk-text span { font-size:13.5px; line-height:1.3; color:var(--ink-2); }
.tk-buy { flex:none; min-width:76px; }

.plans-h { margin:6px 0 -4px; font-size:16px; font-weight:600; }
.buylist { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; border-radius:20px; background:var(--ash); overflow:hidden; }
.buylist li { display:flex; align-items:center; gap:12px; padding:10px 12px 10px 10px; }
.buylist li + li { border-top:1px solid var(--line); }
.buylist img { flex:none; width:44px; height:44px; object-fit:contain; }
.bl-text { flex:1; min-width:0; display:flex; flex-direction:column; }
.bl-text b { font-size:15.5px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.bl-text span { font-size:12.5px; color:var(--mute); }
.bl-buy { flex:none; min-width:68px; padding:8px 12px; font-size:14px; }
.bl-state { flex:none; display:inline-flex; align-items:center; gap:4px; font-size:13.5px; font-weight:600; color:var(--ok); padding:0 6px; }
.plans-cancel { margin:4px 0 0; text-align:center; font-size:14px; color:var(--ink-2); }
.plans-cancel b { color:var(--ink); }
.plans-links { display:flex; flex-wrap:wrap; justify-content:center; gap:0 4px; margin-top:-8px; }
.plans-links .linkbtn { padding:8px 6px; font-size:13.5px; font-weight:500; color:var(--ink-2); }
.rules li.flash { animation:howFlash 1.6s ease-out .4s; }
@keyframes howFlash { 30% { background:color-mix(in srgb, var(--o2) 70%, var(--ash)); } }

/* A button waiting for the store */
.spin { display:inline-block; width:16px; height:16px; border-radius:50%; border:2px solid currentColor; border-right-color:transparent; animation:spin .7s linear infinite; vertical-align:-3px; }
@keyframes spin { to { transform:rotate(360deg); } }

/* Your plan (and account) on the You tab */
.mebox { display:flex; flex-direction:column; border-radius:20px; background:var(--ash); overflow:hidden; }
.mb-row { display:flex; align-items:center; gap:12px; padding:12px 12px 12px 14px; }
.mb-row + .mb-row { border-top:1px solid var(--line); }
.mb-ico { flex:none; width:36px; height:36px; border-radius:50%; display:grid; place-items:center; color:#fff; font-weight:700; font-size:15px;
  background:#111; }
.mb-text { flex:1; min-width:0; display:flex; flex-direction:column; gap:1px; }
.mb-text b { font-size:16px; }
.mb-text span { font-size:13px; line-height:1.3; color:var(--ink-2); }
.mb-row .pill { flex:none; padding:8px 14px; font-size:14px; }

/* The free allowance, in plain sight under tonight's show (Quizy in use, 10 Nov 2026: "4 Classic games a month" with
   four dots on its home screen). One line of what's free, one link to what isn't. */
.quota { display:flex; align-items:center; gap:10px; margin-top:14px; padding:11px 14px; border-radius:18px; background:var(--ash); font-size:14px; line-height:1.3; color:var(--ink-2); }
.q-dots { flex:none; display:inline-flex; gap:4px; }
.q-dots i { width:10px; height:10px; border-radius:50%; background:var(--o3); box-shadow:inset 0 -2px 0 var(--o3-rim); }
.q-dots i.used { background:none; box-shadow:inset 0 0 0 1.5px var(--mute); }
.q-dots i.pro { background:linear-gradient(135deg, #f050a0, #8c6eff 60%, #3fa0ff); box-shadow:none; }
.q-text { flex:1; min-width:0; }
.q-text b { color:var(--ink); font-weight:600; }
.q-link { flex:none; border:0; background:none; padding:6px 0 6px 4px; font-size:14px; font-weight:600; color:var(--ink); text-decoration:underline; text-underline-offset:3px; }
/* The stories, "Off the menu" (Mickey 10 Nov 2026): the same card, in the dark of the stories' own screens; their colour
   only on the tag, so they read as something else on the menu, and free */
a.dcard { text-decoration:none; -webkit-tap-highlight-color:transparent; }
.dcard.offmenu { color:#efe9e1;
  /* Plain deep grey, no coloured glow behind the clay and no coloured rim (Mickey 11 Nov 2026) */
  background:linear-gradient(170deg, #2a292d, #1c1b1f);
  box-shadow:inset 0 -6px 0 #121114, inset 0 1px 0 rgba(255,255,255,.08), 0 22px 34px -18px rgba(0,0,0,.55); }
.dcard.offmenu .dc-sub { opacity:.72; }
.dcard.offmenu .dc-meta { background:rgba(255,255,255,.1); color:#efe9e1; }
.dcard.offmenu .dc-cta { background:var(--paper); color:var(--ink); box-shadow:0 3px 0 rgba(0,0,0,.4); }
.dc-off { position:relative; z-index:1; align-self:flex-start; padding:4px 10px; border-radius:999px; font-size:11.5px; font-weight:700; letter-spacing:.04em;
  background:var(--c); color:var(--ink); }
.quota + .nextshow { margin-top:6px; }

/* Locks and price badges on the quiz and theme-night cards (Quizy's "PREMIUM / YOURS TODAY" badges, in clay): the
   badge sits above the title, a locked card's button shows the lock and the price where you tap */
.dc-badge { position:relative; z-index:1; align-self:flex-start; display:inline-flex; align-items:center; gap:5px; padding:4px 10px; border-radius:999px; font-size:11.5px; font-weight:700; letter-spacing:.04em;
  background:rgba(255,255,255,.78); color:var(--ink); }
.dc-badge.free { background:var(--ink); color:var(--paper); }
.dc-badge.pro { color:#fff; background:linear-gradient(100deg, #f050a0, #8c6eff 55%, #3fa0ff); }
.dc-badge.owned { background:rgba(255,255,255,.9); color:var(--ok); }
.dcard.locked .dc-cta { background:rgba(255,255,255,.88); color:var(--ink); box-shadow:none; }
.dcard.locked .dc-art { filter:saturate(.8); }

/* The item's own sheet: its clay piece, its price and Buy, the plans below (Quizy's "Pack + 4 games, Buy") */
.pk-art { align-self:center; width:150px; height:120px; object-fit:contain; margin:-4px 0 -6px; }
.pk-buyrow { display:flex; align-items:center; gap:12px; padding:14px 14px 14px 18px; border-radius:22px; background:var(--c, var(--o2)); box-shadow:inset 0 -5px 0 var(--r, var(--o2-rim)); }
.pk-buyrow .tk-text b { font-size:24px; }
.pk-buyrow .pill { flex:none; min-width:96px; }
.pk-or { margin:4px 0 -4px; text-align:center; font-size:13px; font-weight:600; color:var(--mute); }
.pk-plans { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; border-radius:20px; background:var(--ash); overflow:hidden; }
.pk-plans li { display:flex; align-items:center; gap:12px; padding:12px 12px 12px 16px; }
.pk-plans li + li { border-top:1px solid var(--line); }
.pk-plans .pill { flex:none; min-width:96px; padding:8px 12px; font-size:14px; }
#sheetPack > * { flex-shrink:0; }
.pk-plans .tk-text b { font-family:var(--f); font-size:16px; font-weight:600; line-height:1.2; }
.plans-alllink { align-self:center; padding:6px 10px; font-size:14.5px; }

/* ---------- Sign in, a preview (Mickey 10 Nov 2026; js/signin.js) ---------- */
/* The end card's box once signed in: a thank-you instead of the buttons */
.ec-save .ec-saved { display:none; }
.ec-save.done > :not(.ec-saved) { display:none; }
.ec-save.done .ec-saved { display:flex; flex-direction:column; align-items:center; gap:4px; padding:4px 0 8px; text-align:center; }
.ec-saved .ap-ok { width:34px; height:34px; margin-bottom:4px; }
.ec-saved h2 { margin:0; }
.ec-save .ec-google { display:flex; }
/* The system's sign-in sheet, imitated: a small card in the middle, dimmed behind */
.authpop { position:fixed; inset:0; z-index:70; display:grid; place-items:center; padding:24px; background:rgba(11,11,12,.32); opacity:0; transition:opacity .22s ease; }
.authpop.on { opacity:1; }
.ap-card { width:min(300px, 100%); display:flex; flex-direction:column; align-items:center; gap:4px; padding:24px 20px 20px; border-radius:22px; text-align:center;
  background:rgba(250,250,250,.94); -webkit-backdrop-filter:blur(24px); backdrop-filter:blur(24px); box-shadow:0 20px 50px -12px rgba(0,0,0,.35);
  font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; transform:scale(1.06); transition:transform .3s var(--ease-out); }
.authpop.on .ap-card { transform:none; }
.ap-logo { width:56px; height:56px; border-radius:16px; display:grid; place-items:center; margin-bottom:8px; background:#fff; box-shadow:0 2px 8px rgba(0,0,0,.08); }
.ap-logo.apple { background:#000; color:#fff; }
.ap-card b { font-size:17px; font-weight:600; }
.ap-sub { font-size:13.5px; color:var(--mute); }
.ap-state { display:inline-flex; align-items:center; gap:8px; margin-top:14px; font-size:15px; font-weight:500; color:var(--ink-2); min-height:24px; }
.ap-ok { display:inline-grid; place-items:center; width:22px; height:22px; border-radius:50%; background:var(--ok); color:#fff; }
/* Email: the address, then six boxes for the code */
.auth-step { display:flex; flex-direction:column; gap:14px; }
.auth-step input[type="email"] { text-align:center; }
.otp { position:relative; align-self:center; }
.otp-boxes { display:grid; grid-template-columns:repeat(6, 44px); gap:7px; }
.otp-boxes i { height:56px; border-radius:14px; display:grid; place-items:center; font-style:normal; font-family:var(--f-serif); font-size:32px; background:var(--ash); box-shadow:inset 0 -3px 0 var(--line); transition:box-shadow .15s; }
.otp-boxes i.at { box-shadow:inset 0 0 0 2px var(--ink); }
.otp-boxes.checking i { animation:otpWait .9s ease-in-out infinite; }
.otp-boxes.checking i:nth-child(2n) { animation-delay:.15s; }
.otp-boxes.spent { opacity:.45; }
@keyframes otpWait { 50% { opacity:.45; } }
/* The real input lies over the boxes, invisible: the keyboard, paste and the one-time-code autofill all work */
.otp input { position:absolute; inset:0; width:100%; height:100%; opacity:0; font-size:17px; border:0; padding:0; caret-color:transparent; }
.auth-row { display:flex; justify-content:center; gap:4px; margin-top:-6px; }
.auth-row .linkbtn { font-size:14px; font-weight:500; color:var(--ink-2); padding:8px; }
.mb-ico.me { font-size:15px; }
/* The sign-in sheet borrows the end card's buttons, without its box */
.signin-box { padding:0; background:none; box-shadow:none; }
#sheetSignin > *, #sheetEmail > * { flex-shrink:0; }
.auth-step .err:empty { display:none; }
/* A toast takes the width its words need (up to the screen), instead of wrapping at half the screen */
.toast { width:max-content; }
/* ---------- What the hosts listen for (Quizy in use, 10 Nov 2026: the spoken commands on screen while the show
   loads). Over everything, never in the way: it goes by itself, a tap sends it sooner. ---------- */
/* Below the top bar, so the bug and pause buttons stay tappable while it shows (first-run QA 10 Nov 2026) */
/* At the bottom, where the answers will be, not over the hosts' faces (Mickey 12 Nov 2026) */
.cmdcard { position:fixed; z-index:62; left:50%; bottom:calc(max(16px, env(safe-area-inset-bottom)) + 16px); width:min(calc(100% - 32px), 420px); translate:-50% 0;
  display:flex; flex-direction:column; gap:10px; padding:14px 16px 16px; border-radius:22px; background:rgba(255,255,255,.95); color:var(--ink);
  -webkit-backdrop-filter:blur(18px); backdrop-filter:blur(18px); box-shadow:0 18px 40px -16px rgba(30,20,70,.45), inset 0 0 0 1px rgba(11,11,12,.05);
  transform:translateY(14px); opacity:0; transition:transform .45s var(--ease-out), opacity .3s; }
.cmdcard.on { transform:none; opacity:1; }
.cmdcard .cc-h { display:flex; align-items:center; gap:9px; font-size:15px; font-weight:600; }
.cmdcard .cc-h i { flex:none; width:28px; height:28px; border-radius:50%; display:grid; place-items:center; color:#fff; background:#111; }
.cmdcard ul { list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:6px; }
.cmdcard li { padding:6px 11px; border-radius:999px; background:var(--ash); font-size:14px; font-weight:500; }
.cmdcard li::before { content:'“'; color:var(--mute); }
.cmdcard li::after { content:'”'; color:var(--mute); }
.cmdcard .cc-foot { margin:0; font-size:12.5px; color:var(--mute); }
/* ---------- The answer clock (Quizy's per-turn bar, 10 Nov 2026): a thin line under the category row that drains
   while the hosts wait for an answer. Takes no room (absolute), goes red for the last three seconds. ---------- */
.qhead { position:relative; }
.turnbar { position:relative; flex:none; width:100%; margin:14px 0 16px; height:4px; border-radius:2px; background:color-mix(in srgb, var(--line) 70%, transparent); overflow:hidden;
  opacity:0; transition:opacity .25s; pointer-events:none; }
.turnbar.on { opacity:1; }
.turnbar i { position:absolute; inset:0; border-radius:inherit; transform-origin:left center; background:var(--ink); transition:background-color .3s; }
.turnbar.late i { background:var(--red); }
.turnbar.held { opacity:.35; }
.turnbar.held i { background:var(--mute); }
.turnbar:not(.on) { opacity:0; }
@media (prefers-reduced-motion:reduce) { .turnbar { display:none; } }
/* ---------- Who's playing (party preview, Quizy's fixed turn order) ---------- */
#sheetWho > * { flex-shrink:0; }
.pp-list { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.pp-row { display:flex; align-items:center; gap:10px; }
.pp-row i { flex:none; width:40px; height:40px; border-radius:50%; display:grid; place-items:center; font-style:normal; font-family:var(--f-serif); font-size:22px; color:var(--ink);
  background:var(--c); box-shadow:inset 0 -3px 0 rgba(0,0,0,.12); }
.pp-row input { flex:1; min-width:0; padding:12px 16px; font-size:17px; }
.pp-x { flex:none; width:36px; height:36px; border-radius:50%; border:0; background:var(--ash); color:var(--ink-2); display:grid; place-items:center; padding:0; }
.pp-add { align-self:flex-start; padding:9px 14px; font-size:14.5px; }
.pp-first { margin:-2px 0 0; font-family:var(--f-serif); font-size:22px; line-height:1.15; text-align:center; text-wrap:balance; }

/* ---------- You (Mickey 10 Nov 2026: the profile was still "skod") ----------
   One reading order by how often a player needs it: the contestant card (who you are and how you're doing), your
   plan and account, what the hosts have learned, the roast, then the rare settings. Sections are spaced well apart
   and tight inside, so the page reads as five things instead of fifteen boxes of equal weight. */
.vh { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.ysec { display:flex; flex-direction:column; gap:12px; margin-top:22px; }
.ysec-h { margin:0; font-family:var(--f-serif); font-weight:400; font-size:30px; line-height:1.05; letter-spacing:-.01em; }
.ysec-h.small { font-size:24px; }

/* The contestant card: a clay tile like the answer buttons (pink, with its rim), your initial on a dark plate
   (in the sans: a serif O beside the stats read as a zero) */
.mecard { display:flex; flex-direction:column; padding:18px 14px 16px; border-radius:28px; color:var(--ink);
  background:radial-gradient(120% 80% at 80% 0%, rgba(255,255,255,.55), rgba(255,255,255,0) 60%), var(--o1);
  box-shadow:inset 0 -6px 0 var(--o1-rim), inset 0 1px 0 rgba(255,255,255,.6), 0 22px 34px -22px color-mix(in srgb, var(--o1-rim) 80%, #000); }
.mc-head { display:flex; align-items:center; gap:14px; padding:0 4px; }
.mc-ava { flex:none; width:62px; height:62px; border-radius:50%; display:grid; place-items:center; background:var(--ink); color:var(--paper);
  font-size:26px; font-weight:700; line-height:1; box-shadow:inset 0 -4px 0 rgba(255,255,255,.14), 0 10px 18px -10px rgba(40,10,40,.7); }
.mc-id { flex:1; min-width:0; display:flex; flex-direction:column; gap:3px; }
.mc-id h2 { margin:0; font-family:var(--f-serif); font-weight:400; font-size:36px; line-height:1; letter-spacing:-.01em; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mc-id span { font-size:14.5px; font-weight:500; line-height:1.3; }
.mc-stats { display:grid; grid-template-columns:repeat(4, 1fr); gap:6px; margin-top:16px; }
.mc-stat { display:flex; flex-direction:column; align-items:center; gap:3px; padding:12px 2px 10px; border:0; border-radius:18px; background:rgba(255,255,255,.6); color:var(--ink); font:inherit; }
.mc-stat b { display:inline-flex; align-items:center; gap:2px; font-family:var(--f-serif); font-weight:400; font-size:28px; line-height:1; font-variant-numeric:tabular-nums; white-space:nowrap; }
.mc-stat > span { font-size:12.5px; font-weight:600; white-space:nowrap; }
.mc-stat.st { transition:transform .16s ease-out; }
.mc-stat.st:active { transform:scale(.96); }
.mc-foot { margin:12px 4px 0; font-size:14px; font-weight:500; line-height:1.35; text-wrap:pretty; }

/* Plan and account: the account's mark is a cloud (saved or not), not a second copy of your initial */
.mb-ico.acct { background:var(--paper); color:var(--ink); box-shadow:inset 0 0 0 1.5px var(--line); }

/* What you know, empty: Max says it, in the memo the rest of the app uses */
.know-empty p { flex:1; }

/* How hard they go: three clay tiles, the chosen one lit in its heat (olive, orange, red) and pressed into its rim */
.heat { display:grid; grid-template-columns:repeat(3, 1fr); gap:8px; }
.heat button { --c:var(--o3); --r:var(--o3-rim); display:flex; flex-direction:column; align-items:center; gap:3px; padding:14px 4px 13px; border:0; border-radius:20px;
  background:var(--ash); color:var(--ink-2); box-shadow:inset 0 -4px 0 var(--line); font:inherit;
  transition:transform .16s ease-out, background-color .2s ease, box-shadow .2s ease, color .2s ease; }
.heat button[data-roast="spicy"] { --c:var(--o4); --r:var(--o4-rim); }
.heat button[data-roast="savage"] { --c:var(--red); --r:var(--red-rim); }
.heat b { font-family:var(--f-serif); font-weight:400; font-size:25px; line-height:1; color:var(--ink); }
.heat span { font-size:12.5px; font-weight:600; }
.heat button[aria-checked="true"] { background:var(--c); color:var(--ink); box-shadow:inset 0 -5px 0 var(--r), inset 0 1px 0 rgba(255,255,255,.45), 0 12px 20px -14px var(--r); }
.heat button[data-roast="savage"][aria-checked="true"], .heat button[data-roast="savage"][aria-checked="true"] b { color:#fff; }
.heat button:active { transform:translateY(2px); }
.heat-hint { margin:-2px 4px 4px; font-size:14px; color:var(--ink-2); min-height:1.35em; }

/* The dossier: one row per thing the hosts know, its value shown closed, the field opening in place */
.dossier, .setlist { display:flex; flex-direction:column; border-radius:22px; background:var(--ash); overflow:hidden; }
.drow + .drow, .setlist > * + * { border-top:1px solid var(--line); }
.drow > summary { list-style:none; display:flex; align-items:center; gap:12px; min-height:60px; padding:12px 14px 12px 18px; cursor:pointer; }
.drow > summary::-webkit-details-marker { display:none; }
.drow > summary:active { background:rgba(0,0,0,.035); }
.drow > summary:focus-visible { outline-offset:-3px; border-radius:22px; }
.dr-t { flex:1; min-width:0; display:flex; flex-direction:column; gap:1px; }
.dr-t b { font-size:16px; font-weight:600; }
.dr-t span { font-size:14px; color:var(--ink-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.dr-t span.none { color:var(--mute); }
.drow[open] .dr-t span { display:none; }
.g-ch { flex:none; color:var(--mute); transition:transform .25s var(--ease-out); }
.drow[open] .g-ch { transform:rotate(90deg); }
.dr-body { padding:0 14px 16px 18px; }
.dr-body .field textarea, .dr-body .field input, .dr-body .seg { background:var(--paper); }
.drow[open] .dr-body { animation:drIn .22s var(--ease-out) both; }
@keyframes drIn { from { opacity:0; transform:translate3d(0, -4px, 0); } }

/* Settings: a quiet list; rows press by tint, not by shrinking (a full-width row that shrinks looks broken) */
.setlist .row-switch { border-radius:0; background:none; padding:14px 14px 14px 18px; }
.setlist .me-row { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-height:54px; padding:14px 14px 14px 18px; color:var(--ink); }
.setlist .me-row svg { color:var(--mute); }
.setlist .me-row:active { transform:none; background:rgba(0,0,0,.035); }
.setlist .me-row:focus-visible { outline-offset:-3px; border-radius:22px; }
.erase { display:flex; flex-direction:column; align-items:center; gap:0; margin-top:8px; text-align:center; }
.erase .linkbtn.danger { color:var(--bad); font-size:15px; padding:10px 14px 4px; text-decoration-color:color-mix(in srgb, var(--bad) 40%, transparent); }
.erase span { font-size:13px; color:var(--mute); }

@media (prefers-reduced-motion: reduce) {
  .drow[open] .dr-body { animation:none; }
  .g-ch, .heat button, .mc-stat.st { transition:none; }
  .heat button:active, .mc-stat.st:active { transform:none; }
}

/* The close button on every sheet (10 Nov 2026): sticks to the top right while the sheet scrolls */
.sheet-x { position:sticky; top:4px; z-index:5; float:right; align-self:flex-end; margin:-4px -6px -40px auto; width:38px; height:38px; display:grid; place-items:center;
  border:0; border-radius:50%; background:color-mix(in srgb, var(--ash) 92%, transparent); color:var(--ink); box-shadow:0 2px 8px rgba(20,20,40,.12); }
.sheet-x:active { transform:scale(.94); }
.sheet-x:focus-visible { outline:2px solid var(--ink); outline-offset:2px; }

/* ---------- Free tasters and earned picks (Mickey 10 Nov 2026: "a superb experience first, and monetize it second") ---------- */
/* A quiz card with its taster: the price as a small chip, the button plays */
.dcard.taster .dc-cta { background:var(--ink); color:var(--paper); }
/* The end card after a taster: the quiz's own clay, what's left, buy it or earn it */
.ec-taster { position:relative; display:flex; flex-direction:column; align-items:center; gap:8px; padding:58px 18px 16px; margin-top:44px; border-radius:26px; text-align:center;
  background:radial-gradient(130% 90% at 80% 0%, rgba(255,255,255,.5), rgba(255,255,255,0) 60%), var(--c, var(--o2)); box-shadow:inset 0 -6px 0 var(--r, var(--o2-rim)); color:var(--ink); }
.et-art { position:absolute; top:-46px; left:50%; translate:-50% 0; width:120px; height:96px; object-fit:contain; }
.ec-taster h2 { margin:0; font-family:var(--f-serif); font-weight:400; font-size:30px; line-height:1.02; text-wrap:balance; }
.et-more { margin:-2px 0 4px; font-size:15.5px; line-height:1.35; color:var(--ink-2); }
.ec-taster .pill { width:100%; padding:13px 16px; font-size:16px; }
.ec-taster .pill:not(.dark) { border:0; background:rgba(255,255,255,.88); }
.et-earn { margin:2px 0 0; font-size:14px; line-height:1.35; color:var(--ink-2); text-wrap:balance; }
.et-earn b { color:var(--ink); }
.ec-taster .preview { border-color:rgba(0,0,0,.18); color:var(--ink-2); }
/* The way to a free pick, under the quota line: five clay pips, one per day of the run */
.earn { display:flex; align-items:center; gap:10px; width:100%; margin-top:8px; padding:11px 14px; border:0; border-radius:18px; background:var(--ash); text-align:left; font-size:14px; line-height:1.3; color:var(--ink-2); transition:transform .16s ease-out; }
.earn:active { transform:scale(.98); }
.earn b { color:var(--ink); font-weight:600; white-space:nowrap; }
.earn.ready b { white-space:normal; }
.e-pips { flex:none; display:inline-flex; gap:3px; }
.e-pips i { width:8px; height:16px; border-radius:4px; background:var(--line); }
.e-pips i.on { background:var(--o4); box-shadow:inset 0 -2px 0 var(--o4-rim); }
.e-text { flex:1; min-width:0; }
.e-go { flex:none; padding:7px 12px; border-radius:999px; background:var(--ink); color:var(--paper); font-size:13.5px; font-weight:700; }
/* Not yellow (Mickey 11 Nov 2026): the dark of the play card, quiet; the pick itself opens as a sheet (plans.js) */
.earn.ready { background:var(--ink); color:rgba(255,255,255,.78); }
.earn.ready b { color:#fff; }
.earn.ready .e-pips i.on { background:#fff; }
/* A pick on the item sheet, above its price */
.pk-pick { display:flex; align-items:center; gap:12px; padding:12px 12px 12px 16px; border-radius:20px; background:var(--o2); box-shadow:inset 0 -4px 0 var(--o2-rim); }
.pk-pick .tk-text b { font-family:var(--f); font-size:16px; font-weight:600; line-height:1.2; }
.pk-pick .pill { flex:none; }
.pk-earn { margin:-4px 0 0; text-align:center; font-size:13.5px; line-height:1.35; color:var(--ink-2); text-wrap:balance; }
.pk-earn b { color:var(--ink); }
#sheetPick > *, #sheetMore > * { flex-shrink:0; }
/* The end card's "you've earned one" box, in warm clay */
.ec-nudge.earned { background:radial-gradient(130% 90% at 80% 0%, rgba(255,255,255,.55), rgba(255,255,255,0) 60%), var(--o2); box-shadow:inset 0 -5px 0 var(--o2-rim); }
.ec-nudge.earned p { color:var(--ink); font-family:var(--f-serif); font-size:22px; line-height:1.15; }
.ec-nudge.earned p b { font-family:var(--f); font-size:15px; }
/* Milestones: the badges that earn a pick wear a small tag */
.badge-note { margin:4px 0 2px; font-size:14px; line-height:1.4; color:var(--ink-2); }
.badge-note b { color:var(--ink); }
.badge .b-gift { display:block; margin-top:1px; font-size:10.5px; font-weight:700; letter-spacing:.02em; color:var(--o4-rim); }
.badge:not(.won) .b-gift { opacity:.7; }

/* The final App Store build (scripts/build-app.mjs APP_STORE=1, config.js adds the class): no store, no sign-in and no
   bug button until StoreKit and a real Sign in with Apple exist. TestFlight builds keep the previews. */
.appstore #proChip, .appstore #mbPlan, .appstore #mbAcct, .appstore #quota, .appstore #quotaPro, .appstore #earn,
.appstore .dc-badge, .appstore #storyDeck .dcard[data-story], .appstore .stories-sec, .appstore #endSave, .appstore #endTaster, .appstore #endEarn, .appstore #bugBtn, .appstore #bugSheet,
.appstore #sheetPlans, .appstore #sheetPack, .appstore #sheetMore, .appstore #sheetPick, .appstore #sheetStoreHow,
.appstore #sheetSignin, .appstore #sheetEmail, .appstore .authpop, .appstore [data-preview], .appstore .badge .b-gift,
.appstore #onbSignin [data-signin]:not([data-signin="guest"]), .appstore #onbSignin .signin-pair { display:none !important; }

/* ---------- Backstage (Mickey 12 Nov 2026): the curtain video full screen, closed and dark at the bottom where the
   white text and the button sit ---------- */
#backstage { position:fixed; inset:0; z-index:80; background:#0b0405; color:#fff; overflow:hidden; opacity:0; transition:opacity .45s ease; }
#backstage.on { opacity:1; }
#backstage[hidden] { display:none; }
#bsVideo { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.bs-shade { position:absolute; inset:0; background:linear-gradient(180deg, transparent 0%, transparent 42%, rgba(8,2,3,.7) 62%, rgba(8,2,3,.94) 80%, #080203 100%); pointer-events:none; }
.bs-back { position:absolute; top:max(12px, env(safe-area-inset-top)); left:16px; width:40px; height:40px; border-radius:50%; border:0; display:grid; place-items:center; color:#fff; background:rgba(255,255,255,.12); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); }
.bs-body { position:absolute; left:0; right:0; bottom:0; padding:0 26px max(34px, calc(env(safe-area-inset-bottom) + 18px)); display:flex; flex-direction:column; gap:14px; } /* more air (Mickey 12 Nov 2026: "squeezed") */
.bs-kicker { margin:0; font-size:12px; font-weight:600; letter-spacing:.22em; text-transform:uppercase; color:rgba(255,255,255,.6); }
#bsTitle { margin:0; font-family:var(--f-serif); font-weight:400; font-size:clamp(36px, 10.5vw, 46px); line-height:1.02; letter-spacing:-.01em; text-wrap:balance; }
.bs-sub { margin:0 0 6px; font-size:15.5px; line-height:1.4; color:rgba(255,255,255,.82); }
.bs-rules { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; font-size:13.5px; line-height:1.4; color:rgba(255,255,255,.66); }
#bsInfo { display:flex; flex-direction:column; gap:12px; }
#bsInfo[hidden] { display:none; }
.bs-rules b { color:#fff; font-weight:600; }
.bs-rules a { color:#fff; }
.bs-go { margin-top:22px; min-height:58px; padding:0 22px; border:0; border-radius:999px; background:#fff; color:#0b0b0c; font-size:17px; font-weight:600; display:flex; align-items:center; justify-content:center; gap:10px; }
.bs-go:active { transform:scale(.98); }
/* Slide to take the stage (Mickey 15 Nov 2026): the knob pulls the curtain; gold fills in behind it */
.bs-slide { --p:0; position:relative; margin-top:22px; height:62px; border-radius:999px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); overflow:hidden; touch-action:none; user-select:none; -webkit-user-select:none; }
.bs-slide-fill { position:absolute; inset:0; width:calc(54px + 8px + var(--p) * (100% - 62px)); border-radius:999px;
  background:linear-gradient(90deg, rgba(255,210,92,.15), rgba(255,210,92,.85)); opacity:calc(.25 + var(--p)); pointer-events:none; }
.bs-slide-label { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; padding-left:58px; font-size:16.5px; font-weight:600; letter-spacing:.01em;
  opacity:calc(1 - var(--p) * 1.6); pointer-events:none;
  color:transparent; background:linear-gradient(100deg, rgba(255,255,255,.55) 35%, #fff 50%, rgba(255,255,255,.55) 65%) 0 0 / 250% 100%; -webkit-background-clip:text; background-clip:text;
  animation:bsShine 2.4s ease-in-out infinite; }
@keyframes bsShine { from { background-position:100% 0; } to { background-position:-50% 0; } }
.bs-knob { position:absolute; top:3px; left:4px; width:54px; height:54px; border-radius:50%; border:0; padding:0; display:grid; place-items:center;
  background:#fff; color:#0b0b0c; box-shadow:0 6px 22px -6px rgba(255,210,92,.9), 0 0 0 calc(var(--p) * 10px) rgba(255,210,92,.18); touch-action:none; cursor:grab; z-index:1; }
.bs-knob svg { width:24px; height:24px; }
.bs-slide.held .bs-knob { cursor:grabbing; background:#ffe9a8; }
.bs-slide.held .bs-slide-label { animation-play-state:paused; }
.bs-slide.nudge .bs-knob { animation:bsNudge .7s cubic-bezier(.3,1.4,.5,1); }
@keyframes bsNudge { 0%,100% { translate:0; } 35% { translate:46px; } 60% { translate:-4px; } }
.bs-slide.done .bs-knob { background:#ffd25c; transition:transform .25s ease-out; }
.bs-slide.done .bs-slide-fill { opacity:1; }
#bsVideo { transform-origin:50% 40%; will-change:transform; }
@media (prefers-reduced-motion:reduce) { .bs-slide-label { animation:none; color:#fff; } .bs-slide.nudge .bs-knob { animation:none; } }
@media (prefers-reduced-motion:reduce) { #backstage { transition:none; } }

/* ---------- The launch version (Mickey 12 Nov 2026, store.js LITE): the vision is hidden, not deleted (?full=1) ---------- */
.lite .vision, .lite #themeList, .lite #extraList, .lite #eventCard, .lite .story-card.kids, .lite .party,
.lite #earn, .lite .b-gift, .lite #packList, .lite #themeBuyList, .lite .dc-badge, .lite #mbPlan .mb-pick { display:none !important; }
.know-acc > summary { list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; }
.know-acc > summary::-webkit-details-marker { display:none; }
.know-acc > summary::after { content:''; width:9px; height:9px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg); margin:0 4px 4px 0; transition:transform .2s; }
.know-acc[open] > summary::after { transform:rotate(-135deg); margin-bottom:0; }

/* Short or Long on every quiz card (Mickey 12 Nov 2026) */
.dcard .dc-cta:has(.dc-len), .dcard.locked .dc-cta:has(.dc-len), .dcard.taster .dc-cta:has(.dc-len) { display:flex; gap:6px; background:none; padding:0; box-shadow:none; }
.dc-len { display:inline-flex; align-items:center; height:30px; padding:0 11px; border-radius:999px; background:#0b0b0c; color:#fff; font-size:12.5px; font-weight:600; white-space:nowrap; }
.dc-len[data-len="long"] { background:rgba(255,255,255,.75); color:#0b0b0c; }

#storyDeck { margin-top:0; }
.dcard[data-quiz] .dc-foot { flex-wrap:wrap; row-gap:8px; }
.dcard[data-quiz] .dc-meta { flex-basis:100%; background:none; padding:0; height:auto; }

/* The pause curtain (experiment, curtain.js, Mickey 12 Nov 2026): velvet panels close over the paused show */
#curtain { position:fixed; inset:0; z-index:70; pointer-events:none; }
/* The panels are Mickey's velvet drapes (14 Nov 2026, media/curtain-left|right.webp, the same velvet as the quiz's valance):
   they sweep in from the sides over a dark stage, tied back so "Paused" sits on the stage between them */
#curtain .ct-back { position:absolute; inset:0; background:radial-gradient(ellipse 70% 45% at 50% 46%, #4a1018 0%, #22070b 55%, #0d0204 100%);
  opacity:0; transition:opacity .45s ease; }
#curtain .ct-l, #curtain .ct-r { position:absolute; top:0; bottom:0; width:54%; background-repeat:no-repeat; background-size:100% 100%;
  filter:drop-shadow(0 0 18px rgba(0,0,0,.6)); transition:transform .8s cubic-bezier(.65, 0, .25, 1); will-change:transform; }
#curtain .ct-l { left:0; background-image:url(/media/curtain-left.webp); background-position:right top; transform:translateX(-104%); transform-origin:0 0; }
#curtain .ct-r { right:0; background-image:url(/media/curtain-right.webp); background-position:left top; transform:translateX(104%); transform-origin:100% 0; }
#curtain .ct-top { position:absolute; left:0; right:0; top:0; height:calc(env(safe-area-inset-top, 0px) + min(14vw, 70px)); transform:translateY(-105%);
  background:url(/media/valance.webp) center bottom / cover no-repeat; filter:drop-shadow(0 6px 10px rgba(0,0,0,.5));
  transition:transform .5s cubic-bezier(.65, 0, .25, 1); }
#curtain .ct-body { position:absolute; left:0; right:0; top:50%; transform:translateY(-50%); display:flex; flex-direction:column; align-items:center; gap:8px;
  color:#fff; text-align:center; opacity:0; transition:opacity .3s; }
.ct-k { margin:0; font-size:12px; font-weight:600; letter-spacing:.24em; text-transform:uppercase; color:#f3d48a; }
.ct-t { margin:0; font-family:var(--f-serif); font-size:54px; line-height:1; text-shadow:0 4px 18px rgba(0,0,0,.5); }
.ct-say { margin:0 32px 18px; font-size:15px; line-height:1.4; color:rgba(255,255,255,.82); }
.ct-go { width:86px; height:86px; border-radius:50%; border:0; display:grid; place-items:center; background:#fff; color:#0b0b0c; padding-left:5px;
  box-shadow:0 0 0 8px rgba(243,212,138,.25), 0 16px 34px -10px rgba(0,0,0,.6); }
.ct-go:active { transform:scale(.94); }
#curtain.shut { pointer-events:auto; }
#curtain.shut .ct-l, #curtain.shut .ct-r { transform:none; }
#curtain.shut .ct-back { opacity:1; }
#curtain.shut .ct-top { transform:none; transition-delay:.15s; }
#curtain.shut .ct-body { opacity:1; transition-delay:.55s; }
#curtain.opening .ct-l { transform:translateX(-104%) skewX(-3deg); }
#curtain.opening .ct-back { transition-delay:.3s; }
#curtain.opening .ct-r { transform:translateX(104%) skewX(3deg); }
#curtain.opening .ct-top { transition-delay:.35s; }
@media (prefers-reduced-motion:reduce) { #curtain .ct-l, #curtain .ct-r, #curtain .ct-top, #curtain .ct-back { transition:none; } }
#roastSeg[hidden], #roastHint[hidden] { display:none; } /* Savage only for now (12 Nov 2026) */

/* Experiment (Mickey 12 Nov 2026: "a warm light beige instead of white, only inside the quiz"). Remove this block to
   go back to white */
body:has(> #game:not([hidden])) { --paper:#fbf7f0; background:#fbf7f0; } /* a lighter beige (Mickey 13 Nov 2026) */

/* ---------- The hints sheet (Mickey 13 Nov 2026: "like a payment overview, nicer to look at") ----------
   A velvet wallet card in the curtain's red, the three lifelines as rows with a coloured tile and their price */
.hintsheet { gap:16px; padding-top:10px; }
.hs-head { display:flex; flex-direction:column; align-items:center; gap:6px; text-align:center; }
.hs-bulb { width:58px; height:58px; border-radius:20px; display:grid; place-items:center; background:radial-gradient(circle at 35% 30%, #fff1b8, #ffd25c 60%, #f0b43a);
  box-shadow:0 6px 0 #d9a92e, 0 14px 24px -8px rgba(217,169,46,.6); margin-bottom:4px; }
.hs-sub { margin:0; color:var(--ink-2); font-size:15px; }
.hs-balance { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 18px; border-radius:22px; color:#fff4dc;
  background:radial-gradient(120% 120% at 15% 0%, rgba(255,190,150,.22), transparent 55%), linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.4)), repeating-linear-gradient(90deg, #4a0610 0, #7e101d 9px, #b0202f 17px, #8a1220 25px, #55070f 34px); box-shadow:inset 0 0 40px rgba(0,0,0,.45), 0 10px 24px -12px rgba(74,7,20,.7); position:relative; overflow:hidden; }
.hs-wallet { display:flex; align-items:baseline; gap:8px; position:relative; z-index:1; }
.hs-wallet b { font-family:var(--f-serif); font-weight:400; font-size:48px; line-height:1; color:#ffd25c; text-shadow:0 2px 0 rgba(0,0,0,.25); }
.hs-wallet span { font-size:14px; max-width:7.5em; line-height:1.2; opacity:.9; }
.hs-show { display:flex; flex-direction:column; align-items:flex-end; gap:6px; font-size:13px; opacity:.95; position:relative; z-index:1; }
.hs-pips { display:flex; gap:5px; }
.hs-pips i { width:12px; height:12px; border-radius:50%; background:#ffd25c; box-shadow:0 0 0 2px rgba(255,210,92,.25); }
.hs-pips i.used { background:rgba(255,255,255,.18); box-shadow:none; }
.hs-note { margin:-4px 0 0; text-align:center; font-size:14px; font-weight:600; color:#b3263c; }
.hs-note[hidden] { display:none; }
.hs-list { display:flex; flex-direction:column; gap:10px; }
.hs-row { display:flex; align-items:center; gap:14px; width:100%; padding:12px 14px 12px 12px; border:0; border-radius:20px; text-align:left; color:var(--ink);
  background:#fff; box-shadow:0 1px 0 rgba(0,0,0,.04), 0 6px 18px -10px rgba(0,0,0,.25); touch-action:manipulation; transition:transform .1s, box-shadow .1s, opacity .2s; }
.hs-row:active:not(:disabled) { transform:scale(.98); }
.hs-row:disabled { opacity:.45; box-shadow:none; background:var(--ash); }
.hs-ico { flex:none; width:52px; height:52px; border-radius:16px; display:grid; place-items:center; color:#2b1a00; }
.hs-ico.i-fifty { background:#ffd25c; box-shadow:0 4px 0 #d9a92e; display:flex; align-items:center; justify-content:center; gap:3px; font-weight:800; font-size:13px; }
.hs-ico.i-fifty i { width:2px; height:22px; background:#2b1a00; border-radius:1px; transform:rotate(18deg); }
.hs-ico.i-clue { background:#f7b6c9; box-shadow:0 4px 0 #d9869f; color:#4a0d23; }
.hs-ico.i-crowd { background:#a9d9f2; box-shadow:0 4px 0 #78b4d4; color:#0b2e44; }
.hs-txt { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.hs-txt b { font-size:17px; font-weight:700; }
.hs-txt small { font-size:13.5px; color:var(--ink-2); }
.hs-cost { flex:none; display:inline-flex; align-items:center; gap:3px; height:28px; padding:0 10px; border-radius:999px; background:var(--ink); color:#ffd25c; font-size:14px; font-weight:800; }
.hs-foot { margin:0; text-align:center; font-size:13px; color:var(--mute); }

/* The 50/50 roulette: the lit answer jumps up and glows gold, the others dim a touch */
#options.roulette50 .opt { filter:saturate(.7) brightness(.92); transition:filter .08s, transform .08s, box-shadow .08s; }
#options.roulette50 .opt.lit { filter:none; transform:translateY(-6px) scale(1.04); box-shadow:0 10px 0 var(--rim), 0 0 0 4px #ffd25c, 0 0 28px 6px rgba(255,210,92,.6); z-index:1; }
#options.roulette50.flash .opt { filter:none; box-shadow:0 4px 0 var(--rim), 0 0 0 4px #ffd25c; }
#options .opt.gone { animation:zapOut .45s cubic-bezier(.3,0,.7,.4) forwards; }
@keyframes zapOut { 0% { transform:scale(1); filter:brightness(1.6); } 30% { transform:scale(1.06); } 100% { transform:scale(.88); opacity:0; } }
/* Ask the crowd while the vote is live: the bars pulse */
#options.voting .opt .poll i { transition:width .18s linear; background:linear-gradient(90deg, var(--ink), #6a5acd); }
#options.voting .opt .poll b { font-variant-numeric:tabular-nums; }
/* Vera's clue: the lights go down around the question while she whispers */
#game::before { content:''; position:fixed; inset:0; pointer-events:none; z-index:30; opacity:0; transition:opacity .5s ease;
  background:radial-gradient(ellipse 70% 55% at 50% 45%, transparent 40%, rgba(40,8,20,.45) 100%); }
#game.whisper::before { opacity:1; }
@media (prefers-reduced-motion:reduce) { #options .opt.gone { animation:none; opacity:0; } #options.roulette50 .opt.lit { transform:none; } }

/* ---------- The quiz screen under a curtain (Mickey 13 Nov 2026: tie it to the backstage screen) ----------
   A shallow velvet valance across the very top, just below the status bar, and a warm spotlight behind Max and
   Vera fading into the cream. Decorative only: no taps, not read out (a pseudo-element). The valance keeps its
   proportions (cover, anchored at the bottom edge) and is capped in height on wide screens. */
#game::after { content:''; position:fixed; z-index:1; pointer-events:none; left:0; right:0; top:0;
  /* from the very top, behind the status bar (Mickey 13 Nov 2026: a band of cream above it looked like a bug); the
     status bar's text turns white over it (SceneDelegate StatusBarBridge, main.js) */
  height:calc(env(safe-area-inset-top, 0px) + min(11.8vw, 58px)); background:url(/media/valance.webp) center bottom / cover no-repeat;
  filter:drop-shadow(0 6px 10px rgba(74, 7, 20, .18)); }
#game { padding-top:calc(max(16px, env(safe-area-inset-top)) + min(6.5vw, 30px)); }
#game .topbar { position:relative; z-index:2; }
#game .stage { position:relative; isolation:isolate; }
/* (The cream spotlight blob behind the hosts is gone: Mickey 15 Nov 2026, "a huge blob of light, looks absolutely shitty". The coloured voice glow stays.) */
/* Short screens (iPhone SE): the valance takes less room, so the answers never lose space to it */
@media (max-height:700px) { #game { padding-top:calc(max(16px, env(safe-area-inset-top)) + min(3vw, 12px)); } }

/* Hints in the top bar, beside the other controls (Mickey 13 Nov 2026): the answers keep the bottom to themselves */
#game .topbar .hintbtn { box-sizing:border-box; height:44px; padding:0 7px 0 13px; font-size:15px; box-shadow:none; } /* as tall as the icons beside it (Mickey 13 Nov 2026) */
#game .topbar .hintbtn .hint-n { min-width:30px; height:30px; }
#storyDeck .dcard[hidden] { display:none; }
/* The sing-o-meter (Mickey 13 Nov 2026): how loud you sing, live, over the answers */
.singmeter { position:relative; z-index:41; display:flex; flex-direction:column; align-items:center; gap:8px; padding:4px 2px 8px; opacity:0; transform:translateY(8px); transition:opacity .25s, transform .25s; }
.singmeter.on { opacity:1; transform:none; }
.sm-label { font-family:var(--f-serif); font-size:30px; line-height:1; color:var(--ink); transition:transform .15s; }
.singmeter.max .sm-label { color:#b3263c; animation:smShout .35s ease-in-out infinite alternate; }
@keyframes smShout { to { transform:scale(1.08) rotate(-1.5deg); } }
.sm-bar { position:relative; width:100%; height:26px; border-radius:999px; background:color-mix(in srgb, var(--ink) 9%, transparent); overflow:hidden; box-shadow:inset 0 2px 4px rgba(0,0,0,.12); }
.sm-bar i { position:absolute; inset:0 auto 0 0; width:calc(var(--v, 0) * 100%); border-radius:inherit; transition:width .1s linear;
  background:linear-gradient(90deg, #8fd16a 0%, #ffd25c 45%, #ff8a3d 75%, #e23b5a 100%); background-size:calc(100% / max(var(--v, 0), .01)) 100%; }
.sm-bar b { position:absolute; top:3px; bottom:3px; width:4px; border-radius:2px; left:calc(var(--pk, 0) * 100% - 4px); background:var(--ink); transition:left .2s; }
.singmeter.max .sm-bar { animation:smShake .12s linear infinite; }
@keyframes smShake { 25% { transform:translateX(-2px); } 75% { transform:translateX(2px); } }
.sm-ends { width:100%; display:flex; justify-content:space-between; font-size:12px; color:var(--mute); text-transform:uppercase; letter-spacing:.06em; }
@media (prefers-reduced-motion:reduce) { .singmeter.max .sm-label, .singmeter.max .sm-bar { animation:none; } }

/* A sheet stands on the keyboard (shell.js sets --kb), so the field being typed in is always in sight (Mickey 14 Nov 2026) */
.sheet { bottom:var(--kb, 0px); max-height:calc(100dvh - var(--kb, 0px) - max(28px, env(safe-area-inset-top))); }

/* The stage edge (Mickey 14 Nov 2026: "scenekant til bunden bag knapperne", two images; the tall one with the bulbs won):
   the answers stand in front of the stage front, its wooden lip hidden behind the bottom row and the bulbs showing
   below it. The stage grows by the home-indicator area so it always reaches the bottom; it keeps its proportions
   (5.5 : 1) and is cropped at the sides when taller. ?stage=low (main.js) tries the low velvet one instead. */
#game { --stage:calc(min(24vw, 112px) + env(safe-area-inset-bottom, 0px));
  background:url(/media/stage-edge-tall.webp) center bottom / max(100%, calc(var(--stage) * 5.51)) var(--stage) no-repeat;
  padding-bottom:calc(var(--stage) * .64); }
/* (the inline #game padding in index.html comes later in the cascade; this one has to win) */
body > #game { padding-bottom:calc(var(--stage) * .64); }
/* Short screens (iPhone SE): a lower stage, the answers further down on it, so nothing is cut off */
@media (max-height:700px) { #game { --stage:calc(min(15vw, 64px) + env(safe-area-inset-bottom, 0px)); } body > #game { padding-bottom:calc(var(--stage) * .5); } }
:root[data-stage="low"] #game { --stage:calc(min(6.3vw, 30px) + env(safe-area-inset-bottom, 0px)); background-image:url(/media/stage-edge-low.webp);
  background-size:max(100%, calc(var(--stage) * 16.1)) var(--stage); }
:root[data-stage="low"] body > #game { padding-bottom:calc(var(--stage) + 10px); }

/* No room for the hosts' words (Mickey 14 Nov 2026: Max's lines were cut off, on a small phone not shown at all):
   main.js caption() makes the heads smaller until the next question */
#game #hostsVideo { transition:width .3s ease, transform .5s ease-out; }
#game.tight #hostsVideo { width:min(30vw, 120px); }

/* The quiz in the dark (Mickey 15 Nov 2026: "can we try the quiz in a dark mode, just as a test, we can revert"): a
   dark stage behind the hosts, the valance, the answers and the stage edge; ?quiz=light brings the beige back.
   The answer buttons keep their own colours and dark text. */
:root[data-quiz="dark"] body:has(> #game:not([hidden])) { --paper:#16100f; --ash:#241b19; --line:#3a2e2b; --ink:#f7efe6; --ink-2:#cfc3b8; --mute:#a3968c; background:#16100f; color:var(--ink); }
:root[data-quiz="dark"] #game .opt, :root[data-quiz="dark"] #game .opt .label { color:#0b0b0c; }
:root[data-quiz="dark"] #game .iconbtn { background:#241b19; color:var(--ink); border-color:#3a2e2b; }
