/* GENERATED by tools/split_collection_css.py from styles.css: do not edit.
   Edit the source (for theme-inv-map.css, its own generator), then run
   python3 tools/split_collection_css.py. */
/* The part every first screen may need; render-blocking. */

/* METRIC-MATCHED FALLBACKS (site QA, 25 Oct 2026). On a slow connection the web
   fonts arrive seconds after the text is drawn, and the swap reflowed it: the
   /today standfirst gained a line when Source Serif 4 landed and the boards'
   figures strip grew 6px (layout shift 0.18 and 0.36 at slow 4G). Each face
   below is a local font scaled and given the web font's vertical metrics, so
   lines break in the same places before and after the swap. Values are the
   capsize/next-font method: size-adjust = ratio of letter-frequency-weighted
   average widths; ascent/descent = the web font's hhea metrics / size-adjust.
   Computed with fontTools from the Google Fonts files: Source Serif 4 at opsz
   17, Inter and JetBrains Mono at the weight each face stands in for, DM
   Serif Display (headings) at its one weight.
   The "... Android" families are tried only where Georgia/Arial are missing. */
@font-face { font-family: "DM Serif Display Fallback"; src: local("Georgia"); font-style: normal;
  size-adjust: 101.20%; ascent-override: 102.37%; descent-override: 33.10%; line-gap-override: 0%; }

@font-face { font-family: "DM Serif Display Fallback"; src: local("Georgia Italic"), local("Georgia-Italic"); font-style: italic;
  size-adjust: 95.43%; ascent-override: 108.56%; descent-override: 35.10%; line-gap-override: 0%; }

@font-face { font-family: "DM Serif Display Fallback Android"; src: local("Noto Serif"), local("NotoSerif-Regular");
  size-adjust: 92.79%; ascent-override: 111.65%; descent-override: 36.10%; line-gap-override: 0%; }

@font-face { font-family: "Source Serif 4 Fallback"; src: local("Georgia"); font-weight: 100 549; font-style: normal;
  size-adjust: 105.16%; ascent-override: 98.52%; descent-override: 31.86%; line-gap-override: 0%; }

@font-face { font-family: "Source Serif 4 Fallback"; src: local("Georgia Bold"), local("Georgia-Bold"); font-weight: 550 900; font-style: normal;
  size-adjust: 93.00%; ascent-override: 111.40%; descent-override: 36.02%; line-gap-override: 0%; }

@font-face { font-family: "Source Serif 4 Fallback"; src: local("Georgia Italic"), local("Georgia-Italic"); font-weight: 100 900; font-style: italic;
  size-adjust: 94.46%; ascent-override: 109.67%; descent-override: 35.46%; line-gap-override: 0%; }

@font-face { font-family: "Source Serif 4 Fallback Android"; src: local("Noto Serif"), local("NotoSerif-Regular");
  size-adjust: 96.41%; ascent-override: 107.45%; descent-override: 34.75%; line-gap-override: 0%; }

@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 100 549;
  size-adjust: 107.44%; ascent-override: 90.17%; descent-override: 22.45%; line-gap-override: 0%; }

@font-face { font-family: "Inter Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 550 799;
  size-adjust: 102.28%; ascent-override: 94.72%; descent-override: 23.58%; line-gap-override: 0%; }

@font-face { font-family: "Inter Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 800 900;
  size-adjust: 104.89%; ascent-override: 92.36%; descent-override: 23.00%; line-gap-override: 0%; }

@font-face { font-family: "Inter Fallback Android"; src: local("Roboto"), local("Roboto-Regular");
  size-adjust: 106.90%; ascent-override: 90.62%; descent-override: 22.56%; line-gap-override: 0%; }

@font-face { font-family: "JetBrains Mono Fallback"; src: local("Courier New"), local("CourierNewPSMT"); font-weight: 100 549;
  size-adjust: 99.98%; ascent-override: 102.02%; descent-override: 30.00%; line-gap-override: 0%; }

@font-face { font-family: "JetBrains Mono Fallback"; src: local("Courier New Bold"), local("CourierNewPS-BoldMT"); font-weight: 550 900;
  size-adjust: 99.98%; ascent-override: 102.02%; descent-override: 30.00%; line-gap-override: 0%; }

:root {
  --paper: #f3ede1;
  --paper-2: #ebe3d2;
  --ink: #17130f;
  --ink-2: #3a322a;
  /* Secondary text. Was #8a8072, 3.33:1 on paper and 3.04:1 on paper-2: under
     WCAG AA's 4.5:1 for the captions, labels and dates it carries everywhere.
     #6b6256 is 5.14:1 on paper and 4.69:1 on paper-2, still quieter than --ink-2
     (QA 18 Oct 2026: measured on ten pages, none sets it on a dark background). */
  --ink-mute: #6b6256;
  --rule: #d8d0bd;
  --accent: oklch(0.62 0.19 28); /* vermillion default */

  --serif: 'DM Serif Display', 'DM Serif Display Fallback', 'DM Serif Display Fallback Android', 'Playfair Display', Georgia, serif;
  --body-serif: 'Source Serif 4', 'Source Serif 4 Fallback', 'Source Serif 4 Fallback Android', Georgia, serif;
  --sans: 'Inter', 'Inter Fallback', 'Inter Fallback Android', system-ui, sans-serif;
  /* --mono is for DATA a reader compares character by character: matrix and
     runout strings, catalogue numbers, chart figures, runtimes, years, section
     numerals. It is NOT for captions. Uppercase monospace labels ("MINT",
     "HOLY GRAIL", "FORMAT") were spread across the album page and were the real
     source of the "too many fonts / disjointed" reaction — four families is a
     normal editorial system; mono set on every label is not. Labels use --sans. */
  --mono: 'JetBrains Mono', 'JetBrains Mono Fallback', ui-monospace, monospace;

  --content-w: 1240px;
  --nav-h: 64px;
  /* Height of the album-page breadcrumb bar (.album-crumbs), which sticks
     directly below the nav. Anything else on that page that sticks has to clear
     BOTH bars, and the numbers were previously guessed per rule — the dossier
     section labels used top:80px, which is less than nav-h alone plus the crumb
     bar, so the 60px Roman numeral pinned 36px underneath it and lost its top
     half. Measured, not estimated: the bar is two stacked lines (a 9px eyebrow
     and a 14px italic title) inside 4px + 9px of padding, top and bottom, plus
     its 1px rule. Overridden below wherever those type sizes change, and set to
     zero where the bar stops being sticky. */
  --crumb-h: 53px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

html { background: var(--paper); }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  font-size: 16px;
}

body.grain::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background-image:
    repeating-linear-gradient(0deg, rgba(0,0,0,0.02) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.015) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
  opacity: 0.6;
}

button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; padding: 0; }

a { color: inherit; text-decoration: none; }

.mono { font-family: var(--mono); }

/* ======= Top nav ======= */
.topnav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 16px 40px;
  display: flex; justify-content: space-between; align-items: center;
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}

.topnav .brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--ink);
}

.topnav .brand .brand-name {
  white-space: nowrap;
  font-family: var(--serif); font-weight: 400;
  font-size: 22px; letter-spacing: -0.01em; line-height: 1;
}

.topnav .brand .brand-art {
  font-style: italic; font-weight: 400;
  margin-right: 3px; color: color-mix(in oklab, var(--ink) 58%, transparent);
}

.topnav .brand .brand-mark {
  height: 24px; width: auto; display: block; flex: none;
}

.topnav.topnav--linksonly { justify-content: flex-end; }

.topnav .links {
  display: flex; gap: 22px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
}

/* Brand stays whole; links may shrink their own gaps before anything clips. */
.topnav .brand { flex: 0 0 auto; }

/* Rules below target the top-level nav rows only (`> a`). The account dropdown
   lives inside .links too, and inheriting the nav's padding, opacity and
   `color: inherit` out-specified the menu's own row styling. */
.topnav .links > a { opacity: 0.75; transition: opacity 0.15s, color 0.15s; }

.topnav .links > a:hover { opacity: 1; color: var(--accent); }

.topnav .links > a.active { opacity: 1; }

body[data-dark] .topnav { color: var(--paper); }

/* ======= Stage (home) ======= */
.stage { position: relative; width: 100%; min-height: 100vh; }

/* Variant A — Spotlight */
.variant-a {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  height: 100%;
  padding: 96px 56px 64px;
  gap: 56px;
  align-items: center;
}

.va-left { display: flex; flex-direction: column; justify-content: space-between; height: 100%; padding: 20px 0 40px; }

.va-eyebrow {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-mute);
  display: flex; gap: 22px; align-items: center; flex-wrap: wrap;
}

.va-rank {
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(140px, 14vw, 240px);
  line-height: 0.82;
  letter-spacing: -0.06em;
  margin: 0;
  color: var(--ink);
}

.va-rank em { font-style: normal; color: var(--accent); }

.va-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.015em;
  margin: 14px 0 0;
}

.va-artist {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(18px, 1.5vw, 24px);
  margin-top: 16px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.va-meta-row {
  display: flex; gap: 44px;
  font-family: var(--mono); font-size: 12px;
  color: var(--ink-2); flex-wrap: wrap;
}

.va-meta-row b {
  display: block; color: var(--ink-mute); font-weight: 400;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 4px;
}

.va-pull {
  font-family: var(--body-serif);
  font-size: 20px; line-height: 1.4;
  max-width: 44ch;
  color: var(--ink-2);
  border-top: 1px solid var(--rule);
  padding-top: 18px;
  text-wrap: pretty;
}

.va-right { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; }

.va-cover {
  width: min(500px, 42vw); aspect-ratio: 1/1;
  box-shadow: 0 40px 80px -20px rgba(23,19,15,0.35), 0 8px 24px -8px rgba(23,19,15,0.2);
  position: relative;
}

.va-cover::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 40%);
}

.va-cta {
  position: absolute; bottom: 32px; right: 32px;
  background: var(--ink); color: var(--paper);
  padding: 16px 24px 14px;
  border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: 13px;
  letter-spacing: 0.02em;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background 0.2s, transform 0.2s;
}

.va-cta:hover { background: var(--accent); transform: translateY(-2px); }

/* Variant B — Typographic */
.variant-b {
  position: relative; width: 100%; height: 100%;
  background: var(--ink); color: var(--paper);
  overflow: hidden;
}

.vb-top {
  position: absolute; top: 80px; left: 56px; right: 56px; z-index: 4;
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  opacity: 0.7;
}

.vb-giant {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 900;
  font-size: 84vh; line-height: 0.78;
  letter-spacing: -0.08em;
  color: var(--paper);
  user-select: none;
}

.vb-cover {
  position: absolute;
  top: 12%; bottom: 12%;
  left: 30%; right: 30%;
  z-index: 2;
  box-shadow: 0 40px 120px -20px rgba(0,0,0,0.6);
}

.vb-giant-fg {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  font-family: var(--sans); font-weight: 900;
  font-size: 84vh; line-height: 0.78;
  letter-spacing: -0.08em;
  color: transparent;
  -webkit-text-stroke: 2px var(--paper);
  mix-blend-mode: difference;
}

.vb-meta {
  position: absolute; bottom: 56px; left: 56px; right: 56px; z-index: 4;
  display: flex; justify-content: space-between; align-items: flex-end;
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
  gap: 30px; flex-wrap: wrap;
}

.vb-meta .title {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 400; text-transform: none;
  letter-spacing: -0.01em; line-height: 1;
}

.vb-meta .artist {
  font-family: var(--sans); font-weight: 600;
  font-size: 13px; margin-bottom: 6px; opacity: 0.7;
}

/* Variant C — Archive drawer */
.variant-c {
  position: relative; width: 100%; height: 100%;
  display: grid; grid-template-columns: 1fr 1.1fr;
  padding: 96px 56px 56px;
  gap: 56px;
}

.vc-index { height: 100%; overflow-y: auto; padding-right: 24px; }

.vc-index::-webkit-scrollbar { width: 4px; }

.vc-index::-webkit-scrollbar-thumb { background: var(--ink); border-radius: 4px; }

.vc-index-head {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute);
  padding-bottom: 14px; border-bottom: 1px solid var(--rule);
  margin-bottom: 6px;
}

.vc-row {
  display: grid; grid-template-columns: 48px 1fr 60px;
  gap: 20px; align-items: baseline;
  padding: 12px 0; border-bottom: 1px solid var(--rule);
  cursor: pointer;
  transition: color 0.15s, padding-left 0.15s;
}

.vc-row:hover, .vc-row.active { color: var(--accent); padding-left: 8px; }

.vc-row .n { font-family: var(--mono); font-size: 12px; color: var(--ink-mute); }

.vc-row.active .n, .vc-row:hover .n { color: var(--accent); }

.vc-row .t-title {
  font-family: var(--serif); font-style: italic;
  font-weight: 400; font-size: 19px; letter-spacing: -0.01em;
  line-height: 1.1; margin-bottom: 2px;
}

.vc-row .t-artist {
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-mute);
}

.vc-row .y { font-family: var(--mono); font-size: 12px; color: var(--ink-mute); text-align: right; }

.vc-preview {
  display: flex; flex-direction: column; gap: 24px;
  align-items: flex-start; justify-content: center; height: 100%;
}

.vc-cover { width: min(420px, 34vw); aspect-ratio: 1/1; box-shadow: 0 30px 60px -20px rgba(23,19,15,0.35); }

.vc-info { max-width: 42ch; }

.vc-info .kicker {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 8px;
}

.vc-info h2 {
  font-family: var(--serif); font-style: italic;
  font-weight: 400; font-size: 44px; line-height: 1;
  margin: 0 0 8px; letter-spacing: -0.02em;
}

.vc-info .artist {
  font-family: var(--sans); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  font-size: 13px; margin-bottom: 14px;
}

.vc-info p {
  font-family: var(--body-serif); font-size: 17px;
  line-height: 1.55; color: var(--ink-2); margin: 0 0 16px;
}

.vc-read {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.12em;
  padding-bottom: 3px; border-bottom: 1.5px solid var(--ink);
}

.vc-read:hover { color: var(--accent); border-color: var(--accent); }

/* Variant toggle */
.variant-toggle {
  position: fixed; bottom: 28px; left: 28px;
  display: flex; gap: 8px; align-items: center; z-index: 60;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
}

.variant-toggle .v-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: transparent;
  border: 1.5px solid currentColor;
  cursor: pointer; padding: 0;
  transition: background 0.2s;
}

.variant-toggle .v-dot.active { background: currentColor; }

body[data-variant="b"] .variant-toggle,
body[data-variant="b"] .shuffle-btn { color: var(--paper); }

.shuffle-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 60;
  background: transparent; border: 1px solid currentColor;
  padding: 10px 16px; border-radius: 999px;
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.14em;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.shuffle-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.stage > section { animation: fadein 0.5s ease; }

@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* padding-top clears the fixed nav so the price ticker (first child) sits flush
   under it; safe-area term keeps it clear of the taller nav on notched iOS.
   --nav-h is MEASURED off the real bar (App.jsx). The 66px this used to hardcode
   was 2px short at 1280 and 7px short at 900, and the tape was cropped by the
   difference. Clearance == nav height with no tuck: the tape's top edge meets the
   nav's bottom border, which stays the single divider. */
.countdown-page { min-height: 100vh; padding-top: calc(var(--nav-h) + max(0px, env(safe-area-inset-top, 0px) - 12px)); }

.countdown-page > .hd-ticker { margin-top: 0; border-top: none; }

.page-head {
  padding: 48px 56px 40px;
  display: grid; grid-template-columns: 1fr auto;
  align-items: end; gap: 48px;
  border-bottom: 1px solid var(--rule);
}

.page-head h1 {
  font-family: var(--serif); font-style: italic;
  font-weight: 400;
  font-size: clamp(56px, 8vw, 128px);
  line-height: 0.88; letter-spacing: -0.03em; margin: 0;
  text-wrap: balance;
}

.page-head h1 em { font-style: normal; font-family: var(--sans); font-weight: 900; color: var(--accent); }

.page-head .lede {
  font-family: var(--body-serif); font-size: 17px;
  line-height: 1.5; max-width: 42ch; color: var(--ink-2); margin: 0;
  text-wrap: pretty;
}

.toolbar {
  position: sticky; top: 0; z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 14px 56px;
  display: flex; gap: 28px; align-items: center; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
}

.toolbar-group { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.toolbar-group > label { color: var(--ink-mute); margin-right: 2px; }

.chip {
  background: transparent;
  border: 1px solid var(--rule);
  padding: 6px 10px; border-radius: 999px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
}

.chip:hover { border-color: var(--ink); }

.chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.toolbar .right { margin-left: auto; display: flex; gap: 10px; align-items: center; }

.toolbar-btn {
  background: var(--ink); color: var(--paper);
  padding: 8px 14px; border-radius: 999px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  display: inline-flex; gap: 8px; align-items: center;
}

.toolbar-btn:hover { background: var(--accent); }

.toolbar-btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }

.toolbar-btn.ghost:hover { background: var(--ink); color: var(--paper); }

.count-label { color: var(--ink-mute); font-family: var(--mono); }

.count-label b { color: var(--ink); font-weight: 500; }

/* The bottom padding only exists to keep the fixed "in your collection" pill
   off the last entry while you scroll; the pill fades out once the footer is in
   view. 160px was clearing a pill that is no longer there by then, leaving a
   dead band above "Keep exploring". 40px is enough for the pill and reads as a
   section break. */
.list { padding: 0 56px 40px; max-width: var(--content-w); margin: 0 auto; }

.entry {
  display: grid;
  grid-template-columns: 110px 180px 1fr 240px 40px;
  gap: 30px; align-items: start;
  padding: 34px 0; border-bottom: 1px solid var(--rule);
  transition: background 0.2s;
}

.entry:hover { background: linear-gradient(90deg, transparent, rgba(23,19,15,0.02) 30%, rgba(23,19,15,0.02) 70%, transparent); }

.entry .rank-num {
  font-family: var(--sans); font-weight: 900;
  font-size: 88px; line-height: 0.85;
  letter-spacing: -0.06em; margin: 0; color: var(--ink);
}

.entry.top3 .rank-num { color: var(--accent); }

.entry .cover-slot {
  width: 180px; height: 180px;
  box-shadow: 0 12px 24px -8px rgba(23,19,15,0.3);
  cursor: pointer;
  transition: transform 0.2s;
}

/* The Sleeve renders with an inline pixel size (180px). Force its root to fill
   the slot instead, so the mobile slot width (120px) governs and the cover
   can't overflow onto the rank/title. */
.entry .cover-slot > div { width: 100% !important; height: 100% !important; }

.entry .cover-slot:hover { transform: translateY(-3px); }

.entry .info .kicker {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 8px;
}

.entry .info h3 {
  font-family: var(--serif); font-style: italic;
  font-weight: 400; font-size: 40px; line-height: 1;
  letter-spacing: -0.02em; margin: 0 0 6px;
  text-wrap: balance;
  cursor: pointer;
}

.entry .info h3:hover { color: var(--accent); }

.entry .info .artist-line {
  font-family: var(--sans); font-weight: 700;
  font-size: 13px; letter-spacing: 0.04em;
  text-transform: uppercase; margin-bottom: 16px;
}

