/*
 * Bobina — streaming UI (2026-10-20). One stylesheet for every public page; replaces the catalog
 * template (bootstrap + main.css + site.css). Accent stays #f9ab00. The fallback player and the
 * trailer still use Plyr (plyr.css on pages with a player).
 */

@font-face { font-family: Manrope; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/manrope-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/manrope-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/manrope-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --bg: #111015;
  --bg-2: #16151b;
  --surface: #1d1c23;
  --surface-2: #26252d;
  --surface-3: #312f39;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f4f3f6;
  --text-2: rgba(244, 243, 246, .74);
  --text-3: rgba(244, 243, 246, .5);
  --accent: #f9ab00;
  --accent-2: #ffc23d;
  --accent-ink: #15130f;
  --accent-soft: rgba(249, 171, 0, .14);
  --green: #2ecc71;
  --red: #ff5a5f;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --header-h: 64px;
  --tabbar-h: 0px;
  --gutter: clamp(16px, 3.6vw, 56px);
  --maxw: 1680px;
  --font: Manrope, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
@media (max-width: 1023.98px) {
  :root { --header-h: 56px; --tabbar-h: 62px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 500 15px/1.55 var(--font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; overflow-x: clip;
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.ico { width: 20px; height: 20px; flex: none; }
.ico--sm { width: 16px; height: 16px; }
.ico--lg { width: 24px; height: 24px; }
.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 { position: fixed; left: -9999px; top: 8px; z-index: 1000; padding: 10px 16px; background: var(--accent); color: var(--accent-ink); border-radius: var(--r-sm); font-weight: 700; }
.skip:focus { left: 12px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
main { display: block; min-height: 60vh; }
.page-top { padding-top: var(--header-h); }

/* ------------------------------------------------------------------ buttons, chips */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px;
  border: 1px solid transparent; background: var(--surface-2); color: var(--text); font-weight: 700; font-size: 15px; white-space: nowrap;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn .ico { width: 20px; height: 20px; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-2); }
.btn--glass { background: rgba(255, 255, 255, .14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn--glass:hover { background: rgba(255, 255, 255, .22); }
.btn--ghost { background: transparent; border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--icon { width: 46px; padding: 0; }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn--sm.btn--icon { width: 38px; }
.btn.is-on .ico-off, .btn:not(.is-on) .ico-on { display: none; }
.btn.is-on { color: var(--accent); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); color: var(--text-2); font-size: 14px; font-weight: 600; white-space: nowrap; transition: .2s;
}
.chip:hover { color: var(--text); border-color: var(--line-2); background: var(--surface-2); }
.chip.is-on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chip small { font-weight: 600; opacity: .6; font-size: 12px; }
.chip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(46, 204, 113, .18); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter); scroll-padding-inline: var(--gutter); }
.chips--scroll::-webkit-scrollbar { display: none; }

.badge { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 800; letter-spacing: .02em; line-height: 1; }
.badge--rate { background: rgba(17, 16, 21, .78); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.badge--rate .ico { width: 13px; height: 13px; color: var(--accent); }
.badge--green .ico { color: var(--green); }
.badge--online { background: var(--accent); color: var(--accent-ink); }
.badge--online .ico { width: 12px; height: 12px; }
.badge--line { border: 1px solid var(--line-2); color: var(--text-2); font-weight: 700; }

/* ------------------------------------------------------------------ brand */

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); line-height: 1; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__name { font-weight: 800; font-size: 25px; letter-spacing: -.05em; transform: translateY(-1px); }
@media (max-width: 575.98px) { .brand__mark { width: 30px; height: 30px; } .brand__name { font-size: 22px; } }

/* ------------------------------------------------------------------ header */

.hdr {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  background: linear-gradient(180deg, rgba(17, 16, 21, .92), rgba(17, 16, 21, .78)); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line); transition: background .3s, border-color .3s;
}
.has-hero .hdr:not(.is-solid) { background: linear-gradient(180deg, rgba(10, 9, 13, .78) 0%, rgba(10, 9, 13, 0) 100%); border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.hdr__nav { display: flex; align-items: center; gap: 4px; min-width: 0; }
.hdr__link { position: relative; display: inline-flex; align-items: center; height: 38px; padding: 0 12px; border-radius: 999px; color: var(--text-2); font-weight: 700; font-size: 15px; white-space: nowrap; transition: color .2s, background .2s; }
.hdr__link:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.hdr__link.is-on { color: var(--text); }
.hdr__link.is-on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--accent); }
.hdr__end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.hdr__icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--text); cursor: pointer; transition: background .2s; }
.hdr__icon:hover { background: rgba(255, 255, 255, .08); }
.hdr__icon .ico { width: 22px; height: 22px; }

/* search: a pill in the header on computers, a full-screen sheet on phones */
.search { position: relative; }
.search__field { display: flex; align-items: center; gap: 8px; width: clamp(220px, 22vw, 340px); height: 42px; padding: 0 6px 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line); transition: background .2s, border-color .2s, width .3s var(--ease); }
.search__field:focus-within { background: var(--surface); border-color: var(--line-2); }
.search__field > .ico { color: var(--text-3); }
.search__input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--text); font: 600 15px var(--font); outline: none; }
.search__input::placeholder { color: var(--text-3); }
.search__input::-webkit-search-cancel-button { display: none; }
.search__kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--text-3); font-size: 12px; font-weight: 700; }
.search__field:focus-within .search__kbd { display: none; }
.search__close { display: none; }
.suggest { position: absolute; top: calc(100% + 10px); right: 0; width: min(440px, 92vw); z-index: 210; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); padding: 6px; max-height: min(70vh, 560px); overflow: auto; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--r); color: var(--text); }
.suggest a:hover, .suggest a.is-active { background: var(--surface-2); }
.suggest img, .suggest .suggest__ph { width: 40px; height: 60px; border-radius: 6px; object-fit: cover; background: var(--surface-2); flex: none; }
.suggest__t { display: block; font-weight: 700; font-size: 15px; line-height: 1.25; }
.suggest__m { display: block; font-size: 13px; color: var(--text-3); margin-top: 2px; }
.suggest__all { justify-content: center; font-weight: 700; color: var(--accent) !important; }

