:root {
  --bg: #0e0f12;
  --panel: #16181d;
  --panel-2: #131418;
  --footer-bg: #0b0c0e;
  --player-bg: #000;
  --header-bg: rgba(14, 15, 18, 0.92);
  --text: #efe9df;
  --text-lead: #cfc9bd;
  --text-dim: #a6a199;
  --text-muted: #8f8b83;
  --text-nav: #b8b3a9;
  --accent: #e2bd7e;
  --accent-hover: #ecca90;
  --accent-border: #b08a45;
  --on-accent: #171308;
  --line: rgba(255, 255, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.08);
  --field-border: rgba(255, 255, 255, 0.14);
  --hover-border: rgba(226, 189, 126, 0.50);
  --star-off: #4a4a4a;
  --avatar-bg: #3a3f34;
  --shadow-poster: 0 40px 80px rgba(0, 0, 0, 0.6);
  --shadow-play: 0 20px 50px rgba(0, 0, 0, 0.5);
  --font-head: "Spectral", Georgia, "Times New Roman", serif;
  --font-ui: "Instrument Sans", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --content: 1240px;
  --rail: 300px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

::selection {
  color: var(--on-accent);
  background: var(--accent);
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
}

h1 {
  font-size: 68px;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 34px;
  margin-bottom: 16px;
}

h3 {
  font-size: 18px;
}

.container {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--accent);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 0;
  padding: 12px 24px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button.primary {
  color: var(--on-accent);
  background: var(--accent);
}

.button.primary:hover {
  background: var(--accent-hover);
}

.button:disabled,
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.button.ghost {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
}

.button.ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.button.muted {
  color: var(--text);
  border-color: var(--field-border);
  background: transparent;
}

.button.muted:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.text-link.light {
  color: var(--text);
}

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text);
  background: var(--header-bg);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  width: min(calc(100% - 48px), var(--content));
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
}

.brand > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand strong {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
}

.brand small {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  font-weight: 600;
}

.site-nav a {
  color: var(--text-nav);
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav .nav-accent {
  border: 1px solid var(--accent-border);
  padding: 9px 15px;
  color: #e8c88e;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav .nav-accent:hover {
  color: var(--accent);
}

.icon-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  font-size: 24px;
}

/* Catalog hero (split copy + auto-rotating poster) */
.catalog-hero {
  border-bottom: 1px solid var(--line-soft);
}

.catalog-hero-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: center;
  padding: 72px 0 76px;
}

.catalog-hero-copy h1 {
  font-size: 72px;
  max-width: 640px;
  margin-bottom: 26px;
}

.hero-lead {
  max-width: 580px;
  margin-bottom: 32px;
  color: var(--text-lead);
  font-size: 19px;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-bottom: 46px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.hero-stats span {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  color: var(--text);
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
}

.hero-stats small {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
}

.hero-poster {
  position: relative;
  display: block;
}

.hero-poster-frame {
  position: relative;
  transition: opacity 500ms ease;
}

.hero-poster-frame img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-poster);
}

.hero-poster-caption {
  position: absolute;
  bottom: 20px;
  left: -22px;
  padding: 10px 16px;
  color: var(--on-accent);
  background: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.hero-dots {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  gap: 6px;
  pointer-events: none;
}

.hero-dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.hero-dot.active {
  background: var(--accent);
}

.page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--rail);
  gap: 56px;
  align-items: start;
  padding-top: 72px;
  padding-bottom: 96px;
}

.content-column {
  min-width: 0;
}