.entry .info .blurb {
  font-family: var(--body-serif); font-size: 16px; line-height: 1.5;
  color: var(--ink-2); max-width: 54ch; margin: 0 0 14px;
  text-wrap: pretty;
}

.entry .info .meta {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-mute); letter-spacing: 0.06em; text-transform: uppercase;
  margin-top: 14px;
}

.entry .info .meta span::before { content: "·"; margin-right: 16px; opacity: 0.4; }

.entry .info .meta span:first-child::before { content: ""; margin: 0; }

.entry .side {
  display: flex; flex-direction: column; gap: 8px;
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-mute);
  border-left: 1px solid var(--rule); padding-left: 22px;
}

.entry .side b {
  display: block; font-weight: 400; font-size: 9px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 3px;
}

.entry .side p {
  margin: 0 0 10px; color: var(--ink-2); font-size: 12px;
  line-height: 1.4; letter-spacing: 0; font-family: var(--sans);
}

.entry .heard-col { display: flex; flex-direction: column; align-items: center; padding-top: 2px; }

.heard-btn {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}

.heard-btn:hover { background: rgba(23,19,15,0.08); }

.heard-btn.on { background: var(--ink); color: var(--paper); }

.heard-btn svg { width: 14px; height: 14px; opacity: 0; transition: opacity 0.15s; }

.heard-btn.on svg { opacity: 1; }

.heard-label {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute); margin-top: 8px;
  writing-mode: vertical-rl; text-orientation: mixed;
}

.read-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding-bottom: 2px; border-bottom: 1px solid var(--ink);
}

.read-more.coming { color: var(--ink-mute); border-bottom-color: var(--rule); cursor: default; }

.read-more:not(.coming):hover { color: var(--accent); border-bottom-color: var(--accent); }

.progress {
  position: fixed; bottom: 20px; left: 50%;
  transform: translateX(-50%); z-index: 50;
  background: var(--ink); color: var(--paper);
  padding: 10px 18px; border-radius: 999px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  display: flex; gap: 14px; align-items: center;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.4);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Fade the fixed pill out over the footer so it never covers the footer
   content (incl. the affiliate disclosure) — most visible on mobile. */
.progress--hidden {
  opacity: 0; pointer-events: none;
  transform: translateX(-50%) translateY(12px);
}

.progress .bar { width: 140px; height: 4px; background: rgba(243,237,225,0.2); border-radius: 2px; overflow: hidden; }

.progress .bar > span { display: block; height: 100%; background: var(--accent); width: 0; transition: width 0.3s; }

.progress button { border: 1px solid rgba(243,237,225,0.3); color: var(--paper); padding: 4px 8px; border-radius: 999px; font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; }

.progress button:hover { border-color: var(--paper); }

.hero {
  position: relative;
  padding: 56px 56px 8px;
  display: grid; grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 56px;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}

.hero-num {
  position: absolute; right: -30px; bottom: -40px;
  font-family: var(--sans); font-weight: 900;
  font-size: min(52vh, 420px); line-height: 0.78;
  letter-spacing: -0.09em; color: var(--ink);
  opacity: 0.035; z-index: 0;
  pointer-events: none; user-select: none;
}

.hero > *:not(.hero-num) { position: relative; z-index: 1; }

.hero .rank-line {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 20px;
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
}

.hero .rank-line .pill {
  background: var(--accent); color: #fff;
  padding: 4px 10px; border-radius: 999px; font-weight: 600;
}

.hero h1 {
  font-family: var(--serif); font-style: italic;
  font-weight: 400;
  font-size: clamp(48px, 6.5vw, 104px);
  line-height: 0.92; letter-spacing: -0.03em;
  margin: 0 0 16px;
  text-wrap: balance;
}

.hero .artist {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(18px, 1.6vw, 24px);
  letter-spacing: 0.03em; text-transform: uppercase;
  margin-bottom: 24px;
}

.hero .dek {
  font-family: var(--body-serif);
  font-size: 21px; line-height: 1.45;
  color: var(--ink-2); max-width: 48ch; margin: 0 0 40px;
  text-wrap: pretty;
}

.hero .hero-meta {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px 40px; max-width: 520px;
  padding-top: 20px; border-top: 1px solid var(--rule);
}

.hero .hero-meta .cell { font-family: var(--sans); font-size: 14px; font-weight: 500; }

.hero .hero-meta .cell b {
  display: block; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 6px; font-weight: 400;
}

.essay { max-width: 1200px; margin: 0 auto; padding: 0 56px; }

.chapter {
  padding: 88px 0; border-bottom: 1px solid var(--rule);
  /* minmax(0, 1fr), not 1fr: a plain 1fr track grows to its widest child's
     min-content, and the essay reader pushed a landscape phone (932px) 39px
     wider than the screen (QA, 13 Nov 2026). */
  display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 64px; align-items: start;
}

.chapter:last-of-type { border-bottom: none; }

.chapter-label {
  position: sticky; top: 80px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mute);
}

.chapter-label .chno {
  font-family: var(--sans); font-weight: 900;
  font-size: 60px; letter-spacing: -0.04em; color: var(--ink);
  display: block; line-height: 1; margin-bottom: 8px;
}

.chapter-body h2 {
  font-family: var(--serif); font-style: italic;
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1; letter-spacing: -0.02em;
  margin: 0 0 28px;
  text-wrap: balance;
}

.chapter-body p {
  font-family: var(--body-serif); font-size: 19px; line-height: 1.6;
  color: var(--ink); margin: 0 0 22px; max-width: 64ch;
  text-wrap: pretty;
}

.chapter-body p.lede { font-size: 24px; line-height: 1.45; font-weight: 500; }

.chapter-body p:first-of-type::first-letter {
  font-family: var(--serif); font-weight: 400;
  font-size: 4.2em; float: left;
  line-height: 0.85; padding: 6px 12px 0 0;
  color: var(--accent);
}

.pull {
  margin: 36px 0 36px -32px;
  padding: 0 0 0 24px;
  border-left: 3px solid var(--accent);
  font-family: var(--serif); font-style: italic;
  font-size: 30px; line-height: 1.2; color: var(--ink);
  max-width: 32ch; font-weight: 400;
}

.pull footer {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mute); margin-top: 10px; font-style: normal;
}

.figure {
  margin: 40px 0; padding: 26px;
  background: var(--paper-2); border: 1px solid var(--rule);
  font-family: var(--mono); font-size: 13px; line-height: 1.6;
  color: var(--ink-2);
}

.figure h4 {
  margin: 0 0 12px; font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 500;
}

.figure ul { margin: 0; padding: 0; list-style: none; }

.figure li {
  display: grid; grid-template-columns: 220px 1fr 180px;
  gap: 16px; padding: 10px 0;
  border-bottom: 1px dotted rgba(23,19,15,0.15);
  align-items: baseline;
}

.figure li:last-child { border-bottom: none; }

.figure li b { font-weight: 600; color: var(--ink); font-family: var(--sans); font-size: 13px; letter-spacing: 0.01em; }

.figure li span:last-child { color: var(--ink-mute); text-align: right; }

.tracklist-essay {
  margin: 40px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}

.tracklist-essay h4 {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-mute); margin: 24px 0 16px; font-weight: 500;
}

.tracklist-essay ol { margin: 0 0 24px; padding: 0; list-style: none; }

.tracklist-essay li {
  padding: 14px 0; border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: 44px 1fr auto;
  gap: 24px; align-items: baseline;
  cursor: pointer;
  transition: padding-left 0.15s, color 0.15s;
}

.tracklist-essay li:hover { padding-left: 8px; color: var(--accent); }

.tracklist-essay .tnum { font-family: var(--mono); font-size: 12px; color: var(--ink-mute); }

.tracklist-essay .tname { font-family: var(--serif); font-style: italic; font-size: 22px; font-weight: 400; }

.tracklist-essay .tlen { font-family: var(--mono); font-size: 12px; color: var(--ink-mute); }

.tracklist-essay .tnote {
  grid-column: 2 / -1;
  font-family: var(--body-serif); font-size: 15px; line-height: 1.5;
  color: var(--ink-2); max-width: 60ch;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease, padding-top 0.25s ease;
  padding-top: 0;
}

.tracklist-essay li.open { color: var(--ink); padding-left: 8px; }

.tracklist-essay li.open .tname { color: var(--accent); }

.tracklist-essay li.open .tnote { max-height: 200px; opacity: 1; padding-top: 8px; }

.lyric {
  margin: 48px 0; padding: 52px 40px;
  background: var(--ink); color: var(--paper);
  text-align: center;
  font-family: var(--serif); font-style: italic;
  font-size: 30px; line-height: 1.3;
  position: relative;
}

.lyric::before, .lyric::after {
  content: '"'; position: absolute;
  font-family: var(--serif); font-size: 120px; line-height: 1;
  color: var(--accent); opacity: 0.5;
}

.lyric::before { top: 10px; left: 20px; }

.lyric::after { bottom: -30px; right: 20px; }

.lyric footer {
  font-family: var(--mono); font-style: normal; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-top: 24px; color: rgba(243,237,225,0.6);
}

.endnote {
  padding: 80px 56px 120px; text-align: center;
  background: var(--paper-2); border-top: 1px solid var(--rule);
}

.endnote .kicker {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 16px;
}

.dossier { max-width: 1200px; margin: 0 auto; padding: 0 56px; }

.dsection {
  padding: 50px 0; border-bottom: 1px solid var(--rule);
  /* minmax(0, 1fr), not 1fr: a plain 1fr track grows to its widest child's
     min-content, and the essay reader pushed a landscape phone (932px) 39px
     wider than the screen (QA, 13 Nov 2026). */
  display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 64px; align-items: start;
  /* Jump targets have to clear the crumb bar too, or the anchor lands the
     numeral and heading behind it — the same miscount as the sticky offset
     above. The mobile override below deliberately uses a much smaller value;
     see the note there. */
  scroll-margin-top: calc(var(--nav-h) + var(--crumb-h) + 16px);
}

.dossier > .dsection:first-child { padding-top: 44px; }

.dsection-label {
  /* Clears the nav AND the breadcrumb bar stacked under it, plus a gap. A flat
     80px pinned the label behind the crumb bar and sheared the top of the
     numeral off. */
  position: sticky; top: calc(var(--nav-h) + var(--crumb-h) + 16px);
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mute);
}

.dsection-label .chno {
  font-family: var(--sans); font-weight: 900;
  font-size: 60px; letter-spacing: -0.04em; color: var(--ink);
  display: block; line-height: 1; margin-bottom: 8px;
}

.dsection-body > h2 {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1; letter-spacing: -0.02em;
  margin: 0 0 32px; text-wrap: balance;
}

.sub-h {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-mute); margin: 36px 0 14px; font-weight: 500;
}

.sub-h .arr { color: var(--accent); margin-left: 6px; }

/* Long-form essay */
.dek-large {
  font-family: var(--body-serif); font-style: italic;
  font-size: 23px; line-height: 1.45; color: var(--ink-2);
  max-width: 52ch; margin: 0 0 40px; font-weight: 400;
  padding: 20px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  text-wrap: pretty;
}

.longform p {
  font-family: var(--body-serif); font-size: 19px; line-height: 1.6;
  color: var(--ink); margin: 0 0 22px; max-width: 64ch;
  text-wrap: pretty;
}

.longform p.lede { font-size: 22px; line-height: 1.5; }

.longform p:first-of-type::first-letter {
  font-family: var(--serif); font-weight: 400;
  font-size: 4.2em; float: left;
  line-height: 0.85; padding: 6px 12px 0 0;
  color: var(--accent);
}

.longform .pullable {
  display: block; margin: 28px -28px; padding: 24px 28px;
  font-family: var(--serif); font-style: italic;
  font-size: 28px; line-height: 1.25; color: var(--ink);
  border-top: 2px solid var(--accent); border-bottom: 1px solid var(--rule);
  font-weight: 400;
}

.longform em { font-family: var(--body-serif); font-style: italic; }

/* Tracks grid */
.tracks-grid { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }

.tracks-grid > li { border-bottom: 1px solid var(--rule); }

.tracks-grid > li > header {
  display: grid; grid-template-columns: 44px 1.4fr 1fr 60px;
  gap: 20px; padding: 18px 0; align-items: baseline;
  cursor: pointer; transition: padding-left 0.15s, color 0.15s;
}

.tracks-grid > li > header:hover { padding-left: 8px; color: var(--accent); }

.tracks-grid .tnum { font-family: var(--mono); font-size: 12px; color: var(--ink-mute); }

.tracks-grid .tname { font-family: var(--serif); font-style: italic; font-size: 24px; font-weight: 400; line-height: 1; }

.tracks-grid .tcreds { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); letter-spacing: 0.04em; }

.tracks-grid .tlen { font-family: var(--mono); font-size: 12px; color: var(--ink-mute); text-align: right; }

.tracks-grid .tbody {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
  padding: 0 0 0 64px;
}

.tracks-grid > li.open .tbody {
  max-height: 600px; opacity: 1; padding: 0 0 22px 64px;
}

.tracks-grid > li.open .tname { color: var(--accent); }

.tracks-grid .tnote {
  font-family: var(--body-serif); font-size: 17px; line-height: 1.55;
  color: var(--ink); margin: 0 0 14px; max-width: 62ch;
}

.tracks-grid .tlisten {
  font-family: var(--sans); font-size: 14px; line-height: 1.5;
  color: var(--ink-2); margin: 0; padding: 12px 16px;
  background: var(--paper-2); border-left: 2px solid var(--accent);
}

.tracks-grid .tlisten b {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; font-weight: 500; color: var(--accent);
}

.tracks-grid .tstamp {
  display: inline-block; font-family: var(--mono); font-weight: 600;
  background: var(--ink); color: var(--paper); padding: 2px 7px;
  border-radius: 3px; margin: 0 6px; font-size: 12px;
}

.dn-item {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  padding: 7px 14px 7px 16px;
  text-decoration: none;
  color: var(--ink-mute);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}

.dn-item:hover { color: var(--ink); }

.dn-item.active { color: var(--accent); }

.dn-item.active .dn-numeral { color: var(--accent); }

.crumb-rank {
  font-weight: 600; color: var(--ink);
  letter-spacing: 0.04em;
}

.crumb-sep { opacity: 0.4; }

.er-play {
  flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.15s, transform 0.1s;
}

.er-play:hover { background: var(--accent); border-color: var(--accent); }

.er-play.on { background: var(--accent); border-color: var(--accent); }

.er-field-hint {
  font-family: var(--serif); font-style: italic; font-size: 11px;
  letter-spacing: 0; text-transform: none; color: var(--ink-mute);
  font-weight: 400;
}

.er-ctl {
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid transparent; background: transparent;
  color: var(--ink-2); cursor: pointer;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.er-ctl:hover:not(:disabled) { background: var(--paper-2, #f5f1e9); color: var(--ink); }

.er-ctl.on, .er-cog.on {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}

.er-progress {
  height: 2px; background: var(--rule);
  position: relative; overflow: hidden;
}

.er-progress span {
  display: block; height: 100%;
  background: var(--accent);
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.er-disclosure {
  grid-column: 1 / -1;
  font-family: var(--serif); font-style: italic; font-size: 12px;
  color: var(--ink-mute); border-top: 1px dotted var(--rule);
  padding-top: 10px;
}

.er-disclosure em { color: var(--ink); }

/* ===== Azure Speech settings section ===== */
.er-azure {
  grid-column: 1 / -1;
  border: 1px solid var(--rule);
  background: var(--paper);
  margin-top: 4px;
}

.er-azure > summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  transition: background 0.15s;
}

.er-azure > summary::-webkit-details-marker { display: none; }

.er-azure > summary:hover { background: color-mix(in oklab, var(--ink) 3%, transparent); }

.er-azure[open] > summary { border-bottom: 1px solid var(--rule); }

.er-azure-summary-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 600;
  color: var(--ink);
}

.er-azure-summary-label svg {
  color: var(--accent);
}

.er-azure-summary-meta {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em;
  color: var(--ink-mute);
}

.er-azure-on { color: var(--accent); }

.er-azure-off { color: var(--ink-mute); }

.er-azure-body {
  padding: 14px 14px 16px;
  display: flex; flex-direction: column; gap: 12px;
}

.er-azure-help {
  font-family: var(--serif); font-style: italic;
  font-size: 13px; line-height: 1.5; color: var(--ink-2);
  margin: 0;
}

.er-azure-help a {
  color: var(--accent); border-bottom: 1px solid currentColor; text-decoration: none;
  font-style: normal; font-weight: 500;
}

.er-azure-help a:hover { color: var(--ink); }

.er-azure-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  cursor: pointer; color: var(--ink);
  text-transform: uppercase; font-weight: 600;
  padding: 6px 0;
}

.er-azure-toggle input[type="checkbox"] {
  width: 14px; height: 14px;
  accent-color: var(--accent);
}

.er-azure-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}

.er-azure input[type="password"],
.er-azure select {
  font-family: var(--mono); font-size: 12px;
  padding: 7px 10px;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--rule); border-radius: 0;
}

.er-azure input[type="password"]:focus,
.er-azure select:focus {
  outline: 2px solid var(--accent); outline-offset: -2px;
}

.er-azure-actions {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 4px;
}

.er-azure-test {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 600;
  padding: 8px 16px; background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink); cursor: pointer;
  border-radius: 999px; transition: background 0.15s;
}

.er-azure-test:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); }

.er-azure-test:disabled { opacity: 0.4; cursor: not-allowed; }

.er-azure-msg {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  font-weight: 500;
}

.er-azure-msg.ok { color: var(--accent); }

.er-azure-msg.err { color: #c44; }

.er-azure-foot {
  font-family: var(--serif); font-style: italic; font-size: 11px;
  color: var(--ink-mute); line-height: 1.5; margin: 0;
  padding-top: 8px; border-top: 1px dotted var(--rule);
}

@media (max-width: 640px) {
.er-azure-row { grid-template-columns: 1fr; }
}

/* Highlight currently-spoken paragraph */
.dek-large.is-reading,
.longform p.is-reading {
  position: relative;
  background: color-mix(in oklab, var(--accent) 8%, transparent);
  padding-left: 16px;
  padding-right: 16px;
  margin-left: -16px;
  margin-right: -16px;
  border-radius: 2px;
  transition: background 0.4s ease;
}

.tplay {
  position: relative;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid transparent;
  border-radius: 999px; padding: 0; cursor: pointer;
  color: var(--ink); transition: background 0.15s, border-color 0.15s, color 0.15s;
  align-self: center;
  margin: -8px 0;
}

.tracks-grid > li > header:hover .tplay,
.tplay.on {
  background: var(--ink); border-color: var(--ink); color: var(--paper);
}

.tplay.on { background: var(--accent); border-color: var(--accent); }

@keyframes tplay-spin {
  to { transform: rotate(360deg); }
}

.tlisten-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; font-weight: 600;
  color: var(--ink); text-decoration: none;
  padding: 5px 10px; border: 1px solid var(--rule);
  border-radius: 999px; cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.tlisten-link:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.tlisten-link::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ink-mute);
}

