/* Reading Room (com-sprint-2 SPEC-READING-ROOM.md, Juno). Built only with STOA_READING_ROOM=1: today, Discover. */
@font-face{font-family:Newsreader;src:url(/fonts/newsreader-latin-400-italic.woff2) format('woff2');font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:Newsreader;src:url(/fonts/newsreader-latin-500-normal.woff2) format('woff2');font-weight:500;font-style:normal;font-display:swap}
/* My Shelf's headings before Newsreader lands (it is not preloaded there): Times New Roman, or Liberation Serif with the same metrics, sized and set on Newsreader 500's widths and baseline so nothing moves when it swaps (Juno, sprint 6) */
@font-face{font-family:'Newsreader Fallback';src:local('Times New Roman'),local('TimesNewRomanPSMT'),local('Liberation Serif'),local('LiberationSerif');size-adjust:106.8%;ascent-override:68.8%;descent-override:24.8%;line-gap-override:0%}
/* The same for Android, which has Noto Serif and no Times: sized on "My Shelf" (Juno) */
@font-face{font-family:'Newsreader Fallback Noto';src:local('Noto Serif'),local('NotoSerif-Regular');size-adjust:95%;ascent-override:77.4%;descent-override:27.9%;line-gap-override:0%}
@font-face{font-family:'Public Sans';src:url(/fonts/public-sans-latin-400-normal.woff2) format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Public Sans';src:url(/fonts/public-sans-latin-600-normal.woff2) format('woff2');font-weight:600;font-style:normal;font-display:swap}
/* VB-62: list titles and every other line in Public Sans before it lands: Arial, or Liberation Sans with the same metrics,
   sized and set on Public Sans' widths and baseline, so a title wraps the same before and after the swap (as tokens.css) */
@font-face{font-family:'Public Sans Fallback';src:local('Arial'),local('ArialMT'),local('Liberation Sans'),local('LiberationSans');font-weight:400;size-adjust:103.9%;ascent-override:91.4%;descent-override:21.6%;line-gap-override:0%}
@font-face{font-family:'Public Sans Fallback';src:local('Arial Bold'),local('Arial-BoldMT'),local('Liberation Sans Bold'),local('LiberationSans-Bold');font-weight:600;size-adjust:98.5%;ascent-override:96.5%;descent-override:22.8%;line-gap-override:0%}

:root{--fill:#2f44b5;--r-control:8px;--r-card:12px;--on-fill:#fff;color-scheme:light dark;--bg:#fbfbf9;--ink:#15171c;--mut:#5a606b;--rule:#e2e2dc;--soft:#f1f1ec;--acc:#13234f;--acc-ink:#fff;--saved:#2c6e5f;--link:#13234f;--ev:#b8902f;--shadow:0 1px 2px rgba(0,0,0,.08),0 8px 24px -8px rgba(0,0,0,.22)}
@media (prefers-color-scheme:dark){:root{--fill:#a8bbf0;--on-fill:#0f1a3a;--bg:#111215;--ink:#ecebe6;--mut:#a3a6ad;--rule:#2a2c31;--soft:#1a1b1f;--acc:#dfe4f5;--acc-ink:#111215;--saved:#7cc3ae;--link:#c9d2f2;--shadow:0 1px 2px rgba(0,0,0,.5),0 10px 28px -10px rgba(0,0,0,.8)}}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:400 16px/1.55 'Public Sans','Public Sans Fallback',system-ui,sans-serif}
a{color:inherit}
img{max-width:100%}
:focus-visible{outline:2px solid var(--link);outline-offset:2px;border-radius:2px}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;font-weight:400}
.skip{position:absolute;left:12px;top:-60px;z-index:10;background:var(--bg);padding:10px 14px;border:1.5px solid var(--ink);border-radius:var(--r-control);font-weight:600}
.skip:focus{top:10px}
/* One container for header, main and footer on every page (WS-54): the Gallery's --maxw and --gut, so the reading
   room and the Gallery start their content on the same line as the header at every width. */
:root{--maxw:1280px;--gut:20px}
@media (min-width:900px){:root{--gut:40px}}
/* Two heading ranks (Juno, polish PL1): every page section, Home's rows included, is --h-section; a section inside a column is --h-sub. Both switch at 1000, with --h-page (R3-8, R3-21). */
:root{--h-section:30px;--h-sub:22px}
@media (max-width:999.98px){:root{--h-section:24px;--h-sub:20px}}
/* The page title (R3-24, Juno): one size for every page's h1, as the app's pages have it. */
:root{--h-page:44px}
@media (max-width:999.98px){:root{--h-page:32px}}
/* Home's shared stylesheet pads its sections 32px from 1024 (the app's own frame); here they take the page's gutter. */
main.dh-home .w{padding-inline:var(--gut)}
/* A rail bleeds to the screen's edge on a phone; from 900 it stops at the column's edge, under "See all" (Juno, PR 396). */
main.dh-home .dh-rail{margin-right:calc(var(--gut) * -1);padding-right:var(--gut)}
@media (min-width:900px){main.dh-home .dh-rail{margin-right:0;padding-right:0}}
/* From 900 the home rails stop at the column, so they peek there too: four covers and 0.4 of the next, the same tile as every rail (Nt3-J1). */
@media (min-width:900px) and (max-width:1023.98px){main.dh-home .dh-rail{--dh-rail-n:4;gap:24px}main.dh-home .dh-rail li{width:calc((100% - var(--dh-rail-n) * 24px) / (var(--dh-rail-n) + 0.4))}}
.w{max-width:var(--maxw);margin:0 auto;padding:0 var(--gut)}

/* Header */
/* shared:site-header start (shared/discover/site-header.css; edit it there) */
/* stoareads.com's header, base rules (SPEC-ONE-HEADER §1): the header site-header.mjs draws. menu.css has its
   dropdowns, phone menu, Your clubs and search field. Spliced into reading-room.css and shell.css; the app copies it.
   Reads --bg, --ink, --rule, --maxw and --gut (.com's values: reports/sprint-5/ONE-HEADER-INTERFACE.md). */
.hd{border-bottom:1px solid var(--rule);background:var(--bg)}
.hd-in{max-width:var(--maxw);margin:0 auto;padding:0 var(--gut);height:64px;display:flex;align-items:center;gap:28px}
.logo{display:inline-flex;align-items:center;text-decoration:none;padding:11px 0}
.logo .wm{display:block;flex:none}
.hd-nav a{display:inline-block;font-weight:600;font-size:15px;text-decoration:none;padding:21px 0 19px;border-bottom:2px solid transparent}
.hd-nav a[aria-current]{border-color:var(--ink)}
.hd-nav a+a{margin-left:28px}
.hd-q{flex:1;min-width:0;max-width:440px;margin:0 0 0 auto}/* the box is the shared search field (menu.css .sf); min-width 0 lets it give way to the links */
.hd-a{font-weight:600;font-size:15px;text-decoration:none;padding:12px 0;white-space:nowrap;background:none;border:0;color:inherit;cursor:pointer;font-family:inherit;line-height:inherit;min-height:44px;display:inline-flex;align-items:center}
.hd-join{display:inline-flex;align-items:center;min-height:44px;font-weight:600;font-size:15px;text-decoration:none;border:1.5px solid var(--ink);border-radius:var(--r-control,8px);padding:0 14px;white-space:nowrap}
.hd-s{display:none}
[data-signed-in] [data-signed-out-only],:root:not([data-signed-in]) [data-signed-in-only],:root:not([data-one]) [data-one-only]{display:none !important}
@media (min-width:900px){
  .hd-noq .hd-q{display:none}
  .hd-noq .hd-nav{margin-right:auto}
}
@media (max-width:899px){
  .hd-nav,.hd .hd-q,.hd-join{display:none}
  .hd-s{display:flex;flex:none;width:44px;height:44px;align-items:center;justify-content:center}
  .hd-in{gap:0}
  .hd-a{padding:12px 6px}
}
/* Narrower than any phone we gate on (Vera B's 260 rig): the header needs about 293 px, so its Sign in (or My Shelf)
   link goes; the menu has the same link, and search keeps its icon. Nothing runs off the edge; logo and gutter keep
   their sizes (Juno, Nov 14). */
@media (max-width:299.98px){
  .hd-in>.hd-a{display:none}
}
/* Discover on the phone's top line, not only in the menu (Seph, Nov 29): beside the logo under 900, where the nav
   goes. Under 390 the account link (Sign in, My Shelf) gives it the room and stays in the menu, as under 300 before. */
.hd-dz{display:none}
@media (max-width:899px){
  .hd-dz{display:inline-flex;align-items:center;min-height:44px;margin-left:auto;padding:12px 0;font-weight:600;font-size:15px;line-height:20px;text-decoration:none;white-space:nowrap;color:inherit}
  .hd-dz[aria-current]{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}
}
/* The phone top line, balanced (Seph, Nov 30): the logo on the left; Discover, the account link, search and the menu
   one group on the right, text links first, then the two icons. The gaps between marks read about 18 to 24 px: 18 px
   between the words, the search glyph's 12 px of box after the account link, and the two 44 px icon boxes overlapping
   by 6 px so their glyphs sit about 24 px apart. The menu box hangs 14 px into the right gutter so its glyph ends
   about 20 px from the edge, mirroring the logo (Juno on #739). Each tap target stays 44 px tall; the words keep their full width. */
@media (max-width:899px){
  .hd .hd-in>.hd-a{margin-left:18px;padding:12px 0}
  .hd .hd-in>.hd-s{margin-left:2px}
  .hd .hd-in>.hd-m{margin-left:-6px;margin-right:-14px}
}
@media (max-width:389.98px){
  .hd-in>.hd-a{display:none}
}
/* Your account is back (SPEC-DELETE-ACCOUNT, grace period): one calm line under the header, once, after a sign-in
   that cancelled a deletion. site.js draws it from /api/me's restored and then tells the app it was shown. */
.hd-back{margin:0;padding:12px max(var(--gut),calc((100% - var(--maxw)) / 2 + var(--gut)));border-bottom:1px solid var(--rule);font-size:15px;line-height:22px;color:var(--ink)}
/* shared:site-header end */

/* Shared */
h2.sh{font:500 var(--h-section)/1.15 Newsreader,serif;letter-spacing:-.015em;margin:0}
/* My Shelf's section headings (Read, For you) take its matched fallback too, so they don't move when Newsreader swaps in (Vera B on #544). */
h2.sh.lib-h{font-family:var(--lib-display)}
/* My Shelf's planks are sibling sections inside the page (Juno, polish PL13): Read, For you and the top shelf's Reading now and Next up all take one size, the shared section size since R3-21. */
h2.sh.lib-h{font-size:var(--h-section)}
/* R3-21, R3-24 (Juno): My Shelf's title is a page title, --h-page (32 px, then 44 px from 1000), signed in and out; its sections take the shared
   section size above (24 px, then 30 px), so no section head outranks it. */
.lib-page .lib-h1{font:500 var(--h-page)/1.1 var(--lib-display);letter-spacing:-.02em}
/* The top shelf's Reading now and Next up are the shelf's sections too (PL13, kept by Juno for R3-21): the same size as Read and For you. */
:root{--lib-h-sub:var(--h-section)}
.lib-page .s3-h{height:auto;line-height:1.15}
/* SH-1 (Juno): the Read plank's wall about 16 px under what stands above it (the toolbar, or Find), not 76: the first bay
   gives up its top room (56 px), and is that much shorter, so nothing overlaps; the shelves below keep theirs. Its margin collapses with the tools row, so it reads 16 px under Find or the sort bar. */
.lib-page .lib-read .s3-shelves > .s3-bay:first-child{padding-top:0;height:calc(var(--bay) - 56px);contain-intrinsic-size:auto calc(var(--bay) - 56px)}
.lib-page .lib-read:not(:has(.s3-find)) .s3-shelves > .s3-bay:first-child{margin-top:-4px}
.lib-page .lib-read:has(.s3-find) .s3-shelves > .s3-bay:first-child{margin-top:16px}
.sec{padding-block:56px;border-top:1px solid var(--rule)}
.sec-h{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:8px}
.sec-h a{font-weight:600;font-size:15px;line-height:22px;color:var(--link);text-underline-offset:3px;padding:11px 0;white-space:nowrap}
/* Ways in's head with two links (Reading paths, All lists; Juno, Nov 29): side by side, each its own 44 px target. */
.sec-hl{display:flex;flex-wrap:wrap;justify-content:flex-end;column-gap:16px}
.dek{color:var(--mut);margin:0 0 28px;max-width:60ch}
.sv{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 18px;border-radius:var(--r-control);border:0;background:var(--fill);color:var(--on-fill);font:600 15px 'Public Sans','Public Sans Fallback',sans-serif;text-decoration:none;cursor:pointer;transition:background-color .12s}
.buy{display:inline-flex;align-items:center;gap:6px;height:44px;padding:0 16px;border-radius:var(--r-control);border:1.5px solid var(--rule);font-weight:600;font-size:15px;text-decoration:none;white-space:nowrap}
@media (hover:hover){.buy:hover{border-color:var(--ink)}}
.sv-s{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 4px;margin-left:-4px;border:0;background:none;color:var(--ink);font:600 15px 'Public Sans','Public Sans Fallback',sans-serif;text-decoration:none;cursor:pointer}
@media (hover:hover){.sv-s:hover span{text-decoration:underline;text-underline-offset:3px}}
.sv svg,.sv-s svg{flex:none;width:18px;height:18px}
.sv svg path,.sv-s svg path{transition:fill .12s}
a[aria-busy='true']{opacity:.6;pointer-events:none}
.save-done.sv-s,.save-done.sv-s:visited{color:var(--saved)}
.save-done.sv,.save-done.sv:visited{background:var(--saved);color:var(--acc-ink)}
.save-done svg path{fill:currentColor}
.cv-box{position:relative;display:block;aspect-ratio:2/3;border-radius:3px;transition:transform .15s;container-type:inline-size}
a:focus-visible>.cv-box{transform:translateY(-2px)}
@media (hover:hover){a:hover>.cv-box{transform:translateY(-2px)}}
.cv{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;border-radius:3px;box-shadow:var(--shadow);background:var(--soft)}
.cv-none{position:absolute;inset:0;display:block;background:var(--soft);border:1px solid var(--rule);border-radius:3px;padding:12px;overflow:hidden}
.cv-none b{display:block;font:500 18px/1.2 Newsreader,serif;color:var(--ink)}
.cv-none i{display:block;font:400 14px/1.3 'Public Sans','Public Sans Fallback',sans-serif;font-style:normal;color:var(--mut);margin-top:6px}
/* Small boxes (the 84 and 64 px ranked rows, the 120 px phone lead): a smaller title that wraps whole words, no author (Juno). */
@container (max-width:124px){
  .cv-none{padding:8px}
  .cv-none b{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;font:500 13px/1.15 Newsreader,serif;overflow-wrap:normal;word-break:normal;hyphens:none}
  .cv-none i{display:none}
}
/* The 64 px phone rows: a little smaller again, so a long word still fits whole. */
@container (max-width:72px){
  .cv-none{padding:4px}
  .cv-none b{font-size:10.5px;letter-spacing:-.01em}
}

/* Value line and search */
.intro{padding-block:56px 40px}
.intro h1{font:500 clamp(40px,7vw,72px)/1 Newsreader,serif;letter-spacing:-.03em;margin:0 0 24px;max-width:12ch}
.big-q{max-width:720px}/* the box is the shared search field (menu.css .sf) */
/* "Try" is its own column, so a wrapped example lines up with the first (Juno, #347). */
.eg{display:grid;grid-template-columns:auto 1fr;column-gap:18px;align-items:baseline;margin:8px 0 0;font-size:15px;color:var(--mut)}
.eg p{margin:0;padding:11px 0;line-height:22px}
.eg ul{display:flex;flex-wrap:wrap;gap:0 18px;margin:0;padding:0;list-style:none}
.eg a{display:inline-block;padding:11px 0;line-height:22px;color:var(--ink);text-underline-offset:3px;text-decoration-color:var(--mut)}

.acts{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}
.acts:has(> .sv[hidden]:only-child){display:none}
.acts .buy-note{flex-basis:100%;font-size:13px;line-height:18px;margin-top:4px;color:var(--mut)}

/* Topics */
.topics{display:flex;flex-wrap:wrap;gap:4px 26px;margin:0;padding:0;list-style:none}
.topics a{display:inline-block;font:500 24px/44px Newsreader,serif;text-decoration:none;border-bottom:1px solid transparent}
@media (hover:hover){.topics a:hover{border-color:currentColor}}
.topics li.all a{font:600 15px/44px 'Public Sans','Public Sans Fallback',sans-serif;color:var(--link);text-decoration:underline;text-underline-offset:3px}

/* shared:discover-rails start (shared/discover/rails.css; edit it there) */
/* shared/discover/rails.css: the home rails (Today's book, ranked rows, the path, tile rails, prize chips), canonical for
   stoareads.com and the app. Reads only the --dh-* tokens; edit it here, scripts/shared.mjs splices it into each host.
   Every rule is scoped under :where(.dh-rails), so a host's own .card, .chips or .rank outside it is never touched, and
   the scope adds no specificity, so each host's own overrides win as before. stoareads.com puts the class on <body>
   (its book rows and tiles use these rules on every page); the app puts it on its home's container.
   The actions inside a row (parts.acts, parts.buy) are each host's own markup, so their styles stay with the host. */

:where(.dh-rails) .tr{display:flex;gap:8px;align-items:baseline;font-size:15px;color:var(--dh-ink);margin:0}
/* A lead fitLeads hides (said already along the row) goes, dot and all; the proof slot keeps its row (Vera B on #647). */
:where(.dh-rails) .tr[hidden]{display:none}
:where(.dh-rails) .tr::before{content:"";flex:none;width:7px;height:7px;border-radius:50%;background:var(--dh-ev);transform:translateY(-1px)}
:where(.dh-rails) .tr.n{color:var(--dh-mut)}
:where(.dh-rails) .tr.n::before{background:none;border:1.5px solid var(--dh-mut);width:7px;height:7px}
:where(.dh-rails) .t-a{text-decoration:none}
@media (hover:hover){:where(.dh-rails) .t-a:hover{text-decoration:underline;text-underline-offset:3px}}

/* Today's book, compact (SPEC-PRE-SPRINT A): one book row, cover 72×108, title up to 3 lines, Buy as a text link. */
/* Today's book spans the column, so its rule and actions end at the column's right edge with every other block (Nt2-1). */
:where(.dh-rails) .rank.one{grid-template-columns:1fr}
/* UX-08 (Juno): Want to read and I've read it on one line under the text, 12 px below it, with Buy on Amazon beside
   them on the same line. The text spans the pair's and Buy's columns and the rest, so it never sizes them. */
:where(.dh-rails) .rank.one li{grid-template-columns:72px max-content max-content minmax(0,1fr)}
:where(.dh-rails) .rank.one .cv-a{grid-row:1/3}
:where(.dh-rails) .rank.one .rt{grid-column:2/-1}
:where(.dh-rails) .rank.one .sv-ri{grid-column:2;flex-direction:row;flex-wrap:nowrap;gap:0 16px;margin-top:12px}
:where(.dh-rails) .rank.one h3{-webkit-line-clamp:3;font-size:18px;line-height:24px}
:where(.dh-rails) .rank.one .buy-l{grid-column:3;margin:12px 0 0}
:where(.dh-rails) .rank.one .buy{display:inline-flex;align-items:center;height:44px;padding:0;border:0;border-radius:0;font-weight:600;font-size:15px;text-decoration:underline;text-underline-offset:3px}
:where(.dh-rails) .rank.one .buy-n{grid-column:1/-1;margin:4px 0 0}:where(.dh-rails) .rank.one .buy-note{display:block;font-size:13px;line-height:18px;color:var(--dh-mut)}

/* Highly ranked */
:where(.dh-rails) .rank{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;column-gap:56px}
:where(.dh-rails) .rank li{display:grid;grid-template-columns:32px 80px minmax(0,1fr) 168px;gap:0 16px;padding:16px 0;border-top:1px solid var(--dh-rule);align-items:start}
:where(.dh-rails) .rank .n{font:500 20px/24px var(--dh-display);color:var(--dh-mut);font-variant-numeric:lining-nums tabular-nums}
/* One book row (SPEC-SHELL §7.3): every line clamped, so rows side by side keep their actions level with the title. */
:where(.dh-rails) .rank .rt{min-width:0}
:where(.dh-rails) .rank h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:0;font:600 17px/24px var(--dh-sans)}
:where(.dh-rails) .rank .by{margin:4px 0 0;overflow-wrap:break-word;color:var(--dh-mut);font-size:15px;line-height:20px}
:where(.dh-rails) .rank .why{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:8px 0 0;font:400 16px/24px var(--dh-display)}
:where(.dh-rails) .rank .tr{margin:8px 0 0;font-size:14px;line-height:20px}:where(.dh-rails) .rank .tr span{min-width:0;text-wrap:pretty}
:where(.dh-rails) .rank .sv-ri{flex-direction:column;align-items:flex-start;gap:0;margin-top:-10px}

/* A modern Stoic path */
:where(.dh-rails) .path{--dh-rail-n:4;display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - var(--dh-rail-n) * 24px) / (var(--dh-rail-n) + 0.4));gap:24px;list-style:none;margin:0;padding:0;counter-reset:s;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
:where(.dh-rails) .path::-webkit-scrollbar{display:none}
:where(.dh-rails) .path li{scroll-snap-align:start}
:where(.dh-rails) .path li{counter-increment:s}
:where(.dh-rails) .path .st{font:600 15px var(--dh-sans);color:var(--dh-mut);margin:14px 0 2px}
:where(.dh-rails) .path .st::before{content:counter(s) ". "}
/* The shared card's title under the stage line (Nt5-J2, one card component). */
:where(.dh-rails) .path h3{font:600 16px/22px var(--dh-sans);color:var(--dh-ink);margin:0;overflow-wrap:break-word}

/* Rails */
/* One tile size per width on every rail, the Stoic path and Stoa's best included (Nt3-J1, one card component): a
   rail with few tiles keeps the same tile width and leaves the rest of the column empty rather than stretching. */
:where(.dh-rails) .rail{--dh-rail-n:4;display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - var(--dh-rail-n) * 24px) / (var(--dh-rail-n) + 0.4));grid-template-rows:repeat(4,auto);gap:0 24px;list-style:none;margin:0;padding:0;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
:where(.dh-rails) .rail::-webkit-scrollbar{display:none}
/* A rail that scrolls shows n tiles and 0.4 of the next, so it reads as more to the right (Juno, PR 396): 4 from 900,
   5 from 1100, 6 from 1240, about 160 to 210 px a tile. */