.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.menu__pop { position: absolute; top: calc(100% + 10px); right: 0; min-width: 200px; z-index: 220; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); padding: 6px; }
.menu__pop a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r); color: var(--text-2); font-weight: 600; }
.menu__pop a:hover, .menu__pop a.is-on { background: var(--surface-2); color: var(--text); }
.menu__lang { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 10px; border-radius: 999px; font-weight: 800; font-size: 13px; letter-spacing: .04em; color: var(--text-2); }
.menu__lang:hover { color: var(--text); background: rgba(255, 255, 255, .08); }
.menu__lang .ico { width: 18px; height: 18px; }
.hdr__user { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-weight: 700; max-width: 200px; }
.hdr__user span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 14px; text-transform: uppercase; flex: none; }

@media (max-width: 1279.98px) { .hdr__link--xl { display: none; } }
@media (max-width: 1023.98px) {
  .hdr__in { gap: 12px; }
  .hdr__nav, .hdr__lang, .hdr__signin span { display: none; }
  .search__field { display: none; }
  .search.is-open { position: fixed; inset: 0; z-index: 300; background: rgba(12, 11, 15, .98); padding: 10px 12px calc(16px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
  .search.is-open .search__field { display: flex; width: 100%; height: 48px; background: var(--surface); }
  .search.is-open .search__close { display: inline-flex; }
  .search.is-open .search__kbd { display: none; }
  .search.is-open .suggest { position: static; width: auto; max-height: none; flex: 1; margin-top: 10px; background: transparent; border: 0; box-shadow: none; padding: 0; }
  .search.is-open .search__hint { display: block; padding: 18px 6px; color: var(--text-3); font-size: 14px; }
  .search:not(.is-open) .search__hint { display: none; }
  .hdr__signin { width: 40px; height: 40px; padding: 0; border: 0; }
  .hdr__signin .ico { width: 22px; height: 22px; }
}
@media (min-width: 1024px) { .hdr__mobile, .search__hint { display: none !important; } }

/* ------------------------------------------------------------------ mobile tab bar + «more» sheet */

.tabbar { display: none; }
@media (max-width: 1023.98px) {
  .tabbar {
    position: fixed; inset: auto 0 0; z-index: 90; display: grid; grid-template-columns: repeat(5, 1fr); height: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px); background: rgba(17, 16, 21, .94); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-top: 1px solid var(--line);
  }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: none; color: var(--text-3); font-size: 11px; font-weight: 700; letter-spacing: .01em; cursor: pointer; padding: 0; }
  .tabbar .ico { width: 24px; height: 24px; }
  .tabbar .is-on { color: var(--accent); }
}
.sheet { position: fixed; inset: 0; z-index: 400; display: flex; align-items: flex-end; background: rgba(0, 0, 0, .6); opacity: 0; pointer-events: none; transition: opacity .25s; }
.sheet.is-open { opacity: 1; pointer-events: auto; }
.sheet__box { width: 100%; max-height: 86vh; overflow: auto; background: var(--bg-2); border-radius: 22px 22px 0 0; padding: 10px 18px calc(22px + env(safe-area-inset-bottom)); transform: translateY(30px); transition: transform .3s var(--ease); border-top: 1px solid var(--line); }
.sheet.is-open .sheet__box { transform: none; }
.sheet__grip { width: 42px; height: 5px; border-radius: 3px; background: var(--surface-3); margin: 0 auto 14px; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sheet__title { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.sheet__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sheet__grid a { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border-radius: var(--r); background: var(--surface); font-weight: 700; }
.sheet__grid a .ico { color: var(--accent); }
.sheet__sub { margin: 18px 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.sheet__list a { display: flex; align-items: center; justify-content: space-between; min-height: 48px; border-bottom: 1px solid var(--line); color: var(--text-2); font-weight: 600; }
.sheet__list a.is-on { color: var(--accent); }
@media (min-width: 1024px) { .sheet--mobile { display: none; } }

/* ------------------------------------------------------------------ ad places (filled by the board, Пульт) */

.ad-slot { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; }
.ad-slot:empty { display: none !important; }
.ad-slot--top { padding: 14px var(--gutter) 0; }
.page-top > .ad-slot--top:first-child { padding-top: 14px; }
.ad-slot--feed { grid-column: 1 / -1; padding: 6px 0; }
.ad-slot--player:not(:empty) { margin-top: 16px; }
.ad-slot--native:not(:empty) { margin: 8px 0 28px; }
.ad-slot--content:not(:empty) { margin: 8px 0; }
.ad-slot--side { position: sticky; top: calc(var(--header-h) + 16px); }
.ad-unit, .pult-cell { max-width: 100%; overflow: hidden; }
/* mobile anchor above the tab bar: shown only once something really drew in it (app.js) */
/* laid out (so what's drawn can be measured) but off screen until something really drew */
.ad-anchor { position: fixed; left: 0; right: 0; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px)); z-index: 80; display: flex; justify-content: center; padding: 6px 0 4px; background: rgba(17, 16, 21, .96); border-top: 1px solid var(--line); visibility: hidden; transform: translateY(160%); transition: transform .35s var(--ease); pointer-events: none; }
.ad-anchor.is-on { visibility: visible; transform: none; pointer-events: auto; }
.ad-anchor:has(.ad-slot:empty) { display: none; }
.ad-anchor__x { position: absolute; top: -26px; right: 8px; width: 28px; height: 26px; border: 0; border-radius: 8px 8px 0 0; background: rgba(17, 16, 21, .96); color: var(--text-2); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ad-anchor .ad-slot { width: auto; }
@media (min-width: 1024px) { .ad-anchor { display: none !important; } }
/* the board's own floating units sit above the tab bar on phones */
@media (max-width: 1023.98px) {
  .pult-float--bottom, .pult-float--bottom-left, .pult-float--bottom-right { bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px) + 8px) !important; }
}

