@charset "UTF-8";


@font-face { font-family: "Inter"; src: url(/theme/fonts/inter-cyrillic.woff2) format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; src: url(/theme/fonts/inter-latin.woff2) format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; 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: "Cormorant Garamond"; src: url(/theme/fonts/cormorant-cyrillic.woff2) format("woff2"); font-weight: 600 700; font-style: normal; font-display: block; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; src: url(/theme/fonts/cormorant-latin.woff2) format("woff2"); font-weight: 600 700; font-style: normal; font-display: block; 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 Fallback"; src: local("Arial"), local("ArialMT"); size-adjust: 106.37%; ascent-override: 91.19%; descent-override: 22.56%; line-gap-override: 0%; }
@font-face { font-family: "Cormorant Fallback"; src: local("Times New Roman"), local("TimesNewRomanPSMT"); size-adjust: 89.72%; ascent-override: 102.55%; descent-override: 32.32%; line-gap-override: 0%; }

:root {
  --c-base: #252529;
  --c-base-rgb: 37, 37, 41;
  --c-deep: #151515;
  --c-box: #2f2f33;
  --c-box-2: #3b3b40;
  --c-screen: #000;
  --c-rule: rgba(255, 255, 255, .08);
  --c-rule-2: rgba(255, 255, 255, .18);
  --c-top: rgba(28, 28, 31, .82);
  --c-text: #fff;
  --c-text-2: #c7c7c7;
  --c-text-3: #8f8f96;   
  --c-accent: #f06700;
  --c-accent-2: #d35a00;
  --c-link: #ff8a3d;
  --c-link-2: #ffae73;
  --c-star: #f06700;

  --ff-head: "Cormorant Garamond", "Cormorant Fallback", Georgia, serif;
  --ff-body: "Inter", "Inter Fallback", Arial, sans-serif;

  --fs-s: 14px;
  --fs-m: 16px;
  --fs-l: 24px;
  --fs-xl: 34px;
  --fs-xxl: 56px;
  --gap-1: 8px;
  --gap-2: 16px;
  --gap-3: 24px;
  --gap-4: 72px;
  --side: 24px;
  --max-w: 1120px;
  --text-w: 820px;
  --bar-h: 72px;
  --button-h: 48px;
  --radius: 6px;
  --speed: .15s;

  --screen-shadow: 0 30px 80px -20px rgba(0, 0, 0, .75), 0 0 0 1px var(--c-rule);
}

@media (max-width: 760px) {
  :root {
    --side: 16px;
    --gap-4: 44px;
    --fs-m: 15px;
    --fs-l: 21px;
    --fs-xl: 26px;
    --fs-xxl: 34px;
    --bar-h: 60px;
    --button-h: 44px;
  }
}

/* ---------- база ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--bar-h); }
html, body { margin: 0; background: var(--c-base); }

body {
  font-family: var(--ff-body);
  font-size: var(--fs-m);
  line-height: 1.6;
  color: var(--c-text);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--c-link); text-decoration: none; transition: color var(--speed), background-color var(--speed); }
a:hover { color: var(--c-link-2); }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
::selection { background: var(--c-accent); color: #fff; }

.wrap {
  width: 100%;
  max-width: calc(var(--max-w) + 2 * var(--side));
  margin-inline: auto;
  padding-inline: var(--side);
}

.wrap-text {
  width: 100%;
  max-width: calc(var(--text-w) + 2 * var(--side));
  margin-inline: auto;
  padding-inline: var(--side);
}

/* ---------- размытый фон из кадра (--bg-pic задаёт сборка) ---------- */

#sn-page {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  min-height: 100vh;
}

#sn-page::before,
#sn-page::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: -1;
  pointer-events: none;
}

#sn-page::before {
  inset: -60px -60px auto;
  height: 1160px;
  background-image:
    var(--bg-pic, none),
    radial-gradient(50% 45% at 22% 18%, rgba(240, 103, 0, .4), transparent 70%),
    radial-gradient(45% 45% at 80% 8%, rgba(230, 48, 45, .35), transparent 70%);
  background-size: cover, auto, auto;
  background-position: center 30%, 0 0, 0 0;
  background-repeat: no-repeat;
  filter: blur(36px) saturate(1.25) brightness(1.15);
  opacity: .9;
  -webkit-mask-image: linear-gradient(#000 45%, transparent 90%);
  mask-image: linear-gradient(#000 45%, transparent 90%);
}

#sn-page::after {
  top: 0;
  height: 1100px;
  background: linear-gradient(180deg, rgba(var(--c-base-rgb), .15) 0%, rgba(var(--c-base-rgb), .55) 35%, rgba(var(--c-base-rgb), .85) 60%, var(--c-base) 80%);
}

