/* KER Mock 4 - streaming-style browse (Netflix / Plex / Emby inspired). */

:root {
  --bg: #07090d;
  --surface: #151a21;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef2f6;
  --muted: #9aa7b5;
  --dim: #6b7785;
  --gold: #f0a92a;
  --gold-hi: #ffc04d;
  --ink-on-gold: #1a1204;
  --pad: 4vw;
  --radius: 6px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --hdr-h: 68px;
  --tile-sm: clamp(230px, 20.5vw, 330px);
  --condensed: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.is-locked, .is-locked body { overflow: hidden; }

/* ---------- Ambient backdrop (Plex-style art behind the page) ---------- */
.backdrop { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.backdrop__img {
  position: absolute; inset: -80px;
  background-size: cover; background-position: center;
  filter: blur(60px) saturate(1.2);
  opacity: 0; transition: opacity 1s ease;
}
.backdrop__img.is-on { opacity: 0.4; }
.backdrop::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(110% 70% at 65% 0%, rgba(7, 9, 13, 0) 0%, var(--bg) 72%),
    linear-gradient(to bottom, rgba(7, 9, 13, 0.1), var(--bg) 80%);
}
main, footer { position: relative; z-index: 1; }

/* ---------- Header ---------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--hdr-h);
  display: flex; align-items: center; gap: 36px;
  padding: 0 var(--pad);
  background: linear-gradient(to bottom, rgba(7, 9, 13, 0.9), rgba(7, 9, 13, 0));
  transition: background 0.3s, box-shadow 0.3s;
}
.hdr.is-solid { background: rgba(7, 9, 13, 0.94); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.logo { font-weight: 900; font-size: 22px; letter-spacing: 0.02em; white-space: nowrap; }
.logo b { color: var(--gold); font-weight: 900; margin-right: 2px; }
.nav { display: flex; gap: 22px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.nav a { transition: color 0.2s; }
.nav a:hover, .nav a.is-active { color: var(--text); }
.nav a.is-active { font-weight: 600; }
.hdr__right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.icon-link { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; transition: background 0.2s; }
.icon-link:hover { background: rgba(255, 255, 255, 0.1); }
.signin { font-size: 14px; color: var(--muted); }
.signin:hover { color: var(--text); }
.btn-sub {
  display: inline-grid; place-items: center; height: 34px; padding: 0 14px;
  background: var(--gold); color: var(--ink-on-gold);
  font-weight: 700; font-size: 13px; border-radius: 4px; white-space: nowrap;
}
.btn-sub:hover { background: var(--gold-hi); }
@media (max-width: 1080px) { .nav { gap: 16px; font-size: 13px; } .hdr { gap: 24px; } }
@media (max-width: 900px) { .nav, .signin { display: none; } }

/* ---------- Browse bar ---------- */
.home { padding-top: var(--hdr-h); }
.browse-bar { padding: 4px var(--pad) 0; }
.ticker {
  display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none;
  font-size: 12.5px; color: var(--muted); white-space: nowrap;
  padding: 8px 0 12px; border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.ticker::-webkit-scrollbar { display: none; }
.tick__sym { color: var(--text); font-weight: 600; margin-right: 6px; }
.tick--note { margin-left: auto; color: var(--dim); font-style: italic; }
.up { color: #4cc38a; }
.down { color: #f2555a; }
.browse-bar__row { display: flex; align-items: center; gap: 12px 22px; flex-wrap: wrap; padding: 16px 0 18px; }
.chips { display: flex; gap: 8px; }
.chip {
  height: 32px; padding: 0 15px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.03);
  font-size: 13.5px; font-weight: 500; transition: border-color 0.2s, background 0.2s;
}
.chip:hover { border-color: rgba(255, 255, 255, 0.5); }
.chip.is-active { background: var(--text); color: #0a0d12; border-color: var(--text); font-weight: 600; }
.mock-hint { margin: 0; font-size: 12.5px; color: var(--dim); }
.mock-hint b { color: var(--gold); font-weight: 600; }

/* ---------- Rows ---------- */
.row { position: relative; margin-bottom: clamp(20px, 2.4vw, 36px); }
.row__head { display: flex; align-items: baseline; gap: 14px; padding: 0 var(--pad); margin-bottom: 4px; }
.row__title { margin: 0; font-size: clamp(17px, 1.45vw, 22px); font-weight: 700; letter-spacing: -0.01em; }
.row__more { font-size: 13px; font-weight: 600; color: var(--gold); opacity: 0; transform: translateX(-6px); transition: opacity 0.25s, transform 0.25s var(--ease); }
.row:hover .row__more, .row__more:focus-visible { opacity: 1; transform: none; }
.row__viewport { position: relative; }
.row__track {
  display: flex; align-items: flex-start; gap: 10px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad);
  padding: 6px var(--pad) 10px;
  scrollbar-width: none;
}
.row__track::-webkit-scrollbar { display: none; }
.row__nav {
  position: absolute; top: 6px; bottom: 10px; z-index: 3;
  width: max(calc(var(--pad) - 6px), 38px);
  display: grid; place-items: center;
  background: rgba(7, 9, 13, 0.6);
  opacity: 0; transition: opacity 0.2s, background 0.2s;
}
.row__nav:hover { background: rgba(7, 9, 13, 0.85); }
.row__nav--prev { left: 0; }
.row__nav--next { right: 0; }
.row__viewport:hover .row__nav:not(:disabled), .row__nav:focus-visible { opacity: 1; }
.row__nav:disabled { pointer-events: none; opacity: 0 !important; }
.row--lg .row__nav { bottom: 82px; }
@media (hover: none) { .row__nav { display: none; } }

/* ---------- Tiles ---------- */
.tile { position: relative; flex: 0 0 auto; display: block; scroll-snap-align: start; border-radius: var(--radius); }
.tile:focus-visible { outline: none; }
.tile__frame {
  position: relative; z-index: 1;
  aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: var(--surface);
  transition: box-shadow 0.2s;
}
.tile__frame > img { width: 100%; height: 100%; object-fit: cover; }
.tile:hover .tile__frame, .tile:focus-visible .tile__frame { box-shadow: 0 0 0 2px var(--gold); }

.len {
  position: absolute; right: 7px; bottom: 7px; z-index: 2;
  padding: 1px 6px; border-radius: 4px;
  background: rgba(0, 0, 0, 0.82);
  font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.new-flag {
  position: absolute; top: 0; right: 0; z-index: 2;
  padding: 4px 9px 3px; border-radius: 0 0 0 6px;
  background: var(--gold); color: var(--ink-on-gold);
  font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
}

.tile--sm { width: var(--tile-sm); }

.tile--lg { width: clamp(300px, 40vw, 640px); }
.row--lg .row__track { gap: 14px; }
.tile--lg .len { font-size: 13px; right: 10px; bottom: 10px; }
.tile__below { display: block; padding: 10px 2px 0; height: 72px; overflow: hidden; }
.tile__show { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.tile__below .tile__title {
  margin-top: 2px; font-size: 14.5px; font-weight: 600; line-height: 1.35; color: #d7dee6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Same frame size as the small tiles, with the numeral in a gutter to its left. The numeral box
   is clipped so its glyph can never overflow the track (overflow-x: auto forces overflow-y: auto). */
.tile--rank { width: calc(var(--tile-sm) * 1.5); }
.tile--rank .tile__frame { width: var(--tile-sm); margin-left: auto; }
.rank {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  display: flex; align-items: flex-end;
  pointer-events: none; user-select: none;
}
.rank span {
  margin-bottom: -0.2em;
  font-size: calc(var(--tile-sm) * 0.7); font-weight: 900; line-height: 1; letter-spacing: -0.07em;
  color: var(--bg); -webkit-text-stroke: 4px rgba(255, 255, 255, 0.55); paint-order: stroke fill;
  transition: -webkit-text-stroke-color 0.2s;
}
.rank--wide span { font-size: calc(var(--tile-sm) * 0.56); letter-spacing: -0.12em; }
.tile--rank:hover .rank span { -webkit-text-stroke-color: var(--gold); }

@media (max-width: 640px) {
  :root { --tile-sm: 68vw; }
  .tile--lg { width: 86vw; }
  .tile--rank { width: calc(var(--tile-sm) * 1.3); }
}

/* Article cover: typographic art that echoes the KE Report YouTube thumbnail style. */
.cover { position: absolute; inset: 0; container-type: inline-size; overflow: hidden; background: #131519; }
.cover::before {
  content: ""; position: absolute; inset: 0;
  background: var(--cover) center / cover;
  opacity: 0.3; filter: grayscale(1) contrast(1.1);
}
.cover::after {
  content: ""; position: absolute; inset: 5.5cqw 5.5cqw;
  border: 0.35cqw solid rgba(255, 255, 255, 0.6); border-radius: 0.5cqw; pointer-events: none;
}
.cover > span { position: absolute; z-index: 1; }
.cover__kicker {
  top: 2.8cqw; left: 9cqw; padding: 1.1cqw 2cqw 0.9cqw; border-radius: 0.9cqw;
  background: var(--gold); color: var(--ink-on-gold);
  font: 800 3.6cqw/1 var(--condensed); letter-spacing: 0.06em; text-transform: uppercase;
}
.cover__mark {
  top: 2.4cqw; right: 8cqw; padding: 1cqw 1.8cqw; border-radius: 0.9cqw;
  background: #0b0c0e; border: 0.25cqw solid rgba(255, 255, 255, 0.45);
  font: 800 4.4cqw/1 var(--condensed); letter-spacing: 0.02em;
}
.cover__mark small { margin-left: 0.8cqw; font-size: 2.6cqw; font-weight: 600; letter-spacing: 0.08em; color: #c9cfd6; vertical-align: 0.4cqw; }
.cover__title {
  left: 11cqw; right: 11cqw; top: 47%; transform: translateY(-50%);
  font: 800 9cqw/0.96 var(--condensed); text-transform: uppercase; text-align: center; text-wrap: balance;
  text-shadow: 0.5cqw 0.5cqw 0 rgba(0, 0, 0, 0.55);
}
.cover__by {
  left: 3cqw; bottom: 3.5cqw; display: flex; align-items: center; gap: 2.2cqw;
  padding-right: 3.2cqw; border-radius: 1.4cqw; overflow: hidden;
  background: rgba(12, 13, 15, 0.9);
}
.cover__icon { width: 12cqw; height: 12cqw; display: grid; place-items: center; background: var(--gold); color: var(--ink-on-gold); }
.cover__icon svg { width: 6.4cqw; height: 6.4cqw; }
.cover__who { display: flex; flex-direction: column; gap: 0.5cqw; font: 800 4.6cqw/1 var(--condensed); text-transform: uppercase; }
.cover__who small { font-size: 3.6cqw; color: var(--gold); }

/* ---------- Voices ---------- */
.row__track--voices { gap: 20px; }
.voice { flex: 0 0 auto; width: 132px; display: flex; flex-direction: column; align-items: center; text-align: center; scroll-snap-align: start; }
.voice__face {
  width: 112px; height: 112px; margin-bottom: 10px; border-radius: 50%;
  background-color: var(--surface); background-size: 380% auto; background-position: 7% 52%;
  transition: box-shadow 0.2s, transform 0.25s var(--ease);
}
.voice:hover .voice__face { box-shadow: 0 0 0 3px var(--gold); transform: scale(1.04); }
.voice__name { font-size: 13.5px; font-weight: 600; }
.voice__org { font-size: 12px; color: var(--muted); }

/* ---------- Expanded tile (the "dialog") ---------- */
.pop {
  position: absolute; z-index: 60;
  border-radius: 10px; overflow: hidden;
  background: var(--surface);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.07);
  transform-origin: 0 0; will-change: transform;
  cursor: pointer;
}
.pop.is-modal { position: fixed; z-index: 61; max-height: calc(100dvh - 24px); overflow-y: auto; }
.pop-scrim { position: fixed; inset: 0; z-index: 59; background: rgba(0, 0, 0, 0.66); opacity: 0; transition: opacity 0.25s; }
.pop-scrim.is-on { opacity: 1; }
.pop__media { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.pop__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pop__media iframe {
  position: absolute; top: 50%; left: 50%; width: 118%; height: 118%;
  transform: translate(-50%, -50%); border: 0; pointer-events: none;
  opacity: 0; transition: opacity 0.7s;
}
.pop__media iframe.is-playing { opacity: 1; }
.pop__shade { position: absolute; inset: auto 0 0; height: 22%; background: linear-gradient(to top, var(--surface), rgba(21, 26, 33, 0)); pointer-events: none; }
.pop__close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; background: rgba(0, 0, 0, 0.65); display: none; place-items: center; }
.pop.is-modal .pop__close { display: grid; }
.pop__body { padding: 0 22px 20px; }
.pop--lg .pop__body { padding: 0 26px 24px; }
.pop__actions { display: flex; align-items: center; gap: 10px; margin: 8px 0 14px; }
.pop__push { margin-left: auto; }
.pop__kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.pop__kicker span { color: var(--dim); }
.pop__title { margin-top: 4px; font-size: 19px; font-weight: 750; line-height: 1.22; letter-spacing: -0.01em; }
.pop--lg .pop__title { font-size: 23px; }
.pop__guest { margin-top: 6px; font-weight: 600; font-size: 14px; }
.pop__guest span { color: var(--muted); font-weight: 400; }
.pop__meta { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--muted); }
.hl { color: var(--gold); font-weight: 700; }
.chip-mini { border: 1px solid rgba(255, 255, 255, 0.3); padding: 0 6px; border-radius: 3px; font-size: 11.5px; line-height: 18px; }
.pop__summary { margin: 10px 0 0; color: #c9d2dc; font-size: 14px; line-height: 1.55; }
.pop--lg .pop__summary { font-size: 15px; }
.pop__tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 12.5px; color: var(--muted); }
.pop__tags span + span::before { content: "•"; margin: 0 8px; color: var(--dim); }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 18px 0 14px; border-radius: 4px;
  background: var(--text); color: #0a0d12;
  font-weight: 700; font-size: 14.5px; white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover, .pop:hover .btn-primary { background: #fff; }
.btn-primary--video, .pop:hover .btn-primary--video { background: var(--gold); color: var(--ink-on-gold); }
.btn-primary--video:hover { background: var(--gold-hi); }
.btn-primary:active { transform: scale(0.97); }
.btn-lg { height: 48px; padding: 0 26px 0 20px; font-size: 16px; }

.icon-btn {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  transition: border-color 0.2s, background 0.2s;
}
.icon-btn:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.icon-btn.is-on { background: var(--text); color: #0a0d12; border-color: var(--text); }
.icon-btn--lg { width: 48px; height: 48px; }

/* ---------- Full-screen player ---------- */
.player { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; background: #000; opacity: 0; transition: opacity 0.3s; }
.player.is-on { opacity: 1; }
.player__top { display: flex; align-items: center; gap: 16px; padding: 12px 24px; background: #07090d; border-bottom: 1px solid var(--line); }
.player__back { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.player__back:hover { background: rgba(255, 255, 255, 0.14); }
.player__meta { min-width: 0; }
.player__title { font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__sub { font-size: 13px; color: var(--muted); }
.player__page { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.3); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.player__page:hover { border-color: #fff; }
.player__stage { flex: 1; min-height: 0; }
.player__stage iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 640px) { .player__page span { display: none; } .player__top { padding: 8px 12px; } }

/* ---------- Sponsors + footer + toast ---------- */
.sponsors { margin: 8px var(--pad) 0; padding: 28px 0 36px; border-top: 1px solid var(--line); }
.sponsors__label { margin-bottom: 16px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }
.sponsors__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.sponsors__grid a {
  display: grid; place-items: center; height: 56px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line);
  font-weight: 700; font-size: 13px; color: #aab6c3; transition: border-color 0.2s, color 0.2s;
}
.sponsors__grid a:hover { border-color: rgba(240, 169, 42, 0.5); color: var(--text); }

.ftr { border-top: 1px solid var(--line); padding: 26px var(--pad) 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: 13px; color: var(--muted); }
.ftr nav { display: flex; flex-wrap: wrap; gap: 20px; }
.ftr nav a:hover { color: var(--text); }
.ftr__mock { margin-left: auto; color: var(--dim); }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 120;
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  max-width: 90vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  background: var(--text); color: #0a0d12; font-weight: 600; font-size: 13.5px;
  padding: 10px 16px; border-radius: 6px;
  transition: opacity 0.25s, transform 0.25s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Episode / article page ---------- */
.detail { position: relative; overflow: hidden; padding: calc(var(--hdr-h) + 40px) var(--pad) 48px; }
.detail__bg { position: absolute; inset: -60px; background-size: cover; background-position: center; filter: blur(50px) saturate(1.15); opacity: 0.5; }
.detail::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(7, 9, 13, 0.3), var(--bg) 96%); pointer-events: none; }
.detail__inner { position: relative; z-index: 1; max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.detail__kicker { font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.detail__kicker span { color: var(--muted); }
.detail h1 { margin: 12px 0 14px; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.06; letter-spacing: -0.02em; font-weight: 800; text-wrap: balance; }
.detail__guest { font-size: 18px; font-weight: 600; }
.detail__guest span { color: var(--muted); font-weight: 400; }
.detail__meta { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px; color: var(--muted); }
.detail__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 24px 0 20px; }
.poster { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.poster img, .poster iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.poster__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; padding-left: 5px;
  background: rgba(240, 169, 42, 0.92); color: var(--ink-on-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); transition: transform 0.25s var(--ease), background 0.2s;
}
button.poster:hover .poster__play { transform: translate(-50%, -50%) scale(1.08); background: var(--gold-hi); }

.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-chips a { padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); font-size: 12.5px; transition: border-color 0.2s, color 0.2s; }
.topic-chips a:hover { border-color: var(--gold); color: var(--gold); }

.article { position: relative; z-index: 1; max-width: 1320px; margin: 0 auto; padding: 8px var(--pad) 56px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); scroll-margin-top: var(--hdr-h); }
.prose { max-width: 70ch; font-family: 'Newsreader', Georgia, serif; font-size: clamp(18px, 1.3vw, 20px); line-height: 1.7; color: #d9e0e8; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { margin: 1.8em 0 0.7em; font: 700 13px/1.4 'Inter', system-ui, sans-serif; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1.3em; padding-left: 1.2em; }
.prose li { margin: 0.4em 0; }
.prose li::marker { color: var(--gold); }

.side-card { margin-bottom: 16px; padding: 18px; border-radius: 10px; background: rgba(21, 26, 33, 0.8); border: 1px solid var(--line); }
.side-card__label { margin-bottom: 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.guest__name { font-size: 17px; font-weight: 700; }
.guest__org { font-size: 13.5px; color: var(--muted); }
.side-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--text); }
.side-link svg { color: #ff3b3b; }
.side-link:hover span { text-decoration: underline; }
.chapters { list-style: none; margin: 0 -8px; padding: 0; max-height: 440px; overflow-y: auto; }
.chapters button { width: 100%; display: flex; gap: 12px; padding: 7px 8px; border-radius: 6px; text-align: left; font-size: 13.5px; line-height: 1.35; transition: background 0.15s; }
.chapters button:hover { background: rgba(255, 255, 255, 0.07); }
.chapters__t { flex: 0 0 52px; color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; }
.chapters__group { padding: 12px 8px 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.chapters__group:first-child { padding-top: 0; }
.side-card--sub p { margin: 0 0 12px; font-size: 14px; color: #c9d2dc; }
.side-card--sub form { display: flex; gap: 8px; }
.side-card--sub input { flex: 1; min-width: 0; height: 36px; padding: 0 10px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(0, 0, 0, 0.3); color: var(--text); font: inherit; font-size: 13.5px; }
#more { position: relative; z-index: 1; padding-bottom: 12px; }

@media (max-width: 960px) {
  .detail__inner { grid-template-columns: 1fr; }
  .detail__poster { order: -1; }
  .article { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
