/* ===================== fonts.css ===================== */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/inter-400-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/inter-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/inter-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/inter-400-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: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/inter-500-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/inter-500-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/inter-500-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/inter-500-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: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/inter-600-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/inter-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/inter-600-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/inter-600-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: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/inter-700-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/inter-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/inter-700-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/inter-700-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: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/montserrat-600-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/montserrat-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/montserrat-600-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/montserrat-600-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: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/montserrat-700-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/montserrat-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/montserrat-700-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/montserrat-700-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: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/montserrat-800-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/montserrat-800-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/montserrat-800-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/montserrat-800-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;
}

/* ===================== styles.css ===================== */
:root {
  --blue: #2f66e6;
  --blue-dark: #2257d6;
  --blue-soft: #e9eefc;
  --blue-soft-text: #2f66e6;

  --navy: #16233f;
  --navy-soft: #20304f;
  --text: #5b6675;
  --text-2: #8a93a3;
  --text-3: #aab2bf;

  --gold: #f6b42b;

  --bg-card: #ffffff;
  --surface: #ffffff;
  --bg-soft: #f5f6f8;
  --bg-soft-0: rgba(245, 246, 248, 0);
  --bg-soft-2: #f7f8fa;
  --border: #e9ebf0;
  --border-2: #eef0f4;

  --header-bg: rgba(255, 255, 255, .86);
  --header-bg-stuck: rgba(255, 255, 255, .96);

  color-scheme: light;

  --container: 1460px;
  --cardpad: 40px;
  --radius-card: 26px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --shadow-card: 0 30px 80px -20px rgba(20, 30, 60, .35);
  --shadow-soft: 0 12px 30px -12px rgba(20, 30, 60, .14);
  --shadow-btn: 0 12px 24px -8px rgba(47, 102, 230, .55);

  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out-smooth: cubic-bezier(.22, 1, .36, 1);
}

[data-theme="dark"] {
  --blue: #5b8cff;
  --blue-dark: #6f9bff;
  --blue-soft: rgba(91, 140, 255, .16);

  --navy: #eef2f8;
  --navy-soft: #d9e0ec;
  --text: #aeb8c6;
  --text-2: #8893a6;
  --text-3: #69748a;

  --bg-card: #161b24;
  --surface: #1f2632;
  --bg-soft: #1e242f;
  --bg-soft-0: rgba(30, 36, 47, 0);
  --bg-soft-2: #1a202a;
  --border: #2c3340;
  --border-2: #262d39;

  --shadow-card: 0 30px 80px -20px rgba(0, 0, 0, .65);
  --shadow-soft: 0 12px 30px -12px rgba(0, 0, 0, .55);

  --header-bg: rgba(20, 25, 33, .82);
  --header-bg-stuck: rgba(20, 25, 33, .95);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: #cdd3db;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;

  background-color: #cdd3db;
  background-image:
    radial-gradient(120% 78% at 50% 122%, rgba(249, 207, 158, .92) 0%, rgba(249, 207, 158, 0) 55%),
    radial-gradient(85% 60% at 88% -10%, rgba(150, 172, 201, .5) 0%, rgba(150, 172, 201, 0) 60%),
    linear-gradient(180deg, rgba(206, 215, 226, .92) 0%, rgba(216, 209, 200, .8) 52%, rgba(249, 229, 201, .78) 100%),
    url("../assets/got-bg.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

@media (max-width: 768px) {
  body { background-attachment: scroll; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; -webkit-tap-highlight-color: transparent; }

.btn:active { transform: translateY(0) scale(.985); }
.chip:active, .tab:active { transform: scale(.95); }
ul { list-style: none; padding: 0; }
.svg-sprite { position: absolute; }
svg { fill: currentColor; }

:focus-visible {
  outline: 2.5px solid var(--blue);
  outline-offset: 2px;
  border-radius: 6px;
}
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  background: var(--blue); color: #fff;
  padding: 10px 16px; border-radius: 10px;
  font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-2);
  padding: 4px 0 18px;
}
.crumbs a { color: var(--text-2); transition: color .18s var(--ease); }
.crumbs a:hover { color: var(--blue); }
.crumbs__arrow { width: 15px; height: 15px; color: var(--blue); flex-shrink: 0; }
.crumbs__current { color: var(--navy); font-weight: 600; }

.page {
  min-height: 100vh;
  padding: 26px;
}

.card {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 30px var(--cardpad) 40px;
  overflow: visible;
}

.bleed {
  margin-left: calc(-1 * var(--cardpad));
  margin-right: calc(-1 * var(--cardpad));
}
.bleed,
.section.bleed {
  padding-left: var(--cardpad);
  padding-right: var(--cardpad);
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0 26px;
  position: relative;
  z-index: 40;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}
.logo__img {
  display: block;
  height: 34px;
  width: auto;
  max-width: min(300px, 62vw);
  object-fit: contain;
}

.header__actions { display: flex; align-items: center; gap: 8px; position: relative; }

.nav { display: flex; align-items: center; gap: 6px; }

.nav-item--seasons { position: relative; }
.nav-item--seasons > .nav__link::after {
  content: "";
  display: inline-block;
  width: 0; height: 0;
  margin-left: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: .45;
  vertical-align: 2px;
  transition: transform .2s var(--ease);
}
.nav-item--seasons.is-open > .nav__link::after { transform: rotate(180deg); opacity: .65; }

.nav-seasons {
  width: min(700px, calc(100vw - 32px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s var(--ease), visibility .22s var(--ease);
  z-index: 1000;
}
.nav-seasons--inline {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
}
.nav-seasons--floating {
  position: fixed;
  top: 0;
  left: 0;
  transform: none;
}
.nav-seasons--floating::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}
.nav-seasons.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nav-seasons__panel {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 24px);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 24px 56px -16px rgba(15, 23, 42, .28);
  padding: 18px 20px 14px;
}
.nav-seasons__title {
  flex: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--navy);
  margin: 0 0 14px;
  padding: 0 2px;
}
.nav-seasons__grid {
  flex: 0 0 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: min-content;
  align-content: start;
  gap: 12px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  list-style: none;
  margin: 0;
  padding: 0 4px 4px 0;
}
.nav-seasons--floating .nav-seasons__grid {
  overflow-y: auto;
  touch-action: pan-y;
}
.nav-seasons__card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.nav-seasons__card:hover {
  border-color: rgba(47, 102, 230, .45);
  box-shadow: 0 10px 24px -10px rgba(47, 102, 230, .35);
}
.nav-seasons__card.is-active {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}
.nav-seasons__thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-card);
}
.nav-seasons__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nav-seasons__info { display: block; padding: 8px 10px 10px; }
.nav-seasons__name {
  display: block;
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  line-height: 1.25;
}
.nav-seasons__meta {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  color: var(--text-2);
}

.theme-toggle {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  color: var(--navy);
  transition: background .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
.theme-toggle:hover { background: var(--bg-soft); }
.theme-toggle:active { transform: scale(.92); }
.theme-toggle svg { width: 22px; height: 22px; }
.theme-toggle__sun { display: none; }
[data-theme="dark"] .theme-toggle__moon { display: none; }
[data-theme="dark"] .theme-toggle__sun { display: block; }
.nav__link {
  padding: 9px 16px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 500;
  color: #7b8494;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__link:hover { color: var(--navy); }
.nav__link--active {
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 600;
}
.nav__cta {
  padding: 9px 16px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 600;
  color: #7b8494;
  white-space: nowrap;
  box-shadow: none;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__cta:hover { color: var(--navy); background: var(--bg-soft); box-shadow: none; }

.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 12px;
  color: var(--navy);
}
.burger svg { width: 26px; height: 26px; }
.burger__close { display: none; }

.section { padding: 48px 0; }
#franchise { padding-top: 24px; padding-bottom: 24px; }
#music { padding-top: 24px; padding-bottom: 24px; }
#awards { padding-top: 24px; padding-bottom: 24px; }
#posters { padding-top: 24px; padding-bottom: 24px; }

.franchise-rail { position: relative; }
.franchise-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}
.franchise-rail__btn {
  position: absolute;
  top: 38%;
  z-index: 4;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  color: var(--navy);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s var(--ease), visibility .22s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.franchise-rail__btn svg { width: 20px; height: 20px; }
.franchise-rail__btn:hover { border-color: var(--blue); color: var(--blue); }
.franchise-rail__btn--prev { left: 6px; }
.franchise-rail__btn--next { right: 6px; }
.franchise-rail--scroll:hover .franchise-rail__btn:not(:disabled):not([hidden]),
.franchise-rail--scroll:focus-within .franchise-rail__btn:not(:disabled):not([hidden]) {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.franchise-rail--scroll .franchise-rail__btn:disabled {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.franchise-rail--scroll .franchise-grid {
  grid-template-columns: none !important;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 20px * 4) / 5);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.franchise-rail--scroll .franchise-grid::-webkit-scrollbar { display: none; }
.franchise-rail--scroll .franchise-grid > * { scroll-snap-align: start; min-width: 0; }
.franchise-item {
  min-width: 0;
}
.franchise-item__poster {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #141c2a;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: border-color .22s var(--ease);
}
[data-theme="dark"] .franchise-item__poster {
  border-color: rgba(255, 255, 255, .12);
}
.franchise-item:hover .franchise-item__poster {
  border-color: rgba(47, 102, 230, .45);
}
.franchise-item__poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.meta-stats {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}
.meta-stat {
  display: inline;
  white-space: nowrap;
}
.meta-stat + .meta-stat { margin-left: 8px; }
.meta-stat svg {
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: 3px;
  vertical-align: -0.14em;
  color: #f5c518;
  fill: currentColor;
}
.meta-stat__ic--eye {
  width: 14px;
  height: 14px;
  vertical-align: -0.18em;
}
.meta-stats--overlay {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .65);
}
.meta-stats--inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
}
.meta-stats--inline .meta-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.meta-stats--inline .meta-stat + .meta-stat { margin-left: 0; }
.meta-stats--inline .meta-stat svg {
  margin-right: 0;
  flex-shrink: 0;
}
.meta-stats--inline .meta-stat:not(.meta-stat--rate):not(.meta-stat--views) svg {
  width: 16px;
  height: 16px;
  color: var(--text-3);
  fill: none;
  stroke: currentColor;
}
.franchise-item__poster .meta-stats--overlay {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  max-width: calc(100% - 16px);
  text-align: right;
}
.show-head__poster .meta-stats--overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  max-width: calc(100% - 20px);
  text-align: right;
}
.episode__foot .meta-stat--rate {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
}
.episode__foot .meta-stat--rate svg { margin-right: 0; }

.franchise-item__title {
  margin: 11px 0 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
}
.franchise-item__meta {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--text-2);
}

#stills { padding-top: 24px; }
#faq { padding-bottom: 24px; }
#comments { padding-top: 24px; }

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 24px;
  row-gap: 8px;
  margin-bottom: 24px;
}
.section__head-main {
  grid-column: 1;
  grid-row: 1 / -1;
  min-width: 0;
}
.section__head .link-more,
.section__head .view-switch {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  justify-self: end;
}
.section__kicker {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 9px;
}
.section__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.section__head .section__title { margin-bottom: 0; }

.section--band { background: var(--bg-soft); }

.chars-empty {
  color: var(--text-2);
  font-size: 15px;
  padding: 22px 2px 6px;
}
.char[hidden] { display: none !important; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.link-more:hover { color: var(--blue-dark); }
.link-more svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.link-more:hover svg { transform: translateX(3px); }
.link-more--center { justify-content: center; }

@keyframes showMoreIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.show-more-in {
  animation: showMoreIn .78s var(--ease-out-smooth) both;
}

@media (prefers-reduced-motion: reduce) {
  .show-more-in { animation: none; opacity: 1; transform: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-weight: 600;
  font-size: 16px;
  border-radius: 11px;
  padding: 16px 30px;
  transition: background-color .22s var(--ease), box-shadow .28s var(--ease),
              color .22s var(--ease), border-color .22s var(--ease);
}
.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 16px -8px rgba(47, 102, 230, .55);
}
.btn--primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 12px 30px -10px rgba(47, 102, 230, .7);
}
.btn--primary:active { box-shadow: 0 4px 12px -8px rgba(47, 102, 230, .6); }
.btn__play { width: 18px; height: 18px; }
.btn--ghost { background: var(--bg-soft); color: var(--navy); border: 1px solid var(--border); }
.btn--ghost:hover { background: var(--bg-soft-2); border-color: var(--text-3); }

