/* ============================================================
   Улучшения поверх prototypes/assets/tokens.css
   Без новой визуальной системы — только то, чего не хватало.
   ============================================================ */

/* ---------- Оригинальный логотип ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-decoration: none;
}
.logo img {
  width: 36px;
  height: 36px;
  flex: none;
  display: block;
}
.logo:hover { color: var(--text); }
.logo b { color: var(--accent); font-weight: 700; }

/* ---------- Светлая тема (тёмная остаётся дефолтом) ---------- */
[data-theme="light"] {
  --bg:            #f4f6fa;
  --bg-alt:        #eef1f7;
  --surface:       #ffffff;
  --surface-2:     #f7f8fc;
  --surface-hover: #eef1f7;
  --border:        #dde3ee;
  --border-strong: #c5cedd;

  --text:           #121722;
  --text-secondary: #4a5568;
  --text-muted:     #6b7689;
  --text-inverse:   #ffffff;

  --accent:        #2f6fed;
  --accent-hover:  #1f5ad4;
  --accent-subtle: rgb(47 111 237 / 0.1);

  --sh-xs: 0 1px 2px rgb(18 23 34 / 0.06);
  --sh-sm: 0 2px 6px rgb(18 23 34 / 0.08);
  --sh-md: 0 6px 18px rgb(18 23 34 / 0.1);
  --sh-lg: 0 16px 40px rgb(18 23 34 / 0.12);
  --sh-accent: 0 4px 16px rgb(47 111 237 / 0.2);

  --focus: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}

[data-theme="light"] .header {
  background: rgb(244 246 250 / 0.9);
}
[data-theme="light"] .mobile-nav {
  background: rgb(255 255 255 / 0.96);
}
[data-theme="light"] .tabs {
  background: rgb(244 246 250 / 0.94);
}
[data-theme="light"] .hero__bg {
  background:
    radial-gradient(900px 500px at 78% 12%, rgb(47 111 237 / 0.12), transparent 65%),
    radial-gradient(700px 420px at 12% 88%, rgb(46 204 113 / 0.06), transparent 60%),
    var(--bg-alt);
}

/* ---------- Переключатель темы ---------- */
.theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }

/* ---------- Оглавления /years/ /genres/ (из темы) ---------- */
.indexpage { display: grid; gap: var(--sp-8); }
.indexpage__group { display: grid; gap: var(--sp-3); }
.indexpage__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.indexpage__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--sp-2);
}
.indexpage__list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--text);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.indexpage__list a:hover { border-color: var(--accent); color: var(--accent); }
.indexpage__count {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-variant-numeric: tabular-nums;
}
.indexpage__list a:hover .indexpage__count { color: var(--accent); }

.decade-jump {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-8);
}
.decade-jump a {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.decade-jump a:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Навбар макетов ---------- */
.mock-bar {
  position: sticky;
  bottom: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 10px var(--gutter);
  background: var(--surface);
  border-top: 1px solid var(--border);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  overflow-x: auto;
}
.mock-bar a {
  color: var(--text-secondary);
  white-space: nowrap;
  font-weight: 600;
}
.mock-bar a:hover,
.mock-bar a[aria-current] { color: var(--accent); }
.mock-bar__label {
  font-weight: 700;
  color: var(--text);
  margin-right: var(--sp-1);
  white-space: nowrap;
}

/* ---------- Каталог: вид list ---------- */
#km-results.film-grid { display: grid; }
#km-results.film-list { display: grid; }
#km-results.film-list .film-row { display: grid; }

/* ---------- Бейдж улучшения ---------- */
.proto-badge {
  position: fixed;
  top: calc(var(--header-h) + 12px);
  right: 12px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--sh-md);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  max-width: min(420px, calc(100vw - 24px));
}
.proto-badge__num {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: var(--fs-xs);
  flex: none;
}
.proto-badge a { color: var(--accent); white-space: nowrap; }
@media (max-width: 720px) { .proto-badge { display: none; } }

