:root {
  --bg: #0b0b10;
  --surface: #15151d;
  --surface-2: #1d1d27;
  --line: #2a2a36;
  --text: #f3f1ec;
  --muted: #a3a1ad;
  --accent: #ff3d5a;
  --gold: #f5c26b;
  --radius: 12px;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 14px var(--gutter);
  background: rgba(11, 11, 16, .88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.logo { font-weight: 800; font-size: 20px; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.logo-ai { color: var(--bg); background: var(--gold); padding: 1px 6px; border-radius: 6px; margin-right: 2px; }
.nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.nav::-webkit-scrollbar { display: none; }
.nav a { text-decoration: none; color: var(--muted); padding: 6px 10px; border-radius: 8px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav-search { color: var(--text) !important; border: 1px solid var(--line); }

/* Hero (Netflix-style billboard) */
.hero {
  position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end;
  padding: 0 var(--gutter) clamp(40px, 8vh, 90px); overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(11,11,16,.6) 28%, rgba(11,11,16,0) 60%),
    linear-gradient(to right, rgba(11,11,16,.92) 0%, rgba(11,11,16,.55) 38%, rgba(11,11,16,0) 70%);
}
.hero-inner { max-width: 620px; }
.hero h1 { font-size: clamp(34px, 6vw, 64px); line-height: 1.02; letter-spacing: -.03em; margin: 6px 0 12px; }
.hero-title { font-size: clamp(40px, 7.5vw, 84px) !important; font-weight: 900; text-shadow: 0 4px 30px rgba(0,0,0,.5); }
.hero-sub { color: #e2dfe8; font-size: clamp(15px, 1.8vw, 19px); margin: 0 0 22px; text-shadow: 0 2px 12px rgba(0,0,0,.6);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-play { background: #fff; color: #000; }
.hero .btn-ghost { background: rgba(109,109,110,.7); border: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; color: var(--gold); margin: 0; }
.rows { margin-top: -40px; position: relative; z-index: 1; }

.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 700; padding: 12px 20px; border-radius: 10px;
}
.btn:hover { filter: brightness(1.1); }
.btn-ghost { background: transparent; border: 1px solid var(--line); }

/* Rows */
.row { padding: 28px 0 8px; }
.row-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 var(--gutter); }
.row-head h2 { font-size: 21px; margin: 0 0 10px; letter-spacing: -.01em; }
.row-head h2 a { text-decoration: none; }
.row-head .chev { color: var(--accent); opacity: 0; transition: opacity .15s, margin .15s; }
.row:hover .chev { opacity: 1; margin-left: 4px; }
.see-all { color: var(--muted); font-size: 14px; text-decoration: none; }
.see-all:hover { color: var(--text); }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 280px); gap: 14px;
  overflow-x: auto; overflow-y: visible; padding: 10px var(--gutter) 22px; scroll-snap-type: x proximity;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
}
.rail > .card { scroll-snap-align: start; }
.rail-tall { grid-auto-columns: minmax(150px, 180px); }