@media (min-width:1100px){:where(.dh-rails) :is(.rail,.path){--dh-rail-n:5}}
@media (min-width:1240px){:where(.dh-rails) :is(.rail,.path){--dh-rail-n:6}}
/* One book tile (SPEC-SHELL §7, WS-54): four slots on a subgrid (cover, title with author, proof, actions), so covers,
   proofs and actions line up across a row whatever wraps; the proof slot is as tall as the row's tallest proof, and
   nothing when no tile has one. The author sits right under its own title, so a one-line title leaves no gap (PL9). */
:where(.dh-rails) .card{display:grid;grid-template-rows:subgrid;grid-row:span 4;grid-template-columns:minmax(0,1fr);row-gap:0;min-width:0;scroll-snap-align:start}
/* UX-19: the whole tile is the title's link, so a short title ("Huna", 40×19) is never a small target. The title link's
   box covers the tile; Want to read and I've read it sit above it and keep their own targets. */
:where(.dh-rails) :is(.card,.path li,.rank li){position:relative}
:where(.dh-rails) :is(.card,.path li,.rank li) .t-a::after{content:"";position:absolute;inset:0}
:where(.dh-rails) :is(.card,.path li,.rank li) .sv-ri{position:relative;z-index:1}
:where(.dh-rails) .card .cv-a{display:block}
:where(.dh-rails) .card h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:12px 0 0;font:600 16px/22px var(--dh-sans);color:var(--dh-ink)}
:where(.dh-rails) .card h3.t4{-webkit-line-clamp:4}:where(.dh-rails) .card h3.t5{-webkit-line-clamp:5}
:where(.dh-rails) .card .by{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:4px 0 0;color:var(--dh-mut);font-size:15px;line-height:20px}
:where(.dh-rails) .card .pf{min-width:0}
:where(.dh-rails) .card .pf .tr{margin:8px 0 0;font-size:14px;line-height:20px}:where(.dh-rails) .card .pf .tr span{text-wrap:pretty;min-width:0}
/* R3-78 (Seph 16:00 Nov 15, SPEC-CARD-ACTIONS): a tile's two actions say what they do. Icon and words, stacked, each as
   wide as the tile and left-aligned with its title: 32 px drawn, a 44 px target from a vertical ::after across the 12 px
   gap. The pair keeps its two rows (76 px) when Read replaces them, so nothing moves. */
:where(.dh-rails) .card .sv-ri{align-self:end;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:0;min-height:44px;margin:8px 0 0}
:where(.dh-rails) .card :is(.sv-s,.ri){position:relative;justify-content:flex-start;gap:8px;width:100%;height:44px;min-height:44px;padding:0;margin:0;font:600 14px/20px var(--dh-sans);white-space:nowrap}
:where(.dh-rails) .card :is(.sv-s,.ri)::after{content:"";position:absolute;inset:0}/* S2: the buttons are 44 px themselves */
:where(.dh-rails) .card :is(.sv-s,.ri) svg{flex:none;width:18px;height:18px}
:where(.dh-rails) .card .ri-wrap{flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:0}
:where(.dh-rails) .card .ri-wrap > :is(.ri-done,.ri-rate){min-height:44px;padding:0;margin:0;font-size:14px}
/* A rated card (Seph 23:13Z Nov 23): one line on the first action row, the check and "Loved it" in the card's ink, never wrapping. */
.card .ri-wrap > button.ri-card{color:var(--dh-ink);white-space:nowrap}
:where(.dh-rails) .card .sv-ri > :is(.ri-rate,.ri-stars){display:flex;align-items:center;min-height:44px;padding:0;margin:0;font-size:14px}/* the app's Read + Rate slot */
@supports not (grid-template-rows:subgrid){:where(.dh-rails) .card{display:flex;flex-direction:column}:where(.dh-rails) .card .sv-ri{margin-top:auto;padding-top:8px}}
/* VB-58 (Vera B on #653): the laurel prompt stays inside a 140 px Home card (one minmax(0,1fr) column, no wrap), and its
   first laurel lines up with the text. */
:where(.dh-rails) .card .ri-wrap .ri-stars{margin-left:-3px;max-width:calc(100% + 3px)}
:where(.dh-rails) .chips{display:flex;flex-wrap:wrap;gap:0 22px;margin:28px 0 0;padding:0;list-style:none;font-size:15px}
:where(.dh-rails) .chips li:first-child{color:var(--dh-mut);padding:10px 0}
:where(.dh-rails) .chips a{display:inline-block;padding:11px 0;line-height:22px;color:var(--dh-link);font-weight:600;text-underline-offset:3px}

/* "I've read it" (WS-36): next to Save in rows, stacked in rails, its own line under the lead's Save and Buy. */
:where(.dh-rails) .sv-ri{display:flex;flex-wrap:wrap;align-items:center;gap:0 16px}
/* VB-54: read-it.js puts an empty .ri-wrap after each I've read it link for a signed-in member; empty, it takes no room
   and no gap, so rows and tiles don't grow 12 px after first paint (CLS). It fills only when the book is read. */
.sv-ri > .ri-wrap:empty{display:none}

@media (max-width:899px){
  :where(.dh-rails) .path::-webkit-scrollbar,:where(.dh-rails) .rail::-webkit-scrollbar{display:none}
  :where(.dh-rails) .rank{grid-template-columns:1fr}
  :where(.dh-rails) .rank li{grid-template-columns:32px 64px minmax(0,1fr);gap:0 16px;padding:16px 0}
  :where(.dh-rails) .rank li:nth-child(n+7){display:none}
  /* UX-08 (Juno): under 900 px every row's Want to read and I've read it sit on one line under the row, across its
     full width from the numeral or cover, 12 px below it; a text column alone is too narrow for the pair at 320. */
  :where(.dh-rails) .rank .sv-ri{grid-column:1/-1;flex-direction:row;gap:0 16px;margin-top:12px}
  :where(.dh-rails) .rank.one li{grid-template-columns:72px minmax(0,1fr)}
  :where(.dh-rails) .rank.one .sv-ri,:where(.dh-rails) .rank.one .buy-l{grid-column:1/-1}
  :where(.dh-rails) .rank.one .buy-l{margin:0}
  :where(.dh-rails) .rank.one .cv-a{grid-row:auto}
  :where(.dh-rails) .rank.one .buy-n{grid-column:1/-1}
  :where(.dh-rails) .path{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:140px;overflow-x:auto;margin:0 -20px;padding:0 20px;gap:16px;scrollbar-width:none;scroll-padding:0 20px}
  :where(.dh-rails) .rail{grid-auto-columns:140px;margin:0 -20px;padding:0 20px;gap:0 16px;scroll-padding:0 20px}
}
/* Highly ranked between 900 and 1199: two columns leave the text 59 px beside a 168 px actions column, so the
   actions sit under the text, as on a phone (N3-4 measurement). */
@media (min-width:900px) and (max-width:1199px){
  :where(.dh-rails) .rank:not(.soc-list):not(.one) li{grid-template-columns:32px 80px minmax(0,1fr)}
  :where(.dh-rails) .rank:not(.soc-list):not(.one) .sv-ri{grid-column:3;flex-direction:row;gap:0 16px;margin-top:4px}
}
/* shared:discover-rails end */
/* The Society preview (N1-1): the same row without the numeral, one column, under a Newsreader h2. */
.soc .soc-ed{margin:48px 0 8px}
.rank.soc-list{grid-template-columns:1fr;max-width:880px}
.rank.soc-list li{grid-template-columns:80px minmax(0,1fr) 168px}
/* R3-9: the Society's proof is the full line, as on Discover; under 600 px a line too long for the row's 2 lines
   shows its R3-1 short form instead (or none), drawn beside it. Only one of the two is ever displayed. */
.tr .pf-n{display:none}
@media (max-width:599px){.tr .pf-w{display:none}.tr .pf-n{display:inline}.tr.pf-wide{display:none}}

/* Save invitation */
.invite{display:flex;justify-content:space-between;align-items:center;gap:24px;background:var(--soft);border-radius:var(--r-card);padding:28px 32px}
.invite p{margin:0;font:400 22px/1.35 'Public Sans','Public Sans Fallback',system-ui,sans-serif;max-width:36ch}
.invite .sv{flex:none}
.soc-join p{margin:12px 0 0;font:400 15px/20px 'Public Sans','Public Sans Fallback',system-ui,sans-serif;color:var(--mut);max-width:none}
.soc-join p a{color:var(--link)}

/* shared:site-footer start (shared/discover/site-footer.css; edit it there) */
.ft{border-top:1px solid var(--rule);padding:32px 0 48px;margin-top:24px}
.ft-in{max-width:var(--maxw);margin:0 auto;padding:0 var(--gut);display:flex;gap:32px;align-items:center;flex-wrap:wrap}
.ft-tag{margin:0;color:var(--mut);font-size:15px;flex:1}
.ft nav{display:flex;flex-wrap:wrap;gap:0 24px;font-size:15px}
.ft nav a{display:inline-block;min-width:44px;color:var(--mut);text-decoration:none;padding:12px 6px;margin-inline:-6px}
@media (hover:hover){.ft nav a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}}
/* A short page still ends at the fold: its main is a screen less the 65 px header and the footer's 24 px margin, so the footer starts at the fold (Juno). */
body > .hd ~ main{min-height:calc(100svh - 89px)}
/* shared:site-footer end */
/* shared:stoa-grade start: shared/discover/stoa-grade.css (scripts/shared.mjs copies it; edit there) */
/* The Stoa grade (SPEC-STOA-GRADE): mark and words on one 18 px line. Tiers 1-4 in ink, the top tier's mark in gold
   (3:1 against the page as a non-text mark, both schemes). Words read the host's UI font. The mark is the ::before, a
   37x18 mask per tier from stoa-grade.mjs maskUrl() (test/r3-84-stoa-grade.test.mjs keeps them equal), so a page
   carries no SVG per book. */