.is-home::before,
.is-home::after { display: none; }

/* ---------- шапка ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-top);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--c-rule);
}

.topbar-in {
  display: flex;
  align-items: center;
  gap: var(--gap-2);
  min-height: var(--bar-h);
}

.brand { flex: 0 0 auto; transition: opacity var(--speed); }
.brand:hover { opacity: .8; }
.brand {
  font-family: var(--ff-head);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .01em;
  color: #fff;
  white-space: nowrap;
}

.brand:hover { color: #fff; }

.seasons-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.seasons-nav-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; }

.seasons-nav-list a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 11px;
  border-radius: var(--radius);
  font-size: var(--fs-s);
  font-weight: 600;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}

.seasons-nav-list a:hover,
.seasons-nav-list a[aria-current] { color: #fff; background: rgba(255, 255, 255, .08); }

.seasons-nav-btn { display: none; }

.topbar-link,
.seasons-nav-btn {
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  height: 36px;
  min-width: 36px;
  padding: 0 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px var(--c-rule-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #fff;
}

.topbar-link { display: inline-flex; }
.topbar-link:hover { color: #fff; background: var(--c-accent); box-shadow: none; }

@media (max-width: 1100px) {
  .topbar-in { position: relative; flex-wrap: wrap; align-content: flex-start; row-gap: 0; }
  .brand { display: flex; align-items: center; min-height: var(--bar-h); margin-right: auto; }
  .seasons-nav { order: 3; flex: 1 0 100%; display: block; }
  .topbar-link { order: 2; }

  .seasons-nav-btn {
    position: absolute;
    top: calc((var(--bar-h) - 36px) / 2);
    right: var(--side);
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    width: 36px;
    padding: 0 9px;
  }

  .seasons-nav-btn span { display: block; width: 100%; height: 2px; border-radius: 1px; background: #fff; }
  .seasons-nav-list { display: none; }

  .seasons-nav.is-open .seasons-nav-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--gap-1);
    padding: var(--gap-1) 0 var(--gap-3);
  }

  .seasons-nav.is-open .seasons-nav-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }

  .seasons-nav.is-open .seasons-nav-list a {
    width: 100%;
    height: 44px;
    justify-content: center;
    background: rgba(255, 255, 255, .06);
  }
}

@media (max-width: 760px) {
  .brand { font-size: 25px; }
}

/* ---------- заголовок страницы ---------- */

.heading {
  padding-top: var(--gap-4);
  padding-bottom: var(--gap-3);
  text-align: center;
}

.overline {
  margin-bottom: var(--gap-2);
  font-size: var(--fs-s);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-link);
}

h1 {
  max-width: 860px;
  margin-inline: auto;
  font-family: var(--ff-head);
  font-size: var(--fs-xxl);
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-text);
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
  text-wrap: balance;
}

.ep-name,
.heading-sub,
.cover-sub {
  margin-top: var(--gap-2);
  font-family: var(--ff-head);
  font-size: var(--fs-l);
  font-weight: 700;
  font-style: italic;
  line-height: 1.2;
  color: var(--c-link);
  text-wrap: balance;
}

.ep-name::before { content: "\00AB"; }
.ep-name::after { content: "\00BB"; }

/* ---------- плеер ---------- */

.screen {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--c-screen);
  box-shadow: var(--screen-shadow);
}

.screen::before {
  content: "";
  position: absolute;
  inset: -5%;
  background: var(--bg-pic, none) center / cover no-repeat;
  filter: blur(16px) brightness(.45);
}

.screen video-player,
.screen iframe {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- кнопки ---------- */

.button,
.go-prev,
.go-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--button-h);
  padding: 0 var(--gap-3);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px var(--c-rule-2);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}

