:root {
  color-scheme: light;
  --bg: #f9f8f7;
  --paper: #ffffff;
  --ink: #050505;
  --muted: #5e5b57;
  --faint: #8a8681;
  --sep: #b7b2ac;
  --line: rgba(5, 5, 5, 0.08);
  --soft: #f3f1ef;
  --fill: #050505;
  --on-fill: #fcfcfc;
  --fill-hover: #222;
  --track: #eceae6;
  --quote: #ddd9d4;
  --accent: #050505;
  --heart: #f87171;
  --measure: 42rem;
  --radius: 22px;
  --ring: 0 0 0 1px rgba(5, 5, 5, 0.06);
  --shadow: 0 1px 2px rgba(20, 16, 12, 0.04), 0 12px 32px rgba(20, 16, 12, 0.06);
  --float: 0 10px 36px rgba(20, 16, 12, 0.12);
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Night colors are the logo: navy #14181f and gold #d9b832.
   Text stays warm and dimmer than pure white. */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #12161d;
    --paper: #1b212b;
    --ink: #e6e1d4;
    --muted: #a39e93;
    --faint: #847f76;
    --sep: #6e6a62;
    --line: rgba(230, 225, 212, 0.1);
    --soft: #262d3a;
    --fill: #d9b832;
    --on-fill: #14181f;
    --fill-hover: #e4c65a;
    --track: #2c3342;
    --quote: rgba(217, 184, 50, 0.45);
    --accent: #d9b832;
    --heart: #e7a3a3;
    --ring: 0 0 0 1px rgba(230, 225, 212, 0.1);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.28), 0 14px 34px rgba(0, 0, 0, 0.32);
    --float: 0 12px 36px rgba(0, 0, 0, 0.46);
  }

  p.lede .mark {
    background-image: linear-gradient(var(--accent), var(--accent));
  }

  .brand img {
    box-shadow: 0 0 0 1px rgba(230, 225, 212, 0.14);
  }

  ::selection {
    background: rgba(217, 184, 50, 0.32);
    color: var(--ink);
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
}

.skip:focus { left: 0.75rem; top: 0.75rem; z-index: 6; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

header.site,
main,
footer.site {
  width: min(76rem, calc(100% - 3.5rem));
  margin: 0 auto;
}

header.site {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.15rem;
  padding-bottom: 0.35rem;
  position: sticky;
  top: 0;
  z-index: 4;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
  font-weight: 720;
  letter-spacing: -0.045em;
  font-size: 1.35rem;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}

header form.search { display: flex; gap: 0.4rem; align-items: center; }

header form.search input,
header form.search button,
.player button,
.topics a,
.pager a,
a.pill,
.sponsor-kicker,
.sponsor-card strong,
.sponsor-desc,
.meta,
footer.site,
.pager,
.listen figcaption,
.time,
.player {
  font-family: var(--sans);
}

header form.search input,
header form.search button {
  font-size: 14px;
  line-height: 1.2;
  border: 0;
  border-radius: 999px;
}

header form.search input {
  width: 13.5rem;
  padding: 0.5rem 0.9rem;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--ring);
}

header form.search input::placeholder { color: var(--faint); }

header form.search button {
  padding: 0.5rem 0.85rem;
  background: var(--fill);
  color: var(--on-fill);
  font-weight: 600;
  cursor: pointer;
}

main { padding-top: 1.5rem; padding-bottom: 2.5rem; }

body.embed main {
  width: min(var(--measure), calc(100% - 2.5rem));
  padding-top: 0.85rem;
  padding-bottom: 1.5rem;
}
body.embed h1 { font-size: 1.45rem; margin-bottom: 0.45rem; }

code.path {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

pre.embed-code {
  margin: 0.5rem 0 1.25rem;
  padding: 0.85rem 1rem;
  overflow: auto;
  background: var(--soft);
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.45;
}

pre.embed-code code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

iframe.embed-frame {
  width: 100%;
  height: 500px;
  border: 2px solid rgba(215, 223, 249, 0.89);
  border-radius: 12px;
  background: var(--bg);
}

h1 {
  margin: 0 0 1rem;
  font-size: 2.15rem;
  line-height: 1.12;
  letter-spacing: -0.038em;
  font-weight: 600;
  overflow-wrap: anywhere;
}

h1 + p.lede { margin-top: -0.55rem; }

p.lede .mark {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 100% 1.5px;
  background-position: 0 1.05em;
}

h2 {
  margin: 1.75rem 0 0.55rem;
  font: 560 0.95rem/1.3 var(--sans);
  letter-spacing: -0.01em;
  color: var(--muted);
}

p.lede {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.answer p {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
  line-height: 1.5;
  letter-spacing: -0.014em;
}

ol.segments {
  list-style: none;
  margin: 0.2rem 0 0;
  padding: 0;
}

ol.segments > li {
  margin: 0;
  padding: 1.2rem 0 1.3rem;
  border-top: 1px solid var(--line);
}

ol.segments > li:first-child {
  border-top: 0;
  padding-top: 0.15rem;
}

.segment-head {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.segments .text { flex: 1 1 14rem; }

.segments h2 {
  margin: 0;
  font: 650 1.28rem/1.28 var(--sans);
  letter-spacing: -0.022em;
  color: var(--ink);
}

.segments h2 a {
  color: inherit;
  text-decoration: none;
}

.segments h2 a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.segments .meta { margin: 0.28rem 0 0; }

.segments .playrow { margin-top: 0.15rem; }

.segments .sharerow {
  display: inline-flex;
  margin-top: 0.1rem;
}

.segments .answer { margin-top: 0.8rem; }

.segments .answer p {
  font-size: 1.08rem;
  line-height: 1.55;
}

.segments .answer p:last-child { margin-bottom: 0; }

.key-moments {
  margin: 0.2rem 0 1.35rem;
  padding: 1.05rem 1.05rem 0.85rem;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--ring), var(--shadow);
}

.key-moments h2 {
  margin: 0 0 0.85rem;
  font: 650 1.38rem/1.25 var(--sans);
  letter-spacing: -0.028em;
  color: var(--ink);
}

ol.moment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.moment-list li + li { border-top: 1px solid var(--line); }

.moment-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.72rem 0.05rem;
  color: inherit;
  text-decoration: none;
}

.moment-list .q {
  flex: 1 1 auto;
  min-width: 0;
  font: 600 1.12rem/1.3 var(--sans);
  letter-spacing: -0.018em;
}

.moment-list .time {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.95rem;
}

.moment-list a:hover .q {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.moment-episode {
  margin: 0.7rem 0 0.1rem;
  font-size: 0.98rem;
}

.moment-episode a {
  color: inherit;
  font-weight: 650;
}

h2.tx-head { margin-top: 0.35rem; }

.answer p.who {
  margin: 1.15rem 0 0.3rem;
  font: 600 0.82rem/1.3 var(--sans);
  letter-spacing: 0.01em;
  color: var(--muted);
}

.answer > p.who:first-child { margin-top: 0; }

.answer p.here {
  background: var(--soft);
  box-shadow: inset 3px 0 0 var(--fill);
  border-radius: 12px;
  padding: 0.4rem 0.7rem;
  scroll-margin: 4rem;
}

.answer .sponsor-slot {
  margin: 1.35rem 0 1.5rem;
}

.answer .sponsor-slot .sponsor { margin: 0; }

.topics { margin: 0 0 1rem; }

.topics details { margin: 0; }

.topics summary {
  display: none;
}

.topics a,
.pager a,
a.pill {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  border-radius: 999px;
}

@media (min-width: 641px) {
  /* The summary stays hidden in the base rule so phones can keep their own
     full-width menu. From 641px up it is a small disclosure, and the list
     stays closed until it is opened. Forcing display on the list would
     override the closed <details> and show the same links twice. */
  .topics summary {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    padding: 0.38rem 0.85rem;
    list-style: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    background: var(--paper);
    border-radius: 999px;
    box-shadow: var(--ring);
  }

  .topics summary::-webkit-details-marker { display: none; }

  .topics summary::marker { content: none; }

  .topics summary::after {
    content: "";
    width: 0.4rem;
    height: 0.4rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
  }

  .topics details[open] summary::after { transform: rotate(-135deg) translateY(0); }

  .topics details:not([open]) > .topic-list { display: none; }

  .topics details[open] > .topic-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    width: min(24rem, 100%);
    margin-top: 0.45rem;
    padding: 0.55rem;
    background: var(--paper);
    border-radius: 16px;
    box-shadow: var(--ring), var(--shadow);
  }
}

.topics a {
  padding: 0.32rem 0.72rem;
  background: var(--paper);
  box-shadow: var(--ring);
  font-size: 13px;
  font-weight: 550;
}

.topics a:hover {
  background: var(--fill);
  color: var(--on-fill);
}

ul.notes {
  --art: 44px;
  list-style: none;
  margin: 0;
  padding: 0.3rem;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--ring), var(--shadow);
}

