:root {
  --void: #090C11;
  --well: #121820;
  --well-lift: #1A2230;
  --lamp: #E39B3D;
  --lamp-dim: rgba(227, 155, 61, 0.16);
  --lamp-line: rgba(227, 155, 61, 0.45);
  --haze: #8E97A8;
  --mist: #C6CCD8;
  --paper: #E6E2D6;
  --paper-deep: #D8D2C3;
  --coal: #1A1814;
  --coal-soft: #3A362E;
  --rule: #243041;
  --rule-soft: #1A2330;
  --paper-rule: #C9C2B2;
  --cyan: #7EB8C9;
  --bar-h: 52px;
  --media-h: 116px;
  --max: 1240px;
  --ep-max: 1280px;
  --read: 68ch;
  --toc-w: 200px;
  --tile-ease: 240ms ease;
  --display: "Fraunces", "Noto Serif SC", "Songti SC", "Source Han Serif SC", serif;
  --ui: "IBM Plex Sans", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ui);
  background: var(--void);
  color: var(--mist);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.paper {
  background: var(--paper);
  color: var(--coal);
}
body.paper::before { opacity: 0.03; }
.topbar, .view, .site-footer { position: relative; z-index: 1; }

a { color: var(--lamp); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
code {
  font-family: var(--mono);
  font-size: 0.86em;
  background: var(--well);
  padding: 1px 5px;
  color: var(--haze);
}
body.paper code {
  background: var(--paper-deep);
  color: var(--coal-soft);
}
.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 80;
  background: var(--well);
  color: var(--mist);
  padding: 8px 12px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--lamp);
  outline-offset: 2px;
}
button, input { font-family: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--bar-h);
  background: rgba(9, 12, 17, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  min-height: var(--bar-h);
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--mist);
  letter-spacing: -0.02em;
  text-decoration: none !important;
}
.brand:hover { color: var(--lamp); }
.nav {
  display: flex;
  gap: 16px;
  font-size: 0.88rem;
}
.nav a {
  color: var(--haze);
  text-decoration: none !important;
  padding: 6px 0;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--mist); }
.updated {
  margin: 0 0 0 auto;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--haze);
}
.back {
  color: var(--haze);
  font-size: 0.86rem;
  text-decoration: none !important;
}
.back:hover { color: var(--lamp); }

.view { max-width: var(--max); margin: 0 auto; padding: 0 28px 64px; min-height: 56vh; }
.view.episode { max-width: var(--ep-max); }
.view.episode.no-media { --media-h: 0px; }

.desk {
  margin: 36px 0 0;
  padding: 28px 28px 22px;
  background:
    linear-gradient(180deg, rgba(227, 155, 61, 0.07), transparent 42%),
    var(--well);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--lamp);
}
.desk-copy h1 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #F3F1EA;
}
.lede {
  margin: 0 0 22px;
  max-width: 46ch;
  color: var(--haze);
  font-size: 0.98rem;
}
.lock-note {
  margin: -10px 0 18px;
  font-size: 0.84rem;
  color: var(--haze);
}
.search {
  margin: 4px 0 0;
  padding: 0 16px;
  background: #0B1018;
  border: 1px solid var(--rule);
}
.search input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--lamp);
  color: #F3F1EA;
  padding: 18px 0 14px;
  font-size: 1.35rem;
  outline: none;
  border-radius: 0;
}
.search input::placeholder { color: #5E6778; }
.search input:focus { box-shadow: inset 0 -6px 0 var(--lamp-dim); }

.facets { margin-top: 22px; display: grid; gap: 12px; }
.facet-row {
  display: grid;
  grid-template-columns: 3.2em minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.facet-label {
  padding-top: 7px;
  font-size: 0.78rem;
  color: var(--haze);
}
.facet-set { display: flex; flex-wrap: wrap; gap: 6px; }
.facet {
  appearance: none;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--haze);
  padding: 5px 10px;
  font-size: 0.78rem;
  cursor: pointer;
  border-radius: 2px;
}
.facet .n {
  margin-left: 6px;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: #6B7384;
}
.facet:hover { color: var(--mist); border-color: #3A465A; }
.facet.active {
  background: var(--lamp-dim);
  border-color: var(--lamp-line);
  color: var(--lamp);
}
.facet.active .n { color: var(--lamp); }
.facet-set.names { gap: 4px 14px; }
.facet-set.names .facet {
  border: none;
  background: none;
  padding: 3px 0;
  border-radius: 0;
  border-bottom: 2px solid transparent;
}
.facet-set.names .facet:hover { color: var(--mist); }
.facet-set.names .facet.active {
  background: none;
  border-bottom-color: var(--lamp);
  color: var(--lamp);
}

.browse { margin: 28px 0 0; }
.results-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 18px;
}
.results-copy { min-width: 0; }
.results-title {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #F3F1EA;
}
.count {
  margin: 0;
  font-size: 0.84rem;
  color: var(--haze);
}
.count strong {
  font-family: var(--mono);
  font-weight: 500;
  color: var(--mist);
}
.clear {
  font-size: 0.84rem;
  color: var(--lamp);
}

.block-kicker {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--haze);
}
.shelf-block { margin: 8px 0 36px; }
.shelf { margin: 0 0 28px; }
.shelf-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 12px;
}
.shelf-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}
.shelf-title h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #F3F1EA;
}
.shelf-count {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--haze);
}
.shelf-more {
  flex: 0 0 auto;
  font-size: 0.82rem;
  color: var(--lamp);
  text-decoration: none !important;
}
.shelf-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.shelf-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 2px 16px;
  margin: 0 -2px;
  scrollbar-width: thin;
  scrollbar-color: #3A465A transparent;
}
.shelf-track .tile {
  flex: 0 0 min(78vw, 300px);
  scroll-snap-align: start;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 16px;
}