.button:hover, .go-prev:hover { color: #fff; background: rgba(255, 255, 255, .12); }

.button-accent,
.go-next { background: var(--c-accent); box-shadow: none; }
.button-accent:hover,
.go-next:hover { color: #fff; background: var(--c-accent-2); }

.go-prev::before,
.go-next::after,
.button-accent::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat;
  mask: var(--ico) center / contain no-repeat;
  transition: transform var(--speed);
}

.go-prev { padding-left: 18px; }
.go-next { padding-right: 18px; }
.go-prev::before { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 18l-6-6 6-6'/%3E%3C/svg%3E"); }
.go-next::after { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.button-accent::before { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l11-6.5z'/%3E%3C/svg%3E"); }
.go-prev:hover::before { transform: translateX(-3px); }
.go-next:hover::after { transform: translateX(3px); }

/* ---------- навигация по сериям и рейтинг ---------- */

.pager {
  display: flex;
  align-items: center;
  gap: var(--gap-3);
  margin-top: var(--gap-3);
  padding-block: var(--gap-2);
  border-block: 1px solid var(--c-rule);
}

.pager .go-prev { margin-right: auto; }
.pager .go-next { margin-left: auto; }

.score { display: flex; align-items: center; gap: 12px; }

.score-num {
  display: grid;
  place-items: center;
  width: 56px;
  height: var(--button-h);
  border-radius: var(--radius);
  background: var(--c-accent);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
}

.score-info { display: grid; gap: 5px; }

.score-stars {
  --star-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E");
  display: block;
  width: 200px;
  height: 18px;
  background: linear-gradient(90deg, var(--c-star) var(--score), rgba(255, 255, 255, .14) var(--score));
  -webkit-mask: var(--star-shape) left center / 20px 18px repeat-x;
  mask: var(--star-shape) left center / 20px 18px repeat-x;
}

.score-note { font-size: 13px; color: var(--c-text-3); }

@media (max-width: 760px) {
  .pager { flex-wrap: wrap; gap: 12px 8px; }
  .pager .go-prev, .pager .go-next { flex: 1 1 0; min-width: 0; margin: 0; height: auto; min-height: var(--button-h); padding: 8px 10px; font-size: 13px; }
  .pager .go-next { justify-content: flex-end; text-align: right; }
  .pager .score { order: 3; flex: 1 0 100%; justify-content: center; padding-top: 4px; }
  .score-num { width: 52px; font-size: 20px; }
}

/* ---------- текст ---------- */

.story,
.plot {
  padding-top: var(--gap-4);
  font-size: var(--fs-m);
  line-height: 1.7;
  color: var(--c-text-2);
  overflow-wrap: break-word;
}

.story h2,
.plot h2,
.season-switch > h2 {
  font-family: var(--ff-head);
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-text);
  text-wrap: balance;
}

.story h2,
.plot h2 { margin-bottom: var(--gap-2); }
.story p + h2,
.plot p + h2 { margin-top: var(--gap-4); }
.story p + p,
.plot p + p,
.story figure + p,
.plot figure + p { margin-top: var(--gap-2); }
.story a, .plot a { box-shadow: inset 0 -1px 0 rgba(255, 138, 61, .35); }
.story a:hover, .plot a:hover { box-shadow: inset 0 -1px 0 currentColor; }
.story strong, .plot strong { color: var(--c-text); }

.frame { margin-block: var(--gap-3); }

.frame img {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .7), 0 0 0 1px var(--c-rule);
}

/* ---------- карточки серий (главная и сезоны) ---------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px var(--gap-2);
}

.tile a { display: grid; gap: 4px; color: var(--c-text); }

.tile-pic {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 6px;
  border-radius: var(--radius);
  background: var(--c-box);
}

.tile-pic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s, filter .3s;
}

.tile-pic::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: var(--c-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 6.5v11l9-5.5z'/%3E%3C/svg%3E") center / 22px no-repeat;
  opacity: 0;
  transform: scale(.85);
  transition: opacity .2s, transform .2s;
}

.tile a:hover .tile-pic img { transform: scale(1.05); filter: brightness(.7); }
.tile a:hover .tile-pic::after { opacity: 1; transform: none; }
.tile-num { font-size: 13px; color: var(--c-text-3); }

.tile-name {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.tile a:hover .tile-name { color: var(--c-link); }
.season-tiles { padding-top: var(--gap-3); }

@media (max-width: 991px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .tile-name { font-size: 14px; }
}

/* ---------- главная: hero ---------- */

.cover {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(86vh, 760px);
  margin-top: calc(-1 * var(--bar-h));
  padding: calc(var(--bar-h) + var(--gap-4)) 0 var(--gap-4);
  background: var(--c-base);
}

.cover::before,
.cover::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.cover::before {
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 1500px);
  background: url(/media/sverhestestvennoe-home.webp) center top / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .35) 22%, #000 48%), linear-gradient(0deg, transparent 0%, #000 38%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .35) 22%, #000 48%), linear-gradient(0deg, transparent 0%, #000 38%);
  mask-composite: intersect;
}