.show-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 0 34px;
}
.show-head__header { min-width: 0; }
.show-head__body {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px 36px;
  align-items: start;
}
.show-head__media { display: flex; flex-direction: column; gap: 12px; }
.show-head__poster {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #1a2333;
}
.show-head__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 41% center;
}
.star-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 12px 14px 13px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.star-rating__stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.star-rating__btn {
  flex: none;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #c5ccd8;
  cursor: pointer;
  transition: color .16s var(--ease), transform .12s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.star-rating__btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  pointer-events: none;
}
.star-rating__btn.is-filled {
  color: #f5c518;
}
@media (hover: hover) and (pointer: fine) {
  .star-rating__btn:hover {
    color: #f5c518;
  }
}
.star-rating__btn:active { transform: scale(.94); }
.star-rating__btn.is-filled { filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .08)); }
.star-rating.is-loading { opacity: .6; pointer-events: none; }
.star-rating__meta {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--text-2);
}
.star-rating__avg {
  font-weight: 800;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
}
.star-rating__votes { font-weight: 500; }
[data-theme="dark"] .star-rating__btn { color: #4a5568; }
[data-theme="dark"] .star-rating__btn.is-filled { color: #f5c518; }
@media (hover: hover) and (pointer: fine) {
  [data-theme="dark"] .star-rating__btn:hover { color: #f5c518; }
}

.show-head__trailer { width: 100%; padding: 12px 14px; font-size: 14px; }

.share,
.ep-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.share__label,
.ep-share__label {
  font-weight: 600;
  color: var(--navy);
  font-size: 15px;
}
.share__list,
.ep-share__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.show-head__share {
  margin-top: 16px;
  padding-top: 0;
  border-top: none;
  width: 100%;
}
.show-head__share .share__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sbtn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(20, 30, 60, .05);
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
  overflow: visible;
}
.sbtn svg { width: 22px; height: 22px; flex: none; }
.sbtn:hover { color: #fff; box-shadow: 0 4px 14px -6px rgba(20, 30, 60, .35); }
.sbtn:active { transform: scale(.96); }
.sbtn--counted {
  flex-direction: column;
  gap: 4px;
  width: auto;
  min-width: 48px;
  height: auto;
  padding: 8px 10px 7px;
}
.sbtn__count {
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--text-2);
  transition: color .18s var(--ease);
}
.sbtn:hover .sbtn__count { color: rgba(255, 255, 255, .92); }
.sbtn--vk { color: #4a76a8; background: rgba(74, 118, 168, .1); border-color: rgba(74, 118, 168, .18); }
.sbtn--vk:hover { background: #4a76a8; border-color: #4a76a8; }
.sbtn--tg { color: #229ed9; background: rgba(34, 158, 217, .1); border-color: rgba(34, 158, 217, .18); }
.sbtn--tg:hover { background: #229ed9; border-color: #229ed9; }
.sbtn--ok { color: #ee8208; background: rgba(238, 130, 8, .1); border-color: rgba(238, 130, 8, .18); }
.sbtn--ok:hover { background: #ee8208; border-color: #ee8208; }
.sbtn--tw { color: #0f1419; background: rgba(15, 20, 25, .07); border-color: rgba(15, 20, 25, .12); }
.sbtn--tw:hover { background: #0f1419; border-color: #0f1419; }
[data-theme="dark"] .sbtn--tw { color: #e7e9ea; background: rgba(231, 233, 234, .08); border-color: rgba(231, 233, 234, .14); }
[data-theme="dark"] .sbtn--tw:hover { color: #0f1419; background: #e7e9ea; border-color: #e7e9ea; }
.sbtn--fb { color: #1877f2; background: rgba(24, 119, 242, .1); border-color: rgba(24, 119, 242, .18); }
.sbtn--fb:hover { background: #1877f2; border-color: #1877f2; }
.sbtn--vb { color: #7360f2; background: rgba(115, 96, 242, .1); border-color: rgba(115, 96, 242, .18); }
.sbtn--vb:hover { background: #7360f2; border-color: #7360f2; }
.sbtn--vb svg { width: 20px; height: 20px; overflow: visible; }
.sbtn--counted.sbtn--vb svg { width: 22px; height: 22px; }
.sbtn--wa { color: #25d366; background: rgba(37, 211, 102, .1); border-color: rgba(37, 211, 102, .18); }
.sbtn--wa:hover { background: #25d366; border-color: #25d366; }
.sbtn--yt { color: #ff0000; background: rgba(255, 0, 0, .08); border-color: rgba(255, 0, 0, .16); }
.sbtn--yt:hover { background: #ff0000; border-color: #ff0000; }
.sbtn--medium { color: #12100e; background: rgba(18, 16, 14, .07); border-color: rgba(18, 16, 14, .12); }
.sbtn--medium:hover { background: #12100e; border-color: #12100e; }
[data-theme="dark"] .sbtn--medium { color: #e8e6e3; background: rgba(232, 230, 227, .08); border-color: rgba(232, 230, 227, .14); }
[data-theme="dark"] .sbtn--medium:hover { color: #12100e; background: #e8e6e3; border-color: #e8e6e3; }
.sbtn--reddit { color: #ff4500; background: rgba(255, 69, 0, .08); border-color: rgba(255, 69, 0, .16); }
.sbtn--reddit:hover { background: #ff4500; border-color: #ff4500; }
.sbtn--in { color: #0a66c2; background: rgba(10, 102, 194, .1); border-color: rgba(10, 102, 194, .18); }
.sbtn--in:hover { background: #0a66c2; border-color: #0a66c2; }

@media (max-width: 768px) {
  .show-head__share .share__list,
  .season-share .share__list {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 5px;
    width: 100%;
    overflow: visible;
    padding: 0;
  }
  .show-head__share,
  .season-share .share {
    width: 100%;
    overflow: visible;
  }
  .sbtn--counted {
    flex: none;
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 7px 4px 6px;
    gap: 3px;
    border-radius: 10px;
  }
  .sbtn--counted svg {
    width: 18px;
    height: 18px;
  }
  .sbtn--counted.sbtn--vb svg {
    width: 16px;
    height: 16px;
  }
  .sbtn__count {
    font-size: 9px;
    letter-spacing: -.02em;
  }
}

@media (max-width: 380px) {
  .show-head__share .share__list,
  .season-share .share__list {
    gap: 4px;
  }
  .sbtn--counted {
    padding: 6px 3px 5px;
    gap: 2px;
    border-radius: 9px;
  }
  .sbtn--counted svg {
    width: 17px;
    height: 17px;
  }
  .sbtn--counted.sbtn--vb svg {
    width: 15px;
    height: 15px;
  }
  .sbtn__count {
    font-size: 8.5px;
  }
}

.show-head__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--navy);
  margin: 0 0 2px;
}
.show-head__year { font-weight: 700; color: var(--text-2); }
.show-head__orig { color: var(--text-2); font-size: 15px; margin-bottom: 0; }

.show-head__details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.show-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 0;
}
.show-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}
.show-badge b { font-weight: 800; letter-spacing: .01em; }
.show-badge--imdb { background: #f5c518; color: #141414; }
.show-badge--kp { background: #ff6a2c; }
.show-badge--hd { background: var(--blue); }
.show-badge--age { background: #e23b4e; min-width: 52px; justify-content: center; }

.show-rates {
  display: flex;
  margin-top: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.show-rates__item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 11px 10px;
  text-align: center;
  border-right: 1px solid var(--border);
  min-width: 0;
}
.show-rates__item:last-child { border-right: none; }
.show-rates__k {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-3);
  line-height: 1;
}
.show-rates__val {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.show-rates__item--imdb .show-rates__k { color: #9a7a10; }
.show-rates__item--kp .show-rates__k { color: #c94e18; }
[data-theme="dark"] .show-rates__item--imdb .show-rates__k { color: #d4b44a; }
[data-theme="dark"] .show-rates__item--kp .show-rates__k { color: #f08855; }

.show-specs {
  margin: 0;
  align-self: start;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
}
.show-specs__row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 10px 16px;
  padding: 11px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.show-specs__row:last-child { border-bottom: 0; }
.show-specs__row:nth-child(even) { background: var(--bg-soft); }
.show-specs__row dt { color: var(--text-2); font-weight: 600; white-space: nowrap; }
.show-specs__row dd { color: var(--navy); font-weight: 500; margin: 0; line-height: 1.45; }
.show-specs__status {
  display: inline-flex; align-items: center;
  padding: 4px 12px; border-radius: 999px;
  background: #e8f5ee; color: #168a55;
  font-size: 13px; font-weight: 700; line-height: 1;
}
[data-theme="dark"] .show-specs__status { background: rgba(22, 138, 85, .18); color: #6fd9a0; }

.about {
  display: block;
}
.about .section__title { margin-bottom: 18px; }
.about__text p { font-size: 15.5px; line-height: 1.75; color: var(--text); }

.tabs { display: flex; gap: 12px; margin-bottom: 24px; }
.season-tabs-wrap {
  min-width: 0;
  max-width: 100%;
  margin-bottom: 8px;
  padding: 0;
  overflow: visible;
}
.season-tabs-rail {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.season-tabs-rail__btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  color: var(--navy);
  transition: border-color .18s var(--ease), color .18s var(--ease), opacity .18s var(--ease);
  margin-top: 14px;
}
.season-tabs-rail__btn svg { width: 18px; height: 18px; }
.season-tabs-rail__btn:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.season-tabs-rail__btn:disabled { opacity: .35; cursor: default; }
.season-tabs-rail__btn[hidden] { display: none; }
.season-tabs__viewport {
  flex: 1;
  min-width: 0;
  overflow: visible;
}
.season-tabs__scroll {
  overflow-x: auto;
  overflow-y: visible;
  padding: 8px 14px 34px 16px;
  margin: 0 -14px -22px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.season-tabs__scroll::-webkit-scrollbar { display: none; }
.season-toolbar {
  display: flex;
  align-items: center;
  gap: 14px 18px;
  margin-bottom: 8px;
  overflow: visible;
}
.season-toolbar .season-tabs-wrap {
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
}
.view-switch {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
}
.view-switch__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
}
.view-switch__group {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.view-switch__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
  transition: background .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}
.view-switch__btn svg { width: 18px; height: 18px; flex-shrink: 0; opacity: .88; }
.view-switch__btn:hover { color: var(--navy); }
.view-switch__btn--active {
  background: var(--surface);
  color: var(--navy);
  box-shadow: 0 4px 14px -8px rgba(20, 30, 60, .35);
}
.view-switch__btn--active svg { opacity: 1; color: var(--blue); }
.episodes-grid--list {
  grid-template-columns: 1fr !important;
  grid-auto-flow: row !important;
  grid-auto-columns: unset !important;
  overflow-x: visible !important;
  scroll-snap-type: none !important;
  margin: 0 !important;
  padding: 0 2px 14px !important;
  gap: 12px;
}
.episodes-grid--list .episode {
  flex-direction: row;
  align-items: stretch;
}
.episodes-grid--list .episode__thumb {
  flex: 0 0 152px;
  width: 152px;
  aspect-ratio: 16 / 10;
}
.episodes-grid--list .episode__body {
  padding: 14px 16px 16px;
  justify-content: flex-start;
}
.episodes-grid--list .episode__title {
  height: calc(1.35em * 2);
  min-height: calc(1.35em * 2);
}
.episodes-grid--list .episode__desc {
  -webkit-line-clamp: 2;
  line-clamp: 2;
  height: calc(1.5em * 2);
  min-height: calc(1.5em * 2);
  max-height: calc(1.5em * 2);
}
.episodes-grid--list + .rail-dots { display: none !important; }
.season-tabs-wrap .tabs { margin-bottom: 0; }
.tabs--seasons {
  display: inline-flex;
  flex-wrap: nowrap;
  width: max-content;
  min-width: 100%;
  overflow: visible;
  padding: 0;
  margin: 0;
}
.tabs--seasons .tab { flex: 0 0 auto; }
.tab {
  padding: 11px 26px;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  transition: all .2s var(--ease);
}
.tab--active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: var(--shadow-btn);
}

.filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.chip {
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  transition: all .2s var(--ease);
}
.chip:hover { color: var(--navy); }
.chip--active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  font-weight: 600;
  box-shadow: var(--shadow-btn);
}

.episodes-more {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}
.episodes-more[hidden] { display: none; }
.episodes-more__btn { font-size: 15px; font-weight: 600; }

.episodes-grid,
.chars-grid { display: grid; gap: 22px; }
.episodes-grid {
  grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
  padding: 0 2px 14px;
}
.episodes-grid[data-seasons-page="1"] {
  align-items: stretch;
}
.episodes-grid[data-seasons-page="1"] .episode {
  height: 100%;
}
.episodes-grid[data-seasons-page="1"] .episode__body {
  flex: 1;
}
.chars-grid    { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.chars-rail { position: relative; }
.chars-rail__btn {
  position: absolute;
  top: 32%;
  z-index: 4;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  color: var(--navy);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s var(--ease), visibility .22s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.chars-rail__btn svg { width: 20px; height: 20px; }
.chars-rail__btn:hover { border-color: var(--blue); color: var(--blue); }
.chars-rail__btn--prev { left: 6px; }
.chars-rail__btn--next { right: 6px; }
.chars-rail--scroll:hover .chars-rail__btn:not(:disabled):not([hidden]),
.chars-rail--scroll:focus-within .chars-rail__btn:not(:disabled):not([hidden]) {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.chars-rail--scroll .chars-rail__btn:disabled {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.chars-rail--scroll .chars-grid {
  grid-template-columns: none !important;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 22px * 4) / 5);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.chars-rail--scroll .chars-grid::-webkit-scrollbar { display: none; }
.chars-rail--scroll .chars-grid > * { scroll-snap-align: start; min-width: 0; }

.rail-dots { display: none; }

.episode__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 5px 11px;
  background: var(--blue);
  color: #fff;
  font-size: 12px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  border-radius: 8px;
  box-shadow: 0 8px 18px -8px rgba(47, 102, 230, .8);
}

.episode {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 22px -16px rgba(20,30,60,.25);
  display: flex; flex-direction: column;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.episode[hidden] { display: none !important; }
.episode:hover { box-shadow: 0 12px 28px -18px rgba(20,30,60,.28); border-color: var(--border-2); }
.episode__thumb {
  aspect-ratio: 16 / 10;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background-color: #1a2333;
}
.episode__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.episode__thumb::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,12,20,.10), rgba(8,12,20,.42));
}
.episode__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 0; }
.episode__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  height: calc(1.35em * 2);
  min-height: calc(1.35em * 2);
}
.episode__desc {
  margin: 0;
  flex: none;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-2);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  height: calc(1.5em * 3);
  min-height: calc(1.5em * 3);
  max-height: calc(1.5em * 3);
}
.episode__foot {
  display: flex; align-items: center; gap: 14px;
  font-size: 12.5px; color: var(--text-2); margin-top: auto; padding-top: 6px;
}

.play-circle {
  position: relative;
  z-index: 2;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(12,16,28,.5);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.play-circle svg { width: 22px; height: 22px; display: block; }
.play-circle--sm { width: 40px; height: 40px; }
.play-circle--sm svg { width: 16px; height: 16px; }
.episode__thumb:hover .play-circle,
.film:hover .play-circle,
.franchise-item:hover .play-circle,
.rand:hover .play-circle,
.season__media:hover .play-circle,
.play-circle:hover {
  background: var(--blue);
  box-shadow: 0 12px 26px -10px rgba(47,102,230,.7);
}

.char {
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 22px -16px rgba(20, 30, 60, .25);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.char:hover { box-shadow: 0 12px 28px -18px rgba(20,30,60,.28); border-color: var(--border-2); }
.char__photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: #1a2333;
}
.char__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .5s var(--ease);
}

.char__reveal {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  gap: 3px; padding: 16px;
  background: linear-gradient(180deg, rgba(10, 14, 24, 0) 30%, rgba(10, 14, 24, .55) 60%, rgba(10, 14, 24, .9) 100%);
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.char:hover .char__reveal,
.char:focus-within .char__reveal { opacity: 1; }
.char__reveal-cta { font-size: 12px; font-weight: 600; color: #9cb9ff; }
.char__reveal > * { transform: translateY(10px); transition: transform .32s var(--ease); }
.char:hover .char__reveal > * { transform: translateY(0); }
.char__body { padding: 14px 14px 18px; }
.char__name { font-size: 15px; font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.char__role { display: flex; flex-direction: column; gap: 3px; }
.char__role-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; color: var(--text-3); }
.char__role-name { font-size: 13.5px; font-weight: 600; line-height: 1.35; color: var(--text-2); }

.tracks { margin-top: 6px; }
.track {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 13px 6px;
  border-bottom: 1px solid var(--border-2);
}
.track:last-child { border-bottom: none; }
.track__icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(165deg, var(--surface) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--border);
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .55) inset, 0 1px 3px rgba(20, 30, 60, .05);
}
.track__icon svg {
  width: 18px;
  height: 18px;
  opacity: .62;
}
.track__name { font-size: 15px; font-weight: 600; color: var(--navy); }
.track__info {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 12px;
  min-width: 0;
}
.track__time { font-size: 14px; color: var(--text-2); min-width: 42px; text-align: right; }
.track__play { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 50%; background: var(--brand, #e2342f); color: #fff; margin-left: auto; transition: transform .15s ease, opacity .15s ease; }
.track__play:hover { transform: scale(1.08); opacity: .92; }
.track__play svg { width: 14px; height: 14px; fill: currentColor; }
.track__studio { font-size: 14px; color: var(--text-2); }
.tracks__more { display: none; margin-top: 18px; }

.awards-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
  overflow-anchor: none;
}
.award {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.award:hover {
  border-color: rgba(47, 102, 230, .22);
  box-shadow: var(--shadow-soft);
}
.award__name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy);
}
.award__stat {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--blue);
}
.award--extra { display: none; }
.awards__more { margin-top: 18px; }
.awards__more[hidden] { display: none; }

@media (max-width: 640px) {
  .awards-list { grid-template-columns: 1fr; }
}

.stills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  overflow-anchor: none;
}
.still {
  position: relative;
  display: block;
  padding: 0;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-soft);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16 / 10;
  overflow-anchor: none;
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.still img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.still__zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 12, 24, .35);
  opacity: 0;
  transition: opacity .12s ease-out;
}
.still:hover .still__zoom {
  opacity: 1;
}
.still__zoom svg {
  width: 28px;
  height: 28px;
  color: #fff;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35));
}
.still:hover { border-color: rgba(47, 102, 230, .55); box-shadow: 0 14px 30px -12px rgba(47, 102, 230, .4); }
.still--extra { display: none; }
.stills__more { margin-top: 18px; }
@media (max-width: 960px) {
  .stills { gap: 12px; }
}
@media (max-width: 640px) {
  .stills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .still__zoom svg { width: 22px; height: 22px; }
}

.section__head .posters-block__nav {
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: center;
  justify-self: end;
}
.posters-block__nav {
  display: flex;
  gap: 8px;
}
.posters-block__nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--navy);
  cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.posters-block__nav-btn svg { width: 20px; height: 20px; }
.posters-block__nav-btn:hover:not(:disabled) {
  border-color: var(--blue);
  color: var(--blue);
}
.posters-block__nav-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}
.posters-block__list {
  display: flex;
  flex-wrap: nowrap;
  --posters-gap: 12px;
  --posters-visible: 1;
  gap: var(--posters-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 0 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.posters-block__list::-webkit-scrollbar { height: 6px; }
.posters-block__list::-webkit-scrollbar-thumb {
  background: rgba(20, 30, 60, .15);
  border-radius: 3px;
}
[data-theme="dark"] .posters-block__list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .16);
}
.posters-block__item {
  flex: 0 0 calc((100% - (var(--posters-visible) - 1) * var(--posters-gap)) / var(--posters-visible));
  min-width: 0;
  scroll-snap-align: start;
}
.posters-block__card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
[data-theme="dark"] .posters-block__card {
  border-color: rgba(255, 255, 255, .1);
}
.posters-block__card:hover,
.posters-block__card:focus-visible {
  border-color: rgba(47, 102, 230, .55);
  box-shadow: 0 14px 30px -12px rgba(47, 102, 230, .4);
}
.posters-block__cover {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  max-height: min(52vh, 26rem);
  overflow: hidden;
  background: var(--bg-soft);
}
.posters-block__zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 12, 24, .35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .12s ease-out;
}
.posters-block__card:hover .posters-block__zoom,
.posters-block__card:focus-visible .posters-block__zoom {
  opacity: 1;
}
.posters-block__zoom svg {
  width: 28px;
  height: 28px;
  color: #fff;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35));
}
.posters-block__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.posters-block__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 8px 8px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, .75));
  pointer-events: none;
}
@media (min-width: 480px) {
  .posters-block__list {
    --posters-visible: 2;
    --posters-gap: 16px;
  }
}
@media (min-width: 920px) {
  .posters-block__list { --posters-visible: 3; }
}
@media (max-width: 768px) {
  #posters .section__head .posters-block__nav {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #0c1018;
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s var(--ease), visibility .28s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__stage {
  position: relative;
  max-width: min(1100px, 92vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transform: scale(.97);
  transition: transform .28s var(--ease);
}
.lightbox.is-open .lightbox__stage { transform: scale(1); }
.lightbox__frame {
  position: relative;
  display: inline-flex;
  max-width: 100%;
}
.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  border-radius: 14px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8);
  background: #0b0e16;
}
.lightbox__counter {
  color: rgba(255, 255, 255, .65);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.lightbox__counter[hidden] { display: none; }
.lightbox__btn {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .32);
  background: rgba(12, 16, 28, .72);
  color: #fff;
  cursor: pointer;
  transition: background .18s var(--ease), border-color .18s var(--ease);
}
.lightbox__btn:hover {
  background: rgba(22, 28, 42, .92);
  border-color: rgba(255, 255, 255, .55);
}
.lightbox__btn svg { width: 20px; height: 20px; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev,
.lightbox__next {
  top: 50%;
  transform: translateY(-50%);
}
.lightbox__prev { left: -58px; }
.lightbox__next { right: -58px; }
.lightbox--poster .lightbox__caption {
  width: 100%;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-align: center;
}
.lightbox--poster .lightbox__caption[hidden] { display: none; }
@media (max-width: 1240px) {
  .lightbox__close { top: 10px; right: 10px; width: 40px; height: 40px; }
  .lightbox__close svg { width: 18px; height: 18px; }
  .lightbox__prev { left: 10px; }
  .lightbox__next { right: 10px; }
}

.music-empty {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 28px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.music-empty__icon {
  width: 30px; height: 30px;
  color: var(--blue);
  flex: none;
}
.music-empty__text { min-width: 0; }
.music-empty__title { font-size: 15.5px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.music-empty__desc { font-size: 14px; line-height: 1.55; color: var(--text-2); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.grid-2 .section { border-top: none; }

.panel { }
.panel__head {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  cursor: default;
}
.panel__head .section__title { margin-right: auto; margin-bottom: 0; }
.panel__toggle { display: none; }
.panel__chevron { width: 22px; height: 22px; color: var(--navy); flex: none; transition: transform .3s var(--ease); }

.facts { display: flex; flex-direction: column; gap: 15px; margin-top: 22px; }
.facts li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text);
}
.facts li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--navy);
}
.fact--extra { display: none; }
.facts__more { margin-top: 18px; }
.facts__more[hidden] { display: none; }

#facts, #news {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 30px 30px 32px;
}

.news__more { margin-left: auto; align-self: center; flex-shrink: 0; }
.news { display: flex; flex-direction: column; gap: 18px; margin-top: 22px; }
.news__item { display: flex; gap: 16px; }
.news__thumb {
  width: 92px; height: 62px; flex: none;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background-color: #1a2333;
}
.news__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.news__thumb::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,12,20,.10), rgba(8,12,20,.4));
}
.news__item { transition: opacity .2s var(--ease); }
.news__item:hover .news__title { color: var(--blue); }
.news__title { transition: color .2s var(--ease); margin: 0; }
.news__text { flex: 1; min-width: 0; }
.news__row { display: flex; align-items: baseline; gap: 12px; justify-content: space-between; }
.news__title { font-size: 14.5px; font-weight: 700; color: var(--navy); }
.news__date { font-size: 12px; color: var(--text-3); white-space: nowrap; }
.news__desc { font-size: 13.5px; line-height: 1.5; color: var(--text-2); margin-top: 5px; }

.faq { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; counter-reset: faq; }
.faq__item {
  background: var(--bg-soft);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .35s var(--ease);
}
.faq__item.is-open {
  background: var(--surface);
  border-color: var(--border);
  box-shadow: 0 18px 40px -24px rgba(20, 30, 60, .55);
}
.faq__q {
  counter-increment: faq;
  width: 100%;
  display: flex; align-items: center; gap: 14px;
  padding: 19px 22px;
  font-size: 15.5px; font-weight: 600; color: var(--navy); text-align: left;
  transition: color .25s var(--ease);
}
.faq__q::before {
  content: counter(faq, decimal-leading-zero);
  font-family: "Montserrat", sans-serif;
  font-weight: 700; font-size: 14px;
  color: var(--blue);
  flex: none; min-width: 22px;
}
.faq__item.is-open .faq__q { color: var(--blue); }
.faq__icon {
  box-sizing: border-box;
  width: 30px; height: 30px; padding: 7px;
  margin-left: auto; flex: none;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 50%;
  transition: transform .35s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.faq__item.is-open .faq__icon { transform: rotate(180deg); background: var(--blue); color: #fff; }
.faq__a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .38s var(--ease);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > p {
  overflow: hidden; min-height: 0;
  margin: 0; padding: 0 22px 0 58px;
  font-size: 14.5px; line-height: 1.65; color: var(--text);
  opacity: 0; transform: translateY(-6px);
  transition: opacity .3s var(--ease) .05s, transform .35s var(--ease) .05s, padding .35s var(--ease);
}
.faq__item.is-open .faq__a > p { opacity: 1; transform: none; padding-bottom: 20px; }

.about-long .section__title { margin-bottom: 20px; }
.about-long__box p { font-size: 15.5px; line-height: 1.75; color: var(--text); }
.about-long__box p + p { margin-top: 16px; }
.about-long__sub {
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 24px;
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.about-long__box a {
  color: var(--blue);
  font-weight: 600;
  transition: color .18s var(--ease);
}
.about-long__box a:hover { color: var(--blue-dark); }
.about-long.seo-bottom {
  margin-top: 8px;
  padding-top: 34px;
  border-top: 1px solid var(--border-2);
}
.ep .seo-bottom { grid-column: 1 / -1; }
.checklist { display: flex; flex-direction: column; gap: 11px; margin: 12px 0 8px; }
.checklist li {
  display: flex; align-items: center; gap: 11px;
  font-size: 15px; color: var(--text);
}
.checklist__icon { width: 18px; height: 18px; color: var(--blue); flex: none; }

.expandable { position: relative; }
.expandable__toggle { display: none; }

.expandable--spoiler .expandable__inner {
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s var(--ease);
}
.expandable--spoiler.is-open .expandable__inner {
  max-height: 8000px;
  transition: max-height .78s var(--ease-out-smooth);
}
.expandable--spoiler .expandable__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}
.expandable--spoiler .expandable__toggle svg {
  width: 18px;
  height: 18px;
  transition: transform .3s var(--ease);
}
.expandable--spoiler.is-open .expandable__toggle svg { transform: rotate(180deg); }

.about-long__lead {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text);
  margin: 0 0 4px;
}
.about-long__spoiler { margin-top: 0; }
.about-long__spoiler .about-long__box { padding-top: 20px; }

.footer {
  margin: 20px -40px 0;
  padding: 14px 40px;
  text-align: center;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
}
.footer__link {
  font-size: 13.5px;
  color: var(--text-2);
  text-decoration: none;
  transition: color .15s ease;
}
.footer__link:hover { color: var(--accent, #e23b3b); }
.footer__copy {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-3);
}
.footer__disclaimer {
  margin: 0;
  font-size: 12px;
  color: var(--text-3);
  opacity: .8;
}

.ph { background-color: #1a2333; background-size: cover; background-position: center; position: relative; }

.ph-poster { background-image: linear-gradient(180deg, rgba(12,16,28,0) 68%, rgba(10,13,22,.22) 100%), url("../assets/got-poster.jpg"); background-position: 41% center; }

.ph-1 { background-image: linear-gradient(180deg, rgba(8,12,20,.10), rgba(8,12,20,.42)), url("../assets/got-ep1.jpg"); }
.ph-2 { background-image: linear-gradient(180deg, rgba(8,12,20,.10), rgba(8,12,20,.42)), url("../assets/got-ep2.jpg"); }
.ph-3 { background-image: linear-gradient(180deg, rgba(8,12,20,.10), rgba(8,12,20,.42)), url("../assets/got-ep3.jpg"); }
.ph-4 { background-image: linear-gradient(180deg, rgba(8,12,20,.10), rgba(8,12,20,.42)), url("../assets/got-ep4.jpg"); }
.ph-5 { background-image: linear-gradient(180deg, rgba(8,12,20,.10), rgba(8,12,20,.42)), url("../assets/got-ep5.jpg"); }
.ph-6 { background-image: linear-gradient(180deg, rgba(8,12,20,.10), rgba(8,12,20,.42)), url("../assets/got-ep6.jpg"); }

.ph-c1 { background-image: url("../assets/got-char1.jpg"); background-position: center top; }
.ph-c2 { background-image: url("../assets/got-char2.jpg"); background-position: center top; }
.ph-c3 { background-image: url("../assets/got-char3.jpg"); background-position: center top; }
.ph-c4 { background-image: url("../assets/got-char4.jpg"); background-position: center top; }
.ph-c5 { background-image: url("../assets/got-char5.jpg"); background-position: center top; }

.ph-n1 { background-image: linear-gradient(180deg, rgba(8,12,20,.10), rgba(8,12,20,.4)), url("../assets/got-ep5.jpg"); }
.ph-n2 { background-image: linear-gradient(180deg, rgba(8,12,20,.10), rgba(8,12,20,.4)), url("../assets/got-ep6.jpg"); }
.ph-n3 { background-image: linear-gradient(180deg, rgba(8,12,20,.10), rgba(8,12,20,.4)), url("../assets/got-ep2.jpg"); }

.menu-backdrop {
  position: fixed; inset: 0; background: rgba(15,22,40,.45);
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease); z-index: 40;
}
.menu-backdrop.is-visible { opacity: 1; visibility: visible; }

.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.js-reveal [data-reveal].in-view {
  opacity: 1;
  transform: none;
}
.js-reveal [data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.js-reveal [data-reveal-stagger].in-view > * { opacity: 1; transform: none; }
.js-reveal [data-reveal-stagger].in-view > *:nth-child(2) { transition-delay: .07s; }
.js-reveal [data-reveal-stagger].in-view > *:nth-child(3) { transition-delay: .14s; }
.js-reveal [data-reveal-stagger].in-view > *:nth-child(4) { transition-delay: .21s; }
.js-reveal [data-reveal-stagger].in-view > *:nth-child(5) { transition-delay: .28s; }
.js-reveal [data-reveal-stagger].in-view > *:nth-child(6) { transition-delay: .35s; }

@media (max-width: 1180px) {
  .chars-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .chars-rail--scroll .chars-grid { grid-auto-columns: calc((100% - 22px * 3) / 4); }
  .franchise-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .franchise-rail--scroll .franchise-grid { grid-auto-columns: calc((100% - 20px * 3) / 4); }
}
@media (max-width: 920px) {
  .chars-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chars-rail--scroll .chars-grid { grid-auto-columns: calc((100% - 22px * 2) / 3); }
  .franchise-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .franchise-rail--scroll .franchise-grid { grid-auto-columns: calc((100% - 20px * 2) / 3); }
}

@media (min-width: 769px) {
  .nav-item--seasons {
    display: block;
    width: auto;
    flex: none;
  }
  .about { padding-top: 8px; padding-bottom: 40px; }
  .show-head__body { grid-template-columns: 320px minmax(0, 1fr); gap: 24px 44px; }
  .show-head__title { font-size: clamp(30px, 3.4vw, 40px); }
}

@media (max-width: 880px) and (min-width: 769px) {
  .show-head__body { grid-template-columns: 280px minmax(0, 1fr); gap: 22px 28px; }
}

@media (max-width: 1024px) {
  .card { --cardpad: 30px; padding: 26px var(--cardpad) 36px; }
  .footer { margin: 20px -30px 0; padding: 13px 30px; }
  .nav__link { padding: 9px 12px; }
  .nav { gap: 2px; }
  .show-specs__row { grid-template-columns: 190px minmax(0, 1fr); }
}

@media (max-width: 880px) {
  .grid-2 { grid-template-columns: 1fr; gap: 0; }
  .grid-2 #facts { margin-bottom: 26px; }
}

@media (max-width: 768px) {
  body { background: var(--bg-card); }
  .page { padding: 0; }
  .card { --cardpad: 16px; padding: 14px var(--cardpad) 28px; border-radius: 0; box-shadow: none; }

  .header {
    position: sticky;
    top: 0;
    z-index: 45;
    margin: 0 calc(-1 * var(--cardpad));
    padding: 11px var(--cardpad);
    background: var(--header-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: box-shadow .25s var(--ease), background .25s var(--ease);
  }
  .header.is-stuck {
    background: var(--header-bg-stuck);
    box-shadow: 0 8px 24px -14px rgba(0, 0, 0, .4);
  }
  .logo__img { height: 30px; max-width: none; }
  .burger { display: flex; }
  .burger.is-open .burger__open { display: none; }
  .burger.is-open .burger__close { display: block; }

  .header__actions { position: static; }

  .nav {
    position: absolute;
    top: calc(100% + 6px); left: 6px; right: 6px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 24px 50px -16px rgba(20,30,60,.4);
    z-index: 50;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__link { padding: 13px 16px; font-size: 16px; }
  .nav__cta {
    padding: 13px 16px;
    font-size: 16px;
    box-shadow: none;
  }

  .nav-item--seasons { display: contents; }
  .nav-item--seasons > .nav__link::after { display: none; }
  .nav-seasons { display: none !important; }

  .section { padding: 32px 0; }
  #franchise { padding-top: 16px; padding-bottom: 16px; }
  #music { padding-top: 16px; padding-bottom: 16px; }
  #awards { padding-top: 16px; padding-bottom: 16px; }
  #posters { padding-top: 16px; padding-bottom: 16px; }
  #stills { padding-top: 16px; }
  #faq { padding-bottom: 0; }
  #comments { padding-top: 16px; }
  .section__title { font-size: 24px; margin-bottom: 18px; }
  .section__head .section__title { margin-bottom: 0; }
  .section__kicker { font-size: 11.5px; margin-bottom: 7px; }
  .section__head { margin-bottom: 20px; row-gap: 6px; column-gap: 12px; }

  .crumbs { font-size: 12.5px; padding: 2px 0 14px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .crumbs::-webkit-scrollbar { display: none; }
  .crumbs > * { white-space: nowrap; }

  .show-head { gap: 20px; padding-bottom: 28px; }
  .show-head__title { font-size: clamp(22px, 6.2vw, 26px); line-height: 1.18; }
  .show-head__orig { font-size: 14px; margin-bottom: 0; }
  .show-badges {
    gap: 7px;
    justify-content: flex-start;
  }
  .show-badge {
    font-size: 12px;
    padding: 6px 11px;
    border-radius: 8px;
  }

  .show-rates {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .show-rates__item {
    flex: none;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 12px 10px;
  }
  .show-rates__item:nth-child(2n) { border-right: none; }
  .show-rates__item:nth-child(n+3) { border-bottom: none; }
  .show-rates__k { font-size: 9.5px; }
  .show-rates__val { font-size: 14px; }

  .show-head__body {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .show-head__media {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }
  .show-head__poster {
    width: min(100%, 272px);
    margin: 0 auto;
    box-shadow: 0 18px 40px -20px rgba(20, 30, 60, .45);
  }
  .show-head__media .star-rating { width: 100%; max-width: 272px; margin: 0 auto; }
  .show-head__trailer {
    width: 100%;
    max-width: 272px;
    margin: 0 auto;
    align-self: stretch;
    padding: 13px 16px;
  }

  .show-specs { border-radius: var(--radius-lg); }
  .show-specs__row {
    grid-template-columns: 158px minmax(0, 1fr);
    gap: 6px 12px;
    padding: 11px 14px;
    font-size: 13.5px;
  }
  .show-specs__row dt { font-size: 12px; font-weight: 600; white-space: nowrap; }
  .show-specs__row dd { font-size: 13.5px; line-height: 1.4; }
  .show-specs__status { font-size: 12px; padding: 4px 10px; }

  .about { gap: 0; }
  .about .section__title { margin-bottom: 14px; }

  .expandable:not(.expandable--spoiler) {
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    padding: 22px 22px 0;
    overflow: hidden;
  }
  .expandable:not(.expandable--spoiler) .expandable__inner {
    max-height: 132px;
    overflow: hidden;
    transition: max-height .32s var(--ease);
    padding-bottom: 6px;
  }
  .expandable:not(.expandable--spoiler).is-open .expandable__inner {
    max-height: 1600px;
    transition: max-height .78s var(--ease-out-smooth);
  }
  .expandable:not(.expandable--spoiler)::before {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 46px; height: 60px;
    background: linear-gradient(to bottom, var(--bg-soft-0), var(--bg-soft));
    pointer-events: none; transition: opacity .3s;
  }
  .expandable:not(.expandable--spoiler).is-open::before { opacity: 0; }
  .expandable:not(.expandable--spoiler) .expandable__toggle {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 46px; color: #7a8494;
  }
  .expandable:not(.expandable--spoiler) .expandable__toggle svg { width: 22px; height: 22px; transition: transform .3s var(--ease); }
  .expandable:not(.expandable--spoiler).is-open .expandable__toggle svg { transform: rotate(180deg); }

  .tabs { gap: 10px; margin-bottom: 20px; }
  .season-toolbar {
    display: block;
    margin-bottom: 6px;
  }
  .season-toolbar .season-tabs-wrap {
    flex: none;
    width: 100%;
    margin-bottom: 0;
  }
  #seasons .section__head .view-switch__label { display: none; }
  .season-tabs-wrap { margin-bottom: 6px; margin-left: calc(-1 * var(--cardpad)); margin-right: calc(-1 * var(--cardpad)); }
  .season-tabs-rail { gap: 0; }
  .season-tabs-rail__btn { display: none !important; }
  .tabs--seasons { padding: 0 2px 10px; margin: 0; }
  .season-toolbar .tabs--seasons { margin: 0; padding: 0 2px 10px; }
  .season-tabs__scroll { padding: 6px var(--cardpad) 24px; margin: 0; }
  .tab { padding: 10px 20px; }
  .view-switch__label { font-size: 12px; }
  .view-switch__btn { width: 34px; height: 34px; }
  .view-switch__btn svg { width: 17px; height: 17px; }
  .episodes-grid--list {
    grid-auto-columns: unset !important;
    overflow-x: visible !important;
    margin: 0 !important;
    padding: 0 2px 14px !important;
    scroll-snap-type: none !important;
  }
  .episodes-grid--list .episode__thumb {
    flex-basis: 108px;
    width: 108px;
  }

  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 calc(-1 * var(--cardpad)) 20px;
    padding: 0 var(--cardpad) 2px;
  }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }

  .chars-rail__btn { display: none !important; }
  .franchise-rail__btn { display: none !important; }

  .episodes-grid,
  .chars-grid,
  .franchise-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--cardpad);
    margin: 0 calc(-1 * var(--cardpad));
    padding: 4px var(--cardpad) 22px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .episodes-grid { grid-auto-columns: 76%; }
  .chars-grid,
  .chars-rail--scroll .chars-grid { grid-auto-columns: 56%; min-width: 0; }
  .franchise-grid,
  .franchise-rail--scroll .franchise-grid { grid-auto-columns: 44%; min-width: 0; }
  .episodes-grid::-webkit-scrollbar,
  .chars-grid::-webkit-scrollbar,
  .franchise-grid::-webkit-scrollbar { display: none; }
  .episodes-grid > *,
  .chars-grid > *,
  .franchise-grid > * { scroll-snap-align: start; }

  .rail-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 2px;
  }
  .rail-dots[hidden] { display: none; }
  .rail-dots__dot {
    width: 7px; height: 7px;
    padding: 0;
    border-radius: 999px;
    background: var(--border);
    transition: width .32s var(--ease), background-color .32s var(--ease);
  }
  .rail-dots__dot.is-active {
    width: 22px;
    background: var(--blue);
  }

  .episode__thumb { aspect-ratio: 16 / 10; }

  .track { grid-template-columns: auto 1fr auto; gap: 14px; }
  .track--extra { display: none; }
  .tracks.is-expanded .track--extra { display: grid; }
  .tracks__more { display: inline-flex; }

  [data-collapsible] {
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    padding: 0;
    margin-bottom: 14px;
    border-top: none;
  }
  #facts, #news { padding: 0; }
  .grid-2 { border-top: none; }
  .grid-2 #facts { margin-bottom: 14px; }

  .panel__head {
    padding: 20px 22px;
    cursor: pointer;
    align-items: center;
    min-height: 64px;
    box-sizing: border-box;
  }
  .panel__head .section__title {
    line-height: 1.2;
    padding: 0;
  }
  .panel__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; margin-left: auto; flex: none; color: var(--navy);
  }
  [data-collapsible].is-open .panel__chevron { transform: rotate(180deg); }
  .news__more { display: none; }

  .panel__body {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
  }
  [data-collapsible].is-open .panel__body { max-height: none; opacity: 1; }
  [data-collapsible]:not(.is-open) .panel__body .facts,
  [data-collapsible]:not(.is-open) .panel__body .news,
  [data-collapsible]:not(.is-open) .panel__body .faq {
    padding: 0;
    margin: 0;
  }
  .panel__body .facts,
  .panel__body .news,
  .panel__body .faq { margin-top: 0; padding: 0 22px 22px; }

  .about-long .section__title { margin-bottom: 14px; }

  .footer { margin: 18px calc(-1 * var(--cardpad)) 0; padding: 12px var(--cardpad); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ===================== news.css ===================== */
.news-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--navy);
  padding-bottom: 2px;
  margin-bottom: 26px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 24px;
}

.ncard { display: flex; flex-direction: column; }
.ncard[hidden] { display: none; }
.ncard__media {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
}
.ncard__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.ncard__badge {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  padding: 5px 11px;
  border-radius: 8px;
  line-height: 1;
  box-shadow: 0 6px 16px -6px rgba(0,0,0,.5);
}
.ncard__badge--serial { background: var(--blue); }
.ncard__badge--actors { background: #16b07f; }
.ncard__badge--behind { background: #f0871e; }

.ncard__date { display: block; font-size: 12.5px; color: var(--text-3); margin: 16px 0 7px; }
.ncard__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
  color: var(--navy);
  letter-spacing: -.005em;
  margin-bottom: 9px;
}
.ncard__title a { color: inherit; transition: color .18s var(--ease); }
.ncard__title a:hover { color: var(--blue); }
.ncard__text { font-size: 14px; line-height: 1.6; color: var(--text-2); }

.news-more { display: flex; justify-content: center; margin-top: 40px; }
.news-more[hidden] { display: none !important; }
.news-more__btn[hidden] { display: none !important; }
.news-more__btn { gap: 9px; padding: 14px 28px; }
.news-more__ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.news-more__btn:hover .news-more__ic { transform: translateY(2px); }
.news-more__btn.is-expanded .news-more__ic { transform: rotate(180deg); }
.news-more__btn.is-expanded:hover .news-more__ic { transform: rotate(180deg); }

@media (max-width: 1000px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .news-title { margin-bottom: 20px; }

  .news-grid { grid-template-columns: 1fr; gap: 18px; }
  .ncard {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
  }
  .ncard:last-child { border-bottom: 0; }
  .ncard__media { grid-row: 1 / span 3; aspect-ratio: 1 / 1; border-radius: var(--radius-sm); }
  .ncard__badge { top: 7px; left: 7px; font-size: 9px; padding: 3px 6px; letter-spacing: .04em; }
  .ncard__date { margin: 0 0 4px; font-size: 11.5px; }
  .ncard__title { font-size: 14.5px; margin-bottom: 5px; }
  .ncard__text { font-size: 12.5px; line-height: 1.5; }

  .news-more { margin-top: 26px; }
  .news-more__btn { width: 100%; }
}

/* ===================== actors.css ===================== */
.actors-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--navy);
  padding-bottom: 2px;
  margin-bottom: 26px;
}

.actors-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 30px 22px;
}

.actor { display: flex; flex-direction: column; min-width: 0; }
.actor__photo {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--bg-soft);
}
.actor__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.actor__name {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  color: var(--navy);
  letter-spacing: -.005em;
  margin: 14px 0 3px;
}
.actor__name a { color: inherit; transition: color .18s var(--ease); }
.actor__name a:hover { color: var(--blue); }
.actor__actor { font-size: 13px; color: var(--text-2); margin-bottom: 8px; }
.actor__desc { font-size: 13.5px; line-height: 1.55; color: var(--text-2); }
.actor__arrow { display: none; }

.actors-more { display: none; }

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}
.pagination__btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  transition: border-color .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
}
.pagination__btn:hover { border-color: var(--blue); color: var(--blue); }
.pagination__btn.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.pagination__btn:disabled { opacity: .45; cursor: default; }
.pagination__btn:disabled:hover { border-color: var(--border); color: var(--navy); }
.pagination__dots { color: var(--text-3); font-size: 14px; padding: 0 4px; }

/* Постраничная навигация DLE (категории/новости/актёры): номера страниц из {pages}
   приходят как <a>N</a> / <span>N</span> / <span class="nav_ext"> без классов —
   стилизуем их под кнопки шаблона. */
.pagination > a,
.pagination > span:not(.nav_ext) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
}
.pagination > a:hover { border-color: var(--blue); color: var(--blue); }
.pagination > span:not(.nav_ext):not(.disabled) { background: var(--blue); border-color: var(--blue); color: #fff; }
.pagination > span.disabled { opacity: .45; }
.pagination > span.nav_ext {
  min-width: 0;
  height: auto;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--text-3);
  font-weight: 600;
}

@media (max-width: 1180px) {
  .actors-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .actors-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .actors-title { margin-bottom: 20px; }

  .actors-grid { grid-template-columns: 1fr; gap: 0; }
  .actor {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 18px;
    grid-template-rows: auto auto auto;
    column-gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }
  .actor:first-child { padding-top: 4px; }
  .actor__photo {
    grid-column: 1; grid-row: 1 / 4;
    width: 64px; aspect-ratio: 1 / 1;
    border-radius: var(--radius-sm);
    align-self: center;
  }
  .actor__name { grid-column: 2; grid-row: 1; margin: 0 0 2px; font-size: 14.5px; }
  .actor__actor { grid-column: 2; grid-row: 2; margin: 0 0 3px; font-size: 12px; }
  .actor__desc { grid-column: 2; grid-row: 3; font-size: 12.5px; line-height: 1.45; }
  .actor__arrow {
    display: block;
    grid-column: 3; grid-row: 1 / 4;
    width: 16px; height: 16px;
    color: var(--blue);
    align-self: center;
  }

  .pagination { margin-top: 22px; }
}

@keyframes actorIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===================== actor.css ===================== */
.actorhead {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 28px;
  align-items: start;
}
.actorhead__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--bg-soft);
  box-shadow: var(--shadow-soft);
}
.actorhead__photo img { width: 100%; height: 100%; object-fit: cover; }

.actorhead__name {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--navy);
}
.actorhead__orig { color: var(--text-2); font-size: 15px; margin-top: 4px; }

.actor-specs { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.actor-specs__row { display: grid; grid-template-columns: 180px 1fr; gap: 14px; font-size: 14.5px; }
.actor-specs__row dt { color: var(--text-2); }
.actor-specs__row dd { color: var(--navy); font-weight: 500; }

.actorhead__role {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 22px;
  background: var(--blue-soft);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.actorhead__role-label { font-size: 13px; color: var(--text-2); }
.actorhead__role-link { font-weight: 700; font-size: 14.5px; color: var(--blue); }
.actorhead__role-link:hover { text-decoration: underline; }

.actor-bio__text p { font-size: 15.5px; line-height: 1.75; color: var(--text); margin-bottom: 12px; }
.actor-bio__text p:last-child { margin-bottom: 0; }

.actor-facts .facts { margin-top: 0; }

.actor-bio,
.actor-facts {
  margin-top: 0;
}

@media (max-width: 768px) {
  .actorhead { grid-template-columns: 120px 1fr; gap: 16px; }
  .actorhead__orig { font-size: 13.5px; }
  .actor-specs { margin-top: 14px; gap: 6px; }
  .actor-specs__row { grid-template-columns: 1fr; gap: 1px; }
  .actor-specs__row dt { font-size: 12.5px; }
  .actorhead__role { margin-top: 16px; width: 100%; }
}

/* ===================== seasons.css ===================== */
.season-block {
  padding: 0;
  margin-top: 44px;
}

.season-block .section__title {
  margin-bottom: 20px;
}

.season-block .ep-block-title {
  margin-bottom: 18px;
}

#season-player .ep-playertabs {
  margin-bottom: 14px;
}

#season-player .season-player__ui {
  margin-top: 0;
}

#season-player .season-player__mount:not([hidden]) {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

#season-player .season-player__mount .video-box,
#season-player .season-player__mount .fplayer {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

#season-player .season-player__mount .video-box iframe,
#season-player .season-player__mount .player-frame {
  width: 100%;
  min-height: 450px;
  aspect-ratio: 16 / 9;
  height: auto !important;
  border: 0;
  display: block;
}

#season-specs .ep-specs {
  max-width: 640px;
}

#seasons-main > #seasons.section {
  padding-top: 48px;
  padding-bottom: 48px;
}

#seasons-main > .section.season-block {
  padding-top: 0;
  padding-bottom: 0;
}

#seasons .section__head {
  margin-bottom: 24px;
}

#seasons .season-tabs-wrap {
  margin-bottom: 0;
}

#seasons .season-tabs__scroll {
  padding: 8px 14px 34px 16px;
  margin: 0 -14px -22px;
}