.stg{--stg-gold:#a8842c;display:inline-flex;align-items:flex-start;gap:8px;min-height:18px;color:var(--ink);font:400 13px/18px var(--font-ui,'Public Sans',system-ui,sans-serif);vertical-align:top}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .stg{--stg-gold:#d2ae55}}
:root[data-theme="dark"] .stg{--stg-gold:#d2ae55}
.stg::before{content:"";flex:none;display:block;width:37px;height:18px;background:currentColor;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:37px 18px;mask-size:37px 18px}
.stg[data-tier="5"]::before{background:var(--stg-gold)}
@media (forced-colors:active){.stg::before,.stg[data-tier="5"]::before{background:CanvasText;forced-color-adjust:none}}
.stg[data-tier="1"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='37' height='18' viewBox='0 0 37 18'%3E%3Cpath d='M1 5H36' stroke='%23000' stroke-opacity='.25'/%3E%3Crect x='2' y='6.5' width='4' height='9' rx='.5' fill='%23000'/%3E%3Crect x='9' y='6.5' width='4' height='9' rx='.5' fill='%23000' fill-opacity='.18'/%3E%3Crect x='16' y='6.5' width='4' height='9' rx='.5' fill='%23000' fill-opacity='.18'/%3E%3Crect x='23' y='6.5' width='4' height='9' rx='.5' fill='%23000' fill-opacity='.18'/%3E%3Crect x='30' y='6.5' width='4' height='9' rx='.5' fill='%23000' fill-opacity='.18'/%3E%3Crect y='16' width='37' height='1.5' fill='%23000'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='37' height='18' viewBox='0 0 37 18'%3E%3Cpath d='M1 5H36' stroke='%23000' stroke-opacity='.25'/%3E%3Crect x='2' y='6.5' width='4' height='9' rx='.5' fill='%23000'/%3E%3Crect x='9' y='6.5' width='4' height='9' rx='.5' fill='%23000' fill-opacity='.18'/%3E%3Crect x='16' y='6.5' width='4' height='9' rx='.5' fill='%23000' fill-opacity='.18'/%3E%3Crect x='23' y='6.5' width='4' height='9' rx='.5' fill='%23000' fill-opacity='.18'/%3E%3Crect x='30' y='6.5' width='4' height='9' rx='.5' fill='%23000' fill-opacity='.18'/%3E%3Crect y='16' width='37' height='1.5' fill='%23000'/%3E%3C/svg%3E")}
.stg[data-tier="2"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='37' height='18' viewBox='0 0 37 18'%3E%3Cpath d='M1 5H36' stroke='%23000' stroke-opacity='.25'/%3E%3Crect x='2' y='6.5' width='4' height='9' rx='.5' fill='%23000'/%3E%3Crect x='9' y='6.5' width='4' height='9' rx='.5' fill='%23000'/%3E%3Crect x='16' y='6.5' width='4' height='9' rx='.5' fill='%23000' fill-opacity='.18'/%3E%3Crect x='23' y='6.5' width='4' height='9' rx='.5' fill='%23000' fill-opacity='.18'/%3E%3Crect x='30' y='6.5' width='4' height='9' rx='.5' fill='%23000' fill-opacity='.18'/%3E%3Crect y='16' width='37' height='1.5' fill='%23000'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='37' height='18' viewBox='0 0 37 18'%3E%3Cpath d='M1 5H36' stroke='%23000' stroke-opacity='.25'/%3E%3Crect x='2' y='6.5' width='4' height='9' rx='.5' fill='%23000'/%3E%3Crect x='9' y='6.5' width='4' height='9' rx='.5' fill='%23000'/%3E%3Crect x='16' y='6.5' width='4' height='9' rx='.5' fill='%23000' fill-opacity='.18'/%3E%3Crect x='23' y='6.5' width='4' height='9' rx='.5' fill='%23000' fill-opacity='.18'/%3E%3Crect x='30' y='6.5' width='4' height='9' rx='.5' fill='%23000' fill-opacity='.18'/%3E%3Crect y='16' width='37' height='1.5' fill='%23000'/%3E%3C/svg%3E")}
.stg[data-tier="3"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='37' height='18' viewBox='0 0 37 18'%3E%3Cpath d='M1 5H36' stroke='%23000' stroke-opacity='.25'/%3E%3Crect x='2' y='6.5' width='4' height='9' rx='.5' fill='%23000'/%3E%3Crect x='9' y='6.5' width='4' height='9' rx='.5' fill='%23000'/%3E%3Crect x='16' y='6.5' width='4' height='9' rx='.5' fill='%23000'/%3E%3Crect x='23' y='6.5' width='4' height='9' rx='.5' fill='%23000' fill-opacity='.18'/%3E%3Crect x='30' y='6.5' width='4' height='9' rx='.5' fill='%23000' fill-opacity='.18'/%3E%3Crect y='16' width='37' height='1.5' fill='%23000'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='37' height='18' viewBox='0 0 37 18'%3E%3Cpath d='M1 5H36' stroke='%23000' stroke-opacity='.25'/%3E%3Crect x='2' y='6.5' width='4' height='9' rx='.5' fill='%23000'/%3E%3Crect x='9' y='6.5' width='4' height='9' rx='.5' fill='%23000'/%3E%3Crect x='16' y='6.5' width='4' height='9' rx='.5' fill='%23000'/%3E%3Crect x='23' y='6.5' width='4' height='9' rx='.5' fill='%23000' fill-opacity='.18'/%3E%3Crect x='30' y='6.5' width='4' height='9' rx='.5' fill='%23000' fill-opacity='.18'/%3E%3Crect y='16' width='37' height='1.5' fill='%23000'/%3E%3C/svg%3E")}
.stg[data-tier="4"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='37' height='18' viewBox='0 0 37 18'%3E%3Cpath d='M1 5H36' stroke='%23000' stroke-opacity='.25'/%3E%3Crect x='2' y='6.5' width='4' height='9' rx='.5' fill='%23000'/%3E%3Crect x='9' y='6.5' width='4' height='9' rx='.5' fill='%23000'/%3E%3Crect x='16' y='6.5' width='4' height='9' rx='.5' fill='%23000'/%3E%3Crect x='23' y='6.5' width='4' height='9' rx='.5' fill='%23000'/%3E%3Crect x='30' y='6.5' width='4' height='9' rx='.5' fill='%23000' fill-opacity='.18'/%3E%3Crect y='16' width='37' height='1.5' fill='%23000'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='37' height='18' viewBox='0 0 37 18'%3E%3Cpath d='M1 5H36' stroke='%23000' stroke-opacity='.25'/%3E%3Crect x='2' y='6.5' width='4' height='9' rx='.5' fill='%23000'/%3E%3Crect x='9' y='6.5' width='4' height='9' rx='.5' fill='%23000'/%3E%3Crect x='16' y='6.5' width='4' height='9' rx='.5' fill='%23000'/%3E%3Crect x='23' y='6.5' width='4' height='9' rx='.5' fill='%23000'/%3E%3Crect x='30' y='6.5' width='4' height='9' rx='.5' fill='%23000' fill-opacity='.18'/%3E%3Crect y='16' width='37' height='1.5' fill='%23000'/%3E%3C/svg%3E")}
.stg[data-tier="5"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='37' height='18' viewBox='0 0 37 18'%3E%3Cpath d='M1 5 18.5 .5 36 5Z' fill='%23000'/%3E%3Crect x='2' y='6.5' width='4' height='9' rx='.5' fill='%23000'/%3E%3Crect x='9' y='6.5' width='4' height='9' rx='.5' fill='%23000'/%3E%3Crect x='16' y='6.5' width='4' height='9' rx='.5' fill='%23000'/%3E%3Crect x='23' y='6.5' width='4' height='9' rx='.5' fill='%23000'/%3E%3Crect x='30' y='6.5' width='4' height='9' rx='.5' fill='%23000'/%3E%3Crect y='16' width='37' height='1.5' fill='%23000'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='37' height='18' viewBox='0 0 37 18'%3E%3Cpath d='M1 5 18.5 .5 36 5Z' fill='%23000'/%3E%3Crect x='2' y='6.5' width='4' height='9' rx='.5' fill='%23000'/%3E%3Crect x='9' y='6.5' width='4' height='9' rx='.5' fill='%23000'/%3E%3Crect x='16' y='6.5' width='4' height='9' rx='.5' fill='%23000'/%3E%3Crect x='23' y='6.5' width='4' height='9' rx='.5' fill='%23000'/%3E%3Crect x='30' y='6.5' width='4' height='9' rx='.5' fill='%23000'/%3E%3Crect y='16' width='37' height='1.5' fill='%23000'/%3E%3C/svg%3E")}
/* On a narrow tile the words wrap beside the mark, never under the next tile. */
.stg-w{min-width:0;text-wrap:pretty}
/* Its own line: under a row's byline, or first in a tile's proof slot (above the actions). 8 + 18 = 26 px. */
.stg-l{display:block;margin:8px 0 0;line-height:18px}
.bk-g{display:flex;flex-wrap:wrap;align-items:center;gap:4px 16px}
.stg-how{display:inline-flex;align-items:center;min-height:24px;color:var(--link,var(--accent,currentColor));font-size:13px;line-height:18px;text-decoration:underline;text-underline-offset:3px}
/* shared:stoa-grade end */
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 var(--gut)}
.cover-credit{color:var(--mut);font-size:15px;margin:32px 0 0}
.cover-credit a{color:var(--mut)}

/* Home as the discovery surface (SPEC-DISCOVER-SYSTEM §6): Ways in and Subjects right under the search, closer
   together than the rails, so Award winners is above the fold at 390 x 844. Subjects take four columns when wide. */
.sec.dz{padding-block:32px 8px}
.sec.dz + .sec.dz{border-top:0;padding-top:16px}
.dz .sec-h{margin-bottom:4px}
/* A phone shows six and "All 13 subjects"; a wide screen shows all 13 (§2.2). */
.dz .sj-w{display:none}
@media (min-width:900px){
  .dz .sj-n{display:none}
  .dz .sj-w{display:block}
  .dz .sj{grid-template-columns:repeat(4,1fr);column-gap:24px}
}

@media (max-width:899px){
  .intro{padding-block:24px 16px}
  .intro h1{font-size:36px;line-height:40px;margin-bottom:16px}
  .sec.dz{padding-block:20px 4px}
  .sec.dz + .sec.dz{padding-top:12px}
  .sec{padding-block:40px}
  .topics{flex-wrap:nowrap;overflow-x:auto;gap:22px;margin:0 -20px;padding:0 20px;scrollbar-width:none}
  .topics::-webkit-scrollbar,.path::-webkit-scrollbar,.rail::-webkit-scrollbar{display:none}
  .topics a{white-space:nowrap;font-size:21px}
  .rank.soc-list li{grid-template-columns:64px minmax(0,1fr)}
  .rank.soc-list .sv-ri{grid-column:1/-1}
  .invite{flex-direction:column;align-items:flex-start;padding:24px}
  .invite p{font-size:20px}
  .soc-join p{font-size:15px}
}
@media (prefers-reduced-motion:reduce){
  .cv-box,.sv,.sv svg path,.sv-s svg path{transition:none}
  a:focus-visible>.cv-box{transform:none}
  @media (hover:hover){a:hover>.cv-box{transform:none}}
}
a[aria-hidden="true"]{text-decoration:none}

/* Search and browse (com-sprint-2 SPEC-RR-SEARCH.md, Juno): /browse in the Reading Room look. No band, boxes or tiles. */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.rs [hidden]{display:none !important}
.rs{padding-block:40px 24px}
.rs .big-q{max-width:none}
.rs-head{margin:40px 0 8px}
.rs-head.rs-top{margin:0 0 16px}/* /discover: the heading first, then the bar and the ask box (Juno, Nov 12) */
html:not(.d-view) [data-discover] .big-q{max-width:640px}/* the Discover bar, at the ask box's width (Juno, Nov 12); results keep theirs */
.rs-head h1{font:500 var(--h-page)/1.1 Newsreader,serif;letter-spacing:-.02em;margin:0;overflow-wrap:anywhere}
.nf-l{margin:0 0 16px;color:var(--mut);font-size:17px;line-height:26px;max-width:36em;text-wrap:pretty}/* the 404 page's one line (UX-03) */
.rs-head.rs-nothing h1{font-size:26px;line-height:1.25;letter-spacing:-.01em}
.rs-n{color:var(--mut);font-size:15px;margin:6px 0 0}
.rs-close{font:500 22px/1.3 Newsreader,serif;margin:8px 0 0}
.rs .find-read{margin:4px 0 0}
/* Filters: text controls with a chevron and a hairline under them, 44 tall; the row scrolls sideways on a phone. */
.rs .find-tools{margin:16px 0 8px}
.rs .find-toolbar{display:flex;gap:28px;overflow-x:auto;scrollbar-width:none;margin:0 -20px;padding:0 20px}
.rs .find-toolbar::-webkit-scrollbar{display:none}
@media (max-width:389px){.rs .find-toolbar{gap:22px}}/* Topic, Length, Published and Sort fit whole at 375 (Vera, 2 px rule); at 320 the row still scrolls */
/* Juno's nit on #729: where the row scrolls, its trailing edge fades into the page, over the row's own 20 px end padding,
   so a cut "Published" reads as more to the right; scrolled to the end, the fade sits on that padding alone. */
@media (max-width:599.98px){.rs .find-tools{position:relative}.rs .find-tools:has(>.find-toolbar)::after{content:"";position:absolute;top:0;right:calc(-1 * var(--gut,20px));width:24px;height:44px;background:linear-gradient(to right,transparent,var(--bg));pointer-events:none}}
.rs .find-tool{flex:none}
.rs .find-tool>summary{display:inline-flex;align-items:center;gap:8px;height:44px;font:400 15px 'Public Sans','Public Sans Fallback',sans-serif;color:var(--ink);border-bottom:1px solid var(--rule);list-style:none;cursor:pointer;white-space:nowrap}
.rs .find-tool>summary::-webkit-details-marker{display:none}
.rs .find-tool>summary::after{content:"";width:6px;height:6px;margin:-4px 0 0 2px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
.rs .find-tool[open]>summary{border-color:var(--ink)}
@media (hover:hover){.rs .find-tool>summary:hover{border-color:var(--ink)}}
.rs .find-menu{position:fixed;z-index:30;min-width:15rem;max-height:min(60vh,26rem);margin:0;padding:6px 0;overflow-y:auto;border:1px solid var(--rule);border-radius:var(--r-card);background:var(--bg);box-shadow:var(--shadow)}
.rs .find-menu legend{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.rs .find-menu label{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 16px;font-size:15px;cursor:pointer}
@media (hover:hover){.rs .find-menu label:hover{background:var(--soft)}}
.rs .find-menu input{width:18px;height:18px;margin:0;accent-color:var(--acc)}
/* S10: each option's count sits at the right; an option that leaves no books is soft and can't be picked. */
.rs .find-menu .find-n{margin-left:auto;padding-left:16px;color:var(--mut);font-variant-numeric:tabular-nums}
.rs .find-menu .find-zero{color:var(--mut);cursor:default}
@media (hover:hover){.rs .find-menu .find-zero:hover{background:none}}
.rs-on{display:flex;flex-wrap:wrap;align-items:center;gap:0 20px;margin:4px 0 0;font-size:15px}
.rs-f{display:inline-flex;align-items:center}
.rs-x{width:44px;height:44px;margin-left:-6px;border:0;background:none;color:var(--mut);font:400 20px/1 'Public Sans','Public Sans Fallback',sans-serif;cursor:pointer}
@media (hover:hover){.rs-x:hover{color:var(--ink)}}
.rs-clear{min-height:44px;padding:0;border:0;background:none;color:var(--link);font:600 15px 'Public Sans','Public Sans Fallback',sans-serif;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
/* Rows: cover 64 | text | trust 280 | Save, a hairline between rows, nothing around the list. */
.rs-list{list-style:none;margin:16px 0 0;padding:0}
.rs-row{display:grid;grid-template-columns:64px minmax(0,1fr) 280px auto;gap:24px;align-items:start;padding:24px 0}
.rs-row+.rs-row{border-top:1px solid var(--rule)}
.rs-cv{display:block}
.rs-tx h2{font:500 20px/1.25 Newsreader,serif;margin:0}
.rs-tx .by{color:var(--mut);font-size:15px;margin:4px 0 0}
.rs-tx .why{font-size:16px;margin:8px 0 0}
.rs-tr .tr{margin-top:3px}
.rs-sv{justify-self:end}
.rs-sv .sv-s{margin:-10px 0 0}
.rs-div{color:var(--mut);font-size:15px;padding:32px 0 4px;border-top:1px solid var(--rule)}
.rs-div+.rs-row{border-top:0}
/* Related books (meaning-fill.js): the house eyebrow, continuing the result list (Juno, Nov 14). */
.rs-div.find-meaning{font-weight:600;font-size:14px;color:var(--mut)}
.rs-rel{list-style:none;padding:20px 0 12px;border-top:1px solid var(--rule)}
.rs-rel+.rs-row{border-top:1px solid var(--rule)}
/* Related topics is a block inside the results column: the --h-sub rank, 20 phone and 22 from 900 (Juno). */
.rs-rel h2.sh{font-size:var(--h-sub);margin:0 0 4px}
.rs-rel .rs-au a{flex-direction:column;align-items:flex-start;justify-content:center;min-height:44px;padding:8px 0}
.rs-rel-t{color:var(--ink)}
.rs-rel-m{color:var(--mut);font-size:14px;line-height:20px}
.rs-more{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:28px 0 0;border-top:1px solid var(--rule)}
.rs-more p{margin:0;color:var(--mut);font-size:15px}
.rs-more .buy{background:none;color:var(--ink);font-family:'Public Sans','Public Sans Fallback',sans-serif;cursor:pointer}
.rs .find-none{margin:16px 0 0}
.rs .find-none p{margin:0 0 12px}
.rs .button.secondary{display:inline-flex;align-items:center;height:44px;padding:0 16px;border-radius:var(--r-control);border:1.5px solid var(--rule);background:none;color:var(--ink);font:600 15px 'Public Sans','Public Sans Fallback',sans-serif;cursor:pointer}
/* "Not here? Search Amazon for …" (#254): a hairline, 24 px, the line, then the disclosure on its own line. */
.rs .find-amazon{border-top:1px solid var(--rule);margin-top:32px;padding-top:24px;font-size:15px}
.rs .find-amazon p{margin:0}
.rs .find-amazon-q{color:var(--mut)}
.rs .find-amazon a{color:var(--link);font-weight:600;text-underline-offset:3px}
.rs .find-amazon p.find-amazon-note{color:var(--mut);margin-top:6px}
/* We list nothing for the query: the Amazon line leads, at 18 px, in ink. Still a link: no button, no banner. */
.rs .find-amazon.lead{border:0;margin-top:16px;padding-top:0}
.rs .find-amazon.lead .find-amazon-q{display:none}
.rs .find-amazon.lead a{font-size:18px;font-weight:600;color:var(--ink)}
.rs-topics>p{font-weight:600;font-size:15px;color:var(--mut);margin:40px 0 4px}
.rs-nojs{color:var(--mut);margin:24px 0 0}
.rs .cover-credit{margin-top:40px}
/* Discover (DIRECTION §3): quick starts as text tabs under the box, the current one underlined; one-tap subjects. */
.qs ul{display:flex;flex-wrap:wrap;gap:0 28px;margin:20px 0 0;padding:0;list-style:none}
.qs a{display:inline-flex;align-items:center;min-height:44px;font:500 18px/24px Newsreader,serif;color:var(--ink);text-decoration:none;border-bottom:2px solid transparent}
@media (hover:hover){.qs a:hover{border-color:var(--rule)}}
.qs a[aria-current]{border-color:var(--ink);font-weight:600}
.qs-subs{display:flex;flex-wrap:wrap;gap:0 22px;margin:8px 0 0}
.qs-subs a{display:inline-flex;align-items:center;min-height:44px;font-size:15px;color:var(--ink);text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--mut)}
@media (hover:hover){.qs-subs a:hover{text-decoration-color:currentColor}}
.qs-subs a:last-child{color:var(--link)}
.rs #all-subjects{scroll-margin-top:80px}
/* /browse?q=…: hold the page until the first results are drawn (browse-q.js sets q-wait; search.js clears it). */
.q-wait .rs-head,.q-wait .rs .find-tools{visibility:hidden}
.q-wait .rs{min-height:100vh}
/* The cover credit comes in the same frame as the results, under them, never before (Juno, R3-91 / VB-45). No gap is held for it. */
.q-wait .rs .cover-credit{display:none}
.pre-off .rs .find-list[data-pre],.pre-off .rs .find-tools[data-pre]{display:none}
.d-wait .rs{min-height:100vh}
.d-wait #all-subjects{display:none}
@media (max-width:899px){
  .qs ul{flex-wrap:nowrap;overflow-x:auto;gap:22px;margin:12px -20px 0;padding:0 20px;scrollbar-width:none}
  .qs ul::-webkit-scrollbar{display:none}
  .qs a{white-space:nowrap;font-size:17px}
  .qs-subs{gap:0 16px}
  .rs{padding-block:24px 16px}
  .rs-head{margin-top:28px}
  .rs-head.rs-top{margin-top:0}
  .rs-head.rs-nothing h1{font-size:24px}
  .rs-close{font-size:20px}
  .rs-row{grid-template-columns:64px minmax(0,1fr);gap:4px 16px;padding:20px 0}
  .rs-cv{grid-row:1/3}
  .rs-tx h2{font-size:19px}
  .rs-tr{grid-column:2}
  .rs-sv{grid-column:1/-1}
  .rs-tr .tr{margin-top:8px}
  .rs-sv{justify-self:start}
  .rs-sv .sv-s{margin:0 0 -10px -4px}
}

.ri-line{margin:8px 0 0}
.ri,.ri-done,.ri-rate,.ri-link{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 4px;margin-left:-4px;border:0;background:none;color:var(--ink);font:600 15px 'Public Sans','Public Sans Fallback',sans-serif;text-decoration:none;cursor:pointer}
.ri[hidden],.sv-s[hidden],.sv[hidden]{display:none}
@media (hover:hover){.ri:hover span,.ri-reopen:hover,.ri-rate:hover,.ri-link:hover{text-decoration:underline;text-underline-offset:3px}}
.ri-check{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
/* A rail card's Want to read icon draws from here, so twelve cards carry one short tag each, not the stroke attributes. */
.ri-save{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.ri-check.filled{box-sizing:border-box;padding:3px;border-radius:50%;background:var(--saved);stroke:var(--bg)}
.ri-done{color:var(--saved);cursor:default}
button.ri-done{cursor:pointer}
/* The filled check keeps its circle beside any words, and a two-line rating reads from the left (Seph's iPhone, Nov 22). */
.ri-done>.ri-check{flex:none}button.ri-reopen{text-align:left}
.ri-wrap{display:flex;flex-wrap:wrap;align-items:center;gap:0 16px}
.ri-rate,.ri-link{font-weight:600;font-size:14px;color:var(--mut);text-decoration:underline;text-underline-offset:3px}
.ri-prompt{flex-basis:100%;margin:0}
.ri-stars{display:flex;gap:0;width:220px;max-width:calc(100% + 8px);margin:0 0 0 -8px;color:var(--ink);cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:pan-y}
.ri-stars:focus{outline:none}.ri-stars:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
/* Each star is a 44 px slot, the art 28 px in its middle: a tap picks the whole star it lands on (Vera R1). */
.ri-star{position:relative;display:inline-flex;flex:1 1 0;min-width:28px;height:44px}
.ri-star svg{position:absolute;top:10px;left:50%;width:24px;height:24px;margin-left:-12px;pointer-events:none;overflow:visible}
/* Laurels, not stars (SPEC-STOA-GRADE, 18:30 Nov 15): a given laurel filled in --laurel, the rest the same drawing at 30%. */
.ri-star{color:var(--laurel);border-radius:var(--r-control);}.ri-star:focus{outline:none}.ri-star:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}
.ri-star:not(.on) svg{opacity:var(--laurel-off)}.ri-laurel .lr-stem{fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round}.ri-laurel .lr-leaf{fill:currentColor;stroke:none}
.ri-tools{display:flex;align-items:center;gap:16px;margin:8px 0 0;line-height:20px;min-height:20px}.ri-tools .ri-link{min-height:44px}
.ri-your{font-size:15px;color:var(--ink)}.ri-x{font-size:20px;text-decoration:none}
/* Under 600 a rating takes its own full-width row, so the rating words never break; Change and Undo go on the row below, left, 16px apart (Juno, laurels v2). */
@media (max-width:599.98px){.ri-tools:has(.ri-change){flex-wrap:wrap;row-gap:12px}.ri-tools:has(.ri-change) .ri-your{flex:1 0 100%;text-wrap:pretty}}
.ri-private{margin:4px 0 0;color:var(--mut);font-size:14px}
.ri-error{flex-basis:100%;margin-top:4px;color:var(--ink);font-size:14px}
/* Covers never blank (sprint 3, DIRECTION §4): the subject-toned title block under every cover. */
.cv-box{overflow:hidden;color:#f4f4f0}
.cv-box>.cv.cv-wait{opacity:0}
@media (prefers-reduced-motion:no-preference){.cv-box>.cv{transition:opacity .15s ease}}
.cv-box .cv-none{background:none;border:0;padding:18cqw 10cqw 0}
.cv-box .cv-none b{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden;font:500 15cqi/1.12 Newsreader,serif;color:#f4f4f0;overflow-wrap:normal;word-break:normal;hyphens:none}
/* The title's size is a fixed scale of three steps (Juno, WS-63 N2-pre-2): L 15cqi, M 11.5cqi, S 9cqi, picked at build
   per title (cover-tone.mjs coverStep: the largest that wraps to 5 lines without splitting a word; S with hyphens when
   nothing else fits). A step that would draw under 12px hides the title instead (tone, hairline, surname), so no
   typeset title is ever under 12px: S under 133.33px wide, M under 104.35px, L under 80px. */
.cv-box .cv-none b{font-size:15cqi;-webkit-line-clamp:5}
.cv-box .cv-none b.cv-m{font-size:11.5cqi}.cv-box .cv-none b.cv-s{font-size:9cqi}.cv-box .cv-none b.cv-hy{-webkit-hyphens:auto;hyphens:auto;overflow-wrap:anywhere}
@supports (hyphenate-limit-chars:10 4 4){.cv-box .cv-none b.cv-hy{hyphenate-limit-chars:10 4 4}}
@container (max-width:133.34px){.cv-box .cv-none b.cv-s{visibility:hidden}}
@container (max-width:104.35px){.cv-box .cv-none b.cv-m{visibility:hidden}}
@container (max-width:79.99px){.cv-box .cv-none b{visibility:hidden}}
.cv-box .cv-none i{position:absolute;left:10cqw;right:10cqw;bottom:0;height:16cqw;overflow:hidden;padding-top:2.5cqw;margin:0;border-top:1px solid rgb(244 244 240/.3);font:400 max(9px,9cqw)/1 'Public Sans','Public Sans Fallback',sans-serif;font-style:normal;color:#f4f4f0;white-space:nowrap}
@container (max-width:63.98px){.cv-box .cv-none{padding:10cqw 8cqw 0}.cv-box .cv-none i{display:none}}
/* Juno: the 97-124 px boxes (the phone lead) keep the surname; only 96 px and under are title-only. */
@container (min-width:96.02px) and (max-width:124px){.cv-box .cv-none i{display:block}}
@media (prefers-color-scheme:dark){.cv-box{outline:1px solid var(--rule);outline-offset:-1px}}
.cvt-history{background:#3a3f5a}
.cvt-lives{background:#4a3c52}
.cvt-society{background:#2f4a4a}
.cvt-politics{background:#44303d}
.cvt-economics{background:#2c4a3b}
.cvt-nature{background:#34492f}
.cvt-science{background:#234059}
.cvt-technology{background:#333a44}
.cvt-health{background:#2d4c55}
.cvt-mind{background:#3e3d5e}
.cvt-philosophy{background:#2b2b38}
.cvt-arts{background:#4a3838}
.cvt-business{background:#3a4651}
.cvt-none{background:#2b2b38}
/* R3-93 (Juno): a small box is a typeset mini-cover, never a lone letter and never a blank slab. The old one-letter
   tile (UX-27) is retired; its <em class="cv-ini"> stays in the markup until the next full rebuild, never shown.
   96 to 133 px: every title step at 12cqi, up to 5 lines. 48 to 95 px: the title at max(8px, 14cqi), up to 4 lines,
   over the hairline where the surname sits on a big cover. Under 48 px: no type; a title-block mark (a 2 px rule
   over a 1 px rule) and the same hairline. The text is decoration: .cv-none is aria-hidden, and the row names the book.
   A home fan (.dh-fc, .dh-hc) and an opener strip (.strip) keep their own rules: their covers overlap, so a title there would be cut (Vera A on app #631).
   Long words break with a real hyphen (hyphens:auto, lang="en"); a word still too wide is clipped, never split (Juno). */
.cv-box .cv-none .cv-ini{display:none}
@container (min-width:96px) and (max-width:133.34px){.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none b,.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none b.cv-m,.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none b.cv-s{visibility:visible;font-size:12cqi;-webkit-line-clamp:5;-webkit-hyphens:auto;hyphens:auto;overflow-wrap:normal;word-break:normal}}
@container (max-width:95.98px){.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none{padding:12cqw 10cqw 0}.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none i{visibility:hidden}.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none b,.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none b.cv-m,.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none b.cv-s{visibility:visible;font-size:max(8px,14cqi);line-height:1.15;-webkit-line-clamp:4;-webkit-hyphens:auto;hyphens:auto;overflow-wrap:normal;word-break:normal}.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none::after{content:'';position:absolute;left:10cqw;right:10cqw;bottom:16cqw;border-top:1px solid rgb(244 244 240/.3)}}
/* A title whose longest word would not fit a small tier's size steps down to the size it fits (cv-wN, coverFit at build and in
   cover-box.js), to the 8 px floor; only under the floor is a word clipped (Juno, R3-93 follow-up). */
@container (min-width:96px) and (max-width:133.34px){.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none b.cv-w11{font-size:max(8px,11cqi)}.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none b.cv-w10{font-size:max(8px,10cqi)}.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none b.cv-w9{font-size:max(8px,9cqi)}.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none b.cv-w8{font-size:max(8px,8cqi)}}
@container (max-width:95.98px){.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none b.cv-w13{font-size:max(8px,13cqi)}.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none b.cv-w12{font-size:max(8px,12cqi)}.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none b.cv-w11{font-size:max(8px,11cqi)}.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none b.cv-w10{font-size:max(8px,10cqi)}.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none b.cv-w9{font-size:max(8px,9cqi)}.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none b.cv-w8{font-size:max(8px,8cqi)}}
/* ...and where even the 8 px floor can't fit that word (a box under 800/N px), the title-block mark stands in for the title,
   so no word is ever clipped (Juno, R3-93 follow-up). */
@container (max-width:99.99px){.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none b.cv-w8{visibility:hidden}.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none:has(> b.cv-w8)::before{content:'';position:absolute;left:12cqw;right:12cqw;top:16cqw;height:20cqw;border-top:max(2px,3cqw) solid rgb(244 244 240/.75);border-bottom:1px solid rgb(244 244 240/.3)}}
@container (max-width:88.88px){.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none b.cv-w9{visibility:hidden}.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none:has(> b.cv-w9)::before{content:'';position:absolute;left:12cqw;right:12cqw;top:16cqw;height:20cqw;border-top:max(2px,3cqw) solid rgb(244 244 240/.75);border-bottom:1px solid rgb(244 244 240/.3)}}
@container (max-width:79.99px){.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none b.cv-w10{visibility:hidden}.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none:has(> b.cv-w10)::before{content:'';position:absolute;left:12cqw;right:12cqw;top:16cqw;height:20cqw;border-top:max(2px,3cqw) solid rgb(244 244 240/.75);border-bottom:1px solid rgb(244 244 240/.3)}}
@container (max-width:72.72px){.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none b.cv-w11{visibility:hidden}.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none:has(> b.cv-w11)::before{content:'';position:absolute;left:12cqw;right:12cqw;top:16cqw;height:20cqw;border-top:max(2px,3cqw) solid rgb(244 244 240/.75);border-bottom:1px solid rgb(244 244 240/.3)}}
@container (max-width:66.66px){.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none b.cv-w12{visibility:hidden}.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none:has(> b.cv-w12)::before{content:'';position:absolute;left:12cqw;right:12cqw;top:16cqw;height:20cqw;border-top:max(2px,3cqw) solid rgb(244 244 240/.75);border-bottom:1px solid rgb(244 244 240/.3)}}
@container (max-width:61.53px){.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none b.cv-w13{visibility:hidden}.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none:has(> b.cv-w13)::before{content:'';position:absolute;left:12cqw;right:12cqw;top:16cqw;height:20cqw;border-top:max(2px,3cqw) solid rgb(244 244 240/.75);border-bottom:1px solid rgb(244 244 240/.3)}}
@container (max-width:57.13px){.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none b.cv-w14{visibility:hidden}.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none:has(> b.cv-w14)::before{content:'';position:absolute;left:12cqw;right:12cqw;top:16cqw;height:20cqw;border-top:max(2px,3cqw) solid rgb(244 244 240/.75);border-bottom:1px solid rgb(244 244 240/.3)}}
@container (max-width:53.32px){.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none b.cv-w15{visibility:hidden}.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none:has(> b.cv-w15)::before{content:'';position:absolute;left:12cqw;right:12cqw;top:16cqw;height:20cqw;border-top:max(2px,3cqw) solid rgb(244 244 240/.75);border-bottom:1px solid rgb(244 244 240/.3)}}
@container (max-width:49.99px){.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none b.cv-w16{visibility:hidden}.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none:has(> b.cv-w16)::before{content:'';position:absolute;left:12cqw;right:12cqw;top:16cqw;height:20cqw;border-top:max(2px,3cqw) solid rgb(244 244 240/.75);border-bottom:1px solid rgb(244 244 240/.3)}}
/* Under 64 px a typeset cover sits in a row that already names the book (the rate strip, search, Ask, shelf lists), so it
   always shows the title-block mark: text there only repeats the row, and mixing the two looks uneven (Juno, Vera B on
   #644). Fans keep their own rules; Discover's subject and genre tiles (.dh-sc) name a subject, so their covers keep the tiers. */
@container (max-width:63.98px){.cv-box:not(:is(.dh-fc, .dh-hc, .strip, .dh-sc) *) .cv-none b,.cv-box:not(:is(.dh-fc, .dh-hc, .strip, .dh-sc) *) .cv-none b.cv-m,.cv-box:not(:is(.dh-fc, .dh-hc, .strip, .dh-sc) *) .cv-none b.cv-s{visibility:hidden}.cv-box:not(:is(.dh-fc, .dh-hc, .strip, .dh-sc) *) .cv-none::before{content:'';position:absolute;left:12cqw;right:12cqw;top:16cqw;height:20cqw;border-top:max(2px,3cqw) solid rgb(244 244 240/.75);border-bottom:1px solid rgb(244 244 240/.3)}}
@container (max-width:47.98px){.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none b,.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none b.cv-m,.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none b.cv-s{visibility:hidden}.cv-box:not(:is(.dh-fc, .dh-hc, .strip) *) .cv-none::before{content:'';position:absolute;left:12cqw;right:12cqw;top:16cqw;height:20cqw;border-top:max(2px,3cqw) solid rgb(244 244 240/.75);border-bottom:1px solid rgb(244 244 240/.3)}}
/* Home's fans (.dh-fc, .dh-hc): the covers overlap, so a typeset card shows the title-block mark and the hairline,
   never its title (home.css hides the text), at every size and on the front cover too: never a blank block (R3-45),
   never a clipped title (Juno, R3-93 follow-up, Vera A on app #631). */
:is(.dh-fc,.dh-hc) .cv-box:not(:has(> img)) .cv-none::before{content:'';position:absolute;left:12cqw;right:12cqw;top:16cqw;height:20cqw;border-top:max(2px,3cqw) solid rgb(244 244 240/.75);border-bottom:1px solid rgb(244 244 240/.3)}
:is(.dh-fc,.dh-hc) .cv-box:not(:has(> img)) .cv-none::after{content:'';position:absolute;left:10cqw;right:10cqw;bottom:16cqw;border-top:1px solid rgb(244 244 240/.3)}
/* §7.7 (Vera R2, #284): the open block is about 108 px, not 158. Read, the readout and Undo draw at 20 px and keep
   their 44 px targets in padding that overhangs the 8 px gaps, so nothing moves and every target stays 44 px. */
.ri-wrap:has(.ri-stars) .ri-done,.ri-tools .ri-link{min-height:20px;padding-top:12px;padding-bottom:12px;margin-top:-12px;margin-bottom:-12px}
.ri-stars{position:relative;z-index:1}
/* read-it.js holdRail: a folding prompt keeps its rail's height. Home loads this, not shell.css (Vera B on #653). */
.rail[data-ri-hold]{min-height:var(--ri-hold)}
/* Search rows carry Save and I've read it like every row (C11, Vera #284): a column from 900 px, one line below. */
.rs-row{grid-template-columns:64px minmax(0,1fr) 280px 168px}
.rs-sv.sv-ri{justify-self:start;flex-direction:column;align-items:flex-start;gap:0;margin-top:-10px}.rs-sv.sv-ri .sv-s{margin:0 0 0 -4px}
/* UX-08 (Juno): under 900 px the pair spans the row from the cover's left edge, 12 px under the text (4 px row gap + 8). */
@media (max-width:899px){.rs-row{grid-template-columns:64px minmax(0,1fr)}.rs-sv.sv-ri{flex-direction:row;flex-wrap:wrap;gap:0 16px;margin:8px 0 -10px}}
/* Juno #286: a search row's title is the row title everywhere (§7.3), Public Sans 17/24 at 600, not Newsreader. */
.rs-tx h2{font:600 17px/24px 'Public Sans','Public Sans Fallback',sans-serif;letter-spacing:0}
@media (max-width:899px){.rs-tx h2{font-size:17px}}
/* Discover (Juno on #307): the proof sits under the author in the text column; Save and I've read it on the right. */
@media (min-width:900px){
  [data-discover] .rs-row{grid-template-columns:64px minmax(0,1fr) 168px;gap:0 24px}
  [data-discover] .rs-cv{grid-row:1/3}
  [data-discover] .rs-tx{grid-column:2;grid-row:1}
  [data-discover] .rs-tr{grid-column:2;grid-row:2}
  [data-discover] .rs-tr .tr{margin-top:8px}
  [data-discover] .rs-sv{grid-column:3;grid-row:1/3}
}
/* S2 (Juno, DZ-5): a sentence search opens with Ask Stoa, the query as its label and one secondary button. */
.rs-askq{margin:8px 0 24px;padding:16px 0;border-block:1px solid var(--rule)}
.rs-askq .rs-askq-b{height:auto;min-height:44px;max-width:100%;padding:10px 18px;line-height:22px;overflow-wrap:anywhere}
/* S7 (Juno, DZ-5) with R3-78: under 600 a result row has no icon column; the title takes its width. Want to read and
   I've read it sit as one row under the proof line, icon and words, the same 32 px buttons as a tile (44 px targets). */
@media (max-width:599.98px){
  .rs-row{grid-template-columns:64px minmax(0,1fr);gap:0 16px}
  .rs-cv{grid-row:1/4}
  .rs-tx{grid-column:2;grid-row:1}
  .rs-tr{grid-column:2;grid-row:2}
  .rs-sv.sv-ri{grid-column:2;grid-row:3;align-self:start;justify-self:start;flex-direction:row;flex-wrap:wrap;gap:12px 20px;min-height:32px;margin:12px 0 0}
  .rs-sv.sv-ri :is(.sv-s,.ri){position:relative;display:inline-flex;align-items:center;gap:8px;height:32px;min-height:32px;padding:0;margin:0;font-size:14px;line-height:20px;white-space:nowrap}
  .rs-sv.sv-ri :is(.sv-s,.ri)::after{content:"";position:absolute;inset:-6px 0}
  .rs-sv.sv-ri .ri-wrap > :is(.ri-done,.ri-rate){min-height:32px;padding:0;margin:0;font-size:14px}
  .rs-row.rs-pf .why{display:none}
  .rs-row.rs-rk.rs-pf .why{display:block}
}
/* VB-57: under 360 the text column (208 px at 320) can't hold Want to read and I've read it on one line, so they wrapped to
   76 px and folded to the 32 px Read chip once the shelf came in, moving every row below. Under the cover, the whole row
   wide, they are one 32 px line in either state. */
@media (max-width:359.98px){
  .rs-cv{grid-row:1/3}
  .rs-sv.sv-ri{grid-column:1/-1;grid-row:3}
}
/* All 13 subjects as a wrapped list: 2 columns of 44 px rows on a phone, 4 on a wide screen. */
[data-discover] #all-subjects .topics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 24px;margin:0;padding:0;overflow:visible;flex-wrap:wrap}
[data-discover] #all-subjects .topics a{display:flex;align-items:center;min-height:44px;font-size:19px;line-height:24px;white-space:normal}
@media (max-width:899px){[data-discover] #all-subjects .topics{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}[data-discover] #all-subjects .topics a{font-size:17px}}
/* The quick-start row on a phone: it scrolls inside its own gutter, and fades at the right while more tabs remain. */
@media (max-width:899px){
  .qs ul{scroll-padding-inline:20px;scroll-snap-type:x proximity}
  .qs li{scroll-snap-align:start}
  .qs.more ul{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 24px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 24px),transparent)}
}
/* Best of the year (DIRECTION §16): one ranked list; numerals allowed here as on Stoa's best. */
.best{padding-block:48px 24px}
.best h1,.soc h1{font:500 56px/1.05 Newsreader,serif;letter-spacing:-.02em;margin:0}
.soc h1{margin-top:48px}
.best-lede{font:400 22px/1.4 'Public Sans','Public Sans Fallback',system-ui,sans-serif;margin:16px 0 0;max-width:40ch}
.best-n{color:var(--mut);font-size:15px;margin:12px 0 0}
.best-list{margin:32px 0 0;padding:0;list-style:none;grid-template-columns:1fr}
.best-list li{grid-template-columns:40px 80px minmax(0,1fr) 168px}
/* UX-29 (Juno): one row title style, the row's sans at 17/24 600 (.rank h3), as search, list and shell rows; the serif
   stays for page and section heads. */
.best-list h3{display:block;-webkit-line-clamp:none}
.best-list .why{display:block;-webkit-line-clamp:none}
.best-list .tr span{white-space:normal}
.best-list .n{font-size:32px;line-height:36px}
.best-how{border-top:1px solid var(--rule);margin:0;padding-top:16px;color:var(--mut);font-size:15px;max-width:72ch}
.best-how a{color:var(--link);text-decoration:underline;text-underline-offset:3px}
.best-years{display:flex;flex-wrap:wrap;gap:0 24px;margin:16px 0 0}
.best-years a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);text-decoration:underline;text-underline-offset:3px}
/* /best (Juno, Nov 23): every list, grouped; two columns from 600px, the years as a wrapped row of links. */
.bi-g{margin:32px 0}
.best-idx{list-style:none;margin:12px 0 0;padding:0;display:grid;grid-template-columns:1fr;gap:0 32px}
.best-idx li{border-top:1px solid var(--rule);padding:12px 0;min-width:0}
.best-idx a{display:flex;align-items:baseline;justify-content:space-between;gap:12px;min-height:44px;color:var(--ink);text-decoration:none}
/* People 2b: the gloss sits the same 14px under a one-line label as under a wrapped one; the tap target stays 44px (Vera, WCAG 2.5.8). */
.best-idx a:has(+ .bi-d){min-height:24px;padding:10px 0;margin:-10px 0 4px}
.pp-all{margin:4px 0 0}.pp-all a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);font-weight:600;text-decoration:underline;text-underline-offset:3px}
@media (hover:hover){.best-idx a:hover .bi-l{text-decoration:underline;text-underline-offset:3px}}
.bi-l{font:600 17px/24px 'Public Sans','Public Sans Fallback',system-ui,sans-serif;min-width:0}
.bi-n{color:var(--mut);font-size:15px;white-space:nowrap}
.bi-d{display:block;color:var(--mut);font-size:15px;line-height:22px}
.best-idx.bi-years{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:0 8px}
.best-idx.bi-years li{border:0;padding:0}
.best-idx.bi-years a{display:flex;align-items:center;min-height:44px;font:400 17px/24px 'Public Sans','Public Sans Fallback',system-ui,sans-serif;text-decoration:underline;text-underline-offset:3px;color:var(--ink)}
@media (min-width:600px){.best-idx:not(.bi-years){grid-template-columns:1fr 1fr}}
.qs-best{margin:12px 0 0;font-size:15px}
.qs-best a{display:inline-flex;align-items:center;min-height:44px;color:var(--link);text-decoration:underline;text-underline-offset:3px}
@media (max-width:899px){
  .best{padding-block:28px 16px}
  .best h1,.soc h1{font-size:36px}
  .soc h1{margin-top:28px}
  .best-lede{font-size:18px}
  .best-list li{grid-template-columns:32px 64px minmax(0,1fr)}
  .best-list li:nth-child(n+7){display:grid}
  .best-list .n{font-size:24px;line-height:28px}
}
/* The Society's members line reads as part of the offer: body size in ink, the join panel right under it (SPEC-PRE-SPRINT B). */
/* R3-49 nit (Juno): the ask leads the join panel, above its button, so the two read as one block. */
.soc-join .soc-more{margin:0 0 16px;font:400 17px/24px 'Public Sans','Public Sans Fallback',system-ui,sans-serif;color:var(--ink);max-width:36ch}

/* /browse: Authors and Subjects after the books (SPEC-DISCOVER-SYSTEM §5), the sheet's groups at page size. */
.rs-groups{margin-top:32px}
.rs-g{padding-top:20px;border-top:1px solid var(--rule)}
.rs-g + .rs-g{margin-top:24px}
.rs-g h2.sh{margin:0 0 8px}
.rs-au{list-style:none;margin:0;padding:0}
.rs-au li + li{border-top:1px solid var(--rule)}
.rs-au a{display:flex;align-items:center;min-height:44px;font-size:15px;line-height:20px;color:var(--ink);text-decoration:none}
@media (hover:hover){.rs-au a:hover{text-decoration:underline;text-underline-offset:3px}}

/* /discover's own block (SPEC-DISCOVER-SYSTEM §7): Ways in, Subjects, More collections, before its books. */
.dz-all{margin:32px 0 32px}
.dz-s + .dz-s{margin-top:24px}
.dz-s h2.sh{margin:0 0 8px}/* the shared section size (--h-section), like Ways in and Genres (R3-8) */
/* For you (DZ-3): not shown by itself. A signed-in page whose last visit drew the row (session-state.js data-fy, before
   paint) holds its space with a skeleton of the rail's own tiles, so the row lands without moving the page. site/discover-for-you.js fills it or removes it. */
.dz-all > .fy{display:none}
html[data-signed-in][data-fy] .dz-all > .fy,.dz-all > .fy.fy-in{display:block}
.fy .fy-sk{pointer-events:none}
.fy .fy-sk > span{display:block;border-radius:2px;background:var(--rule)}
.fy .fy-sk .fy-sk-c{aspect-ratio:2/3;width:100%}
.fy .fy-sk .fy-sk-t{height:22px;width:85%;margin:12px 0 22px}
.fy .fy-sk .fy-sk-b{height:16px;width:60%;margin:6px 0 2px}
.fy .fy-sk > span:nth-child(4){height:40px;margin-top:8px;background:none}
.fy .fy-sk > span:nth-child(5){height:44px;margin-top:8px;background:none}
.fy[data-graded] .fy-sk > span:nth-child(4){height:66px}
.fy-tune{margin:12px 0 0;font-size:15px;line-height:20px}
.fy-tune a{display:inline-block;padding:12px 0;color:var(--dh-link);font-weight:600;text-underline-offset:3px}
@media (prefers-reduced-motion:no-preference){.fy-in .fy-rail .card{animation:fy-in .2s ease-out}@keyframes fy-in{from{opacity:0}}}
/* Read with others (PROPOSAL-CLUBS-CONNECTED P1 1): one muted line, then the links as More collections sets them. In a club: only Start another club. */
.dz-club-l{margin:0 0 8px;color:var(--dh-mut);max-width:42rem}
.dz-club[data-in-a-club] :is(.dz-club-l,.dz-club-find,.dz-club-new),.dz-club:not([data-in-a-club]) .dz-club-more{display:none}
html.d-view .dz-all{display:none}
/* DZ-1 (Juno, DISCOVER-REVIEW.md): Ways in is ten tiles with counts, 2 to a row under 1000 and 5 from 1000, so no row
   ends half empty; Genres is all 19 as tiles. */
.dz-all .dz-ways{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:1000px){.dz-all .dz-ways{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media (max-width:299.98px){.dz-all .dz-ways{grid-template-columns:minmax(0,1fr)}}
/* Below 372, Genres stays two columns (Juno, 21:07). A 32 px cover left "Productivity" short of the 8 px clearance
   even at 14 px (-0.1 at 320), so there the tiles drop the cover and keep the label at 15 px: option (c). From 360 to
   371 the 40 px cover cleared it by only 4 px, so the break sits at 372, not 360. */
@media (max-width:371.98px){
  .dz-all .dh-subj.dz-gn{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dz-gn .dh-sj{height:56px;padding:6px 12px}
  .dz-gn .dh-sc{display:none}
}
/* In two columns an odd last genre tile spans the row (PL20, Juno 21:08); four columns from 900 leave 3 on the last row. */
@media (max-width:899.98px){.dz-all .dz-gn li:last-child:nth-child(odd){grid-column:1/-1}}
.dh-way:has(.dh-wn){grid-template-rows:72px minmax(40px,auto) auto}/* two lines kept for the label, so counts in a row share a baseline (R3-46) */
.dh-wn{margin-top:2px;color:var(--dh-mut);font:400 14px/20px 'Public Sans','Public Sans Fallback',system-ui,sans-serif}
@media (min-width:1024px){.dh-way:has(.dh-wn){grid-template-rows:84px minmax(40px,auto) auto}}
/* Text-link lists are ruled rows (PL19): 44 px each, underlined, a rule between. */
.dz-all .lp-liked li+li{border-top:1px solid var(--rule)}
.dz-all .lp-liked a{display:flex;min-height:44px}
/* Ask Stoa after the indexes, its field at the content width up to 640 (D9), its suggestions 44 px rows. */
.dz-ask .ask{max-width:640px}
.dz-ask .ask-try li{height:44px}
/* D1: the full list's own head. */
.dz-all .dz-rank{margin-top:48px}
.dz-all:has(.dz-rank){margin-bottom:8px}
.dz-rank-l{margin:0;color:var(--dh-mut);font-size:15px;line-height:20px}
.dz-rank-l a{color:var(--ink);font-weight:600;text-decoration:underline;text-underline-offset:3px}
/* D10: Read with others closes the page as a band, like Home's invitation: Find a club a secondary button, Start a club a link. */
.dz-club{margin-top:0;padding-block:32px 56px;border-top:0}
.dz-club .invite h2.sh{margin:0 0 4px}
.dz-club .invite .dz-club-l{margin:0;font-size:17px;line-height:24px;color:var(--mut)}
.dz-club-a{display:flex;flex-wrap:wrap;align-items:center;gap:8px 24px;flex:none}
.dz-club .invite p.dz-club-a{margin:0;font-size:15px;max-width:none}
.dz-btn2{display:inline-flex;align-items:center;height:44px;padding:0 18px;border-radius:6px;border:1.5px solid color-mix(in srgb,var(--ink) 35%,transparent);color:var(--ink);font:600 15px 'Public Sans','Public Sans Fallback',sans-serif;text-decoration:none}
@media (hover:hover){.dz-btn2:hover{border-color:var(--ink)}}
.dz-club-a a:not(.dz-btn2){display:inline-flex;align-items:center;min-height:44px;color:var(--ink);font-weight:600;text-decoration:underline;text-underline-offset:3px}
@media (min-width:900px){
  .dz-all .sj{grid-template-columns:repeat(4,1fr);column-gap:24px}
}
/* On /discover itself the block replaces the quick-start tabs, the one-tap subjects and Browse by subject; a Ways in
   view (html.d-view) keeps its tabs so the current one stays marked. */
html:not(.d-view) [data-discover] .qs,html:not(.d-view) [data-discover] .qs-subs,html:not(.d-view) [data-discover] #all-subjects{display:none}
/* /browse no results: the shared state (SPEC-DISCOVER-SYSTEM §5), the sheet's pieces at page size. */
.rs-nomatch .ss-none{margin:8px 0 0;font-size:18px;line-height:24px;color:var(--ink)}
.rs-nomatch .ss-try{margin:4px 0 0;font-size:15px;line-height:20px;color:var(--mut)}
.rs-nomatch .ss-try a{color:var(--ink);font-weight:600}
.rs-nomatch .ss-sec{margin-top:24px}
/* Results that lead on (SPEC-SEARCH-BAR §5): the modest heading, the line under it, Go to, the end of the list, and the
   no-results page. Plain rows and text links, no pills; 44 px targets. */
.rs-head.rs-q .rs-ql{margin:0;font:500 22px/28px Newsreader,serif;letter-spacing:-.01em;color:var(--ink);overflow-wrap:anywhere}
.rs-head.rs-q .rs-close{margin:4px 0 0;font:400 15px/20px var(--font-ui,'Public Sans',system-ui,sans-serif);color:var(--mut)}
.rs-asked{display:flex;flex-wrap:wrap;align-items:center;column-gap:.3em;margin:4px 0 0;font-size:15px;line-height:20px;color:var(--mut)}
.rs-asked a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.rs-go{list-style:none;max-width:640px;margin:8px 0 16px;padding:0;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.rs-go li+li{border-top:1px solid var(--rule)}
.rs-go a{display:flex;align-items:center;gap:12px;min-height:52px;padding:6px 0;color:var(--ink);text-decoration:none}
@media (hover:hover){.rs-go a:hover .rs-go-t{text-decoration:underline;text-underline-offset:3px}}
.rs-go-tx{flex:1;min-width:0;display:flex;flex-direction:column}
.rs-go-t{font-size:16px;line-height:22px;font-weight:600;overflow-wrap:anywhere}
.rs-go-k,.rs-go-n{color:var(--mut);font-size:14px;line-height:20px}
.rs-go-n{flex:none}
/* F1 (Juno on #728): a person's search, their row, Picks by {name}, See all, then Books. */
.rs-person .rs-ph{margin:24px 0 0}
.rs-person .rs-picks{margin:0}
.rs-all{margin:8px 0 0}.rs-all a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);font-weight:600;text-decoration:underline;text-underline-offset:3px}
/* 4b (Juno's mock 10): under Stoa rank a ranked row leads with its place, in the display face, top-aligned with the
   cover, out of the row's grid so every column keeps its width. */
.rs-rk{position:relative;padding-left:56px}
.rs-rank{position:absolute;left:0;top:24px;width:48px;font:500 28px/1 var(--font-display,Newsreader,serif);color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap}
@media (max-width:899px){.rs-rk{padding-left:44px}.rs-rank{top:20px;width:38px;font-size:22px}}
.stg.stg-m{gap:0;min-height:18px;flex:none}
/* The Grade menu: each option on one line, its mark beside the words (Juno, Nov 28). */
.find-menu:has(.stg-m){min-width:min(20.5rem,calc(100vw - 16px));max-width:calc(100vw - 16px)}
@media (min-width:400px){.find-menu label:has(.stg-m){white-space:nowrap}}
@media (max-width:399.98px){.rs .find-menu:has(.stg-m) label{gap:8px;padding:0 12px;text-wrap:balance}.rs .find-menu:has(.stg-m) .find-n{padding-left:8px}}
.find-menu input{flex:none}
@media (max-width:599.98px){.rs-rk .rs-cv{grid-row:1/3}.rs-rk .rs-sv.sv-ri{grid-column:1/-1;grid-row:3;margin-left:-44px}}
.rs-end{margin-top:16px;border-top:1px solid var(--rule)}
.rs-nm{margin-top:24px}
/* No results' heads take the shared section size, 24 phone and 30 wide, like every Discover h2 (Juno, #585). */
.rs-nm h2.sh{margin:0 0 4px}
.rs-nm-t a{flex-direction:column;align-items:flex-start;justify-content:center;padding:8px 0}
.rs-nm-all{margin:24px 0 0}
.rs-nm-all a{display:inline-flex;align-items:center;min-height:44px;font-size:15px;font-weight:600;color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.rs-nomatch h2.sh{margin:0 0 8px}
.rs-nomatch .sj{list-style:none;margin:0;padding:0}
@media (min-width:900px){.rs-nomatch .sj{grid-template-columns:repeat(4,1fr);column-gap:24px}}
/* The shared onboarding module (shared/onboarding/, SPEC-PRE-SPRINT §E): its stylesheet reads only --ob-* properties, mapped here to .com's tokens so they follow dark mode. The home's rating strip sits in .rn, first for a signed-in member under five ratings; the Worker marks it data-due for a member under five ratings, and with [data-rate-due] (session-state.js: not put off with Not now) it holds its room from the first paint; .rn-done gives it back. */
/* A member's own rating is drawn in laurels, in this green and only here (SPEC-STOA-GRADE, 18:30 Nov 15). */
:root{--laurel:#3e6b3a;--laurel-off:.3}@media (prefers-color-scheme:dark){:root{--laurel:#8fbf86;--laurel-off:.4}}
:root{--ob-laurel:var(--laurel);--ob-ink:var(--ink);--ob-mut:var(--mut);--ob-line:var(--rule);--ob-rule:var(--rule);--ob-bg:var(--bg);--ob-surface:var(--bg);--ob-hover:var(--soft);--ob-accent:var(--acc);--ob-on-accent:var(--acc-ink);--ob-link:var(--link);--ob-error:var(--ink);--ob-font:'Public Sans','Public Sans Fallback',system-ui,sans-serif;--ob-display:Newsreader,serif;--ob-radius:var(--r-control);--ob-col:40rem}
/* The shared library module (shared/library/, SPEC-LIBRARY L4): My books at /me/books. Its stylesheet reads only --lib-* properties, mapped here to .com's tokens so they follow dark mode. */
:root{--lib-ink:var(--ink);--lib-mut:var(--mut);--lib-line:var(--rule);--lib-bg:var(--bg);--lib-surface:var(--bg);--lib-sunk:var(--soft);--lib-accent:var(--acc);--lib-on-accent:var(--acc-ink);--lib-error:var(--ink);--lib-font:'Public Sans','Public Sans Fallback',system-ui,sans-serif;--lib-display:Newsreader,'Newsreader Fallback','Newsreader Fallback Noto',serif;--lib-radius:var(--r-control);--lib-cover-radius:2px;--lib-sheet-radius:var(--r-card);--lib-lift:var(--shadow);--lib-lift-border:transparent;--lib-scrim:rgba(0,0,0,.45);--lib-on-cover:#fff;--lib-backdrop:rgba(0,0,0,.4);--lib-bottom:16px;--lib-sticky-top:0px;--lib-gap:.75rem;--lib-stone:#dcdfe3;--lib-stone-edge:#c4c8ce}
@media (prefers-color-scheme:dark){:root{--lib-lift:none;--lib-lift-border:var(--rule);--lib-glyph-off:#3d4046;--lib-stone:#2b2e34;--lib-stone-edge:#3d4046}}
.lib-cv>.cv-box{width:100%;height:100%;box-shadow:none}
/* In My books every typeset cover keeps its title, whatever its size (Juno on #361): the wall's and the rail's at their step. Thumbs beside their own title (Next up, the sheets) are tone only (M1, library.css). */
.lib .cv-box .cv-none b{visibility:visible}
.lib-cv-48 .cv-box .cv-none{padding:5px 4px 0}
.lib-cv-48 .cv-box .cv-none b{font-size:8px;line-height:1.1;-webkit-line-clamp:4}
/* Shelf v3 (shared/library/shelf3/) in light: the wall and the stone in .com's warm neutrals, not the shelf's own cool grey (Juno on #534). :root .s3 outranks the shelf's light defaults and loses to its dark rules, so dark keeps the shelf's own. */
:root .s3{--s3-wall:#ecebe7;--s3-wall2:#e1dfda;--s3-stone:#d8d5cf;--s3-stone-face:#c4c1b9;--s3-stone-dk:#b3b0a8}
/* The slot is a screen tall before the module draws, as .lib is after, so the footer never paints high and then moves (Vera on #361: CLS). */
.lib-slot{min-height:100svh}
/* R3-92 (Juno): the member's clubs, one line after the shelves: Public Sans 400 15/22 in --mut, the names in ink. */
/* It follows My Shelf's foot ("Your public page") 12 px down, over the library's own 32 px bottom padding. */
.lib-clubs{max-width:42rem;margin:-20px 0 0;font:400 15px/22px var(--lib-font);color:var(--lib-mut)}
/* S3 (Juno's audit): Your clubs as a row of club images near the top of My Shelf; wraps to a second line when it can't fit. */
.lib-clubs.lib-clubs-row{max-width:none;margin:16px 0 0;color:var(--lib-ink)}
.lib-clubs-h{margin:0 0 8px;font:600 13px/20px var(--lib-font);letter-spacing:.02em;color:var(--lib-mut)}
.lib-clubs-l{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.lib-clubs-l li{min-width:0;max-width:100%}
.lib-clubs .lib-club{display:flex;align-items:center;gap:8px;min-height:44px;padding:4px 14px 4px 4px;border:1px solid var(--lib-line);border-radius:var(--r-control,8px);color:var(--lib-ink);text-decoration:none;font:500 15px/20px var(--lib-font);overflow-wrap:anywhere}
.lib-clubs .lib-club:focus-visible .lib-club-n{text-decoration:underline;text-underline-offset:.2em}@media (hover:hover){.lib-clubs .lib-club:hover .lib-club-n{text-decoration:underline;text-underline-offset:.2em}}
.lib-club-i{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:6px;object-fit:cover;background:var(--lib-sunk);font:600 15px/1 var(--lib-font);color:var(--lib-mut)}.lib-clubs a{color:var(--lib-ink);text-decoration:underline;text-underline-offset:.2em}
/* Public shelves (Juno on app #699): the one-time "Your shelf is now public" line above the shelves, in the reading column. */
.lib-notice{display:flex;align-items:center;gap:16px;max-width:42rem;margin:0 0 24px;padding:12px 16px;border:1px solid var(--lib-line);border-radius:var(--r-control);font:400 15px/22px var(--lib-font);color:var(--lib-ink)}.lib-notice p{margin:0;flex:1;min-width:0;overflow-wrap:anywhere}.lib-notice a{color:var(--lib-ink);text-decoration:underline;text-underline-offset:.2em}.lib-notice-ok{flex:none;min-height:44px;padding:0 14px;border:1px solid var(--lib-line);border-radius:var(--r-control);background:transparent;color:var(--lib-ink);font:500 15px/1 var(--lib-font);cursor:pointer}@media (max-width:999px){.lib-find-lead+.lib-notice{margin-top:12px}}
/* Your taste (M3): its slot holds a screen's height from the first paint while signed in, so the footer never paints high and then drops (Vera, PR 390: CLS). */
.tst-slot{min-height:100svh}
.lib-out{padding:24px 0 64px}@media (min-width:900px){.lib-out{padding-top:40px}}.lib-out .lib-h1{margin:0 0 12px}.lib-out .lib-line{max-width:34rem}.lib-go{margin:20px 0 12px}.lib-join{--join:var(--fill);--join-deep:#1a3180;--on-join:var(--on-fill);display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 20px;border-radius:var(--r-control);background:var(--join);color:var(--on-join);font:600 15px/1 var(--lib-font);text-decoration:none}@media (hover:hover){.lib-join:hover{background:var(--join-deep)}}.lib-join:focus-visible{outline:none;box-shadow:0 0 0 3px color-mix(in srgb,var(--join) 28%,transparent)}@media (prefers-color-scheme:dark){.lib-join{--join-deep:#c3d0fa}}.lib-have{color:var(--lib-mut)}.lib-have a{color:var(--link)}
/* R3-41 (Vera B on #620): the head and its line span the page like the rails' heads, so Start lines up with their See all at every width; the rows and their footer keep the reading column. */
.rn .ob-strip-home{max-width:none;padding-top:32px}.rn .ob-strip-home>:not(.ob-strip-head):not(.ob-sub){max-width:var(--ob-col)}
.rn .ob-strip-home:empty,.rn .ob-strip-home[hidden]{display:none}
/* VB-49: Ask's off-shelf matches start a part of their own, a section's space below the AI line, as on a genre page. Outside ask-box.css's spliced block, so .com alone. */
.ask-results .ask-for.ask-off{margin-top:32px}
.rn{--rn-h:548px}@media (max-width:359px){.rn{--rn-h:568px}}
[data-signed-in][data-rate-due] .rn[data-due]:empty{min-height:var(--rn-h)}
.rn.rn-done{display:none}

/* The cover-led home's tokens (SPEC-HOME; shared/discover/home.css reads only these). */
:root{--dh-bg:var(--bg);--dh-ev:var(--ev);--dh-link:var(--link);--dh-ink:var(--ink);--dh-mut:var(--mut);--dh-rule:var(--rule);--dh-sunk:var(--soft);--dh-display:Newsreader,serif;--dh-sans:'Public Sans','Public Sans Fallback',system-ui,sans-serif;--dh-h-section:var(--h-section)}
/* shared:discover-home start (shared/discover/home.css; edit it there) */
/* shared/discover/home.css: the cover-led home and Discover (SPEC-HOME, Juno), canonical for stoareads.com and the
   app; home.mjs draws the markup. Colours and fonts are --dh-* tokens each site sets (on .com: reading-room.css :root).
   The cover box itself is cover-box.css's; these rules only size and place it. No ellipsis and no clamp anywhere:
   titles wrap, and a byline steps down its ladder (fit.js). */

/* ---- §2 hero ---- */
.dh-hero { padding-block: 24px 12px; }
.dh-hero h1 { margin: 0; max-width: none; font: 500 32px / 35px var(--dh-display); letter-spacing: -0.02em; color: var(--dh-ink); text-wrap: balance; }
.dh-hero .big-q { max-width: none; margin-top: 16px; }
/* Home v2 (HOME-DISCOVER-V2 §v2.2): one plain line under Seph's tagline (stoareads.com only; the app passes none). */
.dh-hero .dh-lede { margin: 8px 0 0; font: 400 17px / 24px var(--dh-sans); color: var(--dh-mut); }
.dh-try { position: relative; display: flex; align-items: baseline; gap: 16px; margin-top: -4px; font: 400 15px / 20px var(--dh-sans); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.dh-try::-webkit-scrollbar { display: none; }
.dh-try p { flex: none; scroll-snap-align: start; margin: 0; padding: 12px 0; color: var(--dh-mut); }
.dh-try ul { flex: none; display: flex; gap: 24px; margin: 0; padding: 0 56px 0 0; list-style: none; white-space: nowrap; }
.dh-try li { flex: none; scroll-snap-align: start; }
.dh-try a { display: inline-block; padding: 12px 0; color: var(--dh-ink); text-decoration: none; }
.dh-try a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) { .dh-try a:hover { text-decoration: underline; text-underline-offset: 3px; } }
/* "Try" scrolls with the suggestions, so nothing sits cut against it (Juno on website PR 384). The fades show only while
   there's more to see that way (fit.js sets data-more and data-back on the line): 56 px at the right, and the list ends
   56 px past its last link, so the cut reads as "scroll for more" and the last suggestion scrolls fully clear (Juno on app
   PR 266); 24 px at the left once scrolled. A mask, not a painted gradient, so the fade is the page itself in both modes
   and never reads as a box. */
.dh-try { --dh-fl: 0px; --dh-fr: 0px; -webkit-mask-image: linear-gradient(to right, transparent, black var(--dh-fl), black calc(100% - var(--dh-fr)), transparent); mask-image: linear-gradient(to right, transparent, black var(--dh-fl), black calc(100% - var(--dh-fr)), transparent); }
.dh-try[data-back] { --dh-fl: 24px; }
.dh-try[data-more] { --dh-fr: 56px; }
.dh-hfan { display: none; }

/* ---- §3 Stoa's best rail ---- */
.sec.dh-best { padding-block: 8px 0; border-top: 0; }
.dh-best .sec-h, .dh-sec .sec-h { margin-bottom: 4px; }
/* The featured Best of (Seph 23:02Z Nov 23, Juno): one line under its heading on what the list is. */
.dh-feat .dh-dek { margin: -4px 0 12px; font: 400 15px / 20px var(--dh-sans); color: var(--dh-mut); }
.dh-best h2.sh, .dh-sec h2.sh { font: 500 var(--dh-h-section, 20px) / 1.15 var(--dh-display); } /* a site that sets --dh-h-section ranks Home's rows with its other sections (PL1) */
.dh-best .sec-h a, .dh-sec .sec-h a { padding: 11px 0; margin-block: -1px; } /* a 44 px target (audit P1 #7); the margin keeps the row its old height */
.dh-rail { display: flex; gap: 16px; margin: 0 -20px 0 0; padding: 0 20px 4px 0; overflow-x: auto; list-style: none; scroll-snap-type: x proximity; scrollbar-width: none; }
.dh-rail::-webkit-scrollbar { display: none; }
.dh-rail li { flex: none; width: 140px; scroll-snap-align: start; }
.dh-bk { display: block; color: var(--dh-ink); text-decoration: none; }
.dh-bc { display: block; }
.dh-bk:focus-visible .dh-bt { text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) { .dh-bk:hover .dh-bt { text-decoration: underline; text-underline-offset: 3px; } }
.dh-bt { display: block; margin-top: 8px; font: 600 14px / 18px var(--dh-sans); overflow-wrap: break-word; }
.dh-ba { display: block; overflow: hidden; margin-top: 2px; font: 400 13px / 16px var(--dh-sans); color: var(--dh-mut); white-space: nowrap; }

/* ---- §4 Ways in: cover cards ---- */
.sec.dh-sec { padding-block: 12px 0; border-top: 0; }
.dh-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
/* Cards in a row share its height, the fan at the top and the label at the bottom, so labels share a baseline. */
.dh-ways li { display: flex; }
/* Home's one row (UX-06): below 1024 a sideways rail, the edge of the next card a hint; the six fit one row above. */
/* Home's sideways rows of tiles, Ways in, Genres and By prize alike (Juno, polish PL14 and PL10): bleed to the right
   edge, snap, 2.3 tiles to a phone screen so a cut tile says there's more, and never narrower than 120 px, so a
   one-word label ("Productivity") fits whole. */
ul.dh-wrow { display: flex; gap: 12px; margin: 0 -20px 0 0; padding: 0 20px 0 0; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.dh-wrow::-webkit-scrollbar { display: none; }
.dh-wrow li { display: flex; flex: none; width: max(120px, calc((100% - 32px) / 2.3)); scroll-snap-align: start; }
/* A genre or prize tile in a row stands like a Ways in card: its cover (or nothing) at the top, the label at the foot. */
.dh-wrow :is(.dh-sj, .dh-pz) { display: grid; grid-template-rows: 72px auto; align-items: start; gap: 0; flex: 1; height: auto; min-height: 120px; padding: 12px; border-radius: var(--r-card,12px); background: var(--dh-sunk); color: var(--dh-ink); text-decoration: none; }
.dh-wrow .dh-sc { width: 48px; }
/* A prize tile is a small plaque (R3-81, SPEC-BY-PRIZE): a 24x2 rule at the top (no laurel, Juno 18:23), the name 12px under it in the
   display face, balanced, whole words, at most 3 lines, and the count pinned to the foot so counts line up. */
.dh-wrow .dh-pz { grid-template-rows: auto auto 1fr; min-height: 136px; padding: 16px; }
.dh-pm { display: block; grid-row: 1; width: 24px; height: 2px; background: var(--dh-mut); }
.dh-pn { grid-row: 2; margin-top: 12px; font: 500 18px / 22px var(--dh-display); color: var(--dh-ink); text-wrap: balance; overflow-wrap: normal; hyphens: none; }
.dh-pc { grid-row: 3; align-self: end; margin-top: 8px; font: 400 13px / 18px var(--dh-sans); color: var(--dh-mut); font-variant-numeric: tabular-nums; }
.dh-pz:focus-visible .dh-pn { text-decoration: underline; text-underline-offset: 3px; }
.dh-pz:focus-visible .dh-pm { background: var(--dh-ink); }
@media (hover: hover) { .dh-pz:hover .dh-pn { text-decoration: underline; text-underline-offset: 3px; } .dh-pz:hover .dh-pm { background: var(--dh-ink); } }
@media (max-width: 599.98px) { .dh-wrow .dh-pz { padding: 14px; } .dh-pn { font-size: 17px; line-height: 21px; } }
/* Six prizes or fewer fill the column from 1024px, where Ways in does too: no short row and no peek (at 900 a sixth of the
   column breaks "Royal Society Science Book Prize" onto four lines, so 900 to 1023 keeps the row). Seven or more scroll. */
@media (min-width: 1024px) { ul.dh-wrow.dh-pzg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin-right: 0; padding-right: 0; overflow: visible; } ul.dh-wrow.dh-pzg li { width: auto; } }
.dh-pzl { margin: 24px 0 8px; font: 600 14px / 20px var(--dh-sans); color: var(--dh-mut); }
.dh-wrow .dh-sl { align-self: end; }
/* Narrower than any phone we gate on (Vera B's 260 rig): a two-column card is narrower than its fan, so the cards
   stack one to a row rather than run past the edge (Juno, Nov 14). */
@media (max-width: 299.98px) { .dh-ways:not(.dh-wrow) { grid-template-columns: minmax(0, 1fr); } }
.dh-way { display: grid; grid-template-rows: 72px auto; min-height: 120px; flex: 1; padding: 12px; border-radius: var(--r-card,12px); background: var(--dh-sunk); color: var(--dh-ink); text-decoration: none; }
.dh-fan { display: flex; height: 72px; }
.dh-fc { flex: none; width: 48px; transform-origin: 50% 100%; transform: rotate(calc((var(--i) - 1) * 4deg)); }
.dh-fc + .dh-fc { margin-left: -18px; }
/* Each cover's place in its fan, set here and not inline: the CSP has no 'unsafe-inline' for styles (Vera, live audit). */
.dh-fc, .dh-hc { --i: 0; }
:is(.dh-fc, .dh-hc):nth-child(2) { --i: 1; }
:is(.dh-fc, .dh-hc):nth-child(3) { --i: 2; }
:is(.dh-fc, .dh-hc):nth-child(4) { --i: 3; }
:is(.dh-fc, .dh-hc):nth-child(5) { --i: 4; }
.dh-wl { align-self: end; font: 600 15px / 20px var(--dh-sans); overflow-wrap: break-word; }
/* A fan's covers overlap, so a typeset cover shows its tone without its title (no word cut mid-way)... */
:is(.dh-fc, .dh-hc) .cv-none :is(b, i, .cv-ini) { visibility: hidden; }
/* ...and draws the title-block mark instead (cover-box.css, "Home's fans"). */
.dh-way:focus-visible .dh-wl { text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) { .dh-way:hover .dh-wl { text-decoration: underline; text-underline-offset: 3px; } }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .dh-fc { transition: transform 150ms ease; }
  .dh-way:hover .dh-fc { transform: translateX(calc((var(--i) - 1) * 6px)) rotate(calc((var(--i) - 1) * 4deg)); }
}
@media (prefers-reduced-motion: reduce) { .dh-fc { transform: none; } }

/* ---- §5 Subjects: cover tiles ---- */
.dh-subj { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.dh-subj li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.dh-sj { display: flex; align-items: center; gap: 10px; height: 72px; padding: 6px 10px 6px 6px; border-radius: var(--r-card,12px); background: var(--dh-sunk); color: var(--dh-ink); text-decoration: none; }
.dh-sc { flex: none; width: 40px; }
.dh-sl { font: 600 15px / 20px var(--dh-sans); overflow-wrap: break-word; }
.dh-sj:focus-visible .dh-sl { text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) { .dh-sj:hover .dh-sl { text-decoration: underline; text-underline-offset: 3px; } }

/* Under 360 a tile is too narrow for a 13-letter label beside its cover: one column. */
@media (max-width: 359.98px) {
  .dh-subj { grid-template-columns: minmax(0, 1fr); }
  .dh-subj li:last-child:nth-child(odd) { grid-column: auto; }
}

/* Dark: the sunk cards get a hairline inside, so they hold their edge on the dark page. */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) :is(.dh-way, .dh-sj, .dh-pz) { box-shadow: inset 0 0 0 1px var(--dh-rule); } }
:root[data-theme="dark"] :is(.dh-way, .dh-sj, .dh-pz) { box-shadow: inset 0 0 0 1px var(--dh-rule); }

/* ---- 640 to 1023 ---- */
@media (min-width: 640px) {
  .dh-ways, .dh-subj { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dh-wrow li { width: calc((100% - 56px) / 3.4); }
  .dh-subj li:last-child:nth-child(odd) { grid-column: auto; }
}

/* ---- §6 desktop, 1024 and up ---- */
@media (min-width: 1024px) {
  .dh-home .w { padding-inline: 32px; }
  .dh-hero { display: grid; grid-template-columns: 7fr 5fr; align-items: center; gap: 32px; max-height: 360px; padding-block: 40px 16px; }
  /* One section gap on desktop: 24 above each heading. */
  .sec.dh-sec { padding-top: 24px; }
  .dh-hero h1 { font-size: 48px; line-height: 52px; }
  .dh-hero .big-q { max-width: 560px; }
  /* Flush right (WS-54): the fan opens to the left, so the last cover stands upright on the column's right edge. */
  .dh-hfan { display: flex; justify-content: flex-end; padding-block: 8px; }
  .dh-hc { flex: none; width: 120px; transform-origin: 50% 100%; transform: rotate(calc((var(--i) - 4) * 3deg)); }
  .dh-hc + .dh-hc { margin-left: -48px; }
  .dh-rail { margin-right: 0; padding-right: 0; }
  /* The same tile as every other rail (Nt3-J1): n covers and 0.4 of the next, 4 to 1099, 5 to 1239, then 6. */
  .dh-rail { --dh-rail-n: 4; gap: 24px; }
  .dh-rail li { width: calc((100% - var(--dh-rail-n) * 24px) / (var(--dh-rail-n) + 0.4)); }
  .dh-best h2.sh, .dh-sec h2.sh { font-size: var(--dh-h-section, 24px); }
  .dh-ways { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .dh-ways.dh-wrow { display: grid; margin-right: 0; padding-right: 0; overflow: visible; }
  /* Genres and prizes keep scrolling: 6.4 tiles to the column, flush with it on the right (PL15 adds arrows). */
  ul.dh-wrow { margin-right: 0; padding-right: 0; }
  .dh-wrow:not(.dh-ways) li { width: calc((100% - 72px) / 6.4); }
  .dh-ways.dh-wrow li { width: auto; }
  .dh-way { min-height: 168px; grid-template-rows: 84px auto; }
  .dh-fan { height: 84px; }
  .dh-fc { width: 56px; }
  .dh-fc + .dh-fc { margin-left: -21px; }
  .dh-subj { grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); }
}
/* 1024 to 1199: a narrower column, so smaller covers keep the fan inside it. */
@media (min-width: 1100px) { .dh-rail { --dh-rail-n: 5; } }
@media (min-width: 1240px) { .dh-rail { --dh-rail-n: 6; } }
@media (min-width: 1024px) and (max-width: 1199.98px) {
  .dh-hc { width: 100px; }
  .dh-hc + .dh-hc { margin-left: -44px; }
}
@media (min-width: 1024px) and (prefers-reduced-motion: reduce) { .dh-hc { transform: none; } }
/* Phones: the Try suggestions wrap to a second line, so none runs off the right edge (audit B5; Juno, SPEC-SEARCH-BAR §11).
   Each suggestion still sits whole on its line. The row goes when the search panel's Try rows replace it (step 3).
   UX-16: "Try" and the suggestions wrap as one row of items, so a second line starts at the left edge, not indented
   under the first suggestion. The list itself draws no box (display: contents); gaps sit only between items on a line. */
/* Polish PL4 (Juno, on PR 569): below 900 "Try" and its suggestions are one 44 px line that scrolls sideways, bleeding to
   the screen edge as the rails do, so the hints never take a second row and Stoa's best stays up. */
@media (max-width: 899px) {
  .dh-try { margin-right: -20px; padding-right: 20px; }
}
/* While the search panel hangs under the home bar, the Try row behind it is not drawn, so nothing shows in the gap. */
html.ss-under-open .dh-try { visibility: hidden; }

/* Genres (SPEC-GENRES-SWITCH §2): the lead eight as tiles, two by four below 900 px and four by two from 900 up; then
   home's one row to all 19, or Discover's other eleven as text links, two columns at 375 and one wrapped line wide. */
.dh-subj.dh-gn { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dh-gn li:last-child:nth-child(odd) { grid-column: auto; }
@media (max-width: 359.98px) { .dh-subj.dh-gn { grid-template-columns: minmax(0, 1fr); } }
.dh-all { margin: 4px 0 0; }
.dh-all a { display: inline-flex; align-items: center; min-height: 44px; }
.dh-all a, .dh-mg a { color: var(--dh-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.dh-mh { margin: 20px 0 8px; font: 600 15px / 20px var(--dh-sans); color: var(--dh-mut); }
.dh-mg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; margin: 0; padding: 0; list-style: none; }
.dh-mg li { display: flex; align-items: center; min-height: 44px; }
.dh-mg a { display: flex; align-items: center; min-height: 44px; min-width: 44px; } /* the whole 44 px row is the link (Vera, G3) */
@media (min-width: 900px) {
  .dh-subj.dh-gn { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dh-mg { display: flex; flex-wrap: wrap; gap: 0 24px; }
}
/* shared:discover-home end */
/* shared:ask-box start (shared/discover/ask-box.css; edit it there) */
/* "Tell us what you're after" with its first prompts (SPEC-FIRST-PROMPTS §2, Juno). Rows are a fixed height, so the
   picker swapping the words after load never moves anything: 56 px under 480 (a line may wrap to two), 44 px from
   480. The block is capped at 640 px like the Discover bar (SPEC-SEARCH-BAR §13), so the three stay stacked at every
   width: in three columns of 640 the longer lines would not fit on one line. The links are plain underlined text: no
   chips, no pills, no icons. */
.ask{--ask-under:#9b9c94;--ask-field:#fff;--ask-line:#c6c6be;margin:20px 0 0;max-width:640px}
@media (prefers-color-scheme:dark){.ask{--ask-under:#62656c;--ask-field:#1c1d22;--ask-line:#44474d}}
.ask-l{display:block;margin:0 0 8px;font-weight:600;font-size:16px;line-height:24px;color:var(--ink)}
.ask-row{display:flex;gap:8px}
.ask-row input{flex:1;min-width:0;box-sizing:border-box;height:48px;margin:0;padding:0 16px;border:1px solid var(--ask-line);border-radius:var(--r-control,8px);background:var(--ask-field);color:var(--ink);font:inherit;font-size:16px}
.ask-row input::placeholder{color:var(--mut);opacity:1}
.ask-row input:focus{outline:none;border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.ask-go{flex:none;box-sizing:border-box;height:48px;margin:0;padding:0 22px;border:0;border-radius:var(--r-control,8px);background:var(--fill,var(--acc));color:var(--on-fill,var(--acc-ink));font:inherit;font-weight:600;font-size:16px;cursor:pointer}
.ask-try-h{margin:16px 0 0;font-size:15px;line-height:20px;color:var(--mut)}
.ask-try{list-style:none;margin:4px 0 0;padding:0}
.ask-try li{display:flex;box-sizing:border-box;height:44px;overflow:hidden}
.ask-try li+li{border-top:1px solid var(--rule)}
.ask-line{display:flex;align-items:center;box-sizing:border-box;width:100%;min-height:44px;margin:0;padding:0;border:0;background:none;color:var(--ink);font:inherit;font-size:16px;line-height:20px;text-align:left;text-decoration:underline;text-decoration-color:var(--ask-under);text-decoration-thickness:1px;text-underline-offset:4px;cursor:pointer}
@media (hover:hover){.ask-line:hover{text-decoration-color:currentColor}}
.ask-fine{margin:12px 0 0;font-size:14px;line-height:20px;color:var(--mut)}
.ask-results:empty{display:none}
.ask-results{margin:16px 0 0}
.ask-results .ask-for{margin:0;outline-offset:4px;font-size:15px;line-height:20px;color:var(--mut)}
.ask-results .ask-note{margin:0;font-size:16px;line-height:24px;color:var(--ink)}
.ask-results .ask-next{display:flex;flex-wrap:wrap;gap:0 24px;margin:4px 0 0}
.ask-results .ask-next a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);font-weight:600}
@media (max-width:479px){
  .ask-row{flex-direction:column}
  .ask-row input{flex:none;width:100%}
  .ask-go{width:100%}
  .ask-try li{height:56px}
}
/* A Ways in view or a search goes straight to its books: the box steps aside with the Discover block. */
html.d-view .ask{display:none}
/* shared:ask-box end */
/* Home's one rhythm (Juno, polish PL2): every section below Stoa's best sits the same gap from the one above, 64 px wide
   and 48 on a phone, with no rule (Today's book included); spacing alone separates them. The page keeps that gap above the footer. */
.dh-home .sec{border-top:0;padding-block:0}
.dh-home .sec.dh-best{padding-top:8px}
.dh-home .sec ~ .sec{margin-top:var(--home-gap)}
.dh-home{--home-gap:64px;padding-bottom:var(--home-gap)}
@media (max-width:899px){.dh-home{--home-gap:48px}}
.dh-home .rank.one li{border-top:0;padding-block:0}
/* List pages (SPEC-LIST-PAGES §4): a person's list and If you liked. One column, 720px at most, rows as on Discover's
   ranked list without the number; titles, bylines and reasons wrap and are never cut. */
.lp{padding-block:48px 24px}
.lp > *{max-width:720px}
.lp-k{margin:0;color:var(--mut);font-size:15px;line-height:20px}
.lp h1{font:500 56px/1.05 Newsreader,serif;letter-spacing:-.02em;margin:4px 0 0;text-wrap:balance}
.lp-facts{margin:16px 0 0;font-size:17px;line-height:24px}
.lp-how{margin:4px 0 0;color:var(--mut);font-size:17px;line-height:24px}
.lp-g{margin-top:32px;padding-top:24px;border-top:1px solid color-mix(in srgb,var(--mut) 45%,var(--rule))}
.lp-g h2{margin:0;font:500 26px/32px Newsreader,serif;text-wrap:balance}
.lp-src{margin:4px 0 0;font-size:16px;line-height:24px}
.lp-src a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);text-decoration:underline;text-decoration-color:var(--rule);text-underline-offset:4px}
@media (hover:hover){.lp-src a:hover{text-decoration-color:currentColor}}
:where(.dh-rails) .rank.lp-list{grid-template-columns:1fr;margin:8px 0 0}
:where(.dh-rails) .rank.lp-list li{grid-template-columns:80px minmax(0,1fr);gap:0 24px}
:where(.dh-rails) .rank.lp-list li:first-child{border-top:0}
.lp-list .cv-a{grid-row:1/3}
.lp-list h3{display:block;-webkit-line-clamp:none}
:where(.dh-rails) .rank.lp-list h3{font:600 17px/24px var(--dh-sans)} /* UX-07: one title face, sans, as every other book row */
/* A row's muted fact line (bookRow `note`, UX-15): the open dot of a line with no evidence; `.nt`, since `.rank .n` is the numeral. */
:where(.dh-rails) .tr.nt{color:var(--dh-mut)}
:where(.dh-rails) .tr.nt::before{background:none;border:1.5px solid var(--dh-mut);width:7px;height:7px}
:where(.dh-rails) .rank.lp-list .by{white-space:normal}
:where(.dh-rails) .rank.lp-list .why{display:block;-webkit-line-clamp:none;font:400 16px/24px var(--dh-sans);color:var(--ink)}
:where(.dh-rails) .rank.lp-list .sv-ri{grid-column:2;flex-direction:row;flex-wrap:wrap;gap:0 24px;margin-top:4px}
@media (max-width:899px){:where(.dh-rails) .rank.lp-list .sv-ri{grid-column:1/-1;gap:0 16px;margin-top:12px}} /* UX-08: one line under the row */
:where(.dh-rails) .rank.lp-seed{margin-top:24px}
:where(.dh-rails) .rank.lp-seed li{padding-block:0 16px}
.lp-like .lp-from + h2 + .lp-list,.lp-like .lp-from + .lp-none{border-top:1px solid color-mix(in srgb,var(--mut) 45%,var(--rule));margin-top:16px}
.lp-none{margin:0;padding-top:24px;font-size:17px;line-height:24px}
.lp-all{margin-top:8px}
.lp-all > summary{display:inline-flex;align-items:center;min-height:44px;margin-top:8px;cursor:pointer;list-style:none;font-weight:600;font-size:16px;text-decoration:underline;text-underline-offset:4px}
.lp-all > summary::-webkit-details-marker{display:none}
.lp-all[open] > summary{display:none}
.lp-more{margin-top:48px}
.lp-more h2.sh{margin:0 0 12px}
.lp .cover-credit{margin-top:32px}
/* People's cards: the Ways in card with the name in display type and the count under it (§3). */
.lp-people .dh-way{grid-template-rows:72px auto auto}
.lp-people .dh-wl{margin-top:12px;font:500 20px/24px Newsreader,serif}
.lp-n{margin-top:2px;color:var(--mut);font-size:15px;line-height:20px}
.lp-liked{margin:0;padding:0;list-style:none}
/* For a signed-in reader, a like page's picks (shelved books last, §2.2) and Discover's links (their loved books, §3)
   wait hidden in place until list-reader.js has ordered them, so nothing moves; after 1.2 s they show as built. */
:root[data-signed-in] :is(.lp-order,.lp-liked):not(.lp-ready){visibility:hidden;animation:lp-show 0s 1.2s forwards}
@keyframes lp-show{to{visibility:visible}}
.lp-liked a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);font-size:17px;text-decoration:underline;text-decoration-color:var(--rule);text-underline-offset:4px}
@media (hover:hover){.lp-liked a:hover{text-decoration-color:currentColor}}
/* "A book you liked" (§3): the ask box's field over the three links; suggestions are the search sheet's compact rows,
   each opening a like page, and a book without a list is a plain line that opens its own page. */
.lp-more{margin:4px 0 0}/* If you liked's field, behind Start from another book (UX-05) */
.lp-more>summary{display:inline-flex;align-items:center;min-height:44px;font-size:16px;line-height:24px;color:var(--ink);text-decoration:underline;text-decoration-color:var(--rule);text-underline-offset:4px;cursor:pointer;list-style:none}
.lp-more>summary::-webkit-details-marker{display:none}
@media (hover:hover){.lp-more>summary:hover{text-decoration-color:currentColor}}
.lp-find{--ask-field:#fff;--ask-line:#c6c6be;max-width:640px;margin:4px 0 8px}
@media (prefers-color-scheme:dark){.lp-find{--ask-field:#1c1d22;--ask-line:#44474d}}
.lp-row{position:relative;display:block}
.lp-q{box-sizing:border-box;width:100%;height:48px;margin:0;padding:0 52px 0 16px;border:1px solid var(--ask-line);border-radius:var(--r-control);background:var(--ask-field);color:var(--ink);font:inherit;font-size:16px}
.lp-q::placeholder{color:var(--mut);opacity:1}
.lp-q::-webkit-search-cancel-button,.lp-q::-webkit-search-decoration{display:none;-webkit-appearance:none}
.lp-x{display:none;position:absolute;top:2px;right:4px;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:var(--r-control);background:none;color:var(--mut);cursor:pointer}
.lp-q:not(:placeholder-shown) + .lp-x{display:inline-flex}
@media (hover:hover){.lp-x:hover{color:var(--ink)}}
.lp-x:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.lp-q:focus{outline:none;border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.lp-fr{margin:8px 0 0;padding:0 12px;list-style:none}
.lp-fr .cv-box{flex:none;width:32px;height:48px;min-width:0;border-radius:2px;overflow:hidden}
.lp-fr .cv-none > *{display:none}
.lp-fn{padding:8px 0;color:var(--mut);font-size:15px;line-height:20px}
.lp-fr .cr + .lp-fn{margin-top:8px;border-top:1px solid var(--rule)}
.lp-fn a{padding-block:14px;white-space:nowrap;color:var(--ink);text-decoration:underline;text-decoration-color:var(--rule);text-underline-offset:4px}
@media (max-width:899px){
  .lp{padding-block:28px 16px}
  .lp h1{font-size:36px}
  .lp-g h2{font-size:22px;line-height:28px}
  :where(.dh-rails) .rank.lp-list li{grid-template-columns:64px minmax(0,1fr);gap:0 16px}
  :where(.dh-rails) .rank.lp-list li:nth-child(n+7){display:grid}
}

/* "Your club is reading" at the top of Discover (SPEC-MY-SHELF-AND-CLUBS §3b, §3e): club members only, at most two
   rows, plain text with no club theme; it sits outside the ranked rails. */
.ycr .ycr-l{margin-top:12px}
.ycr-l{margin:0;padding:0;list-style:none;display:grid;gap:8px}
.ycr-r{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--dh-rule)}
.ycr-c{flex:none;width:40px;height:60px;object-fit:cover;border-radius:2px;background:var(--dh-sunk)}
/* The strip takes its block's full width, as For you below it does (Juno, siblings match); the text keeps a measure and
   the button sits at the strip's own right edge. */
.ycr-t{flex:1;min-width:0;max-width:60ch}
@media (min-width:421px){.ycr-a{margin-left:auto;min-width:9em;justify-content:center}}
.ycr-line{margin:0;font-weight:600;color:var(--dh-ink);overflow-wrap:anywhere}
.ycr-line cite{font-style:italic}
.ycr-m{margin:2px 0 0;font-size:14px;color:var(--dh-mut)}
.ycr-a{flex:none;display:inline-flex;align-items:center;text-decoration:none;min-height:44px;padding:0 14px;border:1.5px solid var(--dh-ink);border-radius:var(--r-control);background:none;color:var(--dh-ink);font:600 15px/1 var(--dh-sans);cursor:pointer}
@media (hover:hover){.ycr-a:hover{background:var(--dh-sunk)}}
.ycr-all{display:inline-flex;align-items:center;min-height:44px;font-weight:600;color:var(--dh-link)}
/* R3-23: the frame that holds the strip's room from first paint (session-state.js data-ycr and --ycr-h): the strip's own
   height last time at this window width, or, at another width, the usual height of that many rows. */
.dz-all > .ycr-hold{display:none;box-sizing:border-box;overflow:hidden}
html[data-signed-in][data-ycr] .dz-all > .ycr-hold{display:block;height:var(--ycr-h,137px)}
html[data-ycr^="2"] .dz-all > .ycr-hold{height:var(--ycr-h,240px)}
html[data-ycr="2+"] .dz-all > .ycr-hold{height:var(--ycr-h,284px)}
/* R3-92: Home's frame, under the pair, from Home's own flag (data-ycrh, --ycrh-h) */
main.dh-home > .ycr-hold{display:none;box-sizing:border-box;overflow:hidden}
html[data-signed-in][data-ycrh] main.dh-home > .ycr-hold{display:block;height:var(--ycrh-h,137px)}
html[data-ycrh^="2"] main.dh-home > .ycr-hold{height:var(--ycrh-h,240px)}
html[data-ycrh="2+"] main.dh-home > .ycr-hold{height:var(--ycrh-h,284px)}
/* When the strip shows, the closing Read with others band drops: the page's top already covers clubs (Juno). */
html:has([data-club-strip]) .dz-club{display:none}
@media (max-width:420px){.ycr-r{flex-wrap:wrap}.ycr-a{margin-left:52px}}
/* R3-1 (Juno, round 3): the same S7 row on every other list of books (lists, Best of): under 600 the one status control
   (F3) is labelled, as on /browse, on one 40 px line under the title (VB-60: the slot a read or rated row's line takes,
   so no row grows when the member's shelf arrives), its target 44 px tall. Today's book (.one)
   keeps its own layout. Under 372 a ranked row's numeral moves inline before its title (.n-in), so the title keeps
   about 140 px. */
@media (max-width:599.98px){
  :not(.one) > li.brow.brow:has(> .sv-ri):not(:has(> .n)){grid-template-columns:64px minmax(0,1fr)}
  :not(.one) > li.brow.brow:not(:has(> .n)) > .sv-ri{grid-column:-2/-1;grid-row:2;align-self:start;justify-self:start;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:0;min-height:40px;margin:4px 0 0 -4px}
  :not(.one) > li.brow.brow:not(:has(> .n)) > .sv-ri .sv-s{display:inline-flex;align-items:center;gap:8px;height:44px;min-height:44px;padding:0 4px;margin:-2px 0;font-size:14px;white-space:nowrap}
}
@media (max-width:599.98px){
  li.brow.brow:has(> .n):has(> .sv-ri){grid-template-columns:32px 64px minmax(0,1fr)}
  li.brow.brow:has(> .n) > .sv-ri{grid-column:-2/-1;grid-row:2;align-self:start;justify-self:start;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:0;min-height:40px;margin:4px 0 0 -4px}
  li.brow.brow:has(> .n) > .sv-ri .sv-s{display:inline-flex;align-items:center;gap:8px;height:44px;min-height:44px;padding:0 4px;margin:-2px 0;font-size:14px;white-space:nowrap}
}
.brow .n-in{display:none}
/* Best of's two proof lines: the lead-fit one under 600, the row's usual one from 600 (R3-1). */
.brow .tr-n{display:none}
@media (max-width:599.98px){.brow .tr-n{display:inline}.brow .tr-w{display:none}.brow .tr-wide{display:none}}
@media (max-width:371.98px){
  li.brow.brow:has(> .n):has(> .sv-ri){grid-template-columns:64px minmax(0,1fr)}
  li.brow.brow:has(> .sv-ri) > .n{display:none}
  li.brow.brow:has(> .sv-ri) .n-in{display:inline;font:500 1.15em/1 Newsreader,serif;color:var(--mut);font-variant-numeric:lining-nums tabular-nums}
}
/* Read, rated or rating it, under 600 (Seph's iPhone, Nov 22): the hidden icons stay hidden, and the line takes the
   icons' 40 px slot under the title (two lines of a long rating fit it), as on genre pages. */
@media (max-width:599.98px){
  li.brow.brow > .sv-ri :is(.sv-s,.ri)[hidden]{display:none !important}
  li.brow.brow > .sv-ri:has(> .ri-wrap:not(:empty)){grid-column:-2/-1;grid-row:2;justify-self:stretch;align-self:start;margin:4px 0 0}
  li.brow.brow > .sv-ri > .ri-wrap > .ri-done{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0;margin:0;font-size:var(--fs-small);line-height:20px}
}
/* Stoa’s book of the month (SPEC-BOOK-OF-MONTH): Home and Discover reuse Today's book's row as is; a section left from
   an earlier month hides (site.js). The archive is a page title, one line, then S7 rows. */
.bm-r[hidden]{display:none !important}
/* Home's hero (R3-96, Juno's HOME-HERO-BOTM, Seph 15:57 Nov 21: "messy, with both book of month and book of day"). One
   feature: the book of the month is the hero's right column, where the cover fan was. Phones: under the search and Try,
   lead-in across, the cover 96 on the left with title and author beside it, the tools across under them. From 1024 the
   cover 120 (the fan's size) holds the card's height so it ends level with the Try line, the lead-in tops the text. */
.dh-home .dh-hero{max-height:none}
.dh-bmc{margin-top:16px}
.dh-bmt{display:grid;grid-template-columns:96px minmax(0,1fr);grid-template-areas:"l l" "c t" "c b" "c o" "s s" "f f";grid-template-rows:auto auto auto 1fr auto auto;column-gap:16px}
.dh-bmc h2.dh-bml{grid-area:l;margin:0 0 12px;font:600 15px/20px var(--dh-sans);letter-spacing:0;color:var(--dh-mut)}
.dh-bmc .cv-a{grid-area:c;align-self:start;display:block}
.dh-bmc h3{grid-area:t;margin:0;font:500 22px/28px var(--dh-display);letter-spacing:-.01em;color:var(--dh-ink);text-wrap:balance}
.dh-bmc h3 a{color:inherit;text-decoration:none}
.dh-bmc .by{grid-area:b;margin:2px 0 0;font:400 15px/22px var(--dh-sans);color:var(--dh-mut)}
.dh-bmc .tr{grid-area:o;margin:4px 0 0;font-size:14px;line-height:20px;color:var(--dh-mut)}
.dh-bmc .sv-ri{grid-area:s;display:flex;flex-wrap:wrap;align-items:center;gap:0 16px;margin-top:8px}
.dh-bmf{grid-area:f;display:flex;flex-wrap:wrap;align-items:center;gap:0 24px}
.dh-bmf p{margin:0}
.dh-bmc .buy{height:44px;padding:0;border:0;border-radius:0;font-weight:600;font-size:15px;text-decoration:underline;text-underline-offset:3px}
.dh-bmp a{display:inline-flex;align-items:center;min-height:44px;font:600 15px/22px var(--dh-sans);color:var(--dh-link);text-underline-offset:3px}
/* At 320 the lead-in keeps one line, in the fallback face too, so the card doesn't move when Public Sans lands. */
@media (max-width:359.98px){.dh-bmc h2.dh-bml{font-size:14px}}
@media (min-width:1024px){
  .dh-home .dh-hero{align-items:start}
  .dh-bmc{margin-top:0}
  .dh-bmt{grid-template-columns:120px minmax(0,1fr);grid-template-areas:"c l" "c t" "c b" "c o" "c s" "c f";grid-template-rows:auto auto auto auto auto 1fr;column-gap:24px}
  .dh-bmc h2.dh-bml{margin:0 0 6px}
  .dh-bmc h3{font-size:24px;line-height:30px}
  .dh-bmc .sv-ri{margin-top:4px}
}
/* Today's book, one quiet line under the hero (R3-96): a muted label, the title in ink, the author muted, one link.
   Two lines at most on a phone. */
.dh-home > [data-td-line].sec{padding-block:8px 0;border-top:0}
[data-td-line] p{margin:0;font:400 15px/20px var(--dh-sans);color:var(--dh-mut);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
[data-td-line] .td-k{color:var(--dh-mut)}
[data-td-line] a{color:var(--dh-ink);text-decoration:none}
[data-td-line] .td-t{font-weight:600;text-decoration:underline;text-decoration-color:var(--dh-rule);text-underline-offset:3px}
[data-td-line] .td-by{color:var(--dh-mut)}
@media (hover:hover){[data-td-line] a:hover .td-t{text-decoration-color:currentColor}}
[data-td-line] a:focus-visible{outline:2px solid var(--dh-link);outline-offset:2px}
.dh-home > .dh-disc{margin:32px auto 0;font-size:12px;line-height:16px;color:var(--dh-mut)}
.dh-home > .dh-disc .buy-note{display:inline}
/* A page left from an earlier month (Vera B, #633): session-state.js marks html[data-botm-stale] in <head>, so the pick,
   its line and disclosure never draw and Today's book's card holds the hero slot from the first frame. */
.dh-td-alt{display:none}
html[data-botm-stale] .dh-td-alt{display:block}
html[data-botm-stale] [data-botm-month],html[data-botm-stale] [data-td-line],html[data-botm-stale] .dh-home > .dh-disc{display:none}
.bm-a h1{font:500 var(--h-page)/1.1 Newsreader,serif;letter-spacing:-.02em;margin:48px 0 0}
.bm-a .bm-l{color:var(--mut);font-size:17px;margin:8px 0 0}
@media (max-width:599px){.bm-a h1{margin-top:28px}}
/* R3-24 (Juno, P1): one page title size, the same --h-page as tokens.css: 32px under 1000, 44px from 1000. The Society
   page takes it too (R3-54, Vera B's VB-33): no hero exception. */
/* People (PEOPLE-AND-LISTS §1, §2; people.mjs). A typeset monogram: the initials set like the typeset cover, in one
   cover tone, never a photo. 64 px on the index and a person's page. */
.mono{display:inline-grid;place-items:center;flex:none;width:64px;height:64px;border-radius:2px;background:#3a3f5a;color:#f4f4f0}
.mono b{font:500 26px/1 Newsreader,serif;letter-spacing:.02em}
.mono-32{width:32px;height:32px}.mono-32 b{font-size:14px}
.pp{padding-block:48px 24px}
@media (max-width:899px){.pp{padding-block:28px 16px}}
.pp h1{font-family:Newsreader,serif;font-weight:500;letter-spacing:-.02em;margin:0;text-wrap:balance}
.pp-lede{margin:12px 0 0;color:var(--mut);font-size:17px;line-height:24px}
.pp-n{margin:8px 0 0;color:var(--mut);font-size:15px;line-height:20px}
.pp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:32px 0 0;padding:0;list-style:none}

.pp-grid > li{display:flex}
.pp-grid > li > .pp-tile{flex:1;min-width:0}
@media (min-width:900px){.pp-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}}
.pp-tile{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-height:44px;padding:16px;border:1px solid var(--rule);border-radius:var(--r-card);color:var(--ink);text-decoration:none}
.pp-tile .mono{margin-bottom:8px}
.pp-tn{font:600 17px/24px 'Public Sans','Public Sans Fallback',system-ui,sans-serif;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
.pp-tm{color:var(--mut);font-size:15px;line-height:20px}
/* People role lines (Seph 02:06Z tech audience; PEOPLE-AND-LISTS §1, §2): the person's own source's words, one line on a tile. */
.pp-tr{color:var(--ink-soft,var(--mut));font-size:15px;line-height:20px;overflow-wrap:anywhere}
.pp-role{margin:2px 0 0;color:var(--mut);font-size:17px;line-height:24px}
@media (hover:hover){.pp-tile:hover{border-color:color-mix(in srgb,var(--mut) 60%,var(--rule))}.pp-tile:hover .pp-tn{text-decoration:underline;text-underline-offset:4px}}
.pp-tile:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
/* Under 600: one-column rows, a 48 px monogram then the name and "N books", 64 px rows with dividers (Juno on #666). */
@media (max-width:599px){.pp-grid{grid-template-columns:1fr;gap:0;margin-top:16px}.pp-grid > li + li{border-top:1px solid var(--rule)}.pp-tile{display:grid;grid-template-columns:48px minmax(0,1fr);grid-auto-rows:auto;column-gap:16px;align-content:center;min-height:64px;padding:8px 0;border:0;border-radius:0}.pp-tile .mono{grid-row:1/span 3;width:48px;height:48px;margin:0;align-self:center}.pp-tile>:not(.mono){grid-column:2}.pp-tile .mono b{font-size:20px}.pp-tn{-webkit-line-clamp:1;line-height:22px}.pp-tm{line-height:20px}}
.pp-person > .pp-head{display:flex;gap:20px;align-items:center}
.pp-facts{margin:8px 0 0;font-size:17px;line-height:24px}
@media (max-width:599px){.pp-person > .pp-head{gap:16px}}
.pp-list{max-width:720px}
:where(.dh-rails) .rank .tr.pp-c a{display:inline-flex;align-items:center;min-height:44px;margin-block:-12px;color:var(--ink);text-decoration:underline;text-decoration-color:var(--rule);text-underline-offset:4px}
@media (hover:hover){:where(.dh-rails) .rank .tr.pp-c a:hover{text-decoration-color:currentColor}}
.pp-srcs{max-width:720px;margin-top:40px;padding-top:24px;border-top:1px solid color-mix(in srgb,var(--mut) 45%,var(--rule))}
.pp-srcs h2{margin:0;font:500 26px/32px Newsreader,serif}
.pp-srcs ul{margin:8px 0 0;padding:0;list-style:none}
.pp-srcs li+li{border-top:1px solid var(--rule)}
.pp-sl{display:flex;flex-direction:column;justify-content:center;min-height:44px;padding:12px 0;color:var(--ink);text-decoration:none}
.pp-st{font-weight:600;font-size:16px;line-height:24px;overflow-wrap:anywhere}
.pp-sm{color:var(--mut);font-size:15px;line-height:20px}
@media (hover:hover){.pp-sl:hover .pp-st{text-decoration:underline;text-underline-offset:4px}}
.pp-back{margin:24px 0 0}
.pp-back a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);font-weight:600;text-decoration:underline;text-underline-offset:4px}
.pp-pager{display:flex;flex-wrap:wrap;gap:8px 24px;align-items:center;max-width:720px;margin-top:16px;font-size:16px}
.pp-pager span{color:var(--mut)}
.pp-pager a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);font-weight:600;text-decoration:underline;text-underline-offset:4px}
/* Home's topic chips (HOME-DISCOVER-V2 §v2.2, Juno): "What are you working on?" at the sub-section size, then one row of
   44 px toggles, the chosen one filled. From 600 they wrap; on a phone they are one line that scrolls sideways (#658):
   the gutter at both ends, the next chip peeking at the edge, no visible scrollbar. The rails under them swap in place. */
main.dh-home .dh-tp{margin-top:40px}
.dh-tpq{margin:0 0 12px;font:500 var(--h-sub)/1.2 Newsreader,serif;letter-spacing:-.01em}
.dh-tpl{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.dh-tpc{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border:1px solid color-mix(in srgb,var(--mut) 45%,var(--rule));border-radius:var(--r-control);background:transparent;color:var(--ink);font:600 15px/20px 'Public Sans','Public Sans Fallback',system-ui,sans-serif;white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent}
.dh-tpc[aria-pressed=true]{background:var(--fill);border-color:var(--fill);color:var(--on-fill)}
@media (hover:hover){.dh-tpc[aria-pressed=false]:hover{border-color:var(--ink)}}
.dh-tpc:focus-visible{outline:2px solid var(--link);outline-offset:2px}
.dh-tp[aria-busy=true] ~ section ul.rail{opacity:.55;transition:opacity .15s}
@media (prefers-reduced-motion:reduce){.dh-tp[aria-busy=true] ~ section ul.rail{transition:none}}
@media (max-width:599px){main.dh-home .dh-tp{margin-top:32px}.dh-tpl{flex-wrap:nowrap;margin-inline:calc(-1 * var(--gut));padding-inline:var(--gut);overflow-x:auto;overscroll-behavior-x:contain;scroll-padding-inline:var(--gut);scrollbar-width:none}.dh-tpl::-webkit-scrollbar{display:none}.dh-tpl li{flex:none}.dh-tpl li:last-child{padding-right:var(--gut)}}
/* Juno on #702: Home's two book rails draw one card. The proof sits right under the author on every card, and the
   actions keep one baseline across the rail (the tallest card sets the row; the others' actions sit at its foot). */
main.dh-home .dh-best .rail .card{display:flex;flex-direction:column}
main.dh-home .dh-best .rail .card .sv-ri{align-self:stretch;margin-top:auto;padding-top:8px;min-height:52px}/* the one status control (44 px, F3) under its 8 px (Vera on #730) */
/* Juno on #702 (nit): with the tech rail on Home, Ways in has 7 tiles; full rows (two of 3, or one of 6) where the tiles form a grid.
   All lists reaches the rest. On a phone the row scrolls and keeps all 7. */
@media (min-width:640px){main.dh-home .dh-ways.dh-wrow li:nth-child(n+7){display:none}}
/* R3-104 (Juno): no lede, subline under an h1 or section gloss ends on a one-word line. Ledes wrap with pretty; the list glosses
   are one short sentence over two lines at most, where Chromium's pretty leaves a long last word alone, so they balance. A new lede
   class joins this rule. */
.pp-lede,.pp-n,.best-lede,.best-n,.dh-lede,.dh-dek{text-wrap:pretty}
.bi-d{text-wrap:balance}
/* One status control (F3, UX audit Nov 28): a book on My Shelf shows its state and a chevron that opens its sheet
   (status.js). A Read book's icon is the check, drawn as a line. */
.st-v{flex:none;width:12px;height:12px;margin-left:-2px}.st-on .st-v path{fill:none!important;stroke:currentColor;stroke-width:1.6}
.st-read svg:not(.st-v) path{fill:none!important;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.unr-x{display:none!important}/* "Not read yet" (UX audit 4b, unread.js; Juno on #731): one checkbox and label, no border, no underline, 44 tall */
.unr{display:inline-flex;flex:none;align-items:center;gap:10px;min-height:44px;padding:0;border:0;background:none;color:var(--ink);font:400 15px/1 'Public Sans','Public Sans Fallback',sans-serif;white-space:nowrap;cursor:pointer}
.unr-b{flex:none;width:18px;height:18px;fill:none;stroke:currentColor}.unr-b rect{stroke-width:1.5}.unr-b path{stroke-width:2;stroke-linecap:round;stroke-linejoin:round;visibility:hidden}
.unr[aria-pressed=true] .unr-b path{visibility:visible}
.unr:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.unr-bar{margin:0 0 16px}.unr-none{margin:8px 0 24px;color:var(--mut)}
.unr-n{color:var(--mut);font-weight:400}.unr-n:empty{display:none}
.rs .find-tools>.unr{margin-top:4px}/* under the filter row on a phone */
/* More like this (Juno, Nov 29): a plain link at the end of the action row, on its own line in a narrow tile. */
.sv-ri .ml-a{display:inline-flex;align-items:center;min-height:44px;color:var(--mut);font-size:14px;line-height:20px;text-decoration:none;white-space:nowrap}
.sv-ri .ml-a:focus-visible{text-decoration:underline;text-underline-offset:3px}
@media (hover:hover){.sv-ri .ml-a:hover{text-decoration:underline;text-underline-offset:3px}}
/* For you before it is yours (Juno, Nov 29): its line under the head, held from first paint when the last visit drew it. */
.fy .fy-sub{margin:-4px 0 16px;color:var(--mut);font-size:15px;line-height:22px}
.fy .fy-sub a{color:inherit;text-decoration:underline;text-underline-offset:3px}
html[data-fy="best"] .fy .fy-sub[hidden]{display:block;visibility:hidden}
/* More like this on a list row under 600 (Vera on #736): after the status control, or on its own line where the two
   don't fit (320), as on genre rows. */
@media (max-width:599.98px){
  li.brow.brow.brow > .sv-ri.sv-ri:has(> .ml-a){flex-wrap:wrap;column-gap:16px}
  li.brow.brow > .sv-ri .ml-a{height:44px;min-height:44px;margin:-2px 0;padding:0 4px}
}
:root{--h-page:32px}@media (min-width:1000px){:root{--h-page:44px}}
.best h1,.lp h1,.soc h1,.pp h1{font-size:var(--h-page);line-height:1.1}
