
/* Purrpedia, on the official brand kit (src/brand/): ink #100E0B on paper #FBF5E9,
   receipt red #CC090A only for citations, receipts and the Blind Spot Index tab.
   Georgia for titles and body; a system monospace face for source details.
   Logos and icons are the kit's own files, used as given. */
:root{--paw:url(/assets/mark-ink.d0a1f2ac87.svg);
  --pp-ink:#100E0B; --pp-paper:#FBF5E9; --pp-red:#CC090A;
  --pp-serif:Georgia, serif; --pp-mono:ui-monospace, SFMono-Regular, Menlo, Consolas, 'DejaVu Sans Mono', monospace;
  --ink:var(--pp-ink); --paper:var(--pp-paper); --red:var(--pp-red);
  --ink2:#3a342d; --dim:#665e53; --rule:#dccfb6; --tint:#f3e9d6; --lit:#f2dfb8;
  --serif:var(--pp-serif); --mono:var(--pp-mono);
  color-scheme:light;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:1rem}
body{margin:0;background:var(--paper);color:var(--ink);font:400 1.0625rem/1.65 var(--serif);text-rendering:optimizeLegibility}
@media (min-width:700px){body{font-size:1.125rem}}
img{max-width:100%;height:auto;display:block}
figure{margin:0}
cite{font-style:inherit}
a{color:var(--ink);text-decoration-thickness:1px;text-underline-offset:.18em}
a:visited{color:var(--ink2)}
a:hover{text-decoration-thickness:2px}
:focus-visible{outline:3px solid var(--red);outline-offset:2px;border-radius:2px}
.skip{position:absolute;left:-999px;top:0;background:var(--ink);color:var(--paper);padding:.6rem 1rem;z-index:100}
.skip:focus{left:.5rem;top:.5rem}
.wrap{max-width:1180px;margin:0 auto;padding:0 1.1rem}
button{font:inherit}

/* ---- masthead: the kit's primary wordmark on paper ---------------------------- */
.binding{background:var(--paper);border-bottom:1px solid var(--ink)}
.binding .wrap{display:flex;align-items:center;gap:.9rem;min-height:72px}
/* clear space = one ear's width (about 6px at this size); the mark is never under 160px wide */
.brand{display:flex;align-items:center;gap:.9rem;min-height:46px;padding:8px 6px;margin:0 auto 0 -6px;text-decoration:none;color:var(--ink)}
.brand img{width:174px;height:40px;flex:none}
.brand small{display:none;font:italic 400 1rem/1.2 var(--serif);color:var(--ink2);border-left:1px solid var(--rule);padding-left:.9rem}
@media (min-width:640px){.brand small{display:block}}
.gbtn{appearance:none;border:1px solid var(--ink);background:transparent;color:var(--ink);border-radius:3px;
  font:400 1rem/1 var(--serif);padding:.62rem .95rem;cursor:pointer;min-height:44px;text-decoration:none;display:inline-flex;align-items:center;gap:.45rem}
.gbtn:hover{background:var(--ink);color:var(--paper)}
.gbtn svg{width:16px;height:16px;fill:currentColor}