.notes li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  border-radius: 16px;
  padding: 0.15rem 0.45rem 0.15rem 0.3rem;
}

.notes li + li { margin-top: 0.1rem; }

.notes li.on { background: var(--soft); }

.notes a {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.55rem 0.25rem;
  text-decoration: none;
  color: inherit;
}

.notes li:not(:has(img)) { --art: calc(1.02rem * 1.3); }

.playrow,
.playgap {
  flex: 0 0 auto;
  align-self: flex-start;
  width: 2rem;
  height: 2rem;
  margin-top: calc(0.55rem + (var(--art) - 2rem) / 2);
}

.playrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font: 11px/1 var(--sans);
  cursor: pointer;
}

.playrow span:not(.play-word) {
  display: block;
  width: 0;
  height: 0;
  font-size: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent currentColor;
  margin-left: 2px;
}

.playrow[aria-pressed="true"] {
  background: var(--fill);
  color: var(--on-fill);
}

.playrow[aria-pressed="true"] span:not(.play-word) {
  width: 8px;
  height: 10px;
  margin-left: 0;
  border-width: 0;
  background:
    linear-gradient(currentColor, currentColor) left center / 2.5px 10px no-repeat,
    linear-gradient(currentColor, currentColor) right center / 2.5px 10px no-repeat;
}

.playrow .play-word {
  display: inline;
  width: auto;
  height: auto;
  margin: 0;
  border: 0;
  background: none;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.play-now {
  width: auto;
  height: auto;
  margin-top: 0;
  align-self: center;
  gap: 0.55rem;
  padding: 0.78rem 1.2rem 0.78rem 1.02rem;
  background: var(--fill);
  color: var(--on-fill);
}

.play-now:hover { background: var(--fill-hover); }

.play-now span:not(.play-word) { border-width: 7px 0 7px 12px; }

.play-now[aria-pressed="true"] {
  background: var(--fill);
  color: var(--on-fill);
}

.play-now[aria-pressed="true"] span:not(.play-word) {
  width: 12px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) left center / 3.5px 14px no-repeat,
    linear-gradient(currentColor, currentColor) right center / 3.5px 14px no-repeat;
}

.segment-play {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem 0.85rem;
  margin: -0.15rem 0 1.35rem;
}

.segment-play .time {
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 680;
}

.segment-play .sharerow { display: inline-flex; }

.sharerow {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  margin-left: 0.1rem;
  padding: 0.4rem 0.65rem;
  border: 0;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font: 600 12px/1 var(--sans);
  cursor: pointer;
  white-space: nowrap;
}

.notes li.current .sharerow { display: inline-flex; }

.notes li.on .sharerow { background: var(--paper); }

.notes a.txrow {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  gap: 0;
  margin-left: 0.1rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font: 600 12px/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
}

.notes li.current a.txrow { display: inline-flex; }

.notes li.on a.txrow { background: var(--paper); }

.notes .text { min-width: 0; }

.notes a:hover .q { text-decoration: underline; text-underline-offset: 3px; }
.notes a[aria-current="page"] .q { font-weight: 650; }

/* Person pages group notes under one episode header. Each note is a
   stacked card so the question is never a column beside the answer. */
.episode-notes { margin: 0 0 1.15rem; }

.episode-notes .episode-label {
  margin: 0 0 0.45rem;
  font: 600 0.92rem/1.35 var(--sans);
  letter-spacing: -0.01em;
  color: var(--muted);
}

.episode-notes .episode-label a {
  color: inherit;
  text-decoration: none;
}

.episode-notes .episode-label a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

ul.notes.cards {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

ul.notes.cards > li {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  min-width: 0;
  margin: 0;
  padding: 0.95rem 1rem 0.85rem;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--ring), var(--shadow);
}

ul.notes.cards > li + li { margin-top: 0; }

ul.notes.cards .note-q {
  margin: 0;
  max-width: 70ch;
  font: 650 1.22rem/1.35 var(--sans);
  letter-spacing: -0.02em;
  color: var(--ink);
}

ul.notes.cards .note-q a {
  display: inline;
  flex: none;
  gap: 0;
  padding: 0;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

ul.notes.cards .note-q a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

ul.notes.cards .answer {
  max-width: 70ch;
  margin: 0;
}

ul.notes.cards .answer p {
  font-size: 1.05rem;
  line-height: 1.65;
}

ul.notes.cards .answer p:last-child { margin-bottom: 0; }

ul.notes.cards .note-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.45rem;
  margin: 0.1rem 0 0;
}

ul.notes.cards .playrow,
ul.notes.cards .playgap {
  width: 1.7rem;
  height: 1.7rem;
  margin-top: 0;
}

ul.notes.cards .sharerow,
ul.notes.cards a.txrow {
  display: inline-flex;
  margin-left: 0;
}

ul.notes.cards li.on .sharerow,
ul.notes.cards li.on a.txrow {
  background: var(--bg);
}

.time {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.notes img,
.thumb {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--soft);
}

.text { display: flex; flex-direction: column; min-width: 0; gap: 0.12rem; }
.q { font-size: 1.02rem; line-height: 1.3; letter-spacing: -0.015em; overflow-wrap: anywhere; }

.meta,
footer.site,
.pager,
.listen figcaption {
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}

p.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.45rem;
}

p.grokipedia { margin: 0.15rem 0 1rem; }

.meta a,
footer.site a {
  color: var(--ink);
  text-decoration: none;
}

.meta a:hover,
footer.site a:hover { text-decoration: underline; text-underline-offset: 3px; }

nav.crumbs { margin: 0 0 0.85rem; }
nav.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}
nav.crumbs li { display: flex; align-items: center; gap: 0.35rem; }
nav.crumbs li + li::before { content: ">"; color: var(--sep); }
nav.crumbs a { color: var(--ink); text-decoration: none; }
nav.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }

.listen {
  margin: 1.35rem 0 0;
  padding: 0.9rem;
  background: var(--paper);
  border-radius: 18px;
  box-shadow: var(--ring);
}

