:root {
  color-scheme: light;
  --ink: #17151d;
  --text: #302c38;
  --muted: #6f6878;
  --line: #e8dde1;
  --paper: #fff8f1;
  --surface: #ffffff;
  --surface-2: #f7eef2;
  --coral: #f05d3b;
  --rose: #d93672;
  --teal: #0f9f9a;
  --violet: #7357d8;
  --gold: #e4a72b;
  --shadow: 0 16px 38px rgba(36, 25, 34, 0.12);
  --radius: 8px;
  --container: 1180px;
  --header: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: Manrope, Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid rgba(15, 159, 154, 0.45); outline-offset: 3px; }
.skip-link {
  position: fixed;
  left: 14px;
  top: 10px;
  z-index: 20;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}
.skip-link:focus { transform: none; }
.wrap { width: min(calc(100% - 36px), var(--container)); margin-inline: auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rose); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 15;
  min-height: var(--header);
  border-bottom: 1px solid rgba(255, 255, 255, 0.56);
  background: rgba(255, 248, 241, 0.86);
  backdrop-filter: blur(18px);
}
.site-header.is-scrolled { box-shadow: 0 10px 28px rgba(36, 25, 34, 0.09); }
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: var(--header);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 900; }
.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--coral), var(--rose) 55%, var(--violet));
  box-shadow: 0 10px 22px rgba(217, 54, 114, 0.24);
}
.brand span:last-child { display: grid; line-height: 1.05; }
.brand small { color: var(--muted); font-size: 11px; font-weight: 800; }
.main-nav { display: flex; justify-content: center; gap: 24px; color: var(--muted); font-size: 14px; font-weight: 800; }
.main-nav a:hover { color: var(--ink); }
.header-actions { display: flex; justify-content: flex-end; gap: 10px; }
.icon-button, .rail-button {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.icon-search::before {
  content: "";
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 50%;
  transform: translate(-2px, -2px);
}
.icon-search::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transform: translate(7px, 8px) rotate(45deg);
}
.icon-menu::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor;
}
.icon-close::before,
.icon-close::after {
  content: "";
  position: absolute;
  width: 17px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}
.icon-close::before { transform: rotate(45deg); }
.icon-close::after { transform: rotate(-45deg); }
.menu-button { display: none; }
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 17px;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}
.button:hover, .icon-button:hover, .rail-button:hover, .card:hover { transform: translateY(-2px); }
.button.secondary { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.button.teal { background: var(--teal); }
.hero {
  position: relative;
  min-height: 540px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #211b24;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 13, 20, 0.88), rgba(18, 13, 20, 0.48), rgba(18, 13, 20, 0.1)),
    linear-gradient(0deg, rgba(255, 248, 241, 1), rgba(255, 248, 241, 0.1) 44%, rgba(255, 248, 241, 0));
}
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 680px) 280px;
  align-items: end;
  gap: 34px;
  padding: 58px 0 54px;
}
.hero h1, .page-hero h1 {
  margin: 10px 0 18px;
  font-size: 58px;
  line-height: 1.02;
  letter-spacing: 0;
  color: #fff;
}
.hero p { max-width: 640px; color: rgba(255, 255, 255, 0.88); font-size: 18px; }
.hero .eyebrow { color: #c8fff7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-stats span {
  padding: 9px 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  font-weight: 850;
}
.hero-poster {
  align-self: center;
  border: 7px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.34);
}
.hero-poster img { aspect-ratio: 2 / 3; width: 100%; object-fit: cover; }
.section { padding: 52px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section h2, .page-section h2 { margin: 8px 0 0; font-size: 34px; line-height: 1.1; letter-spacing: 0; }
.section-head p { max-width: 620px; margin: 8px 0 0; color: var(--muted); }
.rail-controls { display: flex; gap: 8px; }
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 220px);
  gap: 16px;
  overflow-x: auto;
  padding: 4px 3px 20px;
  scroll-snap-type: x proximity;
}
.card {
  position: relative;
  min-height: 100%;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.18s ease;
  scroll-snap-align: start;
}
.card-link { position: absolute; inset: 0; z-index: 2; }
.poster {
  aspect-ratio: 2 / 3;
  background: var(--surface-2);
  overflow: hidden;
}
.poster img { width: 100%; height: 100%; object-fit: cover; }
.rank {
  position: absolute;
  left: 9px;
  top: 9px;
  z-index: 1;
  padding: 4px 7px;
  border-radius: 6px;
  background: rgba(23, 21, 29, 0.76);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}
