/* H3 "heat stamp". Two families: Bodoni Moda (titles, stamp numeral; italic for book titles) + Archivo (everything else).
   Mobile first (390), then 1000+ (1440). */
@font-face { font-family: 'Archivo'; src: url(/fonts/archivo-var-latin.woff2) format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'Bodoni Moda'; src: url(/fonts/bodoni-moda-500-italic-latin.woff2) format('woff2'); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Bodoni Moda'; src: url(/fonts/bodoni-moda-500-normal-latin.woff2) format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --navy: #16375f;
  --ground: #10243f;
  --ground-2: #17345a;
  --line: #345a86;
  --fg: #faf4df;
  --fg-2: #d6c993;
  --paper: #faf4df;
  --paper-rule: #e2d8b8;
  --ink: #100a0d;
  --ink-2: #4f4536;
  --red: #ec3d4b;
  --citrine: #dfc638;
  --serif: 'Bodoni Moda', Didot, 'Bodoni 72', serif;
  --sans: 'Archivo', 'Arial Narrow', sans-serif;
  --pad: 16px;
  --bar: 64px;
  --rule: 2px solid var(--fg);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-bottom: calc(var(--bar) + 24px); }
body {
  margin: 0;
  background: var(--ground);
  color: var(--fg);
  font: 400 17px/1.45 var(--sans);
  padding-bottom: calc(var(--bar) + 24px + env(safe-area-inset-bottom));
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--citrine); outline-offset: 3px; }
.skip { position: absolute; left: 8px; top: -60px; padding: 8px 12px; background: var(--paper); color: var(--ink); z-index: 20; }
.skip:focus { top: 8px; }

/* ---------- the stamp ---------- */
.stamp {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  width: 120px; aspect-ratio: 120 / 62; font-size: 10px; color: var(--ink);
  filter: drop-shadow(0 2px 2px rgba(16, 10, 13, .35));
  transition: transform .15s ease;
}
.stamp-md { width: 156px; aspect-ratio: 156 / 80; font-size: 13px; }
.stamp-lg { width: 212px; aspect-ratio: 212 / 108; font-size: 17.6px; }
.stamp-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.stamp-n { position: relative; font: 400 4.1em/1 var(--serif); color: var(--red); margin-top: -.06em; }
.stamp.heat-0 .stamp-n, .stamp.heat-1 .stamp-n, .stamp.heat-2 .stamp-n { color: var(--navy); }
.stamp-side { position: relative; display: flex; flex-direction: column; gap: .2em; }
.stamp-name { font: 800 1.4em/1 var(--sans); font-stretch: 75%; text-transform: uppercase; letter-spacing: .06em; }
.stamp-age { font: 900 2.1em/1 var(--sans); font-stretch: 75%; }
.stamp-md .stamp-name, .stamp-lg .stamp-name { font-size: 1.1em; }

.chip { display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; font: 400 19px/1 var(--serif); color: var(--paper); background: var(--ink); outline: 1px solid var(--paper); outline-offset: -4px; }
.chip.heat-3, .chip.heat-4, .chip.heat-5 { background: var(--red); }
.chip.heat-0 { background: var(--paper); color: var(--ink); outline-color: var(--ink); }

/* ---------- masthead ---------- */
.mast { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 16px; padding: 10px var(--pad) 0; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; padding: 2px 0; }
.logo { flex: none; width: 36px; height: 36px; }
.word { font: 400 22px/1 var(--serif); letter-spacing: .005em; }
.word b { font-weight: 400; color: var(--citrine); }
.nav { display: flex; gap: 4px; width: 100%; margin-top: 6px; }
.nav a { padding: 10px 10px 10px 0; margin-right: 10px; font: 700 15px/1.2 var(--sans); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; color: var(--fg-2); border-bottom: 3px solid transparent; }
.nav a:hover { color: var(--fg); border-bottom-color: var(--red); }
.nav a[aria-current='page'] { color: var(--fg); border-bottom-color: var(--citrine); }

/* search: thumb bar at the bottom on phones, in the masthead on desktop */
.find { position: fixed; z-index: 10; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; height: calc(var(--bar) + env(safe-area-inset-bottom)); padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); background: var(--ink); border-top: 2px solid var(--red); }
.find input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border: 0; border-radius: 0; background: var(--paper); color: var(--ink); font: 500 16px var(--sans); }
.find input::placeholder { color: var(--ink-2); }
.find button { height: 44px; padding: 0 18px; border: 0; background: var(--red); color: var(--ink); font: 800 15px var(--sans); text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.find button:hover { background: var(--citrine); }

/* ---------- cards (shared by home, book "more", lists) ---------- */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; }
.card { display: flex; }
.card-link { display: flex; flex-direction: column; width: 100%; text-decoration: none; }
.card-cover { position: relative; display: block; margin-bottom: 58px; }
.cover-img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; background: var(--ground-2); box-shadow: 0 0 0 1px rgba(250, 244, 223, .12); }
.card-cover .stamp { position: absolute; left: 0; bottom: -52px; transform: rotate(-2deg); }
.card-title { font: 400 18px/1.15 var(--serif); }
.card-by { margin-top: 3px; font-size: 15px; line-height: 1.3; color: var(--fg-2); }
.card-ch { margin-top: auto; padding-top: 8px; font: 500 14px/1.3 var(--sans); }
.card-ch::before { content: ''; display: block; height: 1px; margin-bottom: 7px; background: var(--line); }
.card-heat { display: block; color: var(--fg-2); }
.card-sc { display: block; margin-top: 2px; font-weight: 700; letter-spacing: .02em; }
.card-link:hover .card-title, .card-link:focus-visible .card-title { text-decoration: underline 2px var(--red); text-underline-offset: 4px; }
.card-link:hover .stamp { transform: rotate(-1deg) translateY(-3px); }
.cover-missing { display: grid; place-items: center; aspect-ratio: 2 / 3; border: 2px dashed var(--fg-2); font: 500 15px var(--sans); text-align: center; padding: 8px; }