#seasons .tabs--seasons {
  gap: 12px;
  padding: 0;
  margin: 0;
}

#seasons-main #seasons .tabs--seasons.season-tabs-dle {
  padding: 0;
  margin: 0;
}

#seasons .episodes-grid[data-seasons-page="1"] {
  padding: 0 2px 14px;
  margin: 0;
}

.season-tabs-dle {
  display: inline-flex;
  flex-wrap: nowrap;
  width: max-content;
  min-width: 100%;
}

.season-tabs-dle .tab {
  flex: 0 0 auto;
  text-decoration: none;
  cursor: pointer;
}

.season-tabs-dle a.tab:hover {
  border-color: var(--blue);
  color: var(--blue);
}

#season-desc .about-long__box p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text);
}

#season-desc .about-long__box p + p {
  margin-top: 16px;
}

#seasons-main > .show-meta {
  margin-top: 32px;
  padding: 0;
}

#seasons-main > .show-editnote {
  margin: 0 0 8px;
}

#seasons-main .comments-panel {
  margin-top: 0;
}

.season-share .share__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#seasons-main .seo-bottom {
  margin-top: 8px;
  padding-top: 34px;
  border-top: 1px solid var(--border-2);
}

@media (max-width: 768px) {
  .season-block {
    margin-top: 34px;
  }

  #seasons-main > #seasons.section {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  #seasons .section__head {
    margin-bottom: 20px;
  }

  #seasons .tabs--seasons {
    padding: 0;
  }

  #seasons .season-tabs-wrap {
    margin-left: calc(-1 * var(--cardpad));
    margin-right: calc(-1 * var(--cardpad));
  }

  #seasons .season-tabs__scroll {
    padding: 6px var(--cardpad) 24px;
    margin: 0;
  }

  #seasons-main > .show-meta {
    margin-top: 24px;
  }

  #seasons-main .seo-bottom {
    padding-top: 28px;
  }
}

