/* topic-page.css — the /quiz/<slug> pages and /quiz/ (scripts/build-topic-pages.mjs).
   PHASE 3 OF THE ONE SITE (WEB_SHELL_SPEC.md 3.4, 2026-11-19): band, the app's card as the panel, the
   copy in one reading column, More like this and the Daily across, the footer; the web shell's sidebar
   on a desktop (webshell.css), the app's tab bar and a sticky Play bar on a phone. The card itself is
   styled by the app's own rules, carried into each page at build (scripts/app-card.mjs, #zp-app-card):
   nothing here restyles it. The scene band's rules below are unchanged (the scene checker measures
   them: scripts/topic-scene-band.mjs PAGE_CSS). */
:root{--teal:#12403A;--accentTeal:#1F8A75;--tealPressed:#16705E;--ctaShadow:#0E5346;--paper:#FFF9F0;--surface:#FFFCF7;--rule:#EFE4D2;--ink:#1F1A14;--muted:#6B5E4D;--faint:#A89C88;--gold:#E8B547;--goldDeep:#C7952F;--green:#5C9F6E;--wrong:#CC5A4E;
 /* the app's tokens (index.html :root), which the card's own rules read */
 --bg:#FFF9F0;--text:#1F1A14;--accent:#1F8A75;--accentDeep:#16705E;--font-ui:Inter,system-ui,sans-serif;--font-display:Fraunces,Georgia,serif}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;overflow-x:hidden}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,system-ui,sans-serif;font-size:16px;line-height:1.5;text-wrap:pretty}
h1,h2,h3,.num{font-family:Fraunces,Georgia,serif;font-weight:600;letter-spacing:-0.01em;line-height:1.02;margin:0}
p{margin:0}
a{color:var(--accentTeal);text-decoration:none}
a:hover{color:var(--tealPressed)}
:focus-visible{outline:3px solid var(--gold);outline-offset:3px;border-radius:6px}
.wrap{max-width:1120px;margin:0 auto;padding:0 20px}
.onTeal{background:var(--teal);color:var(--paper)}
.eyebrow{font-size:0.82rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#8FC4B5}
.js .rv{opacity:0;transform:translateY(18px);transition:opacity .7s cubic-bezier(.2,.7,.3,1),transform .7s cubic-bezier(.2,.7,.3,1)}
.js .rv.in{opacity:1;transform:none}
.js .rv.d1{transition-delay:.08s}.js .rv.d2{transition-delay:.16s}.js .rv.d3{transition-delay:.24s}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-family:Inter;font-weight:700;font-size:1.02rem;border:0;border-radius:999px;padding:16px 30px;cursor:pointer;background:var(--accentTeal);color:#FFFCF7;box-shadow:0 4px 0 var(--ctaShadow);transition:transform .08s ease,box-shadow .08s ease}
.btn:hover{background:var(--tealPressed);color:#FFFCF7}
.btn:active{transform:translateY(2px);box-shadow:0 2px 0 var(--ctaShadow)}
.ctaRow{margin-top:28px;display:flex;flex-wrap:wrap;align-items:center;gap:14px 16px}
.storeBadge{display:inline-block;line-height:0;border-radius:10px;flex:none}
.storeBadge img{height:56px;width:auto;display:block}
.android .storeBadge{display:none}
h1{font-size:clamp(2.4rem,9.5vw,4.3rem);color:var(--paper);max-width:12ch}
/* The edition line, above the h1: quiet, in the eyebrow's slot. */
.edition{display:flex;align-items:center;gap:8px;font-size:0.86rem;font-weight:600;color:#8FC4B5;letter-spacing:.01em;margin-bottom:12px}
.edition em{width:7px;height:7px;border-radius:50%;background:var(--gold);flex:none}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}.js .rv{opacity:1;transform:none}}
/* ───────── NEW: the hub (/quiz/) ───────── */
.hubHead{background:var(--teal);color:var(--paper)}
.hubHead .wrap{padding-top:40px;padding-bottom:44px}
.hubHead h1{font-size:clamp(2.1rem,7vw,3.2rem);max-width:18ch}
.hubHead p{margin-top:14px;font-size:1.05rem;color:#CFE2DC;max-width:52ch}
.hubBody{background:var(--paper);color:var(--ink)}
.hubBody .wrap{padding-top:40px;padding-bottom:56px}
.catGrid{display:grid;gap:10px;grid-template-columns:repeat(auto-fill,minmax(258px,1fr))}
.tCard{display:block;padding:15px 17px;border-radius:14px;background:var(--surface);border:1.5px solid var(--rule);color:var(--ink);transition:border-color .15s,background .15s}
.tCard:hover{border-color:var(--accentTeal);background:#fff;color:var(--ink)}
.tCard b{font-family:Fraunces;font-weight:600;font-size:1.1rem;letter-spacing:-0.01em;display:block;text-wrap:balance}
.tCard i{font-style:normal;display:block;margin-top:3px;font-size:0.9rem;color:var(--muted);line-height:1.35;text-wrap:balance}
/* THE SCENE BAND (2026-10-16): the topic's night scene, words on the left. Its height is
   440px on a phone and 34vw on a laptop, which keeps the scene's y 64-336 in view at any desktop width (the canvas is 800x400,
   so 0.34W / (W/800) = 272 rows); scripts/topic-scene-rules.mjs FRAMES.webPhone / webDesk
   are these sizes, and the scene's contrast is checked at them. The sky gradient is the
   fallback for a topic with no scene. The fade and svg rules repeat scene.js's so the band
   paints right before any script, and in the link-preview screenshot. */
.sceneBand{position:relative;overflow:hidden;isolation:isolate;min-height:clamp(440px,34vw,520px);display:flex;background:linear-gradient(180deg,#0A2825 0%,#12403A 60%,#1E5A4E 100%)}
.sceneBand>svg{position:absolute;inset:0;width:100%;height:100%;display:block;z-index:0;pointer-events:none}
.sceneBand>.zb-scene-fade{position:absolute;inset:0;z-index:1;pointer-events:none;background:radial-gradient(120% 95% at 0% 100%,rgba(7,28,26,.85),rgba(7,28,26,0) 72%)}
.sceneBand>.sbIn{position:relative;z-index:2;width:100%;display:flex;flex-direction:column;justify-content:flex-end;padding-top:40px;padding-bottom:34px}
.sceneBand .ctaRow{margin-top:22px}
.sceneBand h1{text-shadow:0 1px 18px rgba(7,28,26,.55)}
/* On a phone the heading takes the band's full width at 2.1rem, so every heading we have
   (up to "The Civil Rights Movement quiz") is two lines and the words start below the
   scene's focal box. At 12ch and 2.4rem it ran to three lines and sat on the gold. */
@media(max-width:520px){.sceneBand h1{font-size:2.1rem;max-width:none}}
@media(max-width:899px){.scrolly.solo .panel:first-child{padding-top:22px}}
/* Play and the App Store badge on ONE row on a phone (George, 2026-10-31). Two rows pushed the
   heading up out of the scene's quiet zone, so the row never wraps: the badge matches Play's
   height, and the pair is 261px wide, inside the 280px a 320px phone leaves. */
@media(max-width:520px){.sceneBand .sbPlay{flex-wrap:nowrap;gap:10px}.sceneBand .storeBadge img{height:50px}}
@media(min-width:900px){.sceneBand>.sbIn{padding-bottom:48px}}
/* The heading moved up into the scene band, so the hero's paragraph now leads its column; its
   16px top margin (spacing under a heading) would sit it 8px below the card's centre. */
.scrolly.solo .panel:first-child>.hSub:first-child{margin-top:0}
/* NEW (2026-10-18, the topic tree) — the path on the scene band. It sits at the top of the band's
   text column, above the edition line, so it reads as part of the picture rather than a strip
   bolted on above it (George: "the breadcrumb needs to sit on the animation/visual"). Every step
   but the last is a link; the last is this page. */
.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin-bottom:auto;padding-bottom:18px;font-size:0.9rem;color:#CFE2DC;text-shadow:0 1px 10px rgba(7,28,26,.6)}
.crumbs a{color:#CFE2DC;font-weight:500}
.crumbs a:hover{color:#fff}
.crumbs .sep{color:rgba(207,226,220,.55)}
.crumbs .here{color:var(--paper);font-weight:600}
/* A hub whose own quiz is not built yet: the line that stands where the Play button would be. */
/* The subject pill on a "More quizzes" / "More like this" card: where the quiz lives. On every
   card in those two lists, the page's own subject included, so a mixed list reads as mixed. */
.relCard .relTag{display:inline-block;margin-top:9px;font-style:normal;font-size:0.82rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--accentTeal);background:rgba(31,138,117,.1);border-radius:999px;padding:3px 9px}
/* A hub page's opening paragraph, above "Go deeper". */
.hubIntro{font-size:1.1rem;color:var(--muted);max-width:60ch;margin-bottom:6px}
.sheetBody .hubIntro+.eyebrow{margin-top:34px}
/* The root hub's subject tiles: emoji, name, then the count and three of the quizzes inside. */
.sGrid{display:grid;gap:12px;margin-top:4px;grid-template-columns:repeat(auto-fill,minmax(258px,1fr))}
.sCard{position:relative;display:block;padding:18px 18px 16px;border-radius:16px;background:var(--surface);border:1.5px solid var(--rule);color:var(--ink);transition:border-color .15s,background .15s}
.sCard:hover{border-color:var(--accentTeal);background:#fff;color:var(--ink)}
.sCard .sEm{display:block;font-size:1.6rem;line-height:1;margin-bottom:10px}
.sCard .zp-pc-tag{top:16px;bottom:auto;right:16px;background:color-mix(in srgb,var(--accentTeal,#1F8A75) 12%,transparent)}
.sCard b{font-family:Fraunces;font-weight:600;font-size:1.25rem;letter-spacing:-0.01em;display:block;text-wrap:balance}
.sCard i{font-style:normal;display:block;margin-top:5px;font-size:0.92rem;color:var(--muted);line-height:1.4;text-wrap:balance}
.sCard i b{display:inline;font-family:Inter;font-weight:600;font-size:inherit;color:var(--ink)}
/* "How Zip Blitz works" on a hub that has no quiz to show: the one teal band between the two
   cream lists, carrying the hook and a way into today's Blitz. */
.howBand{background:var(--teal);color:var(--paper)}
.howBand .wrap{padding-top:44px;padding-bottom:48px}
.howBand h2{font-size:clamp(1.7rem,5.5vw,2.4rem);max-width:18ch;color:var(--paper)}
.howBand .lede{max-width:52ch}

/* ═══════════ PHASE 3: THE PAGE AROUND THE BAND (WEB_SHELL_SPEC.md 3.4) ═══════════ */
.zp-skip{position:absolute;left:12px;top:-60px;z-index:400;background:var(--surface);color:var(--ink);padding:10px 14px;border-radius:10px;font-weight:700}
.zp-skip:focus{top:12px}
/* Room at the foot for the tab bar (the sticky bar steps aside at the page's end: topic-page.js). */
body.zp{padding-bottom:calc(72px + env(safe-area-inset-bottom))}
/* The band's line under the name (the topic's subtitle). */
.sceneBand .sbLine{margin-top:12px;font-family:Fraunces,Georgia,serif;font-weight:600;font-size:clamp(1.15rem,3.8vw,1.5rem);line-height:1.25;color:#E6F1EC;max-width:30ch;text-shadow:0 1px 14px rgba(7,28,26,.55)}
.zp .sceneBand>.sbIn{padding-bottom:84px}
.zp-wrap{position:relative;padding:0 16px}
/* THE PANEL: the app's topic card, lifted over the scene (phone: its foot; desktop: 190px, beside the copy). */
.zp-panel{position:relative;z-index:5;margin-top:-64px;max-width:460px;margin-left:auto;margin-right:auto}
.zp-card{box-shadow:0 18px 40px -16px rgba(10,40,37,.35),0 2px 6px rgba(10,40,37,.06)}
a.th-play{text-decoration:none;color:#fff}
a.th-play:hover{color:#fff;filter:brightness(1.04)}
.zp-names{display:flex;align-items:center;gap:12px;margin-bottom:-2px}
.zp-names-ic{width:46px;height:46px;flex:none;border-radius:13px;background:var(--teal);display:grid;place-items:center;font-size:1.45rem;line-height:1}
.zp-names-k{display:block;font-size:0.82rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--tealPressed)}
.zp-names b{display:block;font-family:Fraunces,Georgia,serif;font-weight:600;font-size:1.2rem;line-height:1.15;color:var(--ink)}
.zp-cardbody{display:flex;flex-direction:column;gap:16px}
.zp-col{padding-top:30px}
/* SECTIONS: one reading column. */
.zp-sec{margin-top:44px}
.zp-col>.zp-intro+.zp-sec{margin-top:40px}
.zp-sec h2{font-size:clamp(1.65rem,6vw,2rem);color:var(--ink);line-height:1.12}
.zp-eyebrow{font-size:0.82rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--tealPressed);margin-bottom:6px}
.zp-sub{margin-top:6px;font-size:0.92rem;color:var(--muted)}
.zp-k{font-size:0.82rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin:22px 0 10px}
.zp-intro{font-size:1.1rem;line-height:1.6;color:var(--muted);max-width:62ch}
.zp-intro b{color:var(--ink);font-weight:600}
/* What the quiz covers, round by round. */
.zp-cov-list{list-style:none;margin:18px 0 0;padding:0;border-top:1.5px solid var(--rule)}
.zp-cov{display:grid;grid-template-columns:14px 1fr;gap:2px 10px;align-items:baseline;padding:12px 0;border-bottom:1.5px solid var(--rule)}
.zp-cov-dot{width:10px;height:10px;border-radius:50%;align-self:center;grid-row:1}
.zp-cov-k{font-size:0.86rem;font-weight:700}
.zp-cov-t{grid-column:2;font-weight:600;font-size:1rem;color:var(--ink);line-height:1.35}
/* How to play. */
.zp-how-grid{display:grid;gap:22px;margin-top:20px}
.zp-how-it{display:flex;gap:14px;align-items:flex-start}
.zp-how-ic{width:40px;height:40px;border-radius:50%;flex:none;background:#E3F2EE;color:var(--tealPressed);display:grid;place-items:center}
.zp-how-ic svg{width:20px;height:20px}
.zp-how-it h3{font-size:1.15rem;line-height:1.2;color:var(--ink)}
.zp-how-it p{margin-top:4px;font-size:0.95rem;line-height:1.55;color:var(--muted)}
/* Try one. */
.zp-try{position:relative;overflow:hidden;background:#fff;border:1px solid var(--rule);border-radius:22px;padding:22px 20px;box-shadow:0 10px 30px rgba(18,64,58,.06)}
.zp-try-q{font-family:Fraunces,Georgia,serif;font-weight:600;font-size:1.3rem;line-height:1.3;color:var(--ink);margin-top:2px}
.zp-try-opts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:16px}
.zp-try-opt{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:52px;padding:12px 34px 12px 14px;border-radius:14px;background:var(--surface);border:1.5px solid #E3D6C1;box-shadow:0 3px 0 #E3D6C1;font:600 0.98rem/1.25 Inter,system-ui,sans-serif;color:var(--ink);text-align:left;cursor:pointer;transition:transform .08s,box-shadow .08s,background .2s,border-color .2s,color .2s}
.zp-try-opt:hover{background:#FFF6E8}
.zp-try-opt:active{transform:translateY(2px);box-shadow:0 1px 0 #E3D6C1}
.zp-try-opt:disabled{cursor:default;transform:none}
.zp-try-opt.zp-right{background:#E2F1EC;border-color:#5C9F6E;box-shadow:0 0 0 .5px #5C9F6E}
.zp-try-opt.zp-right::after{content:"";position:absolute;right:12px;top:50%;margin-top:-9px;width:18px;height:18px;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233F7A50' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")}
.zp-try-opt.zp-wrong{background:#FBE7DE;border-color:#E8784E;box-shadow:0 0 0 .5px #E8784E;color:#8F350F}
.zp-try-opt.zp-wrong::after{content:"";position:absolute;right:13px;top:50%;margin-top:-8px;width:16px;height:16px;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9471C' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E")}
.zp-try-opt.zp-dim{color:#8A7D69;border-color:var(--rule);box-shadow:none;background:transparent}
.zp-try-go{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:0 28px;background:rgba(255,255,255,.9);opacity:0;pointer-events:none;transition:opacity .35s ease}
.zp-try.zp-go .zp-try-go{opacity:1;pointer-events:auto}
.zp-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:17px 24px;white-space:nowrap;max-width:100%;border-radius:16px;background:var(--accentTeal);color:#fff;font-weight:700;font-size:1.05rem;box-shadow:0 4px 0 var(--ctaShadow),0 14px 30px rgba(18,64,58,.22);transform:scale(.92);transition:transform .35s cubic-bezier(.2,.8,.3,1.2);text-align:center}
.zp-btn:hover{color:#fff;background:var(--tealPressed)}
.zp-try.zp-go .zp-btn{transform:none}
/* The board. */
.zp-sec-hd{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 16px}
.zp-lb-since{font-size:0.9rem;color:var(--muted)}
.zp-lb-full{font-weight:700;font-size:0.94rem;white-space:nowrap;color:var(--accentDeep);text-decoration:none}
.zp-lb-full:hover{text-decoration:underline}
.zp-board>.zp-lb-since{margin:6px 0 0}
.zp-lb-ed{margin-top:8px}
.zp-lb{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:8px}
.zp-lb-row{display:grid;grid-template-columns:24px 32px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 14px;border-radius:14px;background:var(--surface);border:1.5px solid var(--rule)}
.zp-lb-rk{font-family:Fraunces,Georgia,serif;font-weight:700;color:var(--muted);text-align:center}
.zp-lb-av{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;overflow:hidden;color:#fff;font-weight:700;font-size:0.84rem;background:var(--rule)}
.zp-lb-av img{width:100%;height:100%;object-fit:cover;display:block}
.zp-lb-nm{min-width:0;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.zp-lb-sc{text-align:right;line-height:1.15}
.zp-lb-sc b{display:block;font-family:Fraunces,Georgia,serif;font-weight:700;color:var(--ink)}
.zp-lb-sc small{display:block;font-size:0.82rem;color:var(--muted)}
.zp-lb-lead{background:color-mix(in srgb,#E8B547 12%,var(--surface))}
.zp-lb-open .zp-lb-nm,.zp-lb-open .zp-lb-sc{color:var(--faint)}
.zp-lb-open .zp-lb-av{background:none;border:1.5px dashed #DFD2BC}
.zp-lb-you{margin-top:8px;border:1.5px dashed #9FCDBE;background:transparent}
/* A guest's row (George, 2026-11-26): the board's row, muted, a neutral disc with a head-and-shoulders mark. */
.zp-lb-guest .zp-lb-nm{color:var(--muted);font-weight:500}
.zp-lb-guest .zp-lb-av{background:var(--rule);color:var(--faint)}
.zp-lb-av-you{background:var(--accentTeal);color:#fff}
.zp-lb-you .zp-lb-nm{white-space:normal}
.zp-lb-you .zp-lb-nm b{display:block;font-weight:700}
.zp-lb-you .zp-lb-nm small{display:block;font-size:0.85rem;color:var(--muted);font-weight:500}
/* Cards with pictures: Go deeper (a grid), More like this (a row). */
.zp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;margin-top:16px}
.zp-pc{display:flex;flex-direction:column;color:var(--ink);min-width:0}
.zp-pc:hover{color:var(--tealPressed)}
.zp-pc-pic{position:relative;display:block;aspect-ratio:16/10;border-radius:14px;background:#12403A;overflow:visible}
.zp-pc-pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:14px;display:block}
.zp-pc-em{position:absolute;left:10px;bottom:-12px;width:32px;height:32px;border-radius:9px;background:var(--surface);border:1.5px solid var(--rule);display:grid;place-items:center;font-size:1.05rem;line-height:1;box-shadow:0 2px 6px rgba(10,40,37,.12)}
.zp-pc-n{position:absolute;right:8px;top:8px;padding:3px 9px;border-radius:999px;background:var(--surface);color:var(--ink);font-size:0.82rem;font-weight:700}
.zp-pc-nm{margin-top:18px;font-family:Fraunces,Georgia,serif;font-weight:600;font-size:1.02rem;line-height:1.2}
.zp-pc-fl{margin-top:3px;font-size:0.82rem;font-weight:600;color:var(--tealPressed);line-height:1.3}
.zp-pc:hover .zp-pc-pic{box-shadow:0 0 0 2px var(--accentTeal)}
.zp-row{display:grid;grid-auto-flow:column;grid-auto-columns:148px;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding-left:16px;scrollbar-width:none;margin:16px -16px 0;padding:0 16px 6px}
.zp-row::-webkit-scrollbar{display:none}
.zp-row>.zp-pc{scroll-snap-align:start}
/* A big hub's index. */
.zp-ix-hd{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;margin-top:26px}
.zp-ix-hd .zp-k{margin:0}
.zp-find{display:flex;align-items:center;gap:8px;min-width:0;flex:1 1 200px;max-width:260px;padding:0 12px;height:42px;border-radius:12px;background:var(--surface);border:1.5px solid var(--rule)}
.zp-find:focus-within{border-color:var(--accentTeal)}
.zp-find-ic{width:16px;height:16px;flex:none;color:var(--muted)}
.zp-find-ic svg{width:16px;height:16px;display:block}
.zp-find input{flex:1;min-width:0;border:0;background:none;font:500 0.95rem Inter,system-ui,sans-serif;color:var(--ink);outline:none}
.zp-ix-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
.zp-ix{display:flex;align-items:center;gap:10px;min-width:0;padding:9px 10px;border-radius:12px;background:var(--surface);border:1.5px solid var(--rule);color:var(--ink);font-weight:600;font-size:0.92rem}
.zp-ix>span:last-child{min-width:0;overflow-wrap:anywhere;line-height:1.25}
.zp-ix:hover{border-color:var(--accentTeal);color:var(--ink)}
.zp-ix[hidden]{display:none}
.zp-ix-em{width:28px;height:28px;flex:none;border-radius:8px;background:#E3F2EE;display:grid;place-items:center;font-size:0.95rem;line-height:1}
.zp-ix-none{margin-top:12px;color:var(--muted)}
/* Across the column: More like this, the Daily. */
.zp-wide{padding:0 16px}
.zp-wide>.zp-sec{margin-top:52px}
.zp-daily{margin-top:44px;border-radius:22px;background:var(--teal);color:var(--paper);padding:22px 20px;display:grid;gap:16px}
.zp-daily-k{font-size:0.82rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#9FCBBE}
.zp-daily h2{font-size:1.75rem;color:var(--paper);margin-top:4px}
/* THE WHOLE BAND IS THE HOME PAGE (George, 2026-11-21: "clickable anywhere to take me to home page, but clicking
   'play opener' starts round"): its heading is the link, stretched over the band; Play sits above it. */
.zp-daily{position:relative;cursor:pointer;transition:filter .15s}
.zp-daily:hover{filter:brightness(1.06)}
.zp-daily-a{color:inherit;text-decoration:none}
.zp-daily-a::after{content:"";position:absolute;inset:0;border-radius:inherit;z-index:1}
.zp-daily-a:focus-visible{outline:none}
.zp-daily-a:focus-visible::after{outline:3px solid #9FCBBE;outline-offset:3px}
.zp-daily-play{position:relative;z-index:2}
.zp-daily-line{margin-top:6px;font-size:0.95rem;color:#CFE2DC}
.zp-daily-dots{display:flex;gap:10px}
.zp-dd{width:38px;height:38px;border-radius:50%;border:2.5px dashed color-mix(in oklab,var(--c) 70%,transparent)}
.zp-dd.done{border:0;background:var(--c) no-repeat center/20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E")}
.zp-dd.next{border:0;background:var(--c) no-repeat center/20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M12 6l6 6-6 6'/%3E%3C/svg%3E");box-shadow:0 0 0 5px color-mix(in oklab,var(--c) 30%,transparent)}
.zp-daily-play,.zp-sticky-play{display:flex;align-items:center;justify-content:center;gap:8px;padding:15px 22px;border-radius:16px;background:var(--tc);color:#fff;font-weight:700;font-size:1rem;box-shadow:0 4px 0 var(--td);transition:transform .07s,box-shadow .07s}
.zp-daily-play:hover,.zp-sticky-play:hover{color:#fff;filter:brightness(1.04)}
.zp-daily-play:active,.zp-sticky-play:active{transform:translateY(2px);box-shadow:0 2px 0 var(--td)}
/* Tricky's gold carries dark text (the canvas: 'dark text on Tricky's gold'). */
.zp-daily-play.zp-ink,.zp-sticky-play.zp-ink{color:#1F1A14}
.zp-daily-play.zp-ink svg path,.zp-sticky-play.zp-ink svg path{stroke:#1F1A14}
/* The footer. */
.zp-foot{margin-top:56px;padding:26px 16px 28px;border-top:1.5px solid var(--rule)}
.zp-foot .zp-k{margin-top:0}
.zp-foot-subj{display:flex;flex-wrap:wrap;gap:6px 18px}
.zp-foot-subj a{color:var(--ink);font-size:0.92rem;font-weight:500}
.zp-foot-subj a:hover{color:var(--tealPressed)}
.zp-foot-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 20px;margin-top:26px;font-size:0.9rem;color:var(--muted)}
.zp-foot-mark b{font-family:Fraunces,Georgia,serif;color:var(--ink)}
.zp-foot-links{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px}
.zp-foot-links a{color:var(--muted)}
.zp-foot-app{display:inline-flex;align-items:center;gap:7px;padding:8px 14px;border-radius:12px;border:1.5px solid var(--rule);background:var(--surface);color:var(--ink)!important;font-weight:600}
/* THE PHONE'S STICKY BAR (spec 3.4): above the tab bar once the card has scrolled away. */
.zp-sticky{position:fixed;left:10px;right:10px;bottom:calc(53px + 12px + env(safe-area-inset-bottom));z-index:45;border-radius:20px;background:#0A2825;padding:8px;box-shadow:0 14px 30px -10px rgba(10,40,37,.55);transform:translateY(24px);opacity:0;visibility:hidden;transition:transform .3s cubic-bezier(.2,.8,.3,1),opacity .25s ease,visibility 0s linear .3s}
.zp-sticky.zp-on{transform:none;opacity:1;visibility:visible;transition:transform .3s cubic-bezier(.2,.8,.3,1),opacity .25s ease,visibility 0s}
.zp-sticky.zp-gone{display:none}
.zp-sticky-in{display:flex;gap:8px;max-width:460px;margin:0 auto}
.zp-sticky-play{flex:1;min-height:56px;padding:8px 16px}
.zp-sticky-t{display:flex;flex-direction:column;align-items:center;line-height:1.15}
.zp-sticky-t small{font-size:0.82rem;font-weight:600;opacity:.9}
.zp-sticky-live{flex:none;display:flex;align-items:center;justify-content:center;gap:7px;min-width:96px;padding:0 18px;border-radius:16px;border:1.5px solid rgba(255,249,240,.25);background:rgba(255,249,240,.1);color:#FFF9F0;font:700 1rem Inter,system-ui,sans-serif;cursor:pointer}
.zp-sticky-live svg{fill:#FFF9F0}
/* The root hub's head on the new cream page. */
.zp .hubHead{background:var(--teal)}

/* ── TABLET AND UP: the panel beside the copy ── */
@media(min-width:600px){
 .zp-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .zp-ix-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .zp-how-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 32px}
 .zp-row{grid-auto-columns:200px}
 .zp-daily{grid-template-columns:1fr auto auto;align-items:center;padding:26px 28px}
 .zp-cov{grid-template-columns:14px 74px 1fr;gap:10px}
 .zp-cov-t{grid-column:3}
}
@media(min-width:900px){
 .zp .sceneBand>.sbIn{max-width:1100px;padding-left:40px;padding-right:calc(380px + 96px);padding-bottom:48px}
 .zp-wrap{display:grid;grid-template-columns:minmax(0,1fr) 380px;column-gap:56px;max-width:1100px;margin:0 auto;padding:0 40px}
 .zp-panel{grid-column:2;grid-row:1;align-self:start;position:sticky;top:24px;margin:-190px 0 0;max-width:none}
 .zp-col{grid-column:1;grid-row:1;padding-top:40px;min-width:0}
 .zp-wide{max-width:1100px;margin:0 auto;padding:0 40px}
 .zp-row{grid-auto-columns:minmax(200px,calc((100% - 48px) / 5));margin:16px 0 0;padding:0 0 6px}
 .zp-foot{max-width:1100px;margin:56px auto 0;padding:26px 40px 32px}
 .zp-sticky{display:none}
 body.zp{padding-bottom:calc(84px + env(safe-area-inset-bottom))}
}
/* A desktop (the sidebar, webshell.css): the tab bar steps aside, and so does its padding. */
@media(min-width:1024px){
 body.zp{padding-bottom:0}
 /* THE SCENE IS SHORTER ON A DESKTOP (George, 2026-11-21: "a tad too high"): 489px of a 900px window at 1440
    became ~400, mostly empty sky (the scene is xMidYMid slice, so the cut is shared by top and bottom) and the
    gap under the heading, so the opening paragraph comes up. Phones keep theirs (the card sits under it there). */
 .sceneBand{min-height:clamp(360px,28vw,430px)}
 .zp .sceneBand>.sbIn{padding-top:28px;padding-bottom:40px}
 .zp-try{padding:24px 26px}
}
/* The band's words are there from the first paint (phase 3 speed gate, 2026-11-19): their 0.7s fade-in
   made the heading the page's largest paint only once it had finished, putting desktop LCP at ~780 ms
   against ~290 ms before. The scene still moves (scene.js); the words do not wait for it. */
.zp .sceneBand .rv{opacity:1;transform:none;transition:none}
/* THE APP'S PIECES AS THE APP DRAWS THEM (QA pass 2): the app's pages set no line-height, so the sidebar,
   the card and the tab bar were laid out 1.5 tall here and moved 6-9px between a topic page and a round. */
.zp .zb-side,.zp .zp-card,.zp .th-tabbar{line-height:normal}
/* Nothing scrolls by in the 12px between the sticky bar and the tab bar (QA pass 2). */
.zp-sticky::after{content:"";position:absolute;left:-10px;right:-10px;top:100%;height:14px;background:var(--paper)}
/* The root (/quiz/) on the same column as every other page (QA pass 2: 30px off at 1440). */
.zp .hubBody .wrap{padding-bottom:4px}
@media(min-width:900px){.zp .hubHead .wrap,.zp .hubBody .wrap{max-width:1100px;padding-left:40px;padding-right:40px}}
/* A desktop row that scrolls fades at its right edge, so the card cut there reads as more to come. */
@media(min-width:900px){.zp-row{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 56px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 56px),transparent)}}
.zp-ix-t{display:flex;flex-direction:column;min-width:0;overflow-wrap:anywhere;line-height:1.25}
.zp-ix-n{font-size:0.82rem;font-weight:600;color:var(--muted)}
/* The footer's rule runs exactly as wide as the content above it, not into the padding (QA pass 3). */
.zp-foot{border-top:0;background:linear-gradient(var(--rule),var(--rule)) no-repeat 16px 0/calc(100% - 32px) 1.5px}
@media(min-width:900px){.zp-foot{background-position:40px 0;background-size:calc(100% - 80px) 1.5px}}
/* The tab bar is the app's frosted one; under the sticky bar's cream strip the page showed through its top
   edge (QA pass 4). On a topic page it is solid, so the bar, the strip and the tab bar read as one dock. */
.zp .th-tabbar{background:#FFFCF7}
/* Try one: the card pales first, then Play arrives on it, one after the other (QA pass 6). */
.zp-try-go{transition:opacity .28s ease}
.zp-try .zp-btn{opacity:0;transition:transform .35s cubic-bezier(.2,.8,.3,1.2) .22s,opacity .2s ease .22s}
.zp-try.zp-go .zp-btn{opacity:1}
/* A LIST BLITZ PAGE (LIST_BLITZ_SPEC.md 6.2): the panel's two numbers, Play in brand teal (one round, no ladder),
   the name rule, Share · Live · Board, the quiet Trivia Blitz line; Try one's slots and field. Built by --lists only. */
/* A list's panel is the app's list screen (TTAB._listTopicHtml): its name, the facts' tiles and edge box (the app's own
   rules, appCardCss), Play, Share · Live · Board, one column at the app's 16px gap. */
.zp-list-card{display:flex;flex-direction:column;gap:16px}
.zp-list-card .zp-names{margin-bottom:0}
.zp-list-line:empty{display:none}
.zp-list-line{font-size:0.88rem;color:var(--muted,#6b6257);margin:10px 0 0;text-align:center}
/* The other game, under the panel: the difference first, then its name (LIST_CROSS_WORDS). */
.zp-cross{display:block;margin-top:14px;font-size:0.88rem;font-weight:600;color:var(--tealPressed,#0E5346);text-align:center;text-decoration:none}
.zp-cross:hover{text-decoration:underline}
.zp-lt-slots{list-style:none;padding:0;margin:12px 0;display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px}
.zp-lt-slot{border:1.5px dashed var(--rule,#E4D9C8);border-radius:12px;min-height:44px;display:flex;align-items:center;padding:0 12px;font-weight:700;color:var(--faint,#a39886)}
.zp-lt-slot.on{border-style:solid;border-color:var(--accentTeal);background:#E7F4F0;color:var(--ink)}
.zp-lt-in{width:100%;box-sizing:border-box;font-size:1.05rem;padding:12px 14px;border:1.5px solid var(--rule,#E4D9C8);border-radius:12px;background:#fff}
.zp-list-try .zp-btn{opacity:1}
/* The game tag (topic-page-parts.mjs gameTag): on every card, at the picture's bottom right, clear of the count pill
   (top right) and the emoji tile (bottom left) at every card width (George, 2026-11-23). */
.zp-pc-tag{position:absolute;bottom:8px;right:8px;display:inline-flex;align-items:center;gap:5px;line-height:0;padding:5px 8px;border-radius:999px;background:rgba(255,249,240,.92);color:var(--tealPressed)}
.zp-pc-tag svg,.zp-ix-g svg{display:block}
.zp-ix-em{position:relative}
.zp-ix-g{position:absolute;right:-7px;bottom:-7px;display:inline-flex;gap:2px;padding:2.5px;border-radius:999px;background:var(--surface);box-shadow:0 0 0 1.5px var(--rule);color:var(--tealPressed)}
/* TWINS ARE TWO CARDS (George, 2026-11-24): the other game's card under the page's own, in the same panel
   (topic-page-parts.mjs twinPanelCardHtml). Its name opens its page; its Play plays it. */
.zp-twin2{margin-top:14px}
.zp-twin2-h{display:flex;align-items:center;text-decoration:none;color:inherit}
.zp-twin2-h:hover b{text-decoration:underline}
.zp-twin2-go{margin-left:auto;font-size:1.4rem;color:var(--tealPressed,#0E5346);padding-left:8px}
/* The card's own 16px gap between every block (George, 2026-11-25: "make it consistent with other gaps"). */

/* ── A COMBINED PAGE (COMBINED_PAGES_SPEC.md, George 2026-11-26): one subject, both games, Trivia first ── */
.zp-jump{margin-top:22px}
.zp-jump-k{font-size:0.82rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--tealPressed);margin:0 0 10px}
.zp-jump-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.zp-jump a{display:flex;align-items:center;gap:10px;padding:12px;border:1.5px solid var(--rule);border-radius:16px;background:var(--surface);color:var(--ink);text-decoration:none}
.zp-jump a:hover{border-color:var(--accentTeal)}
.zp-jump b{display:block;font-weight:700;font-size:0.95rem;line-height:1.2}
.zp-jump small{display:block;font-size:0.82rem;font-weight:500;line-height:1.3;color:var(--muted);margin-top:2px}
.zp-jump-ic,.zp-game-ic{flex:none;border-radius:50%;background:#E3F2EE;color:#16705E;display:flex;align-items:center;justify-content:center}
.zp-jump-ic{width:36px;height:36px}
.zp-jump-ic svg,.zp-game-ic svg{display:block}
.zp-jump-go{margin-left:auto;color:var(--accentTeal);font-weight:800}
.zp-game{background:var(--surface);border:1.5px solid var(--rule);border-radius:24px;padding:24px 20px 22px;scroll-margin-top:20px}
.zp-game-hd{display:flex;gap:14px;align-items:flex-start;margin-bottom:6px}
.zp-game-ic{width:48px;height:48px}
.zp-game .zp-eyebrow{margin:2px 0}
.zp-game h2{margin:0}
.zp-game-line{margin:8px 0 0;color:var(--muted);font-size:1.02rem;line-height:1.5}
.zp-game-k{font-size:0.82rem;font-weight:800;line-height:1.2;letter-spacing:.12em;text-transform:uppercase;color:var(--tealPressed);margin:26px 0 8px;font-family:Inter,system-ui,sans-serif}
.zp-game .zp-cov-list{margin-top:0}
.zp-game .zp-how-grid{margin-top:26px}
.zp-game .tt-lstats{margin-top:20px}
.zp-game .zp-try-q{margin-top:0}
.zp-game-play{margin-top:22px;width:100%;justify-content:center}
.zp-combo-list{margin-top:14px}
.zp-names b.zp-combo-facts{display:none}
.zp-lb-split{display:block;font-size:0.82rem;font-weight:500;line-height:1.3;color:var(--muted);overflow:hidden;text-overflow:ellipsis}
.zp-sticky-two .zp-sticky-in{display:flex;gap:10px}
.zp-sticky-two .zp-sticky-play{flex:1;justify-content:center}
@media(max-width:420px){.zp-jump-row{grid-template-columns:1fr}}
/* A phone shows both Plays on its first screen: the panel's cards lose their description box and keep the list's two
   figures, as the app's two boxes do (George, 2026-11-27: "drop the descriptions but keep the number and time for lists"). */
@media(max-width:767px){
  .zp-combo .zp-panel .tt-lwhat{display:none}
  .zp-combo .zp-panel .zp-card{padding-top:14px;padding-bottom:14px}
  .zp-combo .zp-panel .th-rail{margin:4px 0}
  .zp-combo .zp-combo-list{margin-top:10px}
  /* The two figures are the card's title ("14 to name · 2 minutes"), in the space the set's name took: a row of their own
     put Name all N under the tab bar. The name is the List Blitz section's headline below. */
  .zp-combo .zp-combo-list .tt-lstats{display:none}
  .zp-combo .zp-combo-list .zp-names b:not(.zp-combo-facts){display:none}
  .zp-combo .zp-combo-list .zp-names b.zp-combo-facts{display:block}
  /* One line, whatever the set's name: a two-line title put a long list's Play under the tab bar ("14 Doctor Who actors"). */
  .zp-combo .zp-combo-list .zp-names b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .zp-game{padding:20px 16px 18px;border-radius:20px}
}
