/* Whose Side? : storybook chat (mockup v3-C, resources/game-mockups/v3-c-storybook-chat.html).
   Two voices: the storyteller in Fraunces on paper bubbles, the player in Inter on teal. Tokens on :root, dark mode by
   prefers-color-scheme. CSP: no inline style blocks; colour classes instead of style attributes. */
:root{
  --bg:#f7f5f0; --surface:#ffffff; --soft:#f0ede5; --ink:#1d1b17; --muted:#5f5a52; --line:#ded9ce;
  --accent:#1f5f5b; --accent-ink:#ffffff; --accent-soft:#e2eeec; --bad:#a6423a; --bad-soft:#f6e6e3;
  --shadow:0 1px 2px rgba(29,27,23,.06),0 8px 24px rgba(29,27,23,.06);
  --scrim:rgba(29,27,23,.42);
  --serif:'Fraunces',Georgia,'Times New Roman',serif; --sans:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --c1:#56606b; --c2:#a6423a; --c3:#76628f; --c4:#3f6d4a; --c5:#b0782a; --c6:#6f665a;
  color-scheme:light dark;
}
@media (prefers-color-scheme:dark){
  :root{
    --bg:#14130f; --surface:#1e1c17; --soft:#27251f; --ink:#f1ede4; --muted:#aaa395; --line:#37342c;
    --accent:#6cc4bc; --accent-ink:#0d1a19; --accent-soft:#1f3331; --bad:#e08a80; --bad-soft:#3a2321;
    --shadow:0 1px 2px rgba(0,0,0,.4),0 8px 24px rgba(0,0,0,.35);
    --scrim:rgba(0,0,0,.55);
    --c1:#6b7682; --c2:#b5524a; --c3:#85719f; --c4:#4d7d58; --c5:#b9853a; --c6:#7d7468;
  }
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:400 16px/1.55 var(--sans);overflow-x:hidden}
h1,h2,h3{font-family:var(--serif);font-weight:600;line-height:1.12;margin:0;letter-spacing:-.01em}
p{margin:0}
button,input,textarea{font:inherit;color:inherit}
button{-webkit-tap-highlight-color:transparent}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:8px}
[tabindex="-1"]:focus{outline:none}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.mk{display:inline-block;flex:none;color:var(--accent);vertical-align:middle;width:24px;height:24px}
.mk svg{display:block;width:100%;height:100%}
.mk.is-soon{color:var(--muted)}

/* ---------- app shell: phone-first, framed column on desktop ---------- */
.shell{position:relative;width:100%;max-width:520px;margin:0 auto;height:100vh;height:100dvh;display:flex;flex-direction:column;background:var(--bg);overflow:hidden}
@media (min-width:620px){
  body{background:var(--soft)}
  .shell{height:calc(100vh - 40px);height:calc(100dvh - 40px);margin:20px auto;border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow)}
}
.app{flex:1;min-height:0;display:flex;flex-direction:column}
.scroll{flex:1;overflow-y:auto;overscroll-behavior:contain}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:12px 24px;border-radius:999px;border:1px solid var(--line);background:var(--surface);cursor:pointer;font-weight:500;text-decoration:none}
.btn:hover{border-color:var(--muted)}
.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink);font-weight:600}
.btn.primary:hover{filter:brightness(1.08)}
.btn:disabled{opacity:.4;cursor:not-allowed;filter:none}
.btn.block{width:100%}
.link{background:none;border:0;padding:6px 4px;color:var(--muted);text-decoration:underline;text-underline-offset:3px;cursor:pointer;font-size:.85rem}
.notice{font-size:.86rem;color:var(--bad);background:var(--bad-soft);border-radius:14px;padding:9px 12px;margin-top:12px;text-align:left}
.notice .link{color:inherit;padding:0 0 0 6px}
.demo-badge{display:inline-block;font:600 .66rem/1 var(--sans);letter-spacing:.06em;text-transform:uppercase;color:var(--bad);border:1px solid currentColor;border-radius:999px;padding:4px 8px}