/* ===================== episode.css ===================== */
.ep {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 30px;
  align-items: start;
  padding-bottom: 12px;
}
.ep__content { min-width: 0; display: flex; flex-direction: column; gap: 34px; overflow-x: clip; }
.ep__aside { display: flex; flex-direction: column; gap: 22px; min-width: 0; }

.ep-head { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
.ep-head__info { min-width: 0; }
.ep-head__poster {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 2 / 3;
  box-shadow: var(--shadow-soft);
}
.ep-head__poster img { width: 100%; height: 100%; object-fit: cover; }

.ep-head__watch {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  justify-content: center;
}

.ep-head__media { display: flex; flex-direction: column; gap: 10px; }
.ep-head__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -.01em;
}
.ep-head__orig { color: var(--text-2); font-size: 15px; margin-top: 4px; }

.ep-intro {
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.ep-intro__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 2.2vw, 28px);
  color: var(--navy);
  letter-spacing: -.01em;
  line-height: 1.25;
}
.ep-intro__orig {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--text-2);
  font-style: italic;
}
.ep-intro__date {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--text-2);
}
.ep-intro__date span { font-weight: 600; color: var(--navy); }
.ep-intro__text {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.ep-intro__text p {
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--text);
  margin-bottom: 14px;
}
.ep-intro__text p:last-child { margin-bottom: 0; }