/* ---------- Поиск: расширяется при focus и когда есть текст ---------- */
.searchbox input:hover {
  border-color: var(--border);
}
.searchbox input:focus,
.searchbox input:focus-visible {
  border-color: var(--accent) !important;
  outline: none !important;
  box-shadow: none !important;
}
/*
 * Ширину держим и для заполненного поля: запрос не должен сворачиваться
 * обратно, когда курсор убран. Акцентная рамка — только у фокуса.
 */
.searchbox input:focus,
.searchbox input:focus-visible,
.searchbox input:not(:placeholder-shown) {
  width: 280px !important;
}

/* Тема правее поиска, бургер — последним */
.header__tools > .searchbox { order: 1; }
.header__tools > .theme-toggle { order: 2; }
.header__tools > .header__burger { order: 3; }

/* ---------- Ссылки «Все …» со SVG-шевроном ---------- */
.section-head__link {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  line-height: 1;
}
.section-head__link .link-arrow,
.more .link-arrow,
.fsection__head .link-arrow {
  flex: none;
  display: block;
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
}

/* ---------- Список фильмов: отступ у рейтинга ---------- */
.film-row {
  padding-inline-end: var(--sp-5);
}
.film-row__rating {
  padding-inline-end: var(--sp-3);
  min-width: 3.25rem;
  justify-self: end;
}

/* ---------- Компактные видео-трейлеры ---------- */
.videos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--sp-4);
}
.video-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  color: #fff;
}
.video-card__bg {
  position: absolute;
  inset: 0;
}
.video-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}
.video-card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgb(13 17 23 / 0.32);
  border: 0;
  color: #fff;
  transition: background var(--dur) var(--ease);
}
.video-card:hover .video-card__play { background: rgb(13 17 23 / 0.18); }
.video-card__play-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.94);
  color: var(--bg);
  box-shadow: var(--sh-md);
  transition: transform var(--dur) var(--ease);
}
.video-card:hover .video-card__play-btn { transform: scale(1.08); }
.video-card__label {
  position: absolute;
  left: var(--sp-3);
  bottom: var(--sp-3);
  z-index: 1;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  background: rgb(13 17 23 / 0.78);
  backdrop-filter: blur(6px);
  font-size: var(--fs-sm);
  font-weight: 500;
  max-width: calc(100% - 72px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.video-card__duration {
  position: absolute;
  right: var(--sp-3);
  bottom: var(--sp-3);
  z-index: 1;
  padding: 2px 7px;
  border-radius: var(--r-xs);
  background: rgb(13 17 23 / 0.78);
  color: var(--text-secondary);
  font-size: var(--fs-2xs);
  font-variant-numeric: tabular-nums;
}

/* ---------- Rail: маска по краям (не оверлей — иначе режет постеры) ---------- */
.rail-wrap {
  position: relative;
}
.rail-wrap::before,
.rail-wrap::after {
  content: none;
  display: none;
}

/* ---------- Карусель / rail ---------- */

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 190px;
  gap: var(--sp-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: var(--sp-2);
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  /* Точка снапа = край контента, а не край скролл-порта: иначе mandatory-снап
     сдвигает ленту на --gutter и первая карточка уходит под левую маску. */
  scroll-padding-inline: var(--gutter);
}
.rail > * { scroll-snap-align: start; }
.rail::-webkit-scrollbar { display: none; }
@media (max-width: 640px) {
  .rail { grid-auto-columns: 150px; gap: var(--sp-3); }
}

.rail-nav { display: flex; gap: var(--sp-2); }
.rail-nav button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.rail-nav button:hover { background: var(--surface-hover); color: var(--text); border-color: var(--border-strong); }
.rail-nav button[disabled] { opacity: 0.3; cursor: default; }

/* ---------- Hero drift (основной вариант главной) ---------- */
.hero--drift {
  position: relative;
  overflow: hidden;
  min-height: min(72vh, 640px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.hero--drift .hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 70% 20%, rgb(74 140 255 / 0.14), transparent 60%),
    radial-gradient(600px 400px at 15% 90%, rgb(46 204 113 / 0.06), transparent 55%),
    var(--bg-alt);
}
.hero--drift .hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgb(17 22 31 / 0.72) 38%, rgb(17 22 31 / 0.28) 68%, transparent 100%),
    linear-gradient(180deg, rgb(13 17 23 / 0.18), rgb(13 17 23 / 0.52));
  pointer-events: none;
  z-index: 1;
}
[data-theme="light"] .hero--drift .hero__scrim {
  background:
    linear-gradient(90deg, transparent 0%, rgb(238 241 247 / 0.78) 38%, rgb(238 241 247 / 0.32) 68%, transparent 100%),
    linear-gradient(180deg, rgb(244 246 250 / 0.12), rgb(244 246 250 / 0.48));
}
.hero--drift > .container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: var(--sp-16) var(--sp-12);
}
.hero--drift .hero__inner {
  max-width: 520px;
  text-align: left;
}
.hero--drift .hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 5px 12px;
  border-radius: var(--r-full);
  background: var(--accent-subtle);
  border: 1px solid rgb(74 140 255 / 0.25);
  color: var(--accent-hover);
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-bottom: var(--sp-5);
}
.hero--drift .hero__title {
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.hero--drift .hero__title em { font-style: normal; color: var(--accent); }
.hero--drift .hero__lead {
  margin-top: var(--sp-5);
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  line-height: var(--lh-loose);
}
.hero--drift .hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
}
.hero--drift .hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: var(--sp-8);
  margin-top: var(--sp-10);
}
.hero--drift .stat__value {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero--drift .stat__label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: var(--sp-2);
}