/* ---------- home ---------- */
.home main { padding: 0 var(--pad); }
.home-grid .intro { grid-column: 1 / -1; padding: 16px 0 2px; }
.intro h1 { font: 400 29px/1.08 var(--serif); text-wrap: balance; }
.intro p { margin-top: 8px; font-size: 16px; line-height: 1.4; color: var(--fg-2); max-width: 44ch; }
.home-grid .key { grid-column: 1 / -1; padding: 16px; background: var(--paper); color: var(--ink); }
.key h2, .lists-band h2 { font: 400 24px/1.1 var(--serif); padding-bottom: 8px; }
.key-list li { display: flex; gap: 12px; align-items: center; padding: 7px 0; border-top: 1px solid var(--paper-rule); font-size: 15px; line-height: 1.3; }
.key-more { margin-top: 10px; font-weight: 700; font-size: 15px; }
.key-more a { text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.key-more a:hover { color: var(--red); }
.none-found { padding: 20px 0; font-size: 16px; }
.lists-band { margin: 32px 0 8px; }
.list-links { display: flex; flex-wrap: wrap; gap: 10px; }
.list-links a { display: inline-block; padding: 10px 14px; border: 1px solid var(--fg-2); font: 600 15px/1.2 var(--sans); text-decoration: none; }
.list-links a:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ---------- book ---------- */
.book main { padding: 0 var(--pad); }
.crumbs { display: flex; gap: 8px; padding: 12px 0 0; font: 500 15px/1.3 var(--sans); color: var(--fg-2); }
.crumbs a:hover { color: var(--fg); }
.bk { display: grid; grid-template-columns: 158px minmax(0, 1fr); column-gap: 16px; grid-template-areas: 'head head' 'cover facts' 'ch ch' 'warn warn' 'why why'; }
.bk-head { grid-area: head; padding: 6px 0 16px; }
.bk-head h1 { font: 400 36px/1.02 var(--serif); }
.bk-by { margin-top: 8px; font-size: 16px; color: var(--fg-2); }
.bk-series::before { content: ' / '; color: var(--line); }
.bk-cover { grid-area: cover; align-self: start; }
.bk-cover-img { position: relative; padding-bottom: 0; }
.bk-cover .stamp { position: absolute; left: 0; bottom: -68px; transform: rotate(-2deg); width: 156px; font-size: 13px; }
.bk-cover figcaption { margin-top: 80px; font-size: 14px; line-height: 1.3; color: var(--fg-2); }
.bk-cover figcaption a { text-decoration: none; }
.bk-cover figcaption a:hover { text-decoration: underline; color: var(--fg); }
.bk-facts { grid-area: facts; align-self: start; }
.bk-facts div { padding: 0 0 8px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.bk-facts dt { font: 700 14px/1.2 var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--fg-2); }
.who { font-weight: 400; text-transform: none; letter-spacing: 0; }
.bk-facts dd { font-size: 16px; line-height: 1.3; }
.bk-facts dd b { font: 800 24px/1.1 var(--sans); font-stretch: 85%; }
.bk-facts dd .f-heat { font: 400 30px/1 var(--serif); color: var(--red); }
.bk-facts small { display: block; font-size: 14px; color: var(--fg-2); }
.bk-facts div:first-child small { display: inline; font-size: 16px; color: var(--fg-2); }
.bk h2, .bk-more h2, .bk-end h2 { font: 400 23px/1.15 var(--serif); }
.bk-ch { grid-area: ch; margin-top: 30px; }
.bk-ch h2 { margin-bottom: 10px; }
.ch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ch-grid li { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; padding: 8px 10px; background: var(--paper); color: var(--ink); }
.ch-k { font: 700 14px var(--sans); color: var(--ink-2); }
.ch-n { font: 400 30px/1 var(--serif); color: var(--red); }
.ch-p { flex-basis: 100%; font: 500 14px/1.2 var(--sans); color: var(--ink-2); }
.ch-src { margin-top: 8px; font-size: 15px; color: var(--fg-2); }
.ch-none { padding: 12px 14px; background: var(--paper); color: var(--ink); font-size: 16px; }
.bk-warn { grid-area: warn; margin-top: 26px; }
.bk-warn p { margin-top: 6px; font-size: 16px; }
.bk-why { grid-area: why; margin-top: 26px; }
.bk-why h2 { padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.bk-why h2 ~ h2 { margin-top: 22px; }
.why-list li { position: relative; margin-top: 8px; padding-left: 18px; font-size: 16px; line-height: 1.4; max-width: 46ch; }
.why-list li::before { content: ''; position: absolute; left: 2px; top: .5em; width: 6px; height: 6px; background: var(--red); transform: rotate(45deg); }
.bk-more { margin-top: 40px; }
.bk-more h2 { margin-bottom: 16px; }
.bk-more .card:nth-child(n+5) { display: none; }
.bk-end { margin-top: 40px; padding: 16px 0 8px; border-top: 1px solid var(--line); font-size: 15px; color: var(--fg-2); display: grid; gap: 24px; }
.bk-end h2 { color: var(--fg); margin-bottom: 6px; font-size: 20px; }
.bk-end li { padding: 5px 0; line-height: 1.35; }
.bk-end a { color: var(--fg); text-decoration-color: var(--line); }
.bk-end a:hover { text-decoration-color: var(--red); }
.bk-unv ul { list-style: disc; padding-left: 18px; }
.bk-unv p { margin-top: 6px; }
.checked { margin-bottom: 4px; color: var(--fg); }


.foot { padding: 20px var(--pad); border-top: 1px solid var(--line); font-size: 14px; color: var(--fg-2); }
.foot a { color: var(--fg); }
.nf-main { padding: 40px 0; }
.nf-main h1 { font: 400 36px/1.1 var(--serif); margin-bottom: 12px; }
.nf main { padding: 0 var(--pad); }

@media (max-width: 370px) {
  :root { --pad: 12px; }
  .bk { grid-template-columns: 140px minmax(0, 1fr); column-gap: 12px; }
  .bk-cover .stamp { width: 140px; font-size: 11.6px; }
  .bk-cover .stamp .stamp-name { font-size: 1.25em; }
  .intro h1 { font-size: 27px; }
  .card-cover .stamp { bottom: -48px; }
  .card-cover .stamp { width: 112px; font-size: 9.4px; }
  .card-cover .stamp .stamp-name { font-size: 1.5em; }
}

@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bk-more .card:nth-child(n+5) { display: flex; }
  .bk-more .card:nth-child(n+7) { display: none; }
}

/* ---------- desktop ---------- */
@media (min-width: 1000px) {
  :root { --pad: 48px; }
  body { padding-bottom: 0; }
  html { scroll-padding-bottom: 0; }
  .mast { flex-wrap: nowrap; padding: 14px var(--pad); max-width: 1440px; margin: 0 auto; border-bottom: 0; }
  .logo { width: 44px; height: 44px; }
  .word { font-size: 26px; }
  .nav { width: auto; margin: 0 auto 0 32px; gap: 8px; }
  .nav a { padding: 8px 2px; margin-right: 18px; }
  .find { position: static; height: auto; padding: 0; width: 360px; background: none; border: 0; }
  .find input { height: 42px; }
  .find button { height: 42px; }
  body > .mast { border-bottom: 0; }
  main { max-width: 1440px; margin: 0 auto; }
  .book main, .home main, .nf main { padding: 0 var(--pad); }
  .foot { max-width: 1440px; margin: 48px auto 0; }

  .cards { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px 24px; }
  .card-title { font-size: 19px; }
  .home-grid { padding-top: 8px; }
  .home-grid .intro { grid-column: span 2; padding: 22px 12px 0 0; }
  .intro h1 { font-size: 44px; line-height: 1.04; }
  .intro p { font-size: 17px; margin-top: 14px; }
  .home-grid .key { grid-column: span 3; padding: 18px 22px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; align-content: start; }
  .home-grid .key h2 { grid-column: 1 / -1; }
  .key-list { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .key-more { grid-column: 1 / -1; }
  .home-grid { padding-top: 22px; }
  .home-grid .intro { padding-top: 0; }

  .bk { grid-template-columns: 300px minmax(0, 1fr) 380px; column-gap: 48px; grid-template-rows: auto auto auto 1fr; grid-template-areas: 'cover head why' 'cover facts why' 'cover ch why' 'cover warn why'; padding-top: 12px; }
  .crumbs { padding-top: 16px; }
  .bk-head { padding-top: 0; }
  .bk-head h1 { font-size: 54px; }
  .bk-cover { grid-row: 1 / -1; }
  .bk-cover .stamp { width: 212px; font-size: 17.6px; left: 0; bottom: -92px; }
  .bk-cover figcaption { margin-top: 106px; }
  .bk-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); column-gap: 24px; border-top: 1px solid var(--line); padding-top: 12px; }
  .bk-facts div { border-bottom: 0; margin-bottom: 4px; }
  .bk-ch { margin-top: 24px; }
  .ch-grid { grid-template-columns: repeat(6, 1fr); }
  .bk-why { margin-top: 0; padding: 22px 24px; background: var(--ground-2); align-self: start; }
  .bk-more { margin-top: 56px; }
  .bk-more .card:nth-child(n+5) { display: flex; }
  .bk-end { grid-template-columns: 2fr 1fr; column-gap: 48px; }
}