/* ------------------------------------------------------------------ section heads, rails */

.sec { padding: 26px 0; }
.sec + .sec { padding-top: 10px; }
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.sec__title { font-size: clamp(19px, 1.6vw, 24px); font-weight: 800; letter-spacing: -.025em; line-height: 1.2; }
.sec__title a:hover { color: var(--accent); }
.sec__note { color: var(--text-3); font-size: 14px; font-weight: 600; margin-top: 3px; }
.sec__more { display: inline-flex; align-items: center; gap: 2px; color: var(--text-3); font-weight: 700; font-size: 14px; white-space: nowrap; transition: color .2s; }
.sec__more:hover { color: var(--accent); }
.sec__more .ico { width: 18px; height: 18px; }
.sec__ctrl { display: flex; gap: 6px; margin-left: 10px; }
.sec__ctrl button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: .2s; }
.sec__ctrl button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.sec__ctrl button:disabled { opacity: .3; cursor: default; }
@media (max-width: 1023.98px) { .sec__ctrl { display: none; } }
.sec__end { display: flex; align-items: center; }

.rail {
  --per: 7.3; --gap: 14px;
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); gap: var(--gap);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; scroll-padding-inline: var(--gutter);
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; min-width: 0; }
.rail--wide { --per: 4.3; }
@media (max-width: 1599.98px) { .rail { --per: 6.3; } .rail--wide { --per: 3.6; } }
@media (max-width: 1279.98px) { .rail { --per: 5.3; } .rail--wide { --per: 3.3; } }
@media (max-width: 1023.98px) { .rail { --per: 4.3; --gap: 12px; } .rail--wide { --per: 2.4; } }
@media (max-width: 767.98px) { .rail { --per: 3.25; --gap: 10px; } .rail--wide { --per: 1.6; } }
@media (max-width: 419.98px) { .rail { --per: 2.6; } .rail--wide { --per: 1.25; } }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 26px 16px; }
@media (max-width: 1023.98px) { .grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 20px 12px; } }
@media (max-width: 575.98px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 18px 10px; } }
@media (max-width: 359.98px) { .grid { grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------------------------------------------ poster card */

.card { position: relative; display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.card__cover { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: var(--r); overflow: hidden; background: var(--surface); isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .3s; }
.card__cover::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); pointer-events: none; }
.card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 9, 13, 0) 45%, rgba(10, 9, 13, .85) 100%); opacity: 0; transition: opacity .3s; z-index: 1; }
.card__play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--accent-ink); opacity: 0; transform: scale(.8); transition: opacity .25s, transform .3s var(--ease); box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.card__play .ico { width: 24px; height: 24px; margin-left: 3px; }
.card__badges { position: absolute; left: 8px; top: 8px; right: 8px; z-index: 3; display: flex; gap: 6px; flex-wrap: wrap; pointer-events: none; }
.card__fav { position: absolute; right: 8px; bottom: 8px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(17, 16, 21, .72); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transition: opacity .25s, background .2s; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.card__fav .ico { width: 18px; height: 18px; }
.card__fav:hover { background: var(--accent); color: var(--accent-ink); }
.card__fav.is-on { opacity: 1; color: var(--accent); }
.card__fav.is-on:hover { color: var(--accent-ink); }
.card__fav.is-on .ico-off, .card__fav:not(.is-on) .ico-on { display: none; }
.card__title { font-size: 15px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.card__title a:hover { color: var(--accent); }
.card__meta { display: flex; align-items: center; gap: 6px; color: var(--text-3); font-size: 13px; font-weight: 600; margin-top: -5px; white-space: nowrap; overflow: hidden; }
.card__meta a:hover { color: var(--text); }
.card__meta i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .7; flex: none; }
.card__noposter { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 14px; text-align: center; background: linear-gradient(160deg, var(--surface-2), var(--surface)); color: var(--text-3); font-size: 13px; font-weight: 700; }
.card__noposter .ico { width: 32px; height: 32px; color: var(--accent); }
.card__role { color: var(--text-3); font-size: 13px; margin-top: -5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (hover: hover) {
  .card:hover .card__cover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, .5), 0 0 0 2px var(--accent); }
  .card:hover .card__cover img { transform: scale(1.05); }
  .card:hover .card__shade, .card:hover .card__play, .card:hover .card__fav { opacity: 1; }
  .card:hover .card__play { transform: scale(1); }
}
@media (max-width: 575.98px) {
  .card { gap: 7px; }
  .card__title { font-size: 13px; }
  .card__meta { font-size: 12px; margin-top: -4px; }
  .card__meta .card__genre, .card__meta i { display: none; }
  .badge { height: 21px; padding: 0 6px; font-size: 11px; }
  .card__badges { left: 6px; top: 6px; gap: 4px; }
  .card .badge--online { width: 22px; padding: 0; justify-content: center; border-radius: 50%; }
  .card .badge--online .badge__t { display: none; }
}