.drift {
  position: absolute;
  inset: -40px -20px;
  pointer-events: none;
  z-index: 0;
}
.drift__card {
  position: absolute;
  width: clamp(100px, 11vw, 150px);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-md);
  opacity: 0.55;
  will-change: transform;
  animation: drift-float var(--dur, 18s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
.drift__card .ph {
  aspect-ratio: 2 / 3;
  width: 100%;
  background: var(--surface-2);
}
.drift__card .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.drift__card .rating {
  position: absolute;
  top: 6px; left: 6px;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgb(46 204 113 / 0.2);
  color: var(--rating-good);
  font-size: 0.7rem;
  font-weight: 800;
  backdrop-filter: blur(4px);
}
@keyframes drift-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--rot, -6deg)); }
  50% { transform: translate3d(var(--dx, 12px), var(--dy, -28px), 0) rotate(calc(var(--rot, -6deg) + 3deg)); }
}
@media (prefers-reduced-motion: reduce) {
  .drift__card { animation: none; }
}
@media (max-width: 760px) {
  .drift__card:nth-child(n+5) { display: none; }
  .hero--drift .hero__scrim {
    background:
      linear-gradient(180deg, var(--bg-alt) 35%, rgb(17 22 31 / 0.7) 70%, rgb(17 22 31 / 0.85));
  }
  [data-theme="light"] .hero--drift .hero__scrim {
    background:
      linear-gradient(180deg, var(--bg-alt) 35%, rgb(238 241 247 / 0.75) 70%, rgb(238 241 247 / 0.92));
  }
}

/* ---------- Кастомные чекбоксы (без ::after на input) ---------- */
.facet__label input[type="checkbox"],
.facet__label input[type="radio"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0;
  border: 1.5px solid var(--border-strong);
  border-radius: 4px;
  background-color: var(--surface);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
  flex: none;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  vertical-align: middle;
}
.facet__label input[type="radio"] { border-radius: 50%; }
.facet__label input[type="checkbox"]:checked,
.facet__label input[type="radio"]:checked {
  background-color: var(--accent);
  border-color: var(--accent);
}
.facet__label input[type="checkbox"]:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.5'/%3E%3C/svg%3E");
}
.facet__label input[type="radio"]:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='3.5' fill='%23fff'/%3E%3C/svg%3E");
}
.facet__label input:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.fsection__head a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  color: var(--accent);
  font-weight: 600;
  font-size: var(--fs-md);
}
.cast-more { display: none; }
.cast-more.is-open { display: grid; }
.cast-more__btn {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  font: inherit;
  font-size: var(--fs-md);
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  cursor: pointer;
}
.cast-more__btn:hover { color: var(--text); border-color: var(--border-strong); }