.content-column > section + section {
  margin-top: 82px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.collection-heading h2 {
  font-size: 40px;
}

.section-note {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.segmented {
  display: inline-flex;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 3px;
}

.segmented button {
  min-height: 34px;
  border: 0;
  padding: 8px 13px;
  color: var(--text-nav);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.segmented button.active {
  color: var(--on-accent);
  background: var(--accent);
}

.title-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.title-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--panel);
  transition: border-color 160ms ease;
}

.title-card:hover {
  border-color: var(--hover-border);
}

.title-card[hidden] {
  display: none;
}

.poster-link {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: var(--panel-2);
}

.poster-link picture {
  display: block;
  width: 100%;
  height: 100%;
}

.poster-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-role {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  color: var(--accent);
  background: rgba(10, 10, 12, 0.85);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.title-card-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 22px 22px 18px;
}

.title-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.title-card h3 {
  margin: 3px 0 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.1;
}

.title-card h3 a:hover {
  color: var(--accent);
}

.original-title {
  margin: 0;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.score {
  align-self: flex-start;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.title-card-body > p {
  margin: 12px 0 16px;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.55;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  margin-top: auto;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
}

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

.route-list a {
  display: grid;
  grid-template-columns: 56px 1fr 30px;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 24px 8px;
  transition: background 160ms ease;
}

.route-list a:hover {
  background: rgba(255, 255, 255, 0.03);
}

.route-number {
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 26px;
}

.route-list strong,
.route-list small {
  display: block;
}

.route-list strong {
  margin-bottom: 5px;
  font-family: var(--font-head);
  font-size: 21px;
}

.route-list small {
  color: var(--text-dim);
  font-size: 13px;
}

.route-list b {
  color: var(--accent);
  font-size: 21px;
}

.editorial-band {
  border-top: 3px solid var(--accent);
  border-bottom: 1px solid var(--line);
  padding: 36px 0 40px;
}

.editorial-band h2 {
  max-width: 680px;
}

.editorial-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.62;
}

.editorial-columns p {
  margin-bottom: 0;
}

.title-editorial {
  margin-bottom: 30px;
}

.episode-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  gap: 36px;
  margin-bottom: 30px;
}

.episode-editorial h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
}

.episode-editorial p {
  margin-bottom: 0;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.62;
}

.quick-nav {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-list a {
  border: 1px solid var(--field-border);
  padding: 8px 12px;
  color: var(--text-lead);
  font-size: 12px;
  font-weight: 700;
  transition: border-color 160ms ease, color 160ms ease;
}

.chip-list a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
}

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

.faq summary span {
  color: var(--accent);
  font-size: 22px;
  font-weight: 400;
  transition: transform 160ms ease;
}

.faq details[open] summary span {
  transform: rotate(45deg);
}

.faq details p {
  max-width: 700px;
  margin-bottom: 24px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
}

.share-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  padding: 26px 30px;
  background: var(--panel);
}

.share-block h2 {
  margin: 0;
  font-size: 26px;
}

.share-actions {
  display: flex;
  gap: 8px;
}

.share-actions button {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 9px 14px;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: border-color 160ms ease, color 160ms ease;
}

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

.comments {
  scroll-margin-top: 96px;
}

.count-badge {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: var(--on-accent);
  background: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

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

.empty-state {
  margin: 0;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 13px;
}

.comment {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.comment.new-comment {
  animation: appear 260ms ease;
}

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

.avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--text);
  background: var(--avatar-bg);
  font-size: 12px;
  font-weight: 800;
}

.comment-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.comment-meta strong {
  font-size: 14px;
}

.comment-meta time {
  color: var(--text-muted);
  font-size: 11px;
}

.comment p {
  margin: 7px 0 0;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
}

.comment-form {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.comment-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.comment-form label:nth-child(2) {
  grid-row: span 2;
}

.comment-form label span {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--field-border);
  border-radius: 0;
  padding: 11px 12px;
  color: var(--text);
  background: var(--panel);
  outline: none;
}

.comment-form textarea {
  resize: vertical;
  min-height: 96px;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(226, 189, 126, 0.15);
}

.comment-form .button {
  grid-column: 1;
  align-self: end;
}

.turnstile-slot {
  min-height: 1px;
  grid-column: 1;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.side-rail {
  position: sticky;
  top: 100px;
}

.side-rail > section + section {
  margin-top: 18px;
}

.rating-widget,
.rail-section {
  border: 1px solid var(--line);
  padding: 22px;
  background: var(--panel);
}

.rating-widget {
  scroll-margin-top: 96px;
  border-top: 3px solid var(--accent);
}

.rating-summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.rating-summary strong {
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 600;
}

.rating-summary span,
.rating-note {
  color: var(--text-muted);
  font-size: 11px;
}

.stars {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 1px;
  margin-top: 12px;
}

.stars button {
  min-width: 0;
  border: 0;
  padding: 0;
  color: var(--star-off);
  background: transparent;
  cursor: pointer;
  font-size: 17px;
  line-height: 1.25;
}

.stars button:hover,
.stars button.selected {
  color: var(--accent);
}

.rating-note {
  margin: 8px 0 0;
}

.rail-section h2 {
  margin-bottom: 14px;
  font-size: 22px;
}

.rail-links {
  border-top: 1px solid var(--line);
}

.rail-link {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
}

.rail-link span {
  font-family: var(--font-head);
  font-size: 17px;
}

.rail-link small {
  margin-top: 3px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
}

.rail-note {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.6;
}

.rail-note p:last-child {
  margin-bottom: 0;
}

.facts-list dl,
.wide-facts {
  margin: 0;
}

.facts-list dl > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 9px 0;
}