.tlisten-link.sp::before { background: #1DB954; }

.tlisten-link.am::before { background: #FA243C; }

.myth {
  display: grid; grid-template-columns: 110px 1fr; gap: 22px;
  padding: 18px 0; border-bottom: 1px solid var(--rule);
  align-items: start;
}

.myth:last-child { border-bottom: none; }

.values-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--ink); margin-bottom: 0;
}

.values-strip > div { background: var(--paper-2); padding: 22px; text-align: center; }

.values-strip b {
  display: block; font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 10px; font-weight: 500;
}

.values-strip span {
  font-family: var(--sans); font-weight: 800; font-size: 20px;
  color: var(--accent); letter-spacing: -0.01em;
}

/* Today */
.today-block {
  font-family: var(--body-serif); font-size: 20px; line-height: 1.55;
  color: var(--ink); max-width: 60ch; margin: 0;
  padding: 28px; background: var(--paper-2); border-left: 3px solid var(--accent);
  text-wrap: pretty;
}

.rec { padding: 14px 0; border-top: 1px solid var(--rule); }

.rec:last-child { border-bottom: 1px solid var(--rule); }

/* Discussion prompts */
.prompts { list-style: none; margin: 0; padding: 0; counter-reset: p; }

.prompts li {
  display: grid; grid-template-columns: 60px 1fr; gap: 22px;
  padding: 22px 0; border-bottom: 1px solid var(--rule);
  align-items: baseline;
}

.prompts li:last-child { border-bottom: none; }

.prompts p {
  font-family: var(--serif); font-style: italic; font-size: 22px;
  line-height: 1.3; color: var(--ink); margin: 0; font-weight: 400;
  text-wrap: pretty;
}

/* Tweaks panel */
.tweaks {
  position: fixed; bottom: 84px; right: 28px; z-index: 70;
  width: 280px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 18px;
  font-family: var(--sans);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.2);
}

.tweaks h4 {
  margin: 0 0 14px; font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
}

.t-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }

.t-row > label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }

.t-opts { display: flex; gap: 6px; flex-wrap: wrap; }

.t-opts button {
  flex: 1; border: 1px solid var(--ink);
  padding: 8px 10px; font-family: var(--sans);
  font-size: 12px; font-weight: 500; border-radius: 2px;
}

.t-opts button.active { background: var(--ink); color: var(--paper); }

.scorecard {
  background: var(--paper);
  border: 1px solid var(--ink);
  position: relative;
  align-self: stretch;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.sc-heat-meter {
  width: 140px; height: 6px; background: var(--paper-2);
  border: 1px solid var(--rule); border-radius: 3px; overflow: hidden;
}

.sc-heat-fill {
  height: 100%;
  background: linear-gradient(90deg, #3a6fa5 0%, #d97757 55%, #c2410c 85%, #7a2424 100%);
  transition: width 0.5s;
}

.sc-score-max { font-size: 11px; color: var(--ink-mute); font-weight: 500; }

@keyframes sc-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 700px) {
.sc-heat-meter { width: 110px; }
}

.trate-star {
  background: none; border: none; padding: 2px 3px; cursor: pointer;
  font-size: 22px; line-height: 1; color: var(--rule);
  transition: color 0.1s, transform 0.1s;
}

.trate-star.on { color: var(--accent); }

.ledger { margin: 0 0 30px; }

.lf, .ls {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 7px 11px; border: 1px solid var(--rule);
  border-radius: 999px; background: transparent; color: var(--ink);
  transition: background 0.15s, border-color 0.15s;
}

.lf:hover, .ls:hover { border-color: var(--ink); }

.lf.active, .ls.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.lrow {
  padding: 14px 18px; border-bottom: 1px solid var(--rule);
  cursor: pointer; transition: background 0.15s, padding-left 0.15s;
  position: relative;
}

.lrow:hover { background: rgba(217, 119, 87, 0.06); padding-left: 24px; }

.lrow.active {
  background: var(--paper-2); padding-left: 22px;
  border-left: 4px solid var(--accent);
}

.lrow-rating { color: var(--accent); font-size: 13px; letter-spacing: 0; margin-left: auto; }

.lrow-rating .o { color: var(--rule); }

.lrow-title {
  font-family: var(--serif); font-style: italic; font-size: 17px;
  line-height: 1.2; font-weight: 400; color: var(--ink);
}

.lrow.active .lrow-title { color: var(--accent); }

.ld-values {
  display: flex; gap: 2px; background: var(--ink);
  margin: 0 -28px 16px; padding: 0;
}

.ld-values .ldv { flex: 1; background: var(--paper-2); padding: 12px; text-align: center; }

/* Stated absence, not a gap. Deliberately quiet — it is a note about what we do not
   know, so it should not read with the weight of a price. */
.ld-values-none { background: transparent; }

.ldv-none {
  flex: 1; background: var(--paper-2); padding: 10px 12px; text-align: center;
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.04em;
  color: var(--ink-mute); font-style: italic;
}

.ldv-k { display: block; font-family: var(--sans); font-size: 9px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 4px; }

.ldv-v { display: block; font-family: var(--sans); font-weight: 800;
  font-size: 17px; color: var(--accent); }

/* ---- live vs editorial pressing values (components/DossierValues.jsx) ------
   A live, market-sourced figure earns a quiet marker. An editorial figure is
   shown completely unmarked: the fallback must not look like a downgrade, and a
   grade with neither value renders no cell at all. */
.ld-values { flex-wrap: wrap; }

.ld-values .ldv.ldv-live { position: relative; }

.ld-values .ldv.ldv-live::after {
  content: ""; position: absolute; top: 7px; right: 7px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: 0.55;
}

.ldv-provenance {
  flex-basis: 100%; margin: 0; background: var(--paper-2);
  padding: 8px 12px; font-family: var(--sans); font-size: 11px;
  color: var(--ink-mute); display: flex; align-items: center; gap: 7px;
}

.ldv-dot { width: 6px; height: 6px; border-radius: 50%; flex: none; background: var(--ink-mute); }

.ldv-dot.conf-high { background: #2d5d3a; }

.ldv-dot.conf-medium { background: #a56300; }

.ldv-dot.conf-low { background: var(--ink-mute); }

/* A modelled figure — cheapest listing x a condition multiplier, not a guide price.
   The tilde is the whole signal: quiet enough not to shout on a page of numbers,
   present enough that a reader deciding what to pay can see it is an estimate. */
.ldv-approx {
  font-family: var(--sans); font-size: 0.75em; margin-left: 2px;
  color: var(--ink-mute); text-decoration: none; border: 0; cursor: help;
}

.ld-values .ldv.ldv-est .ldv-v { color: var(--ink-mute); }

/* Headline strip: same rule — live gets a marker, editorial stays plain. */
.values-strip > div.vs-live { position: relative; }

.values-strip > div.vs-live::after {
  content: ""; position: absolute; top: 10px; right: 10px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: 0.55;
}

/* Affiliate cards */
.affiliates { margin-top: 28px; }

.aff-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 14px; flex-wrap: wrap; gap: 12px;
  padding-bottom: 12px; border-bottom: 1px solid var(--rule);
}

.aff-head h4 {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 26px; margin: 0; color: var(--ink);
}

.aff-disclose {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-mute);
}

.aff-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.aff-card {
  background: var(--paper-2); border: 1px solid var(--ink);
  padding: 16px 18px; display: flex; flex-direction: column; gap: 4px;
  position: relative; transition: transform 0.2s, background 0.2s;
  cursor: pointer; color: var(--ink);
}

.aff-card:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }

.aff-tag {
  position: absolute; top: -10px; left: 12px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em;
  text-transform: uppercase; background: var(--accent); color: #fff;
  padding: 4px 8px; font-weight: 700;
}

.aff-label {
  font-family: var(--serif); font-style: italic; font-size: 19px;
  line-height: 1.15; font-weight: 400; margin-top: 8px;
}

.aff-vendor {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; opacity: 0.7;
}

.aff-price {
  font-family: var(--sans); font-weight: 800; font-size: 22px;
  letter-spacing: -0.01em; margin-top: 4px;
}

.aff-cta {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; font-weight: 700; margin-top: 6px;
  padding-top: 8px; border-top: 1px solid currentColor;
}

@keyframes bar-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.cv-sparkline { margin-bottom: 40px; padding: 24px; background: var(--paper-2); border: 1px solid var(--rule); }

.cv-spark-head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; margin-bottom: 14px; color: var(--ink-mute);
  gap: 12px; flex-wrap: wrap;
}

.cv-spark-head > span:first-child { color: var(--ink); font-weight: 600; }

.cv-spark-peak { color: var(--accent); font-weight: 700; }

.spark-svg { width: 100%; height: 160px; color: var(--ink); display: block; }

/* ======= Scenes (making-of illustrations) ======= */
.scenes {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px;
  background: var(--ink); margin: 0 0 32px; border: 1px solid var(--ink);
}

/* ======= Comments + ratings ======= */
.comments { margin: 0; }

.comments-top {
  display: grid; grid-template-columns: 180px 1fr 1fr; gap: 28px;
  padding: 24px 26px; border: 1px solid var(--ink);
  background: var(--paper-2); margin-bottom: 28px;
}

.rating-aggregate { display: flex; flex-direction: column; justify-content: center; gap: 6px; }

.ra-big {
  font-family: var(--sans); font-weight: 900; font-size: 72px;
  line-height: 0.85; letter-spacing: -0.04em; color: var(--accent);
}

.ra-stars { font-size: 20px; letter-spacing: 2px; color: var(--rule); margin-bottom: 3px; }

.ra-stars .ra-star.on { color: var(--accent); }

.ra-stars .ra-star.half {
  background: linear-gradient(90deg, var(--accent) 50%, var(--rule) 50%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ra-meta { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-mute); }

.rating-dist { display: flex; flex-direction: column; gap: 6px; justify-content: center; }

.rd-row { display: grid; grid-template-columns: 30px 1fr 30px; gap: 10px; align-items: center; }

.rd-stars { font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--ink); }

.rd-bar {
  height: 6px; background: var(--paper); border: 1px solid var(--rule);
  border-radius: 3px; overflow: hidden;
}

.rd-bar > span { display: block; height: 100%; background: var(--accent); transition: width 0.4s; }

.rd-count { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); text-align: right; }

.rating-you { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding-left: 28px; border-left: 1px solid var(--rule); }

.ry-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-mute); }

.ry-stars { display: flex; gap: 2px; }

.ry-star {
  font-size: 28px; line-height: 1; color: var(--rule);
  background: none; border: none; padding: 2px; cursor: pointer;
  transition: transform 0.1s, color 0.1s;
}

.ry-star:hover { transform: scale(1.15); }

.ry-star.on { color: var(--accent); }

.ry-note { font-family: var(--body-serif); font-size: 13px;
  font-style: italic; color: var(--ink-2); }

.comments-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 12px; border-bottom: 1px solid var(--ink); margin-bottom: 18px;
  flex-wrap: wrap; gap: 12px;
}

.comments-head h4 {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 28px; margin: 0;
}

.comments-head span { font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); }

.comments-list { list-style: none; margin: 0 0 32px; padding: 0; }

.c {
  display: grid; grid-template-columns: 40px 1fr; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--rule);
}

.c.staff { padding: 22px 20px; background: var(--paper-2); border: 1px solid var(--accent); margin-bottom: 6px; }

.c-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 700; font-size: 13px;
  color: var(--paper);
}

.c-top {
  display: flex; gap: 10px; align-items: center;
  flex-wrap: wrap; margin-bottom: 6px;
}

.c-name { font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--ink); }

.c-handle { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); }

.c-when { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-mute); margin-left: auto; }

.c-stars { color: var(--accent); letter-spacing: 1px; font-size: 13px; }

.c-stars .o { color: var(--rule); }

.c-staff {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em;
  background: var(--accent); color: #fff; padding: 2px 7px; font-weight: 700;
}

.c p {
  font-family: var(--body-serif); font-size: 16px; line-height: 1.55;
  color: var(--ink); margin: 0 0 10px;
}

.c-actions { display: flex; gap: 12px; }

.c-like, .c-reply {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-mute);
  padding: 4px 8px; border: 1px solid var(--rule); border-radius: 999px;
  background: transparent; transition: color 0.15s, border-color 0.15s;
}

.c-like:hover, .c-reply:hover { color: var(--accent); border-color: var(--accent); }

.c-like.on { color: var(--accent); border-color: var(--accent); }

.comment-form {
  padding: 22px 24px; border: 1px solid var(--ink);
  display: flex; flex-direction: column; gap: 12px;
}

.comment-form h5 {
  font-family: var(--serif); font-style: italic; font-size: 22px;
  margin: 0; font-weight: 400;
}

.cf-rating { display: flex; gap: 4px; align-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-mute); }

.cf-rating > span { margin-right: 6px; }

.cf-star { font-size: 22px; line-height: 1; color: var(--rule);
  background: none; border: none; padding: 2px; cursor: pointer; transition: color 0.15s, transform 0.1s; }

.cf-star.on { color: var(--accent); }

.cf-star:hover { transform: scale(1.15); }

.cf-name, .cf-body {
  font-family: var(--sans); font-size: 14px;
  border: 1px solid var(--rule); border-radius: 0;
  padding: 10px 12px; background: var(--paper);
  color: var(--ink); width: 100%;
  resize: vertical;
}

.cf-body { font-family: var(--body-serif); font-size: 16px; line-height: 1.5; }

.cf-name:focus, .cf-body:focus { outline: none; border-color: var(--accent); }

.cf-actions {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}

.cf-note { font-family: var(--body-serif); font-style: italic; font-size: 13px; color: var(--ink-mute); }

.cf-submit {
  background: var(--ink); color: var(--paper);
  padding: 10px 20px; border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 600;
  transition: background 0.15s;
}

.cf-submit:hover { background: var(--accent); }

.cf-submit:disabled { background: var(--rule); color: var(--ink-mute); cursor: not-allowed; }

.comments-empty { text-align: center; padding: 30px 22px; border: 1px dashed var(--rule); border-radius: 12px; margin: 4px 0 20px; color: var(--ink-mute); }

.comments-empty svg { color: var(--accent); opacity: 0.8; }

.comments-empty p { font-family: var(--body-serif); font-size: 16px; line-height: 1.5; color: var(--ink-2); max-width: 420px; margin: 12px auto 18px; }

.comments-empty-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--paper);
  padding: 11px 20px; border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 600; transition: background 0.15s;
}

.comments-empty-cta:hover { background: var(--accent); }

@media (max-width: 900px) {
.ld-values { margin: 0 -28px 16px; }
.scenes { grid-template-columns: 1fr; }
.comments-top { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
.rating-you { padding-left: 0; border-left: none; padding-top: 18px; border-top: 1px solid var(--rule); }
.aff-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
.entry { grid-template-columns: 70px 140px 1fr 40px; }
.entry .side { display: none; }
.entry .cover-slot { width: 140px; height: 140px; }
.entry .rank-num { font-size: 64px; }
}

@media (max-width: 900px) {
html { height: auto; overflow-x: hidden; overflow-x: clip; }
body { height: auto; overflow-x: visible; }
.variant-a, .variant-c { grid-template-columns: 1fr; padding: 96px 20px 24px; height: auto; min-height: 100vh; overflow-y: auto; }
.variant-a .va-rank { font-size: 26vw; }
.vc-preview .vc-cover { width: 80vw; }
.page-head { padding: 40px 20px 24px; grid-template-columns: 1fr; }
.toolbar { padding: 12px 20px; gap: 14px; }
.list { padding: 0 20px 40px; }
.entry { grid-template-columns: auto 100px 1fr; gap: 16px; padding: 22px 0; align-items: start; }
.entry .heard-col { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 12px; }
.heard-label { writing-mode: horizontal-tb; margin: 0; }
.entry .cover-slot { width: 100px; height: 100px; }
.entry .rank-num { font-size: 42px; line-height: 0.95; padding-right: 4px; }
.entry .info h3 { font-size: 26px; }
.entry .info { min-width: 0; }
/* Was 100px of top padding, set when the affiliate strip sat between the crumbs
     bar and the hero and needed clearing. The strip is gone (see
     window.BBR_COMMERCE_ENABLED), so that padding became raw whitespace between the
     nav and the cover — the reported "big gap". The sticky crumbs bar already
     separates the two; 40px is breathing room, 100px was a hole. */
  .hero { grid-template-columns: 1fr; padding: 40px 20px 60px; gap: 40px; min-height: auto; }
.essay { padding: 0 20px; }
.chapter { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 60px 0; }
.chapter-label { position: static; }
.pull { margin-left: 0; font-size: 22px; }
.lyric { font-size: 20px; padding: 40px 20px; }
.figure li { grid-template-columns: 1fr; }
.dossier { padding: 0 20px; }
.dsection { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 56px 0; }
.dsection-label { position: static; }
.values-strip { grid-template-columns: 1fr; }
.myth { grid-template-columns: 1fr; gap: 10px; }
.today-block { font-size: 17px; padding: 20px; }
.prompts li { grid-template-columns: 40px 1fr; gap: 14px; }
.prompts p { font-size: 18px; }
.longform .pullable { margin: 28px 0; font-size: 22px; }
}

/* 1. Hero cover ----------------------------------------------------- */
.hero-cover {
  padding: 72px 56px !important;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  border-bottom: 1px solid var(--rule);
}

@keyframes hc-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217,119,87,0.55); }
  50% { box-shadow: 0 0 0 6px rgba(217,119,87,0); }
}

.hero-cover:hover .hc-vinyl { transform: translateX(14%); }

.hc-stamp .s1 { font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.85; }

.hc-stamp .s2 { font-family: var(--serif); font-size: 36px; line-height: 1; }

/* 2. Teaser --------------------------------------------------------- */
.teaser {
  padding: 80px 56px !important;
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
}

.t-kicker {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-mute);
  margin-bottom: 24px;
}

.t-dek {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 3.4vw, 52px);
  line-height: 1.08; letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 480px;
}

.t-body {
  font-family: var(--body-serif);
  font-size: 20px; line-height: 1.6;
  color: var(--ink);
  margin: 0;
  columns: 2;
  column-gap: 40px;
  column-rule: 1px solid var(--rule);
}

.t-body .dropcap {
  font-family: var(--serif);
  float: left;
  font-size: 68px; line-height: 0.82;
  padding: 6px 10px 0 0;
  color: var(--accent);
}

.t-footer {
  margin-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mute);
}

.t-more {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-weight: 600;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

.t-read-time { letter-spacing: 0.14em; }

/* Generic section head -------------------------------------------- */
.r-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 40px; gap: 40px;
}

.r-head h2 {
  font-size: clamp(36px, 4vw, 60px);
  line-height: 1;
  letter-spacing: -0.022em;
}

.r-sub {
  font-family: var(--body-serif); font-style: italic;
  font-size: 18px; line-height: 1.4;
  color: var(--ink-2);
  max-width: 520px;
  margin: 12px 0 0;
}

.r-legend {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; color: var(--ink-mute);
  letter-spacing: 0.1em;
  flex-wrap: wrap;
}

.r-legend span + span { margin-right: 16px; }

.r-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }

.r-dot-live { background: var(--accent); }

.r-dot-soon { background: var(--rule); border: 1px solid var(--ink-mute); }