/* ---- home ----------------------------------------------------------------- */
.front{display:grid;gap:1.6rem;padding:2.2rem 0 1.4rem;align-items:center}
@media (min-width:900px){.front{grid-template-columns:1.05fr 1fr;gap:3rem;padding:3.4rem 0 2rem}}
.front h1{font:400 clamp(2.4rem,6.5vw,4.2rem)/1.04 var(--serif);margin:0 0 .5rem;letter-spacing:-.01em}
.front .kicker{margin:0 0 1rem}
.front .kicker img{width:46px;height:66px}
.front .motto{font:italic 400 clamp(1.35rem,3.4vw,1.8rem)/1.25 var(--serif);color:var(--ink);margin:0 0 1.1rem}
.front .premise{font-size:1.15rem;color:var(--ink2);max-width:34em;margin:0 0 1.2rem}
.plate-frame{border:1px solid var(--ink);padding:6px;background:#fff}
.plate-frame img{width:100%}
.front .plate-frame{max-width:520px;margin-left:auto}
figcaption{font:400 .78rem/1.45 var(--mono);color:var(--dim);margin-top:.45rem}
.volumes h2,.howto h2,.more h2{font:400 2rem/1.1 var(--serif);margin:0 0 .3rem}
.lede-rule{border:0;border-top:1px solid var(--ink);margin:2.2rem 0 1.4rem}
.cat-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--rule)}
.cat-list li{border-bottom:1px solid var(--rule)}
.entry{display:grid;grid-template-columns:112px 1fr;gap:1rem;padding:1.15rem 0;text-decoration:none;color:var(--ink)}
.entry:visited{color:var(--ink)}
@media (min-width:700px){.entry{grid-template-columns:220px 1fr;gap:1.6rem}}
.entry img{border:1px solid var(--ink);aspect-ratio:16/9;object-fit:cover;width:100%}
.entry .pl{font:400 .78rem/1 var(--mono);color:var(--dim);display:block;margin-bottom:.4rem}
.entry h3{font:400 1.45rem/1.15 var(--serif);margin:0 0 .3rem;color:var(--ink)}
@media (min-width:700px){.entry h3{font-size:1.8rem}}
.entry:hover h3{text-decoration:underline;text-underline-offset:.15em}
.entry p{margin:0 0 .4rem;color:var(--ink2);font-size:1rem}
.entry .facts{font:400 .78rem/1.5 var(--mono);color:var(--dim);display:flex;flex-wrap:wrap;gap:.2rem 1.1rem}
.cta-line{font:italic 400 1.35rem/1.3 var(--serif);color:var(--ink);margin:1.4rem 0 0;text-align:center}
.howto{padding:1rem 0 2.6rem}
.rules{display:grid;gap:1.4rem;margin-top:1rem}
@media (min-width:900px){.rules{grid-template-columns:repeat(3,1fr);gap:2.4rem}}
.rules h3{font:700 1.1rem/1.3 var(--serif);margin:0 0 .35rem;display:flex;gap:.5rem;align-items:baseline}
.rules h3 .n{font:700 .85rem/1 var(--serif);color:var(--red)}
.rules p{margin:0;color:var(--ink2);font-size:1rem}

/* ---- article -------------------------------------------------------------- */
.article-head{padding:2rem 0 1rem;border-bottom:1px solid var(--ink)}
.crumbs{font:400 .8rem/1.4 var(--mono);margin:0 0 .9rem;color:var(--dim)}
.crumbs a{color:var(--ink)}
.article-head h1{font:400 clamp(2.3rem,6.4vw,3.9rem)/1.04 var(--serif);margin:0 0 .55rem;letter-spacing:-.005em}
.short{font:italic 400 1.15rem/1.4 var(--serif);color:var(--ink2);margin:0 0 1rem}
.record{display:flex;flex-wrap:wrap;gap:.3rem 1.4rem;font:400 .8rem/1.45 var(--mono);color:var(--dim);margin:0 0 1rem;padding:0;list-style:none}
.record b{color:var(--ink);font-weight:700}
.head-grid{display:grid;gap:1.3rem}
@media (min-width:900px){.head-grid{grid-template-columns:1fr 430px;gap:2.4rem;align-items:end}}

/* Blind Spot Index: the kit's tab, with subject, date and source of the measurement */
.bsi{margin:0 0 1.1rem;max-width:34rem}
/* the kit's red tab, set in type: the kit's blind-spot-index.svg clips its own last letter ("Inde") */
.bsi .tab{display:inline-block;margin:0;background:var(--red);color:var(--paper);font:700 1.05rem/1 var(--serif);padding:.5rem 1.9rem .45rem .75rem;
  clip-path:polygon(0 0,calc(100% - 15px) 0,100% 15px,100% 100%,0 100%)}