.show-rates { margin: 16px 0 18px; }

.ep-specs { display: flex; flex-direction: column; gap: 9px; width: 100%; max-width: 100%; }
.ep-specs__row {
  display: grid;
  grid-template-columns: minmax(130px, 190px) minmax(0, 1fr);
  gap: 14px;
  font-size: 14px;
  align-items: baseline;
}
.ep-specs__row dt { color: var(--text-2); margin: 0; }
.ep-specs__row dd {
  color: var(--navy);
  font-weight: 500;
  margin: 0;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: normal;
}

.ep-cast {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.cast-rail { margin-bottom: 4px; }
.cast-rail .chars-rail__btn { top: 28%; }
.chars-rail--scroll .ep-cast {
  grid-template-columns: none !important;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 14px * 4) / 5);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.chars-rail--scroll .ep-cast::-webkit-scrollbar { display: none; }
.chars-rail--scroll .ep-cast > .cast { scroll-snap-align: start; min-width: 0; }

.cast { text-align: center; min-width: 0; }
.cast__link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.cast__photo {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 8px;
  background: var(--bg-soft);
}
.cast__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.cast:hover .cast__photo img { transform: scale(1.04); }
.cast__name { font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cast__role { font-size: 12px; color: var(--text-2); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0; }

.ep-playertabs { margin-bottom: -10px; min-width: 0; max-width: 100%; }

.vplayer { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); scroll-margin-top: 88px; }
.vplayer__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: #0c0f16;
}
.vplayer__stage::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,11,18,.55) 0%, rgba(8,11,18,.25) 30%, rgba(8,11,18,.55) 100%);
}
.vplayer__top { position: absolute; top: 14px; left: 14px; display: flex; gap: 8px; z-index: 3; }

.vselect { position: relative; }
.vselect__btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: #fff;
  background: rgba(15, 20, 32, .62);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.16);
  padding: 8px 12px; border-radius: 10px;
  transition: background .18s var(--ease);
}
.vselect__btn:hover { background: rgba(15, 20, 32, .8); }
.vselect__btn svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.vselect.is-open .vselect__btn svg { transform: rotate(180deg); }
.vselect__menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 100%;
  background: #161b24; border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px; padding: 6px; list-style: none;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
  z-index: 5;
}
.vselect.is-open .vselect__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.vselect__menu li { font-size: 13px; color: #cdd5e3; padding: 8px 12px; border-radius: 7px; white-space: nowrap; cursor: pointer; }
.vselect__menu li:hover { background: rgba(255,255,255,.08); color: #fff; }

.vplayer__big {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(47, 102, 230, .92); color: #fff;
  box-shadow: 0 14px 36px -10px rgba(47,102,230,.8);
  z-index: 3; transition: transform .2s var(--ease), background .2s var(--ease);
}
.vplayer__big:hover { transform: translate(-50%, -50%) scale(1.07); background: var(--blue); }
.vplayer__big svg { width: 30px; height: 30px; }

.resume {
  position: absolute; left: 50%; bottom: 78px; transform: translateX(-50%);
  width: min(280px, 80%);
  background: rgba(20, 25, 33, .92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px; padding: 16px 18px; text-align: center; z-index: 4;
  box-shadow: 0 20px 44px -18px rgba(0,0,0,.7);
}
.resume.is-hidden { display: none; }
.resume__close { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; color: #aab2c5; border-radius: 7px; }
.resume__close:hover { background: rgba(255,255,255,.1); color: #fff; }
.resume__close svg { width: 15px; height: 15px; }
.resume__label { color: #cdd5e3; font-size: 13px; }
.resume__time { color: #fff; font-weight: 700; font-size: 18px; margin: 4px 0 12px; font-variant-numeric: tabular-nums; }
.resume__btn { width: 100%; background: var(--blue); color: #fff; font-weight: 600; font-size: 13.5px; padding: 10px 14px; border-radius: 10px; transition: background .18s var(--ease); }
.resume__btn:hover { background: var(--blue-dark); }

.vbar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(180deg, rgba(8,11,18,0), rgba(8,11,18,.85));
}
.vbar__btn { color: #fff; display: inline-flex; opacity: .9; transition: opacity .18s; }
.vbar__btn:hover { opacity: 1; }
.vbar__btn svg { width: 20px; height: 20px; }
.vbar__time { color: #e7ecf5; font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vbar__track { flex: 1 1 auto; height: 4px; border-radius: 999px; background: rgba(255,255,255,.25); overflow: hidden; }
.vbar__fill { display: block; height: 100%; width: 0%; background: var(--blue); }
.vbar__vol { width: 64px; height: 4px; border-radius: 999px; background: rgba(255,255,255,.25); overflow: hidden; }
.vbar__vol span { display: block; height: 100%; width: 70%; background: #fff; }

.vplayer--iframe .vplayer__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0c0f16;
  border: 1px solid var(--border);
}
.vplayer--iframe iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #111;
}
.vplayer--iframe .vplayer__stub {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,.72);
  background: linear-gradient(180deg, rgba(8,11,18,.35), rgba(8,11,18,.75));
  pointer-events: none;
}

.ep-schedule__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ep-schedule__season {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
}
.ep-schedule__season.is-open {
  border-color: color-mix(in srgb, var(--blue) 35%, var(--border));
}
.ep-schedule__season-head {
  display: flex;
  align-items: stretch;
  gap: 12px;
  padding-right: 12px;
  background: var(--surface);
  transition: background .2s var(--ease);
}
.ep-schedule__season-head:hover { background: var(--bg-soft); }
.ep-schedule__toggle {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  font: inherit;
  text-align: left;
  color: var(--text);
  background: transparent;
  border: 0;
  cursor: pointer;
}
.ep-schedule__season-actions {
  flex-shrink: 0;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ep-schedule__head-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--blue);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: border-color .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
}
.ep-schedule__head-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.ep-schedule__head-btn:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
}
.ep-schedule__season.is-open .ep-schedule__watch-season {
  border-color: color-mix(in srgb, var(--blue) 45%, var(--border));
  background: var(--blue-soft);
}
.ep-schedule__season.is-open .ep-schedule__toggle-title { color: var(--blue); }
.ep-schedule__toggle-main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  min-width: 0;
}
.ep-schedule__toggle-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
}
.ep-schedule__toggle-meta {
  font-size: 13.5px;
  color: var(--text-2);
}
.ep-schedule__panel {
  display: grid;
  grid-template-rows: 0fr;
  border-top: 1px solid transparent;
  background: var(--surface);
  transition: grid-template-rows .38s var(--ease), border-color .38s var(--ease);
}
.ep-schedule__season.is-open .ep-schedule__panel {
  grid-template-rows: 1fr;
  border-top-color: var(--border);
}
.ep-schedule__panel-inner {
  overflow: hidden;
  min-height: 0;
  background: var(--surface);
}

.ep-schedule__wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  border: 0;
  border-radius: 0;
  background: var(--surface);
}
.ep-schedule__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.ep-schedule__table th,
.ep-schedule__table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.ep-schedule__table th {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-2);
  background: var(--bg-soft);
}
.ep-schedule__table tr:last-child td { border-bottom: 0; }
.ep-schedule__table td:first-child { font-weight: 600; color: var(--navy); white-space: nowrap; }
.ep-schedule__ep {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  transition: color .18s var(--ease);
}
.ep-schedule__ep:hover { color: var(--blue); text-decoration: underline; }
.ep-schedule__row.is-current { background: var(--blue-soft); }
.ep-schedule__row.is-current td:first-child { color: var(--blue); }
.ep-schedule__row.is-current .ep-schedule__ep { color: var(--blue); }
.ep-schedule__status {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.ep-schedule__status--out { background: #e8f5ee; color: #168a55; }
.ep-schedule__status--soon { background: var(--blue-soft); color: var(--blue); }
[data-theme="dark"] .ep-schedule__status--out { background: rgba(22,138,85,.18); color: #6fd9a0; }

.ep-schedule__th-go {
  width: 1%;
  white-space: nowrap;
  text-align: center;
}

.ep-schedule__go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s var(--ease), box-shadow .18s var(--ease);
}
.ep-schedule__go svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.ep-schedule__go:hover {
  background: color-mix(in srgb, var(--blue) 88%, #000);
  box-shadow: 0 8px 18px -10px rgba(47, 102, 230, .65);
  color: #fff;
}
.ep-schedule__go-cell { text-align: center; }
.ep-schedule__go-empty {
  color: var(--text-3);
  font-size: 14px;
  user-select: none;
}

.ep-schedule__tip {
  position: fixed;
  z-index: 80;
  width: min(260px, calc(100vw - 16px));
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 18px 40px -16px rgba(20, 30, 60, .35);
  pointer-events: none;
}
.ep-schedule__tip[hidden] { display: none; }
.ep-schedule__tip-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
  background: #1a2333;
}
.ep-schedule__tip-title {
  margin: 0 0 4px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.ep-schedule__tip-text {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-2);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
}

.ep-nav { display: flex; gap: 12px; align-items: stretch; }
.ep-nav__btn { flex: 1; gap: 8px; min-width: 0; }
.ep-nav__btn--mid { flex: 0 1 auto; white-space: nowrap; }
.ep-nav__ic { width: 18px; height: 18px; }

.ep-about__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800; font-size: clamp(22px, 2.4vw, 30px);
  color: var(--navy); letter-spacing: -.01em; line-height: 1.2;
}
.ep-about__meta.meta-stats--inline { margin: 12px 0 18px; }
.ep-about__text p { font-size: 15.5px; line-height: 1.75; color: var(--text); margin-bottom: 12px; }
.ep-about__text p:last-child { margin-bottom: 0; }

.ep-share { margin-top: 18px; }
.ep-share .share { width: 100%; }
.ep-share .share__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
  width: 100%;
}
.ep-share .sbtn--counted {
  flex: none;
  width: auto;
  min-width: 52px;
  max-width: none;
  padding: 9px 12px 8px;
  gap: 5px;
}
.ep-share .sbtn--counted svg {
  width: 22px;
  height: 22px;
}
.ep-share .sbtn--counted.sbtn--vb svg {
  width: 22px;
  height: 22px;
}
.ep-share .sbtn__count {
  font-size: 11px;
}

.ep-stills .stills__more { display: inline-flex; }
.ep-stills .stills__more[hidden] { display: none; }

.ep-block-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800; font-size: 22px; color: var(--navy);
  letter-spacing: -.01em; margin-bottom: 18px;
}

.films { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.film { display: block; }
.film__thumb { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-md); overflow: hidden; background: var(--bg-soft); }
.film__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease), filter .4s var(--ease); }
.film__rate { position: absolute; top: 9px; right: 9px; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(15,20,32,.66); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); padding: 4px 8px; border-radius: 8px; }
.film__rate svg { width: 12px; height: 12px; color: var(--gold); }
.film__title { font-size: 15px; font-weight: 700; color: var(--navy); margin: 11px 0 3px; }
.film__meta { font-size: 13px; color: var(--text-2); }