/* 3. Ranked grid --------------------------------------------------- */
.ranked { padding: 96px 56px !important; border-bottom: 1px solid var(--rule); }

.r-filters {
  display: flex; align-items: center; gap: 32px;
  padding: 20px 24px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 4px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.rf-group { display: flex; align-items: center; gap: 12px; }

.rf-label {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute);
}

.rf-pills { display: flex; gap: 4px; flex-wrap: wrap; }

.rf-pill {
  padding: 6px 12px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid transparent;
  border-radius: 999px;
  transition: all 0.12s;
}

.rf-pill:hover { border-color: var(--rule); }

.rf-pill.active {
  background: var(--ink); color: var(--paper);
  border-color: var(--ink);
}

.rf-select {
  font-family: var(--sans); font-size: 13px;
  padding: 6px 28px 6px 10px;
  background: var(--paper) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%2317130f' stroke-width='1.5'><path d='M3 5l3 3 3-3'/></svg>") no-repeat right 8px center;
  background-size: 12px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  color: var(--ink);
  appearance: none;
  cursor: pointer;
}

.rf-count {
  margin-left: auto;
  font-family: var(--mono); font-size: 12px; color: var(--ink-mute);
  letter-spacing: 0.1em;
}

.rf-count b { color: var(--ink); font-weight: 600; }

.r-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px 28px;
}

.r-tile {
  display: flex; flex-direction: column;
  text-align: left;
  transition: transform 0.18s;
  position: relative;
}

.r-tile:hover { transform: translateY(-4px); }

.rt-rank {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; color: var(--ink-mute);
  margin-bottom: 10px;
}

.rt-cover {
  aspect-ratio: 1/1; overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
  margin-bottom: 14px;
}

.rt-cover > * { width: 100% !important; height: 100% !important; }

.rt-body { display: flex; flex-direction: column; gap: 4px; }

.rt-title {
  font-family: var(--serif); font-size: 22px; line-height: 1.08;
  letter-spacing: -0.01em; color: var(--ink);
}

.rt-artist {
  font-family: var(--body-serif); font-style: italic;
  font-size: 14px; color: var(--ink-2);
  margin-bottom: 10px;
}

.rt-score-row {
  display: flex; align-items: center; gap: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--rule);
}

.rt-score {
  font-family: var(--serif);
  font-size: 26px; line-height: 1; color: var(--accent);
  letter-spacing: -0.01em;
}

.rt-radar {
  color: var(--ink-2); opacity: 0.85;
}

.rt-status {
  margin-left: auto;
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
}

.rts-live { background: var(--ink); color: var(--paper); }

.rts-soon { color: var(--ink-mute); border: 1px solid var(--rule); }

.r-tile.soon { opacity: 0.86; }

.r-tile.soon:hover { opacity: 1; }

/* 4. Reading paths ------------------------------------------------- */
.paths { padding: 96px 56px !important; border-bottom: 1px solid var(--rule); }

.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.p-card {
  padding: 40px 36px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  display: flex; flex-direction: column;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.p-card:nth-child(2) { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.p-card:nth-child(2) .p-n, .p-card:nth-child(2) .p-kick { color: rgba(243,237,225,0.6); }

.p-card:nth-child(2) .p-blurb { color: rgba(243,237,225,0.82); }

.p-card:nth-child(2) .p-cta { color: var(--accent); }

.p-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(0,0,0,0.08); }

.p-n {
  font-family: var(--serif); font-size: 56px; line-height: 0.9;
  color: var(--accent); letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.p-kick {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-mute);
  margin-bottom: 10px;
}

.p-label {
  font-family: var(--serif); font-weight: 400;
  font-size: 30px; line-height: 1.08; letter-spacing: -0.015em;
  margin: 0 0 18px;
}

.p-blurb {
  font-family: var(--body-serif); font-size: 16px;
  line-height: 1.55; color: var(--ink-2);
  margin: 0 0 28px;
  flex: 1;
}

.p-meta {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: currentColor; opacity: 0.7;
  margin-bottom: 18px;
}

.p-sep { margin: 0 10px; }

.p-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 14px;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding: 4px 0;
  align-self: flex-start;
}

/* 5. Archive ------------------------------------------------------- */
.archive { padding: 96px 56px !important; border-bottom: 1px solid var(--rule); }

.a-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

.a-card {
  display: flex; flex-direction: column; gap: 20px;
  cursor: pointer;
  padding-top: 24px;
  border-top: 2px solid var(--ink);
  transition: transform 0.18s;
}

.a-card:hover { transform: translateY(-3px); }

.a-hook {
  font-family: var(--serif); font-weight: 400;
  font-size: 22px; line-height: 1.25; letter-spacing: -0.012em;
  color: var(--ink);
}

.a-meta { display: flex; align-items: center; gap: 14px; }

.a-cover { width: 72px; height: 72px; flex-shrink: 0; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }

.a-cover > * { width: 100% !important; height: 100% !important; }

.a-title {
  font-family: var(--serif); font-size: 18px;
  letter-spacing: -0.01em; color: var(--ink);
}

.a-artist {
  font-family: var(--body-serif); font-style: italic;
  font-size: 13px; color: var(--ink-mute);
}

.a-teaser {
  font-family: var(--body-serif); font-size: 15px;
  line-height: 1.55; color: var(--ink-2);
  margin: 0;
}

.a-date {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-mute);
  padding-top: 12px; border-top: 1px solid var(--rule);
}

/* 6. Podcast ------------------------------------------------------- */
.pod {
  padding: 80px 56px !important;
  background: #0f0d0b;
  color: var(--paper);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  border-bottom: 1px solid var(--rule);
}

.pod-sub {
  font-family: var(--body-serif); font-size: 18px;
  line-height: 1.55; color: rgba(243,237,225,0.82);
  max-width: 540px;
  margin: 0 0 32px;
}

.pod-sub em { color: var(--accent); font-style: italic; }

.pod-cover { width: 120px; height: 120px; box-shadow: 0 12px 28px rgba(0,0,0,0.5); flex-shrink: 0; }

.pod-cover > * { width: 100% !important; height: 100% !important; }

/* 7. Collector's desk --------------------------------------------- */
.desk { padding: 96px 56px !important; border-bottom: 1px solid var(--rule); }

.desk-head-right {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mute);
  padding-left: 14px; border-left: 2px solid var(--accent);
}

.desk-grid {
  display: grid; grid-template-columns: 300px 1fr;
  gap: 56px; align-items: start;
}

.desk-cover-col { position: sticky; top: 100px; }

.desk-label-top {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 10px;
}

.desk-cover {
  width: 100%; aspect-ratio: 1/1;
  box-shadow: 0 30px 60px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.08);
  position: relative;
}

.desk-rumours-art {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, #d4a574 0%, #a87547 40%, #6b4628 80%),
    #6b4628;
  overflow: hidden;
}

.desk-rumours-art::before {
  content: ""; position: absolute;
  left: 30%; top: 28%; width: 42%; height: 48%;
  background: radial-gradient(circle at 50% 40%, #1f1510 0%, #0a0706 60%, transparent 100%);
  border-radius: 50% 50% 50% 50% / 52% 52% 48% 48%;
  filter: blur(0.5px);
}

.desk-rumours-art::after {
  content: "rumours";
  position: absolute; bottom: 12%; left: 50%; transform: translateX(-50%);
  font-family: var(--serif); font-style: italic;
  font-size: 28px; color: rgba(255,235,200,0.9);
  letter-spacing: -0.01em;
}

.desk-eyebrow {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.desk-title {
  font-family: var(--serif); font-weight: 400;
  font-size: 44px; line-height: 1.05; letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.desk-title em { font-style: italic; }

.desk-intro {
  font-family: var(--body-serif); font-size: 19px; line-height: 1.55;
  color: var(--ink-2); max-width: 640px;
  margin: 0 0 40px;
}

.desk-ident {
  padding: 24px 28px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  margin-bottom: 36px;
}

.desk-ident-label {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 16px;
}

.desk-dl { margin: 0; }

.desk-dl > div {
  display: grid; grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 10px 0;
  border-top: 1px solid var(--rule);
}

.desk-dl > div:first-child { border-top: none; padding-top: 0; }

.desk-dl dt {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mute);
}

.desk-dl dd {
  margin: 0;
  font-family: var(--body-serif);
  font-size: 15px; line-height: 1.5;
  color: var(--ink);
}

.desk-dl dd code {
  font-family: var(--mono); font-size: 13px;
  background: var(--paper); padding: 2px 6px; border-radius: 2px;
  color: var(--accent);
}

.desk-values {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.desk-val {
  padding: 20px; border: 1px solid var(--rule);
  background: var(--paper);
}

.desk-val.featured { border-color: var(--accent); background: var(--paper-2); position: relative; }

.desk-val.featured::before {
  content: "Sweet spot"; position: absolute; top: -10px; left: 16px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--accent); color: var(--paper);
  padding: 3px 8px; border-radius: 2px;
}

.dv-grade {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 10px;
}

.dv-price {
  font-family: var(--serif); font-size: 32px; line-height: 1;
  letter-spacing: -0.01em; color: var(--ink);
  margin-bottom: 12px;
}

.dv-note {
  font-family: var(--body-serif); font-style: italic;
  font-size: 13px; line-height: 1.45; color: var(--ink-2);
}

.desk-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; border-top: 1px solid var(--rule);
  font-family: var(--mono); font-size: 11px; color: var(--ink-mute);
  letter-spacing: 0.1em;
  flex-wrap: wrap; gap: 16px;
}

.desk-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 13px;
  color: var(--accent); letter-spacing: 0.02em;
  border-bottom: 1px solid var(--accent);
  padding: 4px 0;
  text-transform: none;
}

/* 8. Newsletter --------------------------------------------------- */
.news {
  padding: 96px 56px !important;
  background: var(--accent);
  color: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.news h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.02; letter-spacing: -0.025em;
  margin: 0 0 20px;
  color: var(--paper);
}

/* 9. Manifesto ---------------------------------------------------- */
.manifesto { padding: 112px 56px !important; background: var(--paper-2); border-bottom: 1px solid var(--rule); }

/* 10. Footer ------------------------------------------------------ */
.foot {
  padding: 64px 56px 40px !important;
  background: var(--ink);
  color: var(--paper);
}

.foot-brand .brand-art {
  font-style: italic; font-weight: 400; margin-right: 3px;
  color: color-mix(in oklab, var(--paper) 58%, transparent);
}

.foot a {
  display: block;
  font-family: var(--sans); font-size: 14px;
  color: rgba(243,237,225,0.85);
  padding: 5px 0;
  cursor: pointer;
  transition: color 0.15s;
}

.foot a:hover { color: var(--accent); }

@media (max-width: 980px) {
.mag section { padding: 60px 28px !important; }
.mag-masthead { padding: 28px 28px 36px !important; }
.hero-cover, .teaser, .pod { grid-template-columns: 1fr; gap: 48px; }
.p-grid, .a-grid { grid-template-columns: 1fr; }
.desk-grid { grid-template-columns: 1fr; }
.desk-cover-col { position: static; max-width: 280px; }
.desk-values { grid-template-columns: 1fr; }
.foot-grid { grid-template-columns: 1fr 1fr; }
.t-body { columns: 1; }
}

.wgo-hot-callout {
  position: absolute; left: 36px; top: 50%; transform: translateY(-50%);
  width: 230px; padding: 12px 14px;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
  z-index: 10;
  text-align: left;
}

.wgo-hot-title {
  display: block; font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 6px; font-weight: 700;
}

.wgo-hot-body {
  display: block; font-family: var(--body-serif); font-size: 12px; line-height: 1.5;
}

@keyframes mkFade { from { opacity: 0; } to { opacity: 1; } }

.mk-credit-row {
  font-family: var(--sans); font-size: 13px; color: var(--ink-mute);
  margin-bottom: 8px; padding-top: 12px; border-top: 1px solid var(--rule);
}

.mk-credit-row b {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); font-weight: 700;
  margin-right: 8px;
}

@keyframes bpulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217, 119, 87, 0.55); }
  50%      { box-shadow: 0 0 0 6px rgba(217, 119, 87, 0); }
}

/* =================================================================
   MANIFESTO HOMEPAGE (variant e)
   Editorial, opinionated, paper-and-ink, mostly typography.
   ================================================================= */
.manifesto-home {
  max-width: none;
  /* Nav clearance, measured (see .countdown-page). 80px was a guess at a bar
     that is 68-73px depending on width, and the ticker's -19px tuck was sized
     to cancel the difference — so both ends of that arithmetic were wrong. */
  padding-top: calc(var(--nav-h) + max(0px, env(safe-area-inset-top, 0px) - 12px));
  color: var(--ink);
  background: var(--paper);
}

.manifesto-home h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; margin: 0; }

/* Giant typographic watermark — Roman numeral / Roman C for "100" */
@keyframes mf-ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* hide global shuffle/variant toggles' shuffle button on this variant */
body[data-variant="e"] .shuffle-btn { display: none; }

body[data-variant="e"] .variant-toggle { color: var(--ink); }

/* overflow-y must stay visible on the body — setting it to auto makes the
   body a scroll container, which silently breaks position:sticky on all
   descendants (e.g. the mobile section dropdown). The document scrolls
   natively without it. */
body[data-variant="d"], body[data-variant="e"] { height: auto; overflow-y: visible; }

body[data-variant="d"] .stage,
body[data-variant="e"] .stage { height: auto; overflow: visible; }

@keyframes affSlideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.aff-chip-price {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  padding-left: 6px;
  border-left: 1px solid var(--rule);
  margin-left: 2px;
}

