:root {
  --bg: #101114;
  --panel: #1c2026;
  --panel2: #16191f;
  --line: #2a3038;
  --text: #eceef1;
  --muted: #9aa3ad;
  --red: #e53935;
  --red-dim: #c62828;
  --imdb: #f5c518;
  --r: 6px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.45;
  overflow-x: hidden;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img, video, iframe { max-width: 100%; }
.wrap { width: min(1280px, calc(100% - 40px)); margin: 0 auto; max-width: 100%; min-width: 0; }
main, .watch, .title-seo, .search-lanes { min-width: 0; max-width: 100%; }

.top {
  position: sticky; top: 0; z-index: 100;
  background: rgba(16,17,20,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.bar {
  display: flex; align-items: center; gap: 22px;
  min-height: 58px;
}
.logo {
  font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em;
  white-space: nowrap;
}
.nav { display: flex; gap: 2px; }
.nav a {
  color: var(--muted); font-weight: 600; font-size: .92rem;
  padding: 8px 12px; border-radius: 4px;
}
.nav a:hover { color: var(--text); }
.nav a.on { color: var(--text); }
.nav a.on::after {
  content: ""; display: block; height: 2px; margin: 4px 2px 0;
  background: var(--red); border-radius: 2px;
}
a.js-hist-link { display: none !important; }
html.has-hist a.js-hist-link { display: revert !important; }
.search { margin-left: auto; min-width: min(240px, 100%); position: relative; }
.search input {
  width: 100%; font: inherit; color: var(--text);
  background: var(--panel2); border: 1px solid var(--line);
  border-radius: 4px; padding: 8px 12px;
}
.search input::placeholder { color: #6d7580; }
.search input:focus { outline: 1px solid #445; border-color: #4a5560; }
.menu-btn {
  display: none; width: 44px; height: 44px; padding: 0;
  align-items: center; justify-content: center;
  background: transparent; color: var(--text);
  border: 0; cursor: pointer; flex: 0 0 44px; z-index: 2;
}
.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 {
  display: none; position: fixed; inset: 0; z-index: 80;
  background: rgba(0,0,0,.55);
}
body.menu-open { overflow: hidden; }
main { padding: 0 0 56px; }

.spotlight {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: min(62vh, 520px);
  display: flex; align-items: flex-end;
  background:
    linear-gradient(90deg, #101114 8%, rgba(16,17,20,.82) 38%, rgba(16,17,20,.25) 70%),
    linear-gradient(transparent 40%, #101114 100%),
    var(--spot) right center / cover no-repeat,
    #16191f;
  margin-bottom: 8px;
}
.spot-copy {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 36px;
  max-width: 36rem;
}
.spot-copy .mark {
  display: inline-block; color: #c5ccd4; font-size: .82rem;
  font-weight: 600; margin-bottom: 10px;
}
.spotlight h1 {
  font-size: clamp(1.8rem, 4.2vw, 2.8rem);
  font-weight: 700; letter-spacing: -.03em; line-height: 1.15;
  margin-bottom: 10px;
}
.spotlight p { color: #c8ced6; font-size: .98rem; max-width: 46ch; }
.cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; background: var(--red); color: #fff;
  font-weight: 700; padding: 10px 22px; border-radius: 4px;
}
.cta:hover { background: var(--red-dim); }
.ghost {
  display: inline-flex; align-items: center;
  margin-top: 18px; background: rgba(255,255,255,.1);
  color: #fff; font-weight: 600; padding: 10px 18px; border-radius: 4px;
  border: 1px solid rgba(255,255,255,.12);
}
.ghost:hover { background: rgba(255,255,255,.16); }
.spot-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.row { margin: 22px 0 8px; }
.sec-head, .page-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px; margin: 18px 0 12px;
}
.sec-head h2, .page-head h1 { font-size: 1.2rem; font-weight: 700; }
.sec-head a { color: var(--muted); font-size: .88rem; font-weight: 600; }
.sec-head a:hover { color: var(--text); }
.page-head p { color: var(--muted); font-size: .9rem; }

.rail-wrap { position: relative; }
.rail {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 10px; overflow-x: auto; scroll-snap-type: x proximity;
  padding: 2px 2px 12px; scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { display: none; }
.rail .card { scroll-snap-align: start; width: 158px; }
.rail .card[data-kind="series"] { width: 220px; }
.rail-btn {
  position: absolute; top: 38%; z-index: 2;
  width: 36px; height: 64px; border: 0; cursor: pointer;
  background: rgba(10,12,14,.72); color: #fff;
  font-size: 1.6rem; line-height: 1; border-radius: 4px;
}
.rail-btn:hover { background: rgba(10,12,14,.9); }
.rail-btn.prev { left: -8px; }
.rail-btn.next { right: -8px; }

.grid {
  display: grid; gap: 14px 10px;
  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);
}
.card[data-kind="series"] .poster { aspect-ratio: 11 / 7; }
.card .poster img, .card .poster .ph {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block;
  transition: transform .28s ease;
}
.card:hover .poster img { transform: scale(1.06); }
.poster .ph {
  display: grid; place-items: center;
  font-size: 2.2rem; font-weight: 700; color: #889;
  background: #1a1e24;
}
.imdb-mini, .kind-mini {
  position: absolute; left: 6px; top: 6px;
  font-size: .68rem; font-weight: 800; border-radius: 3px;
  padding: 2px 6px;
}
.imdb-mini { background: var(--imdb); color: #1a1403; }
.kind-mini { background: rgba(0,0,0,.72); color: #fff; }
.card h3 {
  font-size: .86rem; font-weight: 600; margin-top: 8px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card p { color: var(--muted); font-size: .75rem; 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: 600;
  min-width: 34px; height: 34px; padding: 0 10px;
  background: var(--panel); color: var(--muted);
  border: 1px solid var(--line); border-radius: 4px;
}
.az button.on, .sort button.on,
.az button:hover, .sort button:hover {
  background: #2a313a; color: var(--text); border-color: #3d4650;
}

.watch { margin-bottom: 22px; min-width: 0; max-width: 100%; }
.player {
  position: relative; background: #000; overflow: hidden;
  aspect-ratio: 16/9; border-radius: 4px;
}
.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(229,57,53,.92); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; border-radius: 4px; padding: 5px 8px;
}
.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;
  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: #e53935; transition: width .2s linear;
}
.player-msg {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #94a3b8; font-size: .95rem; pointer-events: none;
}
.meta { padding: 16px 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.35rem; font-weight: 700; margin-bottom: 4px; min-width: 0; overflow-wrap: anywhere; }
.fav-btn {
  font: inherit; cursor: pointer; font-weight: 700;
  background: var(--panel); color: var(--text);
  border: 1px solid var(--line); border-radius: 4px;
  padding: 8px 14px;
}
.fav-btn:hover { border-color: #4a5560; }
.fav-btn.on { background: var(--red); border-color: var(--red); 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.6rem; margin-bottom: 12px; }
.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: 8px; padding: 16px; display: grid; gap: 10px;
}
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .88rem; }
.contact-form input, .contact-form textarea {
  font: inherit; color: var(--text); background: var(--panel2);
  border: 1px solid var(--line); border-radius: 4px; padding: 9px 11px;
}
.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: 12px 0 8px;
}
.btn-ep {
  display: flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 8px 12px; border-radius: 4px;
  background: var(--panel); border: 1px solid var(--line); font-weight: 700;
}
.btn-ep.next { justify-self: end; background: var(--red); border-color: var(--red); color: #fff; }
.btn-ep.next:hover { background: var(--red-dim); }
.btn-ep.prev:hover, .btn-ep.series:hover { border-color: #4a5560; }
.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: 40px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center;
  padding: 6px 10px; border-radius: 4px; background: var(--panel); border: 1px solid var(--line);
  font-weight: 700;
}
.ep-chip.active { background: var(--red); border-color: var(--red); color: #fff; }
.ep-chip:hover { border-color: #4a5560; }
.ep-list { display: grid; gap: 6px; }
.ep-row {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: 4px;
  padding: 10px 12px;
}
.ep-row:hover { background: #232830; }
.ep-num { color: var(--muted); font-weight: 700; font-variant-numeric: tabular-nums; }
.ep-name { font-weight: 600; }
.ep-go { color: #fff; background: var(--red); border-radius: 4px; padding: 5px 12px; font-weight: 700; font-size: .8rem; }
.season-block { margin: 22px 0; }
.season-block h2 { margin-bottom: 10px; font-size: 1.05rem; }
.season-block h2 span { color: var(--muted); font-size: .88rem; font-weight: 600; }
.season-jump { margin-top: 14px; }
.season-jump a {
  background: var(--panel); border: 1px solid var(--line); border-radius: 4px;
  padding: 6px 12px; font-weight: 600; font-size: .88rem;
}
.season-jump a.on, .season-jump a:hover { border-color: #4a5560; color: var(--text); }

.series-hero {
  display: grid; grid-template-columns: minmax(220px, 280px) 1fr; gap: 22px;
  padding: 22px 0 8px;
}
.series-poster {
  position: relative; aspect-ratio: 11 / 7;
  border-radius: var(--r); overflow: hidden; background: #0d0f12;
}
.series-poster img, .series-poster .ph {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.series-hero h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 6px; }
.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: 8px; padding: 16px; margin: 20px 0;
  min-width: 0; max-width: 100%;
}
.info-poster { position: relative; aspect-ratio: 2/3; border-radius: 4px; overflow: hidden; background: #0d0f12; min-width: 0; }
.info-poster.is-wide { aspect-ratio: 11 / 7; }
.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-body h2 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; overflow-wrap: anywhere; }
.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: 650; overflow-wrap: anywhere; }
.imdb-val {
  display: inline-block; background: var(--imdb); color: #1a1403;
  padding: 2px 8px; border-radius: 3px; 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: 4px;
  padding: 3px 9px; font-weight: 600; font-size: .8rem; color: #d4dae0;
}
.chip:hover { background: #2a313a; }
.oyuncu-h { font-weight: 700; 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;
}
.cast-card { flex: 0 0 72px; width: 72px; text-align: center; color: var(--muted); font-size: .72rem; font-weight: 600; }
.cast-card span {
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cast-card img, .cast-card .ph {
  width: 62px; height: 62px; 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: 600; }
.tag-cloud a {
  color: var(--muted); background: var(--panel); border: 1px solid var(--line);
  border-radius: 4px; padding: 5px 10px; font-size: .8rem;
}
.tag-cloud a:hover { color: var(--text); border-color: #4a5560; }

.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: #f0c14b; font-weight: 700; margin: 0 0 10px;
}
.title-faq details {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 6px; padding: 2px 14px; margin: 0 0 8px;
}
.title-faq summary {
  cursor: pointer; font-weight: 650; padding: 10px 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: #0c0e12;
}
.lanes-kicker {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.lanes-title { font-size: 1.15rem; margin-bottom: 8px; }
.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: #f0c14b; font-weight: 700;
  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: 4px; padding: 7px 11px; font-size: .8rem; line-height: 1.3;
}
.lane-track a:hover { color: var(--text); border-color: #5a6570; }
.lane-wrap .rail-btn {
  position: static; top: auto; width: 36px; height: 38px;
}
.foot {
  border-top: 1px solid var(--line); color: var(--muted);
  padding: 22px 0 32px; 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; }
.foot-links a:hover { color: var(--text); }

@media (max-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .bar { gap: 10px; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .search { min-width: 0; flex: 1; margin-left: 0; }
  .nav { display: none; }
  .drawer {
    display: flex; flex-direction: column; gap: 4px;
    position: fixed; top: 0; right: 0; bottom: 0;
    z-index: 90; width: min(300px, 86vw);
    padding: 72px 16px 28px;
    background: #16191f; border-left: 1px solid var(--line);
    transform: translateX(105%);
    transition: transform .2s ease;
    overflow-y: auto;
  }
  .drawer.open { transform: none; }
  .drawer-title {
    font-size: .78rem; color: var(--muted); font-weight: 700;
    letter-spacing: .04em; text-transform: uppercase;
    margin: 8px 4px 10px;
  }
  .drawer a {
    font-size: 1.08rem; font-weight: 600; color: var(--muted);
    padding: 14px 12px; border-radius: 8px;
  }
  .drawer a:hover, .drawer a.on { color: var(--text); background: rgba(255,255,255,.06); }
  .nav-back.on { display: block; }
  .spotlight { min-height: 320px; }
  .rail-btn { display: none; }
}
@media (max-width: 800px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bar {
    flex-wrap: wrap;
    gap: 8px;
    min-height: 48px;
    padding: 8px 0;
  }
  .logo { flex: 1 1 auto; min-width: 0; font-size: 1.02rem; }
  .menu-btn { order: 2; margin-left: auto; }
  .search { order: 3; width: 100%; flex: 1 0 100%; }
  .page-head {
    display: block;
  }
  .page-head h1 { font-size: 1.35rem; margin-bottom: 6px; }
  .page-head p { margin: 4px 0; }
  .spotlight {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    min-height: 42vh;
    background-position: center 20%;
  }
  .spot-copy { padding: 24px 0 20px; max-width: none; }
  .spotlight h1 { font-size: 1.45rem; }
  .spotlight p { font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .cta { min-height: 44px; padding: 12px 20px; }
  .row { margin: 10px 0 4px; }
  .sec-head { margin: 12px 0 8px; }
  .rail, .cast, .lane-track {
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }
  .rail {
    margin-inline: -10px;
    padding-inline: 10px;
    padding-bottom: 8px;
  }
  .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; min-width: 40px; min-height: 40px; }
  .tools { gap: 8px; }
  .player {
    border-radius: 0;
    width: calc(100% + 20px);
    max-width: 100vw;
    margin-left: -10px;
  }
  .watch { margin-bottom: 14px; }
  .meta h1 { font-size: 1.15rem; }
  .fav-btn { min-height: 44px; }
  .foot { padding: 18px 0 calc(24px + env(safe-area-inset-bottom, 0px)); }
  .foot-links { flex-wrap: wrap; gap: 10px 14px; }
  .search-lanes { padding: 16px 0 8px; overflow-x: hidden; overflow-x: clip; }
  .title-seo { overflow-x: hidden; overflow-x: clip; }
  .rail-wrap { min-width: 0; max-width: 100%; }
  .title-seo .seo-copy { font-size: .86rem; }
  .lane { margin: 0 0 10px; }
}
@media (max-width: 640px) {
  .wrap { width: min(1280px, calc(100% - 20px)); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 8px; }
  .rail { grid-auto-columns: max-content; }
  .rail .card { width: 112px; }
  .rail .card[data-kind="series"] { width: 156px; }
  .card h3 { font-size: .78rem; margin-top: 6px; }
  .ep-nav { grid-template-columns: 1fr; }
  .btn-ep { min-height: 44px; }
  .btn-ep.next, .btn-ep.prev { justify-self: stretch; }
  .series-hero, .film-info, .film-info.is-series { grid-template-columns: minmax(0, 1fr); }
  .film-info { gap: 12px; padding: 10px; margin: 14px 0; }
  .film-info .info-poster { width: 108px; }
  .film-info.is-series .info-poster { width: min(168px, 48%); }
  .kv { grid-template-columns: 72px minmax(0, 1fr); }
  .ep-row { grid-template-columns: 52px minmax(0, 1fr); }
  .ep-go { display: none; }
  .contact { grid-template-columns: 1fr; gap: 18px; }
  .spot-copy { padding: 20px 0 16px; }
  .talk-row { grid-template-columns: 1fr; }
  .talk { padding: 14px; }
  .resume-bar { flex-wrap: wrap; }
}
.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 40;
  background: #171a20; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,.45); overflow: hidden;
}
.suggest a {
  display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: baseline;
  padding: 10px 12px; color: var(--text); font-size: .9rem;
}
.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: 600;
}
.dir-cloud a:hover { border-color: #5a6570; }
.dir-cloud b { color: var(--muted); font-weight: 600; font-size: .82rem; }
.resume-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 10px 0 0; padding: 10px 14px;
  background: #171a20; border: 1px solid var(--line); border-radius: 8px;
}
.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: 12px; }
.talk h2 { font-size: 1.2rem; margin-bottom: 8px; }
.talk-score { color: #c5ccd4; margin-bottom: 14px; }
.talk-score b { color: var(--gold, #f0c14b); 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: 600; font-size: .88rem; }
.talk-form input, .talk-form textarea, .talk-form select {
  font: inherit; color: var(--text); background: var(--panel2);
  border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px;
}
.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; }
.talk-item header span { color: var(--gold, #f0c14b); font-weight: 700; }
.talk-item time { margin-left: auto; color: var(--muted); font-size: .78rem; }
.talk-item p { color: #d5dae0; line-height: 1.5; }
.form-msg { color: #34d399; font-size: .88rem; }
.form-msg.err { color: #f87171; }

/* Top 728x90 Sponsor Banners */
.top-banners {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 752px;
  margin: 12px auto 0;
  padding: 0 12px;
}
.top-banner-item {
  display: block;
  width: 100%;
  max-width: 728px;
  line-height: 0;
  border-radius: 6px;
  overflow: hidden;
}
.top-banner-item img {
  display: block;
  width: 100%;
  height: auto;
}