.facts-list dt,
.facts-list dd {
  font-size: 12px;
}

.facts-list dt {
  color: var(--text-muted);
}

.facts-list dd {
  margin: 0;
  font-weight: 800;
}

.facts-list dd:only-child,
.facts-list div:last-child dd {
  color: var(--accent);
}

/* Series / season heroes on backdrop */
.title-hero,
.subpage-hero {
  position: relative;
  overflow: hidden;
  color: var(--text);
  background-color: var(--bg);
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid var(--line-soft);
}

.title-hero .hero-shade,
.subpage-hero .hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 30%, rgba(14, 15, 18, 0.78) 62%, rgba(14, 15, 18, 0.5));
}

.title-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 64px 0 68px;
}

.title-poster {
  width: 300px;
  aspect-ratio: 2 / 3;
  border: 1px solid rgba(255, 255, 255, 0.12);
  object-fit: cover;
  box-shadow: var(--shadow-poster);
}

.title-hero-copy h1 {
  margin-bottom: 8px;
}

.original-heading {
  margin-bottom: 22px;
  color: #9a958c;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
}

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

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

.quick-actions-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.quick-actions-bar a {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--line);
  padding: 20px;
  background: var(--panel);
  transition: border-color 160ms ease;
}

.quick-actions-bar a:hover {
  border-color: var(--hover-border);
}

.quick-actions-bar strong {
  color: var(--text);
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
}

.quick-actions-bar a:nth-child(3) strong {
  color: var(--accent);
}

.quick-actions-bar span {
  margin-top: 7px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
}

.season-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.season-card {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: border-color 160ms ease;
}

a.season-card:hover {
  border-color: var(--hover-border);
}

.season-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

.season-card-body {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
}

.season-card-body small {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}

.season-card-body strong {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 600;
}

.season-card-body span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.start-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  padding: 30px 32px;
  color: var(--text);
  background: var(--panel);
}

.start-route h2 {
  margin-bottom: 6px;
  font-size: 28px;
}

.start-route p:last-child {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--text-dim);
  font-size: 14px;
}

.title-about,
.episode-about {
  border-top: 3px solid var(--accent);
  padding-top: 34px;
}

.title-about h2,
.episode-about h2 {
  max-width: 680px;
}

.lead-copy {
  color: var(--text-lead);
  font-size: 15px;
  line-height: 1.62;
}

.wide-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.wide-facts > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}

.wide-facts dt {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
}

.wide-facts dd {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.subpage-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 56px 0 52px;
}

.subpage-hero h1 {
  margin-bottom: 20px;
  font-size: 60px;
}

.subpage-hero .hero-lead {
  max-width: none;
  margin-bottom: 0;
  font-size: 17px;
  color: var(--text-lead);
}

/* Season episode list (horizontal rows) */
.episode-grid {
  display: grid;
  gap: 16px;
}

.episode-section .section-heading h2,
.seasons-section .section-heading h2 {
  font-size: 38px;
}

.episode-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--panel);
  transition: border-color 160ms ease;
}

.episode-card:hover {
  border-color: var(--hover-border);
}

.episode-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--panel-2);
}

.episode-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.episode-image b {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 9px;
  color: var(--accent);
  background: rgba(10, 10, 12, 0.85);
  font-size: 12px;
  font-weight: 800;
  font-style: normal;
}

.episode-image i {
  position: absolute;
  inset: 0;
  margin: auto;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: var(--on-accent);
  background: rgba(226, 189, 126, 0.92);
  font-size: 16px;
  font-style: normal;
}

.episode-body {
  display: flex;
  flex-direction: column;
  padding: 20px 22px 20px 0;
}

.episode-body small {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.episode-body strong {
  margin: 5px 0 10px;
  font-family: var(--font-head);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.12;
}

.episode-body > span {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
}

/* Episode page */
.episode-page-head {
  padding-top: 40px;
  padding-bottom: 26px;
}

.episode-page-head .breadcrumbs {
  margin-bottom: 18px;
}

.episode-page-head h1 {
  margin-bottom: 10px;
  font-size: 52px;
}

.episode-page-head > p:last-child {
  margin-bottom: 0;
  color: #9a958c;
  font-size: 14px;
  font-weight: 600;
}

.player-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: start;
}

.player-main {
  min-width: 0;
}

.player-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  color: var(--text);
  background-color: var(--player-bg);
  background-image: var(--player-image);
  background-position: center;
  background-size: cover;
}

.player-frame {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}

.player-start {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.player-start:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -5px;
}