/* wide card (continue watching, episodes) */
.wcard { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.wcard__img { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--surface); }
.wcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.wcard__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 9, 13, 0) 50%, rgba(10, 9, 13, .8)); }
.wcard__play { position: absolute; left: 12px; bottom: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; }
.wcard__play .ico { width: 18px; height: 18px; margin-left: 2px; }
.wcard__code { position: absolute; right: 12px; bottom: 14px; z-index: 2; font-weight: 800; font-size: 13px; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.wcard__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 4px; background: rgba(255, 255, 255, .22); }
.wcard__bar i { display: block; height: 100%; background: var(--accent); }
.wcard__title { font-weight: 700; font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.wcard__sub { color: var(--text-3); font-size: 13px; font-weight: 600; margin-top: -4px; }
.wcard__x { position: absolute; right: 8px; top: 8px; z-index: 3; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(17, 16, 21, .72); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transition: opacity .2s; }
.wcard__x .ico { width: 16px; height: 16px; }
@media (hover: hover) {
  .wcard:hover .wcard__img img { transform: scale(1.04); }
  .wcard:hover .wcard__play { background: var(--accent); transform: scale(1.06); }
  .wcard:hover .wcard__x { opacity: 1; }
}
@media (hover: none) { .wcard__x { opacity: 1; } }

/* ------------------------------------------------------------------ home billboard */

.bill { position: relative; min-height: clamp(520px, 82vh, 820px); display: flex; align-items: flex-end; overflow: hidden; background: var(--bg); }
.bill__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s .9s; }
.bill__slide.is-on { opacity: 1; visibility: visible; transition: opacity .9s ease; }
.bill__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transform: scale(1.04); transition: transform 9s linear; }
.bill__slide.is-on .bill__img { transform: scale(1); }
.bill__slide::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(17, 16, 21, .94) 0%, rgba(17, 16, 21, .72) 32%, rgba(17, 16, 21, 0) 64%),
  linear-gradient(180deg, rgba(17, 16, 21, .55) 0%, rgba(17, 16, 21, 0) 22%, rgba(17, 16, 21, 0) 55%, var(--bg) 100%); }
.bill__body { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(96px, 13vh, 150px); }
.bill__eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.bill__eyebrow b { font-weight: 800; }
.bill__eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--accent); }
.bill__info { max-width: 640px; }
.bill__info[hidden] { display: none; }
.bill__name { font-size: clamp(34px, 4.6vw, 68px); line-height: 1.02; font-weight: 800; letter-spacing: -.045em; text-wrap: balance; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.bill__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 16px; color: var(--text-2); font-weight: 700; font-size: 15px; }
.bill__meta .rate { display: inline-flex; align-items: center; gap: 5px; color: #fff; }
.bill__meta .rate .ico { width: 17px; height: 17px; color: var(--accent); }
.bill__text { margin-top: 14px; color: var(--text-2); font-size: 16px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; max-width: 560px; }
.bill__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.bill__cta .btn { height: 50px; padding: 0 26px; font-size: 16px; }
.bill__cta .btn--icon { width: 50px; padding: 0; }
.bill__thumbs { position: absolute; right: var(--gutter); bottom: clamp(96px, 13vh, 150px); z-index: 3; display: flex; gap: 10px; }
.bill__thumb { position: relative; width: 124px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; border: 0; padding: 0; background: var(--surface); cursor: pointer; opacity: .55; transition: opacity .25s, transform .25s var(--ease); box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.bill__thumb img { width: 100%; height: 100%; object-fit: cover; }
.bill__thumb:hover { opacity: .9; }
.bill__thumb.is-on { opacity: 1; transform: translateY(-4px); }
.bill__thumb i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--accent); }
.bill__thumb.is-on i { animation: bill-progress var(--bill-ms, 8000ms) linear forwards; }
.bill.is-paused .bill__thumb.is-on i { animation-play-state: paused; }
@keyframes bill-progress { to { width: 100%; } }
.bill__dots { display: none; }
@media (max-width: 1599.98px) { .bill__thumbs .bill__thumb:nth-child(n+5) { display: none; } }
@media (max-width: 1279.98px) { .bill__thumb { width: 100px; } .bill__thumbs .bill__thumb:nth-child(n+4) { display: none; } .bill__info { max-width: 520px; } }
@media (max-width: 1023.98px) {
  .bill { min-height: 0; display: block; padding-top: var(--header-h); }
  .bill__stage { position: relative; aspect-ratio: 16 / 10; }
  .bill__slide::after { background: linear-gradient(180deg, rgba(17, 16, 21, .5) 0%, rgba(17, 16, 21, 0) 30%, rgba(17, 16, 21, 0) 55%, var(--bg) 100%); }
  .bill__body { padding-bottom: 6px; margin-top: -34px; }
  .bill__eyebrow { margin-bottom: 8px; }
  .bill__name { font-size: clamp(28px, 8vw, 40px); }
  .bill__meta { margin-top: 10px; font-size: 14px; }
  .bill__text { -webkit-line-clamp: 2; font-size: 15px; margin-top: 10px; }
  .bill__cta { margin-top: 16px; }
  .bill__cta .btn { flex: 1; height: 48px; }
  .bill__cta .btn--icon { flex: none; width: 48px; }
  .bill__thumbs { display: none; }
  .bill__dots { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
  .bill__dots button { width: 7px; height: 7px; border-radius: 4px; border: 0; padding: 0; background: var(--surface-3); transition: width .3s, background .3s; }
  .bill__dots button.is-on { width: 22px; background: var(--accent); }
}
@media (min-width: 1024px) { .bill__stage { position: absolute; inset: 0; } }
.home-genres { padding-top: 6px; padding-bottom: 4px; }

/* ------------------------------------------------------------------ page head (lists, static pages) */

.phead { padding: 28px 0 18px; }
.phead__title { font-size: clamp(26px, 3vw, 42px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; text-wrap: balance; }
.phead__sub { margin-top: 8px; color: var(--text-3); font-weight: 600; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; color: var(--text-3); font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; border-right: 1.6px solid currentColor; border-top: 1.6px solid currentColor; transform: rotate(45deg); opacity: .6; margin-right: 2px; }
.crumbs a:hover { color: var(--accent); }
.crumbs li:last-child { color: var(--text-2); }

/* filter bar */
.fbar { position: sticky; top: var(--header-h); z-index: 50; padding: 10px 0; background: rgba(17, 16, 21, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.fbar__form { display: flex; align-items: center; gap: 10px; }
.fbar__items { display: flex; gap: 10px; flex-wrap: wrap; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; height: 42px; padding: 0 38px 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 700 14px var(--font); cursor: pointer; max-width: 220px; transition: border-color .2s; }
.select select:hover, .select select:focus { border-color: var(--line-2); outline: none; }
.select select.is-set { border-color: var(--accent); color: var(--accent); }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: rotate(45deg); pointer-events: none; }
.select option { background: var(--surface); color: var(--text); }
.fbar__count { margin-left: auto; color: var(--text-3); font-weight: 600; font-size: 14px; white-space: nowrap; }
.fbar__open { display: none; }
@media (max-width: 1023.98px) {
  .fbar__items, .fbar__apply { display: none; }
  .fbar__open { display: inline-flex; }
}
.fsheet .select select { width: 100%; max-width: none; height: 50px; border-radius: var(--r); }
.fsheet .select + .select { margin-top: 10px; }
.fsheet .btn { width: 100%; margin-top: 16px; height: 50px; }

/* pagination */
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; margin: 34px 0 10px; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px; background: var(--surface); color: var(--text-2); font-weight: 700; font-size: 14px; }
.pager a:hover { background: var(--surface-2); color: var(--text); }
.pager .is-on { background: var(--accent); color: var(--accent-ink); }
.pager .is-off { opacity: .35; }
.pager .gap { background: transparent; min-width: 20px; padding: 0; }
.more-btn { display: flex; width: 100%; max-width: 420px; margin: 30px auto 0; }
@media (min-width: 1024px) { .more-btn { display: none; } }
@media (max-width: 575.98px) { .pager a:not(.pager__nav), .pager .is-on, .pager .gap { display: none; } .pager__info { display: inline-flex !important; background: transparent !important; } }
.pager__info { display: none !important; }
.empty { padding: 40px 0; color: var(--text-3); font-size: 16px; font-weight: 600; text-align: center; }

/* ------------------------------------------------------------------ title / season / episode pages */

.dhero { position: relative; padding-top: var(--header-h); isolation: isolate; }
.dhero__bg { position: absolute; inset: 0 0 auto; height: min(88vh, 900px); z-index: -1; overflow: hidden; }
.dhero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; opacity: .55; }
.dhero__bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(17, 16, 21, .96) 0%, rgba(17, 16, 21, .78) 38%, rgba(17, 16, 21, .35) 70%, rgba(17, 16, 21, .55) 100%),
  linear-gradient(180deg, rgba(17, 16, 21, .6) 0%, rgba(17, 16, 21, 0) 26%, rgba(17, 16, 21, .4) 70%, var(--bg) 100%); }