.bsi dl{margin:0;border:1px solid var(--red);border-top-width:3px;padding:.55rem .75rem;font:400 .78rem/1.5 var(--mono);color:var(--ink);background:#fff}
.bsi dl div{display:flex;gap:.6rem}
.bsi dt{min-width:6.2rem;color:var(--dim)}
.bsi dd{margin:0}
.bsi a{color:var(--red)}

.listen{appearance:none;display:flex;align-items:center;gap:.85rem;width:100%;max-width:30rem;text-align:left;cursor:pointer;
  background:var(--ink);color:var(--paper);border:0;border-radius:4px;padding:.8rem 1rem}
.listen:hover{background:#000}
.listen .ico{width:44px;height:44px;border-radius:50%;background:var(--red);color:var(--paper);display:grid;place-items:center;flex:none}
.listen .ico svg{width:20px;height:20px;fill:currentColor;margin-left:3px}
.listen b{display:block;font:700 1.05rem/1.2 var(--serif)}
.listen small{display:block;font:400 .78rem/1.45 var(--mono);color:#e6dccb;margin-top:.2rem}
.listen[hidden]{display:none}

.reader{display:grid;gap:0;padding:1.6rem 0 2rem}
@media (min-width:1000px){.reader{grid-template-columns:230px minmax(0,1fr);gap:3rem}}
.contents{display:none}
@media (min-width:1000px){
  .contents{display:block;position:sticky;top:1rem;align-self:start;max-height:calc(100vh - 2rem);overflow:auto;padding:1.6rem 0 1rem;font:400 .92rem/1.35 var(--serif)}
  .contents h2{font:400 .75rem/1 var(--mono);color:var(--dim);margin:0 0 .7rem}
  .contents ol{list-style:none;margin:0;padding:0;border-left:1px solid var(--rule)}
  .contents li a{display:block;padding:.32rem 0 .32rem .85rem;color:var(--ink2);text-decoration:none;border-left:3px solid transparent;margin-left:-2px}
  .contents li.sub a{padding-left:1.6rem;font-size:.86rem;color:var(--dim)}
  .contents li a:hover{color:var(--ink);text-decoration:underline}
  .contents li a[aria-current]{border-left-color:var(--ink);color:var(--ink);font-weight:700}
}
.toc-mobile{margin:1.2rem 0 0;border:1px solid var(--rule);border-radius:3px;font:400 1rem/1.4 var(--serif);background:#fff}
.toc-mobile summary{padding:.7rem .9rem;cursor:pointer;font-weight:700}
.toc-mobile ol{margin:0;padding:0 .9rem .8rem 2.1rem}
.toc-mobile li{padding:.2rem 0}
@media (min-width:1000px){.toc-mobile{display:none}}

.prose{min-width:0;max-width:44rem}
.prose section{scroll-margin-top:1rem}
.prose h2{font:400 2rem/1.15 var(--serif);margin:0 0 .7rem;padding-top:.4rem;scroll-margin-top:1rem}
.prose h3{font:700 1.2rem/1.3 var(--serif);margin:1.8rem 0 .5rem;scroll-margin-top:1rem}
.prose p,.prose ul,.prose ol,.prose blockquote,.prose dl{margin:0 0 1.05rem}
.prose > section+section::before{content:"";display:block;width:23px;height:33px;margin:2.4rem auto 2rem;background:var(--paw) center/contain no-repeat;opacity:.9}
.prose blockquote{border-left:3px solid var(--ink);padding:.2rem 0 .2rem 1rem;color:var(--ink2)}
/* a numbered receipt: red, as the kit has it */
sup.reference{font:700 .72em/1 var(--serif);vertical-align:super;line-height:0;white-space:nowrap}
sup.reference a,sup.reference a:visited{color:var(--red);text-decoration:none;padding:0 .08em}
sup.reference a:hover{text-decoration:underline}
.now{background:var(--lit);box-shadow:0 0 0 .4rem var(--lit);border-radius:2px;transition:background .25s,box-shadow .25s}
li.now{box-shadow:0 0 0 .25rem var(--lit)}
@media (prefers-reduced-motion:reduce){.now{transition:none}html{scroll-behavior:auto}}

/* tables */
.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 0 1.3rem;border:1px solid var(--rule);max-width:100%;background:#fff}
.wikitable{border-collapse:collapse;font:400 .9rem/1.35 var(--serif);min-width:100%}
.wikitable th,.wikitable td{border:1px solid var(--rule);padding:.35rem .55rem;text-align:left;vertical-align:top}
.wikitable th{background:var(--tint);font-weight:700;position:sticky;top:0}
.wikitable td:not(:first-child){white-space:nowrap}

/* sources: every claim carries its receipt */
.apparatus{margin-top:2.4rem;border-top:3px double var(--ink);padding-top:1.4rem}
.apparatus h2{font:400 1.6rem/1.2 var(--serif);margin:1.4rem 0 .6rem}
.src-note{font:italic 400 1rem/1.45 var(--serif);color:var(--ink2);margin:0 0 .9rem}
.apparatus ol.references{font:400 .8rem/1.55 var(--mono);padding-left:2.4rem}
.apparatus ol.references li{margin:0 0 .95rem;padding-left:.2rem}
.apparatus ol.references li::marker{color:var(--red);font-weight:700}
.apparatus ol.references li:target{background:var(--lit)}
.src-who{font-weight:700}
.src-date,.src-loc{color:var(--dim)}
.references a,.references a:visited{color:var(--red)}
.src-quote{display:block;margin:.35rem 0 0;padding-left:.75rem;border-left:2px solid var(--red);color:var(--ink2)}
.transcript{margin-top:2rem;border:1px solid var(--rule);border-radius:3px;background:#fff}
.transcript summary{padding:.8rem 1rem;cursor:pointer;font:700 1rem/1.3 var(--serif)}
.transcript .tx{padding:0 1rem 1rem;font-size:.97rem}
.transcript h3{font:700 1rem/1.3 var(--serif);margin:1.2rem 0 .4rem}
.transcript p{margin:0 0 .5rem}
.more{border-top:1px solid var(--ink);padding:1.6rem 0 2.4rem;margin-top:2.4rem}

/* cite popover: the receipt without leaving the sentence */
.cite-pop{position:fixed;left:50%;bottom:1rem;transform:translateX(-50%);width:min(36rem,calc(100vw - 1.5rem));z-index:70;
  background:#fff;border:1px solid var(--ink);border-top:3px solid var(--red);box-shadow:0 10px 30px rgba(16,14,11,.2);padding:.9rem 1rem 1rem;font:400 .82rem/1.55 var(--mono)}
.cite-pop[hidden]{display:none}
.cite-pop .cp-head{display:flex;justify-content:space-between;align-items:center;font:700 .8rem/1 var(--mono);color:var(--red);margin-bottom:.5rem}
.cite-pop a{color:var(--red)}
.cite-pop button{appearance:none;border:1px solid var(--ink);background:#fff;color:var(--ink);border-radius:3px;padding:.35rem .6rem;cursor:pointer;font:400 .85rem/1 var(--serif);min-height:34px}
.cite-pop .cp-go{display:inline-block;margin-top:.6rem;font:400 .9rem/1 var(--serif);color:var(--ink)}
.cite-pop .src-quote{margin-top:.45rem}

/* ---- footer: the reverse wordmark on ink ------------------------------------- */
.colophon{background:var(--ink);color:#e9dfcd;padding:2rem 0 7rem;font:400 1rem/1.6 var(--serif)}
.colophon .rev{width:174px;height:40px;margin:0 0 1rem}
.colophon a,.colophon a:visited{color:var(--paper)}
.colophon p{margin:0 0 .5rem}
.colophon .sig{font:italic 400 1.2rem/1.3 var(--serif);color:var(--paper)}
.colophon .fbtn{appearance:none;background:none;border:0;color:var(--paper);text-decoration:underline;cursor:pointer;padding:0;font:inherit}
.colophon .fbtn[hidden]{display:none}
.colophon .addr{font:400 .8rem/1.5 var(--mono);color:#cbbfa9}

/* ---- share sheet (house pattern: one sheet, one tap; nothing posts on its own) */
.sheet{border:1px solid var(--ink);border-radius:4px;padding:0;width:min(30rem,calc(100vw - 1.5rem));max-height:calc(100vh - 2rem);background:var(--paper);color:var(--ink)}
.sheet::backdrop{background:rgba(16,14,11,.55)}
.sheet-in{padding:1rem 1.1rem 1.2rem}
.sheet-bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:.6rem}
.sheet-bar h2{font:400 1.5rem/1 var(--serif);margin:0}
.sheet img{border:1px solid var(--rule);margin:.4rem 0 .7rem}
.sh-post{margin:0 0 .8rem;font-size:.98rem;color:var(--ink2)}
.sh-acts{display:flex;flex-wrap:wrap;gap:.5rem}
.sh-btn{appearance:none;border:1px solid var(--ink);background:#fff;color:var(--ink);border-radius:3px;padding:.55rem .8rem;min-height:44px;
  font:400 .95rem/1.1 var(--serif);text-decoration:none;cursor:pointer;display:inline-flex;align-items:center}
.sh-btn:visited{color:var(--ink)}
.sh-btn:hover,.sh-btn.primary{background:var(--ink);color:var(--paper)}

/* ---- player theme (namespace --np-*) -------------------------------------- */
#narrator.np{--np-bg:#100E0B;--np-panel:#221d17;--np-ink:#FBF5E9;--np-dim:#e6dccb;--np-faint:#bdb19c;--np-rule:#4a4136;--np-accent:#FBF5E9;
  font-family:var(--serif)}
#narrator .np-fill,#narrator .np-mini-progress span{background:var(--pp-red)}
.np-speaker{display:none}

/* Narration player — rebuilt 12 Oct 2026. See narrator.js for why.
   Class prefix .np-* so nothing collides with the older .narr-* / .narrator-*
   rules still inlined on other properties. Palette is set below and overridden
   per property with --np-*. */

/* Own namespace, NO fallback to the page's generic names. The first cut read
   --ink / --accent / --bg, and this page defines --ink:#1B2430 for a light
   background — so the player rendered dark-green icons on a dark-green bar and
   every control except play was invisible. A property themes it by setting
   --np-* and nothing else can reach in. */
.np{
  --np-bg:     #1e2a2e;
  --np-panel:  #2a383d;
  --np-ink:    #efe6d2;
  --np-dim:    #ddd3bd;
  --np-faint:  #bfb59f;
  --np-rule:   #46555a;
  --np-accent: #e8a49f;
  position:fixed; left:0; right:0; bottom:0; z-index:60;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color:var(--np-ink);
}
.np[hidden]{display:none}
.np svg{width:100%;height:100%;fill:currentColor;display:block}

/* ---- collapsed pill ------------------------------------------------------ */
.np-pill{
  position:absolute; right:16px; bottom:16px;
  display:flex; align-items:center; gap:10px;
  background:var(--np-bg); color:var(--np-ink);
  border:1px solid var(--np-rule); border-radius:999px;
  padding:11px 18px 11px 14px; min-height:46px;
  font-size:12px; font-weight:650; letter-spacing:.2px;
  box-shadow:0 6px 24px rgba(0,0,0,.22); cursor:pointer;
}
.np-pill:hover{border-color:var(--np-accent)}
.np-pill-ico{width:15px;height:15px;color:var(--np-accent);flex:none}
.np-pill-meta{color:var(--np-faint);font-weight:400}
.np[data-state=open] .np-pill{display:none}

/* ---- sheet --------------------------------------------------------------- */
.np-sheet{display:none;background:var(--np-bg);border-top:1px solid var(--np-rule);
  box-shadow:0 -8px 30px rgba(0,0,0,.2)}
.np[data-state=open] .np-sheet{display:block}

/* ---- compact row ---------------------------------------------------------
   The default while audio is playing. The full panel is 230px on a phone —
   27% of the screen, 67% with the chapter list open — which is not something
   you can read a page underneath. This is 56px. It collapses 4s after
   playback starts, immediately when the reader scrolls, and expands again on
   any touch or on pause. */
.np-mini{display:none;align-items:center;gap:10px;padding:0 6px 0 10px;height:56px;position:relative}
.np[data-size=compact] .np-mini{display:flex}
.np[data-size=compact] .np-scrub,
.np[data-size=compact] .np-now,
.np[data-size=compact] .np-bar{display:none}
.np-mini-progress{position:absolute;top:0;left:0;right:0;height:3px;background:var(--np-rule)}
.np-mini-progress span{display:block;height:100%;width:0;background:var(--np-accent)}
.np-mini-play{background:var(--np-accent);color:var(--np-bg);border:0;border-radius:50%;
  min-width:40px;min-height:40px;flex:none;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.np-mini-play svg{width:17px;height:17px}
.np-mini-open{flex:1 1 auto;min-width:0;background:transparent;border:0;color:var(--np-ink);
  cursor:pointer;text-align:left;display:flex;flex-direction:column;gap:2px;padding:4px 0;min-height:44px;justify-content:center}
.np-mini-title{font-size:12.5px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.np-mini-clock{font-size:11px;color:var(--np-faint);font-variant-numeric:tabular-nums}
.np-mini-follow,.np-mini-x{min-width:40px;min-height:40px;flex:none;padding:0}
.np-mini-follow svg{width:17px;height:17px}
.np-mini-x svg{width:14px;height:14px}

/* ---- scrubber ------------------------------------------------------------
   The whole 44px block is the pointer target; the rail inside it is only the
   visual. The previous player exposed a 6px click-only bar, which on a phone
   is not a control. */
.np-scrub{position:relative;height:44px;display:flex;align-items:center;
  padding:0 18px;cursor:pointer;touch-action:none}
.np-scrub:focus-visible{outline:2px solid var(--np-accent);outline-offset:-4px}
.np-rail{position:relative;width:100%;height:6px;background:var(--np-rule);border-radius:3px}
.np-buffer{position:absolute;inset:0 auto 0 0;width:0;background:var(--np-faint);opacity:.35;border-radius:3px}
.np-fill{position:absolute;inset:0 auto 0 0;width:0;background:var(--np-accent);border-radius:3px}
.np-ticks{position:absolute;inset:0;pointer-events:none}
.np-ticks i{position:absolute;top:-2px;width:2px;height:10px;background:var(--np-bg);opacity:.85}
.np-thumb{position:absolute;top:50%;left:0;width:14px;height:14px;margin:-7px 0 0 -7px;
  background:var(--np-accent);border-radius:50%;pointer-events:none;
  box-shadow:0 0 0 3px var(--np-bg); transition:transform .12s ease}
.np-scrub.dragging .np-thumb,.np-scrub:hover .np-thumb{transform:scale(1.35)}
.np-bubble{position:absolute;bottom:38px;transform:translateX(-50%);
  background:var(--np-panel);border:1px solid var(--np-accent);border-radius:6px;
  padding:7px 11px;white-space:nowrap;pointer-events:none;max-width:70vw;overflow:hidden;text-overflow:ellipsis}
.np-bubble b{font-size:14px;font-variant-numeric:tabular-nums}
.np-bubble span{display:block;font-size:10px;color:var(--np-dim);margin-top:2px}

/* ---- now playing --------------------------------------------------------- */
.np-now{padding:2px 18px 10px}
.np-title{font-size:13px;font-weight:700;letter-spacing:-.2px}
.np-line{font-size:12px;color:var(--np-dim);margin-top:4px;line-height:1.5;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.np-speaker{color:var(--np-accent);font-weight:700;margin-right:8px;text-transform:uppercase;font-size:10px;letter-spacing:1px}

/* ---- control bar --------------------------------------------------------- */
.np-bar{display:flex;align-items:center;gap:6px;padding:0 14px 14px;flex-wrap:wrap}
.np-btn,.np-play{background:transparent;border:1px solid transparent;color:var(--np-ink);
  display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;
  min-width:44px;min-height:44px;padding:0 8px;border-radius:8px}
.np-btn svg{width:20px;height:20px}
.np-btn:hover{background:var(--np-panel)}
.np-play{background:var(--np-accent);color:var(--np-bg);border-radius:50%;
  min-width:52px;min-height:52px;flex:none}
.np-play svg{width:22px;height:22px}
.np-play:hover{filter:brightness(1.08)}
.np-clock{font-size:12px;font-variant-numeric:tabular-nums;color:var(--np-dim);
  margin-left:8px;display:inline-flex;gap:5px;align-items:baseline}
.np-clock b{color:var(--np-ink);font-weight:650}
.np-clock i{opacity:.5;font-style:normal}
.np-spacer{flex:1 1 auto}
.np-wide{padding:0 13px;font-size:11px;font-weight:650;border-color:var(--np-rule)}
.np-wide svg{width:16px;height:16px}
.np-rate{font-size:12px;font-weight:700;border-color:var(--np-rule);font-variant-numeric:tabular-nums}
.np-follow[data-on="1"]{border-color:var(--np-accent);color:var(--np-accent)}
.np-follow[data-on="0"]{opacity:.6}

/* ---- chapter list -------------------------------------------------------- */
.np-chapters{border-bottom:1px solid var(--np-rule);max-height:min(46vh,340px);
  overflow:auto;background:var(--np-panel)}
.np-chapters-head{display:flex;align-items:center;justify-content:space-between;
  padding:12px 10px 10px 18px;font-size:10px;letter-spacing:1.6px;text-transform:uppercase;
  font-weight:750;color:var(--np-faint);position:sticky;top:0;background:var(--np-panel);
  border-bottom:1px solid var(--np-rule)}
.np-x{background:transparent;border:0;color:var(--np-dim);cursor:pointer;
  min-width:40px;min-height:40px;display:inline-flex;align-items:center;justify-content:center}
.np-x svg{width:15px;height:15px}
.np-list{list-style:none;margin:0;padding:4px 0}
.np-list button{width:100%;background:transparent;border:0;cursor:pointer;color:var(--np-dim);
  display:flex;align-items:center;gap:14px;padding:13px 18px;min-height:48px;
  font-size:13px;text-align:left;line-height:1.4}
.np-list button:hover{background:var(--np-bg);color:var(--np-ink)}
.np-n{font-size:10px;color:var(--np-faint);font-variant-numeric:tabular-nums;flex:none}
.np-ct{flex:1 1 auto}
.np-cd{font-size:11px;color:var(--np-faint);font-variant-numeric:tabular-nums;flex:none}
.np-list .here button{color:var(--np-accent);background:var(--np-bg)}
.np-list .here .np-n{color:var(--np-accent)}

/* ---- phone --------------------------------------------------------------- */
@media(max-width:650px){
  .np-pill{right:12px;bottom:12px;left:12px;justify-content:center}
  .np-scrub{height:48px;padding:0 14px}
  .np-now{padding:0 14px 8px}
  .np-bar{padding:0 10px 12px;gap:4px}
  .np-clock{margin-left:4px;font-size:11px}
  /* the chapter and follow labels are the first thing to go, not the controls */
  .np-wide span{display:none}
  .np-wide{padding:0 10px}
  .np-follow[data-on="0"]{opacity:.45}
}
@media(max-width:380px){ .np-btn{min-width:40px;padding:0 4px} }

@media(prefers-reduced-motion:reduce){ .np-thumb{transition:none} }

/* The player is fixed at the bottom, so the footer needs room or it sits
   under it. Pad the footer, not the body: padding on <body> shows the page
   background below the footer's own band.

   Two sizes, because reserving space for the OPEN sheet at all times leaves a
   dead band under every page. #narrator precedes <footer> in the document, so
   a sibling selector can pay for the sheet only while it is open. Measured
   12 Oct 2026: pill 46px, sheet 166px desktop / 230px phone. The chapter list
   is scroll-capped and overlays, so it is not paid for here. */
footer{padding-bottom:calc(29px + 74px)}
#narrator[data-state=open] ~ footer{padding-bottom:calc(29px + 186px)}
#narrator[data-state=open][data-size=compact] ~ footer{padding-bottom:calc(29px + 76px)}
@media(max-width:650px){
  footer{padding-bottom:calc(29px + 74px)}
  #narrator[data-state=open] ~ footer{padding-bottom:calc(29px + 250px)}
  #narrator[data-state=open][data-size=compact] ~ footer{padding-bottom:calc(29px + 76px)}
}
@media print{ .np{display:none!important} footer{padding-bottom:29px} }