.player-noscript {
  position: absolute;
  z-index: 3;
  right: 20px;
  bottom: 20px;
  left: 20px;
  margin: 0;
  color: var(--text);
  text-align: center;
}

.player-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 12, 0.55), rgba(8, 9, 12, 0.25) 40%, rgba(8, 9, 12, 0.75));
}

.player-top,
.player-caption {
  position: absolute;
  z-index: 1;
  right: 24px;
  left: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.player-top {
  top: 22px;
  align-items: center;
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.player-top span:last-child {
  color: var(--accent);
}

.player-caption {
  bottom: 22px;
  align-items: flex-end;
}

.player-caption > span:first-child {
  display: flex;
  flex-direction: column;
}

.player-caption strong {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 600;
}

.player-caption span {
  color: #c8c3b9;
  font-size: 13px;
}

.player-caption > span:last-child {
  font-weight: 700;
}

.play-button {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  color: var(--on-accent);
  background: var(--accent);
  box-shadow: var(--shadow-play);
  cursor: pointer;
  font-size: 30px;
}

.player-start:hover .play-button,
.player-start:focus-visible .play-button {
  background: var(--accent-hover);
}

.episode-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.episode-controls > a,
.episode-controls > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
  border: 1px solid var(--line);
  padding: 16px 18px;
  background: var(--panel);
  transition: border-color 160ms ease;
}

.episode-controls > a:hover {
  border-color: var(--hover-border);
}

.episode-controls .next {
  align-items: flex-end;
  text-align: right;
}

.episode-controls .season-list-link {
  align-items: center;
  text-align: center;
}

.episode-controls span span,
.episode-controls a span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

.episode-controls strong {
  width: 100%;
  overflow: hidden;
  font-family: var(--font-head);
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.episode-controls .disabled {
  border-color: var(--line-soft);
  background: var(--panel-2);
  opacity: 0.5;
}

.episode-controls .disabled span {
  color: var(--text-muted);
}

/* Vertical episode carousel beside the player */
.episode-rail {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--panel);
}

.episode-rail-head {
  flex-shrink: 0;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.episode-rail-head .eyebrow {
  margin-bottom: 2px;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.episode-rail-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
}

.episode-rail-list {
  overflow-y: auto;
  max-height: 452px;
  padding: 10px;
  display: grid;
  gap: 6px;
}

.episode-rail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--panel-2);
  transition: border-color 160ms ease, background 160ms ease;
}

.episode-rail-item:hover {
  border-color: var(--hover-border);
}

.episode-rail-item span {
  flex-shrink: 0;
  width: 24px;
  color: var(--text-muted);
  font-family: var(--font-head);
  font-size: 15px;
}

.episode-rail-item strong {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.episode-rail-item.active {
  border-color: var(--hover-border);
  background: rgba(226, 189, 126, 0.12);
}

.episode-rail-item.active span {
  color: var(--accent);
}

.site-footer {
  border-top: 1px solid var(--line-soft);
  color: var(--text-nav);
  background: var(--footer-bg);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  width: min(calc(100% - 48px), var(--content));
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-inline: auto;
  padding: 40px 0;
}

.footer-brand {
  gap: 11px;
}

.footer-brand .brand-mark {
  width: 34px;
  height: 34px;
  font-size: 13px;
}

.footer-brand strong {
  font-size: 17px;
}

.footer-inner > p {
  max-width: 420px;
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--text-nav);
}

.footer-inner nav a:hover {
  color: var(--accent);
}

.toast {
  position: fixed;
  z-index: 100;
  right: 22px;
  bottom: 22px;
  max-width: min(360px, calc(100% - 44px));
  transform: translateY(14px);
  border-left: 3px solid var(--accent);
  padding: 13px 16px;
  color: var(--text);
  background: var(--panel);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.visible {
  transform: translateY(0);
  opacity: 1;
}

.information-head {
  max-width: 880px;
  padding-top: 82px;
  padding-bottom: 48px;
}

.information-head h1 {
  max-width: 100%;
  margin-bottom: 22px;
  overflow-wrap: anywhere;
}

.information-body {
  max-width: 880px;
  padding-bottom: 100px;
}

.information-body section {
  border-top: 1px solid var(--line);
  padding: 30px 0;
}

.information-body h2 {
  font-size: 28px;
}

.information-body p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--text-dim);
}

.not-found {
  min-height: calc(100vh - 252px);
  padding-top: 110px;
  padding-bottom: 110px;
}

.not-found h1 {
  max-width: 720px;
}

