:root {
  --bg: #070b14;
  --bg-2: #0b1220;
  --panel: #10182a;
  --panel2: #152033;
  --line: rgba(126, 255, 209, .12);
  --text: #eef6ff;
  --muted: #8aa0b8;
  --accent: #3ee0c5;
  --accent-dim: #22c3ab;
  --accent-soft: rgba(62, 224, 197, .16);
  --gold: #7dffb3;
  --imdb: #f5c518;
  --r: 20px;
  --r-sm: 12px;
  --gutter: 24px;
  --dock: 0px;
  --shadow: 0 22px 54px rgba(4, 10, 22, .5);
  --font: "Outfit", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  background: var(--bg);
  scroll-padding-bottom: calc(var(--dock, 0px) + 20px + env(safe-area-inset-bottom, 0px));
}
body {
  font-family: var(--font);
  background:
    radial-gradient(1100px 520px at 88% -18%, rgba(62, 224, 197, .14), transparent 58%),
    radial-gradient(900px 380px at 8% 0%, rgba(90, 140, 255, .08), transparent 50%),
    var(--bg);
  color: var(--text);
  min-height: 100dvh;
  line-height: 1.5;
  overflow-x: clip;
  padding-bottom: calc(var(--dock) + env(safe-area-inset-bottom, 0px));
  touch-action: manipulation;
}
a { color: inherit; text-decoration: none; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
img, video, iframe { max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--accent); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 200;
}
.skip:focus { left: 8px; }
.wrap {
  --gutter: 22px;
  width: min(1220px, calc(100% - 2 * var(--gutter)));
  margin: 0 auto;
  max-width: 100%;
  min-width: 0;
}
main, .watch, .title-seo, .search-lanes, .row, .rail-wrap { min-width: 0; max-width: 100%; }

.top {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 8, 12, .78);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.bar {
  display: flex; align-items: center; gap: 18px;
  min-height: 64px;
}
.logo {
  display: inline-flex; align-items: center;
  font-weight: 800; font-size: 1.12rem; letter-spacing: -.04em;
  white-space: nowrap; min-width: 0;
  color: var(--text);
}
.logo-text { overflow: hidden; text-overflow: ellipsis; }
.nav { display: flex; gap: 2px; }
.nav a {
  color: var(--muted); font-weight: 650; font-size: .92rem;
  padding: 8px 12px; border-radius: 999px;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav a.on { color: var(--text); background: var(--accent-soft); }
a.js-hist-link { display: none !important; }
html.has-hist a.js-hist-link { display: revert !important; }
.search { margin-left: auto; min-width: min(280px, 100%); position: relative; }
.search-ico {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--muted); pointer-events: none;
}
.search-ico svg { width: 18px; height: 18px; }
.search input {
  width: 100%; font: inherit; color: var(--text); font-size: 16px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 14px 10px 40px;
}
.search input::placeholder { color: #6d7580; }
.search input:focus { outline: none; border-color: rgba(62,224,197,.55); box-shadow: 0 0 0 3px var(--accent-soft); }
.icon-btn, .menu-btn {
  width: 44px; height: 44px; padding: 0;
  display: none; align-items: center; justify-content: center;
  background: rgba(255,255,255,.05); color: var(--text);
  border: 1px solid var(--line); border-radius: 14px; cursor: pointer; flex: 0 0 44px;
}
.icon-btn svg { width: 20px; height: 20px; }
.menu-btn { background: transparent; border: 0; }
.burger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 22px; height: 18px;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform .18s ease, opacity .18s ease;
}
.menu-btn[aria-expanded="true"] .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.drawer { display: none; }
.nav-back, .search-mask {
  display: none; position: fixed; inset: 0; z-index: 80;
  background: rgba(0,0,0,.58);
}
body.menu-open, body.search-open { overflow: hidden; }
main { padding: 0 0 64px; }