.cform { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; margin-top: 26px; }
.cform__profile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px 22px;
  margin-bottom: 14px;
}
.cform__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.cform__label--group { grid-column: 1; margin: 0 0 8px; }
.cform__avatars {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.cform__avatar {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: width .18s var(--ease), height .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.cform__avatar img { width: 100%; height: 100%; object-fit: cover; }
.cform__avatar input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cform__avatar:has(input:checked) {
  width: 80px;
  height: 80px;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 18%, transparent);
}
.cform__avatar--none .cform__avatar-none {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--text-2, #667) 12%, transparent);
  color: var(--text-2, #667);
}
.cform__avatar--none .cform__avatar-none svg { width: 55%; height: 55%; }
.cform__identity { grid-column: 2; grid-row: 1 / 3; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cform__random-name {
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--blue);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.cform__random-name:hover { border-color: var(--blue); background: var(--blue-soft); }
.cform__input {
  width: 100%; font: inherit; font-size: 14px; color: var(--navy);
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
  padding: 11px 14px; transition: border-color .18s var(--ease);
}
.cform__input::placeholder { color: var(--text-3); }
.cform__input:focus { outline: none; border-color: var(--blue); }
.cform__area {
  width: 100%; font: inherit; font-size: 14.5px; color: var(--navy);
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
  padding: 13px 14px; resize: vertical; min-height: 96px;
  transition: border-color .18s var(--ease);
}
.cform__area:focus { outline: none; border-color: var(--blue); }
.cform__area::placeholder { color: var(--text-3); }
.cform--modal { background: transparent; border: 0; padding: 0; margin: 0; }
.cform--modal .cform__profile { grid-template-columns: 1fr; }
.cform--modal .cform__avatars { grid-column: 1; grid-row: auto; }
.cform--modal .cform__identity { grid-column: 1; grid-row: auto; }
.cform--modal .cform__foot { margin-top: 12px; justify-content: flex-end; }
.cform--modal .cform__submit { margin-left: 0; width: 100%; }
.cform__foot {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
}
.cform__submit {
  align-self: flex-end;
  width: auto;
  margin-left: auto;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: none;
  white-space: nowrap;
}
.cform__submit:hover { box-shadow: 0 8px 20px -10px rgba(47, 102, 230, .65); }
.comments-stage {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.comments-pagination { margin: 22px 0 0; flex: none; }
.comments-pagination[hidden] { display: none; }

.comments {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1 1 auto;
  justify-content: flex-start;
  box-sizing: border-box;
}
.comment { display: flex; gap: 14px; }
.comment--hidden { display: none !important; }
.comment--reply { margin-left: 0; }
.comment__replies:empty { display: none; margin: 0; padding: 0; border: 0; }
.comment__replies {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
  padding-left: 14px;
  border-left: 2px solid var(--border);
}
.comment__replies .comment { gap: 12px; }
.comment__replies .comment__avatar { width: 38px; height: 38px; }
.comment__reply-to {
  margin: 0 0 4px;
  font-size: 12.5px;
  color: var(--text-2);
}
.comment__reply-to strong { color: var(--blue); font-weight: 600; }
.comment__avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: var(--bg-soft); }
.comment__avatar img { width: 100%; height: 100%; object-fit: cover; }
.comment__body { min-width: 0; flex: 1; }
.comment__head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 5px; }
.comment__name { font-weight: 700; color: var(--navy); font-size: 14.5px; }
.comment__date { font-size: 12.5px; color: var(--text-3); }
.comment__text { font-size: 14.5px; line-height: 1.65; color: var(--text); }
.comment__actions { display: flex; gap: 16px; margin-top: 8px; }
.comment__reply, .comment__like { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-2); transition: color .15s var(--ease); }
.comment__reply:hover, .comment__like:hover { color: var(--blue); }
.comment__reply svg, .comment__like svg { width: 15px; height: 15px; }
.comment__like.is-liked { color: var(--blue); }
.comment__avatar--initial {
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px; color: #fff;
  background: linear-gradient(135deg, var(--blue), #6a8bff);
}
.comment--enter { opacity: 0; transform: translateY(-8px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.comment--enter.is-in { opacity: 1; transform: none; }
.cform__input.is-invalid { border-color: #e2483d; box-shadow: 0 0 0 3px rgba(226,72,61,.14); }
.cform__area.is-invalid { border-color: #e2483d; box-shadow: 0 0 0 3px rgba(226,72,61,.14); }
.comments__more { margin-top: 22px; }
.comments__more.is-done { color: var(--text-3); cursor: default; }

.comment-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.comment-modal[hidden] { display: none; }
body.comment-modal-open { overflow: hidden; }
.comment-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 16, 24, .88);
}
.comment-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 60px -24px rgba(20, 30, 60, .45);
  padding: 22px 22px 20px;
}
.comment-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  background: var(--bg-soft);
  border: 0;
  cursor: pointer;
}
.comment-modal__close svg { width: 18px; height: 18px; }
.comment-modal__close:hover { color: var(--navy); }
.comment-modal__title {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 36px 12px 0;
}
.comment-modal__quote {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-left: 3px solid var(--blue);
  background: var(--bg-soft);
  border-radius: 0 10px 10px 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.pagination__btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  transition: border-color .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
}
.pagination__btn:hover { border-color: var(--blue); color: var(--blue); }
.pagination__btn.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.pagination__btn:disabled { opacity: .45; cursor: default; }
.pagination__btn:disabled:hover { border-color: var(--border); color: var(--navy); }

.side-card { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.side-card--poll .poll--dle { margin: 0; }
.side-card--poll #vote-layer > .poll--dle { margin: 0; }
#vote-layer > .side-title { margin-bottom: 16px; }
.side-title { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 17px; color: var(--navy); margin-bottom: 16px; }

.rand__thumb { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-md); overflow: hidden; background: var(--bg-card); }
.rand__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.rand__name { font-size: 15px; font-weight: 700; color: var(--navy); margin: 14px 0 6px; }
.rand__desc { font-size: 13.5px; line-height: 1.6; color: var(--text-2); }
.side-btn { width: 100%; margin-top: 14px; padding: 12px 16px; font-size: 14px; }

.poplist { display: flex; flex-direction: column; gap: 14px; }
.pop { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: center; }
.pop__thumb { aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--bg-card); }
.pop__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.pop__title { font-size: 13.5px; font-weight: 700; color: var(--navy); line-height: 1.3; transition: color .15s var(--ease); }
.pop:hover .pop__title { color: var(--blue); }
.pop__genre { font-size: 12px; color: var(--text-2); margin: 3px 0 6px; }
.pop__meta { display: flex; gap: 12px; }
.pop__meta span { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-2); }
.pop__meta svg { width: 12px; height: 12px; }
.pop__rate { color: var(--navy) !important; font-weight: 700; }
.pop__rate svg { color: var(--gold); }

.poll__q { font-size: 14px; color: var(--navy); font-weight: 600; margin-bottom: 12px; line-height: 1.35; }
.poll__form { display: flex; flex-direction: column; gap: 9px; }
.poll__opt { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-2); cursor: pointer; line-height: 1.35; }
.poll__opt span { flex: 1; color: var(--text-2); transition: color .15s var(--ease); }
.poll__opt:hover span { color: var(--navy); }
.poll__opt input { accent-color: var(--blue); width: 16px; height: 16px; flex: none; margin-top: 2px; }
.poll__btn { width: 100%; margin-top: 8px; padding: 11px 16px; font-size: 14px; border-radius: 12px; }
.poll__form[hidden], .poll__results[hidden] { display: none; }
.poll__results { display: flex; flex-direction: column; gap: 12px; }
.bar__head { display: flex; justify-content: space-between; font-size: 13px; color: var(--navy); margin-bottom: 5px; }
.bar__head b { color: var(--blue); }
.bar__track { height: 7px; border-radius: 999px; background: var(--bg-card); overflow: hidden; }
.bar__track span { display: block; height: 100%; border-radius: 999px; background: var(--blue); transition: width .6s var(--ease); }
.poll__total { margin-top: 6px; font-size: 13px; color: var(--text-2); text-align: center; }
.poll__form--shake { animation: pollShake .4s var(--ease); }
@keyframes pollShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.comments__more.is-done { color: var(--text-3); cursor: default; }