/* even card rows: scene line block always 2 lines tall */
.card-ch { min-height: calc(3 * 1.3em + 18px); }
.intro-heat { display: none; }
@media (min-width: 1000px) {
  .intro-heat { display: block; margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--line); }
  .intro-heat h2 { font: 700 14px/1.2 var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--fg-2); margin-bottom: 10px; }
  .intro-heat ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
  .intro-heat a { display: flex; align-items: center; gap: 10px; padding: 4px 0; text-decoration: none; font: 600 16px/1.2 var(--sans); }
  .intro-heat small { margin-left: auto; font-size: 14px; color: var(--fg-2); }
  .intro-heat a:hover span { text-decoration: underline 2px var(--red); text-underline-offset: 3px; }
}

/* perforation: a row of stamp holes used as the section divider */
.perf-rule { border-top: 0 !important; padding-top: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Ccircle cx='6' cy='4' r='2.6' fill='%23faf4df' fill-opacity='.6'/%3E%3C/svg%3E") repeat-x left top / 12px 8px; }
.bk-head h1, .pl-head h1 { text-wrap: balance; }

/* postmark: drawn once, faint */
.postmark { display: block; color: var(--fg); opacity: .22; pointer-events: none; }
.home-grid .intro { position: relative; }
.intro .postmark { position: absolute; right: -6px; top: 8px; width: 190px; height: auto; }
.intro h1, .intro p, .intro-heat { position: relative; }
.bk-cover .postmark { display: none; }
.intro-heat .is-empty { opacity: .45; }

/* book pages: no sticky bar on phones; Search link opens the form in the header */
.nav-search { display: none; }
@media (max-width: 999px) {
  body.book { padding-bottom: 24px; }
  .book .nav-search { display: inline-block; margin-left: auto; margin-right: 0; padding-right: 0; color: var(--fg); border-bottom-color: var(--red); }
  .book .find { display: none; }
  .book .find:target, .book .find:focus-within { display: flex; position: static; width: 100%; height: auto; padding: 0 0 10px; background: none; border: 0; }
}
@media (min-width: 1000px) {
  .intro .postmark { right: 0; top: auto; bottom: -14px; width: 250px; opacity: .16; }
  .bk-cover .postmark { display: block; position: absolute; right: -30px; bottom: -78px; width: 150px; height: auto; opacity: .35; }
}
@media (max-width: 999px) {
  .nav { gap: 16px; }
  .nav a { margin-right: 0; padding-right: 0; white-space: nowrap; letter-spacing: .04em; }
}
@media (min-width: 1000px) {
  .intro .postmark { top: -8px; bottom: auto; right: -12px; width: 210px; }
}
@media (max-width: 380px) {
  .nav { gap: 10px; }
  .nav a { letter-spacing: 0; }
}

/* ---------- round 4: fantasy-book type + engraved line ornament ---------- */
.card-title, .bk-head h1, .intro h1, .pl-head h1 { font-style: italic; font-weight: 500; letter-spacing: -.005em; }
.card-title { font-size: 19px; line-height: 1.12; }
.word { font-style: italic; font-weight: 500; }
.stamp-n { font-weight: 600; }
.bk h2, .bk-more h2, .bk-end h2, .key h2, .lists-band h2 { font-weight: 500; }
/* engraved band under the header: hairline, lozenge, arcs */
.engrave { height: 16px; margin: 0 var(--pad); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='16' fill='none' stroke='%23dfc638' stroke-width='1' stroke-opacity='.75'%3E%3Cpath d='M0 8H17M39 8H56M18 8A10 10 0 0 1 38 8M22 8A6 6 0 0 0 34 8M28 4L32 8L28 12L24 8Z'/%3E%3C/svg%3E") repeat-x left center / 56px 16px; }
.mast { border-bottom: 0; }
/* fine engraved frame around every stamp */
.stamp { outline: 1px solid var(--citrine); outline-offset: 4px; }
.postmark { display: none; }
@media (min-width: 1000px) {
  .engrave { max-width: calc(1440px - 2 * var(--pad)); margin: 0 auto; width: calc(100% - 2 * var(--pad)); }
  .intro .postmark { display: block; top: auto; bottom: 0; right: 0; left: auto; width: 200px; opacity: .2; }
  .bk-cover .postmark { display: block; }
  .bk-why { padding: 26px 28px; }
  .why-list li { font-size: 17px; line-height: 1.6; margin-top: 10px; }
  .bk-more { margin-top: 24px; }
  .bk-head h1 { font-size: 60px; line-height: 1; }
  .intro h1 { font-size: 48px; }
}

/* ---------- round 5 ---------- */
/* stamp sits wholly below the cover; gold hairline follows the perforation inside it */
.stamp { outline: 0; }
.stamp-n, .stamp.heat-0 .stamp-n, .stamp.heat-1 .stamp-n, .stamp.heat-2 .stamp-n { font-style: italic; font-weight: 700; color: var(--red); }
.card-cover { margin-bottom: 80px; }
.card-cover .stamp { top: calc(100% + 10px); bottom: auto; left: 2px; transform: rotate(-1.5deg); }
.bk-cover .stamp { top: calc(100% + 12px); bottom: auto; left: 2px; }
.bk-cover figcaption { margin-top: 106px; }
/* card footer: two fixed, balanced lines */
.card-ch { min-height: 0; }
.card-heat, .card-sc { min-height: calc(2 * 1.3em); text-wrap: balance; }
.card-sc { font-weight: 500; color: var(--fg); letter-spacing: 0; }
/* engraved band reused as the section divider */
.perf-rule { padding-top: 30px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='16' fill='none' stroke='%23dfc638' stroke-width='1' stroke-opacity='.75'%3E%3Cpath d='M0 8H17M39 8H56M18 8A10 10 0 0 1 38 8M22 8A6 6 0 0 0 34 8M28 4L32 8L28 12L24 8Z'/%3E%3C/svg%3E") repeat-x left top / 56px 16px; }
/* why: verdict line, then small bullets */
.why-lead { margin-top: 10px; font: italic 600 20px/1.3 var(--serif); }
.why-list li { font-size: 15px; line-height: 1.5; margin-top: 6px; color: var(--fg-2); }
@media (max-width: 370px) { .card-cover { margin-bottom: 74px; } }
@media (min-width: 1000px) {
  .home-grid .intro { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 48px; padding: 8px 0 4px; }
  .intro .postmark { display: none; }
  .intro h1 { font-size: 50px; }
  .intro-heat { margin: 0; padding: 0; border: 0; }
  .intro-heat ul { display: flex; gap: 28px; }
  .intro-heat a { gap: 8px; }
  .intro-heat small { margin-left: 4px; }
  .home-grid .key { grid-column: span 5; }
  .key-list { grid-template-columns: repeat(3, 1fr); }
  .card-cover { margin-bottom: 84px; }
  .bk-cover .stamp { top: calc(100% + 14px); }
  .bk-cover figcaption { margin-top: 136px; }
  .bk-cover .postmark { top: calc(100% + 10px); bottom: auto; right: -36px; }
  .why-lead { font-size: 21px; }
  .why-list li { font-size: 15px; line-height: 1.55; margin-top: 6px; }
}
.card-heat, .card-sc { min-height: 0; }
.card-sc { margin-top: 4px; }
.card-ch { min-height: calc(4 * 1.3em + 22px); }

/* ---------- round 6 ---------- */
/* one ornament only: under the header. Section dividers are a 1px hairline. */
.perf-rule { background: none; border-top: 1px solid var(--line) !important; padding-top: 20px; }
.nav a:hover { border-bottom-color: var(--fg-2); }
/* mini stamp: heat number on a tiny perforated stamp */
.mini-stamp { position: relative; display: inline-grid; place-items: center; flex: none; width: 30px; height: 34px; }
.mini-stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mini-stamp > span { position: relative; font: italic 700 19px/1 var(--serif); color: var(--red); }
/* card: title box always 2 lines so author + meta line up */
.card-title { display: flex; align-items: flex-end; min-height: calc(2 * 1.12em); }
/* book: mobile search icon in header, summary line instead of repeated heat/age */
.nav-search { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--fg); border: 0; }
.nav-search:hover { color: var(--citrine); }
.f-sum dd { font: italic 600 19px/1.3 var(--serif); }
@media (max-width: 999px) {
  .book .nav-search { display: inline-flex; margin: 0 -10px 0 auto; padding: 0; border: 0; }
  .book .bk-facts .f-dup { display: none; }
  .nav { padding-right: 0; }
}
@media (min-width: 1000px) {
  .f-sum { display: none; }
  /* home: browse row sits directly under the description, no gap */
  .home-grid .intro { display: block; padding-top: 6px; }
  .intro-heat { margin-top: 18px; }
  .intro-heat h2 { display: inline-block; margin: 0 20px 0 0; vertical-align: middle; }
  .intro-heat ul { display: inline-flex; vertical-align: middle; }
  /* book: narrower cover column, why without a box */
  .bk { grid-template-columns: 260px minmax(0, 1fr) 360px; grid-template-areas: 'cover head head' 'cover facts why' 'cover ch why' 'cover warn why'; }
  .bk-cover .stamp { width: 200px; font-size: 16.6px; }
  .bk-cover figcaption { margin-top: 130px; }
  .bk-why { background: none; padding: 12px 0 0; }
  .bk-why h2 { font-size: 20px; }
  .why-lead { font-size: 22px; margin-top: 10px; }
  .why-more { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--fg-2); max-width: 40ch; }
  .bk-why h2 ~ h2 { margin-top: 30px; }
  .bk-more { margin-top: 8px; }
}
.why-more { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--fg-2); }
.bk-facts .f-sum + div small { display: inline; font-size: 16px; color: var(--fg-2); }
.f-sum dd { font-size: 18px; text-wrap: balance; }
@media (min-width: 1000px) {
  .bk { grid-template-areas: 'cover head why' 'cover facts why' 'cover ch why' 'cover warn why'; }
  .bk-why { padding-top: 0; }
}