.spotlight {
  position: relative;
  width: calc(100% + 2 * var(--gutter));
  margin-left: calc(-1 * var(--gutter));
  min-height: min(68dvh, 560px);
  display: flex; align-items: flex-end;
  background:
    linear-gradient(90deg, #07080c 6%, rgba(7,8,12,.78) 38%, rgba(7,8,12,.18) 72%),
    linear-gradient(transparent 35%, #07080c 100%),
    var(--spot) right center / cover no-repeat,
    #12151d;
  margin-bottom: 10px; overflow: hidden;
}
.spot-copy {
  width: min(1220px, calc(100% - 2 * var(--gutter)));
  margin: 0 auto;
  padding: 56px 0 40px;
  max-width: 38rem;
}
.spot-copy .mark {
  display: inline-flex; align-items: center; gap: 6px;
  color: #ffd8dc; font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 12px; padding: 5px 10px;
  background: rgba(255,59,74,.18); border-radius: 999px;
}
.spotlight h1 {
  font-size: clamp(1.85rem, 4.4vw, 3.1rem);
  font-weight: 800; letter-spacing: -.04em; line-height: 1.08;
  margin-bottom: 12px;
}
.spotlight p { color: #d5dbe3; font-size: 1.02rem; max-width: 46ch; }
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 18px; background: var(--accent); color: #fff;
  font-weight: 800; padding: 12px 22px; border-radius: 999px;
  min-height: 46px; box-shadow: 0 10px 28px rgba(255, 59, 74, .28);
}
.cta:hover { background: var(--accent-dim); }
.ghost {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 18px; background: rgba(255,255,255,.1);
  color: #fff; font-weight: 700; padding: 12px 18px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12); min-height: 46px;
}
.ghost:hover { background: rgba(255,255,255,.16); }
.spot-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.row { margin: 26px 0 10px; }
.sec-head, .page-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px; margin: 18px 0 14px;
}
.sec-head h2, .page-head h1 { font-size: 1.28rem; font-weight: 800; letter-spacing: -.03em; }
.sec-head a { color: var(--muted); font-size: .88rem; font-weight: 700; }
.sec-head a:hover { color: var(--text); }
.page-head p { color: var(--muted); font-size: .92rem; }

.rail-wrap { position: relative; }
.rail {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 2px 14px; scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { display: none; }
.rail .card { scroll-snap-align: start; width: 168px; }
.rail .card[data-kind="series"] { width: 236px; }
.rail-btn {
  position: absolute; top: 34%; z-index: 2;
  width: 42px; height: 42px; border: 0; cursor: pointer;
  background: rgba(12,14,20,.82); color: #fff;
  font-size: 1.35rem; line-height: 1; border-radius: 999px;
  box-shadow: var(--shadow); backdrop-filter: blur(8px);
}
.rail-btn:hover { background: #1a1f2a; }
.rail-btn.prev { left: -8px; }
.rail-btn.next { right: -8px; }

.grid {
  display: grid; gap: 16px 12px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.card { min-width: 0; color: inherit; }
.card .poster {
  position: relative; aspect-ratio: 2/3;
  background: #0d0f12; overflow: hidden; border-radius: var(--r);
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
}
.card[data-kind="series"] .poster { aspect-ratio: 16 / 10; }
.card .poster img, .card .poster .ph {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block;
  transition: transform .35s ease;
}
.card .poster::after {
  content: ""; position: absolute; inset: auto 10px 10px auto;
  width: 34px; height: 34px; border-radius: 999px;
  background: rgba(0,0,0,.55) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M8 5v14l12-7z'/></svg>") center / 12px no-repeat;
  opacity: 0; transform: scale(.9);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.card:hover .poster img { transform: scale(1.07); }
.card:hover .poster::after { opacity: 1; transform: none; }
.poster .ph {
  display: grid; place-items: center;
  font-size: 2.2rem; font-weight: 800; color: #889;
  background: linear-gradient(160deg, #1c2230, #12151d);
}
.imdb-mini, .kind-mini {
  position: absolute; left: 8px; top: 8px;
  font-size: .68rem; font-weight: 800; border-radius: 999px;
  padding: 3px 8px; z-index: 1;
}
.imdb-mini { background: var(--imdb); color: #1a1403; }
.kind-mini { background: rgba(0,0,0,.72); color: #fff; }
.card h3 {
  font-size: .9rem; font-weight: 700; margin-top: 9px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card p { color: var(--muted); font-size: .76rem; margin-top: 2px; }

.tools { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: start; margin-bottom: 14px; }
.az, .sort { display: flex; flex-wrap: wrap; gap: 6px; }
.az button, .sort button {
  font: inherit; cursor: pointer; font-weight: 700;
  min-width: 40px; min-height: 40px; padding: 0 12px;
  background: var(--panel); color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px;
}
.az button.on, .sort button.on,
.az button:hover, .sort button:hover {
  background: var(--accent-soft); color: var(--text); border-color: rgba(255,59,74,.35);
}

.watch { margin-bottom: 22px; min-width: 0; max-width: 100%; }
.player {
  position: relative; background: #000; overflow: hidden;
  aspect-ratio: 16/9; border-radius: 18px;
  box-shadow: var(--shadow);
}
.player iframe, .player video { width: 100% !important; height: 100% !important; border: 0; display: block; }
.preroll { position: absolute; inset: 0; z-index: 6; background: #000; }
.preroll video {
  width: 100% !important; height: 100% !important;
  object-fit: contain; pointer-events: none;
}
.preroll-hit { position: absolute; inset: 0; z-index: 7; }
.preroll-ui {
  position: absolute; left: 12px; right: 12px; bottom: 16px;
  z-index: 8; display: flex; justify-content: space-between; align-items: center;
  pointer-events: none; gap: 10px;
}
.preroll-badge {
  background: rgba(255,59,74,.92); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; border-radius: 999px; padding: 6px 10px;
}
.preroll-skip {
  pointer-events: auto; font: inherit; cursor: pointer;
  border: 0; border-radius: 999px;
  background: rgba(255,255,255,.92); color: #111;
  font-weight: 800; font-size: .86rem;
  padding: 10px 16px; min-width: 132px; min-height: 44px;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.preroll-skip:disabled { opacity: .65; cursor: default; }
.preroll-skip:not(:disabled):hover { background: #fff; }
.preroll-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 8;
  height: 3px; background: rgba(255,255,255,.16);
}
.preroll-bar i { display: block; height: 100%; width: 0; background: var(--accent); }
.player-msg {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #94a3b8; font-size: .95rem; pointer-events: none;
}
.meta { padding: 18px 0 0; min-width: 0; }
.meta-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; min-width: 0; }
.meta h1 { font-size: 1.42rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: 4px; min-width: 0; overflow-wrap: anywhere; }
.fav-btn {
  font: inherit; cursor: pointer; font-weight: 750;
  background: var(--panel); color: var(--text);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 16px; min-height: 44px;
}
.fav-btn:hover { border-color: rgba(255,255,255,.2); }
.fav-btn.on { background: var(--accent); border-color: var(--accent); color: #fff; }
button.cta { font: inherit; border: 0; cursor: pointer; }

.contact {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 32px; padding: 22px 0 8px; align-items: start;
}
.contact-copy h1 { font-size: 1.7rem; margin-bottom: 12px; letter-spacing: -.03em; }
.contact-copy p { color: #c5ccd4; line-height: 1.65; margin-bottom: 12px; max-width: 54ch; }
.contact-copy .note { color: var(--muted); }
.contact-meta { color: var(--muted); padding-left: 18px; line-height: 1.7; }
.contact-form {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 18px; padding: 18px; display: grid; gap: 10px;
}
.contact-form label { display: grid; gap: 6px; font-weight: 700; font-size: .88rem; }
.contact-form input, .contact-form textarea,
.talk-form input, .talk-form textarea, .talk-form select {
  font: inherit; font-size: 16px; color: var(--text); background: var(--panel2);
  border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form .hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-msg { min-height: 1.2em; color: #86efac; font-size: .88rem; }
.form-msg.err { color: #fca5a5; }
.tags { color: var(--muted); font-size: .9rem; }
.desc { color: #c5ccd4; line-height: 1.65; max-width: min(72ch, 100%); overflow-wrap: anywhere; }
.empty { color: var(--muted); padding: 24px 0; }
.crumbs { color: var(--muted); font-size: .82rem; margin: 14px 0 10px; }
.crumbs a:hover { color: var(--text); }

.ep-nav {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px;
  margin: 14px 0 8px;
}
.btn-ep {
  display: flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 8px 14px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line); font-weight: 750;
}
.btn-ep.next { justify-self: end; background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-ep.next:hover { background: var(--accent-dim); }
.btn-ep.prev:hover, .btn-ep.series:hover { border-color: rgba(255,255,255,.2); }
.btn-ep.disabled { opacity: .35; pointer-events: none; }
.hint-key { color: var(--muted); font-size: .78rem; margin-bottom: 8px; }
.ep-line, .season-jump, .tag-cloud, .spot-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ep-chip {
  min-width: 44px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center;
  padding: 6px 10px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line);
  font-weight: 750;
}
.ep-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.ep-chip:hover { border-color: rgba(255,255,255,.2); }
.ep-list { display: grid; gap: 8px; }
.ep-row {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 14px; min-width: 0;
}
.ep-row:hover { background: #1a1f28; }
.ep-num { color: var(--muted); font-weight: 750; font-variant-numeric: tabular-nums; }
.ep-name { font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.ep-go { color: #fff; background: var(--accent); border-radius: 999px; padding: 7px 14px; font-weight: 750; font-size: .8rem; }
.season-block { margin: 22px 0; }
.season-block h2 { margin-bottom: 10px; font-size: 1.08rem; }
.season-block h2 span { color: var(--muted); font-size: .88rem; font-weight: 650; }
.season-jump { margin-top: 14px; }
.season-jump a {
  background: var(--panel); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; font-weight: 700; font-size: .88rem; min-height: 40px;
  display: inline-flex; align-items: center;
}
.season-jump a.on, .season-jump a:hover { border-color: rgba(255,59,74,.4); color: var(--text); }

.series-hero {
  display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 24px;
  padding: 22px 0 8px; align-items: center;
}
.series-poster {
  position: relative; aspect-ratio: 16 / 10;
  border-radius: var(--r); overflow: hidden; background: #0d0f12;
  box-shadow: var(--shadow);
}
.series-poster img, .series-poster .ph {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.series-copy { min-width: 0; }
.series-hero h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 6px; letter-spacing: -.03em; overflow-wrap: anywhere; }
.series-hero .sub { color: var(--muted); margin-bottom: 10px; }

.film-info {
  display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 20px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 20px; padding: 18px; margin: 20px 0;
  min-width: 0; max-width: 100%;
}
.info-poster { position: relative; aspect-ratio: 2/3; border-radius: 14px; overflow: hidden; background: #0d0f12; min-width: 0; }
.info-poster.is-wide { aspect-ratio: 16 / 10; }
.film-info.is-series { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); }
.info-poster img, .info-poster .ph {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center; display: block;
}
.info-body { min-width: 0; max-width: 100%; }
.info-title { font-size: 1.18rem; font-weight: 800; margin-bottom: 10px; overflow-wrap: anywhere; letter-spacing: -.02em; }
.info-body .desc { margin-bottom: 12px; }
.kv-list { display: grid; gap: 0; min-width: 0; }
.kv {
  display: grid; grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px; align-items: start;
  padding: 9px 0; border-top: 1px solid var(--line);
  min-width: 0;
}
.kv span { color: var(--muted); font-size: .86rem; }
.kv b, .kv .chips { justify-self: start; min-width: 0; max-width: 100%; }
.kv b { font-weight: 700; overflow-wrap: anywhere; }
.imdb-val {
  display: inline-block; background: var(--imdb); color: #1a1403;
  padding: 2px 8px; border-radius: 999px; font-size: .9rem;
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; max-width: 100%; }
.chip {
  background: var(--panel2); border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 10px; font-weight: 700; font-size: .8rem; color: #d4dae0;
}
.chip:hover { background: #222836; }
.oyuncu-h { font-weight: 800; margin: 14px 0 10px; font-size: .95rem; }
.cast-wrap { min-width: 0; max-width: 100%; }
.cast {
  display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px;
  min-width: 0; max-width: 100%;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cast::-webkit-scrollbar { display: none; }
.cast-card { flex: 0 0 76px; width: 76px; text-align: center; color: var(--muted); font-size: .72rem; font-weight: 700; }
.cast-card span {
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cast-card img, .cast-card .ph {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover; display: block;
  margin: 0 auto 6px; background: #12151a; border: 2px solid var(--line);
}
.cast-card .ph { display: grid; place-items: center; color: #889; font-size: 1.1rem; }
.cast-card:hover { color: var(--text); }

.seo-tags { border-top: 1px solid var(--line); padding: 22px 0; }
.seo-tags h2 { font-size: .92rem; color: var(--muted); margin-bottom: 10px; font-weight: 700; }
.tag-cloud a {
  color: var(--muted); background: var(--panel); border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 12px; font-size: .8rem;
}
.tag-cloud a:hover { color: var(--text); border-color: rgba(255,255,255,.2); }

.title-seo .seo-copy {
  color: #c4ccd4; font-size: .92rem; line-height: 1.7;
  max-width: 74ch; margin: 0 0 22px;
}
.title-seo .seo-copy p { margin: 0 0 12px; }
.title-faq { margin: 8px 0 18px; }
.title-faq h2 {
  font-size: .95rem; color: var(--gold); font-weight: 800; margin: 0 0 10px;
}
.title-faq details {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 2px 16px; margin: 0 0 8px;
}
.title-faq summary {
  cursor: pointer; font-weight: 750; padding: 12px 0; list-style: none;
}
.title-faq summary::-webkit-details-marker { display: none; }
.title-faq details p {
  color: var(--muted); font-size: .88rem; line-height: 1.6;
  margin: 0 0 12px; max-width: 70ch;
}

.search-lanes {
  border-top: 1px solid var(--line);
  padding: 28px 0 12px;
  background: #090b10;
}
.lanes-kicker {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.lanes-title { font-size: 1.2rem; margin-bottom: 8px; letter-spacing: -.02em; }
.lanes-intro {
  color: var(--muted); font-size: .88rem; line-height: 1.55;
  max-width: 62ch; margin-bottom: 18px;
}
.lane { margin: 0 0 16px; }
.lane h2 {
  font-size: .95rem; color: var(--gold); font-weight: 800;
  margin: 0 0 4px;
}
.lane-lead { color: var(--muted); font-size: .8rem; line-height: 1.45; margin: 0 0 8px; }
.lane-wrap {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 4px;
}
.lane-track {
  display: flex; flex-wrap: nowrap; gap: 8px;
  overflow-x: auto; scroll-snap-type: x proximity;
  padding: 6px 2px 12px; scrollbar-width: none;
  min-width: 0;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.lane-track a {
  flex: 0 0 auto; white-space: nowrap; scroll-snap-align: start;
  color: #c8d0d8; background: var(--panel); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 12px; font-size: .8rem; line-height: 1.3;
}
.lane-track a:hover { color: var(--text); border-color: rgba(255,255,255,.22); }
.lane-wrap .rail-btn { position: static; top: auto; width: 36px; height: 38px; }
.foot {
  border-top: 1px solid var(--line); color: var(--muted);
  padding: 28px 0 36px; font-size: .86rem;
}
.foot-in { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.foot-in p { margin-top: 8px; }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }
.foot-links a:hover { color: var(--text); }

.dock { display: none; }

.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40;
  background: #141821; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); overflow: hidden;
}
.suggest a {
  display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: baseline;
  padding: 12px 14px; color: var(--text); font-size: .92rem;
}
.suggest a:hover, .suggest a.on { background: rgba(255,255,255,.06); }
.suggest small { color: var(--muted); font-size: .75rem; }
.hub-lead { color: #c5ccd4; max-width: 62ch; margin: 8px 0 6px; line-height: 1.55; }
.hub-h2 { font-size: 1.15rem; margin: 8px 0 4px; }
.dir-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 28px; }
.dir-cloud a {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--panel2); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 14px; color: var(--text); font-weight: 700;
}
.dir-cloud a:hover { border-color: rgba(255,255,255,.22); }
.dir-cloud b { color: var(--muted); font-weight: 650; font-size: .82rem; }
.resume-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 12px 0 0; padding: 12px 16px;
  background: #141821; border: 1px solid var(--line); border-radius: 16px;
}
.resume-bar .cta { margin-top: 0; padding: 8px 16px; }
.resume-bar[hidden] { display: none !important; }
.talk { margin: 28px 0 8px; padding: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; }
.talk h2 { font-size: 1.2rem; margin-bottom: 8px; }
.talk-score { color: #c5ccd4; margin-bottom: 14px; }
.talk-score b { color: var(--gold); font-size: 1.35rem; }
.talk-form { display: grid; gap: 10px; margin-bottom: 18px; }
.talk-row { display: grid; grid-template-columns: 1fr 140px; gap: 10px; }
.talk-form label { display: grid; gap: 6px; font-weight: 700; font-size: .88rem; }
.talk-form .hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.talk-list { display: grid; gap: 12px; }
.talk-item { padding: 12px 0; border-top: 1px solid var(--line); }
.talk-item header { display: flex; gap: 10px; align-items: baseline; margin-bottom: 6px; flex-wrap: wrap; }
.talk-item header span { color: var(--gold); font-weight: 800; }
.talk-item time { margin-left: auto; color: var(--muted); font-size: .78rem; }
.talk-item p { color: #d5dae0; line-height: 1.5; overflow-wrap: anywhere; }

@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  :root, .wrap { --gutter: 16px; }
  body { --dock: 72px; }
  .bar { gap: 10px; min-height: 56px; position: relative; }
  .search-btn { display: inline-flex; z-index: 7; }
  .search {
    display: none; margin: 0;
    position: absolute; left: 0; right: 52px;
    top: 50%; transform: translateY(-50%);
    z-index: 6; min-width: 0;
  }
  body.search-open .search { display: block; }
  body.search-open .logo { visibility: hidden; }
  body.search-open .top { z-index: 130; }
  body.search-open .search-mask { display: block; z-index: 120; }
  .nav { display: none; }
  .menu-btn { display: none; }
  .drawer {
    display: flex; flex-direction: column; gap: 4px;
    position: fixed; top: 0; right: 0; bottom: 0;
    z-index: 90; width: min(320px, 88vw);
    padding: calc(28px + env(safe-area-inset-top, 0px)) 16px calc(28px + env(safe-area-inset-bottom, 0px));
    background: #10131a; border-left: 1px solid var(--line);
    transform: translateX(105%);
    transition: transform .22s ease;
    overflow-y: auto;
  }
  .drawer.open { transform: none; }
  .drawer-title {
    font-size: .78rem; color: var(--muted); font-weight: 800;
    letter-spacing: .08em; text-transform: uppercase;
    margin: 8px 4px 10px;
  }
  .drawer a {
    font-size: 1.08rem; font-weight: 700; color: var(--muted);
    padding: 14px 12px; border-radius: 14px;
  }
  .drawer a:hover, .drawer a.on { color: var(--text); background: rgba(255,255,255,.06); }
  .nav-back.on { display: block; }
  .spotlight { min-height: min(58dvh, 420px); }
  .rail-btn { display: none; }
  .dock {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    background: rgba(10, 12, 18, .92);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
  }
  .dock a, .dock button {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; min-height: 52px; border: 0; background: transparent;
    color: var(--muted); font: inherit; font-size: .68rem; font-weight: 750;
    border-radius: 12px; cursor: pointer;
  }
  .dock svg { width: 22px; height: 22px; }
  .dock a.on, .dock button:active { color: var(--text); }
  .dock a.on { color: #ff8a93; }
  .foot { padding-bottom: 18px; }
}
@media (max-width: 800px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logo { font-size: .98rem; }
  .logo-text { max-width: 42vw; }
  .page-head { display: block; }
  .page-head h1 { font-size: 1.35rem; margin-bottom: 6px; }
  .spotlight {
    min-height: min(52dvh, 380px);
    background-position: center 18%;
  }
  .spot-copy { padding: 28px 0 22px; max-width: none; }
  .spotlight h1 { font-size: clamp(1.4rem, 7vw, 2rem); }
  .spotlight p {
    font-size: .92rem;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  .cta, .ghost { min-height: 46px; }
  .row { margin: 12px 0 6px; }
  .sec-head { margin: 12px 0 10px; }
  .rail {
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    padding-bottom: 10px;
    gap: 10px;
  }
  .rail .card { width: min(42vw, 168px); }
  .rail .card[data-kind="series"] { width: min(62vw, 236px); }
  .lane-wrap { grid-template-columns: minmax(0, 1fr); }
  .lane-wrap .rail-btn { display: none; }
  .az, .sort {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .az::-webkit-scrollbar, .sort::-webkit-scrollbar { display: none; }
  .az button, .sort button { flex: 0 0 auto; }
  .player {
    border-radius: 0;
    margin-inline: calc(-1 * var(--gutter));
    width: calc(100% + 2 * var(--gutter));
    max-width: none;
    box-shadow: none;
  }
  .watch { margin-bottom: 14px; }
  .meta h1 { font-size: 1.18rem; }
  .search-lanes { padding: 16px 0 8px; }
  .title-seo .seo-copy { font-size: .86rem; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .card h3 { font-size: .82rem; margin-top: 7px; }
  .ep-nav { grid-template-columns: 1fr; }
  .btn-ep.next, .btn-ep.prev { justify-self: stretch; }
  .series-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-inline: calc(-1 * var(--gutter));
    width: calc(100% + 2 * var(--gutter));
    padding: 0 0 8px;
  }
  .series-poster { border-radius: 0; aspect-ratio: 16 / 10; }
  .series-copy { padding: 14px var(--gutter) 4px; }
  .film-info, .film-info.is-series {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    margin: 14px 0;
    border-radius: 16px;
  }
  .info-body { display: contents; }
  .info-title { grid-column: 2; align-self: center; font-size: .98rem; margin: 0; line-height: 1.25; }
  .desc, .kv-list, .cast-wrap { grid-column: 1 / -1; }
  .info-poster, .film-info.is-series .info-poster { width: 96px; aspect-ratio: 2 / 3; }
  .kv { grid-template-columns: 76px minmax(0, 1fr); }
  .ep-row { grid-template-columns: 52px minmax(0, 1fr); }
  .ep-go { display: none; }
  .contact { grid-template-columns: 1fr; gap: 18px; }
  .talk-row { grid-template-columns: 1fr; }
  .talk { padding: 14px; }
  .resume-bar { flex-wrap: wrap; }
  .meta-row { align-items: stretch; }
  .meta-row .fav-btn { width: 100%; }
}
@media (max-width: 420px) {
  .rail .card { width: 46vw; }
  .rail .card[data-kind="series"] { width: 72vw; }
}
@media (hover: none) {
  .card .poster::after { opacity: .85; transform: none; }
  .card:hover .poster img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