.lastc { display: flex; flex-direction: column; gap: 16px; }
.lastc__item { display: flex; gap: 12px; align-items: flex-start; }
.lastc__item > div:not(.lastc__avatar) { min-width: 0; flex: 1; }
.lastc__avatar {
  flex: none;
  flex-shrink: 0;
  align-self: flex-start;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-card);
}
.lastc__avatar img {
  display: block;
  width: 38px;
  height: 38px;
  max-width: none;
  object-fit: cover;
}
.lastc__avatar--initial { display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: #fff; background: linear-gradient(135deg, var(--blue), #6a8bff); }
.lastc__item--enter { opacity: 0; transform: translateY(-6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.lastc__item--enter.is-in { opacity: 1; transform: none; }
.lastc__head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.lastc__name { font-weight: 700; color: var(--navy); font-size: 13.5px; }
.lastc__date { font-size: 11.5px; color: var(--text-3); }
.lastc__text { font-size: 13px; color: var(--text); line-height: 1.5; margin: 3px 0; }
.lastc__to { font-size: 12px; color: var(--blue); line-height: 1.45; margin-top: 2px; }
.lastc__to a {
  color: inherit;
  text-decoration: none;
  white-space: normal;
  word-break: break-word;
}
.lastc__to a:hover { text-decoration: underline; }
.lastc__more { margin-top: 16px; }

@media (max-width: 1180px) {
  .ep {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .ep__content,
  .ep__aside {
    min-width: 0;
    max-width: 100%;
  }
  .ep__aside {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .side-card--full { grid-column: 1 / -1; }

  .ep-head {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
  }

  .ep-head__info .show-rates {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ep-head__info .show-rates__item {
    flex: none;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .ep-head__info .show-rates__item:nth-child(2n) { border-right: none; }
  .ep-head__info .show-rates__item:nth-child(n+3) { border-bottom: none; }
}

@media (max-width: 900px) {
  .ep-head {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .ep-head__media { width: 100%; max-width: 320px; margin: 0 auto; }
  .ep-head__info { width: 100%; align-self: stretch; }
  .ep-specs__row { grid-template-columns: 1fr; gap: 4px; }

  .ep-playertabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .ep-playertabs::-webkit-scrollbar { display: none; }
  .ep-playertabs .tab { flex: 0 0 auto; }
}

@media (max-width: 768px) {
  .crumbs { font-size: 12.5px; padding: 2px 0 16px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .crumbs::-webkit-scrollbar { display: none; }
  .crumbs > * { white-space: nowrap; }

  .ep__content { gap: 28px; }
  .ep__aside { grid-template-columns: 1fr; }

  .ep-intro { padding: 18px 16px; margin-top: 22px; }
  .ep-intro__title { font-size: 21px; }
  .ep-intro__text p { font-size: 15px; line-height: 1.72; }

  .ep-head { display: flex; flex-direction: column; align-items: stretch; }
  .ep-head__media { width: 100%; max-width: 320px; margin: 0 auto 20px; }
  .ep-head__poster { width: 100%; aspect-ratio: 3 / 4; }
  .ep-head__poster .play-circle { width: 64px; height: 64px; }
  .ep-head__poster .play-circle svg { width: 26px; height: 26px; }
  .star-rating { max-width: none; }
  .ep-head__info { width: 100%; }
  .ep-head__title { font-size: 23px; line-height: 1.22; }
  .ep-head__orig { font-size: 13.5px; }
  .show-rates { margin: 14px 0 16px; }
  .ep-specs__row { grid-template-columns: 1fr; gap: 4px; }
  .ep-specs__row dt { font-size: 12.5px; }
  .ep-specs__row dd { overflow-wrap: anywhere; }

  .cast-rail .chars-rail__btn { display: none !important; }

  .ep-cast {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 28%;
    min-width: 0;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .ep-cast::-webkit-scrollbar { display: none; }
  .cast { scroll-snap-align: start; }
  .cast__name { font-size: 12.5px; }
  .cast__role { font-size: 11.5px; }

  .vplayer__big { width: 60px; height: 60px; }
  .vplayer__big svg { width: 24px; height: 24px; }
  .vplayer__top { top: 10px; left: 10px; gap: 6px; }
  .vselect__btn { padding: 6px 9px; font-size: 12px; }
  .vbar { gap: 9px; padding: 10px 12px; }
  .vbar__vol { display: none; }

  .ep-nav { flex-direction: column; }
  .ep-nav__btn { width: 100%; }

  .films { grid-template-columns: 1fr; }

  .cform__profile { grid-template-columns: 1fr; }
  .cform__label--group { grid-column: 1; }
  .cform__avatars { grid-column: 1; grid-row: auto; }
  .cform__identity { grid-column: 1; grid-row: auto; }
  .cform__foot { flex-direction: column; align-items: stretch; }
  .cform__submit { width: 100%; margin-left: 0; padding: 14px 20px; font-size: 15px; }

  .ep-schedule__season-head {
    flex-wrap: wrap;
    padding: 0 12px 12px 0;
    gap: 10px;
  }
  .ep-schedule__toggle { padding: 14px 4px 0 16px; width: 100%; flex: 1 1 100%; }
  .ep-schedule__season-actions {
    width: calc(100% - 12px);
    margin-left: 16px;
    flex-direction: column;
    align-items: stretch;
  }
  .ep-schedule__season-actions .ep-schedule__head-btn { width: 100%; padding: 10px 14px; }

  .ep-schedule__wrap { overflow-x: visible; }
  .ep-schedule__table { min-width: 0; }
  .ep-schedule__table thead { display: none; }
  .ep-schedule__table tbody tr {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    grid-template-areas:
      "num title"
      "num date"
      "num status"
      "num go";
    gap: 4px 12px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
  }
  .ep-schedule__table tbody tr:last-child { border-bottom: 0; }
  .ep-schedule__table td {
    display: block;
    padding: 0;
    border-bottom: 0;
    font-size: 13.5px;
  }
  .ep-schedule__table td:first-child {
    grid-area: num;
    align-self: start;
    padding-top: 2px;
  }
  .ep-schedule__table td:nth-child(2) { grid-area: title; min-width: 0; }
  .ep-schedule__table td:nth-child(3) {
    grid-area: date;
    color: var(--text-2);
    font-size: 13px;
    white-space: normal;
  }
  .ep-schedule__table td:nth-child(4) { grid-area: status; }
  .ep-schedule__table td:nth-child(5) { grid-area: go; padding-top: 4px; }
  .ep-schedule__ep { display: block; line-height: 1.35; word-break: break-word; }
  .ep-schedule__go { align-self: start; }
}

@media (max-width: 420px) {
  .ep-cast { grid-auto-columns: 34%; }
}

@media (prefers-reduced-motion: reduce) {
  .ep-schedule__panel { transition: none; }
}

/* ===================== article.css ===================== */
.post,
.ep__content.post {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.post__head { display: flex; flex-direction: column; gap: 14px; }
.post__badge { position: static; align-self: flex-start; }
.post__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 2.9vw, 38px);
  line-height: 1.18;
  letter-spacing: -.012em;
  color: var(--navy);
}
.post__meta.meta-stats--inline { margin-bottom: 0; }

.post__cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 8.5;
  background: var(--bg-soft);
  box-shadow: var(--shadow-soft);
}
.post__cover img { width: 100%; height: 100%; object-fit: cover; }

.post__body { display: flow-root; }
.post__lead { font-size: 17px; line-height: 1.7; color: var(--navy); font-weight: 500; margin-bottom: 18px; }
.post__body h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 21px;
  color: var(--navy);
  letter-spacing: -.01em;
  margin: 26px 0 12px;
}
.post__body p { font-size: 15.5px; line-height: 1.75; color: var(--text); margin-bottom: 14px; }
.post__list { margin: 0 0 16px; padding-left: 4px; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.post__list li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.6; color: var(--text); }
.post__list li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--blue);
}
.post__note {
  margin-top: 22px;
  padding: 16px 18px;
  background: var(--blue-soft);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius-sm);
  font-size: 14.5px !important;
  font-style: italic;
  color: var(--navy) !important;
}
.post__share { margin-top: 24px; }

.author {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.author__avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--bg-card); display: block; text-decoration: none; color: inherit; }
.author__avatar img { width: 100%; height: 100%; object-fit: cover; }
.author__label { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--text-3); font-weight: 600; }
.author__name { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 17px; color: var(--navy); margin: 3px 0 7px; }
.author__name a { color: inherit; transition: color .18s var(--ease); }
.author__name a:hover { color: var(--blue); }
.author__bio { font-size: 14px; line-height: 1.6; color: var(--text-2); }

@media (max-width: 768px) {
  .post,
  .ep__content.post { gap: 20px; }
  .post__cover { aspect-ratio: 16 / 10; border-radius: var(--radius-md); }
  .post__lead { font-size: 15.5px; }
  .post__body h2 { font-size: 18px; margin: 22px 0 10px; }
  .post__body p, .post__list li { font-size: 14.5px; }
  .author { flex-direction: column; gap: 12px; padding: 18px; }
}

/* ===================== comments.css ===================== */
.ep > .comments-block-wrap {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
}
.comments-block-wrap { width: 100%; }
.ep-comments { display: flex; flex-direction: column; position: relative; z-index: 1; }
.ep-comments.section { padding-top: 24px; }
#seasons-main .ep-comments.section,
.ep .ep-comments.section { margin-top: 44px; }
.ep-comments__count { color: var(--text-2); font-weight: 700; }
.comments-panel {
  display: flow-root;
}

.comments,
.comment__replies {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cform { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; margin-top: 26px; }
.cform__profile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px 22px;
  margin-bottom: 14px;
}
.cform__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.cform__label--group { grid-column: 1; margin: 0 0 8px; }
.cform__avatars {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.cform__avatar {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: width .18s var(--ease), height .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.cform__avatar img { width: 100%; height: 100%; object-fit: cover; }
.cform__avatar input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cform__avatar:has(input:checked) {
  width: 80px;
  height: 80px;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 18%, transparent);
}
.cform__avatar--none .cform__avatar-none {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--text-2, #667) 12%, transparent);
  color: var(--text-2, #667);
}
.cform__avatar--none .cform__avatar-none svg { width: 55%; height: 55%; }
.cform__identity { grid-column: 2; grid-row: 1 / 3; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cform__random-name {
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--blue);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.cform__random-name:hover { border-color: var(--blue); background: var(--blue-soft); }
.cform__input {
  width: 100%; font: inherit; font-size: 14px; color: var(--navy);
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
  padding: 11px 14px; transition: border-color .18s var(--ease);
}
.cform__input::placeholder { color: var(--text-3); }
.cform__input:focus { outline: none; border-color: var(--blue); }
.cform__area {
  width: 100%; font: inherit; font-size: 14.5px; color: var(--navy);
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
  padding: 13px 14px; resize: vertical; min-height: 96px;
  transition: border-color .18s var(--ease);
}
.cform__area:focus { outline: none; border-color: var(--blue); }
.cform__area::placeholder { color: var(--text-3); }
.cform--modal { background: transparent; border: 0; padding: 0; margin: 0; }
.cform--modal .cform__profile { grid-template-columns: 1fr; }
.cform--modal .cform__avatars { grid-column: 1; grid-row: auto; }
.cform--modal .cform__identity { grid-column: 1; grid-row: auto; }
.cform--modal .cform__foot { margin-top: 12px; justify-content: flex-end; }
.cform--modal .cform__submit { margin-left: 0; width: 100%; }
.cform__foot {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
}
.cform__submit {
  align-self: flex-end;
  width: auto;
  margin-left: auto;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: none;
  white-space: nowrap;
}
.cform__submit:hover { box-shadow: 0 8px 20px -10px rgba(47, 102, 230, .65); }
.comments-stage {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.comments-pagination { margin: 22px 0 0; flex: none; }
.comments-pagination[hidden] { display: none; }

.comments {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: none;
  justify-content: flex-start;
  box-sizing: border-box;
}
.comment { display: flex; gap: 14px; }
.comment--hidden,
[id^="comment-id-"].comment--hidden { display: none !important; }
.comment--reply { margin-left: 0; }
.comment__replies:empty { display: none; margin: 0; padding: 0; border: 0; }
.comment__replies {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
  padding-left: 14px;
  border-left: 2px solid var(--border);
}
.comment__replies .comment { gap: 12px; }
.comment__replies .comment__avatar { width: 38px; height: 38px; }
.comment__reply-to {
  margin: 0 0 4px;
  font-size: 12.5px;
  color: var(--text-2);
}
.comment__reply-to strong { color: var(--blue); font-weight: 600; }
.comment__avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: var(--bg-soft); }
.comment__avatar img { width: 100%; height: 100%; object-fit: cover; }
.comment__body { min-width: 0; flex: 1; }
.comment__head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 5px; }
.comment__name { font-weight: 700; color: var(--navy); font-size: 14.5px; }
.comment__date { font-size: 12.5px; color: var(--text-3); }
.comment__text { font-size: 14.5px; line-height: 1.65; color: var(--text); }
.comment__actions { display: flex; gap: 16px; margin-top: 8px; align-items: center; }
.comment__reply, .comment__like {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--text-2);
  background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit;
  transition: color .15s var(--ease);
}
.comment__reply:hover, .comment__like:hover { color: var(--blue); }
.comment__reply svg, .comment__like svg { width: 15px; height: 15px; }
.comment__like.is-liked { color: var(--blue); }
.comment__actions a { text-decoration: none; color: inherit; display: inline-flex; align-items: center; }
.comment__rate { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.comment__dislike:hover { color: #e04b4b; }
.comment__dislike.is-disliked { color: #e04b4b; }
.comment__avatar--initial {
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px; color: #fff;
  background: linear-gradient(135deg, var(--blue), #6a8bff);
}
.comment--enter { opacity: 0; transform: translateY(-8px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.comment--enter.is-in { opacity: 1; transform: none; }
[id^="comment-id-"].comment--enter .comment { opacity: 0; transform: translateY(-8px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
[id^="comment-id-"].comment--enter.is-in .comment,
[id^="comment-id-"] .comment.comment--enter.is-in { opacity: 1; transform: none; }
#dle-ajax-comments:empty { display: none; }
.cform__input.is-invalid { border-color: #e2483d; box-shadow: 0 0 0 3px rgba(226,72,61,.14); }
.cform__area.is-invalid { border-color: #e2483d; box-shadow: 0 0 0 3px rgba(226,72,61,.14); }
.comments__more { margin-top: 22px; }
.comments__more.is-done { color: var(--text-3); cursor: default; }

.comment-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.comment-modal[hidden] { display: none; }
body.comment-modal-open { overflow: hidden; }
.comment-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 16, 24, .88);
}
.comment-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 60px -24px rgba(20, 30, 60, .45);
  padding: 22px 22px 20px;
}
.comment-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  background: var(--bg-soft);
  border: 0;
  cursor: pointer;
}
.comment-modal__close svg { width: 18px; height: 18px; }
.comment-modal__close:hover { color: var(--navy); }
.comment-modal__title {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 36px 12px 0;
}
.comment-modal__quote {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-left: 3px solid var(--blue);
  background: var(--bg-soft);
  border-radius: 0 10px 10px 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.pagination__btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  transition: border-color .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
}
.pagination__btn:hover { border-color: var(--blue); color: var(--blue); }
.pagination__btn.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.pagination__btn:disabled,
.pagination__btn[aria-disabled="true"] { opacity: .45; cursor: default; pointer-events: none; }
.pagination__btn:disabled:hover,
.pagination__btn[aria-disabled="true"]:hover { border-color: var(--border); color: var(--navy); }

@media (max-width: 720px) {
  .cform__profile { grid-template-columns: 1fr; }
  .cform__label--group { grid-column: 1; }
  .cform__avatars { grid-column: 1; grid-row: auto; }
  .cform__identity { grid-column: 1; grid-row: auto; }
  .cform__foot { flex-direction: column; align-items: stretch; }
  .cform__submit { width: 100%; margin-left: 0; padding: 14px 20px; font-size: 15px; }
}

/* ===================== ep-graph.css ===================== */
.pmovie__episodes-graph.ep-graph {
  padding-top: 48px;
  padding-bottom: 48px;
}

.pmovie__episodes-graph-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding: 0 2px 18px;
  margin: 0 0 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.pmovie__episodes-graph-tabs::-webkit-scrollbar {
  display: none;
}

.pmovie__episodes-graph-tab {
  flex: 0 0 auto;
  padding: 11px 26px;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all .2s var(--ease);
  user-select: none;
}

.pmovie__episodes-graph-tab:hover {
  border-color: var(--text-3);
}

.pmovie__episodes-graph-tab.is-active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: var(--shadow-btn);
}

.ep-graph-panel {
  display: none;
}

.ep-graph-panel.is-active {
  display: block;
}

.ep-graph-season-btn,
.pmovie__episodes-graph-season__link.ep-graph-season-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 10px 16px;
  border-radius: 11px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(47, 102, 230, .18);
}

.ep-graph-season-btn.is-linked,
.pmovie__episodes-graph-season__link.is-linked {
  cursor: pointer;
}

.ep-graph-head {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) 7rem 6.5rem 2.5rem;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: var(--bg-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-2);
}

.ep-graph-head__cell--num {
  text-align: center;
}

.ep-graph-head__cell--date,
.ep-graph-head__cell--status {
  text-align: center;
}

.pmovie__episodes-graph-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  background: var(--bg-card);
}

.pmovie__episodes-graph-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 20px;
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--border);
  transition: background .2s ease;
}

.pmovie__episodes-graph-row:last-child {
  border-bottom: 0;
}

.pmovie__episodes-graph-row:hover {
  background: var(--bg-soft);
}

.pmovie__episodes-graph-row.is-linked {
  cursor: pointer;
}

.pmovie__episodes-graph-row.is-linked:hover .pmovie__episodes-graph-title {
  color: var(--blue);
}

.pmovie__episodes-graph-info {
  min-width: 0;
}

.pmovie__episodes-graph-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pmovie__episodes-graph-meta {
  font-size: 13px;
  color: var(--text-2);
}

.pmovie__episodes-graph-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.pmovie__episodes-graph-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 4.5rem;
  min-height: 3.5rem;
  padding: 6px 8px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue);
  line-height: 1.1;
  text-align: center;
}

.pmovie__episodes-graph-date__day {
  font-size: 1.2rem;
  font-weight: 700;
}

.pmovie__episodes-graph-date__month,
.pmovie__episodes-graph-date__year {
  font-size: .78rem;
  font-weight: 600;
}

.pmovie__episodes-graph-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
  white-space: nowrap;
}

.pmovie__episodes-graph-num span {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(34, 197, 94, .12);
  color: #15803d;
}

[data-theme="dark"] .pmovie__episodes-graph-num span {
  color: #86efac;
}

@media (max-width: 767px) {
  .ep-graph-head {
    display: none;
  }

  .pmovie__episodes-graph-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pmovie__episodes-graph-foot {
    justify-content: space-between;
    width: 100%;
  }

  .pmovie__episodes-graph-title {
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
}

/* ===================== autor.css ===================== */

.autor-admin-edit {
  margin: 28px 0 0;
  text-align: center;
}

.autorhead {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: start;
}
.autorhead__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg-soft);
  box-shadow: var(--shadow-soft);
}
.autorhead__photo img { width: 100%; height: 100%; object-fit: cover; }

.autorhead__name {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--navy);
}
.autorhead__orig { color: var(--text-2); font-size: 15px; margin-top: 4px; }
.autorhead__orig:empty { display: none; }
.autorhead__role {
  display: inline-block;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
}
.autorhead__role:empty { display: none; }

.autor-social { margin-top: 16px; }
.autor-social__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#autor-main .autor-quote {
  margin: 0;
  padding: 18px 22px;
  border: 0;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--bg-soft);
  font-size: 16px;
  font-style: italic;
  line-height: 1.65;
  color: var(--navy);
}

.autor-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.autor-section > .ep-block-title {
  margin-bottom: 0;
}
.autor-section > .link-more {
  align-self: flex-start;
  margin-top: 2px;
}

.autor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.autor-tags li {
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.autor-bio p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text);
  margin: 0 0 12px;
}
.autor-bio p:last-child { margin-bottom: 0; }

.autor-subtitle {
  margin: 8px 0 0;
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.01em;
}

.autor-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.autor-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
}
.autor-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.autor-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.autor-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 12px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.autor-stat__val {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--blue);
}
.autor-stat__label {
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--text-2);
}

.autor-contact {
  margin: 0;
  font-size: 15px;
  color: var(--text);
}
.autor-contact a {
  color: var(--blue);
  font-weight: 600;
}
.autor-contact a:hover { text-decoration: underline; }

.autor-news {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.autor-news__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.autor-news__thumb {
  flex: none;
  display: block;
  width: 120px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
}
.autor-news__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.autor-news__date {
  display: block;
  font-size: 12.5px;
  color: var(--text-3);
  margin-bottom: 4px;
}
.autor-news__title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy);
}
.autor-news__title a { color: inherit; transition: color .18s var(--ease); }
.autor-news__item:hover .autor-news__title a { color: var(--blue); }
.autor-news__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

@media (max-width: 900px) {
  .autor-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .autorhead {
    grid-template-columns: 100px 1fr;
    gap: 16px;
  }
  .autorhead__orig { font-size: 13.5px; }
  .autorhead__role { font-size: 14px; }
  #autor-main .autor-quote { font-size: 15px; padding: 14px 16px; }
  .autor-news__item { flex-direction: column; }
  .autor-news__thumb { width: 100%; }
}