.cover::after {
  inset: 0 0 auto;
  height: 30%;
  background: linear-gradient(180deg, rgba(var(--c-base-rgb), .65), transparent);
}

.cover h1 { max-width: 620px; margin: 0; font-size: calc(var(--fs-xxl) * 1.15); }
.cover .overline { margin-bottom: var(--gap-2); }
.cover-sub { max-width: 620px; margin-top: var(--gap-1); }

.chips { display: flex; flex-wrap: wrap; gap: var(--gap-1); margin-top: var(--gap-3); }

.chips li {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: var(--radius);
  background: rgba(var(--c-base-rgb), .35);
  box-shadow: inset 0 0 0 1px var(--c-rule-2);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text-2);
  white-space: nowrap;
}

.cover-text {
  max-width: 600px;
  margin-top: var(--gap-3);
  line-height: 1.7;
  color: var(--c-text-2);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
}

.cover-buttons { display: flex; flex-wrap: wrap; gap: var(--gap-1); margin-top: var(--gap-3); }

@media (max-width: 760px) {
  .cover { align-items: flex-end; min-height: 600px; }

  .cover::before {
    width: 100%;
    bottom: auto;
    height: 78%;
    background-position: 68% top;
    -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 55%);
    mask-image: linear-gradient(0deg, transparent 0%, #000 55%);
    filter: brightness(.62);   /* на телефоне текст лежит на картинке — притемняем */
  }

  .cover h1 { font-size: 40px; }
  .cover-buttons { flex-wrap: nowrap; }
  .cover-buttons .button { flex: 1 1 auto; padding: 0; }
  .overline { font-size: 13px; }
}

/* ---------- главная: вкладки сезонов ---------- */

.season-switch { padding-top: var(--gap-3); }
.season-switch > h2 { margin-bottom: var(--gap-3); }

.switch-tabs {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: var(--gap-1);
}

.switch-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 var(--gap-2);
  border-radius: var(--radius);
  background: var(--c-box);
  font-size: var(--fs-s);
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.switch-tab:hover { color: #fff; background: var(--c-box-2); }
.switch-tab[aria-selected="true"] { background: var(--c-accent); }

.switch-panel { margin-top: var(--gap-3); }
.is-ready .switch-panel:not(.is-on) { display: none; }

.switch-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--gap-1) var(--gap-2);
  margin-bottom: var(--gap-3);
  font-size: var(--fs-s);
  color: var(--c-text-3);
}

.switch-panel-head h3 { font-family: var(--ff-head); font-size: var(--fs-l); line-height: 1.2; }
.switch-panel-head h3 a { color: var(--c-text); }
.switch-panel-head h3 a:hover { color: var(--c-link); }

@media (max-width: 760px) {
  .switch-tabs {
    display: flex;
    overflow-x: auto;
    margin-inline: calc(-1 * var(--side));
    padding-inline: var(--side);
    scrollbar-width: none;
  }

  .switch-tabs::-webkit-scrollbar { display: none; }
  .switch-tab { flex: 0 0 auto; }
}

/* ---------- главная: список сезонов ---------- */

.season-index { padding-top: var(--gap-4); }
.season-index ul { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: var(--gap-2); }

.season-index li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: var(--gap-2) var(--gap-1);
  border-radius: var(--radius);
  background: var(--c-box);
  box-shadow: inset 0 0 0 1px var(--c-rule);
  font-size: 13px;
  color: var(--c-text-3);
  transition: background-color var(--speed);
}

.season-index a {
  font-family: var(--ff-head);
  font-size: var(--fs-l);
  font-weight: 700;
  color: var(--c-text);
  white-space: nowrap;
}

.season-index a::after { content: ""; position: absolute; inset: 0; }
.season-index li:hover { background: var(--c-box-2); }
.season-index li:hover a { color: var(--c-link); }

@media (max-width: 991px) { .season-index ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- актёры ---------- */

.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px var(--gap-3); padding-top: var(--gap-3); }

.person-pic {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--c-box);
}