@media (max-width: 1040px) {
  .page-shell {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 36px;
  }

  .catalog-hero-inner {
    grid-template-columns: 1fr 320px;
    gap: 40px;
  }

  .catalog-hero-copy h1 {
    font-size: 60px;
  }

  .title-grid {
    grid-template-columns: 1fr;
  }

  .title-hero-inner {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 36px;
  }

  .title-poster {
    width: 240px;
  }

  .player-row {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}

@media (max-width: 820px) {
  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 31px;
  }

  .container,
  .header-inner,
  .footer-inner {
    width: min(calc(100% - 28px), var(--content));
  }

  .header-inner {
    min-height: 64px;
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line-soft);
    padding: 8px 14px 15px;
    background: var(--bg);
  }

  .site-nav.open {
    display: flex;
    flex-direction: column;
  }

  .site-nav a {
    padding: 12px 6px;
  }

  .site-nav .nav-accent {
    margin-top: 5px;
    text-align: center;
  }

  .catalog-hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 48px 0 56px;
  }

  .catalog-hero-copy h1 {
    font-size: 48px;
  }

  .hero-poster {
    max-width: 340px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .page-shell {
    display: block;
    padding-top: 48px;
    padding-bottom: 72px;
  }

  .side-rail {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 72px;
  }

  .side-rail > section + section {
    margin-top: 0;
  }

  .rating-widget {
    grid-column: span 2;
  }

  .collection-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .collection-heading h2 {
    font-size: 34px;
  }

  .title-hero-inner {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 28px;
    align-items: end;
    padding: 48px 0 44px;
  }

  .title-poster {
    width: 180px;
  }

  .title-hero-copy h1 {
    font-size: 43px;
  }

  .subpage-hero h1 {
    font-size: 40px;
  }

  .episode-page-head h1 {
    font-size: 40px;
  }

  .episode-section .section-heading h2,
  .seasons-section .section-heading h2 {
    font-size: 31px;
  }

  .player-row {
    grid-template-columns: 1fr;
  }

  .episode-rail-list {
    max-height: 320px;
  }

  .footer-inner {
    gap: 22px;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 39px;
  }

  h2 {
    font-size: 28px;
  }

  .information-head h1 {
    font-size: 33px;
  }

  .catalog-hero-copy h1 {
    font-size: 40px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 34px;
  }

  .hero-stats {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .hero-stats strong {
    font-size: 26px;
  }

  .hero-poster-caption {
    left: 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 22px;
  }

  .segmented {
    width: 100%;
  }

  .segmented button {
    flex: 1;
  }

  .title-card {
    grid-template-columns: 120px 1fr;
  }

  .title-card-body {
    padding: 15px 14px 14px;
  }

  .title-card h3 {
    font-size: 20px;
  }

  .title-card-body > p {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 12px;
    font-size: 12px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .card-meta span:last-child {
    display: none;
  }

  .route-list a {
    grid-template-columns: 38px 1fr 18px;
    gap: 12px;
    padding: 20px 2px;
  }

  .route-number {
    font-size: 20px;
  }

  .route-list strong {
    font-size: 18px;
  }

  .editorial-columns {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .episode-editorial {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .share-block {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }

  .share-actions {
    width: 100%;
  }

  .share-actions button {
    flex: 1;
  }

  .comment-form {
    grid-template-columns: 1fr;
  }

  .comment-form label:nth-child(2) {
    grid-row: auto;
  }

  .side-rail {
    grid-template-columns: 1fr;
  }

  .rating-widget {
    grid-column: auto;
  }

  .title-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 0 36px;
  }

  .title-poster {
    width: 140px;
  }

  .title-hero-copy h1 {
    font-size: 38px;
  }

  .quick-actions-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .season-grid {
    grid-template-columns: 1fr;
  }

  .start-route {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 22px;
  }

  .wide-facts {
    grid-template-columns: 1fr;
  }

  .subpage-hero-inner {
    padding: 44px 0 40px;
  }

  .subpage-hero h1 {
    font-size: 34px;
  }

  .episode-card {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 14px;
  }

  .episode-body {
    padding: 14px 14px 14px 0;
  }

  .episode-body strong {
    font-size: 18px;
  }

  .episode-body > span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .episode-page-head {
    padding-top: 30px;
  }

  .episode-page-head h1 {
    font-size: 34px;
  }

  .play-button {
    width: 64px;
    height: 64px;
    font-size: 22px;
  }

  .player-caption strong {
    font-size: 18px;
  }

  .episode-controls {
    gap: 8px;
  }

  .episode-controls > a,
  .episode-controls > span {
    padding: 12px;
  }

  .episode-controls strong {
    font-size: 14px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