/* Cards */
.card { text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, border-color .2s, box-shadow .2s; }
.card:hover, .card:focus-visible { transform: scale(1.05); border-color: #55556a; box-shadow: 0 14px 34px rgba(0,0,0,.55); z-index: 2; position: relative; }
.card-media { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-tall .card-media { aspect-ratio: 9 / 16; }
.card-tall .card-body { padding: 8px 10px 10px; }
.card-tall .card-title { font-size: 14px; }
.grid-tall { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.badge { position: absolute; left: 8px; top: 8px; background: rgba(0,0,0,.72); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; }
.card-body { padding: 10px 12px 12px; }
.card-title { font-size: 15px; line-height: 1.3; margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { color: var(--muted); font-size: 13px; margin: 0; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; padding: 8px var(--gutter) 40px; }

/* Page heads */
.page-head { padding: 36px var(--gutter) 12px; max-width: 900px; }
.page-head h1 { font-size: clamp(30px, 5vw, 46px); letter-spacing: -.02em; margin: 0 0 6px; }
.page-head p { color: var(--muted); margin: 0 0 6px; }
.count { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.prose p, .prose h2 { color: var(--text); }
.prose p { color: #d6d3dc; max-width: 68ch; }
.empty { padding: 48px var(--gutter); color: var(--muted); text-align: center; }
.empty a { color: var(--gold); }

/* Watch page */
.watch { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; padding: 28px var(--gutter); align-items: start; }
.player { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.player-portrait { aspect-ratio: 9 / 16; max-height: 78vh; margin: 0 auto; width: auto; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play { all: unset; cursor: pointer; position: absolute; inset: 0; display: block; }
.play img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.play-icon { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--accent); box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.play-icon::after { content: ""; position: absolute; left: 30px; top: 22px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent #fff; }
.play:hover .play-icon, .play:focus-visible .play-icon { transform: scale(1.06); }
.watch-info h1 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; letter-spacing: -.02em; margin: 6px 0 8px; }
.by { color: var(--muted); margin: 0 0 14px; }
.by a { color: var(--gold); }
.desc { color: #d6d3dc; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.tag { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); text-decoration: none; }
.tag-tool { color: var(--gold); }

/* Search */
.search input {
  width: 100%; max-width: 640px; font: inherit; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-top: 12px;
}
.search input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 28px var(--gutter) 40px; color: var(--muted); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 16px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.fine { margin: 6px 0; }
.fine a { color: var(--gold); }

/* Header: nav, search box, account */
.nav a[aria-current] { color: var(--text); background: var(--surface-2); }
.nav-searchbox { margin-left: auto; flex: 0 1 260px; min-width: 150px; }
.nav-searchbox input { width: 100%; font: inherit; font-size: 14px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; }
.nav-searchbox input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.nav-account { text-decoration: none; font-weight: 700; font-size: 14px; padding: 7px 14px; border-radius: 999px; background: var(--accent); color: #fff; white-space: nowrap; }
/* Genre tabs */
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px var(--gutter) 4px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { text-decoration: none; white-space: nowrap; font-weight: 700; font-size: 14px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); background: var(--surface); }
.tabs a:hover { color: var(--text); }
.tabs a[aria-selected="true"] { color: var(--bg); background: var(--gold); border-color: var(--gold); }
/* Header: submit link */
.nav-upload { color: var(--gold) !important; }

/* Forms (upload, DMCA, admin) */
.form { display: grid; gap: 18px; max-width: 760px; padding: 8px var(--gutter) 48px; }
.form-inline { display: flex; gap: 10px; flex-wrap: wrap; padding: 0 var(--gutter) 20px; max-width: none; }
.field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label, .field legend { font-weight: 700; font-size: 14px; }
.req { color: var(--accent); }
.hint { color: var(--muted); font-size: 13px; margin: 0; font-weight: 400; }
.form input:not([type=checkbox]):not([type=radio]), .form textarea, .a-note {
  width: 100%; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px;
}
.form-inline input { width: auto; flex: 1 1 260px; }
.form input:focus, .form textarea:focus, .a-note:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form input[type=file] { padding: 10px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: inline-flex; align-items: flex-start; gap: 8px; font-weight: 400; font-size: 14px; cursor: pointer; }
.checks .check { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); }
.checks .check:has(input:checked) { border-color: var(--accent); }
.check input { accent-color: var(--accent); margin-top: 3px; }
.check-terms { color: #d6d3dc; line-height: 1.45; }
.check-terms a, .form-msg a { color: var(--gold); }
.form .btn { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.btn[disabled] { opacity: .5; cursor: wait; }
button.btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
button.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; font-weight: 600; }
.form-msg.ok { color: #7ee0a1; }
.form-msg.err { color: var(--accent); }
.progress .bar { height: 8px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.progress .bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.u-preview { width: 100%; max-height: 320px; background: #000; border-radius: var(--radius); margin-top: 6px; }

/* Show pages (Horrorville) */
.hero-show { min-height: min(62vh, 620px); }
.subnav { display: flex; gap: 6px; flex-wrap: wrap; padding: 18px var(--gutter) 0; }
.subnav a { text-decoration: none; color: var(--muted); font-weight: 700; font-size: 15px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); }
.subnav a:hover { color: var(--text); }
.subnav a[aria-current] { color: var(--bg); background: var(--gold); border-color: var(--gold); }
.show-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; padding: 8px var(--gutter) 24px; align-items: start; }
.show-main { padding: 8px var(--gutter) 24px; max-width: 900px; }
.show-layout .show-main { padding: 0; }
.show-main h2 { font-size: 24px; letter-spacing: -.01em; margin: 32px 0 10px; }
.show-side { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: 84px; margin-top: 32px; }
.show-side h2, .show-side h3 { font-size: 16px; margin: 18px 0 8px; }
.show-side h2:first-child { margin-top: 0; }
.show-side a:not(.btn) { color: var(--gold); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.plain { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; color: #d6d3dc; }
.episode-guide { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.episode-guide a { display: grid; grid-template-columns: 180px 1fr; gap: 16px; align-items: center; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; transition: border-color .2s; }
.episode-guide a:hover { border-color: #55556a; }
.episode-guide li.is-current a { border-color: var(--accent); }
.episode-guide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.episode-guide h3 { margin: 2px 0 4px; font-size: 16px; }
.episode-guide p { margin: 0; color: #d6d3dc; font-size: 14px; }
.episode-guide .ep-num { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.faq dt { font-weight: 700; margin-top: 14px; }
.faq dd { margin: 4px 0 0; color: #d6d3dc; }
.char-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; padding: 20px var(--gutter); }
.char { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.char h2 { margin: 0; font-size: 22px; }
.char-role { color: var(--gold); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin: 4px 0 10px; }
.char p:last-child { color: #d6d3dc; margin: 0; }
.ep-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.eyebrow a { color: inherit; }
.agent { font-style: normal; line-height: 1.6; }
.footer-legal { border-top: 1px solid var(--line); padding-top: 14px; }
.player video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }

/* Admin */
.a-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.admin #a-body { padding: 0 var(--gutter) 40px; }
.a-item { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; }
.a-notice { grid-template-columns: 1fr; }
.a-media video { width: 100%; border-radius: 8px; background: #000; }
.a-info h2 { margin: 0 0 4px; font-size: 20px; }
.a-info p { margin: 6px 0; }
.a-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.a-actions .a-note { flex: 1 1 220px; width: auto; }
.a-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 16px; }
.a-stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.a-stat strong { display: block; font-size: 28px; }
.a-stat span { color: var(--muted); font-size: 13px; }
.a-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.a-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 14px; }
.a-card h3 { margin: 0 0 8px; font-size: 15px; }
.a-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.a-table td, .a-table th { padding: 5px 6px; border-top: 1px solid var(--line); text-align: left; }
.a-num { text-align: right !important; font-variant-numeric: tabular-nums; width: 1%; white-space: nowrap; }
.a-barcell { width: 30%; }
.a-barcell span { display: block; height: 6px; border-radius: 999px; background: var(--accent); }

@media (max-width: 820px) {
  .watch { grid-template-columns: 1fr; gap: 20px; padding-top: 16px; }
  .site-header { gap: 10px; }
  .rail { grid-auto-columns: 72%; }
  .rail-tall { grid-auto-columns: 42%; }
  .grid-tall { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .hero { min-height: 70vh; }
  .rows { margin-top: -20px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .field-row, .show-layout, .a-item { grid-template-columns: 1fr; }
  .site-header { position: static; }
  .nav-account { order: 1; margin-left: auto; }
  .nav-searchbox { order: 2; flex: 1 1 100%; margin-left: 0; }
  .nav { order: 3; width: 100%; }
  .show-side { position: static; margin-top: 0; }
  .episode-guide a { grid-template-columns: 120px 1fr; gap: 12px; }
}
.notfound .search input { margin: 18px auto 14px; display: block; }
.nf-links { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.about .lead { font-size: 19px; color: var(--text); max-width: 62ch; }
.about h1 { max-width: 16ch; }
.how { padding-left: 20px; display: grid; gap: 10px; color: #d6d3dc; max-width: 68ch; }
.how a, .about p a:not(.btn) { color: var(--gold); }
/* Accounts */
.auth-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; padding: 8px var(--gutter) 48px; max-width: 900px; }
.auth-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; max-width: none; }
.auth-card h2 { margin: 0; font-size: 20px; }
.auth-card .hint a { color: var(--gold); }
.acct-signout { padding: 8px var(--gutter) 40px; }
.user-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0 0 16px; }
.ua-list[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }
.stars { display: inline-flex; gap: 2px; }
.stars button { all: unset; cursor: pointer; font-size: 24px; line-height: 1; color: #4a4a5a; padding: 2px; }
.stars button.on, .stars:hover button { color: var(--gold); }
.stars button:hover ~ button { color: #4a4a5a; }
.stars button:focus-visible { outline: 2px solid var(--accent); border-radius: 4px; }
.ua-avg { color: var(--muted); font-size: 14px; }

/* ---------- Streaming Verticals ---------- */
:root { --accent: #ff2e63; --gold: #ffb84d; --ai: #8b5cf6; --live: #ff2e63; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .02em; font-size: 19px; }
.logo-mark { width: 14px; height: 24px; border-radius: 4px; background: linear-gradient(180deg, var(--accent), var(--ai)); box-shadow: 0 0 18px rgba(255,46,99,.45); }
.logo-v { color: var(--accent); }

/* Billboard: blurred backdrop + a real 9:16 poster */
.vhero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(28px, 6vh, 64px) var(--gutter) clamp(56px, 9vh, 96px); }
.vhero-bg { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(38px) saturate(1.3) brightness(.55); z-index: -2; }
.vhero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--bg) 0%, rgba(11,11,16,.35) 40%, rgba(11,11,16,.15) 100%), linear-gradient(to right, rgba(11,11,16,.85), rgba(11,11,16,0) 65%); }
.vhero-inner { display: flex; align-items: center; justify-content: space-between; gap: clamp(20px, 5vw, 64px); max-width: 1200px; }
.vhero-text { max-width: 640px; }
.vhero-hook { font-size: clamp(17px, 2vw, 22px); font-weight: 700; margin: 0 0 10px; color: #fff; }
.vhero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #d6d3dc; margin: 0 0 20px; font-size: 14px; }
.vhero-meta .badge, .watch-info .badge { position: static; }
.vhero .btn-ghost { background: rgba(109,109,110,.7); border: 0; }
.vhero-poster { flex: 0 0 auto; width: clamp(170px, 22vw, 270px); aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.65); border: 1px solid rgba(255,255,255,.12); transform: rotate(2deg); }
.vhero-poster img { width: 100%; height: 100%; object-fit: cover; }

/* Live Action / AI switch */
.made-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 0 var(--gutter); margin-top: -36px; position: relative; z-index: 2; max-width: 760px; }
.made-switch a { display: flex; flex-direction: column; text-decoration: none; padding: 16px 20px; border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(255,46,99,.22), rgba(21,21,29,.95)); }
.made-switch a + a { background: linear-gradient(135deg, rgba(139,92,246,.28), rgba(21,21,29,.95)); }
.made-switch strong { font-size: 19px; }
.made-switch span { color: var(--muted); font-size: 13px; }
.made-switch a:hover { border-color: #66667a; }
.rows { margin-top: 0; }

/* Badges + ranks */
.badge-live { background: var(--live); color: #fff; }
.badge-ai { background: var(--ai); color: #fff; }
.badge-kind { left: auto; right: 8px; background: rgba(0,0,0,.75); }
.rank { position: absolute; left: 6px; bottom: -6px; font-size: 64px; font-weight: 900; line-height: 1; color: #000; -webkit-text-stroke: 2px #fff; text-shadow: 0 4px 18px rgba(0,0,0,.6); pointer-events: none; }
.row-head { gap: 12px; }
.row-head h2 { margin-right: auto; }
.row-sub { color: var(--muted); font-size: 13px; }
.rail-tall { grid-auto-columns: minmax(150px, 172px); }
.card-tall .card-title { -webkit-line-clamp: 2; }
.card-meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Watch page */
.watch-vertical { grid-template-columns: minmax(0, auto) minmax(0, 1fr); }
.watch-vertical .player-portrait { height: min(78vh, 760px); }
.watch-hook { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.watch-info .eyebrow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* Genres */
.genre-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; padding: 8px var(--gutter) 48px; }
.genre-tile { text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.genre-tile:hover { border-color: #55556a; }
.genre-posters { display: grid; grid-template-columns: repeat(3, 1fr); aspect-ratio: 27 / 16; }
.genre-posters img { width: 100%; height: 100%; object-fit: cover; }
.genre-tile h2 { font-size: 17px; margin: 10px 12px 2px; }
.genre-tile p { color: var(--muted); margin: 0 12px 12px; font-size: 13px; }

@media (max-width: 760px) {
  .vhero-inner { flex-direction: column-reverse; align-items: flex-start; }
  .vhero-poster { width: 46vw; transform: none; }
  .made-switch { margin-top: -24px; }
  .watch-vertical { grid-template-columns: 1fr; }
  .watch-vertical .player-portrait { height: auto; width: min(100%, 420px); }
  .rank { font-size: 48px; }
}
.vhero .hero-title { font-size: clamp(30px, 4.6vw, 60px) !important; line-height: 1.04; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 760px) {
  .vhero .hero-title { font-size: 30px !important; }
  .vhero-poster { width: 38vw; }
  .vhero { padding-top: 20px; }
}
.site-header { gap: 18px; flex-wrap: nowrap; }
.site-header .nav { flex: 1 1 auto; min-width: 0; }
.nav-searchbox input { width: 190px; }
@media (max-width: 900px) { .site-header { flex-wrap: wrap; } .nav-searchbox { order: 3; flex: 1 1 100%; } .nav-searchbox input { width: 100%; } .site-header .nav { order: 4; flex-basis: 100%; } }
.site-header .nav a { padding: 6px 8px; font-size: 14px; } .logo { font-size: 17px; }

/* ---- SEO additions: breadcrumbs, pager, intros, about, studio strip ---- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--muted, #9a9aa6); padding: 14px clamp(16px, 4vw, 48px) 0; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .5; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 28px auto 40px; padding: 0 16px; }
.pager a, .pager span { min-width: 38px; padding: 8px 12px; border-radius: 10px; text-align: center; font-size: 14px; text-decoration: none; color: #fff; background: rgba(255,255,255,.06); }
.pager a:hover { background: rgba(255,255,255,.14); }
.pager [aria-current] { background: #ff2e63; font-weight: 700; }
.pager .gap { background: none; }
.page-head .intro { max-width: 820px; color: var(--muted, #b4b4c0); line-height: 1.6; font-size: 15px; }
.page-head .intro a { color: #fff; }
.page-n { font-weight: 500; opacity: .6; font-size: .6em; }
.about-drama { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); }
.about-drama h2 { font-size: 16px; margin: 0 0 8px; }
.about-drama p { color: var(--muted, #b4b4c0); line-height: 1.6; font-size: 14px; margin: 0; }
.h1-kind { font-size: .5em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #ffb547; vertical-align: middle; }
.home-h1 { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--muted, #9a9aa6); margin: 0; padding: 10px clamp(16px, 4vw, 48px) 0; }
.studio-strip { padding: 10px clamp(16px, 4vw, 48px) 40px; }
.studio-strip h2 { font-size: 18px; }
.studio-strip p { display: flex; flex-wrap: wrap; gap: 8px; }
.studio-strip a { padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.06); color: #fff; text-decoration: none; font-size: 13px; }
.studio-strip a:hover { background: rgba(255,255,255,.14); }
.site-header .nav { min-width: 0; overflow-x: auto; scrollbar-width: none; }
.site-header .nav::-webkit-scrollbar { display: none; }
.site-header .nav a { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 1440px) and (min-width: 901px) { .nav a { padding: 6px 7px; font-size: 14px; } .nav-searchbox input { width: 170px; } }

/* Row scroll arrows (computers) */
.rail-box { position: relative; }
.rail-btn { position: absolute; top: 50%; z-index: 5; width: 46px; height: 46px; margin-top: -10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(11,11,16,.82); color: #fff; font-size: 30px; line-height: 40px; cursor: pointer; display: none; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.5); }
.rail-btn:hover { background: #ff2e63; border-color: #ff2e63; }
.rail-prev { left: 8px; } .rail-next { right: 8px; }
@media (hover: hover) and (pointer: fine) {
  .rail-box.can-prev .rail-prev, .rail-box.can-next .rail-next { display: flex; }
}
.rail { -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; touch-action: pan-x pan-y; }
.rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.dragging a { pointer-events: none; }

/* Home FAQ */
.faq { padding: 10px clamp(16px, 4vw, 48px) 10px; max-width: 900px; }
.faq h2 { font-size: 18px; }
.faq details { border-top: 1px solid rgba(255,255,255,.08); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.faq p { color: var(--muted, #b4b4c0); line-height: 1.6; font-size: 14px; margin: 8px 0 0; }