/* ---------- start & consent ---------- */
.start{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:36px 16px 28px}
.start .mk.hero{width:76px;height:76px;margin-bottom:22px}
.start h1{font-size:clamp(2.5rem,12vw,3.3rem)}
.lede{color:var(--muted);font-size:1.08rem;max-width:24ch;margin:12px auto 30px}
.agree{width:100%;max-width:340px}
.consent{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:14px 16px;text-align:left;font-size:.84rem;color:var(--muted);line-height:1.45}
.consent a{color:inherit;text-underline-offset:3px}
.check{display:flex;gap:10px;align-items:center;margin-top:12px;padding-top:12px;border-top:1px solid var(--line);color:var(--ink);font-size:.92rem;font-weight:500;cursor:pointer}
.check input{width:22px;height:22px;accent-color:var(--accent);margin:0;flex:none;cursor:pointer}
.check a{color:var(--accent);text-underline-offset:3px}
.agree .btn{margin-top:14px}
.fine{margin-top:16px;font-size:.8rem;color:var(--muted)}
.fine a{color:inherit;text-underline-offset:3px}

/* modal (Turnstile) */
.scrim{position:absolute;inset:0;z-index:30;background:var(--scrim);display:flex;align-items:center;justify-content:center;padding:16px;animation:fade .2s ease-out}
.scrim.is-closed{visibility:hidden;opacity:0;pointer-events:none;animation:none}
.dialog{width:100%;max-width:340px;background:var(--surface);border-radius:24px;padding:26px 22px 20px;text-align:center;box-shadow:0 20px 60px rgba(0,0,0,.25);animation:pop .28s cubic-bezier(.2,.9,.3,1.2)}
.dialog .mk{width:36px;height:36px;margin-bottom:10px}
.dialog h2{font-size:1.45rem}
.dialog p{color:var(--muted);font-size:.9rem;margin-top:6px}
.ts-slot{display:flex;justify-content:center;min-height:8px;margin:14px 0 6px;max-width:100%;overflow:hidden}

/* ---------- level select ---------- */
.topbar{display:flex;align-items:center;gap:10px;padding:16px 20px 4px}
.topbar .mk{width:26px;height:26px}
.topbar b{font:600 1.05rem/1 var(--serif)}
.topbar .demo-badge{margin-left:auto}
.shelf{padding:8px 16px 20px}
.shelf h1{font-size:2.1rem;margin:10px 4px 18px}
.lcard{display:flex;align-items:center;gap:14px;width:100%;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:12px;cursor:pointer;box-shadow:var(--shadow);margin-bottom:12px;transition:transform .15s,border-color .15s}
.lcard:hover{border-color:var(--accent);transform:translateY(-1px)}
.lcard:disabled{cursor:progress;transform:none;opacity:.7}
.lcard .art{width:68px;height:68px;border-radius:15px;overflow:hidden;flex:none}
.lcard .art svg{display:block;width:100%;height:100%}
.lcard.feat{flex-direction:column;align-items:stretch;gap:0;padding:0;overflow:hidden}
.lcard.feat .art{width:100%;height:150px;border-radius:0}
.lc-body{flex:1;min-width:0}
.feat .lc-body{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:16px 18px 18px}
.lc-eye{display:flex;align-items:center;gap:6px;font-size:.78rem;color:var(--muted)}
.lc-eye .mk{width:14px;height:14px}
.lcard h2{font-size:1.3rem;margin:3px 0 2px}
.feat h2{font-size:1.75rem}
.lc-meta{font-size:.82rem;color:var(--muted)}
.go{flex:none;display:inline-flex;align-items:center;gap:6px;background:var(--accent);color:var(--accent-ink);border-radius:999px;padding:11px 18px;font-weight:600;font-size:.95rem}
.chev{flex:none;color:var(--muted);margin-right:4px}
.soon-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:4px}
.soon{border:1.5px dashed var(--line);border-radius:18px;padding:14px 6px 12px;text-align:center;color:var(--muted);font-size:.74rem;line-height:1.3;min-width:0;overflow-wrap:anywhere}
.soon .mk{width:26px;height:26px;display:block;margin:0 auto 8px}
.soon b{display:block;color:var(--ink);opacity:.65;font-weight:600;font-size:.86rem;margin-bottom:1px}
.shelf-foot{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 14px;margin-top:22px;font-size:.78rem;color:var(--muted)}
.shelf-foot a{color:inherit;text-underline-offset:3px}