@media (max-width: 640px) {
/* Horizontal-overflow protection on html only. On the BODY, any non-visible
     overflow (hidden OR clip) makes it a scroll container and breaks
     position:sticky descendants in Safari/iOS — so body stays visible. */
  html { overflow-x: hidden; overflow-x: clip; }
body { overflow-x: visible; }
/* --- Top nav ------------------------------------------------------ */
  .topnav {
    padding: 12px 18px;
    padding-top: max(12px, env(safe-area-inset-top, 12px));
  }
.topnav .brand { font-size: 13px; gap: 8px; }
.topnav .brand .brand-name { font-size: 18px; }
.topnav .brand .brand-mark { height: 20px; }
.topnav .links { gap: 16px; font-size: 10px; letter-spacing: 0.12em; }
/* --- Floating UI -------------------------------------------------- */
  .variant-toggle { bottom: 16px; left: 16px; font-size: 10px; }
.shuffle-btn { bottom: 16px; right: 16px; padding: 8px 12px; font-size: 10px; }
.tweaks { left: 12px; right: 12px; width: auto; bottom: 80px; }
/* --- Variant A / C home ------------------------------------------- */
  .variant-a, .variant-c { padding: 88px 20px 32px; gap: 32px; }
.va-left { padding: 0; gap: 24px; }
.va-eyebrow { font-size: 10px; gap: 12px; }
.va-cover, .vc-cover { width: 100%; max-width: 360px; }
.va-cta { bottom: 20px; right: 20px; padding: 12px 18px 10px; font-size: 12px; }
.va-meta-row { gap: 22px; font-size: 11px; }
.va-pull { font-size: 16px; padding-top: 14px; }
.vc-index { padding-right: 12px; max-height: 320px; }
.vc-row { grid-template-columns: 36px 1fr 50px; gap: 12px; padding: 10px 0; }
.vc-row .t-title { font-size: 16px; }
.vc-row .t-artist { font-size: 10px; }
.vc-info h2 { font-size: 32px; }
.vc-info p { font-size: 15px; }
/* --- Variant B (typographic) ------------------------------------- */
  .vb-top, .vb-meta { left: 20px; right: 20px; }
.vb-top { top: 64px; font-size: 10px; letter-spacing: 0.16em; }
.vb-meta { bottom: 28px; font-size: 11px; gap: 16px; }
.vb-meta .title { font-size: 26px; }
.vb-giant, .vb-giant-fg { font-size: 56vh; }
.vb-cover { left: 12%; right: 12%; top: 22%; bottom: 30%; }
/* --- List page ---------------------------------------------------- */
  .page-head { padding: 28px 20px 24px; grid-template-columns: 1fr; gap: 18px; }
.page-head h1 { font-size: clamp(40px, 11vw, 56px); }
.page-head .lede { font-size: 15px; }
.toolbar { position: static; top: auto; padding: 12px 20px; gap: 12px; font-size: 10px; }
.toolbar-group { gap: 6px; }
.toolbar .right { gap: 6px; }
.chip { padding: 5px 9px; font-size: 10px; }
.toolbar-btn { padding: 7px 11px; font-size: 10px; }
.count-label { font-size: 10px; }
/* Toolbar fully stacks on mobile so every control is on-screen (was forcing
     a horizontal scroll for the filters and jump pills). */
  .tb-row--main { flex-direction: column; align-items: stretch; gap: 12px; }
.tb-row--main .search-field { max-width: none; flex: 1 1 auto; }
.tb-row--main .search-field:focus-within { max-width: none; }
.tb-row--main .lp-filters { width: 100%; }
.tb-row--main .lp-filters .mc-select { flex: 1 1 0; min-width: 0; }
.tb-row--main .lp-filters .mc-select select { width: 100%; }
.tb-row--main .right { margin-left: 0; justify-content: space-between; width: 100%; }
/* Jump pills wrap onto multiple rows instead of scrolling off-screen. */
  .tb-row--jump { flex-direction: column; align-items: flex-start; gap: 8px; }
.tb-row--jump .range-pills { flex-wrap: wrap; overflow-x: visible; width: 100%; }
.list { padding: 0 20px 56px; }
.entry {
    grid-template-columns: auto 1fr 36px;
    grid-template-areas:
      "rank cover heard"
      "info info info";
    column-gap: 16px;
    row-gap: 14px;
    padding: 26px 0;
    align-items: start;
  }
.entry .rank-num { grid-area: rank; font-size: 44px; line-height: 0.9; align-self: center; margin: 0; padding-right: 2px; }
.entry .cover-slot { grid-area: cover; width: 120px; height: 120px; justify-self: start; }
.entry .heard-col { grid-area: heard; align-self: start; flex-direction: column; gap: 4px; }
.entry .info { grid-area: info; min-width: 0; }
.entry .info h3 { font-size: 24px; line-height: 1.08; }
.entry .info .artist-line { font-size: 11px; margin-bottom: 10px; }
.entry .info .blurb { font-size: 14px; max-width: none; line-height: 1.5; }
.entry .info .meta { font-size: 10px; gap: 10px; }
.entry .info .meta span::before { margin-right: 10px; }
.entry .info .kicker { font-size: 10px; }
.read-more { font-size: 10px; }
.heard-label { display: none; }
.progress { bottom: 14px; padding: 8px 14px; font-size: 10px; gap: 10px; }
.progress .bar { width: 90px; }
/* --- Album page hero --------------------------------------------- */
  .hero {
    grid-template-columns: 1fr;
    /* 80px top became a gap once the affiliate strip above it was withdrawn; see
       the 900px block. On a phone that was a fifth of the viewport before the
       cover appeared. */
    padding: 28px 20px 32px;
    gap: 28px;
    display: flex; flex-direction: column;
  }
/* Cover leads on mobile (was appearing below the text + scorecards because
     it's last in source order). order:-1 lifts it to the top. */
  .hero > .cover-stack { order: -1; }
.hero > div:not(.cover-stack):not(.hero-num) { order: 0; }
.hero .rank-line { font-size: 10px; gap: 10px; letter-spacing: 0.18em; margin-bottom: 12px; }
.hero h1 { font-size: clamp(40px, 11vw, 60px); margin-bottom: 10px; }
.hero .artist { font-size: 14px; margin-bottom: 16px; }
.hero .dek { font-size: 17px; margin-bottom: 24px; }
.hero .hero-meta .cell { font-size: 13px; }
.hero-num { font-size: min(40vh, 280px); right: -20px; bottom: -30px; opacity: 0.04; }
/* Same trick wherever a Sleeve is dropped at a fixed inline size and the
     CSS slot is narrower than the inline pixel size. */
  .hc-cover { zoom: 0.6; overflow: hidden; }
.pod-cover { zoom: 0.6; overflow: hidden; }
.sc-heat-meter { width: 90px; }
/* --- Essay / Dossier wrappers ------------------------------------ */
  .essay, .dossier { padding: 0 20px; }
.chapter, .dsection {
    /* minmax(0, 1fr) lets the track shrink below its content's intrinsic
       min-size — without this, any wide unbreakable child (e.g. an
       essay-reader bar with nowrap meta text) bursts the grid wider than
       the viewport. */
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 48px 0;
    min-width: 0;
    /* The section box top sits ~115px above its heading (top padding + the
       stacked numeral/eyebrow label). A large scroll-margin would land that
       empty box top below the bars, leaving the heading mid-screen. A small
       margin lets the padding tuck under the bars so the heading lands just
       below them. */
    scroll-margin-top: 8px;
  }
.wgo-hot-callout .wgo-hot-body { font-size: 14px; }
/* Reset max-widths inherited from the desktop reading measure so long-form
     paragraphs don't keep a wide intrinsic size on mobile. */
  .longform, .longform p, .longform p.lede,
  .chapter-body, .chapter-body p, .chapter-body p.lede,
  .dek-large {
    max-width: 100%;
    min-width: 0;
  }
.chapter-label, .dsection-label {
    position: static;
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    font-size: 10px; line-height: 1.3;
  }
.chapter-body h2, .dsection-body > h2 {
    font-size: clamp(28px, 8.5vw, 40px);
    margin-bottom: 18px;
  }
.chapter-body p, .longform p {
    font-size: 16px; line-height: 1.6; margin-bottom: 16px;
  }
.chapter-body p.lede, .longform p.lede { font-size: 18px; }
.chapter-body p:first-of-type::first-letter,
  .longform p:first-of-type::first-letter { font-size: 3.2em; padding: 4px 8px 0 0; }
/* Pull quotes — kill negative margin that overflowed */
  .pull, .longform .pullable {
    margin-left: 0; margin-right: 0;
    font-size: 22px;
    padding: 16px 0 16px 18px;
  }
.sub-h { margin: 24px 0 10px; font-size: 9px; }
/* --- Figure (deep dive sidebar boxes) ---------------------------- */
  .figure { padding: 18px; margin: 26px 0; }
.figure li {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 0;
  }
.figure li span:last-child { text-align: left; }
.tracklist-essay li { grid-template-columns: 30px 1fr auto; gap: 14px; padding: 12px 0; }
/* --- Lyric block ------------------------------------------------- */
  .lyric { padding: 36px 22px; font-size: 22px; margin: 32px 0; }
.lyric::before, .lyric::after { font-size: 72px; }
.lyric::before { top: 4px; left: 8px; }
.lyric::after { bottom: -18px; right: 8px; }
.values-strip { grid-template-columns: 1fr; }
.values-strip > div { padding: 16px; border-bottom: 1px solid var(--rule); }
.myth { grid-template-columns: 1fr; gap: 8px; padding: 16px 0; }
/* --- Today block ------------------------------------------------- */
  .today-block { font-size: 16px; padding: 20px; }
/* --- Prompts ----------------------------------------------------- */
  .prompts li { grid-template-columns: 36px 1fr; gap: 14px; padding: 16px 0; }
.prompts p { font-size: 17px; }
/* --- Magazine home + manifesto small tightening ------------------ */
  .mag section { padding: 48px 20px !important; }
.mag-masthead { padding: 22px 20px 28px !important; }
.ranked, .paths, .archive, .desk, .news, .manifesto, .pod, .foot, .teaser, .hero-cover {
    padding-left: 20px !important; padding-right: 20px !important;
  }
.teaser { padding-top: 56px !important; padding-bottom: 56px !important; gap: 28px; }
.t-body { font-size: 17px; }
.ranked, .paths, .archive, .desk { padding-top: 64px !important; padding-bottom: 64px !important; }
.news { padding-top: 64px !important; padding-bottom: 64px !important; }
.manifesto { padding-top: 72px !important; padding-bottom: 72px !important; }
.pod { padding-top: 56px !important; padding-bottom: 56px !important; gap: 36px; }
.pod-right { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
.pod-art { grid-column: 1; }
.pod-cover { width: 88px; height: 88px; }
.pod-play { grid-column: 1; justify-self: start; width: 56px; height: 56px; }
.pod-time { grid-column: 1; text-align: left; }
.pod-hosts { gap: 18px; flex-wrap: wrap; }
.pod-title { font-size: clamp(32px, 9vw, 44px); }
.pod-sub { font-size: 16px; }
.r-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 28px; }
.r-head h2 { font-size: clamp(30px, 8vw, 42px); }
.r-grid { grid-template-columns: 1fr; gap: 28px; }
.r-filters { padding: 14px 16px; gap: 18px; }
.p-grid, .a-grid { grid-template-columns: 1fr; gap: 22px; }
.p-card { padding: 28px 22px; }
.p-label { font-size: 24px; }
.p-n { font-size: 44px; }
.desk-grid { grid-template-columns: 1fr; gap: 32px; }
.desk-cover-col { position: static; max-width: 220px; }
.desk-title { font-size: 32px; }
.desk-intro { font-size: 16px; }
.desk-values { grid-template-columns: 1fr; gap: 12px; }
.desk-dl > div { grid-template-columns: 1fr; gap: 4px; padding: 8px 0; }
.news h2 { font-size: clamp(28px, 8vw, 40px); }
.news-body { font-size: 16px; }
.news-form { flex-direction: column; background: transparent; border: none; gap: 8px; }
.news-form input { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); padding: 12px 14px; border-radius: 6px; }
.news-form button { border-radius: 6px; padding: 12px 18px; }
.manifesto { padding-left: 20px !important; padding-right: 20px !important; }
.m-body { font-size: clamp(18px, 4.8vw, 22px); }
.foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 28px; }
.foot-bottom { font-size: 10px; gap: 10px; }
.foot-brand { font-size: 22px; }
/* --- Hero-cover (magazine home hero) ----------------------------- */
  .hero-cover { padding-top: 56px !important; padding-bottom: 56px !important; gap: 32px; }
.hc-stamp { width: 72px; height: 72px; top: -10px; right: -10px; }
.hc-stamp .s2 { font-size: 26px; }
.aff-chip-price { font-size: 10px; margin-left: auto; }
}

@media (max-width: 380px) {
.topnav { padding: 10px 14px; }
.topnav .brand { font-size: 12px; }
.topnav .brand .brand-name { font-size: 16px; }
.topnav .brand .brand-mark { height: 18px; }
.topnav .links { gap: 12px; font-size: 9px; }
.hero h1 { font-size: 38px; }
.page-head h1 { font-size: 40px; }
.entry .info h3 { font-size: 22px; }
.entry .rank-num { font-size: 38px; }
.entry .cover-slot { width: 108px; height: 108px; }
.chapter-body h2, .dsection-body > h2 { font-size: 26px; }
.vc-info h2 { font-size: 26px; }
}

@keyframes mfCwFade {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   PlaceInHistory (II½) — section styles
   ============================================================ */
.pih { display: flex; flex-direction: column; gap: 36px; }

.wdib-item-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  padding-left: 4px;
}

.wdib-item-links-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  margin-right: 4px;
}

.wdib-link {
  color: var(--ink);
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}

.wdib-link:hover { color: var(--accent); border-color: var(--accent); }

.wdib-link-sep { color: var(--ink-mute); }

/* WDIB — per-cover Listen rows (Original / Cover × Spotify/Apple/YouTube/Tidal) */
.wdib-listen {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  margin-left: 4px;
  background: rgba(255,255,255,0.45);
  border: 1px solid var(--rule);
  border-radius: 4px;
}

.wdib-listen-row {
  display: grid;
  grid-template-columns: 64px auto;
  gap: 14px;
  align-items: center;
}

.wdib-listen-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

@keyframes wdib-spin { to { transform: rotate(360deg); } }

.wdib-listen-svcs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.wdib-svc {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.wdib-svc:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.wdib-svc.sp:hover { background: #1DB954; border-color: #1DB954; color: #fff; }

.wdib-svc.am:hover { background: #FA243C; border-color: #FA243C; color: #fff; }

/* Toolbar becomes a compact stack of rows */
.toolbar { flex-direction: column; align-items: stretch; gap: 10px; padding-top: 12px; padding-bottom: 12px; }

.tb-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.tb-row--main { gap: 14px; }

.tb-row .right { margin-left: auto; display: flex; gap: 10px; align-items: center; }

.lp-filters { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* Search — minimal, ink underline, expands on focus */
.search-field {
  display: flex; align-items: center; gap: 8px;
  flex: 1 1 240px; max-width: 320px;
  border-bottom: 1px solid var(--rule);
  padding: 5px 2px; color: var(--ink-mute);
  transition: border-color 0.2s, max-width 0.25s ease, color 0.2s;
}

.search-field:focus-within { border-bottom-color: var(--ink); max-width: 460px; color: var(--ink); }

.search-ico { flex: none; opacity: 0.7; }

.search-input {
  flex: 1 1 auto; min-width: 0; border: none; background: transparent;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  color: var(--ink); text-transform: none;
}

.search-input::placeholder { color: var(--ink-mute); text-transform: none; letter-spacing: 0.04em; }

.search-input:focus { outline: none; }

.search-clear {
  flex: none; border: none; background: transparent; color: var(--ink-mute);
  font-size: 18px; line-height: 1; cursor: pointer; padding: 0 2px;
}

.search-clear:hover { color: var(--ink); }

/* Jump-to-range pills — always a single scrollable row */
.tb-row--jump { gap: 14px; flex-wrap: nowrap; }

.tb-row--jump > label { color: var(--ink-mute); flex: none; }

.range-pills {
  display: flex; gap: 8px; align-items: center;
  flex-wrap: nowrap; overflow-x: auto; min-width: 0;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding-bottom: 2px;
}

.range-pills::-webkit-scrollbar { display: none; }

.range-pill { white-space: nowrap; flex: none; }

.range-pill.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Vinyl commerce row in the side-stats column */
.entry .side .vinyl-buy {
  display: block; text-decoration: none; cursor: pointer;
  margin-bottom: 4px;
}

.entry .side .vinyl-buy b {
  display: flex; align-items: center; gap: 6px;
  font-weight: 400; font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-mute); margin-bottom: 3px;
}

.entry .side .vinyl-buy b svg { color: var(--ink-mute); transition: color 0.15s; }

.entry .side .vinyl-buy .vb-price {
  display: inline-block; font-family: var(--sans); font-size: 12px;
  font-weight: 600; color: var(--accent); letter-spacing: 0;
  border-bottom: 1px solid transparent; transition: border-color 0.15s;
}

.entry .side .vinyl-buy:hover .vb-price { border-bottom-color: var(--accent); }

.entry .side .vinyl-buy:hover b svg { color: var(--accent); }

/* Inline vinyl link — shown in the info actions on narrow screens only */
.info-actions { display: flex; gap: 20px; align-items: center; margin-top: 8px; flex-wrap: wrap; }

.info-len { font-size: 11px; color: var(--ink-mute); letter-spacing: 0.1em; text-transform: uppercase; }

.vinyl-buy.inline {
  display: none; align-items: center; gap: 7px; text-decoration: none;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-mute);
}

.vinyl-buy.inline svg { color: var(--ink-mute); }

.vinyl-buy.inline .vb-price {
  font-family: var(--sans); font-weight: 600; font-size: 12px;
  letter-spacing: 0; text-transform: none; color: var(--accent);
}

/* Own it / Wishlist actions */
.own-actions { display: flex; gap: 10px; align-items: center; margin-top: 14px; flex-wrap: wrap; }

.own-btn {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--rule); background: transparent; color: var(--ink);
  padding: 7px 13px; border-radius: 999px; cursor: pointer;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.13em;
  text-transform: uppercase; line-height: 1;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.own-btn svg { width: 13px; height: 13px; flex: none; }

.own-btn:hover { border-color: var(--ink); }

.own-btn.own.active {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}

.own-btn.own.active:hover { background: var(--ink); }

.own-btn.wish:hover { color: var(--accent); border-color: var(--accent); }

.own-btn.wish.active { color: var(--accent); border-color: var(--accent); }

.own-btn.wish.active svg { fill: var(--accent); stroke: var(--accent); }

/* Expandable blurb */
.blurb-wrap { margin: 0 0 6px; max-width: 54ch; }

.entry .info .blurb {
  margin: 0; max-height: 999px;
  overflow: hidden; transition: max-height 0.35s ease;
}

.entry .info .blurb.clipped {
  max-height: 3em; /* ~2 lines at line-height 1.5 */
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}

.entry .info .blurb.open { max-height: 40em; }

.blurb-toggle {
  margin-top: 4px; border: none; background: transparent; cursor: pointer;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-mute); padding: 2px 0;
}

.blurb-toggle:hover { color: var(--accent); }

/* Editorial interjections between rank tiers */
.interjection {
  display: flex; align-items: center; gap: 22px;
  padding: 26px 0; margin: 0;
}

.interjection::before, .interjection::after {
  content: ""; flex: 1 1 auto; height: 1px; background: var(--rule);
}

.interjection > span {
  flex: 0 1 auto; text-align: center; text-wrap: balance;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-mute); max-width: 60ch;
}

/* Directional progress bar */
.progress { flex-wrap: wrap; max-width: min(92vw, 720px); justify-content: center; }

.progress .next-unheard {
  border: none; background: transparent; color: var(--paper);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 0; cursor: pointer; opacity: 0.75;
  transition: opacity 0.15s, color 0.15s;
  border-left: 1px solid rgba(243,237,225,0.25); padding-left: 14px;
}

.progress .next-unheard b { font-weight: 600; color: var(--paper); }

.progress button.next-unheard:hover { opacity: 1; color: var(--accent); }

.progress button.next-unheard:hover b { color: var(--accent); }

.progress .next-unheard.done { cursor: default; opacity: 0.75; }

@media (max-width: 1100px) {
/* Side column is hidden at this width — surface the buy link inline instead */
  .vinyl-buy.inline { display: inline-flex; }
}

@media (max-width: 900px) {
.toolbar { padding: 10px 20px; gap: 10px; }
.tb-row { gap: 12px; }
.lp-filters { flex: 1 1 auto; }
.search-field { max-width: none; flex-basis: 100%; }
.search-field:focus-within { max-width: none; }
.interjection { padding: 20px 0; gap: 14px; }
.interjection > span { font-size: 10px; letter-spacing: 0.12em; }
.progress { gap: 10px 12px; padding: 10px 16px; }
.progress .next-unheard { border-left: none; padding-left: 0; }
}

/* Breadcrumb prev / next arrows */
.crumb-seq { display: inline-flex; gap: 6px; align-items: center; margin-left: 6px; }