.tile { min-width: 0; }
.tile-hit {
  display: block;
  color: inherit;
  text-decoration: none !important;
  border-radius: 2px;
}
.tile-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--well);
  border: 1px solid var(--rule);
  isolation: isolate;
  transition: transform var(--tile-ease), box-shadow var(--tile-ease), border-color var(--tile-ease);
}
.tile-cover img,
.thumb-empty {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tile-cover img {
  transform: scale(1);
  transition: transform var(--tile-ease);
}
.thumb-empty {
  background: repeating-linear-gradient(-45deg, #121820, #121820 6px, #171e28 6px, #171e28 12px);
}
.tile-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(180deg, rgba(9, 12, 17, 0.18), rgba(9, 12, 17, 0.72));
  opacity: 0;
  transition: opacity var(--tile-ease);
}
.tile-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #F3F1EA;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.tile-cta .play {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--coal);
  display: grid;
  place-items: center;
  font-size: 13px;
  padding-left: 2px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.tile-forms {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
}
.tile-title {
  margin: 11px 0 4px;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.32;
  color: #F3F1EA;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tile-guest {
  margin: 0 0 5px;
  font-size: 0.8rem;
  color: var(--haze);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tile-meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 0.74rem;
  color: var(--haze);
}
.tile-meta time {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.tile-hit:hover .tile-cover,
.tile-hit:focus-visible .tile-cover {
  transform: translateY(-3px);
  border-color: var(--lamp-line);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.42), 0 0 0 1px var(--lamp-line);
}
.tile-hit:hover .tile-cover img,
.tile-hit:focus-visible .tile-cover img {
  transform: scale(1.06);
}
.tile-hit:hover .tile-overlay,
.tile-hit:focus-visible .tile-overlay { opacity: 1; }
.tile-hit:hover .tile-title,
.tile-hit:focus-visible .tile-title { color: var(--lamp); }

.mark {
  font-size: 0.68rem;
  padding: 2px 6px;
  border: 1px solid var(--rule);
  color: var(--haze);
  background: rgba(9, 12, 17, 0.45);
}
.mark.essay { color: var(--lamp); border-color: var(--lamp-line); }
.mark.analysis { color: var(--cyan); border-color: rgba(126, 184, 201, 0.4); }
.mark.transcript { color: var(--mist); }

.empty {
  text-align: left;
  padding: 36px 4px 48px;
  color: var(--haze);
  max-width: 40ch;
}

body.paper .view { color: var(--coal); }
.ep-head { padding: 40px 0 8px; max-width: var(--read); }
.ep-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 16px;
  font-size: 0.78rem;
  color: var(--coal-soft);
}
.ep-kicker a { color: var(--coal-soft); text-decoration: none; border-bottom: 1px solid var(--paper-rule); }
.ep-kicker a:hover { color: #8A5A12; }
.ep-head h1 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.22;
  color: var(--coal);
}
.ep-guest {
  margin: 0 0 14px;
  font-size: 1.05rem;
  color: var(--coal-soft);
}
.ep-summary {
  margin: 0 0 8px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--coal-soft);
}