.dhero__grid { display: grid; gap: 22px 40px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "media" "body"; padding-top: 22px; padding-bottom: 12px; }
.dhero__head { grid-area: head; min-width: 0; }
.dhero__media { grid-area: media; min-width: 0; }
.dhero__body { grid-area: body; min-width: 0; }
@media (min-width: 1200px) {
  .dhero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "head media" "body media"; grid-template-rows: auto 1fr; padding-top: 34px; }
}
.dhero__kind { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.dhero__title { font-size: clamp(28px, 3.4vw, 50px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; text-wrap: balance; }
.dhero__title--sm { font-size: clamp(22px, 2.3vw, 34px); }
.dhero__suffix { display: block; margin-top: 8px; font-size: 14px; font-weight: 700; letter-spacing: .02em; color: var(--text-3); }
.dhero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 14px; color: var(--text-2); font-weight: 700; font-size: 15px; }
.dhero__meta > * { display: inline-flex; align-items: center; gap: 5px; }
.dhero__meta .rate { color: #fff; }
.dhero__meta .rate .ico { width: 17px; height: 17px; color: var(--accent); }
.dhero__meta .rate small { color: var(--text-3); font-size: 12px; }
.dhero__genres { margin-top: 14px; }
.dhero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.dhero__cta .btn { height: 48px; }
.dhero__cta .btn--icon { width: 48px; }
.dhero__about { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; margin-top: 4px; align-items: start; }
.dhero__poster { position: relative; aspect-ratio: 2 / 3; border-radius: var(--r); overflow: hidden; background: var(--surface); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.dhero__poster img { width: 100%; height: 100%; object-fit: cover; }
.dhero__poster .badge { position: absolute; left: 8px; top: 8px; }
.overview { color: var(--text-2); font-size: 15.5px; line-height: 1.7; }
.overview p + p { margin-top: 10px; }
.overview.is-clamped { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.overview__toggle { margin-top: 6px; border: 0; background: none; padding: 0; color: var(--accent); font-weight: 700; cursor: pointer; }
.facts { margin-top: 16px; display: grid; gap: 8px; font-size: 14px; }
.facts li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; }
.facts li > span:first-child { color: var(--text-3); font-weight: 600; }
.facts a { color: var(--text); font-weight: 600; }
.facts a:hover { color: var(--accent); }
.facts a + a::before { content: ", "; color: var(--text-3); }
.source { font-size: 13px; color: var(--text-3); margin-top: 8px; }
.source a { color: var(--accent); }
@media (max-width: 1199.98px) {
  .dhero__bg { height: 520px; }
  .dhero__bg::after { background: linear-gradient(180deg, rgba(17, 16, 21, .55) 0%, rgba(17, 16, 21, .7) 40%, var(--bg) 100%); }
}
@media (max-width: 767.98px) {
  .dhero__grid { gap: 16px; padding-top: 14px; }
  /* phones: the player right under the title — the tabs above it do what «Watch» / «Trailer» do */
  .dhero__head .dhero__genres, .dhero__cta [data-watch], .dhero__cta [data-show-trailer], .dhero__cta [data-fav] { display: none; }
  .dhero__cta:not(.has-continue) { display: none; }
  .dhero__cta { margin-top: 14px; }
  .dhero__cta .btn { height: 44px; }
  .dhero__suffix { margin-top: 4px; font-size: 13px; }
  .dhero .crumbs { display: none; }
  .media-tabs .media-tabs__fav { display: inline-flex !important; }
  .dhero__about { grid-template-columns: minmax(0, 1fr); }
  .dhero__poster { display: none; }
  .dhero__cta .btn:not(.btn--icon) { flex: 1; }
  .dhero__meta { font-size: 14px; gap: 6px 12px; margin-top: 10px; }
  .facts li { grid-template-columns: 100px minmax(0, 1fr); }
  .dhero__media { margin: 0 calc(var(--gutter) * -1); }
  .dhero__media .media-tabs { padding: 0 var(--gutter); }
  .dhero__media .stage, .dhero__media .pult-stage, .dhero__media .player__frame, .dhero__media .trailer { border-radius: 0 !important; }
  .dhero__media .ad-slot--player { padding: 0 var(--gutter); }
  .dhero__media .media-switch__panel > .select { display: inline-block; margin: 10px var(--gutter) 0; }
}

/* the player box (board player / own fallback / trailer) */
.media-tabs { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.media-tabs button { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--text-2); font-size: 14px; font-weight: 700; cursor: pointer; transition: .2s; }
.media-tabs button:hover { color: var(--text); }
.media-tabs button.is-on { background: var(--accent); color: var(--accent-ink); }
.media-tabs button .ico { width: 16px; height: 16px; }
.media-tabs__code { margin-left: auto; color: var(--text-3); font-weight: 700; font-size: 13px; }
.media-tabs__fav { display: none !important; margin-left: auto; width: 36px; padding: 0 !important; justify-content: center; }
.media-tabs__fav.is-on { color: var(--accent) !important; }
.media-tabs__fav.is-on .ico-off, .media-tabs__fav:not(.is-on) .ico-on { display: none; }
.media-tabs__code + .media-tabs__fav { margin-left: 8px; }
.facts .only-phone { display: none; }
@media (max-width: 767.98px) { .facts .only-phone { display: grid; } }
.media-switch__panel[hidden] { display: none; }
.media-switch__stage { position: relative; }
.media-switch__panel .select { margin-top: 10px; }
.stage-shadow { border-radius: var(--r-lg); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.trailer { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #0b0a0e; padding: 0; border: 0; cursor: pointer; }
.trailer img { width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: opacity .3s, transform .6s var(--ease); }
.trailer:hover img { opacity: .95; transform: scale(1.02); }
.trailer__play, .player__play { position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--accent-ink); box-shadow: 0 12px 40px rgba(249, 171, 0, .35); transition: transform .3s var(--ease); }
.trailer__play .ico, .player__play .ico { width: 32px; height: 32px; margin-left: 4px; }
.trailer:hover .trailer__play, .player__start:hover .player__play { transform: scale(1.08); }
.trailer__label { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 8px; background: rgba(17, 16, 21, .8); color: #fff; font-size: 13px; font-weight: 700; }
.trailer--empty { display: flex; align-items: center; justify-content: center; cursor: default; }
.trailer--empty img { position: absolute; inset: 0; opacity: .3; }
.trailer--empty .trailer__label { position: relative; left: auto; bottom: auto; }
.trailer--loading { cursor: progress; }
.trailer--loading .trailer__play { animation: vast-pulse 1s ease-in-out infinite; }
@keyframes vast-pulse { 50% { transform: scale(.92); opacity: .7; } }
.media-switch .plyr { border-radius: var(--r-lg); }

/* Пульт's player box */
.pult-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #0b0a0e; }
.pult-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.pult-stage[data-pult-player] > img, .pult-stage > img:not(:only-child) { display: none; }

/* bobina's own player (fallback when the board's can't start) */
.player { margin: 0; }
.player__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #0b0a0e; }
.player__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #0b0a0e; }
.player__frame > .plyr { position: absolute; inset: 0; z-index: 1; height: 100%; margin: 0; border-radius: 0; }
.player__frame .plyr__video-wrapper { position: absolute; inset: 0; height: 100%; }
.player__frame .player__video { height: 100%; }
.player__slot { position: absolute; inset: 0; z-index: 2; }
.player__chrome { position: absolute; inset: 0; z-index: 3; }
.player__dim { position: absolute; inset: 0; background: rgba(11, 10, 14, .55); pointer-events: none; }
.player__start { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border: 0; padding: 0; background: transparent; cursor: pointer; }
.player[data-phase="ad"] .player__chrome { display: none; }
.player[data-phase="done"] .player__start { display: none; }
.player[data-phase="idle"] .plyr__controls, .player[data-phase="done"] .plyr__controls { opacity: 0; pointer-events: none; }
.player__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; pointer-events: none; }
.player__stub { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; background: rgba(11, 10, 14, .62); }
.player__msg { margin: 0; max-width: 440px; color: #fff; font-size: 18px; line-height: 1.4; font-weight: 700; }
.player[data-phase="content"] .player__chrome, .player[data-phase="content"] .player__stub, .player[data-phase="content"] .player__slot { display: none; }
.player[data-phase="ad"] .plyr__controls { opacity: 0; pointer-events: none; }
.player[data-phase="content"] .player__video { cursor: pointer; }
.player__midroll { position: absolute; inset: 0; z-index: 10; background: #000; }
.player .player__midroll-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.player__midroll-slot { position: absolute; inset: 0; }
.player[data-midroll] .plyr__controls, .player[data-midroll] .plyr__captions { opacity: 0; pointer-events: none; }
/* VAST pre-roll over the trailer */
.vast-preroll { position: absolute; inset: 0; z-index: 5; border-radius: var(--r-lg); overflow: hidden; background: #000; }
.vast-preroll__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.vast-ui { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.vast-ui__click { position: absolute; inset: 0; pointer-events: auto; cursor: pointer; }
.vast-ui__badge { position: absolute; left: 14px; top: 12px; z-index: 1; padding: 4px 10px; border-radius: 6px; background: rgba(11, 10, 14, .72); color: #fff; font-size: 12px; font-weight: 700; }
.vast-ui__skip { position: absolute; right: 14px; bottom: 16px; z-index: 1; pointer-events: auto; height: 38px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; background: rgba(11, 10, 14, .78); color: #fff; font-size: 14px; font-weight: 700; }
.vast-ui__skip:disabled { opacity: .75; cursor: default; }
.vast-ui__skip:not(:disabled):hover { border-color: var(--accent); color: var(--accent); }

/* episode bar under the player (episode pages) */
.epbar { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.epbar__mid { flex: 1; min-width: 0; text-align: center; color: var(--text-3); font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.epbar .btn { height: 42px; }
@media (max-width: 767.98px) { .epbar { padding: 0 var(--gutter); } .epbar .btn span { display: none; } .epbar .btn { width: 42px; padding: 0; } }

/* playlist beside the player */
.plist { grid-area: side; min-width: 0; display: flex; flex-direction: column; background: rgba(29, 28, 35, .72); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.plist__head { padding: 14px 14px 10px; border-bottom: 1px solid var(--line); }
.plist__title { font-weight: 800; font-size: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plist__title a { color: var(--text-3); font-size: 13px; font-weight: 700; }
.plist__title a:hover { color: var(--accent); }
.plist__seasons { margin-top: 10px; }
.plist__seasons .chip { height: 32px; padding: 0 12px; font-size: 13px; }
.plist__list { overflow-y: auto; flex: 1; padding: 6px; scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
@media (min-width: 1200px) { .plist { max-height: var(--plist-h, 620px); position: sticky; top: calc(var(--header-h) + 16px); } }
@media (max-width: 1199.98px) { .plist { background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: 0; overflow: visible; } .plist__head { padding: 0 0 10px; border: 0; } .plist__list { padding: 0; overflow: visible; } }
.ep { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 12px; align-items: center; padding: 6px; border-radius: var(--r); transition: background .2s; }
.ep:hover { background: rgba(255, 255, 255, .05); }
.ep.is-on { background: var(--accent-soft); }
.ep__img { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.ep__img img { width: 100%; height: 100%; object-fit: cover; }
.ep__img .ico { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; color: rgba(255, 255, 255, .9); filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .6)); }
.ep__img--none { display: flex; align-items: center; justify-content: center; color: var(--text-3); font-weight: 800; font-size: 20px; background: linear-gradient(160deg, var(--surface-2), var(--surface)); }
.ep__n { position: absolute; left: 6px; bottom: 5px; font-weight: 800; font-size: 12px; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .7); }
.ep__now { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(17, 16, 21, .55); color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ep__t { font-weight: 700; font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ep.is-on .ep__t { color: var(--accent); }
.ep__m { display: flex; align-items: center; gap: 6px; margin-top: 3px; color: var(--text-3); font-size: 12px; font-weight: 600; }
.ep__m .badge { height: 18px; font-size: 10px; padding: 0 5px; }

/* episodes grid (title & season pages) */
.eps { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px 16px; }
@media (max-width: 767.98px) { .eps { grid-template-columns: minmax(0, 1fr); gap: 4px; } .eps .wcard { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; align-items: center; padding: 6px 0; } .eps .wcard__play { width: 30px; height: 30px; left: 8px; bottom: 8px; } .eps .wcard__code { display: none; } }
.wcard__img--none { display: flex; align-items: center; justify-content: center; color: var(--text-3); font-size: 26px; font-weight: 800; background: linear-gradient(160deg, var(--surface-2), var(--surface)); }
.wcard__img--none::after { display: none; }
.wcard__desc { color: var(--text-3); font-size: 13px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wcard.is-on .wcard__title { color: var(--accent); }
.eps-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.season-pick { margin-bottom: 18px; }

/* tabs + sidebar */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 22px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { position: relative; height: 48px; padding: 0 16px; border: 0; background: none; color: var(--text-3); font-weight: 800; font-size: 15px; white-space: nowrap; cursor: pointer; transition: color .2s; }
.tabs button:hover { color: var(--text); }
.tabs button.is-on { color: var(--text); }
.tabs button.is-on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--accent); }
.tabs sup { color: var(--accent); font-size: 11px; margin-left: 2px; }
.tabpane { display: none; }
.tabpane.is-on { display: block; animation: fade-in .25s ease; }
@keyframes fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; }
@media (min-width: 1200px) { .layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; } }
.side { min-width: 0; }
.side__title { font-size: 18px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.mini { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 12px; align-items: center; padding: 7px; margin: 0 -7px; border-radius: var(--r); transition: background .2s; }
.mini:hover { background: rgba(255, 255, 255, .05); }
.mini__img { aspect-ratio: 2 / 3; border-radius: 8px; overflow: hidden; background: var(--surface); }
.mini__img img { width: 100%; height: 100%; object-fit: cover; }
.mini__t { font-weight: 700; font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini__m { display: flex; align-items: center; gap: 6px; color: var(--text-3); font-size: 12px; font-weight: 600; margin-top: 3px; }
.mini__m .ico { width: 13px; height: 13px; color: var(--accent); }
@media (max-width: 1199.98px) { .side--list { display: none; } }

/* SEO text, FAQ */
.prose { color: var(--text-2); font-size: 15.5px; line-height: 1.75; max-width: 860px; }
.prose p + p { margin-top: 12px; }
.prose strong { color: var(--text); }
.prose a { color: var(--accent); }
.prose h2 { color: var(--text); font-size: 20px; font-weight: 800; letter-spacing: -.02em; margin: 26px 0 10px; }
.faq { margin-top: 26px; max-width: 860px; }
.faq__title { font-size: 20px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; font-weight: 700; font-size: 15.5px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--surface); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 600; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 16px; color: var(--text-2); line-height: 1.7; }

/* people */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 20px 14px; }
@media (max-width: 575.98px) { .people { grid-template-columns: repeat(3, 1fr); gap: 16px 10px; } }
.person { display: block; }
.person__photo { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--surface); margin-bottom: 8px; color: var(--text-3); transition: box-shadow .25s; }
.person__photo .ico { width: 34px; height: 34px; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__name { display: block; font-size: 14px; font-weight: 700; line-height: 1.3; text-align: center; }
.person__role { display: block; font-size: 12px; color: var(--text-3); margin-top: 2px; text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.person:hover .person__photo { box-shadow: 0 0 0 2px var(--accent); }
.person:hover .person__name { color: var(--accent); }

/* comments, reviews, forms */
.cmts { display: grid; gap: 4px; margin-bottom: 20px; }
.cmt { padding: 16px; border-radius: var(--r-lg); background: var(--surface); }
.cmt--answer { margin-left: 40px; background: var(--bg-2); border: 1px solid var(--line); }
.cmt__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cmt__name { font-weight: 800; }
.cmt__time { color: var(--text-3); font-size: 13px; font-weight: 600; }
.cmt__rate { margin-left: auto; height: 30px; min-width: 38px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.cmt__rate--green { background: rgba(46, 204, 113, .16); color: var(--green); }
.cmt__rate--yellow { background: var(--accent-soft); color: var(--accent); }
.cmt__rate--red { background: rgba(255, 90, 95, .16); color: var(--red); }
.cmt__text { margin-top: 10px; color: var(--text-2); line-height: 1.65; white-space: pre-line; word-break: break-word; }
.cmt__acts { display: flex; gap: 6px; margin-top: 10px; }
.cmt__acts button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--text-3); font-weight: 700; font-size: 13px; cursor: pointer; }
.cmt__acts button:hover { color: var(--text); }
.cmt__acts .ico { width: 16px; height: 16px; }
@media (max-width: 575.98px) { .cmt--answer { margin-left: 16px; } }
.note { color: var(--text-3); font-weight: 600; margin: 6px 0 18px; }
.note a { color: var(--accent); }
.form { display: grid; gap: 12px; max-width: 760px; }
.input, .textarea { width: 100%; border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: var(--r); padding: 0 16px; height: 50px; font: 600 15px var(--font); outline: none; transition: border-color .2s; }
.textarea { height: 130px; padding: 14px 16px; resize: vertical; line-height: 1.55; }
.input:focus, .textarea:focus { border-color: var(--accent); }
.form .select select { width: 100%; max-width: none; height: 50px; border-radius: var(--r); }
.form-note { color: var(--accent); font-weight: 700; }
.form .btn { justify-self: start; }

/* ------------------------------------------------------------------ person page */

.pers { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 34px; align-items: start; padding-top: 10px; }
.pers__photo { aspect-ratio: 2 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); display: flex; align-items: center; justify-content: center; color: var(--text-3); }
.pers__photo img { width: 100%; height: 100%; object-fit: cover; }
.pers__photo .ico { width: 54px; height: 54px; }
@media (max-width: 767.98px) { .pers { grid-template-columns: 110px minmax(0, 1fr); gap: 18px; } }

/* ------------------------------------------------------------------ auth, 404 */

.auth { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; background: radial-gradient(1200px 600px at 50% -10%, rgba(249, 171, 0, .12), transparent 60%), var(--bg); }
.auth__card { width: 100%; max-width: 420px; padding: 34px 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.auth__logo { display: flex; justify-content: center; margin-bottom: 26px; }
.auth__title { font-size: 24px; font-weight: 800; letter-spacing: -.03em; text-align: center; margin-bottom: 20px; }
.auth .form { max-width: none; }
.auth .btn { width: 100%; justify-self: stretch; height: 50px; }
.auth__check { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 14px; font-weight: 600; }
.auth__check input { width: 18px; height: 18px; accent-color: var(--accent); }
.auth__check a, .auth__alt a { color: var(--accent); }
.auth__alt { text-align: center; color: var(--text-3); font-weight: 600; margin-top: 18px; }
.auth__error { color: var(--red); text-align: center; font-weight: 700; margin-bottom: 14px; }
.nf { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: calc(var(--header-h) + 30px) 16px 40px; }
.nf__code { font-size: clamp(90px, 16vw, 180px); font-weight: 800; letter-spacing: -.06em; line-height: 1; background: linear-gradient(180deg, var(--accent), rgba(249, 171, 0, .25)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf__text { color: var(--text-2); font-size: 17px; margin: 10px 0 24px; }

/* ------------------------------------------------------------------ footer */

.foot { margin-top: 40px; border-top: 1px solid var(--line); background: var(--bg-2); padding: 46px 0 26px; }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 30px; }
.foot__tag { color: var(--text-3); font-size: 14px; font-weight: 600; margin-top: 14px; max-width: 340px; line-height: 1.6; }
.foot__h { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.foot__col a { display: block; color: var(--text-2); font-weight: 600; font-size: 14px; padding: 4px 0; }
.foot__col a:hover { color: var(--accent); }
.foot__col--genres { columns: 2; column-gap: 18px; }
.foot__col--genres .foot__h { column-span: all; }
.foot__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 13px; font-weight: 600; }
.foot__note { max-width: 860px; line-height: 1.6; }
.foot__sponsored a { color: var(--text-3); text-decoration: underline; text-underline-offset: 3px; }
.foot__sponsored a:hover { color: var(--accent); }
.foot__up { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.foot__up:hover { border-color: var(--accent); color: var(--accent); }
.foot__langs { display: flex; gap: 6px; margin-top: 18px; }
@media (max-width: 1023.98px) { .foot__top { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } .foot__col--genres { grid-column: 1 / -1; columns: 3; } }
@media (max-width: 575.98px) { .foot__col--genres { columns: 2; } .foot { padding-top: 34px; } }

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

/* ------------------------------------------------------------------ additions */

.card__hit { position: absolute; inset: 0; z-index: 2; }
@media (min-width: 1200px) { .rail > .hide-xl { display: none; } }
.dhero--watch .dhero__grid { grid-template-areas: "head" "media" "body" "side"; }
@media (min-width: 1200px) {
  .dhero--watch .dhero__grid { grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: "head head" "media side" "body body"; grid-template-rows: auto auto auto; }
  .dhero--watch .plist { contain: size; height: 100%; max-height: none; position: static; }
  .dhero--watch .dhero__body { max-width: 900px; }
}
.dhero__kind a:hover { color: var(--accent-2); }
.dhero__kind .badge { letter-spacing: .02em; }
.nf { min-height: 60vh; padding: 40px 16px; }
.hide { display: none !important; }