.crumb-arrow {
  display: inline-flex; align-items: center; gap: 4px;
  border: 1px solid var(--rule); background: transparent; color: var(--ink-2);
  border-radius: 999px; padding: 4px 9px; cursor: pointer;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.crumb-arrow:hover:not(:disabled) { border-color: var(--ink); color: var(--ink); }

.crumb-arrow:disabled { opacity: 0.32; cursor: default; }

.buybar-price { font-weight: 700; }

/* Add-mode: the same floating bar, carrying <TodayAdd/> instead of a retailer CTA
   (components/AlbumExtras.jsx). The bar is a tight horizontal strip on a dark
   ground, so the add component's note is suppressed here — it has room to speak on
   /today and on the album page body, not in 36px of chrome. */
.buybar--add .tda { flex: 0 0 auto; margin-top: 0; gap: 0; }

.buybar--add .tda-note { display: none; }

.buybar--add .tda-err { display: none; }

.buybar--add .tda-btn {
  background: var(--accent); border-color: var(--accent); color: #fff;
  min-height: 36px; padding: 8px 14px; white-space: nowrap;
}

.buybar--add .tda-btn:hover { border-color: var(--accent); color: #fff; filter: brightness(1.08); }

.buybar--add .tda--done { color: var(--paper); margin-top: 0; white-space: nowrap; }

.buybar--add .tda--done .tda-note { display: inline; opacity: .6; }

.prompt-share {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  background: transparent; border: 1px solid var(--rule); border-radius: 999px;
  padding: 7px 13px; cursor: pointer;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-2); transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.prompt-share:hover { border-color: var(--accent); color: var(--accent); }

@keyframes emSlideUp { from { opacity: 0; transform: translate(-50%, 120%); } to { opacity: 1; transform: translate(-50%, 0); } }

@media (max-width: 768px) {
@keyframes emSlideUp { from { opacity: 0; transform: translateY(120%); } to { opacity: 1; transform: translateY(0); } }
}

@media (max-width: 640px) {
:root { --nav-h: 56px; }
}

@media (max-width: 380px) {
:root { --nav-h: 50px; }
}

@media (max-width: 1024px) {
:root { --crumb-h: 52px; }
}

@media (max-width: 760px) {
:root { --crumb-h: 0px; }
}

@media (min-width: 768px) and (max-width: 1180px) {
/* --- 1–100 list: stop the fixed 5-col grid from overlapping.
         Drop the wide 'side' column, give the cover a sane fixed
         width, let the title take the remaining space. --- */
  .entry {
    grid-template-columns: 84px 132px minmax(0, 1fr) 40px;
    gap: 22px;
  }
.entry .side { display: none; }
.entry .cover-slot { width: 132px; height: 132px; }
.entry .rank-num { font-size: 64px; }
.entry .info { min-width: 0; }
.entry .info h3 { font-size: 30px; }
}

/* Burger hidden on desktop by default */
.nav-burger {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; padding: 9px;
  flex-direction: column; justify-content: center; gap: 5px;
}

.nav-burger > span {
  display: block; height: 2px; width: 100%;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

body[data-dark] .nav-burger > span { background: var(--paper); }

@media (max-width: 960px) {
/* Show the burger, hide the inline links until opened.
     Raised from 820px now there are more nav links (added Leaderboards). */
  .nav-burger { display: flex; }
.topnav .links {
    position: fixed;
    top: 0; right: 0;
    width: min(82vw, 320px);
    height: 100vh; height: 100dvh;
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: flex-start;
    gap: 4px;
    padding: calc(env(safe-area-inset-top, 16px) + 72px) 28px 40px;
    background: var(--paper);
    border-left: 1px solid var(--rule);
    box-shadow: -20px 0 60px -20px rgba(0,0,0,0.4);
    transform: translateX(100%);
    /* Closed, the drawer is off screen AND out of the tab order: its links took
       eight Tab presses on a phone before the page itself (site QA, 14 Nov 2026).
       visibility waits for the slide to finish closing, and flips at once on open. */
    visibility: hidden;
    transition: transform 0.26s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.26s;
    overflow-y: auto;
    font-size: 15px !important;
    letter-spacing: 0.04em !important;
    z-index: 60;
  }
body[data-dark] .topnav .links { background: var(--ink); border-left-color: rgba(243,237,225,0.18); }
.topnav .links--open { transform: translateX(0); visibility: visible; transition: transform 0.26s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s; }
/* In the drawer the search control is a full-width row like every other link,
     so it gets its label back and the icon becomes a leading glyph. */
  .topnav .links .nav-search { display: flex; align-items: center; gap: 10px; }
.topnav .links .nav-search .nav-search-l {
    position: static; width: auto; height: auto; padding: 0; margin: 0;
    overflow: visible; clip: auto; white-space: normal;
  }
/* Backdrop over the exposed strip of page. Sits under the panel (z 60) and
     over everything else, so a tap outside closes and never reaches a link
     behind it. */
  .nav-backdrop {
    position: fixed; inset: 0; z-index: 55;
    background: color-mix(in oklab, var(--ink) 42%, transparent);
    animation: navBackdropIn 0.2s ease;
  }
@keyframes navBackdropIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
.nav-backdrop { animation: none; }
}
/* The floating feedback launcher was rendering on top of the open drawer.
     Same mechanism the first-record banner already uses, just hiding rather
     than lifting — there is nowhere on screen for it to go. */
  body.nav-locked .fbw { display: none; }
/* Each link becomes a full-width row */
  .topnav .links > a {
    width: 100%; padding: 14px 0;
    border-bottom: 1px solid var(--rule);
    opacity: 1; font-family: var(--sans); font-weight: 500;
  }
body[data-dark] .topnav .links > a { border-bottom-color: rgba(243,237,225,0.14); }
.topnav .links .nav-signin,
  .topnav .links .account-menu { margin-top: 18px; width: 100%; }
/* Account menu inside the mobile panel: render the dropdown inline as
     full-width rows instead of an absolute popover (which clipped/overlapped
     against the narrow slide-in panel). */
  .topnav .links .nav-acct { display: block; width: 100%; }
.topnav .links .nav-avatar { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.topnav .links .nav-menu {
    position: static; width: 100%; border: 0; box-shadow: none;
    background: transparent; animation: none; margin-top: 4px;
  }
body[data-dark] .topnav .links .nav-menu { background: transparent; }
.topnav .links .nav-menu-head { padding: 10px 0; }
.topnav .links .nav-menu a,
  .topnav .links .nav-menu button { padding: 12px 0; }
/* Burger morphs into an X when open */
  .nav-burger { position: relative; z-index: 65; }
.topnav--open .nav-burger > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.topnav--open .nav-burger > span:nth-child(2) { opacity: 0; }
.topnav--open .nav-burger > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Dim the page behind the open menu */
  .topnav--open::after {
    content: ""; position: fixed; inset: 0; z-index: 55;
    background: rgba(23,19,15,0.4);
  }
}

@media (min-width: 1101px) and (max-width: 1320px) {
.topnav .links { gap: 16px; }
}

@media (min-width: 961px) and (max-width: 1100px) {
.topnav { padding: 16px 24px; }
.topnav .links { gap: 13px; letter-spacing: 0.1em; }
}

/* Full width, its content centred by padding: the real homepage replaces it in
   the same element, which is full width, so a centred 1200px box jumped
   sideways when it arrived (360px on a 1920px screen; site QA, 25 Oct 2026). */
.home-skeleton { padding: 96px max(18px, calc((100% - 1164px) / 2)) 60px; }

.home-skel-hero { height: 320px; border-radius: 14px; background: var(--rule); opacity: .4; margin-bottom: 18px; }

.home-skel-band { height: 120px; border-radius: 12px; background: var(--rule); opacity: .3; margin-bottom: 14px; }

/* shared homepage bits */
.hd-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); display: inline-flex; align-items: center; gap: 8px; }

.hd-h { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.08; margin: 12px 0 10px; letter-spacing: -0.01em; }

.hd-sub { color: var(--ink-mute); font-size: 15px; line-height: 1.5; margin: 0 0 18px; max-width: 42ch; }

.hd-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; padding: 0 22px; border: 1px solid var(--ink); border-radius: 10px; background: #fff; color: var(--ink); font-family: var(--sans); font-size: 15px; font-weight: 600; cursor: pointer; }

.hd-cta-accent { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.hd-arrow { flex: none; }

.cur { color: var(--ink-mute); margin-right: .05em; }

/* ---- 50/50 hero ---- */
.hd-hero { display: flex; flex-direction: column; padding: calc(env(safe-area-inset-top, 0px) + 58px) 18px 28px; }

.hd-dash { margin-top: 18px; border: 1px solid var(--rule); border-radius: 12px; padding: 18px; background: #fff; }

.hd-dash-val { font-family: var(--sans); font-weight: 900; font-size: 40px; letter-spacing: -0.03em; line-height: 1; }

.hd-dash-cap { font-size: 12px; color: var(--ink-mute); margin: 4px 0 14px; }

.hd-connect { text-align: center; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--ink); padding: 18px 8px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: color-mix(in oklab, var(--accent) 6%, transparent); }

@media (min-width: 900px) {
.hd-hero { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "canon collection" "connect connect"; column-gap: 56px; max-width: 1200px; margin: 0 auto; padding: 124px 56px 8px; }
.hd-connect { grid-area: connect; margin-top: 28px; font-size: 19px; }
.hd-h { font-size: 36px; }
.hd-cta { width: auto; }
}

/* ---- this week's deep dive ---- */
.hd-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: hdpulse 2s infinite; }

@keyframes hdpulse { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 50%, transparent); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* --- card art: miniatures of the real panels -----------------------------
   Built to match the panels they depict, which are LIGHT (var(--paper) with a
   rule border) — not the dark hero dashboard. Fixed height so all six cards
   start their text on the same line; a ragged top edge across a 3x2 grid reads
   as a bug. The inner .ca-p is the panel itself, so the art is a card-inside-a-
   card exactly as the real UI nests. */
.ca-p { flex: 1; display: flex; flex-direction: column; gap: 7px; min-width: 0;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 6px; padding: 11px 12px; }

.ca-k { font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }

.ca-row { display: flex; align-items: center; gap: 9px; min-width: 0; }

.ca-row-top { justify-content: space-between; }

.ca-cv { width: 34px; height: 34px; flex: none; border-radius: 3px; object-fit: cover;
  background: linear-gradient(135deg, #241d18, #4a3b31); }

.ca-rowtext { min-width: 0; flex: 1; }

.ca-t { font-family: var(--serif); font-size: 13px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ca-s { font-size: 10.5px; color: var(--ink-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }

.ca-chip { font-family: var(--mono); font-size: 9.5px; font-weight: 600; flex: none;
  border: 1px solid var(--rule); border-radius: 3px; padding: 2px 5px; color: var(--ink); }

.ca-foot { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between;
  gap: 8px; border-top: 1px solid var(--rule); padding-top: 7px; font-size: 10.5px; color: var(--ink-mute); }

.ca-foot b { font-size: 12.5px; color: var(--ink); }

.ca-big { font-family: var(--serif); font-size: 21px; line-height: 1; }

.ca-up { color: #2f7d55; font-size: 10.5px; font-weight: 600; }

.ca-up-b { flex: none; font-size: 12px; }

.ca-spark { width: 100%; height: 26px; }

.ca-spark polyline { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.ca-ai { font-family: var(--mono); font-size: 9px; letter-spacing: .06em; color: var(--accent);
  border: 1px solid var(--accent); border-radius: 999px; padding: 1px 6px; flex: none; }

.ca-reveal { display: flex; align-items: center; gap: 9px; margin-top: auto; }

.ca-q { width: 38px; height: 38px; flex: none; border-radius: 3px; display: flex; align-items: center;
  justify-content: center; font-family: var(--serif); font-size: 17px; color: var(--paper);
  background: linear-gradient(135deg, #241d18, #4a3b31); }

.ca-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: auto; }

.ca-stat { border: 1px solid var(--rule); border-radius: 4px; padding: 6px 7px; background: #fff; min-width: 0; }

.ca-stat span { display: block; font-family: var(--mono); font-size: 8.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-mute); }

.ca-stat b { font-family: var(--serif); font-size: 13px; font-weight: 500; white-space: nowrap; }

.ca-doc { background: #fff; }

.ca-doc-h { font-family: var(--serif); font-size: 13px; }

.ca-doc-d { font-family: var(--mono); font-size: 9px; color: var(--ink-mute); margin-top: -4px; }

.ca-doc-rows { display: flex; flex-direction: column; gap: 5px; margin-top: 2px; }

.ca-doc-rows span { height: 3px; border-radius: 2px; background: var(--rule); }

.ca-doc-rows span:nth-child(2) { width: 82%; }

.ca-doc-rows span:nth-child(3) { width: 91%; }

.ca-doc-rows span:nth-child(4) { width: 64%; }

.ca-doc-total { border-top-color: var(--ink); }

/* Six text cards at three-up start crowding well before the 640px the rest of the
   showcase uses, so this grid gets a two-up step of its own first. */
.hd-cta-center { display: flex; width: auto; margin: 26px auto 0; max-width: 320px; }

.hd-closing-ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }

@media (min-width: 640px) {
.hd-closing-ctas { flex-direction: row; justify-content: center; }
.hd-closing-ctas .hd-cta { width: auto; }
}

/* ---- closing ---- */
.hd-closing { max-width: 900px; margin: 0 auto; padding: 20px 18px 70px; text-align: center; }

.hd-connect-closing { border: 0; background: none; font-size: 22px; margin-bottom: 8px; }

/* scroll-reveal */
.hd-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); }

.hd-reveal.in { opacity: 1; transform: none; }

/* richer type + connective */
.hd-h { font-size: 32px; }

@media (min-width: 900px) {
.hd-h { font-size: 40px; }
}

.hd-connect { font-size: 18px; letter-spacing: .01em; background: color-mix(in oklab, var(--accent) 9%, transparent); }

.hd-connect::before, .hd-connect::after { content: "\2014"; color: var(--accent); margin: 0 12px; opacity: .6; }

/* --- the dark, premium Collection panel (distinct from the light Canon) --- */
.hd-dash { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }

.hd-dash-val { color: #fff; text-shadow: 0 0 26px color-mix(in oklab, var(--accent) 55%, transparent); }

.hd-dash-cap { color: rgba(243,237,225,.55); }

/* staggered dot fill (gated on reveal) */

@keyframes hd-wipe { to { clip-path: inset(0 0 0 0); } }

/* depth + hover micro-interactions */
.hd-comm-card { box-shadow: 0 1px 0 rgba(0,0,0,.02); transition: transform .25s ease, box-shadow .25s ease; }

.hd-cta { transition: transform .16s ease, box-shadow .2s ease, background .16s ease, color .16s ease; }

.hd-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.14); }

.hd-arrow { transition: transform .18s ease; }

.hd-cta:hover .hd-arrow { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
.hd-reveal, .hd-reveal.in { opacity: 1; transform: none; transition: none; }
.hd-cta, .hd-comm-card { transition: none; }
}

/* prominent weekly signup band */
.hd-signup { max-width: 1100px; margin: 0 auto; padding: 16px 18px 42px; }

.hd-signup-inner { background: radial-gradient(120% 160% at 0% 0%, #241d15, #14110d); color: #f3ede1; border-radius: 18px; padding: 30px 24px; display: grid; gap: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.28); }

.hd-signup-h { font-family: var(--serif); font-weight: 400; font-size: 27px; margin: 8px 0; line-height: 1.1; }

.hd-signup-sub { color: rgba(243,237,225,.72); font-size: 15px; line-height: 1.5; margin: 0; }

.hd-signup .hd-eyebrow { color: color-mix(in oklab, var(--accent) 65%, #f3ede1); }

@media (min-width: 760px) {
.hd-signup-inner { grid-template-columns: 1.1fr 1fr; align-items: center; padding: 38px 42px; }
}

/* ===== Collection hero panel — richer mini dashboard (dark bg) ===== */
.hd-dash-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }

.hd-dash-delta { font-size: 12px; font-weight: 700; color: #7CFC9B; background: rgba(124,252,155,.14); padding: 3px 9px; border-radius: 20px; white-space: nowrap; }

.hd-hspark { position: relative; margin: 14px 0 16px; }

.hd-hspark svg { width: 100%; height: 52px; display: block; clip-path: inset(0 100% 0 0); }

.in .hd-hspark svg { animation: hd-wipe 1.1s .2s forwards; }

.hd-hspark-dot { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); transform: translate(-50%, -50%); opacity: 0; }

.in .hd-hspark-dot { animation: hd-fadein .4s 1.1s forwards; }

@keyframes hd-fadein { to { opacity: 1; } }

.hd-dash-prog-row { display: flex; justify-content: space-between; font-size: 12px; color: rgba(243,237,225,.6); margin-bottom: 6px; }

.hd-gbars { display: flex; flex-direction: column; gap: 7px; margin-top: 14px; }

.hd-gbar { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 8px; }

.hd-gbar-l { font-size: 11px; color: rgba(243,237,225,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.hd-gbar-t { height: 6px; background: rgba(255,255,255,.1); border-radius: 5px; overflow: hidden; }

.hd-gbar-t i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, color-mix(in oklab, var(--accent) 70%, #f3ede1), var(--accent)); border-radius: 5px; transition: width .9s cubic-bezier(.2,.7,.2,1) .35s; }

.in .hd-gbar-t i { width: var(--w); }

@media (prefers-reduced-motion: reduce) {
.hd-hspark svg { clip-path: none; animation: none; }
.hd-hspark-dot { opacity: 1; animation: none; }
.hd-gbar-t i { transition: none; width: var(--w); }
}

/* slim the weekly-signup banner (was bulky) */
.hd-signup { padding: 8px 18px 30px; }

.hd-signup-inner { padding: 22px 22px; }

@media (min-width: 760px) {
.hd-signup-inner { padding: 26px 38px; }
}

.hd-signup-h { font-size: 23px; margin: 4px 0 6px; }

.hd-signup-sub { font-size: 14px; }

/* Three shelf-metric cards in a row, then the leaderboard as a full-width
   feature so the competitive hook reads loud and clear. */
@keyframes hdlbbar { from { width: 0 !important; } }

/* ======================================================================
   Logged-in collector dashboard — command center + live standings
   A premium dark surface for the member home: greeting, value curve, canon
   ring, genre blend, highlight stats, then the live leaderboard standings.
   ====================================================================== */
.cm-hero, .cm-board {
  position: relative; max-width: 1100px; margin: 0 auto; overflow: hidden;
}

/* Hero: a light, paper-toned panel with a warm accent corner glow — keeps the
   dashboard bright and lively (the page now alternates light hero / dark board). */
.cm-hero {
  /* 96px was nav clearance from when this panel led the page. It follows the
     ticker tape now (HomeManifesto's member branch renders HdTicker directly
     above it), so all of it read as a blank band between the tape and the
     panel. 28px is the air a floating panel wants under a full-bleed strip. */
  margin-top: 28px; border-radius: 20px; padding: 30px 28px 26px;
  color: var(--ink);
  background: radial-gradient(135% 150% at 100% 0%, color-mix(in oklab, var(--accent) 11%, #fffdf8) 0%, #fbf8f1 58%);
  border: 1px solid color-mix(in oklab, var(--rule) 85%, transparent);
  box-shadow: 0 20px 50px -34px rgba(23,19,15,.4);
}

.cm-board {
  margin-top: 18px; border-radius: 18px; padding: 26px 26px 28px;
  color: #f3ede1;
  background: radial-gradient(140% 170% at 0% 0%, #2a2118 0%, #16120d 60%);
  box-shadow: 0 24px 56px -34px rgba(0,0,0,.55);
}

@media (max-width: 720px) {
.cm-hero { margin: 16px 12px 0; padding: 24px 18px 20px; border-radius: 16px; }
.cm-board { margin: 14px 12px 0; padding: 22px 18px 22px; border-radius: 16px; }
}

/* ambient accent glow in the top-right of each panel */
.cm-glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(110% 120% at 100% 0%, color-mix(in oklab, var(--accent) 24%, transparent), transparent 46%); }

/* hero already carries a warm corner in its own background — keep the overlay subtle */
.cm-hero .cm-glow { background: radial-gradient(120% 130% at 100% 0%, color-mix(in oklab, var(--accent) 9%, transparent), transparent 52%); }

.cm-eyebrow { position: relative; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; }

.cm-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 55%, transparent); animation: cm-pulse 2s infinite; }

@keyframes cm-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 55%, transparent); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.cm-hero-top { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }

.cm-hello { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 4.4vw, 40px); line-height: 1.04; margin: 9px 0 0; letter-spacing: -.01em; }

.cm-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.cm-btn { display: inline-flex; align-items: center; gap: 7px; font-family: var(--sans); font-size: 13px; font-weight: 700; padding: 11px 17px; border-radius: 11px; border: 0; cursor: pointer; transition: transform .16s ease, box-shadow .2s ease, background .15s ease; }

.cm-btn .hd-arrow { width: 15px; height: 15px; }

.cm-btn-accent { background: var(--accent); color: #fff; box-shadow: 0 10px 26px -8px color-mix(in oklab, var(--accent) 60%, transparent); }

.cm-btn-accent:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px color-mix(in oklab, var(--accent) 70%, transparent); }

.cm-btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--rule); }

.cm-btn-ghost:hover { background: var(--paper-2); }

/* dark board keeps the translucent-on-dark ghost button */
.cm-board .cm-btn-ghost { background: rgba(243,237,225,.07); color: #f3ede1; border: 1px solid rgba(243,237,225,.16); }

.cm-board .cm-btn-ghost:hover { background: rgba(243,237,225,.14); }

.cm-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 14px; }

@media (min-width: 760px) {
.cm-grid { grid-template-columns: 1.3fr 1fr 1.15fr; }
}

.cm-card { background: #fff; border: 1px solid var(--rule); border-radius: 14px; padding: 18px 18px 16px; display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(23,19,15,.02); }

.cm-card-k { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-mute); margin-bottom: 10px; }

.cm-card-donut { align-items: center; }

.cm-card-donut .cm-card-k { align-self: flex-start; }

.cm-value-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }

.cm-value { font-family: var(--sans); font-weight: 900; font-size: clamp(34px, 6vw, 46px); letter-spacing: -.03em; line-height: 1; }

.cm-value .cur { color: var(--ink-mute); font-size: .56em; font-weight: 800; margin-right: 2px; }

.cm-delta { font-size: 12px; font-weight: 700; color: oklch(0.5 0.13 150); background: color-mix(in oklab, oklch(0.5 0.13 150) 13%, transparent); padding: 3px 9px; border-radius: 20px; white-space: nowrap; }

.cm-delta small { opacity: .7; font-weight: 600; }

.cm-value-foot { font-size: 11.5px; color: var(--ink-mute); margin-top: auto; padding-top: 12px; }

.cm-spark { position: relative; margin: 14px 0 4px; }

.cm-spark svg { width: 100%; height: 60px; display: block; clip-path: inset(0 100% 0 0); }

.in .cm-spark svg { animation: hd-wipe 1.1s .2s forwards; }

.cm-spark-flat { height: 60px; margin: 14px 0 4px; border-bottom: 2px dashed var(--rule); }

.cm-spark-dot { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px color-mix(in oklab, var(--accent) 60%, transparent); transform: translate(-50%, -50%); opacity: 0; }

.in .cm-spark-dot { animation: hd-fadein .4s 1.1s forwards; }

/* genre donut */
.cm-donut-wrap { display: flex; align-items: center; gap: 16px; width: 100%; }

.cm-donut { width: 108px; height: 108px; flex: none; }

.cm-donut-track { fill: none; stroke: var(--rule); stroke-width: 13; }

.cm-donut-seg { fill: none; stroke-width: 13; }

.cm-donut-mid { fill: var(--ink); font-family: var(--sans); font-weight: 900; font-size: 24px; text-anchor: middle; }

.cm-donut-sub { fill: var(--ink-mute); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; text-anchor: middle; }

.cm-donut-legend { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; min-width: 0; flex: 1; }

.cm-donut-legend span { display: flex; align-items: center; gap: 8px; color: var(--ink-2); }

.cm-donut-legend i { width: 9px; height: 9px; border-radius: 2px; flex: none; }

.cm-donut-legend b { margin-left: auto; font-weight: 700; color: var(--ink); }

/* highlight stats row */
.cm-highlights { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 14px; }

@media (min-width: 760px) {
.cm-highlights { grid-template-columns: repeat(4, 1fr); }
}

.cm-hi { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 13px 14px; min-width: 0; }

.cm-hi-k { font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-mute); }

.cm-hi-v { font-family: var(--sans); font-weight: 800; font-size: 22px; letter-spacing: -.02em; margin-top: 5px; line-height: 1.12; }

.cm-hi-v-sm { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.cm-hi-meta { font-size: 11.5px; color: var(--ink-mute); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.cm-hi-jewel { border-color: color-mix(in oklab, var(--accent) 38%, var(--rule)); background: color-mix(in oklab, var(--accent) 7%, #fff); }

/* empty / onboarding state */
.cm-hero-empty { text-align: center; padding: 40px 26px; }

.cm-empty-inner { position: relative; max-width: 640px; margin: 0 auto; }

.cm-empty-sub { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; margin: 12px auto 22px; max-width: 56ch; }

.cm-hero-empty .cm-actions { justify-content: center; margin-bottom: 26px; }

.cm-empty-steps { display: grid; gap: 12px; text-align: left; }

@media (min-width: 680px) {
.cm-empty-steps { grid-template-columns: repeat(3, 1fr); }
}

.cm-step { display: flex; gap: 11px; align-items: flex-start; background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 13px; }

.cm-step-n { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: 12px; display: flex; align-items: center; justify-content: center; }

.cm-step b { display: block; font-size: 13.5px; }

.cm-step span { display: block; font-size: 12px; color: var(--ink-mute); margin-top: 2px; line-height: 1.4; }

/* ===== live standings board ===== */
.cm-board-head { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }

.cm-eyebrow-live { color: color-mix(in oklab, var(--accent) 72%, #f3ede1); }

.cm-board-h { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 8px 0 0; }

.cm-muted { color: rgba(243,237,225,.6); font-size: 14px; padding: 8px 2px; }

.cm-board-empty { position: relative; text-align: center; padding: 12px 0 4px; }

.cm-board-empty p { color: rgba(243,237,225,.8); font-size: 15px; margin: 0 0 14px; }

.cm-board-stat { position: relative; display: flex; align-items: center; gap: 16px; padding: 4px 2px 18px; }

.cm-rank-chip { display: flex; align-items: baseline; gap: 1px; font-family: var(--sans); font-weight: 900; line-height: 1; }

.cm-rank-hash { font-size: 22px; opacity: .5; }

.cm-rank-n { font-size: 52px; letter-spacing: -.04em; }

.cm-rank-of { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: rgba(243,237,225,.55); }

.cm-rank-climb { font-size: 16px; margin-top: 3px; }

.cm-rank-climb b { color: color-mix(in oklab, var(--accent) 78%, #f3ede1); font-weight: 700; }

.cm-rank-top { color: #f3ede1; }

.cm-board-rows { position: relative; display: flex; flex-direction: column; gap: 7px; }

.cm-row { display: flex; align-items: center; gap: 12px; width: 100%; cursor: pointer; text-align: left; padding: 10px 12px; border-radius: 11px; border: 1px solid transparent; background: rgba(243,237,225,.04); transition: background .15s ease; }

.cm-row:hover { background: rgba(243,237,225,.09); }

.cm-row.is-me { background: color-mix(in oklab, var(--accent) 18%, transparent); border-color: color-mix(in oklab, var(--accent) 45%, transparent); }

.cm-row-rank { flex: none; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; background: rgba(243,237,225,.12); color: #f3ede1; }

.cm-row-rank.m0 { background: #caa53d; color: #1a1a1a; }

.cm-row-rank.m1 { background: #c9c9c9; color: #1a1a1a; }

.cm-row-rank.m2 { background: #b87a45; color: #1a1a1a; }

.cm-row-name { flex: 0 0 26%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 600; }

.cm-row.is-me .cm-row-name { color: #fff; }

.cm-row-bar { flex: 1; height: 8px; border-radius: 6px; background: rgba(243,237,225,.1); overflow: hidden; }

.cm-row-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, color-mix(in oklab, var(--accent) 55%, #2a2016), var(--accent)); animation: hdlbbar .9s cubic-bezier(.2,.7,.2,1) backwards; }

.cm-row-val { flex: none; font-family: var(--sans); font-weight: 800; font-size: 14px; min-width: 70px; text-align: right; letter-spacing: -.02em; }

@media (max-width: 520px) {
.cm-row-name { flex-basis: 32%; }
.cm-board-head .cm-btn, .cm-hero-top .cm-actions { width: 100%; }
.cm-board-head .cm-btn { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
.cm-spark svg { clip-path: none; animation: none; }
.cm-spark-dot { opacity: 1; animation: none; }
.cm-row-bar i { animation: none; }
.cm-pulse { animation: none; }
}

/* ===========================================================
   Your-collection hero dash: feature-set detail upgrade.
   Adds a per-record mover row, a Collection DNA label + era/
   span note, and a leaderboard rank chip to the existing
   animated hd-dash, on the same dark hero surface and the same
   .in-triggered motion vocabulary. Append-only.
   =========================================================== */
.hd-dash-delta small { font-weight: 600; opacity: .7; font-size: 10px; }

/* biggest mover row (the per-record pulse) */
.hd-dash-mover {
  display: flex; align-items: center; gap: 10px;
  margin: 2px 0 16px; padding: 10px; border-radius: 9px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
}

.hd-dash-mover-cv {
  width: 34px; height: 34px; flex: none; border-radius: 4px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #241d18, #4a3b31);
}

.hd-dash-mover-cv::after {
  content: ""; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle, #0d0d0d 22%, #2c2c2c 24%, #2c2c2c 48%, #555 50%);
}

.hd-dash-mover-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.hd-dash-mover-k { font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: rgba(243,237,225,.5); }

.hd-dash-mover-t { font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.hd-dash-mover-move { font-family: var(--sans); font-weight: 800; font-size: 14px; color: #7CFC9B; white-space: nowrap; }

/* Collection DNA label + era/span read under the genre bars */
.hd-dash-dna-k { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: rgba(243,237,225,.5); margin-bottom: 9px; }

.hd-dash-dna-note { font-size: 11px; color: rgba(243,237,225,.62); margin-top: 11px; letter-spacing: .01em; }

/* leaderboard rank chip */
.hd-dash-rank {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 14px;
  font-size: 11px; font-weight: 600; letter-spacing: .02em; color: rgba(243,237,225,.78);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  padding: 5px 11px; border-radius: 20px;
}

/* share the hd-dash in-view motion vocabulary (staggered rise), motion-safe */
.hd-dash-mover, .hd-dash-dna-k, .hd-dash-dna-note, .hd-dash-rank { opacity: 0; }

.in .hd-dash-mover  { animation: hd-rise .5s cubic-bezier(.2,.7,.2,1) .55s forwards; }

.in .hd-dash-dna-k  { animation: hd-rise .5s cubic-bezier(.2,.7,.2,1) .7s forwards; }

.in .hd-dash-dna-note { animation: hd-rise .5s cubic-bezier(.2,.7,.2,1) 1.15s forwards; }

.in .hd-dash-rank   { animation: hd-rise .5s cubic-bezier(.2,.7,.2,1) 1.3s forwards; }

@keyframes hd-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
.hd-dash-mover, .hd-dash-dna-k, .hd-dash-dna-note, .hd-dash-rank { opacity: 1; animation: none; }
}

@media (min-width: 900px) {
.hd-hero-solo {
    grid-template-columns: 1fr;
    grid-template-areas: "collection";
    max-width: 1060px;
    padding-top: 112px;
    padding-bottom: 24px;
  }
.hd-hero-solo .hd-terminal-copy { align-self: center; }
.hd-hero-solo .hd-terminal-copy .hd-h { font-size: 44px; line-height: 1.03; }
.hd-hero-solo .hd-terminal-copy .hd-sub { max-width: 36ch; }
.hd-hero-solo .hd-dash { margin-top: 0; }
}

/* ---- price ticker directly below the fixed nav ------------------------- */
.hd-ticker {
  position: relative; z-index: 1;
  /* No tuck. Every surface that leads with this tape now clears the nav by the
     MEASURED --nav-h, so margin 0 puts the tape's top edge exactly on the nav's
     bottom border — that border stays the single divider, with no gap and
     nothing hidden behind the bar. The old -19px cancelled a hardcoded 80px
     clearance; both numbers drifted from a bar that is 68-73px in practice. */
  margin-top: 0;
  border-bottom: 1px solid var(--rule);
  background: color-mix(in oklab, var(--accent) 5%, var(--paper));
  overflow: hidden; white-space: nowrap;
}

.hd-ticker-track {
  display: inline-block; padding: 8px 0;
  font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-2);
  animation: hd-ticker 44s linear infinite; will-change: transform;
}

.hd-tk { margin: 0 20px; }

.hd-tk-sym { color: var(--ink); font-weight: 600; }

.hd-ticker .up { color: #1f7a44; }

.hd-ticker .down { color: var(--accent); }

@keyframes hd-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
.hd-ticker-track { animation: none; }
}

@media (max-width: 640px) {
/* Smaller, tighter tape on phones — it's an ambient strip, not a headline. */
  .hd-ticker-track { font-size: 9px; letter-spacing: .03em; padding: 5px 0; }
.hd-tk { margin: 0 12px; }
}

/* ---- warm hero shell (drops the harsh black) --------------------------- */
.hd-hero-terminal {
  position: relative; overflow: hidden;
  padding-top: 26px; padding-bottom: 30px;
  background:
    radial-gradient(120% 88% at 90% -12%, color-mix(in oklab, var(--accent) 18%, var(--paper)) 0%, transparent 56%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}

.hd-hero-terminal .hd-terminal-inner { position: relative; z-index: 1; }

.hd-hero-terminal .hd-eyebrow { color: var(--accent); }

.hd-hero-terminal .hd-h { color: var(--ink); }

.hd-hero-terminal .hd-sub { color: var(--ink-2); }

.hd-hero-terminal .hd-cta-accent {
  background: var(--accent); color: #fff; border-color: var(--accent);
  box-shadow: 0 12px 28px color-mix(in oklab, var(--accent) 42%, transparent);
}

.hd-terminal-note { font-family: var(--mono); font-size: 11px; letter-spacing: .02em; color: var(--ink-mute); margin-top: 12px; }

/* ---- stage: album-cover fan + the terminal dash ------------------------ */
.hd-terminal-stage { position: relative; margin-top: 22px; }

.hd-cover-fan { display: none; }

/* the dash becomes a self-contained dark terminal panel that pops on paper */
.hd-hero-terminal .hd-dash {
  position: relative; z-index: 2; border-radius: 16px; padding: 20px;
  background: linear-gradient(180deg, #241b12 0%, #16100a 100%);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 70px rgba(23,19,15,.34);
}

/* "Example collection" — the panel's figures are illustrative, and until this
   nothing on the homepage said so (the same panel on /collection has always
   carried its caption). Quiet on purpose: it has to be readable, not compete
   with the £1,240 directly beneath it. */
.hd-dash-tag {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(243,237,225,.5);
  margin-bottom: 12px;
}

/* real cover art in the mover row */
.hd-dash-mover-cv { object-fit: cover; background: #241d18; }

.hd-dash-mover-cv::after { content: none; }

@media (min-width: 900px) {
.hd-hero-terminal { padding-top: 40px; }
.hd-hero-terminal .hd-terminal-inner {
    display: grid; grid-template-columns: 1.04fr 0.96fr; align-items: center;
    gap: 56px; max-width: 1080px; margin: 0 auto;
  }
.hd-hero-terminal .hd-terminal-copy { align-self: center; }
.hd-terminal-stage { margin-top: 0; }
/* cover fan: three real covers, tilted, peeking around the dash */
  .hd-cover-fan { display: block; position: absolute; inset: -22px -18px -22px -26px; z-index: 0; pointer-events: none; }
.hd-cover-fan img {
    position: absolute; width: 172px; aspect-ratio: 1; object-fit: cover; border-radius: 9px;
    box-shadow: 0 22px 50px rgba(23,19,15,.30); transform: rotate(var(--r));
    animation: hd-float 7.5s ease-in-out infinite;
  }
.hd-cover-fan img:nth-child(1) { --r: -9deg; left: -14px; top: 6px; }
.hd-cover-fan img:nth-child(2) { --r: 7deg; right: -10px; top: -10px; animation-delay: -2.4s; }
.hd-cover-fan img:nth-child(3) { --r: -3deg; left: 46px; bottom: -18px; animation-delay: -4.8s; }
}

@keyframes hd-float { 0%, 100% { transform: translateY(0) rotate(var(--r)); } 50% { transform: translateY(-9px) rotate(var(--r)); } }

@media (prefers-reduced-motion: reduce) {
.hd-cover-fan img { animation: none; }
}

/* Ranked-list add failure toast. The collection add is a real network write, so
   a failure has to be visible rather than closing the sheet silently. */
.lp-add-err {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 24px; z-index: 10000;
  display: flex; align-items: center; gap: 12px;
  max-width: min(560px, calc(100vw - 32px));
  padding: 12px 14px; border-radius: 10px;
  background: oklch(0.42 0.12 28); color: oklch(0.98 0.01 90);
  font-size: 14px; line-height: 1.45; box-shadow: 0 8px 28px rgba(0,0,0,0.28);
}

.lp-add-err button {
  flex: none; min-width: 44px; min-height: 44px;
  background: none; border: 0; color: inherit; font-size: 22px; line-height: 1; cursor: pointer;
}

/* ===========================================================================
   Nav accessibility. The top-level items and the account menu were href-less
   <a> and clickable <div>s: unfocusable, announced as plain text, and with no
   pointer cursor. They are now real links and buttons, which needs the element
   defaults neutralised and proper focus + touch affordances.
   =========================================================================== */
.topnav .brand,
.topnav .links > a { cursor: pointer; text-decoration: none; color: inherit; }

/* 11px uppercase with no padding gave ~11px tall targets. Pad to a comfortable
   hit area without moving the visual baseline (the flex row centres them). */
.topnav .links > a { padding: 10px 2px; }

/* Nav search. On the desktop bar it is the icon alone — the row already carries
   seven word labels and an eighth would crowd it — with the label kept in the DOM
   for screen readers rather than dropped. The drawer restores it (see the
   max-width rule further down). */
.nav-search { display: inline-flex; align-items: center; gap: 7px; }

.nav-search svg { display: block; }

.nav-search .nav-search-l {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* The account trigger is a <button> now — strip the UA chrome. */
.topnav .nav-avatar {
  background: none; border: 0; margin: 0; padding: 0; font: inherit; color: inherit;
  cursor: pointer; display: flex; align-items: center; gap: 8px;
}

/* Sign out is a <button> so it can be reached by keyboard. Strip the UA chrome
   only — font, colour, padding and gap come from the .nav-menu row rules in
   collection.css, and `font: inherit` here used to out-specify them. */
.nav-menu .signout {
  background: none; border: 0; cursor: pointer;
  width: 100%; text-align: left;
}

/* Visible keyboard focus. Without this the new focusability would be invisible. */
.topnav .brand:focus-visible,
.topnav .links > a:focus-visible,
.topnav .nav-avatar:focus-visible,
.topnav .nav-burger:focus-visible,
.nav-menu a:focus-visible,
.nav-menu .signout:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
  opacity: 1;
}

@media (max-width: 860px) {
.topnav .links > a { padding: 14px 0; min-height: 44px; display: flex; align-items: center; }
.topnav .nav-burger { min-width: 44px; min-height: 44px; }
.nav-menu a, .nav-menu .signout { min-height: 44px; }
}

/* Clears the fixed .topnav (position:fixed, 77px, z-index 50). As the first
   element on the homepage the card sat underneath it, hiding the kicker and the
   title. Same construction as .countdown-page: nav height plus the notched-iOS
   safe-area term. */
.td { border-bottom: 1px solid var(--rule); background: var(--paper-2);
  padding-top: calc(var(--nav-h) + max(0px, env(safe-area-inset-top, 0px) - 12px)); }

/* Third column is the streak badge (auto, so it collapses to nothing when there is
   no streak to show and the card keeps its original two-column proportions). */
.td-inner { max-width: var(--content-w); margin: 0 auto; padding: 16px 40px;
  display: grid; grid-template-columns: 112px 1fr auto; gap: 22px; align-items: start; }

.td-media img { display: block; width: 112px; height: 112px; object-fit: cover;
  border: 1px solid var(--rule); background: var(--paper); }

.td-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }

/* Set in the muted ink rather than the accent: it is a qualifier on the kicker,
   not a second label, and in accent it read as one. */
.td-kicker-note { color: var(--ink-2); letter-spacing: 0.1em; }

/* The visit streak. Previously a mono fragment appended to the kicker, i.e. the
   smallest type on the card — for the one mechanic here that rewards showing up.
   Now a bordered block with the count set in the display serif, so it carries
   without competing with the album title beside it. */
.td-streak { align-self: center; text-align: center; min-width: 150px; padding: 15px 18px;
  border: 1px solid var(--accent);
  background: color-mix(in oklab, var(--accent) 7%, var(--paper)); }

.td-streak-n { font-family: var(--serif); font-weight: 400; font-size: 42px; line-height: 1;
  letter-spacing: -0.02em; color: var(--accent); }

.td-streak-l { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-2); margin-top: 7px; }

.td-streak-nudge { font-family: var(--mono); font-size: 10px; line-height: 1.45;
  letter-spacing: 0.02em; color: var(--ink-2); margin-top: 10px; max-width: 17ch;
  margin-left: auto; margin-right: auto; }

/* Signed-out: an offer, not an achievement. Muted rule border and flat paper
   instead of the accent border + accent tint, and no numeral at all, so an earned
   streak stays the thing that looks earned. */
.td-streak--invite { border-color: var(--rule); background: var(--paper); }

.td-streak--invite .td-streak-l { margin-top: 0; color: var(--ink); }

.td-streak--invite .td-streak-nudge { max-width: 19ch; }

.td-streak-cta { margin-top: 11px; padding: 8px 13px; min-height: 44px; cursor: pointer;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.05em; }

.td-streak-cta:hover { background: var(--ink); color: var(--paper); }

.td-h { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.4vw, 31px);
  line-height: 1.08; letter-spacing: -0.01em; margin: 0; }

.td-rank { font-family: var(--mono); font-size: 0.6em; letter-spacing: 0.04em;
  color: var(--ink-2); vertical-align: 0.25em; margin-right: 4px; }

.td-artist { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-2); margin-top: 6px; }

/* Two lines, as on a phone. This is the hook, not the paragraph — the whole
   essay is one tap away behind the button directly beneath it, and at 62ch the
   longer blurbs ran to three. */
.td-hook { font-family: var(--body-serif); font-size: 15.5px; line-height: 1.5;
  color: var(--ink-2); margin: 10px 0 0; max-width: 62ch;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; }

/* Read-the-case and add-to-shelf side by side. Stacked they were two 44px rows
   plus their margins; on one line the card gives back ~55px at every width, and
   the two asks read as the pair they are. Wraps on its own when the labels are
   too long for the column. */
.td-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  margin-top: 12px; }

.td-actions .td-cta, .td-actions .tda { margin-top: 0; }

/* display:contents so the add button is a sibling of .td-cta and the two share
   the row. Left nested, the .tda box's own hypothetical width is its caption's —
   long enough to force a wrap even where the two buttons plainly fit, which is
   what stacked them at every width between 720 and ~1000px. Not applied to
   .tda--done, which is a styled box in its own right rather than a button plus a
   caption. */
.td-actions .tda:not(.tda--done) { display: contents; }

.td-cta { display: inline-block; margin-top: 14px; padding: 10px 18px; min-height: 44px;
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; cursor: pointer; }

.td-cta:hover { background: var(--accent); border-color: var(--accent); }

@media (min-width: 901px) {
.td-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto);
    column-gap: 24px; align-items: center; }
.td-kicker { grid-column: 1 / -1; grid-row: 1; }
.td-head { grid-column: 1; grid-row: 2;
    display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 12px; }
.td-head .td-artist { margin-top: 0; }
/* Capped so the owned state's sentence wraps inside this cell instead of
     setting a max-content width that would starve the title beside it. The two
     buttons need 353px of it. */
  .td-actions { grid-column: 2; grid-row: 2; margin-top: 0; max-width: 380px; }
/* The 62ch measure was set when this sat in a column beside the cover; on the
     full width it only makes the clamp bite sooner. 80ch is long for body copy
     and right for a two-line hook — most blurbs now land inside it whole, with
     no ellipsis at all. */
  .td-hook { grid-column: 1 / -1; grid-row: 3; margin-top: 6px; max-width: 80ch; }
/* Same reasoning as the phone: the caption is a third line of mono explaining a
     button whose own result state explains it better. Not on .tda--done, where
     that text IS the result. */
  .td-actions .tda:not(.tda--done) .tda-note { display: none; }
}

@media (max-width: 900px) {
.td-kicker-note { display: none; }
}

@media (max-width: 720px) {
/* The grid is dropped for a float at phone width. As a two-column grid every
     line of this card — hook, buttons, small print — was set in a column ~100px
     narrower than the screen, purely to keep a gutter beside a cover only the
     first two lines sit next to. Floating the cover gives that width back to the
     copy, which is most of why the card ran to ~70% of the viewport. */
  .td-inner { display: block; padding: 12px 20px; }
.td-media { float: left; margin: 2px 13px 4px 0; }
.td-media img { width: 60px; height: 60px; }
.td-kicker { font-size: 10px; letter-spacing: 0.16em; margin-bottom: 4px; }
.td-h { font-size: 21px; }
.td-artist { font-size: 10.5px; margin-top: 3px; }
/* clear:left costs nothing here: kicker + title + artist are already taller
     than the 60px cover. The two-line clamp is inherited from the base rule. */
  .td-hook { clear: left; font-size: 14.5px; line-height: 1.45; margin-top: 8px; }
.td-actions { clear: both; margin-top: 10px; gap: 8px 10px; }
/* Tightened so both labels fit one 375px row; below that they wrap as before. */
  .td-cta { padding: 10px 12px; font-size: 11px; letter-spacing: 0.04em; }
.td-actions .tda-btn { padding: 10px 12px; font-size: 11px; }
/* The caption under the add button goes at phone width — two more lines of mono
     to say something the button's own result state says better: tapping it turns
     the row into "On your shelf. Saved to this device — create an account and it
     comes with you", at the moment that actually matters. Scoped off .tda--done
     for exactly that reason — the note there IS that sentence, not a caption, and
     hiding it too left a bare "On your shelf." The error is not small print and
     stays. */
  .td-actions .tda:not(.tda--done) .tda-note { display: none; }
.td-actions .tda-err { flex: 1 1 100%; margin-top: -2px; }
/* The owned state is a sentence, not a button: give it the row under the CTA
     rather than the sliver left beside it. */
  .td-actions .tda--done { flex: 1 1 100%; }
/* The badge takes its own full-width row under the card rather than squeezing
     the title into a sliver. Laid out on one line — count, label, nudge —
     because a 150px-tall block stacked here would push the CTA below the fold. */
  .td-streak { margin-top: 12px; clear: both; min-width: 0; padding: 10px 12px;
    display: flex; align-items: center; gap: 10px; text-align: left; }
.td-streak-n { font-size: 26px; }
.td-streak-l { margin-top: 0; }
.td-streak-nudge { margin: 0 0 0 auto; max-width: 20ch; text-align: right; }
/* The invite has no numeral to anchor a three-part row, so it is a grid rather
     than the badge's single line: label over sentence on the left, the button
     taking the full height of both on the right. Stacked — copy on one row, button
     beneath — this block ran to 105px against the earned badge's 51, so the offer
     was twice the size of the reward it offers. The 44px button now sets the
     height and nothing else does. */
  .td-streak--invite { display: grid; grid-template-columns: 1fr auto;
    gap: 3px 12px; align-items: center; }
.td-streak--invite .td-streak-l { grid-column: 1; grid-row: 1; }
.td-streak--invite .td-streak-nudge { grid-column: 1; grid-row: 2;
    margin: 0; max-width: none; text-align: left; }
.td-streak--invite .td-streak-cta { grid-column: 2; grid-row: 1 / 3; }
.td-streak-cta { margin-top: 0; padding: 7px 12px; flex: 0 0 auto; }
}

/* ===========================================================
   /today — the daily destination (components/TodayPage.jsx)
   Shares the TodayCard vocabulary but laid out as a page, not a strip.
   =========================================================== */
.tdp { padding-top: calc(var(--nav-h) + max(0px, env(safe-area-inset-top, 0px) - 12px)); }

.tdp-inner { max-width: var(--content-w); margin: 0 auto; padding: 30px 40px 64px; }

.tdp-crumb { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-2); margin-bottom: 22px; }

.tdp-crumb a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--rule); }

.tdp-crumb a:hover { color: var(--accent); }

.tdp-head { border-bottom: 1px solid var(--rule); padding-bottom: 24px; }

.tdp-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); }

.tdp-date { color: var(--ink-2); }

.tdp-title { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 4vw, 46px);
  line-height: 1.04; letter-spacing: -0.015em; margin: 12px 0 0; max-width: 24ch; }

.tdp-standfirst { font-family: var(--body-serif); font-size: 17px; line-height: 1.55;
  color: var(--ink-2); margin: 14px 0 0; max-width: 62ch; }

.tdp-pick { display: grid; grid-template-columns: 320px 1fr; gap: 44px;
  align-items: start; padding: 34px 0; border-bottom: 1px solid var(--rule); }

.tdp-cover img { display: block; width: 320px; height: 320px; object-fit: cover;
  border: 1px solid var(--rule); background: var(--paper-2); }

.tdp-rank { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-2); }

.tdp-album { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.06; letter-spacing: -0.015em; margin: 8px 0 0; }

.tdp-artist { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-2); margin-top: 8px; }

.tdp-hook { font-family: var(--body-serif); font-size: 16.5px; line-height: 1.55;
  color: var(--ink-2); margin: 16px 0 0; max-width: 58ch; }

.tdp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.tdp-cta, .tdp-cta2 { padding: 12px 20px; min-height: 44px; cursor: pointer;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; }

.tdp-cta { border: 1px solid var(--ink); background: var(--ink); color: var(--paper); }

.tdp-cta:hover { background: var(--accent); border-color: var(--accent); }

.tdp-cta2 { border: 1px solid var(--rule); background: transparent; color: var(--ink); }

.tdp-cta2:hover { border-color: var(--ink); }

.tdp-streak { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em;
  color: var(--ink-2); margin-top: 18px; }

/* Daily-email ask, directly under the record it describes. Set on the dark
   ground so it reads as the page's one offer rather than another grey card. */
.tdp-signup {
  margin-top: 40px; padding: 28px 30px;
  background: var(--ink); color: var(--paper);
  display: grid; grid-template-columns: 1fr minmax(300px, 420px);
  gap: 24px 40px; align-items: center;
}

.tdp-signup-h {
  font-family: var(--display-serif, var(--body-serif)); font-weight: 400;
  font-size: 25px; line-height: 1.15; letter-spacing: -0.01em;
  margin: 0; color: var(--paper); text-wrap: balance;
}

.tdp-signup-p {
  font-family: var(--body-serif); font-size: 14.5px; line-height: 1.6;
  margin: 10px 0 0; color: rgba(243,237,225,0.7); max-width: 46ch;
}

.tdp-signup .nl-banner { margin: 0; padding: 0; border: 0; background: none; border-radius: 0; }

.tdp-signup .nl-input {
  background: rgba(243,237,225,0.06); border-color: rgba(243,237,225,0.28); color: var(--paper);
}

.tdp-signup .nl-input::placeholder { color: rgba(243,237,225,0.45); }

.tdp-signup .nl-input:focus { border-color: var(--accent); background: rgba(243,237,225,0.1); }

.tdp-signup .nl-btn { background: var(--accent); border-color: var(--accent); color: var(--paper); }

.tdp-signup .nl-btn:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

.tdp-signup .nl-foot { color: rgba(243,237,225,0.45); }

.tdp-signup .nl-err { color: #f0a99b; text-transform: none; }

.tdp-signup .nl-done {
  background: rgba(243,237,225,0.06); border-color: rgba(243,237,225,0.2);
  justify-content: flex-start;
}

.tdp-signup .nl-done-text, .tdp-signup .nl-done-title { color: var(--paper); }

.tdp-signup .nl-done-note { color: rgba(243,237,225,0.7); }

@media (max-width: 760px) {
.tdp-signup { grid-template-columns: 1fr; padding: 24px 20px; gap: 18px; }
.tdp-signup-h { font-size: 21px; }
}

.tdp-recent { padding-top: 30px; }

.tdp-recent-h { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-2); font-weight: 400; margin: 0 0 16px; }

.tdp-recent-list { list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.tdp-recent-list a { display: block; text-decoration: none; color: inherit; }

.tdp-recent-list img { display: block; width: 64px; height: 64px; object-fit: cover;
  border: 1px solid var(--rule); background: var(--paper-2); margin-bottom: 10px; }

.tdp-recent-when { display: block; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }

.tdp-recent-title { display: block; font-family: var(--serif); font-size: 17px;
  line-height: 1.2; margin-top: 4px; }

.tdp-recent-list a:hover .tdp-recent-title { color: var(--accent); }

.tdp-recent-artist { display: block; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); margin-top: 4px; }

@media (max-width: 900px) {
.tdp-pick { grid-template-columns: 1fr; gap: 24px; }
.tdp-cover img { width: 100%; height: auto; max-width: 320px; aspect-ratio: 1; }
.tdp-recent-list { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media (max-width: 720px) {
.tdp-inner { padding: 22px 20px 48px; }
}

/* ===========================================================
   PushOptIn (components/PushOptIn.jsx) — the notification ask.
   Two variants: a dismissible card on /today, a row in account settings.
   =========================================================== */
.po-card { display: flex; flex-wrap: wrap; gap: 18px; align-items: center;
  justify-content: space-between; margin: 26px 0 0; padding: 16px 18px;
  border: 1px solid var(--rule); background: var(--paper-2); border-radius: 10px; }

.po-card-text { flex: 1 1 300px; }

.po-card-h { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink); }

.po-card-sub { font-family: var(--body-serif); font-size: 15px; line-height: 1.5;
  color: var(--ink-2); margin: 8px 0 0; max-width: 56ch; }

.po-card-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.po-row { display: flex; gap: 18px; align-items: center; justify-content: space-between;
  padding: 16px 0; border-bottom: 1px solid var(--rule); flex-wrap: wrap; }

.po-row-text { flex: 1 1 280px; }

.po-row-h { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink); }

.po-row-sub { font-family: var(--body-serif); font-size: 14.5px; line-height: 1.5;
  color: var(--ink-2); margin-top: 6px; max-width: 60ch; }

.po-btn { padding: 11px 18px; min-height: 44px; cursor: pointer; white-space: nowrap;
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; }

.po-btn:hover { background: var(--accent); border-color: var(--accent); }

.po-btn--off { background: transparent; color: var(--ink); border-color: var(--rule); }

.po-btn--off:hover { background: transparent; color: var(--ink); border-color: var(--ink); }

.po-skip { padding: 11px 12px; min-height: 44px; cursor: pointer; background: none;
  border: 0; color: var(--ink-2); text-decoration: underline;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; }

.po-err { font-family: var(--mono); font-size: 11.5px; line-height: 1.45;
  color: #a8422a; margin-top: 8px; }

/* ===========================================================
   TodayCard → ticker seam.
   .manifesto-home carries padding-top purely to clear the fixed nav, because it
   used to be the first thing on the page. The Album of the Day card now sits
   above it and does that job itself (.td carries the same --nav-h clearance), so
   that clearance would be dead paper between the bottom of the card and the tape
   — a full nav height of it.
   The tape has no top border: it takes the border of whatever sits above it as
   its divider, the nav's or the card's. Zeroing the clearance here puts it
   directly under the card's border-bottom, which is the seam we want.
   Scoped to the sibling combinator on purpose: on any page where the card is
   absent (it renders only on the home route, and only once TodayCard.jsx has
   loaded) .manifesto-home keeps its nav clearance and the ticker does not end
   up behind the nav.
   =========================================================== */
.td ~ .stage .manifesto-home { padding-top: 0; }

/* ===========================================================
   TodayCard in its phone position (.hd-today-slot).
   On a phone, logged out, the card moves below the collector's terminal and the
   ticker — see the ordering note in HomeManifesto.jsx. Both rules above stop
   applying there, on purpose and correctly: .td is no longer a sibling
   preceding .stage, so .manifesto-home keeps its own nav clearance for the hero
   that now leads the page.
   Two things the card carried as the page's first element have to be undone in
   this position:
   - padding-top. That was nav clearance (66px + notch). Mid-page it is 66px of
     dead paper between the tape and the cover art.
   - the seam above it. .hd-ticker deliberately has no border-top (it tucks under
     whatever border sits above it, the nav's or the card's). Following the hero
     it has no border to tuck under, so it needs its own — otherwise the tape
     bleeds out of the hero gradient with no divider.
   Both are scoped so nothing on the desktop arrangement, or on any other
   surface reusing window.HdTicker, can see them.
   =========================================================== */
.hd-today-slot .td { padding-top: 0; }

.hd-hero-terminal + .hd-ticker { border-top: 1px solid var(--rule); }

/* ===========================================================
   TodayAdd (components/TodayCard.jsx) — one-tap "add today's record".
   The ask that belongs on the Album of the Day surface: a guest can add 25
   records before an account is needed and they migrate on signup, so this
   costs nothing and feeds activation. It replaced a third email field.
   =========================================================== */
.tda { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 12px; }

.tda--compact { margin-top: 10px; }

.tda-btn { padding: 10px 16px; min-height: 44px; cursor: pointer; white-space: nowrap;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; }

.tda-btn:hover { border-color: var(--accent); color: var(--accent); }

.tda-btn[disabled] { opacity: 0.6; cursor: default; }

.tda-note { font-family: var(--mono); font-size: 11px; letter-spacing: 0.03em;
  color: var(--ink-2); }

.tda-err { font-family: var(--mono); font-size: 11px; letter-spacing: 0.03em; color: #a8422a; }

/* nowrap: the sentence beside the tick is longer than any column this appears in,
   and with the inherited flex-wrap it broke to its own line, leaving the ✓ alone
   on the one above. Without the wrap the span shrinks and the text wraps inside
   it, which is what was wanted. */
.tda--done { flex-wrap: nowrap; align-items: baseline;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.03em;
  color: var(--ink-2); align-items: baseline; }

.tda-tick { color: #2f7d4f; font-weight: 700; }

@media (max-width: 640px) {
.tsb { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--ink); border-top: 2px solid var(--accent);
    box-shadow: 0 -10px 30px -18px rgba(0,0,0,.7);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    animation: tsb-in .3s cubic-bezier(.2,.8,.2,1); }
.tsb-in { display: flex; align-items: center; gap: 12px; padding: 10px 16px; }
.tsb-cover { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 3px;
    object-fit: cover; background: var(--rule); }
/* The button carries the bar; its note drops underneath as one quiet line. */
  .tsb .tda { flex: 1 1 auto; margin-top: 0; gap: 2px 10px; min-width: 0; }
.tsb .tda-btn { flex: 1 1 100%; width: 100%; justify-content: center;
    background: var(--accent); border-color: var(--accent); color: #fff; }
.tsb .tda-btn:hover { border-color: var(--accent); color: #fff; }
.tsb .tda-note, .tsb .tda-err { flex: 1 1 100%; color: var(--paper);
    opacity: .62; font-size: 10px; line-height: 1.35; }
/* The ✓ receipt after adding from the bar — legible on the dark ground. */
  .tsb .tda--done { color: var(--paper); margin-top: 0; }
.tsb .tda--done .tda-note { opacity: .62; }
/* Lift the floating feedback launcher clear of the bar, exactly as .frb does. */
  body.tsb-active .fbw { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}

@keyframes tsb-in { from { transform: translateY(100%); } to { transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
.tsb { animation: none; }
}

@media (pointer: coarse) {
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
  select, textarea { font-size: 16px !important; min-width: 0; max-width: 100%; }
}

@media (orientation: landscape) and (max-height: 500px) {
:root { --crumb-h: 0px; }
.topnav { padding-top: 10px; padding-bottom: 10px; }
}

/* A full screen, so the footer stays below the fold until the page draws (it jumped up and back: CLS, 14 Nov 2026). */
.route-wait { min-height: 100vh; display: flex; align-items: center; justify-content: center; color: var(--ink-mute, #5E564E); }