.card-copy { padding: 14px; }
.kicker { color: var(--rose); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.card h3 { margin: 5px 0 5px; font-size: 18px; line-height: 1.18; letter-spacing: 0; }
.card p { margin: 0; color: var(--muted); font-size: 13px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; color: var(--muted); font-size: 12px; }
.meta span { padding: 3px 6px; border-radius: 6px; background: var(--surface-2); }
.meta .score { color: #8a5400; background: #fff2c4; }
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.route-card {
  padding: 20px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.route-card strong { display: block; font-size: 17px; }
.route-card p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.collection-card {
  display: grid;
  min-height: 100%;
  padding: 14px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease;
}
.collection-card:hover { transform: translateY(-2px); }
.collection-card.is-adult-collection {
  background: #2a232d;
  color: #fff8f1;
}
.collection-card.is-adult-collection .collection-copy p { color: #eadbd0; }
.collection-card.is-adult-collection .collection-copy small { color: #f0c75d; }
.collection-posters {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr;
  gap: 7px;
  height: 156px;
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-2);
}
.collection-posters img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.collection-posters img:first-child { grid-row: span 2; }
.adult-collection-mark {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  background:
    linear-gradient(135deg, rgba(240, 199, 93, 0.24), rgba(43, 35, 45, 0.1)),
    #3b3040;
}
.adult-collection-mark strong {
  font-size: 42px;
  line-height: 1;
  letter-spacing: 0;
}
.adult-collection-mark span {
  color: #eadbd0;
  font-size: 13px;
  font-weight: 900;
}
.collection-copy { display: grid; gap: 7px; }
.collection-copy h3 { margin: 0; font-size: 21px; line-height: 1.15; letter-spacing: 0; }
.collection-copy p { margin: 0; color: var(--muted); font-size: 14px; }
.collection-copy small { color: var(--teal); font-weight: 900; }
.collection-sticky {
  position: sticky;
  top: var(--header);
  z-index: 12;
  border-bottom: 1px solid rgba(232, 221, 225, 0.88);
  background: rgba(255, 248, 241, 0.92);
  backdrop-filter: blur(16px);
}
.collection-tabs {
  display: flex;
  gap: 8px;
  max-width: 100%;
  overflow-x: auto;
  padding: 10px 0;
}
.collection-tabs a {
  flex: 0 0 auto;
  padding: 9px 12px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}
.collection-tabs a.is-active {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}
.collection-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.collection-meta span {
  padding: 6px 9px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}
.alphabet {
  columns: 3;
  column-gap: 34px;
  padding: 22px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.alphabet a { display: block; break-inside: avoid; padding: 8px 0; color: var(--text); font-weight: 800; }
.support-hero {
  position: relative;
  min-height: 340px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #201923;
}
.support-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 13, 20, 0.88), rgba(18, 13, 20, 0.52), rgba(18, 13, 20, 0.16)),
    linear-gradient(0deg, rgba(255, 248, 241, 1), rgba(255, 248, 241, 0.12) 45%, rgba(255, 248, 241, 0));
}
.support-hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 74px 0 54px;
  color: #fff;
}
.support-hero h1 { margin: 10px 0 14px; font-size: 46px; line-height: 1.06; letter-spacing: 0; }
.support-hero p { margin: 0; color: rgba(255, 255, 255, 0.84); font-size: 18px; }
.support-hero .eyebrow { color: #c8fff7; }
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.support-card {
  min-height: 100%;
  padding: 20px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.support-card h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.2; }
.support-card p { margin: 0; color: var(--muted); }
.support-card a { font-weight: 900; color: var(--teal); }
.prose { color: var(--text); }
.prose h2 { margin: 34px 0 10px; font-size: 30px; line-height: 1.15; letter-spacing: 0; }
.prose h3 { margin: 26px 0 8px; font-size: 22px; line-height: 1.2; }
.prose p { max-width: 820px; }
.prose ul, .prose ol { max-width: 820px; padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.plain-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.plain-list li {
  padding: 16px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.plain-list strong { display: block; margin-bottom: 4px; }
.plain-list small { color: var(--muted); font-weight: 800; }
.reason-list {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.reason-list li {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.reason-list strong { display: block; }
.reason-list small { color: var(--teal); font-weight: 900; }
.reason-list p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
}
.link-stack { display: grid; gap: 10px; }
.link-stack a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  font-weight: 900;
}
.site-footer { margin-top: 48px; padding: 34px 0; border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; font-weight: 800; }
.footer-links a:hover { color: var(--ink); }
.page-hero {
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #211b24;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 13, 20, 0.84), rgba(18, 13, 20, 0.42)), linear-gradient(0deg, var(--paper), rgba(255, 248, 241, 0) 42%);
}
.page-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 190px minmax(0, 760px);
  gap: 34px;
  align-items: end;
  padding: 92px 0 50px;
  color: #fff;
}
.page-hero-content p { color: rgba(255, 255, 255, 0.84); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; color: rgba(255, 255, 255, 0.72); font-size: 13px; font-weight: 800; }
.breadcrumbs a:hover { color: #fff; }
.title-poster {
  border: 6px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.32);
}
.title-poster img { aspect-ratio: 2 / 3; width: 100%; object-fit: cover; }
.page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 38px;
  padding-top: 42px;
}
.page-shell > *, .episode-layout > *, .side-stack { min-width: 0; }
.page-section { margin-bottom: 46px; }
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}
.facts div {
  min-height: 92px;
  padding: 16px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.facts dt { color: var(--muted); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.facts dd { margin: 6px 0 0; font-weight: 900; }
.season-list, .episode-list { display: grid; gap: 12px; }
.season-row, .episode-row {
  position: relative;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 132px;
  padding: 10px 16px 10px 10px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.season-row img, .episode-row img {
  width: 118px;
  height: 112px;
  border-radius: 6px;
  object-fit: cover;
}
.season-row h3, .episode-row h3 { margin: 0 0 5px; font-size: 20px; line-height: 1.2; }
.season-row p, .episode-row p { margin: 0; color: var(--muted); font-size: 14px; }
.status-pill { padding: 5px 8px; border-radius: 6px; background: #e6f7f5; color: #086a66; font-size: 12px; font-weight: 900; }
.prose {
  padding: 26px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.prose p { margin: 0 0 14px; color: var(--text); }
.prose p:last-child { margin-bottom: 0; }
.side-stack { position: sticky; top: 88px; align-self: start; display: grid; gap: 14px; }
.side-card {
  padding: 20px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.side-card h2 { margin: 6px 0 8px; font-size: 24px; }
.side-card p { margin: 0; color: var(--muted); font-size: 14px; }
.title-route-strip {
  padding-top: 38px;
}
.title-route-strip .section-head {
  margin-bottom: 14px;
}
.title-route-strip .section-head p {
  max-width: 560px;
}
.title-season-list {
  display: grid;
  gap: 12px;
}
.title-season-card {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 112px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--surface);
}
.title-season-card img {
  width: 150px;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.title-season-card h3 {
  margin: 5px 0 5px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.18;
  font-weight: 900;
  text-transform: uppercase;
}
.title-season-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.related-card {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.16s ease;
}
.related-card:hover {
  transform: translateY(-4px);
  border-color: var(--coral);
}
.related-poster {
  aspect-ratio: 2 / 3;
  background: var(--surface-2);
  overflow: hidden;
}
.related-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related-copy {
  display: grid;
  gap: 4px;
  padding: 9px;
}
.related-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.22;
  font-weight: 800;
}
.related-card p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.25;
}
.player-shell {
  display: grid;
  min-height: 360px;
  aspect-ratio: 16 / 9;
  place-items: center;
  padding: 26px;
  border-radius: var(--radius);
  background: #17151d;
  color: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.player-shell.is-ready { background: #0f2f2d; }
.player-inner { max-width: 520px; text-align: center; }
.player-inner h2 { margin: 0 0 10px; font-size: 30px; }
.player-inner p { color: rgba(255, 255, 255, 0.76); }
.episode-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  padding-top: 34px;
}
.episode-rail {
  max-height: 620px;
  overflow: auto;
  padding-right: 4px;
}
.episode-mini {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: var(--radius);
}
.episode-mini:hover, .episode-mini.is-active { background: #fff; }
.episode-mini img { width: 76px; height: 48px; border-radius: 6px; object-fit: cover; }
.episode-mini span { color: var(--muted); font-size: 12px; font-weight: 800; }
.episode-mini strong { display: block; font-size: 14px; line-height: 1.25; }
.dialog {
  width: min(680px, calc(100% - 24px));
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #fff;
}
.dialog::backdrop { background: rgba(23, 21, 29, 0.52); }
.search-panel { padding: 24px; }
.search-top { display: flex; justify-content: space-between; gap: 20px; }
.search-field { width: 100%; margin: 12px 0 14px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.search-results { display: grid; max-height: 430px; overflow: auto; }
.search-result {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 12px;
  align-items: center;
  padding: 9px;
  border-radius: var(--radius);
}
.search-result:hover { background: var(--surface-2); }
.search-result img { width: 50px; height: 74px; border-radius: 6px; object-fit: cover; }
.search-result small { color: var(--muted); }
.mobile-panel { display: none; }

@media (max-width: 940px) {
  .main-nav, .header-actions .button { display: none; }
  .menu-button { display: grid; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .hero { min-height: auto; }
  .hero-content { grid-template-columns: 1fr; padding: 64px 0 42px; }
  .hero h1, .page-hero h1 { font-size: 42px; }
  .hero-poster { display: none; }
  .grid, .route-grid, .collections-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .support-grid, .two-column { grid-template-columns: 1fr; }
  .page-hero-content { grid-template-columns: 132px 1fr; gap: 18px; }
  .page-shell, .episode-layout { grid-template-columns: 1fr; }
  .side-stack { position: static; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .alphabet { columns: 2; }
  .mobile-panel {
    display: grid;
    gap: 4px;
    padding: 10px 18px 16px;
    border-top: 1px solid var(--line);
    background: #fff;
  }
  .mobile-panel[hidden] { display: none; }
  .mobile-panel a { padding: 9px 0; font-weight: 850; }
}

@media (max-width: 620px) {
  .wrap { width: min(calc(100% - 24px), var(--container)); }
  .hero h1, .page-hero h1 { font-size: 34px; }
  .support-hero h1 { font-size: 34px; }
  .support-hero-content { padding: 56px 0 40px; }
  .section h2, .page-section h2 { font-size: 27px; }
  .section-head { align-items: start; flex-direction: column; }
  .rail { grid-auto-columns: minmax(168px, 190px); }
  .grid, .route-grid, .collections-grid, .facts { grid-template-columns: 1fr; }
  .alphabet { columns: 1; }
  .page-hero-content { grid-template-columns: 1fr; }
  .title-poster { width: 142px; }
  .player-shell { min-height: 244px; aspect-ratio: auto; padding: 20px; }
  .player-inner { max-width: 100%; }
  .season-row, .episode-row { grid-template-columns: 86px 1fr; }
  .season-row img, .episode-row img { width: 86px; height: 86px; }
  .status-pill { grid-column: 1 / -1; justify-self: start; }
  .footer-inner { display: grid; }
}

/* AnimeHouse design handoff layer. The generated MVP keeps its static routes and
   safety gates, while this layer moves the preview to the approved visual system. */
:root {
  color-scheme: dark;
  --ink: #f4eef0;
  --text: #f4eef0;
  --muted: #8f858f;
  --muted-2: #a89fa6;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: #2e2932;
  --paper: #0b0a0d;
  --surface: #141117;
  --surface-2: #1c1820;
  --surface-3: #17131a;
  --coral: #ff5c38;
  --rose: #ff4d87;
  --teal: #23c7bd;
  --violet: #7b61ff;
  --gold: #f0b429;
  --shadow: none;
  --radius: 0;
  --container: 1440px;
  --header: 72px;
}

* { letter-spacing: 0 !important; }
html { scroll-padding-top: 92px; }
body {
  color: var(--ink);
  background: var(--paper);
  font-family: Archivo, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--coral); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { width: min(calc(100% - 88px), var(--container)); }
.skip-link {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}
.eyebrow {
  gap: 10px;
  color: var(--coral);
  font-size: 11px;
  font-weight: 900;
}
.eyebrow::before {
  width: 24px;
  height: 2px;
  border-radius: 0;
  background: var(--coral);
}
.site-header {
  border-bottom: 2px solid var(--coral);
  background: rgba(11, 10, 13, 0.94);
  backdrop-filter: blur(20px);
}
.site-header.is-scrolled { box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38); }
.header-inner {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 32px;
}
.brand {
  gap: 10px;
  color: var(--ink);
  text-transform: uppercase;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 0;
  background: var(--coral);
  box-shadow: none;
  transform: rotate(-6deg);
}
.brand small { color: var(--muted); }
.main-nav {
  justify-content: start;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.main-nav a {
  padding: 7px 12px;
  transition: color 0.15s ease, background 0.15s ease;
}
.main-nav a:hover {
  color: var(--ink);
  background: var(--surface-2);
}
.header-actions { align-items: center; gap: 10px; }
.header-search-button {
  display: inline-flex;
  width: min(32vw, 330px);
  height: 40px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.header-search-button:hover,
.header-search-button:focus-visible {
  border-color: var(--coral);
  color: var(--ink);
}
.icon-button,
.rail-button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--surface);
  color: var(--ink);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.icon-button:hover,
.rail-button:hover {
  transform: translateY(-2px);
  border-color: var(--coral);
  background: var(--surface-2);
}
.button {
  min-height: 44px;
  padding: 0 22px;
  border-radius: 0;
  background: var(--gold);
  color: #0b0a0d;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.button:hover { transform: translateY(-2px); background: var(--ink); color: #0b0a0d; }
.button.teal { background: var(--coral); color: #fff; }
.button.teal:hover { background: var(--gold); color: #0b0a0d; }
.button.secondary {
  border: 2px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}
.button.secondary:hover {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}
.hero {
  min-height: 540px;
  background: #15121a;
}
.hero-bg { object-position: 64% 30%; }
.hero::after {
  background:
    linear-gradient(90deg, rgba(11, 10, 13, 0.96) 0%, rgba(11, 10, 13, 0.74) 42%, rgba(11, 10, 13, 0.16) 100%),
    linear-gradient(0deg, #0b0a0d 0%, rgba(11, 10, 13, 0.1) 46%, rgba(11, 10, 13, 0) 100%);
}
.hero-content {
  grid-template-columns: minmax(0, 660px) 260px;
  gap: 36px;
  padding: 80px 0 56px;
}
.hero h1,
.page-hero h1,
.support-hero h1,
.title-intro h1,
.player-title {
  color: var(--ink);
  font-size: 56px;
  line-height: 0.98;
  font-weight: 900;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.hero p,
.page-hero-content p,
.support-hero p,
.title-intro p {
  color: var(--muted-2);
  font-size: 15px;
  line-height: 1.6;
}
.hero-feature {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 10px;
  margin: 2px 0 6px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.hero-feature strong { color: var(--ink); }
.hero-stats span {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0;
  background: rgba(20, 17, 23, 0.82);
  color: var(--muted-2);
  font-size: 12px;
}
.hero-poster {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.48);
  transform: rotate(1deg);
}
.home-marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--coral);
  color: #fff;
  transform: rotate(-1deg);
}
.home-marquee-track {
  display: flex;
  width: max-content;
  animation: ah-marquee 28s linear infinite;
}
.home-marquee span {
  flex: 0 0 auto;
  padding: 9px 18px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}
@keyframes ah-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.section { padding: 52px 0 0; }
.section:last-child { padding-bottom: 54px; }
.section-head {
  align-items: end;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}
.section h2,
.page-section h2 {
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}
.section-head p { color: var(--muted); font-size: 13px; }
.section-index {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
}
.rail {
  grid-auto-columns: minmax(150px, 1fr);
  gap: 12px;
  padding: 2px 2px 14px;
}
.card {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  background: var(--surface);
  box-shadow: none;
  transition: transform 0.22s cubic-bezier(.2,.8,.3,1.3), border-color 0.16s ease, box-shadow 0.16s ease;
}
.card:hover {
  transform: translateY(-8px) scale(1.035);
  border-color: var(--coral);
  box-shadow: 0 20px 34px rgba(255, 92, 56, 0.28);
}
.poster { background: var(--surface-2); }
.rank {
  left: 0;
  top: 0;
  border-radius: 0;
  background: rgba(11, 10, 13, 0.86);
  color: var(--ink);
  font-size: 10px;
}
.card-copy {
  display: grid;
  gap: 4px;
  padding: 9px 9px 11px;
}
.kicker {
  color: var(--coral);
  font-size: 9px;
  font-weight: 900;
}
.card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.22;
  font-weight: 800;
}
.card p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}
.meta {
  gap: 5px;
  margin-top: 4px;
  font-size: 10px;
}
.meta span {
  border-radius: 0;
  background: var(--surface-2);
  color: var(--muted);
  word-break: break-word;
}
.meta .score {
  background: var(--gold);
  color: #0b0a0d;
  font-weight: 900;
}
.grid {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.route-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.route-card,
.support-card,
.plain-list li,
.side-card,
.facts div,
.link-stack a {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  background: var(--surface);
  box-shadow: none;
  color: var(--ink);
}
.route-card strong,
.support-card h3,
.plain-list strong,
.side-card h2 {
  color: var(--ink);
  font-weight: 900;
  text-transform: uppercase;
}
.route-card p,
.support-card p,
.plain-list small,
.side-card p { color: var(--muted); }
.collections-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.collection-card {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  background: var(--surface);
  box-shadow: none;
  transition: transform 0.22s cubic-bezier(.2,.8,.3,1.3), border-color 0.16s ease;
}
.collection-card:hover {
  transform: translateY(-6px);
  border-color: var(--coral);
}
.collection-card.is-adult-collection {
  border-color: rgba(240, 180, 41, 0.38);
  background: var(--surface-3);
}
.collection-card.is-adult-collection:hover { border-color: var(--gold); }
.collection-posters {
  grid-template-columns: repeat(3, 1fr);
  height: auto;
  aspect-ratio: 16 / 6.5;
  border-radius: 0;
  background: var(--surface-2);
}
.collection-posters img:first-child { grid-row: auto; }
.adult-collection-mark { background: var(--surface-2); }
.adult-collection-mark strong { color: var(--gold); }
.collection-copy small {
  color: var(--rose);
  font-size: 10px;
  text-transform: uppercase;
}
.collection-copy h3 {
  color: var(--ink);
  font-size: 19px;
  font-weight: 900;
  text-transform: uppercase;
}
.collection-copy p { color: var(--muted); }
.collection-sticky {
  top: var(--header);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 10, 13, 0.94);
}
.collection-tabs a {
  border-radius: 0;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}
.collection-tabs a.is-active {
  background: var(--coral);
  color: #fff;
}
.collection-meta span,
.status-pill {
  border-radius: 0;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted-2);
}
.alphabet {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  background: var(--surface);
  box-shadow: none;
}
.alphabet a {
  color: var(--text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}
.alphabet a:hover { color: var(--coral); }
.legend-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}
.legend-row {
  display: grid;
  grid-template-columns: 64px 64px minmax(0, 1fr) 120px 120px 76px;
  align-items: center;
  gap: 24px;
  padding: 14px 20px;
  background: var(--paper);
  color: var(--ink);
}
.legend-row:hover { background: var(--surface); }
.legend-row img {
  width: 64px;
  height: 96px;
  object-fit: cover;
}
.legend-rank {
  color: #5c545d;
  font-size: 24px;
  font-weight: 900;
}
.legend-name {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.legend-name strong {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}
.legend-name span,
.legend-stat { color: var(--muted); font-size: 12px; font-weight: 800; }
.legend-score {
  justify-self: end;
  padding: 4px 8px;
  background: var(--gold);
  color: #0b0a0d;
  font-size: 12px;
  font-weight: 900;
}
.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.chip.is-active {
  border-color: var(--coral);
  background: var(--coral);
  color: #fff;
}
.support-hero,
.page-hero {
  min-height: 340px;
  background: #15121a;
}
.support-hero::after,
.page-hero::after {
  background:
    linear-gradient(90deg, rgba(11, 10, 13, 0.94), rgba(11, 10, 13, 0.58), rgba(11, 10, 13, 0.18)),
    linear-gradient(0deg, #0b0a0d, rgba(11, 10, 13, 0.12) 45%, rgba(11, 10, 13, 0));
}
.support-hero-content { padding: 82px 0 52px; }
.support-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}
.support-card {
  padding: 22px;
}
.support-card h3 { font-size: 18px; }
.support-card a { color: var(--ink); }
.support-card a:hover { color: var(--coral); }
.support-card.prose,
.side-stack .support-card { min-height: auto; }
.support-card.prose h2:first-child { margin-top: 0; }
.support-card.prose + .support-card.prose { margin-top: 16px; }
.support-card.prose .link-stack { margin: 14px 0 0; }
.two-column {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
}
.prose {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  background: var(--surface);
  box-shadow: none;
  color: var(--text);
}
.prose h2,
.prose h3 {
  color: var(--ink);
  font-weight: 900;
  text-transform: uppercase;
}
.prose p,
.prose li { color: var(--muted-2); }
.site-footer {
  margin-top: 56px;
  padding: 44px 0;
  border-top: 0;
  background: var(--coral);
  color: #fff;
}
.footer-inner { align-items: center; }
.site-footer strong {
  display: block;
  color: #fff;
  font-size: 34px;
  line-height: 0.9;
  font-weight: 900;
  text-transform: uppercase;
}
.site-footer span,
.footer-links a { color: rgba(255, 255, 255, 0.84); }
.footer-links {
  gap: 22px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.footer-links a:hover { color: #fff; }
.title-intro {
  padding: 22px 0 0;
}
.title-intro-content {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.title-intro-poster {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--surface-2);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.45);
}
.title-intro-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.title-intro-main {
  display: grid;
  gap: 14px;
  max-width: 760px;
}
.title-intro h1 {
  margin: 0;
  font-size: 42px;
}
.breadcrumbs {
  color: #5c545d;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--coral); }
.title-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.title-meta span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.title-meta .score {
  padding: 5px 10px;
  background: var(--gold);
  color: #0b0a0d;
}
.page-shell {
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  padding-top: 48px;
}
.facts {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}
.facts div {
  min-height: 86px;
  padding: 14px;
}
.facts dt {
  color: var(--muted);
  font-size: 10px;
}
.facts dd {
  color: var(--ink);
  font-size: 14px;
}
.season-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.season-row {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.season-row img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 0;
}
.season-row > div {
  display: grid;
  gap: 6px;
  padding-top: 10px;
}
.season-row h3 {
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
}
.season-row p { color: var(--muted); }
.season-row .button,
.season-row .status-pill {
  justify-self: start;
  margin-top: 6px;
}
.episode-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.episode-row {
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 0;
  padding: 14px;
  border-left: 3px solid transparent;
  border-radius: 0;
  background: var(--surface);
  box-shadow: none;
  transition: background 0.16s ease, border-color 0.16s ease;
}
.episode-row:hover {
  border-left-color: var(--coral);
  background: #19151b;
}
.episode-row img {
  width: 150px;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 0;
}
.episode-row h3 {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}
.episode-row p { color: var(--muted); }
.episode-row .button {
  grid-column: 2;
  justify-self: start;
  margin-top: 8px;
}
.side-stack { top: 96px; }
.side-card {
  padding: 20px;
  min-width: 0;
  overflow: hidden;
}
.side-card .eyebrow::before { background: var(--gold); }
.player-shell {
  position: relative;
  display: block;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: #000;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  cursor: pointer;
}
.player-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 10, 13, 0.9) 0%, rgba(11, 10, 13, 0.18) 45%, rgba(11, 10, 13, 0.35) 100%);
  transition: opacity 0.24s ease;
}
.player-shell.is-ready::after { opacity: 0.28; }
.player-bg {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.74;
  transition: opacity 0.24s ease;
}
.player-shell.is-ready .player-bg { opacity: 0.95; }
.player-inner {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  z-index: 1;
  max-width: 760px;
  text-align: left;
}
.player-inner h1,
.player-inner h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}
.player-inner p { color: var(--muted-2); }
.player-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  margin: auto;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: rgba(11, 10, 13, 0.55);
  color: var(--ink);
  font-size: 28px;
  cursor: pointer;
}
.player-play:hover {
  border-color: var(--coral);
  background: var(--coral);
}
.player-progress {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  z-index: 3;
  display: none;
  gap: 10px;
}
.player-shell.is-ready .player-inner { opacity: 0; pointer-events: none; }
.player-shell.is-ready .player-play { display: none; }
.player-shell.is-ready .player-progress { display: grid; }
.player-progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.22);
}
.player-progress-bar span {
  display: block;
  width: 38%;
  height: 100%;
  background: var(--coral);
}
.player-progress small {
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 900;
}
.player-frame {
  position: absolute;
  z-index: 5;
  display: none;
  inset: 0;
  background: #000;
}
.player-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.player-shell.is-ready .player-frame { display: block; }
.player-shell.is-ready::after { display: none; }
.player-status {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 14px;
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 800;
}
.player-shell.is-ready .player-status { display: none; }
.episode-layout {
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px;
  padding-top: 20px;
}
.episode-rail {
  width: 100%;
  max-width: 100%;
}
.episode-mini {
  grid-template-columns: 104px minmax(0, 1fr);
  padding: 8px;
  border-left: 3px solid transparent;
  border-radius: 0;
  color: var(--muted-2);
}
.episode-mini:hover,
.episode-mini.is-active {
  border-left-color: var(--coral);
  background: var(--surface-3);
  color: var(--ink);
}
.episode-mini img {
  width: 104px;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 0;
}
.dialog {
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface-3);
  color: var(--ink);
}
.dialog::backdrop { background: rgba(0, 0, 0, 0.72); }
.search-field {
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
}
.search-result {
  border-radius: 0;
  color: var(--ink);
}
.search-result:hover { background: var(--surface-2); }
.search-result small { color: var(--muted); }

@media (max-width: 1060px) {
  .header-search-button { display: none; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .episode-list { grid-template-columns: 1fr; }
}

@media (max-width: 940px) {
  :root { --header: 56px; }
  .wrap { width: min(calc(100% - 32px), var(--container)); }
  .site-header { min-height: var(--header); }
  .header-inner { min-height: var(--header); }
  .brand-mark { width: 28px; height: 28px; font-size: 12px; }
  .brand span:last-child { font-size: 14px; }
  .brand small { display: none; }
  .mobile-panel {
    border-top: 1px solid var(--line);
    background: var(--paper);
  }
  .mobile-panel a {
    color: var(--muted-2);
    font-size: 12px;
    text-transform: uppercase;
  }
  .hero-content,
  .title-intro-content,
  .page-hero-content,
  .page-shell,
  .two-column,
  .episode-layout {
    grid-template-columns: 1fr;
  }
  .hero-content { padding: 64px 0 38px; }
  .hero h1,
  .support-hero h1,
  .page-hero h1 { font-size: 38px; }
  .hero-poster { display: none; }
  .collections-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .support-grid { grid-template-columns: 1fr; }
  .season-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legend-row {
    grid-template-columns: 44px 54px minmax(0, 1fr) 64px;
    gap: 12px;
  }
  .legend-stat { display: none; }
  .legend-row img { width: 54px; height: 81px; }
}

@media (max-width: 620px) {
  body { font-size: 14px; }
  .section { padding-top: 38px; }
  .section h2,
  .page-section h2 { font-size: 22px; }
  .section-head {
    align-items: start;
    gap: 12px;
  }
  .hero h1,
  .title-intro h1,
  .player-title { font-size: 30px; }
  .hero p,
  .title-intro p { font-size: 13px; }
  .hero-stats span { font-size: 11px; }
  .rail { grid-auto-columns: 128px; }
  .card-copy { padding: 8px; }
  .card h3 { font-size: 11px; }
  .card p,
  .meta { font-size: 9.5px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .collections-grid,
  .season-list,
  .facts { grid-template-columns: 1fr; }
  .collection-posters { aspect-ratio: 16 / 7.5; }
  .title-intro-poster { width: 118px; }
  .title-intro-content { gap: 16px; }
  .episode-row {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 10px;
    padding: 8px;
  }
  .episode-row img { width: 104px; }
  .episode-row h3 { font-size: 12px; }
  .episode-row p { display: none; }
  .episode-row .button {
    grid-column: 2;
    min-height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--coral);
  }
  .player-play { width: 52px; height: 52px; font-size: 18px; }
  .player-inner {
    left: 14px;
    right: 14px;
    bottom: 12px;
  }
  .player-inner h1,
  .player-inner h2 { font-size: 16px; }
  .player-inner p { display: none; }
  .episode-rail {
    display: flex;
    gap: 8px;
    max-height: none;
    overflow-x: auto;
    padding: 0 0 8px;
    scroll-snap-type: x mandatory;
  }
  .episode-mini {
    flex: 0 0 128px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    scroll-snap-align: start;
  }
  .episode-mini img { width: 100%; }
  .footer-inner { display: grid; }
  .site-footer strong { font-size: 24px; }
}

@media (max-width: 940px) {
  .title-intro-content {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 24px;
  }
  .title-intro-poster {
    width: 160px;
  }
  .title-intro h1 {
    font-size: 36px;
  }
  .title-season-card {
    grid-template-columns: 132px minmax(0, 1fr);
  }
  .title-season-card .button,
  .title-season-card .status-pill {
    grid-column: 2;
    justify-self: start;
  }
  .related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .title-intro-content {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .title-intro-poster {
    width: 118px;
  }
  .title-intro h1 {
    font-size: 30px;
  }
  .title-route-strip {
    padding-top: 26px;
  }
  .title-season-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px;
    padding: 8px;
  }
  .title-season-card img {
    width: 96px;
  }
  .title-season-card h3 {
    font-size: 13px;
  }
  .title-season-card p {
    font-size: 11px;
  }
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .related-copy {
    padding: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none !important; }
}