.listen figcaption { margin-bottom: 0.45rem; }
audio { width: 100%; display: block; }

.pager { display: flex; gap: 0.45rem; margin-top: 0.9rem; }

.pager a {
  padding: 0.42rem 0.8rem;
  background: var(--paper);
  box-shadow: var(--ring);
  font-size: 14px;
  font-weight: 560;
}

.pager a:hover { background: var(--fill); color: var(--on-fill); }

a.pill {
  margin-top: 0.4rem;
  padding: 0.55rem 0.95rem;
  background: var(--fill);
  color: var(--on-fill);
  font-size: 14px;
  font-weight: 600;
}

a.pill:hover { background: var(--fill-hover); }

.empty { color: var(--muted); }

p.audio-gone {
  margin: 0.4rem 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.meta .audio-gone { font-size: inherit; }

#player-gone { margin: 0.35rem 0 0; }

.sponsor { margin: 1.35rem 0 0; }

.sponsor-lead .sponsor { margin: 0 0 1.15rem; }

.notes li.sponsor-slot {
  display: block;
  margin: 0.35rem 0.25rem;
  padding: 0;
}

.notes li.sponsor-slot .sponsor { margin: 0; }

.notes li.sponsor-slot .sponsor-card {
  box-shadow: none;
  background: var(--bg);
}

.sponsor-kicker {
  margin: 0 0 0.45rem;
  font-size: 13px;
  font-weight: 550;
  color: var(--muted);
}

.sponsor-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--ring), var(--shadow);
  text-decoration: none;
  color: inherit;
}

.sponsor-card img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  flex: none;
  border-radius: 14px;
  background: var(--soft);
}

.sponsor-copy { min-width: 0; }

.sponsor-card strong {
  display: block;
  font-size: 1rem;
  font-weight: 620;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.sponsor-desc {
  display: block;
  margin-top: 0.15rem;
  font-size: 14px;
  line-height: 1.35;
  color: var(--muted);
}

.sponsor-board {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.sponsor-board-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--ring), var(--shadow);
  text-decoration: none;
  color: inherit;
}

.sponsor-board-card img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  flex: none;
  border-radius: 14px;
  background: var(--soft);
}

.sponsor-board-card .sponsor-copy { flex: 1; }

