/* Sign-in, account and privacy pages. Same look as the app: dark by default (light when the app is set to light),
   navy band, pill buttons, red accent. The sign-in page has its own landing look below (.lp). */
/* The brand fonts, served by this server (no Google Fonts), so they also work with no signal: Big Shoulders Display
   and Figtree, and Yellowtail, the script on his name patch. All SIL Open Font License. Latin and latin-ext only. */
@font-face{font-family:"Yellowtail";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/yellowtail-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Yellowtail";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/yellowtail-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Big Shoulders Display";font-style:normal;font-weight:800 900;font-display:swap;src:url(/assets/fonts/big-shoulders-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Big Shoulders Display";font-style:normal;font-weight:800 900;font-display:swap;src:url(/assets/fonts/big-shoulders-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Figtree";font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/figtree-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Figtree";font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/figtree-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
:root{
  --bg:#0b1022; --surface:#151b31; --surface-2:#1c2440; --ink:#eef1f8; --muted:#97a0ba; --line:#262f4d;
  --band:#0e1530; --band-2:#1b2550; --band-muted:#8f99b8; --accent:#ff4752; --good:#35c274; --bad:#ff4752;
  --shadow:0 1px 2px rgba(0,0,0,.3),0 10px 28px -14px rgba(0,0,0,.7);
  --f-brand:"Big Shoulders Display","Arial Narrow",Impact,sans-serif;
  --f-ui:"Figtree",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --ease:cubic-bezier(.2,.8,.2,1);
  color-scheme:dark;
}
[data-theme="light"]{
  --bg:#eef1f6; --surface:#ffffff; --surface-2:#f3f5f9; --ink:#121a33; --muted:#6b7389; --line:#e2e6ee;
  --band:#101a3a; --band-2:#1a2650; --band-muted:#a9b2cc; --accent:#e0303a; --good:#22a45d; --bad:#e0303a;
  --shadow:0 1px 2px rgba(16,26,58,.06),0 8px 24px -12px rgba(16,26,58,.18); color-scheme:light}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.45 var(--f-ui);min-height:100vh;
  padding:env(safe-area-inset-top,0px) 0 calc(32px + env(safe-area-inset-bottom,0px))}
a{color:inherit}
button,input,textarea{font:inherit;color:inherit}
:focus-visible{outline:3px solid #2f6fe4;outline-offset:2px;border-radius:8px}
.band{background:var(--band);color:#fff;padding:18px max(16px,env(safe-area-inset-right,0px)) 70px max(16px,env(safe-area-inset-left,0px));position:relative;overflow:hidden}
.band::after{content:"";position:absolute;right:-60px;top:-40px;width:260px;height:260px;border-radius:50%;border:34px solid var(--band-2);opacity:.55;pointer-events:none}
.band-in{max-width:480px;margin:0 auto;position:relative;z-index:1;display:flex;flex-direction:column;gap:12px}
.brand{display:inline-flex;align-items:center;gap:10px;font-family:var(--f-brand);font-weight:900;font-size:1.5rem;text-transform:uppercase;text-decoration:none;color:#fff;line-height:1}
.brand svg{width:34px;height:34px}
/* the band like the app's (Nov 8): a small spaced-out kicker with a red dot, the title in the brand's bold condensed caps */
.band-title{display:flex;flex-direction:column;gap:6px}
.band h1{margin:0;font-family:var(--f-brand);font-weight:900;font-size:2.15rem;line-height:.92;letter-spacing:.01em;text-transform:uppercase;overflow-wrap:anywhere}
.band .kick{display:flex;align-items:center;gap:7px;margin:0;color:var(--band-muted);font-size:.68rem;font-weight:800;line-height:1.2;letter-spacing:.16em;text-transform:uppercase}
.band .kick::before{content:"";flex:none;width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 8px rgba(255,71,82,.7)}
.band .sub{margin:2px 0 0;color:var(--band-muted);font-weight:600;font-size:.92rem}
main{max-width:480px;margin:-48px auto 0;padding:0 max(16px,env(safe-area-inset-right,0px)) 0 max(16px,env(safe-area-inset-left,0px));position:relative;z-index:2;display:flex;flex-direction:column;gap:14px}
.card{background:var(--surface);border-radius:18px;box-shadow:var(--shadow);padding:18px;display:flex;flex-direction:column;gap:12px}
/* card titles in the brand's caps, a size down from the band, like every card in the app */
.card h2{margin:0;font-family:var(--f-brand);font-weight:900;font-size:1.35rem;line-height:1;letter-spacing:.02em;text-transform:uppercase}
/* the one main card at the top of the page, in the app's deep navy glow (light theme too) */
.card.main-card{--ink:#eef1f8;--muted:#a3acc6;--line:rgba(255,255,255,.12);--surface-2:rgba(255,255,255,.08);color:var(--ink);background:radial-gradient(120% 70% at 0% 0%,#24306a 0%,#141d42 55%,#0e1533 100%);box-shadow:0 18px 40px -18px rgba(9,14,40,.7),inset 0 0 0 1px rgba(255,255,255,.06)}
.card.main-card .btn{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.16);color:#fff}
.card.main-card .btn.primary{background:var(--accent);border-color:var(--accent)}
.card.main-card input{color:#fff}
.card.main-card .status{color:var(--muted)} .card.main-card .status.ok{color:#5fe39a} .card.main-card .status.err{color:#ff8a92}
label{display:flex;flex-direction:column;gap:6px;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:var(--muted)}
label small{text-transform:none;letter-spacing:0;font-weight:500}
input{height:48px;border-radius:12px;border:1.5px solid transparent;background:var(--surface-2);padding:0 14px;font-size:1.02rem;font-weight:600;text-transform:none;letter-spacing:0;color:var(--ink);width:100%;min-width:0}
input:focus{border-color:var(--accent);outline:none}
.pw{position:relative}
.pw input{padding-right:64px}
.pw input::-ms-reveal{display:none}
/* (Show: a real tap target, 40 px tall, Nov 8) */
.pw button{position:absolute;right:4px;top:50%;transform:translateY(-50%);border:none;background:none;color:var(--muted);font-weight:700;font-size:.85rem;min-height:40px;min-width:50px;padding:8px 10px;border-radius:10px;text-transform:none;letter-spacing:0;cursor:pointer}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:12px 20px;border-radius:999px;border:1.5px solid var(--line);background:var(--surface);font-weight:800;text-decoration:none;cursor:pointer;transition:transform .12s var(--ease)}
.btn:active{transform:scale(.98)}
.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}
.btn.dark{background:var(--band);border-color:var(--band);color:#fff}
.btn.small{min-height:40px;padding:7px 14px;font-size:.9rem}
.btn.danger{color:var(--bad)}
.btn.full{width:100%}
.btn[disabled]{opacity:.55}
.row{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.row.end{justify-content:flex-end}
.sec-title{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.muted{color:var(--muted)} .small{font-size:.86rem}
p{margin:0}
.status{min-height:1.2em;font-size:.9rem;font-weight:600;color:var(--muted)}
.status.ok{color:var(--good)} .status.err{color:var(--bad)}
.meter{height:6px;border-radius:999px;background:var(--surface-2);overflow:hidden;margin-top:-4px}
.meter i{display:block;height:100%;width:0;transition:width .2s}
.list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.item{padding:12px 0;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:10px}
.item:first-child{border-top:none;padding-top:0}
.pill{font-size:.7rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;background:var(--band);color:#fff;border-radius:6px;padding:2px 7px;vertical-align:2px}
.pill.grey,.pill.off{background:var(--surface-2);color:var(--muted)}
.copy{display:flex;gap:8px} .copy input{font-size:.85rem;font-weight:500}
.foot{text-align:center;font-size:.85rem;color:var(--muted)}
.foot a{color:var(--muted);display:inline-block;padding:10px 12px;margin:-10px -12px}   /* (a tap-sized link, Nov 8) */
.shake{animation:shake .4s}
@keyframes shake{20%,60%{transform:translateX(-6px)}40%,80%{transform:translateX(6px)}}
/* Face ID sign-in */
.bio-ic{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
#bioBox{display:flex;flex-direction:column;gap:8px}
#bioBtn{border-color:#2a3666}
#bioStatus:empty{display:none}
.or{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:.8rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;margin-top:2px}
.or::before,.or::after{content:"";flex:1;height:1px;background:var(--line)}
.prose h2{margin-top:6px}
.prose ul{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px}
@media (prefers-reduced-motion: reduce){*{animation:none!important;transition:none!important}}
.ver{text-align:center;margin:4px 0 0;font-size:.72rem;font-weight:600;color:var(--muted);opacity:.7}

/* ---------- the sign-in page: the first thing a friend sees ----------
   Like the app's welcome: a navy sunburst, the coach (the app's own, coach.js) on a gold ring, big condensed caps.
   Always dark, whatever the app is set to: it's the brand's front door. With a card showing (body.lp-card) the coach
   shrinks and stands just behind the card's top edge, so the card covers his feet. */
.lp{--bg:#0b1022;--surface:#151b31;--surface-2:#1c2440;--ink:#eef1f8;--muted:#97a0ba;--line:#262f4d;--accent:#ff4752;--good:#35c274;--bad:#ff6b73;color-scheme:dark;background:var(--bg);color:var(--ink);overflow-x:hidden}
.lp-bg{position:fixed;inset:0;pointer-events:none;z-index:0;overflow:hidden}
.lp-rays,.lp-glow{position:absolute;left:50%;top:27%;transform:translate(-50%,-50%);transition:top .45s var(--ease)}
/* (the rays fade out with a navy gradient over them, not a mask: an iPhone redrew a masked layer offscreen every frame,
   and this one turns slowly all the time; also just as big as the part you see, not 170vmax, v1.67.4) */
.lp-rays{width:101vmax;height:101vmax;opacity:.5;background:radial-gradient(circle closest-side,rgba(11,16,34,0),var(--bg)),repeating-conic-gradient(from 0deg,rgba(255,255,255,.06) 0 6deg,transparent 6deg 14deg);animation:lpSpin 60s linear infinite}
.lp-glow{width:380px;height:380px;border-radius:50%;background:radial-gradient(circle,rgba(255,71,82,.42),transparent 65%);animation:lpPulse 3.2s ease-in-out infinite}
.lp-card .lp-rays,.lp-card .lp-glow{top:16%}
@keyframes lpSpin{to{transform:translate(-50%,-50%) rotate(360deg)}}
@keyframes lpPulse{50%{opacity:.72;transform:translate(-50%,-50%) scale(1.08)}}
.lp-top{position:relative;z-index:2;max-width:440px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;padding:calc(14px + env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) 0 max(16px,env(safe-area-inset-left,0px))}
.lp-logo{display:flex;align-items:center;gap:10px;color:#fff}
.lp-mark{width:44px;height:44px;border-radius:50%;box-shadow:0 0 0 3px rgba(255,255,255,.12),0 0 22px rgba(255,71,82,.55)}
.lp-mark svg{width:100%;height:100%;display:block}
.lp-word{font-family:var(--f-brand);font-weight:900;font-size:1.3rem;line-height:.86;text-transform:uppercase;letter-spacing:.02em}
.lp-tag{font-size:.68rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#fff;background:#1b2550;border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:6px 11px}
.lp-main{position:relative;z-index:1;max-width:440px;margin:0 auto;padding:0 max(16px,env(safe-area-inset-right,0px)) 0 max(16px,env(safe-area-inset-left,0px));display:flex;flex-direction:column;gap:14px}
/* (will-change: he's redrawn about 30 times a second, so he gets a layer of his own; without it every frame repainted
   the office painting and the page around him too. Never move him with a transform: a layer moved by a fraction of a
   pixel comes out blurry, see .lp-office .lp-coach) */
.lp-coach{position:relative;z-index:3;width:min(56vw,230px);aspect-ratio:120/100;margin:4px auto -4px;transition:width .45s var(--ease),margin .45s var(--ease);will-change:transform}
.lp-coach svg{position:relative;width:100%;height:100%;display:block;overflow:visible}
.lp-ring{position:absolute;left:50%;bottom:2%;width:78%;height:14%;transform:translateX(-50%);border-radius:50%;border:2px solid rgba(255,214,90,.45);box-shadow:0 0 18px rgba(255,214,90,.35);transition:opacity .3s}
.lp-card .lp-coach{width:min(40vw,156px);margin:0 auto -34px}
.lp-card .lp-ring{opacity:0}
/* an invite: who it's from and the account form on one screen; the coach a size smaller, standing over the headline */
.lp-join{display:flex;flex-direction:column;gap:16px;animation:lpIn .5s var(--ease) both}
.lp-join .lp-intro{gap:8px;animation:none}
.lp-join .card{animation:none}
/* (Nov 6, Elvis: smaller, and just "Welcome to Bald Coach") the brand's bold condensed caps, one line, a size down */
.lp-join .lp-h{font-size:clamp(1.7rem,7.6vw,2.1rem);line-height:1}
.lp-join .lp-form{gap:12px}
.lp-join .lp-alt{text-align:center}
.lp-invite .lp-coach{width:min(40vw,158px);margin:0 2% -8px auto}
.lp-invite .lp-rays,.lp-invite .lp-glow{top:19%}
.lp-intro{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;animation:lpIn .5s var(--ease) both}
.lp .card{animation:lpIn .45s var(--ease) both}
@keyframes lpIn{from{opacity:0;transform:translateY(14px)}}
.lp-kick{font-size:.74rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#ffd45c}
.lp-h{margin:0;font-family:var(--f-brand);font-weight:900;font-size:clamp(2.5rem,12vw,3.5rem);line-height:.9;text-transform:uppercase;letter-spacing:.01em;color:#fff;text-shadow:0 4px 0 rgba(0,0,0,.25);overflow-wrap:anywhere}
.lp-h em{font-style:normal;background:linear-gradient(180deg,#fff2a8,#ffb400 60%,#ff7a2a);-webkit-background-clip:text;background-clip:text;color:transparent}
.lp-sub{max-width:340px;line-height:1.45;font-weight:600;color:rgba(255,255,255,.75)}
.lp-go{min-height:56px;font-size:1.08rem;box-shadow:0 14px 30px -12px rgba(255,71,82,.75)}
.lp .btn.primary{background:linear-gradient(180deg,#ff5a63,#e8323d);border-color:transparent}
.chev{width:20px;height:20px;margin-right:-4px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.lp-ghost{min-height:54px;background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.16);color:#fff}
.lp-alt{font-size:.9rem;color:rgba(255,255,255,.66);font-weight:600}
.lnk{all:unset;cursor:pointer;color:#fff;font-weight:800;text-decoration:underline;text-underline-offset:3px;padding:10px 6px;margin:-10px -6px}   /* (the padding makes it tap-sized without moving the line, Nov 8) */
.lnk:focus-visible{outline:3px solid #2f6fe4;outline-offset:2px;border-radius:4px}
.lp .card{position:relative;z-index:4;background:var(--surface);border-radius:24px;padding:22px 18px;gap:12px;box-shadow:0 0 0 1px rgba(255,255,255,.07),0 24px 50px -24px rgba(0,0,0,.85)}
.lp .card h2{font-size:1.6rem;line-height:1}
.lp-steps{display:flex;gap:6px}
.lp-steps:empty{display:none}
.lp-steps i{flex:1;height:5px;border-radius:999px;background:rgba(255,255,255,.12)}
.lp-steps i.on{background:linear-gradient(90deg,#ff4752,#ff8a3d)}
.lp-step{font-size:.7rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#ffd45c;margin-top:-2px}
.lp-form{display:flex;flex-direction:column;gap:14px}
.lp input{height:52px;border-radius:14px;background:var(--surface-2);border-color:rgba(255,255,255,.06)}
.lp input:focus{border-color:var(--accent)}
.lp .btn:not(.primary):not(.dark):not(.lp-ghost){background:var(--surface-2);border-color:rgba(255,255,255,.1);color:#fff}
.lp .btn.dark{background:#0e1530;border-color:#2a3666}
.lp .foot{margin-top:6px}
@media (max-height:700px){.lp-coach{width:min(44vw,180px)}.lp-h{font-size:clamp(2.2rem,10.5vw,3rem)}}
@media (prefers-reduced-motion: reduce){.lp-rays,.lp-glow,.lp-intro,.lp .card{animation:none}}
/* the coach's stage: him, and his speech bubble beside his head (the home strip's bubble, bigger here, with longer
   beats so a few lines show at once). On an invite he stands to the right, leaving the bubble room to the left. */
.lp-stage{position:relative;z-index:3;--say-max:210px;--say-beat:64}
.lp-stage .cs-say{font-size:.84rem;line-height:1.3;padding:6px 10px 7px;border-radius:14px}
.lp-stage .cs-dots{padding:6px 9px;gap:4px}
.lp-stage .cs-dots i{width:5px;height:5px}
/* the top features on an invite: a grid of six; the one he's talking about lights up in its color */
.lp-what{display:flex;flex-direction:column;gap:10px}
.lp-what-h{display:flex;justify-content:space-between;align-items:baseline;font-size:.74rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.62)}
.lp-what-h span{letter-spacing:.02em;text-transform:none;font-weight:700;color:rgba(255,255,255,.42)}
.lp-feats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.lp-feat{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:96px;padding:14px 6px 12px;border-radius:18px;text-align:center;background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);transition:transform .25s var(--ease),background .25s,box-shadow .25s}
.lp-feat b{font-size:.8rem;font-weight:800;line-height:1.15;color:#fff}
.lp-fi{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:var(--c);color:#fff;box-shadow:0 8px 18px -8px var(--c);transition:transform .25s var(--ease)}
.lp-fi svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.lp-feat.on{background:color-mix(in srgb,var(--c) 16%,transparent);box-shadow:inset 0 0 0 2px var(--c),0 12px 26px -14px var(--c);transform:translateY(-2px)}
.lp-feat.on .lp-fi{transform:scale(1.08)}
.lp-feat:active{transform:scale(.96)}
.lp-feat:focus-visible{outline:3px solid #2f6fe4;outline-offset:2px}
@media (prefers-reduced-motion: reduce){.lp-feat,.lp-fi{transition:none}}
/* the gym's office (Elvis's painting, public/scenes/office.webp; original in design/scenes-original/) on the invite and
   the QR screen: he stands on its floor by the desk, and his bubble opens over the window */
.lp-office .lp-stage{aspect-ratio:1188/504;margin:6px 0 0;border-radius:22px;background:#3b2d24 url(/assets/scenes/office.webp) center/cover no-repeat;box-shadow:0 0 0 1px rgba(255,255,255,.08),0 20px 40px -22px rgba(0,0,0,.9)}
/* (centred at 57% by left alone, 57% less half his 40%: a translateX(-50%) on his own layer put him between pixels,
   and a phone draws that blurry, v1.67.5) */
.lp-office .lp-coach{position:absolute;left:37%;bottom:3%;width:40%;margin:0}
.lp-office .lp-ring{display:none}
/* name your coach on the invite, kept compact: a retro mechanic's patch you type his name on (cream twill, a thick dark
   merrowed edge with its stitches, red script that shrinks to fit; tilted, straightens while you type), then a row of
   sample names as little patches and the dice. The counter sits in the heading. */
.lp-name{display:flex;flex-direction:column;align-items:center;gap:16px}
.lp-name .lp-what-h{align-self:stretch;margin-bottom:2px}
.lp-what-h #ntCount.full{color:#ffb4b9}
.np-patch{position:relative;display:block;width:min(calc(100% - 20px),270px);padding:2px 12px;border-radius:18px;cursor:text;
  background:repeating-linear-gradient(45deg,rgba(60,40,10,.035) 0 2px,transparent 2px 5px),#fbf7ee;
  box-shadow:0 0 0 8px #1a1d2b,0 18px 26px -12px rgba(0,0,0,.85);transform:rotate(-2.5deg);transition:transform .35s var(--ease)}
.np-patch::before{content:"";position:absolute;inset:-5px;border-radius:22px;border:2.5px dashed #5f6688;pointer-events:none}
.np-patch::after{content:"";position:absolute;inset:3px;border-radius:15px;box-shadow:inset 0 0 0 2px rgba(0,0,0,.06);pointer-events:none}
.np-patch:focus-within{transform:rotate(0) scale(1.02)}
.lp .np-patch input{all:unset;box-sizing:border-box;display:block;width:100%;height:54px;text-align:center;font-family:Yellowtail,"Snell Roundhand","Brush Script MT",cursive;font-size:38px;text-transform:none;letter-spacing:0;color:#d7232e;text-shadow:0 1.5px 0 #8e1420;caret-color:#1a1d2b}
.lp .np-patch input::placeholder{color:#d7232e;opacity:.28;text-shadow:none}
.np-patch.full{animation:npShake .32s}
@keyframes npShake{25%{transform:rotate(-1deg) translateX(-5px)}75%{transform:rotate(1deg) translateX(5px)}}
.np-picks{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px 8px;margin-top:4px}
.np-pick{all:unset;box-sizing:border-box;position:relative;cursor:pointer;padding:1px 10px 3px;border-radius:9px;background:#fbf7ee;color:#d7232e;font:1.05rem/1.2 Yellowtail,"Snell Roundhand","Brush Script MT",cursive;
  box-shadow:0 0 0 3px #1a1d2b;outline:1.5px dashed #5f6688;outline-offset:1px;transform:rotate(-2deg);transition:transform .15s}
.np-pick::before{content:"";position:absolute;inset:-8px -5px}   /* (the little patches' tap area, like the app's in intro.css) */
.np-pick:nth-child(even){transform:rotate(2deg)}
.np-pick:active{transform:scale(.94)}
.np-dice{all:unset;box-sizing:border-box;cursor:pointer;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--accent);box-shadow:0 8px 16px -8px var(--accent)}
.np-dice svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:2}
.np-dice svg circle{fill:#fff;stroke:none}
.np-dice.roll svg{animation:npRoll .5s cubic-bezier(.3,1.4,.5,1)}
@keyframes npRoll{from{transform:rotate(-200deg)}}
.np-pick:focus-visible,.np-dice:focus-visible{outline:3px solid #2f6fe4;outline-offset:3px}
@media (prefers-reduced-motion: reduce){.np-patch{transition:none}.np-patch.full,.np-dice.roll svg{animation:none}}