/* ---------- chat ---------- */
.chat-top{display:flex;align-items:center;gap:8px;padding:10px 12px 10px 6px;border-bottom:1px solid var(--line);background:var(--surface);flex:none}
.icon-btn{width:40px;height:40px;border-radius:50%;border:0;background:none;display:grid;place-items:center;cursor:pointer;color:var(--ink);flex:none}
.icon-btn:hover{background:var(--soft)}
.av{width:40px;height:40px;border-radius:50%;flex:none;display:grid;place-items:center}
.av.bot{background:var(--accent-soft)}
.av.bot .mk{width:24px;height:24px}
.who{flex:1;min-width:0}
.who b{display:block;font:600 1.04rem/1.2 var(--serif)}
.who span{display:block;font-size:.76rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.meter{display:flex;flex-direction:column;align-items:flex-end;gap:5px;padding-right:4px;flex:none}
.pips{display:flex;gap:4px}
.pips i{width:9px;height:9px;border-radius:50%;border:1.5px solid var(--accent);transition:background .3s}
.pips i.on{background:var(--accent)}
.meter small{font-size:.72rem;color:var(--muted);font-variant-numeric:tabular-nums;line-height:1}

.log{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:14px 12px 12px;display:flex;flex-direction:column;gap:4px}
.chapter{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;margin:4px 6px 12px}
.chapter::before,.chapter::after{content:"";flex:1;height:1px;background:var(--line)}
.chapter .mk{width:13px;height:13px}
.row{display:flex;gap:8px;align-items:flex-end;max-width:86%}
.row.first{margin-top:10px}
.row.bot{align-self:flex-start}
.row.user{align-self:flex-end}
.row .av{width:30px;height:30px}
.row .av .mk{width:18px;height:18px}
.row .av.ghost{visibility:hidden}
.bub{padding:10px 15px;border-radius:21px;overflow-wrap:anywhere;min-width:0}
.bot .bub{background:var(--surface);border:1px solid var(--line);border-bottom-left-radius:6px;font-family:var(--serif);font-size:1.03rem;line-height:1.5}
.bot .bub strong{font-weight:600;color:inherit}
.bub p+p,.bub p+ul,.bub p+ol,.bub ul+p,.bub ol+p{margin-top:.5em}
.bub ul,.bub ol{margin:0;padding-left:1.25em}
.user .bub{background:var(--accent);color:var(--accent-ink);border-bottom-right-radius:6px;font-size:.95rem;white-space:pre-wrap}
.typing{display:inline-flex;gap:4px;padding:6px 2px}
.typing i{width:7px;height:7px;border-radius:50%;background:var(--muted);animation:blink 1s infinite}
.typing i:nth-child(2){animation-delay:.15s}.typing i:nth-child(3){animation-delay:.3s}

/* starter suggestions: on the player's side, outlined ghost bubbles; tap sends */
.suggest{align-self:flex-end;display:flex;flex-direction:column;align-items:flex-end;gap:6px;max-width:86%;margin-top:12px}
.suggest-h{font-size:.72rem;color:var(--muted);letter-spacing:.02em}
.sugg{border:1.5px dashed var(--accent);background:transparent;color:var(--accent);border-radius:21px;border-bottom-right-radius:6px;padding:9px 15px;font-size:.93rem;text-align:left;cursor:pointer;line-height:1.4;overflow-wrap:anywhere}
.sugg:hover{background:var(--accent-soft);border-style:solid}
.sugg:disabled{opacity:.5;cursor:not-allowed}

/* hint card (system message) */
.sys{align-self:center;width:min(100%,400px);background:var(--soft);border-radius:18px;padding:12px 14px 14px;margin:12px 0 4px}
.sys-h{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:.74rem;margin-bottom:9px}
.sys-h svg{color:var(--accent);flex:none}
.sys-h em{font-style:normal;margin-left:auto;opacity:.85}
.sys .md{font-family:var(--serif);font-size:.98rem}
.sys .md ul,.sys .md ol{margin:0;padding-left:1.2em}
.cast{display:flex;flex-wrap:wrap;gap:6px}
.sus{display:inline-flex;align-items:center;gap:6px;background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:3px 11px 3px 3px;font-size:.82rem}
.ini{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;color:#fff;font:600 .74rem/1 var(--serif);flex:none}
.ini.c1{background:var(--c1)}.ini.c2{background:var(--c2)}.ini.c3{background:var(--c3)}.ini.c4{background:var(--c4)}.ini.c5{background:var(--c5)}.ini.c6{background:var(--c6)}
.sys.err{background:var(--bad-soft);color:var(--bad);font-size:.88rem;padding:10px 14px}

/* the ready card at five */
.ready{align-self:stretch;margin:16px 2px 4px}
/* only freshly added things animate (re-renders must not replay the motion) */
.row.new,.sys.new,.suggest.new{animation:rise .3s ease-out}.ready.new{animation:rise .4s ease-out}
.ready small{display:flex;justify-content:center;align-items:center;gap:8px;color:var(--muted);font-size:.76rem;margin-bottom:9px}
.ready small::before,.ready small::after{content:"";width:28px;height:1px;background:var(--line)}
.ready-btn{width:100%;display:flex;align-items:center;gap:14px;padding:16px 18px;border-radius:22px;border:0;background:var(--accent);color:var(--accent-ink);font:600 1.08rem/1.3 var(--serif);text-align:left;cursor:pointer;box-shadow:0 10px 30px -10px var(--accent)}
.ready-btn:hover{filter:brightness(1.08)}
.ready-btn .mk{color:var(--accent-ink);width:30px;height:30px}
.ready-btn .arr{margin-left:auto;flex:none}

/* dock: quick actions + composer */
.dock{flex:none;border-top:1px solid var(--line);background:var(--surface);padding:8px 10px 10px;padding-bottom:max(10px,env(safe-area-inset-bottom))}
.chips{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 8px;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{flex:none;display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:var(--bg);border-radius:999px;padding:7px 13px;font-size:.85rem;cursor:pointer;white-space:nowrap}
.chip:hover{border-color:var(--accent)}
.chip:disabled{opacity:.5;cursor:not-allowed}
.chip.hint{border-color:transparent;color:var(--accent);background:var(--accent-soft);font-weight:600}
.chip.ghost{margin-left:auto;border-color:transparent;background:none;color:var(--muted);font-size:.82rem;padding-right:6px}
.chip.ghost:hover{color:var(--ink);border-color:var(--line)}
.chip.ghost .mk{width:14px;height:14px;color:var(--muted)}
.composer{display:flex;gap:8px;align-items:center}
.composer input{flex:1;min-width:0;border:1px solid var(--line);background:var(--bg);border-radius:999px;padding:11px 18px;min-height:48px;outline-offset:0}
.composer input:disabled{opacity:.6}
.send{width:48px;height:48px;border-radius:50%;border:0;background:var(--accent);color:var(--accent-ink);display:grid;place-items:center;cursor:pointer;flex:none}
.send:disabled{opacity:.35;cursor:not-allowed}

/* feedback nudge: slides up out of the chat (or the bottom of other screens) */
.nudge{background:var(--surface);border:1px solid var(--line);border-left:4px solid var(--accent);border-radius:18px;padding:11px 10px 10px 14px;margin:0 0 10px;box-shadow:var(--shadow)}
.nudge.new{animation:slideup .5s cubic-bezier(.2,.85,.25,1)}
.nudge.float{position:absolute;left:16px;right:16px;bottom:16px;z-index:20;margin:0}
.nudge-gap{height:140px}            /* keeps the last content scrollable above a floating nudge */
.nudge-h{display:flex;align-items:center;gap:8px;font-weight:600;font-size:.9rem}
.nudge-h svg{flex:none;color:var(--accent)}
.nudge-h .x{margin-left:auto;width:30px;height:30px}
.nudge form{display:flex;gap:6px;margin-top:6px}
.nudge input{flex:1;min-width:0;border:1px solid var(--line);background:var(--bg);border-radius:999px;padding:8px 14px;font-size:.9rem}
.nudge .send{width:38px;height:38px}
.nudge .thanks{font-size:.88rem;color:var(--muted);padding:4px 0 2px}
.nudge .nerr{font-size:.8rem;color:var(--bad);margin-top:4px}

/* ---------- accusation sheet ---------- */
.sheet-scrim{position:absolute;inset:0;z-index:30;background:var(--scrim);display:flex;align-items:flex-end}
.sheet-scrim.enter{animation:fade .2s ease-out}.sheet-scrim.enter .sheet{animation:up .36s cubic-bezier(.2,.85,.25,1)}
.sheet{width:100%;max-height:90%;overflow-y:auto;background:var(--surface);border-radius:28px 28px 0 0;padding:10px 16px 18px;padding-bottom:max(18px,env(safe-area-inset-bottom))}
.grab{width:42px;height:4px;border-radius:2px;background:var(--line);margin:0 auto 6px}
.sheet-h{display:flex;align-items:center;gap:8px;margin-bottom:16px}
.sheet-h h2{flex:1;font-size:1.55rem;text-align:center;padding-left:40px}
.pick{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:16px}
.pk{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 6px 12px;border:1.5px solid var(--line);border-radius:20px;background:var(--bg);cursor:pointer;font-size:.8rem;line-height:1.25;text-align:center;min-width:0;overflow-wrap:anywhere}
.pk:hover{border-color:var(--muted)}
.pk .ini{width:50px;height:50px;font-size:1.25rem}
.pk[aria-checked="true"]{border-color:var(--accent);background:var(--accent-soft);font-weight:600}
.pk .tick{position:absolute;top:8px;right:8px;width:20px;height:20px;border-radius:50%;background:var(--accent);color:var(--accent-ink);display:none;place-items:center}
.pk[aria-checked="true"] .tick{display:grid}
.free{width:100%;border:1.5px solid var(--line);background:var(--bg);border-radius:18px;padding:16px 18px;font:400 1.15rem/1.3 var(--serif);margin-bottom:16px}
.free:focus{border-color:var(--accent);outline:none}
.sheet .notice{margin:-6px 0 12px}

/* ---------- result ---------- */
.result{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:32px 16px}
.result .eye{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:.82rem;margin-bottom:18px}
.result .eye .mk{width:16px;height:16px}
.ring{position:relative;width:168px;height:168px}
.ring svg{width:100%;height:100%;display:block;transform:rotate(-90deg)}
.ring .track{fill:none;stroke:var(--line);stroke-width:8}
.ring .arc{fill:none;stroke:var(--accent);stroke-width:8;stroke-linecap:round;stroke-dasharray:339.3;animation:draw 1s cubic-bezier(.3,.7,.2,1)}
.ring .num{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;font:600 3.2rem/1 var(--serif)}
.ring .num small{font:400 .78rem/1 var(--sans);color:var(--muted);margin-top:6px}
.verdict{font-size:clamp(2rem,9vw,2.6rem);margin:22px 0 10px}
.why{font-family:var(--serif);font-size:1.05rem;color:var(--muted);max-width:30ch;margin:0 auto 6px}
.readas{font-size:.86rem;color:var(--muted);max-width:32ch;margin:4px auto 6px;overflow-wrap:anywhere}
.readas b{color:var(--ink);font-weight:600}
.stat{font-size:.8rem;color:var(--muted);margin-bottom:22px}
.stack{display:flex;flex-direction:column;gap:10px;width:100%;max-width:320px}
.reveal{width:100%;max-width:340px;text-align:left;background:var(--surface);border:1px dashed var(--bad);border-radius:16px;padding:10px 14px;margin:20px 0 0;font-size:.84rem}
.reveal summary{cursor:pointer}
.reveal summary .demo-badge{margin-left:4px}
.reveal dl{display:grid;grid-template-columns:auto 1fr;gap:3px 10px;margin:10px 0 0}
.reveal dt{color:var(--muted)}
.reveal dd{margin:0;overflow-wrap:anywhere}
.reveal .small{font-size:.78rem;color:var(--muted);margin-top:6px}

/* motion */
@keyframes fade{from{opacity:0}}
@keyframes pop{from{opacity:0;transform:scale(.94)}}
@keyframes up{from{transform:translateY(100%)}}
@keyframes rise{from{opacity:0;transform:translateY(6px)}}
@keyframes slideup{from{opacity:0;transform:translateY(24px)}}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes blink{0%,60%,100%{opacity:.3}30%{opacity:1}}
@keyframes draw{from{stroke-dashoffset:339.3}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

/* persistent feedback tab: a small icon float on the right edge, always available past the start screen */
.fb-tab{position:fixed;right:0;top:112px;z-index:15;display:flex;align-items:center;gap:6px;width:40px;height:34px;padding:0 6px 0 8px;border:1px solid var(--line);border-right:0;border-radius:999px 0 0 999px;background:var(--surface);color:var(--muted);box-shadow:var(--shadow);cursor:pointer;opacity:.85}
.fb-tab span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.fb-tab svg{width:18px;height:18px;color:var(--accent);flex:none}
.fb-tab:hover,.fb-tab:focus-visible{opacity:1;color:var(--ink)}
@media (min-width:640px){.fb-tab{width:auto;padding:0 12px 0 10px}.fb-tab span{position:static;width:auto;height:auto;clip:auto;font-size:.78rem}}

/* ---------- Level 4 (21 Oct): locked card, work-in-progress tile, GPU wake card, unlock note, email sign-up ---------- */
.lcard.locked{cursor:default;opacity:.72;box-shadow:none;border-style:dashed}
.lcard.locked:hover{border-color:var(--line);transform:none}
.lc-blurb{font-size:.84rem;color:var(--muted);line-height:1.4;margin:2px 0 4px}
.soon.wip{grid-column:span 2;text-align:left;padding:12px 14px;border-style:solid;border-color:var(--accent-soft);background:var(--surface)}
.soon.wip b{opacity:.85}
.soon.wip span{display:block;margin-top:4px}
.sys.wake p{font-size:.92rem;line-height:1.45}
.sys.wake progress{display:block;width:100%;height:6px;margin-top:10px;accent-color:var(--accent)}
.sys.wake.is-ready{background:var(--accent-soft)}
.sys.wake.is-budget{background:var(--bad-soft);color:var(--bad)}
.sys.wake .link{padding:8px 0 0}
.sys.slow{font-size:.84rem;color:var(--muted);margin-top:4px}
.unlocked{display:flex;align-items:flex-start;gap:8px;max-width:34ch;margin:0 auto 18px;padding:10px 14px;border-radius:14px;background:var(--accent-soft);font-size:.86rem;text-align:left}
.unlocked .mk{width:18px;height:18px}
.signup{width:100%;max-width:320px;margin-top:22px;padding:16px;border:1px solid var(--line);border-radius:18px;background:var(--surface);text-align:left}
.signup h2{font-size:1.05rem;margin-bottom:10px}
.signup input[type=email],.unsub-page input[type=email]{width:100%;min-height:46px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:var(--bg);color:var(--ink);font:inherit}
.signup .check{border-top:0;padding-top:0;font-weight:400;font-size:.88rem;align-items:flex-start}
.signup .fine{margin:10px 0 12px}
.signup.done p{font-size:.88rem;color:var(--muted);margin-top:4px}
.signup .unsub{overflow-wrap:anywhere}
.signup .unsub a{color:var(--accent)}
.unsub-page{padding:16px}
.unsub-page [hidden]{display:none!important}
.unsub-page .card{max-width:420px;margin:40px auto;padding:24px;background:var(--surface);border:1px solid var(--line);border-radius:20px}
.unsub-page h1{font-size:1.4rem;margin-bottom:10px}
.unsub-page p{color:var(--muted);font-size:.92rem;margin-bottom:12px}
.unsub-page input[type=email]{margin-bottom:12px}