.sponsor-board-card strong {
  display: block;
  font-size: 1rem;
  font-weight: 620;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.sponsor-board-stats {
  display: flex;
  gap: 0.85rem;
  flex: none;
  font-size: 12px;
  color: var(--muted);
}

.ad-report {
  width: 100%;
  border-collapse: collapse;
  margin: 0.4rem 0 1.2rem;
  font-size: 14px;
}

.ad-report th,
.ad-report td {
  text-align: left;
  padding: 0.35rem 0.45rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.ad-report th {
  color: var(--muted);
  font-weight: 550;
}

.sponsor-board-stats b {
  display: block;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
}

@media (max-width: 640px) {
  .sponsor-board-card { flex-wrap: wrap; }
  .sponsor-board-card img { width: 100%; height: 140px; }
  .sponsor-board-stats { width: 100%; }
}

.post {
  margin-top: 1.15rem;
  font-size: 1.05rem;
  line-height: 1.6;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.post h2,
.post h3,
.post h4,
.post p,
.post ul,
.post ol,
.post blockquote,
.post pre { white-space: normal; }

.post h2,
.post h3,
.post h4 {
  margin: 1.35rem 0 0.4rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.post h2 { font-size: 1.28rem; }
.post h3, .post h4 { font-size: 1.05rem; }

.post a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.post iframe {
  display: block;
  width: min(100%, 560px);
  aspect-ratio: 16 / 9;
  height: auto;
  margin: 0.9rem 0;
  border: 0;
  border-radius: 16px;
  background: var(--soft);
}

.post blockquote {
  margin: 0.85rem 0;
  padding: 0.15rem 0 0.15rem 0.85rem;
  border-left: 2px solid var(--quote);
}

.post code,
.post pre {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.92em;
  white-space: pre-wrap;
}

.post ul, .post ol { padding-left: 1.2rem; }

footer.site {
  padding-top: 1.35rem;
  padding-bottom: 0.4rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.credits { margin: 0.7rem 0 0; }

.newsletter {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.7rem;
  width: 100%;
  margin: 0 0 1.35rem;
  padding: 1rem 1rem 1.05rem 1.2rem;
  background: var(--paper);
  border-radius: 22px;
  box-shadow: var(--ring), var(--shadow);
}

.newsletter::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  bottom: 0.85rem;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--accent);
}

.newsletter-label {
  flex: 1 0 100%;
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.newsletter-choice {
  flex: 1 0 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.6rem;
  min-width: 0;
  margin: 0;
}

.newsletter-choice a.pill { margin-top: 0; }

/* footer.site a is more specific than a.pill, so the label matched the black fill. */
.newsletter-choice a.pill,
footer.site a.pill {
  background: var(--fill);
  color: var(--on-fill);
}

.newsletter-choice a.pill:hover,
footer.site a.pill:hover {
  background: var(--fill-hover);
  color: var(--on-fill);
}

.newsletter-choice .or {
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 450;
}

.newsletter-choice .signup {
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
}

.newsletter-line {
  flex: 1 0 100%;
  margin: -0.15rem 0 0.15rem;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.35;
}

.newsletter input[type="email"],
.newsletter button {
  font: 14px/1.2 var(--sans);
  border: 0;
  border-radius: 999px;
}

.newsletter input[type="email"] {
  flex: 1 1 12rem;
  min-width: 0;
  padding: 0.5rem 0.9rem;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--ring);
}

/* Shut, the picker is a zero-height row pulled up by the flex gap, so the card does not grow.
   Open, the grid row animates to the fieldset. Reduced motion snaps. */
.interest-pick {
  flex: 1 0 100%;
  display: grid;
  grid-template-rows: 0fr;
  margin-top: -0.55rem;
  min-height: 0;
  opacity: 0;
  visibility: hidden;
  transition: grid-template-rows 0.28s ease, opacity 0.22s ease, margin-top 0.28s ease, visibility 0s linear 0.28s;
}

.interest-pick.is-open {
  grid-template-rows: 1fr;
  margin-top: 0.2rem;
  opacity: 1;
  visibility: visible;
  transition: grid-template-rows 0.28s ease, opacity 0.22s ease, margin-top 0.28s ease, visibility 0s linear 0s;
}

.interest-pick-clip {
  overflow: hidden;
  min-height: 0;
}

@media (prefers-reduced-motion: reduce) {
  .interest-pick,
  .interest-pick.is-open {
    transition: none;
  }
}

.interests {
  margin: 0.15rem 0 0.1rem;
  padding: 0;
  border: 0;
  min-inline-size: 0;
}

.interests legend {
  padding: 0;
  color: var(--muted);
  font-size: 14px;
}

.interests label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  margin: 0 0.85rem 0 0;
  padding: 0.2rem 0.15rem;
  font-size: 16px;
}

.interests input {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  accent-color: var(--fill);
}

.newsletter-note:empty {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.newsletter-note:not(:empty) {
  flex: 1 0 100%;
  margin: 0.35rem 0 0;
  padding: 0.7rem 0.9rem;
  background: var(--soft);
  border-radius: 16px;
}

.newsletter input::placeholder { color: var(--faint); }

.newsletter button {
  padding: 0.5rem 0.85rem;
  background: var(--fill);
  color: var(--on-fill);
  font-weight: 600;
  cursor: pointer;
}

.newsletter button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.join {
  width: min(26rem, calc(100% - 1.5rem));
  max-height: calc(100% - 1.5rem);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.join::backdrop { background: rgba(12, 16, 22, 0.62); }

.join-card {
  position: relative;
  padding: 1.45rem 1.3rem 1.05rem;
  background: var(--paper);
  border-radius: 22px;
  box-shadow: var(--float);
}

.join-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 680;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.join h2 {
  margin: 0.35rem 2rem 0.45rem 0;
  font-size: clamp(1.9rem, 4vw, 2.45rem);
  font-weight: 720;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.join-deck {
  margin: 0 0 0.95rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.4;
}

.join-x,
.join-no {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 600 0.95rem/1 var(--sans);
  cursor: pointer;
}

.join-x {
  position: absolute;
  top: 0.65rem;
  right: 0.7rem;
  width: 2rem;
  height: 2rem;
  padding: 0;
  appearance: none;
  box-shadow: none;
  font-size: 1.35rem;
  line-height: 1;
}

.join-no {
  display: block;
  margin: 0.85rem auto 0.15rem;
}

.join-no:hover,
.join-x:hover { color: var(--ink); }

.join .newsletter {
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.join .newsletter::before { content: none; }

.join-form { align-items: stretch; }

.join-form button[type="submit"] {
  flex: 1 0 100%;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  font-weight: 720;
}

/* The mount stays out of view until submit. A challenge opens it only if Cloudflare asks. */
.newsletter-check {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.newsletter-check.is-open {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  flex: 1 0 100%;
}

.newsletter-status {
  margin: 0 0 1rem;
  padding: 0.7rem 0.9rem;
  background: var(--soft);
  border-radius: 16px;
}

/* The check-your-email line is the next thing to do. It flashes, then stays gold. */
.newsletter-status.is-alert {
  background: #d9b832;
  color: #14181f;
  font-weight: 650;
}

@media (prefers-reduced-motion: no-preference) {
  .newsletter-status.is-alert {
    animation: newsletter-alert 0.7s ease-in-out 5;
  }
}

@keyframes newsletter-alert {
  0%, 100% { background: #d9b832; color: #14181f; }
  50% { background: #050505; color: #fcfcfc; }
}

.heart {
  width: 0.9rem;
  height: 0.9rem;
  color: var(--heart);
  vertical-align: -0.12rem;
}

.sep { padding: 0 0.15rem; color: var(--sep); }

@media (max-width: 640px) {
  header.site,
  main,
  footer.site { width: min(var(--measure), calc(100% - 1.5rem)); }
  header.site { align-items: stretch; flex-direction: column; gap: 0.7rem; }
  header form.search { width: 100%; }
  header form.search input { width: auto; flex: 1; min-width: 0; }
  header form.search button { flex: none; }
  .newsletter button { flex: 1 1 auto; }
  h1 { font-size: 1.7rem; }
  .topics details {
    background: var(--paper);
    border-radius: 16px;
    box-shadow: var(--ring);
  }
  .topics summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.72rem 0.95rem;
    list-style: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
  }
  .topics summary::-webkit-details-marker { display: none; }
  .topics summary::after {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    margin-right: 0.15rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
  }
  .topics details[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
  .topics details[open] .topic-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 0.35rem 0.4rem;
  }
  .topics details[open] .topic-list a {
    box-shadow: none;
    background: transparent;
    border-radius: 12px;
    padding: 0.62rem 0.6rem;
    font-size: 16px;
  }
  .answer p { font-size: 1.08rem; }
  .key-moments { padding: 0.9rem 0.85rem 0.7rem; }
  .key-moments h2 { font-size: 1.2rem; }
  ul.notes { --art: 40px; }
  .notes img, .thumb { width: 40px; height: 40px; }
}

body.has-player { padding-bottom: 8.5rem; }

/* The fixed player covers the bottom of the viewport. Padding on main
   lets the last rows scroll clear of it before the footer arrives. */
body.has-player main { padding-bottom: 8.5rem; }

.player {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  padding: 0 1.25rem 1rem;
  background: transparent;
  pointer-events: none;
  font-size: 14px;
  line-height: 1.3;
}

.player-in {
  pointer-events: auto;
  position: relative;
  width: min(var(--measure), 100%);
  margin: 0 auto;
  padding: 0.7rem 0.75rem 0.6rem;
  background: var(--paper);
  border-radius: 24px;
  box-shadow: var(--ring), var(--float);
}

.player audio { width: 100%; display: block; }

.player-ui { display: none; }

.player.ready .player-ui { display: block; }

.player.ready audio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.player-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.player-text {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.player-names {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.player-title {
  display: block;
  color: var(--ink);
  font-weight: 620;
  letter-spacing: -0.015em;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-title:hover { text-decoration: underline; text-underline-offset: 3px; }

.player-show {
  display: block;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-time {
  flex: none;
  font-size: 12px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.player button {
  flex: none;
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  background: var(--soft);
  color: var(--ink);
  border: 0;
  border-radius: 999px;
  padding: 0.5rem 0.7rem;
  cursor: pointer;
}

.player button[data-act="play"] {
  background: var(--fill);
  color: var(--on-fill);
  min-width: 4.4rem;
}

.player button[data-act="share"] { min-width: 4.5rem; }

.player a.player-tx {
  display: inline-flex;
  align-items: center;
  flex: none;
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  background: var(--soft);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.5rem 0.7rem;
  text-decoration: none;
  white-space: nowrap;
}

.player a.player-tx[hidden] { display: none; }

.player button[data-act="auto"][aria-pressed="true"] {
  background: var(--fill);
  color: var(--on-fill);
}

.player-bar {
  margin: 0.55rem 0.15rem 0.1rem;
  height: 4px;
  background: var(--track);
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
}

.player-fill {
  height: 100%;
  width: 0;
  background: var(--accent);
}

@media (max-width: 640px) {
  body.has-player { padding-bottom: 11.5rem; }
  body.has-player main { padding-bottom: 11.5rem; }
  .player { padding: 0 0.75rem 0.75rem; }
  .player-text { flex-basis: 100%; order: -1; }
  .player-time { display: none; }
  .player button[data-act="share"],
  .player a.player-tx { min-width: 0; }
  .sponsor-card { align-items: flex-start; }
  .sponsor-card img { width: 96px; height: 64px; }
}

@media (prefers-reduced-motion: no-preference) {
  .topics a,
  .pager a,
  .notes li,
  .playrow,
  .sharerow,
  .txrow,
  .player a.player-tx,
  .player button,
  header form.search button,
  .sponsor-card,
  ul.directory a,
  ul.chips a,
  a.pill {
    transition: background-color 0.15s ease, color 0.15s ease;
  }
}

ul.directory {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.15rem 0.75rem;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--ring), var(--shadow);
}

ul.directory a {
  display: block;
  padding: 0.45rem 0.7rem;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
}

ul.directory a:hover { background: var(--soft); }

ul.directory.counts a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.08rem;
}

ul.directory.counts .q { font-weight: 650; }

aside.who {
  margin: 0 0 1.25rem;
  padding: 0.95rem 1.05rem 1.05rem;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--ring), var(--shadow);
}

aside.who h2 {
  margin: 0 0 0.35rem;
  color: var(--ink);
  font-size: 1.05rem;
}

aside.who p { margin: 0; }

.page p { margin: 0 0 0.95rem; }

.page h2 {
  margin: 1.6rem 0 0.5rem;
  color: var(--ink);
  font: 600 1.2rem/1.25 var(--sans);
  letter-spacing: -0.03em;
}

.page ul {
  margin: 0 0 0.95rem;
  padding-left: 1.2rem;
}

.page li { margin: 0.28rem 0; }

.page a {
  color: var(--ink);
  text-underline-offset: 3px;
}

ol.moments {
  margin: 0 0 0.35rem;
  padding: 0.4rem 0.7rem 0.45rem 2.35rem;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--ring), var(--shadow);
}

ol.moments > li {
  padding: 0.7rem 0.45rem 0.8rem 0.15rem;
}

ol.moments > li + li { box-shadow: inset 0 1px 0 var(--line); }

ol.moments .q {
  font-weight: 620;
  text-decoration: none;
}

ol.moments .q:hover { text-decoration: underline; }

ol.moments .line { margin: 0.28rem 0 0; }

ol.moments .meta { margin: 0.28rem 0 0; }

ul.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.35rem 0 0.2rem;
  padding: 0;
}

ul.chips a {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: var(--ring);
  color: inherit;
  text-decoration: none;
  font-size: 0.95rem;
}

ul.chips a:hover { background: var(--soft); }

@media (max-width: 640px) {
  ul.directory { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
}

.moment { margin: 1.15rem 0 0.4rem; }

.moment h2 { margin-top: 0; }

.moment-face {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #14181f;
  box-shadow: var(--ring);
  aspect-ratio: 16 / 9;
}

.moment-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.moment-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 999px;
  background: var(--fill);
  color: var(--on-fill);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  line-height: 1;
  padding-left: 0.2rem;
  box-shadow: var(--float);
}

.moment-frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 16px;
  background: #14181f;
}

/* The newsletter page is a poster. The band is full width; the column lines
   up with the header. Colors are fixed so the gold button and the cream
   type keep their contrast in either color scheme. */
body.letter main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-top: 0;
  padding-bottom: 1.5rem;
}

.letter-hero {
  background: #14181f;
  color: #f6f1e6;
  padding: 2.4rem 0 2.2rem;
  box-shadow: inset 0 -3px 0 #d9b832;
}

.letter-hero-in,
.letter-wrap,
.letter-proof,
body.letter .sponsor {
  width: min(76rem, calc(100% - 3.5rem));
  margin-left: auto;
  margin-right: auto;
}

.letter-hero h1 {
  margin: 0;
  max-width: 12em;
  color: #f6f1e6;
  font-size: clamp(3.1rem, 12vw, 4.8rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.045em;
  overflow-wrap: normal;
}

.letter-hero.topic-signup {
  margin: 0 0 1.5rem;
  padding: 1.7rem 1.35rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: inset 0 -3px 0 #d9b832, 0 0 0 1px rgba(246, 241, 230, 0.16);
}

/* Category pages and the new-episodes page put this card under Famous people. Topics and collections keep it at the top. */
body.category .letter-hero.topic-signup,
body.new-episodes .letter-hero.topic-signup {
  margin-top: 3.25rem;
}

.letter-hero.topic-signup h2 {
  margin: 0;
  max-width: 16em;
  color: #f6f1e6;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.letter-promise {
  margin: 1.05rem 0 0;
  max-width: 28rem;
  color: #e4dccb;
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.letter-hero .newsletter-status {
  margin-top: 1.15rem;
  background: #f6f1e6;
  color: #14181f;
}

.letter-hero .newsletter-status.is-alert {
  background: #d9b832;
  color: #14181f;
}

.letter-hero .newsletter {
  margin: 1.35rem 0 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.letter-hero .newsletter::before { content: none; }

.letter-hero .newsletter-choice .or { color: #e4dccb; }

.letter-hero .newsletter-choice .signup { color: #f6f1e6; }

.letter-hero .newsletter-choice a.pill {
  background: transparent;
  color: #f6f1e6;
  box-shadow: inset 0 0 0 1.5px #f6f1e6;
}

.letter-hero .newsletter-choice a.pill:hover {
  background: #f6f1e6;
  color: #14181f;
}

.letter-hero .newsletter-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.letter-hero .newsletter input[type="email"],
.letter-hero .newsletter button {
  flex: 1 1 100%;
  min-height: 3.6rem;
  padding: 0.9rem 1.15rem;
  border-radius: 14px;
  font-size: 1.125rem;
}

.letter-hero .newsletter input[type="email"] {
  background: #fcfcfc;
  color: #14181f;
  box-shadow: none;
}

.letter-hero .newsletter input::placeholder { color: #5e5b57; }

.letter-hero .newsletter button {
  background: #d9b832;
  color: #14181f;
  font-weight: 700;
}

.letter-hero .newsletter button:hover { background: #e4c65a; }

.letter-hero .newsletter-note:not(:empty) {
  background: #f6f1e6;
  color: #14181f;
}

.letter-hero .interests legend { color: #e4dccb; }

.letter-hero .interests label { color: #f6f1e6; }

.letter-hero .interests input { accent-color: #d9b832; }

.letter-hero :focus-visible { outline-color: #d9b832; }

.letter-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  padding: 1.6rem 0 0.2rem;
}

.letter-proof p {
  flex: 1 1 5.2rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.letter-proof strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--ink);
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.letter-wrap { padding: 1.8rem 0 0.4rem; }

.letter-proof + .letter-wrap { padding-top: 0.6rem; }

.letter-wrap > h2,
.letter-faq h2 {
  margin: 0 0 0.85rem;
  max-width: var(--measure);
  color: var(--ink);
  font: 700 1.65rem/1.15 var(--sans);
  letter-spacing: -0.03em;
}

.letter-notes {
  list-style: none;
  max-width: var(--measure);
  margin: 0;
  padding: 0;
}

.letter-notes li {
  padding: 1.1rem 0 1.15rem;
  border-top: 1px solid var(--line);
}

.letter-notes h3 {
  margin: 0 0 0.4rem;
  font: 650 1.35rem/1.25 var(--sans);
  letter-spacing: -0.028em;
}

.letter-notes h3 a {
  color: inherit;
  text-decoration: none;
}

.letter-notes h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.letter-excerpt {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  line-height: 1.45;
}

.letter-from {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.letter-empty {
  margin: 0;
  color: var(--muted);
}

.letter-faq { margin-top: 2.2rem; max-width: var(--measure); }

.letter-faq dt {
  margin-top: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.letter-faq dd {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

@media (min-width: 720px) {
  .letter-hero .newsletter input[type="email"] { flex: 1 1 auto; }
  .letter-hero .newsletter button {
    flex: 0 0 auto;
    min-width: 11rem;
  }
}

body.front header.site { padding-bottom: 0.85rem; }

.masthead {
  margin: 0.2rem 0 1.15rem;
  font-size: clamp(3.15rem, 9.5vw, 7.25rem);
  font-weight: 750;
  letter-spacing: -0.065em;
  line-height: 0.82;
}

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

.answer,
.lede,
.post,
.key-moments,
.sponsor-lead,
aside.who,
.letter-hero .newsletter,
main > article:not(.stage) > p,
main > article:not(.stage) > ul:not(.notes):not(.chips),
main > article:not(.stage) > ol {
  max-width: var(--measure);
}

.stage-copy,
.stage-rest { min-width: 0; }

.stage-rail .newsletter { margin: 0; }

article.stage + .sponsor { max-width: var(--measure); }

.front-index {
  display: flex;
  gap: 0.4rem 1.15rem;
  margin: 0 0 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.front-index::-webkit-scrollbar { display: none; }

.front-index a {
  flex: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 640;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.front-index a:hover { text-decoration: underline; text-underline-offset: 3px; }

.front-hero {
  display: grid;
  gap: 1.35rem;
  align-items: start;
}

.front-lead {
  display: grid;
  gap: 1.15rem;
  align-items: start;
}

.front-copy { min-width: 0; }

.front-cover {
  display: block;
  width: min(16rem, 72%);
}

.front-cover .cover,
.shelf-row .cover {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--soft);
}

/* No episode art and no show cover: the gold mark on the logo navy,
   same colors as icon.png, so the card is not an empty white block. */
.cover.cover-fallback {
  display: grid;
  place-items: center;
  background: #14181f;
}
.cover.cover-fallback img {
  width: 28%;
  max-width: 4.5rem;
  height: auto;
}

.front-cover .cover {
  border-radius: 18px;
  box-shadow: var(--ring), var(--shadow);
}

.front-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 680;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.front-kicker a { color: inherit; text-decoration: none; }

.front-kicker a:hover { color: var(--ink); }

body.front .front-lead h1 {
  margin: 0.45rem 0 0.85rem;
  max-width: 11em;
  font-size: clamp(1.9rem, 8vw, 2.45rem);
  font-weight: 720;
  line-height: 0.98;
  letter-spacing: -0.045em;
  overflow-wrap: normal;
}

body.front .front-lead h1 a { color: inherit; text-decoration: none; }

body.front .front-lead h1 a:hover { text-decoration: underline; text-underline-offset: 0.12em; }

.front-deck {
  max-width: 38rem;
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1.45;
}

.front-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.front-meta a { color: inherit; text-decoration: none; }

.front-meta a:hover { text-decoration: underline; text-underline-offset: 3px; }

.front-meta .time { color: var(--accent); font-weight: 680; }

.front-rail { display: grid; gap: 0.85rem; align-content: start; }

body.front .front-hero .newsletter,
body.category .front-hero .newsletter,
body.new-episodes .front-hero .newsletter,
body.front .front-sponsor .sponsor { margin: 0; }

.shelf { margin-top: 2.35rem; }

.shelf-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 0.75rem;
}

body.front .shelf h2,
body.category .shelf h2,
body.new-episodes .shelf h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 680;
  letter-spacing: -0.03em;
}

body.front .shelf h2 a,
body.category .shelf h2 a,
body.new-episodes .shelf h2 a { color: inherit; text-decoration: none; }

body.front .shelf h2 a:hover,
body.category .shelf h2 a:hover,
body.new-episodes .shelf h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }

body.category .category-hero h1,
body.new-episodes .category-hero + .shelf { margin-top: 0.35rem; }

body.new-episodes .category-hero h1 {
  margin: 0 0 1.15rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 720;
  letter-spacing: -0.045em;
}

body.category .front-lead h2,
body.new-episodes .front-lead h2 {
  margin: 0.45rem 0 0.85rem;
  max-width: 18em;
  color: var(--ink);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 720;
  line-height: 1.05;
  letter-spacing: -0.04em;
  overflow-wrap: normal;
}

body.category .front-lead h2 a,
body.new-episodes .front-lead h2 a { color: inherit; text-decoration: none; }

body.category .front-lead h2 a:hover,
body.new-episodes .front-lead h2 a:hover { text-decoration: underline; text-underline-offset: 0.12em; }

.shelf-more {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 620;
  text-decoration: none;
}

.shelf-more:hover { color: var(--ink); }

.shelf-scroller {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr) 2.25rem;
  align-items: center;
  gap: 0.45rem;
}

.shelf-step {
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--ring), var(--shadow);
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
}

.shelf-step:hover:not(:disabled) { box-shadow: var(--ring), var(--float); }

.shelf-step:disabled {
  opacity: 0.35;
  cursor: default;
  box-shadow: none;
}

.shelf-pages .shelf-row {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.shelf-pages .shelf-row li {
  flex: 0 0 100%;
}

.shelf-row {
  display: flex;
  gap: 0.7rem;
  margin: 0;
  padding: 0.1rem 0 0.35rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.shelf-row::-webkit-scrollbar { display: none; }

.shelf-row li {
  flex: 0 0 min(78vw, 18rem);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
  padding: 0 0 1rem;
  overflow: hidden;
  background: var(--paper);
  border-radius: 18px;
  box-shadow: var(--ring), var(--shadow);
}

.shelf-row a {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  flex: 1;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.shelf-row .cover { border-radius: 18px 18px 0 0; }

.shelf-row .shelf-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
  min-width: 0;
  padding: 0.9rem 1.05rem 0;
}

.shelf-row .shelf-actions { padding: 0 1.05rem; }

.shelf-row .q {
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.28;
  overflow-wrap: normal;
}

.shelf-row .shelf-quote {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shelf-row .meta { margin-top: auto; }

.shelf-actions,
.front-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.front-actions { margin: 1rem 0 0; }

.shelf-row .playrow,
.front-actions .playrow { margin-top: 0; }

.shelf-row .sharerow,
.front-actions .sharerow { display: inline-flex; }

.shelf-row .time { color: var(--accent); font-weight: 650; }

.famous-names {
  display: grid;
  grid-template-columns: repeat(4, minmax(9.5rem, 1fr));
  gap: 0.55rem;
  margin: 0;
  padding: 0.1rem 0 0.35rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.famous-names::-webkit-scrollbar { display: none; }

.famous-names a {
  display: flex;
  align-items: center;
  min-height: 3.4rem;
  padding: 0.75rem 0.95rem;
  background: var(--paper);
  border-radius: 16px;
  box-shadow: var(--ring), var(--shadow);
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-decoration: none;
  scroll-snap-align: start;
}

.famous-names a:hover { box-shadow: var(--ring), var(--float); }

.shelf-row li:hover { box-shadow: var(--ring), var(--float); }

.shelf-row a:hover .q { text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 720px) {
  .shelf-pages .shelf-row li {
    flex: 0 0 calc((100% - 0.7rem) / 2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .shelf-pages .shelf-row { scroll-behavior: auto; }
}

@media (min-width: 960px) {
  .front-hero {
    grid-template-columns: minmax(0, 1fr) 22.5rem;
    gap: 2.75rem;
  }

  body.front .front-lead h1 {
    font-size: clamp(2.7rem, 3.5vw, 4.05rem);
  }

  .front-deck { font-size: 1.28rem; }

  .shelf-row,
  .famous-names {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
  }

  .shelf-row li {
    flex: none;
    /* overflow:hidden on a grid item drops its content minimum, so a
       wrapped title or date is clipped instead of growing the row. */
    min-height: min-content;
  }

  .shelf-pages .shelf-row {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
  }

  .shelf-pages .shelf-row li {
    flex: 0 0 calc((100% - 2.1rem) / 4);
  }

  ul.directory { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  body:not(.embed) main > ul.notes:not(.cards):not(.stack),
  body:not(.embed) main > article:not(.stage) ul.notes:not(.cards):not(.stack) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 0.35rem;
  }

  body:not(.embed) main > ul.notes:not(.cards):not(.stack) > li,
  body:not(.embed) main > article:not(.stage) ul.notes:not(.cards):not(.stack) > li { margin-top: 0; }

  body:not(.embed) main > ul.notes:not(.cards):not(.stack) > li.sponsor-slot,
  body:not(.embed) main > article:not(.stage) ul.notes:not(.cards):not(.stack) > li.sponsor-slot,
  body:not(.embed) main > ul.notes:not(.cards):not(.stack) > li:only-child,
  body:not(.embed) main > article:not(.stage) ul.notes:not(.cards):not(.stack) > li:only-child { grid-column: 1 / -1; }

  article.stage:has(.stage-rail) + .sponsor {
    max-width: calc(100% - 22.5rem - 2.75rem);
  }

  article.stage:has(.stage-rail) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22.5rem;
    column-gap: 2.75rem;
    align-items: start;
  }

  article.stage:has(.stage-rail) .stage-copy { grid-column: 1; grid-row: 1; }

  article.stage:has(.stage-rail) .stage-rest { grid-column: 1; grid-row: 2; }

  article.stage:has(.stage-rail) .stage-rail {
    grid-column: 2;
    grid-row: 1 / span 2;
    position: sticky;
    top: 4.5rem;
  }
}

@media (min-width: 1200px) {
  .front-lead:has(.front-cover) {
    grid-template-columns: 16rem minmax(0, 1fr);
    gap: 1.75rem;
  }

  .front-cover { width: auto; }
}

@media (max-width: 720px) {
  .front-index { flex-wrap: wrap; overflow: visible; }
}

body.radio main {
  width: min(calc(var(--measure) + 8rem), calc(100% - 1.5rem));
}

.radio-kicker,
.radio-lead {
  margin: 0;
}

.radio-kicker {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 680;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.radio-lead {
  margin: 0.35rem auto 1.1rem;
  color: var(--ink);
  font-size: 1.05rem;
}

.radio-kicker,
.radio-lead,
body.radio .player,
body.radio main > .sponsor {
  width: min(var(--measure), calc(100% - 6.9rem));
}

.radio-kicker,
body.radio main > .sponsor { margin-inline: auto; }

.radio-stage {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, var(--measure)) 2.75rem;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
}

.radio-step {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--ring), var(--float);
  font-family: var(--sans);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.radio-step:disabled {
  opacity: 0.35;
  cursor: default;
  box-shadow: none;
}

.radio-deck {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border-radius: 28px;
  box-shadow: var(--ring), var(--float);
  transition: height 0.5s ease;
}

.radio-deck.radio-still,
.radio-deck.radio-still .radio-card {
  transition: none;
}

.radio-card {
  display: grid;
  gap: 1.15rem;
  align-items: start;
  padding: 1.2rem 1.25rem 1.35rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s linear 0.5s;
}

.radio-card.current {
  position: relative;
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s linear 0s;
}

.radio-card:not(.current) {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.radio-cover {
  display: block;
  width: min(11.5rem, 46%);
}

.radio-cover .cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  background: var(--soft);
}

.radio-copy { min-width: 0; }

.radio-show {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 680;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.radio-show a { color: inherit; text-decoration: none; }

.radio-show a:hover { color: var(--ink); }

.radio-card h1 {
  margin: 0.4rem 0 0.85rem;
  font-size: clamp(1.85rem, 5vw, 2.55rem);
  font-weight: 720;
  line-height: 0.98;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}

.radio-card h1 a { color: inherit; text-decoration: none; }

.radio-card h1 a:hover { text-decoration: underline; text-underline-offset: 0.12em; }

.radio-card .answer { max-width: 38rem; }

.radio-card .answer p {
  font-size: 1.05rem;
  line-height: 1.6;
}

.radio-card .answer p:last-child { margin-bottom: 0; }

.radio-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.7rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.radio-meta a { color: inherit; text-decoration: none; }

.radio-meta a:hover { text-decoration: underline; text-underline-offset: 3px; }

.radio-meta .time { color: var(--accent); font-weight: 680; }

.player button.radio-stay {
  display: block;
  width: 100%;
  margin: 0 0 0.7rem;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: var(--fill);
  color: var(--on-fill);
  font-size: 0.95rem;
  font-weight: 680;
}

.player button.radio-stay:disabled {
  background: var(--soft);
  color: var(--muted);
  cursor: default;
}

body.radio .player {
  position: static;
  z-index: auto;
  margin: 1.15rem auto 0;
  padding: 0;
}

body.radio .player-in { width: 100%; }

body.radio.has-player { padding-bottom: 0; }

/* Radio's player sits in the page, so main keeps its usual padding. */
body.radio.has-player main { padding-bottom: 2.5rem; }

@media (min-width: 720px) {
  .radio-card {
    grid-template-columns: 11.5rem minmax(0, 1fr);
    gap: 1.35rem;
    padding: 1.25rem 1.35rem 1.4rem;
  }

  .radio-cover {
    width: auto;
    grid-row: 1 / span 3;
  }
}

@media (max-width: 719px) {
  .radio-cover { margin-inline: auto; }
}

@media (max-width: 640px) {
  .radio-card h1 { font-size: 1.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .radio-deck,
  .radio-card { transition: none; }
  .radio-card { transform: none; }
}

@media (max-width: 640px) {
  body.letter main { width: 100%; }
  .letter-hero { padding: 1.7rem 0 1.55rem; }
  .letter-hero-in,
  .letter-wrap,
  .letter-proof,
  body.letter .sponsor {
    width: min(var(--measure), calc(100% - 1.5rem));
  }
}
.sng-hero{max-width:640px;margin:1.5rem auto 2rem}
.sng-form{display:grid;gap:.5rem;margin-top:1rem}
.sng-form input[type=url],.sng-form input[type=email]{font:inherit;padding:.7rem .8rem;border:1px solid #ccc;border-radius:8px;width:100%;box-sizing:border-box}
.sng-form button{font:inherit;font-weight:600;padding:.75rem 1rem;border:0;border-radius:8px;background:#1a1a1a;color:#fff;cursor:pointer;margin-top:.5rem}
.sng-full{border:1px solid #e3b341;background:#fff8e6;color:#1a1a1a;border-radius:8px;padding:.75rem 1rem;margin:1rem 0}
.sng-full p{margin:.25rem 0}
.sng-soon{color:#666;font-size:.95rem}
.sng-steps{padding-left:1.25rem;line-height:1.6}
.sng-sample{border-left:3px solid #ccc;margin:1rem 0;padding:.25rem 1rem}
.sng-ask{margin-top:1.5rem}
.sng-samples-lede{margin:0 0 .5rem;color:var(--muted,#555)}
.sng-samples .letter-from{overflow-wrap:anywhere}
.sng-at{font-variant-numeric:tabular-nums;white-space:nowrap}
.sng-pick{list-style:none;padding:0;margin:.5rem 0 1rem}.sng-pick li{padding:.6rem 0;border-top:1px solid var(--line,#ddd)}.sng-pick label{display:block;cursor:pointer}.sng-pick .meta{display:block;font-size:.92rem;color:var(--muted,#666);overflow-wrap:anywhere}.sng-pick input[type=radio]{margin-right:.4rem}


.hero-band { --band: #f1eee8; background: var(--band); box-shadow: 0 0 0 100vmax var(--band); clip-path: inset(0 -100vmax); padding: 1.25rem 0 2rem; margin-bottom: 0.5rem; }
@media (prefers-color-scheme: dark) { .hero-band { --band: color-mix(in srgb, var(--ink) 6%, var(--paper)); } }
.ask-panel { margin: 2.5rem 0; padding: clamp(1.4rem, 4vw, 2.75rem); border: 1px solid var(--line, #e3e3e3); border-radius: 18px; background: var(--paper); }
.ask-panel h2 { margin: 0 0 0.35rem; font-size: clamp(1.7rem, 4vw, 2.4rem); letter-spacing: -0.02em; }
.ask-lede { margin: 0 0 1.25rem; color: var(--muted, #666); font-size: 1.05rem; }
.front-search { display: flex; gap: 0.5rem; max-width: 44rem; margin: 0 0 1.75rem; }
.front-search input { flex: 1; min-width: 0; font-size: 1.15rem; padding: 0.95rem 1.25rem; border-radius: 999px; border: 1px solid var(--line, #ddd); background: var(--paper); box-shadow: var(--shadow); color: var(--ink); }
.front-search button { font-size: 1.05rem; padding: 0.95rem 1.5rem; border-radius: 999px; border: 0; background: var(--ink); color: var(--paper); font-weight: 650; cursor: pointer; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.question-list { display: grid; grid-template-columns: 1fr; gap: 0 2rem; margin: 0; padding: 0; list-style: none; }
.question-list li { border-top: 1px solid var(--line, #e3e3e3); }
.question-list a { display: block; padding: 0.9rem 0.75rem; margin: 0 -0.75rem; border-radius: 10px; color: var(--ink); text-decoration: none; transition: background .15s; }
.question-list a:hover, .question-list a:focus-visible { background: color-mix(in srgb, var(--ink) 5%, var(--paper)); }
.question-list .q { display: block; font-size: 1.15rem; font-weight: 650; line-height: 1.3; }
.question-list a:hover .q { text-decoration: underline; text-underline-offset: 3px; }
.question-list .meta { display: block; margin-top: 0.2rem; color: var(--muted, #666); font-size: 0.9rem; }
@media (min-width: 720px) { .question-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.front-tagline { margin: -0.55rem 0 1.15rem; color: var(--muted); font-size: clamp(1.05rem, 2.2vw, 1.35rem); font-weight: 500; letter-spacing: -0.01em; }

.qa-label { margin: 0 0 .25rem; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #6b7280); }
.qa-answer-label { margin-top: 1.25rem; }
.qa-source { margin: 1.5rem 0; padding: 1rem; border: 1px solid rgba(127,127,127,.25); border-radius: 10px; }
.qa-source h2 { margin: 0 0 .75rem; font-size: 1rem; }
.qa-source-row { display: flex; gap: 1rem; align-items: center; }
.qa-source-row .thumb,
.qa-source-row img { width: 112px; height: 112px; border-radius: 16px; object-fit: cover; flex: none; background: var(--soft); }
.qa-source dl { display: grid; grid-template-columns: auto 1fr; gap: .3rem .8rem; margin: 0; font-size: .92rem; }
.qa-source dt { font-weight: 600; color: var(--muted, #6b7280); }
.qa-source dd { margin: 0; }
.qa-source .playrow { padding: .1rem .5rem; }
.qa-source a { color: var(--ink); text-decoration: none; }
.qa-source a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Transcript click-to-play */
.tx-player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--paper); box-shadow: 0 -1px 0 var(--line, rgba(0,0,0,.1)); }
.tx-player .player-in { max-width: 46rem; margin: 0 auto; padding: 0.5rem 1rem; }
.tx-player .player-row { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.tx-player .tx-hint { color: var(--faint); font-size: 13px; flex: 1; }
body.has-tx-player { padding-bottom: 4rem; }
.answer span[data-t] { cursor: pointer; border-radius: 3px; }
.answer span[data-t]:hover { background: var(--fill-soft, rgba(127,127,127,.12)); }
.answer span[data-t].now { background: var(--mark, rgba(255,214,0,.35)); }

.show-head {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  margin: 0 0 0.35rem;
}

.show-copy { min-width: 0; }

.show-copy h1,
.show-head h1 { margin-top: 0; }

.show-cover {
  width: 180px;
  height: 180px;
  flex: none;
  object-fit: cover;
  border-radius: 18px;
  background: var(--soft);
  box-shadow: var(--ring), var(--shadow);
}

.show-placeholder {
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 2.5rem;
  font-weight: 720;
  letter-spacing: -0.04em;
}

.episode-hero {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 675;
  object-fit: cover;
  margin: 0 0 1.15rem;
  border-radius: 18px;
  background: var(--soft);
  grid-column: 1 / -1;
}

/* The stage grid pins the copy to row 1. The banner needs the row above it. */
article.stage:has(.stage-rail):has(.episode-hero) .episode-hero {
  grid-column: 1 / -1;
  grid-row: 1;
}

article.stage:has(.stage-rail):has(.episode-hero) .stage-copy { grid-row: 2; }

article.stage:has(.stage-rail):has(.episode-hero) .stage-rest { grid-row: 3; }

article.stage:has(.stage-rail):has(.episode-hero) .stage-rail { grid-row: 2 / span 2; }

article.show-page .shelf { margin-top: 1.6rem; }

article.show-page .shelf-head h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 680;
  letter-spacing: -0.03em;
}

article.show-page .shelf-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  gap: 0.7rem;
  overflow: visible;
  scroll-snap-type: none;
}

article.show-page .shelf-row li {
  flex: none;
  width: auto;
  min-height: min-content;
}

.more-episodes { margin: 0.9rem 0 0; }

.more-episodes summary {
  cursor: pointer;
  color: var(--muted);
  font-weight: 650;
}

.more-episodes ul {
  list-style: none;
  margin: 0.55rem 0 0;
  padding: 0;
}

.more-episodes li { margin: 0.28rem 0; }

.more-episodes a { color: inherit; text-decoration: none; }

.more-episodes a:hover { text-decoration: underline; text-underline-offset: 3px; }

.segments h2 .time {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 560;
  letter-spacing: 0;
  margin-left: 0.4rem;
}

.segment-yt { margin: 0 0 1rem; }

@media (max-width: 640px) {
  .show-head { flex-direction: column; gap: 0.75rem; }
  .show-cover { width: 120px; height: 120px; }
  .show-placeholder { font-size: 1.8rem; }
  .qa-source-row .thumb,
  .qa-source-row img { width: 84px; height: 84px; }
}

.search-results {
  max-width: var(--measure);
}

.search-results h2 {
  margin: 1.5rem 0 0.7rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.search-cards,
.search-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.search-cards { gap: 1.15rem; }

.search-card {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  min-width: 0;
}

.search-art {
  width: 112px;
  height: 112px;
  flex: none;
  object-fit: cover;
  border-radius: 16px;
  background: var(--soft);
  box-shadow: var(--ring);
}

.search-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.search-copy { min-width: 0; flex: 1 1 auto; }

.search-card h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.search-card h3 a { color: inherit; text-decoration: none; }

.search-card h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }

.search-snip {
  margin: 0.28rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.search-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  margin: 0.4rem 0 0;
}

.search-meta a {
  color: var(--muted);
  text-decoration: none;
}

.search-meta a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.search-card .playrow {
  width: 2rem;
  height: 2rem;
  margin: 0;
}

.search-links a {
  display: block;
  padding: 0.32rem 0;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-links a:hover { text-decoration: underline; text-underline-offset: 3px; }

.search-results .pager { margin-top: 1.25rem; }

@media (max-width: 640px) {
  .search-art { width: 76px; height: 76px; }
  .search-card h3 { font-size: 1.08rem; }
}