.media-row {
  position: sticky;
  top: var(--bar-h);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0 0;
  padding: 10px 0;
  min-height: var(--media-h);
  background: rgba(230, 226, 214, 0.94);
  border-bottom: 1px solid var(--paper-rule);
}
.watch-poster {
  appearance: none;
  border: 1px solid var(--paper-rule);
  background: #111;
  padding: 0;
  width: 168px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  flex: 0 0 auto;
  color: #fff;
}
.watch-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.7);
}
.watch-poster .poster-ui {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.45));
}
.watch-poster .play {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: #111;
  display: grid;
  place-items: center;
  font-size: 13px;
  padding-left: 2px;
}
.watch-poster .lbl { font-size: 0.74rem; font-weight: 500; }
.watch-poster.open { outline: 1px solid var(--lamp); }
.ext-links { display: flex; flex-wrap: wrap; gap: 8px; }
.ext-wrap { margin-top: 16px; }
.btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--paper-rule);
  background: transparent;
  color: var(--coal-soft);
  font-size: 0.78rem;
  text-decoration: none !important;
  cursor: pointer;
}
.btn:hover { border-color: #8A5A12; color: #8A5A12; }
.btn.primary { background: var(--coal); border-color: var(--coal); color: var(--paper); }
.btn.primary:hover { background: #2A261F; color: var(--paper); }

.audio {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.audio-play {
  appearance: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--coal);
  background: var(--coal);
  color: var(--paper);
  cursor: pointer;
  font-size: 14px;
  flex: 0 0 auto;
}
.audio-meta { flex: 1 1 auto; min-width: 0; }
.audio-label { font-size: 0.72rem; color: var(--coal-soft); margin-bottom: 4px; }
.audio-times {
  display: flex;
  align-items: center;
  gap: 8px;
  font-variant-numeric: tabular-nums;
  font-size: 0.72rem;
  color: var(--coal-soft);
  font-family: var(--mono);
}
.audio-times input[type="range"] {
  flex: 1 1 auto;
  accent-color: #8A5A12;
  height: 4px;
}
.audio-btns { display: flex; gap: 4px; }
.audio-btns button {
  appearance: none;
  border: 1px solid var(--paper-rule);
  background: transparent;
  color: var(--coal-soft);
  padding: 4px 8px;
  font-size: 0.72rem;
  cursor: pointer;
}
.audio-hint { font-size: 0.7rem; color: #8A5A12; white-space: nowrap; }

.video-frame {
  margin: 0 0 4px;
  border: 1px solid var(--paper-rule);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.tab-row {
  position: sticky;
  top: calc(var(--bar-h) + var(--media-h));
  z-index: 35;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 8px 0 0;
  background: rgba(230, 226, 214, 0.94);
  border-bottom: 1px solid var(--paper-rule);
}
.tab-row.no-media { top: var(--bar-h); }
.pane-tab {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--coal-soft);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 14px 12px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.pane-tab.active { color: var(--coal); border-bottom-color: #8A5A12; }
.tab-row .tools { margin-left: auto; display: flex; gap: 6px; }
.tab-row .tools button {
  appearance: none;
  border: 1px solid var(--paper-rule);
  background: transparent;
  color: var(--coal-soft);
  padding: 5px 10px;
  font-size: 0.75rem;
  cursor: pointer;
}

.ep-layout {
  display: grid;
  grid-template-columns: minmax(min(100%, 640px), var(--read)) var(--toc-w);
  justify-content: start;
  gap: 48px;
  align-items: start;
  margin-top: 22px;
}
.reading {
  min-width: 0;
  width: 100%;
  max-width: var(--read);
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--coal-soft);
}
.reading.serif { font-family: var(--display); }
.disclaimer {
  font-family: var(--ui);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--coal-soft);
  background: var(--paper-deep);
  border-left: 3px solid #8A5A12;
  padding: 10px 14px;
  margin: 0 0 22px;
}
.advice {
  font-family: var(--ui);
  font-size: 0.95rem;
  color: var(--coal-soft);
  background: transparent;
  border-left: 2px solid var(--paper-rule);
  padding: 4px 0 4px 14px;
  margin: 0 0 22px;
  line-height: 1.65;
}
.advice::before {
  content: "阅读提示 ";
  color: #8A5A12;
  font-size: 0.78rem;
}
.reading h1, .reading h2, .reading h3, .reading h4 {
  font-family: var(--display);
  color: var(--coal);
  letter-spacing: -0.03em;
  line-height: 1.28;
  margin: 2.1em 0 0.65em;
  font-weight: 600;
  scroll-margin-top: calc(var(--bar-h) + var(--media-h) + 56px);
}
.reading h1 { font-size: 1.72rem; }
.reading h2 {
  font-size: 1.42rem;
  padding-bottom: 0.28em;
  border-bottom: 1px solid var(--paper-rule);
}
.reading h3 { font-size: 1.18rem; margin-top: 1.7em; }
.reading h4 { font-size: 1.02rem; margin-top: 1.45em; }
.reading p { margin: 0 0 1.2em; }
.reading strong, .reading b { color: var(--coal); font-weight: 700; }
.reading blockquote {
  margin: 1.45em 0;
  padding: 0.2em 0 0.2em 1.1em;
  border-left: 3px solid #8A5A12;
  color: var(--coal);
  font-size: 1.02em;
}
.reading blockquote p { margin: 0; }
.reading ul, .reading ol { margin: 0 0 1.35em; padding-left: 1.45em; }
.reading li { margin: 0.4em 0; line-height: 1.75; }
.reading .who { display: block; font-size: 0.82rem; color: #8A5A12; margin-bottom: 4px; font-family: var(--ui); }
.transcript { font-family: var(--ui); font-size: 1.02rem; line-height: 1.8; }
.transcript p { margin: 0 0 1.25em; }
.transcript p > strong:first-child {
  color: #8A5A12;
  font-weight: 600;
}

.evidence-block { margin: 2.6em 0 1.2em; }
.reading h2.evidence-heading,
.evidence-heading {
  font-family: var(--ui);
  font-size: 0.82rem;
  color: var(--coal-soft);
  font-weight: 600;
  margin: 0 0 12px;
  border: none;
  padding: 0;
}
.evidence {
  margin: 1.35em 0 1.7em;
  border: 1px solid var(--paper-rule);
  background: #F1EEE6;
}
.evidence img { display: block; width: 100%; height: auto; background: #111; }
.evidence figcaption {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 10px 12px 12px;
  font-family: var(--ui);
  font-size: 0.82rem;
  color: var(--coal-soft);
}
.evidence time {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #8A5A12;
}
.evidence.broken { display: none; }

.toc {
  position: sticky;
  top: calc(var(--bar-h) + var(--media-h) + 52px);
  padding: 8px 0 24px;
}
.toc h2 {
  margin: 0 0 10px;
  font-size: 0.78rem;
  color: var(--coal-soft);
  font-weight: 600;
  font-family: var(--ui);
  border: none;
  padding: 0;
}
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; margin: 0 0 8px; }
.toc a {
  display: block;
  color: var(--coal-soft);
  text-decoration: none;
  font-size: 0.8rem;
  line-height: 1.4;
}
.toc a::before {
  content: counter(toc, decimal-leading-zero) "  ";
  font-family: var(--mono);
  font-size: 0.68rem;
  color: #8A7A5A;
}
.toc a:hover, .toc a.active { color: #8A5A12; }
.toc-panel {
  display: none;
  border: 1px solid var(--paper-rule);
  background: var(--paper-deep);
  padding: 12px;
  margin: 12px 0;
}
.toc-panel.open { display: block; }

.resources { margin: 40px 0 8px; }
.resources h2 {
  font-size: 0.86rem;
  color: var(--coal-soft);
  margin: 0 0 10px;
}
.resources ul { margin: 0; padding: 0; list-style: none; }
.resources li {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--paper-rule);
  font-size: 0.88rem;
}
.resources .k { color: var(--coal-soft); width: 4em; flex: 0 0 auto; }

.ep-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0 8px;
  padding-top: 16px;
  border-top: 1px solid var(--paper-rule);
}
.ep-nav a { color: var(--coal-soft); text-decoration: none; font-size: 0.88rem; }
.ep-nav a:hover { color: #8A5A12; }
.ep-nav .next { text-align: right; }
.ep-nav .dir { display: block; font-size: 0.72rem; color: #8A7A5A; margin-bottom: 4px; }

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 28px 56px;
  border-top: 1px solid var(--rule);
  font-size: 0.78rem;
  color: var(--haze);
  line-height: 1.75;
}
body.paper .site-footer {
  border-top-color: var(--paper-rule);
  color: var(--coal-soft);
}

@media (max-width: 1239px) {
  .tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .ep-layout { grid-template-columns: 1fr; }
  .toc.desktop { display: none; }
}
@media (max-width: 899px) {
  .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shelf-track .tile { flex-basis: min(72vw, 320px); }
}
@media (min-width: 1101px) {
  .toc-toggle { display: none !important; }
  .toc-panel { display: none !important; }
}
@media (max-width: 720px) {
  .topbar-inner, .view, .site-footer { padding-left: 16px; padding-right: 16px; }
  .topbar-inner { gap: 12px; }
  .updated { display: none; }
  .desk { padding: 20px 16px 16px; margin-top: 20px; }
  .desk-copy h1 { font-size: 1.85rem; }
  .search input { font-size: 1.05rem; }
  .facet-row { grid-template-columns: 1fr; gap: 6px; }
  .tile-grid { grid-template-columns: 1fr; gap: 22px; }
  .shelf-title h2,
  .results-title { font-size: 1.25rem; }
  .shelf-track { gap: 12px; }
  .shelf-track .tile { flex-basis: 84vw; }
  .watch-poster { width: 120px; }
  .audio { flex-wrap: wrap; }
  .media-row { align-items: flex-start; }
  :root { --media-h: 92px; }
  .ep-head { padding-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .tile-hit:hover .tile-cover,
  .tile-hit:focus-visible .tile-cover {
    transform: none;
  }
  .tile-hit:hover .tile-cover img,
  .tile-hit:focus-visible .tile-cover img {
    transform: none;
  }
}