/* ---------- Hero banner (двухчастный, как kinomod.ru) ---------- */
.banner-slider {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.banner-slider__track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.banner-wrap {
  flex: 0 0 100%;
  display: flex;
  align-items: stretch;
  min-height: 420px;
  height: clamp(360px, 48vw, 500px);
  border-radius: 12px;
  overflow: hidden;
  background: #211813;
  box-shadow: 0 5px 10px rgb(0 0 0 / 0.3);
}
.banner-wrap__left {
  flex: 0 0 45%;
  max-width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 28px 56px 48px;
  position: relative;
  z-index: 2;
  text-align: left;
}
.banner-wrap__title {
  margin: 0;
  font-size: clamp(1.75rem, 3.6vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}
.banner-wrap__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.banner-wrap__tag {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid rgb(221 221 221 / 0.55);
  border-radius: 4px;
  color: #ddd;
  font-size: var(--fs-sm);
  line-height: 1.4;
}
.banner-wrap__lead {
  margin: 16px 0 0;
  max-width: 36ch;
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  line-height: 1.55;
  color: rgb(255 255 255 / 0.88);
}
.banner-wrap__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  min-width: 200px;
  padding: 0 22px;
  height: 44px;
  border-radius: 4px;
  background: #132977;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  align-self: flex-start;
}
.banner-wrap__cta:hover { background: #1a3699; color: #fff; }
.banner-wrap__right {
  flex: 0 0 55%;
  max-width: 55%;
  position: relative;
  background: #1a1512 center / cover no-repeat;
}
.banner-wrap__right::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 55%;
  background: linear-gradient(to right, #211813 0%, rgb(33 24 19 / 0.7) 40%, transparent 100%);
  pointer-events: none;
}
.banner-slider__dots {
  position: absolute;
  left: 0; right: 0;
  bottom: 14px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}
.banner-slider__dot {
  pointer-events: auto;
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.55);
  cursor: pointer;
}
.banner-slider__dot.is-active { background: #132977; }
.banner-slider__nav {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.banner-slider__btn {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.18);
  background: rgb(0 0 0 / 0.4);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.banner-slider__btn:hover { background: rgb(0 0 0 / 0.6); }
.banner-slider__btn--prev { left: 12px; }
.banner-slider__btn--next { right: 12px; }
@media (max-width: 860px) {
  .banner-wrap {
    flex-direction: column-reverse;
    height: auto;
    min-height: 0;
  }
  .banner-wrap__left,
  .banner-wrap__right {
    flex: none;
    max-width: none;
    width: 100%;
  }
  .banner-wrap__right {
    aspect-ratio: 16 / 9;
    min-height: 200px;
  }
  .banner-wrap__right::after {
    inset: auto 0 0 0;
    width: 100%;
    height: 55%;
    background: linear-gradient(to top, #211813, transparent);
  }
  .banner-wrap__left { padding: 24px 22px 52px; }
  .banner-wrap__title { font-size: clamp(1.5rem, 7vw, 2rem); }
  .banner-slider__btn { display: none; }
}

/* ---------- Hero float posters: реальные изображения ---------- */
.hero-float__card img,
.hero-river__card img,
.drift__card img,
.river__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Постеры с реальными jpg ---------- */
.poster {
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
  padding: 0;
}
.poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.film-poster__img .poster,
.mc__poster .poster,
.pc__photo .poster {
  width: 100%;
  height: 100%;
}

/* ---------- 09-modern: премьеры в два столбца ---------- */
.split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--sp-10);
  align-items: start;
}
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
}

.premiere-modern {
  display: grid;
  gap: 0;
}
.premiere-modern a {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: var(--sp-4);
  align-items: center;
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--border);
  color: inherit;
}
.premiere-modern a:hover .pm__title { color: var(--accent); }
.pm__poster {
  aspect-ratio: 2/3;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--surface);
}
.pm__poster .ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--c1, #243048), var(--c2, #101820));
}
.pm__title {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--text);
  transition: color var(--dur) var(--ease);
}
.pm__meta {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: 2px;
}
.pm__date {
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
}

.people-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: var(--sp-4);
}

/* ---------- 09-modern: премьеры в два столбца ---------- */
.premiere-modern--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}
@media (max-width: 640px) {
  .premiere-modern--split { grid-template-columns: 1fr; }
}
