:root {
  --primary: #5B5BD6;
  --primary-soft: #8B8CF6;
  --deep: #12131A;
  --bg: #181A23;
  --surface: #222531;
  --surface-2: #292D3A;
  --text: #F3F4F6;
  --muted: #A7ACB8;
  --accent: #F2B84B;
  --border: rgba(243, 244, 246, .10);
  --border-strong: rgba(139, 140, 246, .30);
  --shadow: 0 24px 80px rgba(0,0,0,.28);
  --radius: 22px;
  --radius-sm: 14px;
  --shell: 1180px;
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif; line-height: 1.65; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; max-width: 100%; height: auto; }
button, input, select { font: inherit; }
button { color: inherit; }
::selection { background: rgba(139,140,246,.32); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position: fixed; left: 14px; top: 12px; z-index: 999; background: var(--accent); color: var(--deep); padding: 10px 14px; border-radius: 10px; transform: translateY(-160%); transition: transform .2s ease; font-weight: 800; }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.narrow { max-width: 760px; }
.site-main { min-height: 68vh; }

.site-header { position: sticky; top: 0; z-index: 80; background: rgba(18,19,26,.88); backdrop-filter: blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s ease, background .2s ease; }
.site-header.is-scrolled { border-bottom-color: var(--border); background: rgba(18,19,26,.96); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 205px; }
.brand img { width: 44px; height: 44px; object-fit: cover; border-radius: 13px; background: linear-gradient(145deg, var(--primary), var(--deep)); box-shadow: 0 8px 24px rgba(91,91,214,.24); }
.brand span { display: grid; gap: 1px; }
.brand strong { font-size: 18px; letter-spacing: .02em; }
.brand small { color: var(--muted); font-size: 12px; }
.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav a { color: #cfd2dc; padding: 10px 14px; border-radius: 999px; font-size: 14px; transition: background .2s ease, color .2s ease; }
.primary-nav a:hover, .primary-nav a.is-active { color: #fff; background: rgba(139,140,246,.12); }
.primary-nav a.is-active { box-shadow: inset 0 0 0 1px rgba(139,140,246,.22); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border); background: var(--surface); border-radius: 12px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-toggle span:not(.sr-only) { width: 18px; height: 2px; background: currentColor; border-radius: 2px; }

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); background:
  radial-gradient(circle at 77% 26%, rgba(91,91,214,.26), transparent 28%),
  linear-gradient(180deg, #14151d 0%, #181A23 100%); }
.hero::before { content:""; position:absolute; inset:0; opacity:.14; background-image: radial-gradient(circle at 20% 20%, #fff 0 1px, transparent 1.4px), radial-gradient(circle at 80% 35%, #fff 0 1px, transparent 1.4px), radial-gradient(circle at 46% 70%, #fff 0 1px, transparent 1.4px); background-size: 180px 180px, 240px 240px, 210px 210px; pointer-events:none; }
.hero-grid { position: relative; z-index: 1; min-height: 590px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .8fr); gap: 70px; align-items: center; padding-block: 72px; }
.hero-copy { max-width: 700px; }
.eyebrow { margin: 0 0 12px; color: var(--primary-soft); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; font-size: clamp(38px, 5.8vw, 72px); line-height: 1.04; letter-spacing: -.04em; }
h2 { margin: 0; font-size: clamp(28px, 3vw, 42px); line-height: 1.16; letter-spacing: -.025em; }
h3 { margin: 0; font-size: 20px; line-height: 1.3; }
.lead { margin: 24px 0 0; color: #c5c8d2; font-size: clamp(17px, 1.8vw, 21px); max-width: 760px; }
.action-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 18px; border-radius: 12px; font-weight: 800; border: 1px solid transparent; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 10px 30px rgba(91,91,214,.26); }
.btn--primary:hover { background: #6b6be1; }
.btn--ghost { background: rgba(255,255,255,.025); border-color: var(--border); color: var(--text); }
.btn--ghost:hover { border-color: var(--border-strong); background: rgba(139,140,246,.06); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-points span, .pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--border); color: #d7d9e0; font-size: 13px; }
.hero-art { position: relative; min-height: 420px; border-radius: 28px; overflow: hidden; border: 1px solid rgba(139,140,246,.22); box-shadow: var(--shadow); background: var(--surface); }
.hero-art::after { content:""; position:absolute; inset: 0; background: linear-gradient(180deg, transparent 44%, rgba(9,10,15,.88) 100%); }
.hero-art img { height: 100%; min-height: 420px; object-fit: cover; }
.hero-art__badge { position:absolute; z-index:2; top:18px; left:18px; padding:8px 11px; border-radius:999px; background: rgba(18,19,26,.78); border:1px solid rgba(255,255,255,.14); color: var(--accent); font-size:12px; font-weight:900; }
.hero-art__caption { position:absolute; z-index:2; left:24px; right:24px; bottom:22px; font-size:15px; color:#eceef4; }

.section { padding-block: 82px; }
.section--panel { background: var(--deep); border-block: 1px solid var(--border); }
.section-heading { margin-bottom: 28px; }
.section-heading--split { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-heading h2 { max-width: 760px; }
.section-copy { margin: 22px 0 0; color: var(--muted); font-size: 17px; max-width: 670px; }
.text-link { color: #d8d9ff; font-weight: 800; text-decoration: underline; text-decoration-color: rgba(139,140,246,.45); text-underline-offset: 5px; }
.text-link:hover { color: var(--primary-soft); }

.media-grid { display: grid; gap: 22px; }
.media-grid--featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.media-card { min-width: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); background: var(--surface); transition: transform .2s ease, border-color .2s ease; }
.media-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.media-card__visual { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface-2); }
.media-card__visual::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 52%, rgba(0,0,0,.42)); }
.media-card__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.media-card:hover .media-card__visual img { transform: scale(1.025); }
.media-card__tag { position:absolute; z-index:2; left:14px; bottom:12px; padding:6px 9px; border-radius:999px; background: rgba(18,19,26,.82); color: var(--accent); font-size:12px; font-weight:900; border:1px solid rgba(255,255,255,.12); }
.media-card__body { padding: 18px; }
.media-card__body h3 a:hover { color: var(--primary-soft); }
.media-card__body p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.media-card__meta { display:block; margin-top:14px; color:#d8dae3; font-size:12px; }

.split-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.feature-list article, .feature-grid article { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px; }
.feature-list h3 { font-size: 17px; }
.feature-list p, .feature-grid p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }

.discovery-band { display: grid; grid-template-columns: minmax(260px,.72fr) 1fr; gap: 48px; align-items: center; }
.discovery-visual { border-radius: 22px; overflow: hidden; border: 1px solid var(--border); min-height: 300px; }
.discovery-visual img { height: 100%; min-height: 300px; object-fit: cover; }
.discovery-band p:not(.eyebrow) { color: var(--muted); font-size:17px; }
.chip-links { display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.chip-links a { padding:9px 13px; border-radius:999px; background:var(--surface); border:1px solid var(--border); color:#dadce5; }
.chip-links a:hover { border-color:var(--border-strong); color:#fff; }
.compact-info { display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid var(--border); }
.compact-info p:not(.eyebrow) { color: var(--muted); max-width: 760px; }

.breadcrumb { width:min(calc(100% - 40px), var(--shell)); margin:18px auto 0; }
.breadcrumb ol { display:flex; flex-wrap:wrap; gap:8px; list-style:none; padding:0; margin:0; font-size:13px; color:var(--muted); }
.breadcrumb li:not(:last-child)::after { content:"/"; margin-left:8px; color:#5e6270; }
.breadcrumb a:hover { color:var(--primary-soft); }
.page-hero { padding-block: 74px 38px; }
.page-hero.narrow-top { max-width: 930px; margin-inline:auto; text-align:center; }
.page-hero.narrow-top .lead { margin-inline:auto; }
.page-hero h1 { font-size: clamp(38px, 5vw, 62px); }

.watch-layout { display:grid; grid-template-columns:minmax(0,1fr) 330px; gap:34px; align-items:start; }
.dense-list { display:grid; gap:14px; }
.dense-item { padding:24px; border-radius:18px; border:1px solid var(--border); background:var(--surface); }
.dense-item > div:first-child { display:flex; align-items:center; gap:10px; }
.status-dot { width:8px; height:8px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 5px rgba(242,184,75,.08); }
.dense-item p { color:var(--muted); margin:12px 0 18px; }
.dense-item dl { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin:0; }
.dense-item dl div { background:rgba(255,255,255,.025); border:1px solid rgba(255,255,255,.06); border-radius:10px; padding:10px; }
.dense-item dt { color:#7f8492; font-size:11px; }
.dense-item dd { margin:2px 0 0; font-size:13px; color:#e7e8ed; }
.watch-aside { position:sticky; top:102px; padding:18px; border:1px solid var(--border); background:var(--deep); border-radius:18px; }
.watch-aside img { border-radius:13px; aspect-ratio:16/10; object-fit:cover; margin-bottom:18px; }
.watch-aside h2 { font-size:23px; margin-bottom:15px; }
.aside-entry { display:grid; gap:4px; padding:13px 0; border-top:1px solid var(--border); }
.aside-entry strong { font-size:15px; }
.aside-entry span { color:var(--muted); font-size:12px; }
.aside-entry:hover strong { color:var(--primary-soft); }
.watch-aside .text-link { display:inline-block; margin-top:16px; font-size:13px; }
.feature-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.feature-grid h2 { font-size:18px; }
.collection-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.collection-card { position:relative; min-height:220px; border-radius:18px; overflow:hidden; border:1px solid var(--border); }
.collection-card::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.82)); }
.collection-card img { width:100%; height:100%; min-height:220px; object-fit:cover; }
.collection-card span { position:absolute; z-index:2; left:18px; right:18px; bottom:18px; display:grid; gap:4px; }
.collection-card strong { font-size:21px; }
.collection-card small { color:#d2d5de; }

.page-hero--poster { display:grid; grid-template-columns:1fr 380px; gap:60px; align-items:center; }
.page-hero--poster img { border-radius:22px; min-height:290px; object-fit:cover; border:1px solid var(--border); box-shadow:var(--shadow); }
.table-wrap { overflow-x:auto; border:1px solid var(--border); border-radius:18px; }
.media-table { width:100%; border-collapse:collapse; min-width:840px; background:var(--surface); }
.media-table th, .media-table td { text-align:left; padding:17px 18px; border-bottom:1px solid var(--border); vertical-align:top; }
.media-table th { color:#9ea3b1; font-size:12px; letter-spacing:.08em; text-transform:uppercase; background:#1d202a; }
.media-table td { font-size:14px; }
.media-table td:first-child { min-width:340px; }
.media-table td a { font-weight:800; }
.media-table td a:hover { color:var(--primary-soft); }
.media-table small { display:block; color:var(--muted); margin-top:6px; max-width:620px; }
.media-table tr:last-child td { border-bottom:0; }
.series-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.series-card { background:var(--surface); border:1px solid var(--border); border-radius:18px; padding:22px; }
.series-card h3 { margin-top:16px; }
.series-card p { color:var(--muted); }
.series-card > div { display:flex; flex-wrap:wrap; gap:8px; color:#d7dae3; font-size:12px; margin:18px 0; }
.series-card > div span { padding:5px 8px; border-radius:8px; background:rgba(255,255,255,.04); }
.series-card a { color:#d8d9ff; font-weight:800; font-size:13px; }
.image-text-band { display:grid; grid-template-columns:440px 1fr; align-items:center; gap:48px; }
.image-text-band img { border-radius:22px; min-height:260px; object-fit:cover; border:1px solid var(--border); }
.image-text-band p:not(.eyebrow) { color:var(--muted); font-size:17px; }

.official-layout { display:grid; grid-template-columns:.85fr 1.15fr; gap:20px; }
.official-card { border:1px solid var(--border); background:var(--surface); border-radius:20px; padding:28px; min-width:0; }
.official-card--visual { position:relative; min-height:350px; padding:0; overflow:hidden; }
.official-card--visual::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 44%,rgba(0,0,0,.83)); }
.official-card--visual img { width:100%; height:100%; min-height:350px; object-fit:cover; }
.official-card--visual span { position:absolute; z-index:2; left:22px; bottom:20px; color:#fff; font-weight:900; }
.fact-list { margin:22px 0 0; display:grid; gap:0; }
.fact-list div { display:grid; grid-template-columns:140px 1fr; gap:20px; padding:17px 0; border-top:1px solid var(--border); }
.fact-list dt { color:var(--muted); }
.fact-list dd { margin:0; font-weight:700; }
.route-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.route-grid a { display:block; min-height:220px; padding:25px; border-radius:18px; border:1px solid var(--border); background:var(--surface); transition:transform .2s ease,border-color .2s ease; }
.route-grid a:hover { transform:translateY(-3px); border-color:var(--border-strong); }
.route-grid span { color:var(--accent); font-weight:900; }
.route-grid strong { display:block; font-size:23px; margin-top:28px; }
.route-grid p { color:var(--muted); margin:10px 0 0; }
.prose-block { max-width:920px; }
.prose-block p { color:#bfc3ce; font-size:17px; }

.filter-nav { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-top:28px; }
.filter-nav a { padding:9px 13px; border-radius:999px; border:1px solid var(--border); background:var(--surface); color:#ccd0da; }
.filter-nav a.is-active, .filter-nav a:hover { border-color:var(--border-strong); background:rgba(91,91,214,.12); color:#fff; }
.catalog-section { border-top:1px solid var(--border); }
.catalog-section:first-of-type { border-top:0; }
.catalog-list { border-top:1px solid var(--border); }
.catalog-row { display:grid; grid-template-columns:74px minmax(0,1fr) minmax(250px,.55fr); gap:22px; align-items:start; padding:24px 0; border-bottom:1px solid var(--border); }
.catalog-row__index { color:#606577; font-size:25px; font-weight:900; letter-spacing:.06em; }
.catalog-row p { color:var(--muted); margin:8px 0 0; max-width:720px; }
.catalog-row__meta { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.catalog-row__meta span { padding:6px 9px; border:1px solid var(--border); border-radius:999px; color:#d4d6de; font-size:12px; }

.not-found { text-align:center; padding-block:130px; }
.not-found h1 { font-size:clamp(42px,7vw,72px); }
.not-found p:not(.eyebrow) { color:var(--muted); font-size:18px; }
.not-found .action-row { justify-content:center; }

.site-footer { margin-top:40px; border-top:1px solid var(--border); background:#111219; }
.footer-grid { display:grid; grid-template-columns:1.3fr .7fr .7fr; gap:50px; padding-block:54px; }
.footer-brand { font-size:22px; font-weight:900; }
.footer-grid p { color:var(--muted); max-width:520px; }
.footer-grid h2 { font-size:14px; color:#f3f4f6; margin-bottom:14px; }
.footer-grid > div:not(:first-child) { display:flex; flex-direction:column; align-items:flex-start; gap:9px; }
.footer-grid a:not(.footer-brand) { color:var(--muted); font-size:14px; }
.footer-grid a:hover { color:#fff; }
.footer-bottom { min-height:62px; border-top:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; gap:20px; color:#727785; font-size:12px; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns:1fr .8fr; gap:34px; }
  .hero-art, .hero-art img { min-height:360px; }
  .media-grid--featured { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .split-layout { grid-template-columns:1fr; gap:34px; }
  .feature-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .watch-layout { grid-template-columns:1fr; }
  .watch-aside { position:relative; top:auto; }
  .series-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .page-hero--poster { grid-template-columns:1fr 320px; gap:34px; }
  .image-text-band { grid-template-columns:340px 1fr; gap:30px; }
}

@media (max-width: 820px) {
  .header-inner { min-height:68px; }
  .menu-toggle { display:flex; }
  .primary-nav { position:fixed; inset:69px 12px auto 12px; display:grid; gap:4px; padding:12px; background:#171922; border:1px solid var(--border); border-radius:16px; box-shadow:var(--shadow); transform:translateY(-10px); opacity:0; visibility:hidden; transition:opacity .18s ease, transform .18s ease, visibility .18s ease; }
  .primary-nav.is-open { opacity:1; visibility:visible; transform:translateY(0); }
  .primary-nav a { padding:12px 14px; border-radius:10px; }
  .hero-grid { min-height:auto; grid-template-columns:1fr; padding-block:56px; }
  .hero-art { max-width:640px; width:100%; }
  .discovery-band, .official-layout, .image-text-band, .page-hero--poster { grid-template-columns:1fr; }
  .page-hero--poster img { order:-1; min-height:240px; }
  .image-text-band img { min-height:220px; }
  .route-grid { grid-template-columns:1fr; }
  .compact-info { align-items:flex-start; flex-direction:column; }
  .catalog-row { grid-template-columns:54px 1fr; }
  .catalog-row__meta { grid-column:2; justify-content:flex-start; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .footer-grid > div:first-child { grid-column:1/-1; }
}

@media (max-width: 620px) {
  .shell, .breadcrumb { width:min(calc(100% - 28px), var(--shell)); }
  .brand { min-width:0; }
  .brand small { display:none; }
  .hero-grid { gap:30px; }
  h1 { font-size:clamp(36px,12vw,52px); }
  .lead { font-size:17px; }
  .hero-art, .hero-art img { min-height:300px; }
  .section { padding-block:62px; }
  .section-heading--split { align-items:flex-start; flex-direction:column; gap:14px; }
  .media-grid--featured, .feature-list, .feature-grid, .collection-grid, .series-grid { grid-template-columns:1fr; }
  .dense-item { padding:18px; }
  .dense-item dl { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .page-hero { padding-block:54px 28px; }
  .page-hero--poster { padding-top:44px; }
  .fact-list div { grid-template-columns:1fr; gap:5px; }
  .catalog-row { grid-template-columns:42px 1fr; gap:14px; }
  .catalog-row__index { font-size:18px; }
  .footer-grid { grid-template-columns:1fr; gap:30px; }
  .footer-grid > div:first-child { grid-column:auto; }
  .footer-bottom { align-items:flex-start; flex-direction:column; justify-content:center; padding-block:14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}
/* Fine-grained component states and responsive safeguards */
.media-card__visual:focus-visible, .collection-card:focus-visible, .route-grid a:focus-visible { outline-offset: 4px; }
@supports not (backdrop-filter: blur(1px)) { .site-header { background: #12131A; } }
@supports (content-visibility: auto) {
  .catalog-section, .media-grid, .series-grid { content-visibility: auto; contain-intrinsic-size: 1px 900px; }
}
@media (hover: none) {
  .media-card:hover, .route-grid a:hover, .btn:hover { transform: none; }
}
@media (max-width: 380px) {
  .brand strong { font-size:16px; }
  .hero-points span { font-size:12px; }
  .action-row .btn { width:100%; }
  .dense-item dl { grid-template-columns:1fr; }
}
/* Accessibility, long-content, and browser hardening */
.media-table caption { text-align:left; padding:14px 18px; font-weight:800; color:#e7e8ef; background:#1b1e27; }
.media-table tbody tr:hover { background:rgba(139,140,246,.035); }
.catalog-row:target, .dense-item:target { scroll-margin-top:100px; background:rgba(91,91,214,.055); border-radius:14px; }
.catalog-row:target { padding-inline:14px; margin-inline:-14px; }
.prose-block h2 + p { margin-top:18px; }
.prose-block p + p { margin-top:14px; }
.official-card h2, .watch-aside h2 { letter-spacing:-.02em; }
.filter-nav a[aria-current="page"] { background:rgba(91,91,214,.15); }
@media (forced-colors: active) {
  .btn, .primary-nav a, .filter-nav a, .pill { border:1px solid ButtonText; }
  .status-dot { forced-color-adjust:none; background:Highlight; }
}
@media print {
  .site-header, .site-footer, .action-row, .menu-toggle, .hero-art__badge, .filter-nav { display:none !important; }
  body { background:#fff; color:#000; }
  .section, .page-hero { padding-block:22px; }
  a { color:#000; text-decoration:underline; }
  .media-card, .dense-item, .official-card, .series-card, .route-grid a, .table-wrap { border-color:#bbb; background:#fff; break-inside:avoid; }
  .section--panel { background:#fff; border-color:#bbb; }
  .eyebrow, .text-link { color:#222; }
  .lead, .section-copy, .dense-item p, .catalog-row p, .prose-block p, .footer-grid p { color:#333; }
}

/* Content-mode cards */
.home-highlights { border-top: 1px solid var(--border); }
.highlight-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.highlight-card { min-height:250px; display:flex; flex-direction:column; padding:22px; border:1px solid var(--border); border-radius:18px; background:linear-gradient(160deg,rgba(139,140,246,.07),rgba(34,37,49,.88) 44%); transition:transform .2s ease,border-color .2s ease,background .2s ease; }
.highlight-card > span { width:max-content; padding:5px 8px; border-radius:999px; background:rgba(242,184,75,.08); border:1px solid rgba(242,184,75,.18); color:var(--accent); font-size:11px; font-weight:900; }
.highlight-card h3 { margin-top:auto; padding-top:42px; font-size:19px; }
.highlight-card p { margin:10px 0 0; color:var(--muted); font-size:14px; }
.highlight-card:hover { transform:translateY(-3px); border-color:var(--border-strong); background:linear-gradient(160deg,rgba(139,140,246,.11),rgba(34,37,49,.96) 46%); }
.guide-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.guide-card { display:flex; flex-direction:column; min-height:250px; padding:24px; border-radius:18px; border:1px solid var(--border); background:var(--surface); }
.guide-card h3 { font-size:21px; }
.guide-card p { color:var(--muted); margin:12px 0 22px; }
.guide-card .text-link { margin-top:auto; width:max-content; }
.catalog-help { border-top:1px solid var(--border); }
.faq-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.faq-grid article { border:1px solid var(--border); border-radius:16px; background:var(--surface); padding:22px; }
.faq-grid h3 { font-size:17px; }
.faq-grid p { margin:10px 0 0; color:var(--muted); font-size:14px; }

/* Detailed interaction states */
.brand, .primary-nav a, .btn, .text-link, .media-card a, .collection-card, .route-grid a, .filter-nav a, .aside-entry, .highlight-card, .guide-card a { -webkit-tap-highlight-color: transparent; }
.brand:active, .primary-nav a:active, .btn:active, .filter-nav a:active { transform:translateY(1px); }
.media-card__body h3 a, .aside-entry strong, .catalog-row h3, .series-card h3 { text-wrap:balance; }
.hero-copy h1, .page-hero h1, .section-heading h2 { text-wrap:balance; }
.media-card__body p, .dense-item p, .catalog-row p, .series-card p, .guide-card p, .faq-grid p { text-wrap:pretty; }
.page-home .site-header + .site-main .hero { margin-top:0; }
.page-watch .breadcrumb + .page-hero, .page-complete .breadcrumb + .page-hero, .page-official .breadcrumb + .page-hero, .page-catalog .breadcrumb + .page-hero { padding-top:48px; }
.page-watch .section--panel .feature-grid article:nth-child(1), .page-watch .section--panel .feature-grid article:nth-child(4) { background:linear-gradient(145deg,rgba(91,91,214,.10),var(--surface)); }
.page-complete .series-card .pill { color:var(--accent); border-color:rgba(242,184,75,.16); background:rgba(242,184,75,.05); }
.page-official .official-card--visual { isolation:isolate; }
.page-official .official-card--visual::before { content:""; position:absolute; z-index:1; inset:0; box-shadow:inset 0 0 80px rgba(18,19,26,.35); pointer-events:none; }
.page-catalog .catalog-section:nth-of-type(even) .catalog-row__index { color:#6d6ee1; }
.catalog-row h3 { font-size:21px; }
.catalog-row__meta span:first-child { border-color:rgba(139,140,246,.18); }
.filter-nav { position:relative; z-index:2; }
.filter-nav a { min-height:38px; display:inline-flex; align-items:center; justify-content:center; }
.table-wrap { scrollbar-color:#555b6d #1b1d26; scrollbar-width:thin; }
.table-wrap::-webkit-scrollbar { height:10px; }
.table-wrap::-webkit-scrollbar-track { background:#1b1d26; }
.table-wrap::-webkit-scrollbar-thumb { background:#555b6d; border-radius:999px; border:2px solid #1b1d26; }
.primary-nav, .media-grid, .catalog-list, .dense-list, .series-grid { min-width:0; }
.media-card, .catalog-row > *, .dense-item, .series-card, .official-card, .route-grid > * { min-width:0; }

/* Long-title and localization safety */
.brand strong { max-width:13em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.primary-nav a { white-space:nowrap; }
.media-table td, .media-table th { word-break:break-word; }
.fact-list dd, .catalog-row__meta, .hero-art__caption { overflow-wrap:anywhere; }
.btn, .pill, .hero-points span, .chip-links a, .filter-nav a { line-height:1.25; }

/* Visual depth without bright neon treatment */
.section--panel { position:relative; }
.section--panel::before { content:""; position:absolute; inset:0; pointer-events:none; background:radial-gradient(circle at 14% 20%,rgba(91,91,214,.045),transparent 28%),radial-gradient(circle at 88% 70%,rgba(139,140,246,.035),transparent 25%); }
.section--panel > .shell { position:relative; z-index:1; }
.page-complete .page-hero--poster img, .page-official .official-card--visual, .page-watch .watch-aside img { background:#242733; }
.collection-card, .hero-art, .discovery-visual, .image-text-band img { background:linear-gradient(135deg,#252938,#191b24); }
.media-card__visual { background:linear-gradient(145deg,#262a38,#1a1c25); }

/* Better empty/missing-image visual containment */
img { color:transparent; }
.hero-art img, .media-card__visual img, .collection-card img, .discovery-visual img, .watch-aside img, .page-hero--poster img, .official-card--visual img, .image-text-band img { background:#222531; }

/* Fine spacing scale */
.section > .section-heading:last-child { margin-bottom:0; }
.section-heading .eyebrow + h2 { margin-top:0; }
.dense-list .dense-item + .dense-item { margin-top:0; }
.catalog-list .catalog-row:last-child { border-bottom:0; }
.series-grid .series-card p:last-child, .faq-grid article p:last-child, .guide-card p:last-child { margin-bottom:0; }

/* Semantic list/readability helpers */
.prose-block ul, .prose-block ol { padding-left:1.25rem; color:#bfc3ce; }
.prose-block li + li { margin-top:.5rem; }
.prose-block strong { color:#f4f5f7; }
.prose-block a { color:#d8d9ff; text-decoration:underline; text-underline-offset:4px; }
.prose-block blockquote { margin:24px 0; padding:18px 20px; border-left:3px solid var(--primary); background:rgba(91,91,214,.06); color:#c9ccd5; border-radius:0 12px 12px 0; }

/* Cross-page rhythm */
.page-watch .site-footer, .page-complete .site-footer, .page-official .site-footer, .page-catalog .site-footer { margin-top:0; }
.page-watch .collection-grid + *, .page-complete .image-text-band + *, .page-official .prose-block + *, .page-catalog .catalog-help + * { margin-top:0; }

/* Viewport-specific refinements */
@media (min-width: 1181px) {
  .hero-copy { padding-right:20px; }
  .media-grid--featured .media-card:nth-child(1), .media-grid--featured .media-card:nth-child(4) { transform:translateY(8px); }
  .media-grid--featured .media-card:nth-child(1):hover, .media-grid--featured .media-card:nth-child(4):hover { transform:translateY(5px); }
  .catalog-row__meta { padding-top:3px; }
}
@media (max-width: 1100px) {
  .highlight-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .faq-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hero-grid { gap:42px; }
  .primary-nav a { padding-inline:11px; }
}
@media (max-width: 900px) {
  .page-hero.narrow-top { text-align:left; }
  .page-hero.narrow-top .lead { margin-inline:0; }
  .filter-nav { justify-content:flex-start; }
  .watch-aside { display:grid; grid-template-columns:180px 1fr; column-gap:18px; }
  .watch-aside img { grid-row:1/6; margin:0; min-height:180px; height:100%; object-fit:cover; }
  .watch-aside .eyebrow { align-self:end; margin-bottom:2px; }
}
@media (max-width: 720px) {
  .highlight-grid, .guide-grid, .faq-grid { grid-template-columns:1fr; }
  .highlight-card { min-height:210px; }
  .guide-card { min-height:0; }
  .watch-aside { display:block; }
  .watch-aside img { height:auto; min-height:0; margin-bottom:18px; }
  .media-table th, .media-table td { padding:14px; }
  .catalog-row h3 { font-size:19px; }
}
@media (max-width: 520px) {
  .hero-copy .action-row, .page-hero .action-row { display:grid; grid-template-columns:1fr; }
  .hero-copy .action-row .btn, .page-hero .action-row .btn { width:100%; }
  .breadcrumb ol { font-size:12px; }
  .feature-list article, .feature-grid article, .faq-grid article, .guide-card { padding:18px; }
  .catalog-row { padding-block:19px; }
  .catalog-row__meta span { font-size:11px; }
  .filter-nav { gap:6px; }
  .filter-nav a { padding:8px 10px; font-size:13px; }
}
@media (max-width: 340px) {
  .shell, .breadcrumb { width:min(calc(100% - 20px), var(--shell)); }
  .brand img { width:38px; height:38px; }
  .header-inner { min-height:62px; }
  .primary-nav { top:63px; }
  .hero-points { gap:6px; }
  .hero-points span { padding:6px 8px; }
}

/* High-density desktop option based solely on available width */
@media (min-width: 1450px) {
  :root { --shell:1240px; }
  .media-grid--featured { gap:24px; }
  .hero-grid { min-height:620px; }
}

/* Landscape mobile safety */
@media (max-height: 520px) and (max-width: 900px) and (orientation: landscape) {
  .primary-nav { max-height:calc(100vh - 82px); overflow:auto; }
  .hero-grid { padding-block:40px; }
  .hero-art, .hero-art img { min-height:260px; }
}

/* No-script-safe navigation: menu remains discoverable when JS is unavailable on wider mobile browsers */
@media (max-width: 820px) {
  html:not(.js) .primary-nav { position:static; opacity:1; visibility:visible; transform:none; width:100%; }
}