/* ---------- phones: stamp beside the cover, in the right column ---------- */
@media (max-width: 600px) {
  .bk { --sw: calc(100vw - 2 * var(--pad) - 158px - 16px); }
  .bk-cover .stamp { top: 0; left: calc(100% + 16px); width: var(--sw); font-size: calc(var(--sw) * .083); transform: none; }
  .bk-cover figcaption { margin-top: 8px; }
  .bk-facts { padding-top: calc(var(--sw) * 108 / 212 + 16px); }
  .f-sum dd { display: flex; flex-direction: column; gap: 6px; font: 500 15px/1.35 var(--sans); }
  .f-sum dd span:first-child { font-weight: 700; }
}
@media (max-width: 370px) {
  .bk { --sw: calc(100vw - 2 * var(--pad) - 140px - 12px); }
}

/* ---------- round 8: navy + bone + stamp red; gold only in ornament and stamp edge ---------- */
:root { --fg-2: #c9c3b0; }
p, li, dd, figcaption { text-wrap: pretty; }
.nav a[aria-current='page'] { border-bottom-color: var(--red); }
.nav a:hover, .nav-search:hover { color: var(--fg); border-bottom-color: var(--red); }
.word b { color: var(--fg); }
a:hover { text-decoration-color: var(--red); }
.bk-facts dt, .intro-heat h2 { color: var(--fg-2); }
.crumbs a { text-decoration-color: var(--red); }
.bk-cover figcaption { font-size: 14px; color: var(--fg-2); }
/* cards: title box anchored to the top, fixed 2 lines */
.card-title { display: block; align-items: initial; min-height: calc(2 * 1.12em); }
/* book: heat number as heavy as the other figures */
.bk-facts dd .f-heat { font: italic 700 30px/1 var(--serif); color: var(--red); }
.bk-facts dd b { font-size: 26px; }
.why-more, .why-list li { color: #ece6d2; font-size: 16px; line-height: 1.6; }
/* legend of the scale in the hero */
.intro-heat ol { display: grid; gap: 10px 22px; }
.intro-heat li a, .intro-heat .lg-off { display: flex; gap: 12px; align-items: center; text-decoration: none; padding: 2px 0; }
.lg-t { display: flex; flex-direction: column; font-size: 14px; line-height: 1.3; color: var(--fg-2); }
.lg-t b { font: italic 600 18px/1.2 var(--serif); color: var(--fg); }
.intro-heat a:hover .lg-t b { text-decoration: underline 2px var(--red); text-underline-offset: 3px; }
.lg-off { opacity: .55; }
@media (max-width: 999px) {
  .bk-cover figcaption { margin-top: 6px; }
}
@media (min-width: 1000px) {
  .home-grid .intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 48px; align-items: center; padding: 10px 0 8px; }
  .intro h1 { font-size: 46px; }
  .intro-heat { margin: 0; padding: 0; border: 0; }
  .intro-heat h2 { display: block; margin: 0 0 12px; }
  .intro-heat ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bk-why h2 { color: var(--fg); }
}
.bk-facts dd .f-heat { font-size: 36px; }
.intro p { text-wrap: balance; }
/* home: reading lists sit in the grid after the last card; phones get the legend strip */
.home-grid .lists-band { grid-column: 1 / -1; margin: 8px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.legend-band { margin-top: 28px; }
.legend-band h2 { font: 500 22px/1.2 var(--serif); margin-bottom: 12px; }
.legend-band ol { display: grid; gap: 10px; }
.legend-band li a, .legend-band .lg-off { display: flex; gap: 12px; align-items: center; text-decoration: none; }
@media (min-width: 1000px) {
  .legend-band { display: none; }
  .home-grid .lists-band { grid-column: span 5; align-self: start; margin: 0; padding: 0 0 0 24px; border-top: 0; border-left: 1px solid var(--line); }
  .home-grid .lists-band .list-links { flex-direction: column; align-items: flex-start; }
}
/* sprite colour hooks; low-heat ornaments navy */
.heat-0, .heat-1, .heat-2 { --orn: var(--navy); }
.key .mini-stamp { --mini-stroke: var(--ink-2); }
/* empty levels: faded stamp, readable text */
.lg-off { opacity: 1; }
.lg-off .mini-stamp { opacity: .5; }
.lg-off .lg-t, .lg-off .lg-t b { color: var(--fg-2); }

/* ---------- round 9 ---------- */
/* hero legend: one row of six stamps, numeral + name only; 0 and 5 not faded, just not links */
.lg-off .mini-stamp { opacity: 1; }
.lg-off .lg-t b { color: var(--fg); }
@media (min-width: 1000px) {
  .intro-heat ol { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 12px; }
  .intro-heat li a, .intro-heat .lg-off { flex-direction: column; align-items: center; gap: 8px; text-align: center; }
  .intro-heat .mini-stamp { width: 52px; height: 58px; }
  .intro-heat .mini-stamp > span { font-size: 32px; }
  .intro-heat .lg-t > span { display: none; }
  .intro-heat .lg-t b { font-size: 18px; }
}
/* card: author above title, meta pinned to the bottom, bigger stamp */
.card-by { margin: 0 0 2px; font-size: 14px; color: var(--fg-2); }
.card-title { min-height: 0; }
.card-ch { margin-top: auto; padding-top: 12px; min-height: 0; }
.card-cover .stamp { width: 58%; font-size: calc(10px * 1.0); }
.card-cover { margin-bottom: 0; padding-bottom: 0; }
.card-cover .stamp { position: relative; top: auto; left: 0; display: flex; margin: 10px 0 12px; aspect-ratio: 120 / 62; }
@media (min-width: 1000px) { .card-cover .stamp { font-size: 11.5px; } }
@media (max-width: 999px) { .card-cover .stamp { width: 66%; font-size: 9.6px; } }
/* book: chapter tiles as stamp faces on navy */
.ch-grid li { background: transparent; color: var(--fg); border: 1px solid rgba(250, 244, 223, .35); }
.ch-k, .ch-p { color: var(--fg-2); }
.ch-n { font-style: italic; font-weight: 600; }
.ch-none { background: transparent; color: var(--fg); border: 1px solid rgba(250, 244, 223, .35); }
@media (min-width: 1000px) {
  .bk-cover { grid-row: 1 / 4; }
  .bk-ch { grid-row: 3 / 5; grid-column: 2; }
  .bk-warn { grid-area: 4 / 1 / 5 / 2; margin-top: 18px; }
  .bk-warn h2 { font-size: 20px; }
  .bk-warn p { font-size: 15px; color: var(--fg-2); }
}
.card-ch { min-height: calc(3 * 1.3em + 22px); }
.card-cover .stamp .stamp-name { font-size: 1.12em; letter-spacing: .03em; }

/* ---------- round 10 ---------- */
@font-face { font-family: 'Bodoni Moda'; src: url(/fonts/bodoni-moda-700-italic-latin.woff2) format('woff2'); font-weight: 700 900; font-style: italic; font-display: swap; }
.bk-facts dd .f-heat { font-weight: 700; font-size: 34px; line-height: 1; }
@media (min-width: 1000px) {
  /* two columns: cover + stamp + warnings | everything else */
  .bk { grid-template-columns: 260px minmax(0, 1fr); grid-template-areas: none; grid-template-rows: none; column-gap: 56px; }
  .bk-cover { grid-area: 1 / 1 / 5 / 2; }
  .bk-head { grid-area: 1 / 2; }
  .bk-facts { grid-area: 2 / 2; }
  .bk-ch { grid-area: 3 / 2; }
  .bk-why { grid-area: 4 / 2; margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; align-content: start; }
  .bk-why h2 ~ h2 { margin-top: 0; }
  .bk-why > h2:nth-of-type(1) { grid-area: 1 / 1; } .bk-why > h2:nth-of-type(2) { grid-area: 1 / 2; }
  .bk-why > .why-lead:nth-of-type(1) { grid-area: 2 / 1; } .bk-why > .why-lead:nth-of-type(2) { grid-area: 2 / 2; }
  .bk-why > .why-more:nth-of-type(3) { grid-area: 3 / 1; } .bk-why > .why-more:nth-of-type(4) { grid-area: 3 / 2; }
  .bk-warn { grid-area: 5 / 1 / 6 / 2; }
}
@media (min-width: 1000px) {
  .bk-why > p { grid-area: auto; }
  .bk-why > p:nth-of-type(1) { grid-area: 2 / 1; } .bk-why > p:nth-of-type(2) { grid-area: 3 / 1; }
  .bk-why > p:nth-of-type(3) { grid-area: 2 / 2; } .bk-why > p:nth-of-type(4) { grid-area: 3 / 2; }
}

/* ---------- round 11 ---------- */
/* header rule: hairline + small perforation row, one mini "R" stamp in the middle */
.engrave { position: relative; display: flex; justify-content: center; align-items: center; height: 28px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='28'%3E%3Cpath d='M0 13.5H8' stroke='%23dfc638' stroke-opacity='.8'/%3E%3Ccircle cx='4' cy='18' r='1.2' fill='%23dfc638' fill-opacity='.55'/%3E%3C/svg%3E") repeat-x left center / 8px 28px; }
.engrave-r { position: relative; display: grid; place-items: center; width: 22px; height: 24px; box-shadow: 0 0 0 10px var(--ground); background: var(--ground); }
.engrave-r svg { position: absolute; inset: 0; }
.engrave-r span { position: relative; font: italic 700 14px/1 var(--serif); color: var(--red); }
/* covers: hairline edge so dark covers don't sink into navy */
.cover-img { box-shadow: 0 0 0 1px rgba(250, 244, 223, .2), 0 1px 0 rgba(0, 0, 0, .4); }
/* card meta legible */
.card-ch { font-size: 15px; }
.card-heat, .card-sc { color: rgba(250, 244, 223, .85); }
.card-by { font-size: 15px; color: rgba(250, 244, 223, .85); }
@media (min-width: 1000px) {
  /* legend sits under the description on the card grid's 6 columns */
  .home-grid .intro { display: block; }
  .intro-heat { margin-top: 26px; }
  .intro-heat h2 { margin-bottom: 12px; }
  .intro-heat ol { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 24px; }
  .intro-heat li a, .intro-heat .lg-off { flex-direction: row; justify-content: flex-start; text-align: left; gap: 12px; }
  .intro-heat .mini-stamp { width: 40px; height: 45px; }
  .intro-heat .mini-stamp > span { font-size: 24px; }
  /* book: left column = cover, stamp, credit (sticky); warnings move under Why */
  .bk-cover { grid-area: 1 / 1 / 6 / 2; position: sticky; top: 16px; align-self: start; }
  .bk-warn { grid-area: 5 / 2 / 6 / 3; margin-top: 28px; }
  .bk-warn h2 { font-size: 23px; }
  .bk-warn p { font-size: 16px; color: var(--fg); }
}

/* ---------- round 12 ---------- */
:root { --searchbar-h: var(--bar); }
body { padding-bottom: calc(var(--searchbar-h) + 16px + env(safe-area-inset-bottom)); }
.why-lead { display: none; }
.why-more { margin-top: 10px; }
.intro-scale { display: none; }
@media (min-width: 1000px) {
  body { padding-bottom: 0; }
  .bk-facts > div:nth-child(2), .bk-facts > div:nth-child(3) { display: none; }
  .intro-scale { display: block; margin-top: 10px; font-size: 15px; color: var(--fg-2); }
  .intro-scale a { color: var(--fg); text-decoration-color: var(--red); }
  .home-grid .intro { padding: 0 0 4px; }
  .intro h1 { font-size: 40px; }
  .intro p { margin-top: 8px; }
  .home-grid { padding-top: 14px; row-gap: 28px; }
  .cards { row-gap: 40px; }
  .home-grid { row-gap: 28px; }
}
@media (min-width: 1000px) { .intro p.intro-scale { max-width: none; text-wrap: nowrap; } }

/* Lists + how-we-rate: same navy ground as home and book pages. Palette: navy, bone, red, citrine. */
.lists main.pl, .rate main.pr { background: none; }
.lists .card-by, .lists .card-ch.is-none { color: var(--fg-2); }
.lists .card-ch::before { background: var(--line); }
.lists .cover-img { box-shadow: 0 0 0 1px rgba(250, 244, 223, .12); }

.pl, .pr { max-width: 1280px; margin: 0 auto; padding: 16px var(--pad) 32px; color: var(--fg); font-size: 16px; line-height: 1.5; }
.pl-head { padding-bottom: 16px; }
.pl-head h1 { font: 400 30px/1.08 var(--serif); margin: 0 0 8px; text-wrap: balance; }
.pl-head p { margin: 0 0 14px; max-width: 62ch; color: var(--fg-2); }
.pl-jump { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pl-jump span { font: 700 14px/1 var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--fg-2); margin-right: 4px; }
.pl-num { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; font: 400 20px/1 var(--serif); color: var(--paper); background: var(--ink); text-decoration: none; outline: 1px solid var(--paper); outline-offset: -4px; }
.pl-num.heat-3, .pl-num.heat-4, .pl-num.heat-5 { background: var(--red); }
.pl-num.heat-0 { background: var(--paper); color: var(--ink); outline-color: var(--ink); }

.pl-band, .pr-sec { padding: 22px 0 26px; }
.pl-band-h { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.pl-band-h h2, .pr-sec h2 { font: 400 24px/1.1 var(--serif); margin: 0 0 6px; }
.pl-band-h h2 small { font: 500 15px var(--sans); color: var(--fg-2); margin-left: 6px; }
.pl-band-h p { margin: 0; max-width: 60ch; font-size: 15px; color: var(--fg-2); }
.pl-big { flex: none; display: inline-grid; place-items: center; width: 52px; height: 52px; font: 400 30px/1 var(--serif); color: var(--paper); background: var(--ink); outline: 1px solid var(--paper); outline-offset: -5px; }
.pl-big.heat-3, .pl-big.heat-4, .pl-big.heat-5 { background: var(--red); }
.pl-big.heat-0 { background: var(--paper); color: var(--ink); outline-color: var(--ink); }

.pl-empty { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 12px 0; font-size: 14px; color: var(--fg-2); opacity: .45; }
.pl-empty span { display: inline-flex; align-items: center; gap: 8px; }
.pl-empty .pl-num { width: 32px; height: 32px; font-size: 17px; }
.pl-foot { display: flex; gap: 20px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; }
.pl a:not(.pl-num):not(.card-link), .pr a { color: var(--fg); text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.pl a:not(.pl-num):not(.card-link):hover, .pr a:hover { text-decoration-thickness: 4px; }

.pr-sec > p { max-width: 66ch; color: var(--fg-2); }
.pr-scale { display: grid; gap: 10px; margin-top: 6px; }
.pr-lv { display: flex; gap: 14px; align-items: flex-start; padding: 14px; background: var(--paper); color: var(--ink); }
.pr-lv h3 { font: 400 20px/1.1 var(--serif); }
.pr-lv p { margin-top: 4px; font-size: 15px; line-height: 1.4; }
.pr-short { font-weight: 700; }
.pr-dl { display: grid; gap: 4px; }
.pr-dl dt { font: 700 14px/1.2 var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--citrine); margin-top: 12px; }
.pr-dl dd { max-width: 66ch; font-size: 16px; }
.pr-labels { display: grid; gap: 8px; max-width: 66ch; }
.pr-labels li { padding-left: 14px; border-left: 3px solid var(--red); font-size: 16px; }
.pr-tw { overflow-x: auto; margin-top: 14px; }
.pr-t { border-collapse: collapse; width: 100%; font-size: 15px; }
.pr-t th, .pr-t td { text-align: left; vertical-align: top; padding: 9px 10px 9px 0; border-bottom: 1px solid var(--line); }
.pr-t th { font: 700 14px var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--fg-2); }
.pr-t td:first-child { white-space: nowrap; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

@media (max-width: 600px) {
  .pr-t thead { display: none; }
  .pr-t tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .pr-t td { display: block; border: 0; padding: 2px 0; overflow-wrap: anywhere; }
  .pr-t td:first-child { white-space: normal; }
  .pr-t td:nth-child(2) { font-weight: 700; color: var(--citrine); }
}
@media (min-width: 1000px) {
  .pl, .pr { padding: 28px 40px 48px; }
  .pl-head h1 { font-size: 46px; }
  .pl-band { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; }
  .pl-band-h { flex-direction: column; margin: 0; }
  .pl-band .cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .pr-scale { grid-template-columns: repeat(3, 1fr); }
}

/* numbers as mini perforated stamps (same as home) */
.pl-num, .pl-big, .pl-num.heat-0, .pl-big.heat-0, .pl-num.heat-3, .pl-num.heat-4, .pl-num.heat-5, .pl-big.heat-3, .pl-big.heat-4, .pl-big.heat-5 { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 44'%3E%3Cpath fill='%23faf4df' d='M0 0H1.8A2.2 2.2 0 0 0 6.2 0H9.8A2.2 2.2 0 0 0 14.2 0H17.8A2.2 2.2 0 0 0 22.2 0H25.8A2.2 2.2 0 0 0 30.2 0H33.8A2.2 2.2 0 0 0 38.2 0H40V1.47A2.2 2.2 0 0 0 40 5.87V8.8A2.2 2.2 0 0 0 40 13.2V16.13A2.2 2.2 0 0 0 40 20.53V23.47A2.2 2.2 0 0 0 40 27.87V30.8A2.2 2.2 0 0 0 40 35.2V38.13A2.2 2.2 0 0 0 40 42.53V44H38.2A2.2 2.2 0 0 0 33.8 44H30.2A2.2 2.2 0 0 0 25.8 44H22.2A2.2 2.2 0 0 0 17.8 44H14.2A2.2 2.2 0 0 0 9.8 44H6.2A2.2 2.2 0 0 0 1.8 44H0V42.53A2.2 2.2 0 0 0 0 38.13V35.2A2.2 2.2 0 0 0 0 30.8V27.87A2.2 2.2 0 0 0 0 23.47V20.53A2.2 2.2 0 0 0 0 16.13V13.2A2.2 2.2 0 0 0 0 8.8V5.87A2.2 2.2 0 0 0 0 1.47Z'/%3E%3Cpath fill='none' stroke='%23c9ad2a' transform='translate(2.9 2.9)' d='M0 0H0.94A1.5 1.5 0 0 0 3.94 0H5.83A1.5 1.5 0 0 0 8.83 0H10.71A1.5 1.5 0 0 0 13.71 0H15.6A1.5 1.5 0 0 0 18.6 0H20.49A1.5 1.5 0 0 0 23.49 0H25.37A1.5 1.5 0 0 0 28.37 0H30.26A1.5 1.5 0 0 0 33.26 0H34.2V0.89A1.5 1.5 0 0 0 34.2 3.89V5.66A1.5 1.5 0 0 0 34.2 8.66V10.44A1.5 1.5 0 0 0 34.2 13.44V15.21A1.5 1.5 0 0 0 34.2 18.21V19.99A1.5 1.5 0 0 0 34.2 22.99V24.76A1.5 1.5 0 0 0 34.2 27.76V29.54A1.5 1.5 0 0 0 34.2 32.54V34.31A1.5 1.5 0 0 0 34.2 37.31V38.2H33.26A1.5 1.5 0 0 0 30.26 38.2H28.37A1.5 1.5 0 0 0 25.37 38.2H23.49A1.5 1.5 0 0 0 20.49 38.2H18.6A1.5 1.5 0 0 0 15.6 38.2H13.71A1.5 1.5 0 0 0 10.71 38.2H8.83A1.5 1.5 0 0 0 5.83 38.2H3.94A1.5 1.5 0 0 0 0.94 38.2H0V37.31A1.5 1.5 0 0 0 0 34.31V32.54A1.5 1.5 0 0 0 0 29.54V27.76A1.5 1.5 0 0 0 0 24.76V22.99A1.5 1.5 0 0 0 0 19.99V18.21A1.5 1.5 0 0 0 0 15.21V13.44A1.5 1.5 0 0 0 0 10.44V8.66A1.5 1.5 0 0 0 0 5.66V3.89A1.5 1.5 0 0 0 0 0.89Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; outline: 0; border: 0; color: var(--red); font-style: italic; font-weight: 700; }
.pl-num { width: 36px; height: 40px; }
.pl-big { width: 50px; height: 55px; }
a.pl-num:hover { color: var(--ink); transform: translateY(-2px); }

/* Covers are <picture> (AVIF + WebP); the wrapper must not change the card/cover layout. */
picture { display: contents; }
/* Deep book pages (data/deep/<slug>.json) and merged-book entries on list pages. Same palette and type as the rest of H3. */
.bk-lede { margin: 0 0 14px; max-width: 62ch; font-size: 17px; line-height: 1.5; color: var(--fg); }
.ch-grid li.ch-heated .ch-n { color: var(--fg-2); }
.ch-grid li.ch-sex { border-color: var(--red); }
.ch-src a { color: var(--fg); text-decoration-color: var(--red); }

.dp { margin-top: 40px; color: var(--fg); font-size: 16px; line-height: 1.55; }
.dp-sec { padding: 4px 0 26px; }
.dp-sec + .dp-sec { border-top: 1px solid var(--line); padding-top: 22px; }
.dp-sec h2 { font: italic 500 24px/1.15 var(--serif); margin-bottom: 10px; text-wrap: balance; }
.dp-sec h3 { font: 700 17px/1.3 var(--sans); margin-top: 16px; }
.dp-sec p { max-width: 66ch; margin-top: 10px; }
.dp-sec > p:first-of-type { margin-top: 0; }
.dp a { color: var(--fg); text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.dp a:hover { text-decoration-thickness: 4px; }
.dp .pr-tw { margin: 12px 0 4px; }
.dp-t td { line-height: 1.45; }
.dp-t tr.is-here td { color: var(--citrine); }
.dp-t tr.is-here td a { color: var(--citrine); }
.dp-t tr.dp-sub td { padding-top: 0; font-size: 14px; color: var(--fg-2); white-space: normal; }
.dp-t tr:has(+ tr.dp-sub) td { border-bottom: 0; }
.dp-cw { margin-top: 12px; padding: 12px 14px; border: 1px solid var(--line); max-width: 66ch; }
.dp-cw summary { cursor: pointer; font: 700 15px/1.3 var(--sans); text-transform: uppercase; letter-spacing: .05em; color: var(--fg-2); }
.dp-cw dl { margin: 10px 0 0; display: grid; gap: 2px; }
.dp-cw dt { font: 700 14px/1.2 var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--citrine); margin-top: 8px; }
.dp-cw dd { margin: 0; }
.dp-src { font-size: 14px; color: var(--fg-2); }
.dp-next { display: grid; gap: 14px; margin-top: 12px; max-width: 72ch; }
.dp-next li { display: flex; gap: 12px; align-items: flex-start; }
.dp-next a { font: italic 600 20px/1.2 var(--serif); }
.dp-by { font-size: 14px; color: var(--fg-2); }
.dp-next p { margin-top: 2px; }
.read-at { font-size: 13px; color: var(--fg-2); white-space: nowrap; }

.pl-notes { padding: 22px 0 10px; }
.pl-notes > h2 { font: 400 24px/1.1 var(--serif); margin: 0 0 6px; }
.pl-note { padding: 20px 0; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.pl-note:target { background: var(--ground-2); outline: 8px solid var(--ground-2); }
.pl-note header { display: flex; gap: 12px; align-items: center; }
.pl-note h3 { font: italic 500 24px/1.1 var(--serif); }
.pl-note-by { margin: 2px 0 0; font-size: 14px; color: var(--fg-2); }
.pl-note p { max-width: 66ch; margin: 10px 0 0; }
.pl-note-cw, .pl-note-src { font-size: 14px; color: var(--fg-2); }

@media (max-width: 600px) {
  .dp-t tr.dp-sub { padding-top: 0; }
  .dp-t td:nth-child(2) { color: var(--fg); font-weight: 400; }
  .dp-t td:first-child { font-weight: 700; color: var(--citrine); }
  .dp-t tr.dp-sub td:first-child { font-weight: 400; color: var(--fg-2); }
  .dp-t td:empty { display: none; }
  .dp-t td[data-l]::before { content: attr(data-l) ': '; font: 700 13px/1.4 var(--sans); text-transform: uppercase; letter-spacing: .05em; color: var(--fg-2); }
}
@media (min-width: 1000px) {
  .dp { padding-left: 308px; max-width: 1180px; }
  .dp-sec h2 { font-size: 30px; }
  .pl-note { display: grid; grid-template-columns: 260px minmax(0, 1fr); column-gap: 28px; }
  .pl-note header { grid-row: 1 / 4; align-items: flex-start; }
  .pl-band.pl-solo { display: block; }
}