/* ===================== dle-bridge.css ===================== */
.js-reveal [data-reveal],
.js-reveal [data-reveal].in-view,
.js-reveal [data-reveal-stagger] > *,
.js-reveal [data-reveal-stagger].in-view > * {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.btn.btn--primary {
  background: var(--blue);
  color: #fff;
  border: 0;
  box-shadow: 0 6px 16px -8px rgba(47, 102, 230, .55);
  transition: background-color .22s var(--ease), box-shadow .28s var(--ease),
              color .22s var(--ease), border-color .22s var(--ease);
}
.btn.btn--primary:hover {
  background: var(--blue-dark);
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(47, 102, 230, .7);
}
.btn.btn--primary:active {
  box-shadow: 0 4px 12px -8px rgba(47, 102, 230, .6);
}
.btn.btn--ghost {
  background: var(--bg-soft);
  color: var(--navy);
  border: 1px solid var(--border);
  transition: background-color .22s var(--ease), box-shadow .28s var(--ease),
              color .22s var(--ease), border-color .22s var(--ease);
}
.btn.btn--ghost:hover {
  background: var(--bg-soft-2);
  border-color: var(--text-3);
  color: var(--navy);
}

.stills__more[hidden],
.tracks__more[hidden],
.awards__more[hidden],
.facts__more[hidden] {
  display: none !important;
}

.stills__more:not([hidden]),
.tracks__more:not([hidden]),
.facts__more:not([hidden]) {
  display: inline-flex;
}

.grid-2 > .section:only-child {
  grid-column: 1 / -1;
}

a.news__thumb {
  text-decoration: none;
  color: inherit;
}

.news__title a {
  color: inherit;
  text-decoration: none;
}

.news__item:hover .news__title a {
  color: var(--blue);
}

.page .card,
.page .card > main,
.page .card .content-area,
.page .card article[itemscope] {
  background: var(--bg-card);
}

.card {
  position: relative;
  z-index: 1;
  background: var(--bg-card) !important;
  overflow: visible !important;
  padding-bottom: 40px !important;
}

.ep-comments {
  position: relative;
  z-index: 2;
  background: var(--bg-card);
  overflow: visible;
}

.comments-panel {
  display: flow-root;
  position: relative;
}

.ep-comments .comments-stage {
  overflow: visible;
  min-height: 0 !important;
}

.comments-source {
  display: none !important;
}

.ep-comments .comments-panel > #dle-comments-list,
.ep-comments #dle-comments-list,
.ep-comments .comments-panel > .comments,
.ep-comments .comments {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: none;
  overflow: visible;
}

.ep-comments .dle-comments-navigation {
  margin: 22px 0 0;
  flex: none;
}

.ep-comments .dle-comments-navigation[hidden] {
  display: none !important;
}

.ep-comments .dle-comments-navigation,
.ep-comments .dle-comments-navigation > .pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ep-comments .dle-comments-navigation a.pagination__btn,
.ep-comments .dle-comments-navigation button.pagination__btn,
.ep-comments .dle-comments-navigation span.pagination__btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.ep-comments .dle-comments-navigation button.pagination__btn {
  font: inherit;
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.ep-comments .dle-comments-navigation a.pagination__btn > span {
  border: 0;
  background: transparent;
  min-width: 0;
  height: auto;
  padding: 0;
  display: inline;
  font: inherit;
  color: inherit;
}

.ep-comments .dle-comments-navigation .nav_ext {
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
  color: var(--text-3);
  font-weight: 600;
}

#dlemasscomments {
  display: none !important;
}

.ep-comments .comment,
.ep-comments li.comment,
.ep-comments div.comment {
  display: flex !important;
  gap: 14px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ep-comments .comment__avatar {
  flex: none !important;
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  background: var(--bg-soft) !important;
}

.ep-comments .comment__avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.ep-comments .comment__body {
  min-width: 0 !important;
  flex: 1 !important;
}

.ep-comments .comment__head {
  display: flex !important;
  align-items: baseline !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  margin-bottom: 5px !important;
}

.ep-comments .comment__name {
  font-weight: 700 !important;
  color: var(--navy) !important;
  font-size: 14.5px !important;
}

.ep-comments .comment__date {
  font-size: 12.5px !important;
  color: var(--text-3) !important;
}

.ep-comments .comment__text {
  margin: 0 !important;
  font-size: 14.5px !important;
  line-height: 1.65 !important;
  color: var(--text) !important;
}

.ep-comments .comment__actions {
  display: flex !important;
  gap: 16px !important;
  margin-top: 8px !important;
  align-items: center !important;
}

.ep-comments .comment__reply,
.ep-comments .comment__like {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--text-2) !important;
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  cursor: pointer !important;
  font-family: inherit !important;
}

.ep-comments .comment__reply:hover,
.ep-comments .comment__like:hover {
  color: var(--blue) !important;
}

.ep-comments .comment__actions a {
  text-decoration: none !important;
  color: inherit !important;
  display: inline-flex !important;
  align-items: center !important;
}

.ep-comments .comment__dislike:hover {
  color: #e04b4b !important;
}

.ep-comments .comment__reply svg,
.ep-comments .comment__like svg {
  width: 15px !important;
  height: 15px !important;
  fill: currentColor !important;
}

.ep-comments .comment--hidden,
.ep-comments [id^="comment-id-"].comment--hidden {
  display: none !important;
}

.comments-source.is-ready {
  display: none !important;
}

.ep-comments > .cform,
.ep-comments #dle-comments-form,
.ep-comments #dle-comments-form.cform {
  margin-top: 26px;
}

#dle-comments-form .bb-editor {
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
}

#dle-comments-form .bb-editor textarea,
#dle-comments-form textarea#comments:not(.cform__area) {
  width: 100%;
  min-height: 120px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  line-height: 1.5;
  resize: vertical;
}

#dle-comments-form .bb-editor textarea:focus,
#dle-comments-form textarea#comments:not(.cform__area):focus {
  outline: none;
  border-color: var(--blue);
}

.cform__subscribe {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-2);
}

.comment__reply--admin {
  opacity: .65;
}

html {
  background-color: #cdd3db;
}

body {
  background-image: var(--site-bg,
    radial-gradient(120% 78% at 50% 122%, rgba(249, 207, 158, .92) 0%, rgba(249, 207, 158, 0) 55%),
    radial-gradient(85% 60% at 88% -10%, rgba(150, 172, 201, .5) 0%, rgba(150, 172, 201, 0) 60%),
    linear-gradient(180deg, rgba(206, 215, 226, .92) 0%, rgba(216, 209, 200, .8) 52%, rgba(249, 229, 201, .78) 100%),
    url("../assets/got-bg.jpg")
  ) !important;
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}

.page {
  background: transparent;
}

.content-area {
  min-width: 0;
}

.show-head {
  padding-top: 0;
}

@media (max-width: 768px) {
  body {
    background-image: var(--site-bg) !important;
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    background-color: var(--bg-card) !important;
  }
}

.sbtn svg,
.star-rating__btn svg,
.btn__play {
  display: block;
  fill: currentColor;
}

.meta-stats--overlay {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.meta-stats--overlay .meta-stat {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}
.meta-stats--overlay .meta-stat + .meta-stat {
  margin-left: 0;
}
.meta-stats--overlay .meta-stat svg {
  display: block;
  margin-right: 0;
  flex-shrink: 0;
}

.sbtn--counted svg {
  flex-shrink: 0;
}

.logo .site-logo,
.logo img,
.logo picture,
.logo picture img {
  display: block;
  height: 34px;
  width: auto;
  max-width: min(300px, 62vw);
  object-fit: contain;
}

.logo__img {
  display: block;
  height: 34px;
  width: auto;
  max-width: min(300px, 62vw);
  object-fit: contain;
}

@media (max-width: 768px) {
  .logo .site-logo,
  .logo img,
  .logo picture img {
    height: 30px;
    max-width: none;
  }
}

.show-head__media .dle-rating-likes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 0;
}

.show-head__media .dle-rating-likes a {
  text-decoration: none;
  color: inherit;
}

.show-head__media .rating-dislike-btn,
.show-head__media .rating-like-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-soft, #f3f5f9);
  cursor: pointer;
  transition: background .2s ease;
}

.show-head__media .rating-dislike-btn:hover,
.show-head__media .rating-like-btn:hover {
  background: var(--blue-soft, #e9eefc);
}

.show-head__media .rating-value {
  font-weight: 700;
  font-size: 15px;
  min-width: 24px;
  text-align: center;
}

.crumbs .breadcrumbs,
.crumbs .speedbar {
  display: inline;
}

.crumbs .breadcrumbs a,
.crumbs .speedbar a {
  color: var(--text-2, #64748b);
  text-decoration: none;
}

.crumbs .breadcrumbs a:hover,
.crumbs .speedbar a:hover {
  color: var(--blue, #2f66e6);
}

.show-specs__seasons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.show-specs__seasons li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 8px;
  background: var(--bg-soft, #f3f5f9);
  color: var(--navy, #0f172a);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.show-specs__seasons li a:hover {
  background: var(--blue-soft, #e9eefc);
  color: var(--blue, #2f66e6);
}

.show-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  color: var(--text-2, #64748b);
  font-size: 14px;
}

.show-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.show-meta__item svg {
  width: 16px;
  height: 16px;
  opacity: .7;
}

.show-editnote {
  font-size: 13px;
  color: var(--text-2, #64748b);
  margin: 0 0 16px;
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #0b0b0f;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.lightbox--video[hidden] {
  display: none;
}

.lightbox--video .lightbox__stage--video {
  width: min(960px, 94vw);
  max-width: 94vw;
}

.lightbox--video .lightbox__caption {
  width: 100%;
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.lightbox--video .lightbox__frame--video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #0b0b0f;
}

.lightbox--video .lightbox__frame--video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.show-head__trailer {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  border: 0;
  cursor: pointer;
  font: inherit;
  text-align: center;
}

.track__name--link {
  color: inherit;
  text-decoration: none;
}
.track__name--link:hover {
  color: var(--blue);
}

.char__photo-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}

.ep-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 0;
  flex-wrap: wrap;
}

.ep-nav a {
  text-decoration: none;
}

.ep-nav__btn--empty {
  flex: 1 1 0;
  min-width: 0;
  visibility: hidden;
  pointer-events: none;
}

.ep-nav--dle:not(.ep-nav) {
  display: none;
}

#epNav:empty {
  display: none;
}

#ep-main .seo-bottom {
  grid-column: 1 / -1;
}

#ep-main,
#ep-main .ep__content,
#ep-main .ep__aside {
  min-width: 0;
  max-width: 100%;
}

#ep-main .ep-head__info {
  min-width: 0;
}

#ep-main .ep-specs {
  width: 100%;
  max-width: 100%;
}

#ep-main .ep-specs__row dt,
#ep-main .ep-specs__row dd {
  margin: 0;
  min-width: 0;
}

#ep-main .ep-specs__row dd {
  overflow-wrap: break-word;
  word-break: normal;
}

@media (max-width: 1180px) {
  #ep-main {
    width: 100%;
    overflow-x: clip;
  }

  #ep-main .ep-head {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
  }

  #ep-main .ep-head__info {
    min-width: 0;
  }

  #ep-main .show-rates {
    max-width: 100%;
  }
}

@media (min-width: 1181px) {
  #ep-main .ep-head {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  #ep-main .ep-specs__row {
    display: grid;
    grid-template-columns: minmax(130px, 190px) minmax(0, 1fr);
    align-items: baseline;
  }
}

@media (max-width: 900px) {
  #ep-main .ep-head {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  #ep-main .ep-head__media {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  #ep-main .ep-head__info {
    width: 100%;
    align-self: stretch;
  }

  #ep-main .ep-head__title {
    overflow-wrap: anywhere;
  }

  #ep-main .show-rates {
    max-width: 100%;
  }

  #ep-main .ep-specs__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
  }

  #ep-main .ep-specs__row dd {
    overflow-wrap: anywhere;
  }

  #ep-main .ep-playertabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  #ep-main .ep-playertabs::-webkit-scrollbar {
    display: none;
  }

  #ep-main .ep-playertabs .tab {
    flex: 0 0 auto;
  }

  #ep-main .vplayer,
  #ep-main .vplayer__frame,
  #ep-main .vplayer__frame iframe {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  #ep-main .ep-specs__row {
    gap: 2px;
  }
}

.episode-player__mount .se-episode-player .fctrl,
.episode-player__mount .se-episode-player .video-box iframe {
  display: none !important;
}

.episode-player__mount:not([hidden]) {
  margin-top: 0;
}

.episode-player__mount .se-soon,
.episode-player__mount .se-no-player {
  border-radius: var(--radius-md);
  overflow: hidden;
}

#castRail.chars-rail--scroll .ep-cast {
  display: grid;
  grid-template-columns: none !important;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 14px * 4) / 5);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 100%;
  padding-bottom: 2px;
}

#castRail.chars-rail--scroll .ep-cast > .cast {
  scroll-snap-align: start;
  min-width: 0;
}

#castRail.chars-rail--scroll .ep-cast::-webkit-scrollbar {
  display: none;
}

.actors-pagination {
  margin-top: 34px;
}

.actors-pagination:empty,
.actors-pagination:not(:has(.navigation a, .navigation > span:not(.nav_ext))) {
  display: none;
}

.actors-pagination .navigation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.actors-pagination .navigation a,
.actors-pagination .navigation > span:not(.nav_ext):not(.pnav) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
}

.actors-pagination .navigation a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.actors-pagination .navigation > span:not(.nav_ext):not(.pnav) {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.actors-pagination .navigation .pnav a {
  font-size: 16px;
}

.actors-pagination .navigation .nav_ext {
  color: var(--text-3);
  font-size: 14px;
  padding: 0 4px;
}

#actors-main .seo-bottom {
  margin-top: 8px;
  padding-top: 34px;
  border-top: 1px solid var(--border-2);
}

#actors-main .about-long__box p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text);
}

#actors-main .about-long__box p + p {
  margin-top: 16px;
}

#actors-main .about-long__box a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

#actors-main .about-long__box a:hover {
  color: var(--blue-dark);
}

#actor-main .actor-specs a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

#actor-main .actor-specs a:hover {
  color: var(--blue-dark);
}

#actor-main .actor-bio__text p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 12px;
}

#actor-main .actor-bio__text p:last-child {
  margin-bottom: 0;
}

#actor-main .lastc__to a {
  color: inherit;
  text-decoration: none;
}

#actor-main .lastc__to a:hover {
  color: var(--blue);
}

#actor-main [data-side-latest][hidden] {
  display: none;
}

@media (max-width: 768px) {
  .actors-pagination {
    margin-top: 22px;
  }
}

html.page-home .skip-link--news {
  display: none;
}

html.page-news .skip-link--home {
  display: none;
}

html.page-home .skip-link--autor,
html.page-news .skip-link--autor {
  display: none;
}

html.page-autor .skip-link--home,
html.page-autor .skip-link--news {
  display: none;
}

.content-area > .ep,
.content-area > #autor-main {
  margin-top: 0;
}

#autor-main.ep > blockquote,
#autor-main.ep > .autor-section,
#autor-main.ep > .autor-quote {
  grid-column: 1;
  max-width: 100%;
}

#autor-main .ep__content {
  display: flex;
  flex-direction: column;
  gap: 34px;
  min-width: 0;
}

#autor-main .ep__content > .autor-section ul,
#autor-main .ep__content > .autor-section .autor-list,
#autor-main .ep__content > .autor-section .autor-tags {
  list-style: none;
}

#autor-main .ep__content > p:empty {
  display: none;
}

.news-page {
  padding-bottom: 12px;
}

.news-page .seo-bottom {
  margin-top: 48px;
}

.ncard__excerpt:empty,
.news__excerpt:empty {
  display: none;
}

.ncard__excerpt--short:not(:empty) + .ncard__excerpt--full,
.news__excerpt--short:not(:empty) + .news__excerpt--full {
  display: none;
}

.seo-bottom--home .section__title:empty,
.seo-bottom--home .about-long__lead:empty {
  display: none;
}

.seo-bottom--home:not(:has(.section__title:not(:empty))):not(:has(.about-long__lead:not(:empty))) {
  display: none;
}

.seo-bottom--optional:not(:has(.about-long__box:not(:empty))) {
  display: none;
}

.seo-news-brand:empty {
  display: none;
}

.seo-news-brand:not(:empty)::before {
  content: "«";
}

.seo-news-brand:not(:empty)::after {
  content: "»";
}

.nf {
  min-height: clamp(360px, 52vh, 620px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 0 60px;
}
.nf__code {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(96px, 22vw, 200px);
  line-height: .9;
  letter-spacing: -.02em;
  color: var(--blue);
  margin: 0 0 6px;
}
.nf__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 4vw, 34px);
  color: var(--navy);
  margin: 0 0 12px;
}
.nf__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  max-width: 460px;
  margin: 0 auto 28px;
}
.nf__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.page:has(.page-404-notice) .page-home-only,
.page:has(.page-404-notice) .page-news-only {
  display: none !important;
}

.cform__name-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.cform__name-row .cform__name,
.cform__name-row .cform__hero {
  flex: 1 1 50%;
  min-width: 0;
}
.cform__name-row .cform__random-name {
  align-self: auto;
  flex: 0 0 auto;
  width: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cform__name-row .cform__random-name svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 520px) {
  .cform__name-row { flex-wrap: wrap; }
  .cform__name-row .cform__name { flex: 1 1 100%; }
  .cform__name-row .cform__hero { flex: 1 1 calc(100% - 52px); }
}