.person-pic img { width: 100%; height: 100%; object-fit: cover; }
.person figcaption { display: grid; gap: 2px; margin-top: 12px; }
.person strong { font-size: 16px; font-weight: 600; color: var(--c-text); }
.person figcaption span { font-size: 14px; color: var(--c-text-3); }

@media (max-width: 760px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; } }

/* ---------- футер ---------- */

.bottom {
  margin-top: var(--gap-4);
  padding-block: 40px;
  background: var(--c-deep);
  box-shadow: 0 -1px 0 var(--c-rule);
}

.bottom-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-2);
}

.bottom-note { font-size: 13px; line-height: 1.6; color: var(--c-text-3); text-align: right; }
.bottom-note a { font-weight: 600; color: var(--c-link); }
.bottom-note a:hover { color: var(--c-link-2); }

@media (max-width: 760px) { .bottom-note { text-align: left; } }

/* ---------- кнопка «наверх» ---------- */

.to-top {
  position: fixed;
  right: var(--side);
  bottom: var(--side);
  z-index: 40;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-box-2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45), inset 0 0 0 1px var(--c-rule-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--speed), transform var(--speed), visibility var(--speed), background-color var(--speed);
}

.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--c-accent); }

.to-top::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 16px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(45deg);
}

/* ---------- страница героя ---------- */

.person a { display: block; color: inherit; }
.person a .person-pic img { transition: transform .3s, filter .3s; }
.person a:hover .person-pic img { transform: scale(1.04); filter: brightness(.85); }
.person a:hover strong { color: var(--c-link); }

.info-card {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: var(--gap-3);
  align-items: start;
  max-width: calc(var(--text-w) + 2 * var(--side));
}

.info-pic img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .7), 0 0 0 1px var(--c-rule);
}

.info-list {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 10px var(--gap-3);
  margin: 0;
  padding: var(--gap-3);
  border-radius: var(--radius);
  background: rgba(var(--c-base-rgb), .5);
  box-shadow: inset 0 0 0 1px var(--c-rule);
  font-size: var(--fs-s);
}

.info-list dt { color: var(--c-text-3); }
.info-list dd { margin: 0; color: var(--c-text); }
.info .story { padding-top: var(--gap-4); }

.more-title {
  margin-top: var(--gap-4);
  font-family: var(--ff-head);
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1.15;
}

.people-small { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap-2); }
.people-small strong { font-size: 14px; }
.people-small figcaption span { font-size: 13px; }
.more-all { margin-top: var(--gap-3); }

@media (max-width: 760px) {
  .info-card { grid-template-columns: 1fr; }
  .info-pic { max-width: 260px; margin-inline: auto; }
  .info-list { grid-template-columns: 1fr; gap: 2px; }
  .info-list dd + dt { margin-top: 10px; }
  .people-small { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- меню сезонов: 15 номеров ---------- */

.seasons-nav-list .seasons-nav-label {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 8px 0 0;
  font-size: var(--fs-s);
  font-weight: 600;
  color: var(--c-text-3);
}

.seasons-nav-list a { min-width: 36px; justify-content: center; padding: 0 8px; }

@media (max-width: 1100px) {
  .seasons-nav.is-shown .seasons-nav-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .seasons-nav.is-shown .seasons-nav-list .seasons-nav-label { grid-column: 1 / -1; height: 28px; }
  .seasons-nav.is-shown .seasons-nav-list li:last-child:nth-child(odd) { grid-column: auto; }
}

/* ---------- о сериале и сезоне: постер, факты, трейлер ---------- */

.info-card { margin-top: var(--gap-4); }
.info-pic img { aspect-ratio: auto; }
.info-list dd { color: var(--c-text-2); }

.trailer {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--c-screen) center / cover no-repeat;
  box-shadow: var(--screen-shadow);
}

.trailer::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: var(--c-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 6.5v11l9-5.5z'/%3E%3C/svg%3E") center / 30px no-repeat;
  transition: transform var(--speed);
}

.trailer:hover::after { transform: scale(1.08); }
.trailer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.trailer.is-playing::after { display: none; }

.trailer-block { padding-top: var(--gap-4); }
.trailer-block h2 { margin-bottom: var(--gap-2); font-family: var(--ff-head); font-size: var(--fs-xl); font-weight: 700; line-height: 1.15; }

.screen-note {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: var(--gap-3);
  text-align: center;
  color: var(--c-text-2);
}

.ep-name-en { margin-top: 6px; font-size: var(--fs-s); color: var(--c-text-3); }
