:root {
  /* Сетки на всех страницах живут по одним размерам: карточка-история —
     от 220px, карточка-лицо или предмет — от 170px, зазор один и тот же.
     Раньше у каждого блока были свои числа (160/200/220, зазор 12–20),
     и главная выглядела собранной из четырёх разных сайтов. */
  --grid-gap: 20px;
  --card-min: 220px;
  --card-min-small: 170px;
  /* Два формата кадра вместо четырёх: горизонтальный для историй,
     квадрат для предметов и портретов. */
  --shot-story: 4 / 3;
  --shot-square: 1 / 1;
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-muted: #6b6b6b;
  --color-border: #e5e5e5;
  --color-accent: #b8860b;
  --color-accent-hover: #96690a;
  --color-gold-light: #f4e2a1;
  --color-gold-bright: #f0c419;
  --color-gold-shine: #fffbe6;
  --color-gold-deep: #7a5512;
  --color-gold-ink: #3b2a06;
  --radius: 8px;
  --font-display: 'Roboto Slab', Rockwell, 'Arial Black', Georgia, serif;
  --font-script: 'Marck Script', 'Segoe Script', cursive;
}

* { box-sizing: border-box; }

/* Атрибут hidden обязан побеждать любой display из классов ниже. У браузерного
   правила [hidden]{display:none} специфичность 0-1-0, и обычный класс вида
   .poster-now{display:inline-flex} его перебивает: строка «сейчас играет»
   висела на главной всегда, даже с пустым названием трека. */
[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-hover); }

/* Верхняя строка шапки уходит при прокрутке; липкое только меню разделов
   (.site-nav ниже) — 18.09, до этого липла вся шапка вместе с бегущей строкой. */
.site-header {
  background: #fff;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  /* Только верх/низ: шорткат padding обнулял боковые поля .container,
     и логотип стоял на 20 px левее остального содержимого (на телефоне — вплотную к краю). */
  padding-top: 10px;
  padding-bottom: 10px;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text);
  font-family: var(--font-display);
  transition: transform 0.25s ease;
}
.logo:hover { transform: translateY(-1px) scale(1.015); }
.logo-names { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.logo-name { display: inline-flex; align-items: center; gap: 4px; }
.badge-icon { width: 15px; height: 15px; color: var(--color-accent); flex-shrink: 0; }
.logo-tagline { font-size: 0.75rem; font-weight: 400; color: var(--color-muted); display: block; }
.logo-tagline-head { display: block; }

/* Девиз печатается сам. Высота строки зарезервирована заранее, чтобы шапка
   не дёргалась, пока буквы ещё не появились. Курсор — не символ, а брусок:
   не зависит от шрифта и мигает ступенькой, как в терминале, без плавности. */
.logo-motto { display: block; min-height: 1.3em; white-space: nowrap; }
.type-cursor {
  display: inline-block;
  width: 0.55em;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: var(--color-accent);
  animation: type-cursor-blink 1s steps(1, end) infinite;
}
@keyframes type-cursor-blink { 50% { opacity: 0; } }

/* Когда фраза допечатана, курсор замирает и рядом проявляется стрелка —
   вход в дневник, где девиз объяснён целиком. До конца печати её нет:
   ссылка на текст, которого ещё не видно, была бы преждевременной. */
.logo-motto.is-done .type-cursor { animation: none; }
.logo-motto-arrow {
  display: inline-block;
  margin-left: 6px;
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 700;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}
.logo-motto.is-done .logo-motto-arrow { opacity: 1; transform: none; pointer-events: auto; }
.logo-motto-arrow:hover { color: var(--color-gold-bright); }
@media (prefers-reduced-motion: reduce) {
  .type-cursor { animation: none; }
  .logo-motto-arrow { opacity: 1; transform: none; pointer-events: auto; transition: none; }
}

.hero-tagline { font-size: 1.1rem; color: var(--color-muted); margin-top: -8px; }

/* Единая центрированная навигация под верхней строкой. Липкая: меню всегда
   под рукой, а верхняя строка и бегущая строка при прокрутке уходят. Золотая
   полоска-блик, раньше подчёркивавшая всю шапку, теперь под меню — и едет с ним. */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-top: 1px solid var(--color-border);
  background: rgba(255, 250, 240, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.site-nav::after {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold-deep) 0%, var(--color-accent) 20%, var(--color-gold-bright) 40%, var(--color-gold-shine) 50%, var(--color-gold-bright) 60%, var(--color-accent) 80%, var(--color-gold-deep) 100%);
  background-size: 250% auto;
  animation: gold-shine 6s linear infinite;
}
.nav-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
  padding-top: 7px;
  padding-bottom: 7px;
}
.nav-inner a {
  position: relative;
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding-bottom: 4px;
}
.nav-inner a::after {
  content: '';
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-gold-bright));
  transition: left 0.22s ease, right 0.22s ease;
}
.nav-inner a:hover::after { left: 0; right: 0; }
/* ─── Неон-пилюля (фирменный компонент LEVKEISER) ───
   Трубка — только Акация, табличка — только Смола.
   Один «включённый» элемент на поверхность: не ставить два неона рядом. */
.neon-pill {
  display: inline-block;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #CFF7A8;
  background: #17130D;
  border: 1px solid rgba(143, 198, 92, 0.5);
  border-radius: 999px;
  padding: 8px 20px;
  text-shadow:
    0 0 4px rgba(143, 198, 92, 0.9),
    0 0 10px rgba(111, 168, 60, 0.75),
    0 0 20px rgba(111, 168, 60, 0.45);
  box-shadow:
    0 0 8px rgba(111, 168, 60, 0.28),
    inset 0 0 10px rgba(111, 168, 60, 0.22);
  transition: color 0.25s ease, text-shadow 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.neon-pill:hover,
.neon-pill.active {
  color: #F2FFE4;
  border-color: rgba(159, 214, 108, 0.85);
  text-shadow:
    0 0 5px #CFF7A8,
    0 0 12px rgba(143, 198, 92, 0.95),
    0 0 26px rgba(111, 168, 60, 0.7),
    0 0 44px rgba(111, 168, 60, 0.4);
  box-shadow:
    0 0 16px rgba(111, 168, 60, 0.45),
    inset 0 0 14px rgba(111, 168, 60, 0.3);
}
/* золотая вывеска — вторичный вариант, по особому случаю (Закат) */
.neon-pill--gold {
  color: #FFEFC6;
  border-color: rgba(217, 154, 43, 0.55);
  text-shadow:
    0 0 4px rgba(217, 154, 43, 0.9),
    0 0 10px rgba(180, 96, 28, 0.7),
    0 0 20px rgba(180, 96, 28, 0.4);
  box-shadow:
    0 0 8px rgba(217, 154, 43, 0.28),
    inset 0 0 10px rgba(217, 154, 43, 0.2);
}
.neon-pill--gold:hover {
  color: #FFF8E7;
  border-color: rgba(240, 196, 25, 0.9);
  text-shadow:
    0 0 5px #FFEFC6,
    0 0 12px rgba(217, 154, 43, 0.95),
    0 0 26px rgba(180, 96, 28, 0.65);
  box-shadow:
    0 0 16px rgba(217, 154, 43, 0.45),
    inset 0 0 14px rgba(217, 154, 43, 0.28);
}
@media (prefers-reduced-motion: reduce) {
  .neon-pill { transition: none; }
}

/* DJ Levka — неоновая вывеска в навигации (частный случай .neon-pill) */
.nav-inner a.nav-music-link {
  position: relative;
  color: #CFF7A8;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.86rem;
  padding: 5px 12px;
  border-radius: 999px;
  background: #17130D;
  border: 1px solid rgba(143, 198, 92, 0.5);
  text-shadow:
    0 0 4px rgba(143, 198, 92, 0.9),
    0 0 10px rgba(111, 168, 60, 0.75),
    0 0 20px rgba(111, 168, 60, 0.45);
  box-shadow:
    0 0 8px rgba(111, 168, 60, 0.28),
    inset 0 0 10px rgba(111, 168, 60, 0.22);
  transition: color 0.25s ease, text-shadow 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
/* при наведении и на своей странице неон «разгорается» */
.nav-inner a.nav-music-link:hover,
.nav-inner a.nav-music-link.active {
  color: #F2FFE4;
  border-color: rgba(159, 214, 108, 0.85);
  text-shadow:
    0 0 5px #CFF7A8,
    0 0 12px rgba(143, 198, 92, 0.95),
    0 0 26px rgba(111, 168, 60, 0.7),
    0 0 44px rgba(111, 168, 60, 0.4);
  box-shadow:
    0 0 16px rgba(111, 168, 60, 0.45),
    inset 0 0 14px rgba(111, 168, 60, 0.3);
}
/* общая подчёркивающая полоска ссылок этой не нужна — свечение само по себе акцент */
.nav-inner a.nav-music-link::after { display: none; }
@media (prefers-reduced-motion: reduce) {
  .nav-inner a.nav-music-link { transition: none; }
}
.nav-divider {
  width: 1px;
  height: 16px;
  background: var(--color-border);
}

/* Кластер интернет-магазина — визуально отделён от остальной навигации */
.shop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #fdf6e0;
  border: 1px solid #e6cf8a;
  border-radius: 999px;
  padding: 5px;
}
/* Внутри плашки две группы: ссылки магазина и инструменты (звук, язык, корзина,
   кнопка меню). На широком экране они неотличимы от одного ряда; на узком
   плашка распадается на две строки — см. медиазапросы ниже. */
.shop-links, .header-tools { display: flex; align-items: center; gap: 4px; }
/* .lang-switch ниже задаёт display: flex — без второго селектора он бы победил. */
.nav-mobile-only, .lang-switch.nav-mobile-only { display: none; }
.shop-link {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.shop-link:hover {
  background: #fff;
  color: var(--color-accent);
}
/* «Обо мне» стоит в той же плашке, но это не магазин — отделяем чертой
   и делаем спокойнее, чтобы не читалось как ещё один торговый раздел. */
.shop-nav-divider { width: 1px; height: 18px; background: #e6cf8a; margin: 0 2px; }
.shop-link-about { color: var(--color-muted); font-weight: 500; }
.shop-link-about:hover { color: var(--color-accent); }
.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(180deg, var(--color-gold-shine) 0%, var(--color-gold-bright) 45%, var(--color-accent) 100%);
  color: var(--color-gold-ink);
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -2px 3px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(184, 134, 11, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cart-btn:hover {
  color: var(--color-gold-ink);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -2px 3px rgba(0, 0, 0, 0.15), 0 4px 10px rgba(184, 134, 11, 0.45);
}
.cart-icon { width: 17px; height: 17px; flex-shrink: 0; }
.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 800;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 38px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  margin: 0 8px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* До 1100 px логотип и плашка ещё в одной строке, но впритык — ужимаем плашку. */
@media (max-width: 1100px) {
  .header-top { gap: 12px; }
  .shop-link { padding: 7px 10px; font-size: 0.84rem; }
  .cart-btn { padding: 7px 13px 7px 10px; font-size: 0.88rem; }
}

/* До 1010 px плашка целиком рядом с логотипом уже не помещается и падала под
   него одним куском, влево, с пустотой справа (18.09: так было при 860–1010,
   то есть в окне на пол-экрана). Теперь она распадается (display: contents):
   инструменты — звук, язык, корзина — остаются в первой строке справа от
   логотипа, ссылки магазина уходят второй строкой в свою плашку по центру.
   Меню разделов при этом ещё видно целиком — за кнопку оно прячется с 860. */
@media (max-width: 1010px) {
  .header-top { justify-content: space-between; gap: 10px 12px; }
  .shop-nav { display: contents; }
  .header-tools { order: 1; margin-left: auto; }
  /* Плашка по ширине ссылок и по центру: рядом с логотипом и инструментами она
     не помещается, поэтому переносится на свою строку сама. */
  .shop-links {
    order: 2; flex: 0 0 auto; margin: 0 auto; justify-content: center; flex-wrap: wrap;
    background: #fdf6e0; border: 1px solid #e6cf8a; border-radius: 999px; padding: 4px;
  }
}

/* Узкий экран: меню разделов прячется за кнопку. Раньше кнопка меню сидела
   внутри плашки и на телефоне занимала отдельную строку. */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  /* Меню за кнопкой в верхней строке, липнуть нечему — иначе у верха экрана
     висела бы одна золотая полоска. */
  .site-nav { overflow: hidden; position: static; }
  .nav-inner {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .nav-inner.open { display: flex; }
  .nav-inner a { padding: 8px 4px; width: 100%; }
  .nav-divider { display: none; }
}

/* До 640 px логотип и инструменты не умещались в одну строку — инструменты
   падали на вторую, плашка магазина на третью, шапка росла до 217 px (18.09).
   Корзина остаётся значком со счётчиком, RU/EN уходит в меню — и первая
   строка снова общая. */
@media (max-width: 640px) {
  .cart-btn { padding: 7px 10px; gap: 5px; }
  .header-tools .lang-switch, .cart-label { display: none; }
  .nav-inner .lang-switch.nav-mobile-only { display: flex; gap: 6px; padding: 6px 4px; }
  .nav-inner .lang-switch a { width: auto; padding: 4px 9px; font-size: 0.8rem; font-family: inherit; }
  .nav-inner .lang-switch a::after { display: none; }
}

/* Телефон: три строки. 1 — имена и кнопка меню; 2 — слоган с девизом на всю
   ширину (внутри логотипа он делал блок шире половины экрана, и рядом ничего
   не помещалось); 3 — плашка магазина, звук и корзина. Корзина стоит в ряду
   магазина, а не в первой строке: с именами и кнопкой меню она на 360 px не
   умещалась, и кнопка меню съезжала на отдельную строку (18.09). «Обо мне»
   уходит в меню. Логотип и инструменты раскрыты через display: contents,
   чтобы их части раскладывались по строкам независимо. */
@media (max-width: 480px) {
  .header-top { gap: 6px; padding-top: 10px; padding-bottom: 10px; }
  .logo, .header-tools { display: contents; }
  .logo-names { order: 0; gap: 10px; font-size: 1.15rem; }
  .nav-toggle { order: 1; margin-left: auto; }
  .logo-tagline { order: 2; flex-basis: 100%; }
  .shop-links { order: 3; margin: 0; padding: 3px; }
  .shop-links .shop-link { padding: 6px 7px; font-size: 0.8rem; }
  .bg-audio-widget { order: 4; margin-left: auto; }
  /* На 360 px плашке, звуку и корзине хватает места впритык — поля у́же. */
  .cart-btn { order: 5; padding: 7px 8px; }
  .shop-link-about, .shop-nav-divider { display: none; }
  .nav-mobile-only { display: block; }
}

h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.01em; }

main.container { padding-top: 32px; padding-bottom: 44px; min-height: 60vh; }

.hero {
  padding: 48px 0;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 32px;
}

/* Заголовок страницы — золотая проволочная вязь, как на постере фильма "Michael":
   свет ложится поперёк каждой буквы (тёмный край / яркий центр / тёмный край по вертикали),
   плюс отдельный бегущий блик поверх — как отражение на круглом металле. */
.hero h1 {
  font-family: var(--font-script);
  font-size: 5rem;
  font-weight: 400;
  letter-spacing: 0;
  margin: 0 0 4px;
  line-height: 1.15;
  color: var(--color-gold-bright);
  filter:
    url(#gold-emboss)
    drop-shadow(0 3px 4px rgba(90, 60, 10, 0.45));
}
@media (max-width: 480px) {
  .hero h1 { font-size: 3rem; }
}
@keyframes gold-shine {
  to { background-position: -250% center; }
}

.logo-name {
  font-family: var(--font-display);
  color: var(--color-text);
}

.btn {
  display: inline-block;
  background: linear-gradient(180deg, var(--color-gold-shine) 0%, var(--color-gold-bright) 45%, var(--color-accent) 100%);
  color: var(--color-gold-ink);
  padding: 10px 20px;
  border-radius: var(--radius);
  border: 1px solid #a67c0a;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -2px 3px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(184, 134, 11, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover {
  color: var(--color-gold-ink);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -2px 3px rgba(0, 0, 0, 0.15), 0 4px 10px rgba(184, 134, 11, 0.4);
}

/* Две дороги из героя: музыка — золотом, магазин — обводкой.
   Обе кнопки одного размера, чтобы ни одна не выглядела второстепенной
   по случайности; разница только в весе заливки. */
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-accent);
  box-shadow: none;
}
.btn-ghost:hover {
  color: var(--color-text);
  background: rgba(184, 134, 11, 0.08);
  box-shadow: 0 2px 8px rgba(184, 134, 11, 0.2);
}

/* «Поделиться» — не панель, требующая внимания, а тихая строка под
   содержимым. Знаки те же, что в подвале, поэтому ряд узнаётся. */
/* Блок «Канал» после дочитанного текста: одна кнопка на площадку. */
.channel-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px;
  margin: 28px 0 18px; padding: 16px 18px;
  border: 1px solid var(--color-border); border-left: 4px solid var(--color-accent); border-radius: var(--radius);
  background: var(--color-gold-shine);
}
.channel-cta-text { display: flex; flex-direction: column; gap: 4px; max-width: 52ch; }
.channel-cta-text strong { font-family: var(--font-display); font-size: 1.05rem; }
.channel-cta-text span { color: var(--color-muted); font-size: 0.92rem; line-height: 1.4; }
.channel-cta-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.channel-cta-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  background: var(--color-accent); color: #fff; font-weight: 600; font-size: 0.92rem; text-decoration: none;
}
.channel-cta-btn:hover { background: var(--color-accent-hover); color: #fff; }
.channel-cta-btn--vk { background: #0077ff; }
.channel-cta-btn--vk:hover { background: #0062d1; }
.channel-cta-btn--x { background: #1a1a1a; }
.channel-cta-btn--x:hover { background: #000; }
.channel-cta-btn--fb { background: #1877f2; }
.channel-cta-btn--fb:hover { background: #145dbf; }
.channel-cta-btn svg { width: 16px; height: 16px; }

.share {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 28px 0 8px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}
.share-label { font-size: 0.85rem; color: var(--color-muted); }
.share-buttons { display: flex; gap: 6px; flex-wrap: wrap; }
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.share-btn svg { width: 17px; height: 17px; }
.share-btn:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-1px);
}
.share-done { font-size: 0.8rem; color: var(--color-accent); }
@media (prefers-reduced-motion: reduce) {
  .share-btn:hover { transform: none; }
}

/* Форма обращения. Поля в столбец во всю ширину колонки: заполняют её
   с телефона чаще, чем с компьютера. */
.contact-intro { max-width: 62ch; color: var(--color-muted); }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
  margin: 24px 0 28px;
}
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.92rem; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  font: inherit;
  padding: 9px 11px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-text);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}
.contact-form .checkbox-row {
  flex-direction: row;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.86rem;
  color: var(--color-muted);
}
.contact-form .checkbox-row input { width: auto; margin-top: 3px; }
.contact-form .btn { align-self: flex-start; }
.req { color: var(--color-accent); }
/* Ловушка для ботов: не display:none — часть из них такие поля пропускает. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-sent { max-width: 62ch; }
.contact-alt { max-width: 62ch; font-size: 0.9rem; color: var(--color-muted); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--card-min-small), 1fr));
  gap: var(--grid-gap);
}

.product-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 12px;
  color: var(--color-text);
  display: block;
}
.product-card:hover { color: var(--color-text); }

.product-image img, .no-image {
  width: 100%;
  aspect-ratio: var(--shot-square);
  object-fit: cover;
  border-radius: var(--radius);
  background: #f2f2f2;
}
.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
}

.product-name { margin-top: 8px; font-weight: 600; }
/* Цена — тёмным золотом той же палитры: светлое золото на белом давало контраст 3,25 при норме 4,5 (04.10.2026) */
.product-price { color: var(--color-accent-hover, var(--color-accent)); font-weight: 700; margin-top: 4px; }
/* Три двери на главной (04.10.2026): Вещи · Брендам · Коллегам (+ конкурс, пока идёт приём) */
.home-doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px auto 8px; }
.home-door { display: block; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 14px 16px; color: var(--color-text); }
.home-door:hover { border-color: var(--color-accent); color: var(--color-text); }
.home-door strong { display: block; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 4px; }
.home-door span { display: block; font-size: 0.9rem; color: var(--color-muted); line-height: 1.4; }
.home-door--contest { grid-column: 1 / -1; border-color: var(--color-accent); background: rgba(217, 154, 43, 0.08); }
.home-door--contest span { color: var(--color-text); }
@media (max-width: 640px) {
  .home-doors { grid-template-columns: 1fr; gap: 8px; margin-top: 16px; }
  .home-door { padding: 10px 14px; }
}
/* Лист ожидания на карточке (04.10.2026) */
.waitlist { margin-top: 16px; max-width: 460px; }
.waitlist-lead { font-size: 0.92rem; color: var(--color-muted); margin: 0 0 8px; }
.waitlist-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.waitlist-form input[type=email] { flex: 1 1 200px; margin: 0; }
.waitlist-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 0.82rem; color: var(--color-muted); flex-basis: 100%; }
.waitlist-consent input { width: auto; margin-top: 3px; }
.waitlist-ok { color: var(--color-text); font-size: 0.95rem; }
.waitlist-count { margin: 6px 0 0; }
/* Полки каталога (04.10.2026) */
.catalog-shelf { font-size: 1.15rem; margin: 28px 0 12px; }
.catalog-main > .catalog-shelf:first-child { margin-top: 0; }
@media (max-width: 640px) {
  /* На телефоне — две колонки: раньше вещи с ценой начинались на ~5-м экране */
  .catalog-main .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .catalog-main .product-card { padding: 8px; }
  .catalog-main .product-name { font-size: 0.9rem; line-height: 1.3; }
  /* Категории — строкой, а не столбиком над товарами */
  .catalog-layout .category-filter { width: 100%; }
  .catalog-layout .category-filter h3 { display: none; }
  .catalog-layout .category-filter ul { display: flex; flex-wrap: wrap; gap: 6px 14px; }
  .catalog-layout .category-filter li { margin: 0; }
}

.catalog-layout { display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap; }
.category-filter { min-width: 180px; }
.category-filter ul { list-style: none; padding: 0; margin: 0; }
.category-filter li { margin-bottom: 8px; }
.category-filter a.active { font-weight: 700; color: var(--color-accent); }
.catalog-main { flex: 1; min-width: 260px; }

.product-detail { display: flex; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.product-detail-image { flex: 1.35; min-width: 280px; }
.product-detail-image img, .product-detail-image .no-image {
  width: 100%; border-radius: var(--radius);
}
.product-detail-info { flex: 1; min-width: 280px; }
.out-of-stock { color: #b91c1c; font-weight: 600; }
/* Не тревожный красный, как у отсутствия товара: под заказ — это норма,
   а не проблема. Тон спокойный, вес обычный. */
.product-made-to-order { color: var(--color-muted); font-weight: 600; }
.product-links { list-style: none; margin: 12px 0 0; padding: 0; color: var(--color-muted); }
.product-links li { margin-bottom: 4px; }
.product-links a { color: inherit; text-decoration: underline; }
/* Описание — под фото на всю ширину, а не в узкой колонке рядом с ним. */
.product-body { margin: 30px 0 0; }
.product-body .product-description { margin: 0 0 14px; line-height: 1.7; }
.product-body .product-description:first-child { margin-top: 0; }
.product-body .product-includes { margin: 18px 0 12px; }
.product-body .product-links { margin: 18px 0 0; }

/* Цифровые товары: DJ-версии, стемы, пресеты */
.product-digital-note {
  color: var(--color-muted);
  font-size: 0.9rem;
  border-left: 3px solid var(--color-accent);
  padding-left: 12px;
  margin-bottom: 16px;
}

.download-list { margin: 20px 0; }
.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 10px;
}
.download-item--current { border-color: var(--color-accent); }
.download-item__name { font-weight: 600; }
.download-note { color: var(--color-muted); font-size: 0.9rem; }

/* Кнопка «наверх» — внизу слева (26.09.2026, просьба Веры; раньше была справа). */
.to-top {
  position: fixed;
  left: calc(18px + env(safe-area-inset-left, 0px));
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--color-accent, #B4601C);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 60;
}
.to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--color-gold-bright, #D99A2B); }

/* Подсветка текущего раздела в навигации */
.nav-inner a.active { color: var(--color-accent, #B4601C); font-weight: 700; }
.nav-inner a.active::after { left: 0; right: 0; }
.nav-inner a.nav-music-link.active { font-weight: 800; }
.shop-link.active {
  color: var(--color-accent, #B4601C);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Киноплёнка: горизонтальная лента, перфорация, маркировка кадров, лёгкое «старение» */
.filmstrip {
  background: #211A12;
  border-radius: 10px;
  overflow-x: auto;
  margin: 18px 0;
  scrollbar-width: thin;
  scrollbar-color: #B4601C #211A12;
  box-shadow: inset 0 0 26px rgba(0, 0, 0, 0.55);
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.filmstrip .film-cell { scroll-snap-align: start; scroll-margin-left: 18px; }
.filmstrip-track {
  display: inline-flex;
  gap: 16px;
  padding: 40px 18px;
  min-width: 100%;
  background-image:
    /* перфорация — скруглённые окошки */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='34' height='12'><rect x='11' y='1' width='13' height='10' rx='3' fill='%23EDE5D3'/><rect x='11' y='1' width='13' height='10' rx='3' fill='none' stroke='%23120d08' stroke-opacity='0.35'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='34' height='12'><rect x='11' y='1' width='13' height='10' rx='3' fill='%23EDE5D3'/><rect x='11' y='1' width='13' height='10' rx='3' fill='none' stroke='%23120d08' stroke-opacity='0.35'/></svg>"),
    /* редкие вертикальные царапины */
    repeating-linear-gradient(90deg,
      transparent 0 83px, rgba(247, 243, 234, 0.05) 83px 84px,
      transparent 84px 197px, rgba(0, 0, 0, 0.28) 197px 198px,
      transparent 198px 331px, rgba(247, 243, 234, 0.035) 331px 332px,
      transparent 332px 470px),
    /* плёночное зерно */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.93 0 0 0 0 0.86 0 0 0 0 0.70 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 34px 12px, 34px 12px, auto, 140px 140px;
  background-position: left 6px top 7px, left 6px bottom 7px, 0 0, 0 0;
  background-repeat: repeat-x, repeat-x, repeat, repeat;
}
/* ячейка кадра с краевой маркировкой */
.film-cell { position: relative; flex: 0 0 auto; }
.film-cell::before,
.film-cell::after {
  position: absolute;
  font-family: 'Courier New', monospace;
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #D99A2B;
  opacity: 0.85;
  white-space: nowrap;
  pointer-events: none;
}
.film-cell::before { content: attr(data-code); top: -19px; left: 2px; }
.film-cell::after { content: attr(data-num); bottom: -19px; right: 2px; }

.filmstrip .gallery-item {
  margin: 0;
  height: 160px;
  border-radius: 4px;
  break-inside: auto;
  box-shadow: inset 0 0 0 1px rgba(247, 243, 234, 0.08);
}
.filmstrip .gallery-item img,
.filmstrip .gallery-item video {
  height: 100%;
  width: auto;
  max-width: 300px;
  object-fit: cover;
  display: block;
}
/* «состаривание»: тёплая сепия, кадр оживает при наведении */
.filmstrip .gallery-item img,
.filmstrip .gallery-item video,
.filmstrip--timeline .news-frame img {
  filter: sepia(0.32) saturate(0.8) contrast(1.06) brightness(0.96);
  transition: filter 0.35s ease;
}
.filmstrip .gallery-item:hover img,
.filmstrip .gallery-item:hover video,
.filmstrip--timeline .news-frame:hover img { filter: none; }

.filmstrip .gallery-item .gallery-embed-frame,
.filmstrip .gallery-item.is-embed { width: 280px; height: 160px; }
.filmstrip .gallery-item .gallery-embed-frame iframe { width: 100%; height: 100%; }
.filmstrip .gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 4px 8px; font-size: 0.75rem;
  background: rgba(33, 26, 18, 0.75); color: #F7F3EA;
}

/* Лента времени новостей на странице новости */
.filmstrip--timeline .news-frame {
  width: 150px;
  border-radius: 4px;
  overflow: hidden;
  background: #2c241a;
  color: #F7F3EA;
  display: block;
  box-shadow: inset 0 0 0 1px rgba(247, 243, 234, 0.08);
}
.filmstrip--timeline .news-frame img,
.filmstrip--timeline .news-frame .no-image {
  width: 100%; height: 92px; object-fit: cover; display: block;
  background: #3a2f22; color: #8a7a63; font-size: 0.75rem;
  text-align: center; line-height: 92px;
}
.filmstrip--timeline .news-frame-caption { padding: 6px 8px; }
.filmstrip--timeline .news-frame-date { font-size: 0.7rem; color: #C9A06A; }
.filmstrip--timeline .news-frame-title {
  font-size: 0.78rem; line-height: 1.25; margin-top: 2px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.filmstrip--timeline .film-cell.current .news-frame {
  outline: 2px solid #D99A2B;
  outline-offset: 2px;
}
.filmstrip--timeline .film-cell.current::after { color: #F7F3EA; opacity: 1; }
.filmstrip--timeline .news-frame:hover { background: #3a2f22; color: #fff; }

/* Плёнка со всей музыкой на страницах релиза и трека. Кадры квадратные —
   обложки квадратные, и резать их под новостной формат было бы жалко. */
.music-strip-section { margin-top: 28px; }
.music-strip-hint { font-size: 0.8rem; font-weight: 400; color: var(--color-muted); letter-spacing: 0.04em; }
.filmstrip--timeline .disc-frame {
  width: 150px; border-radius: 4px; overflow: hidden; display: block;
  background: #2c241a; color: #F7F3EA;
  box-shadow: inset 0 0 0 1px rgba(247, 243, 234, 0.08);
}
.filmstrip--timeline .disc-frame img,
.filmstrip--timeline .disc-frame .no-image {
  width: 150px; height: 150px; object-fit: cover; display: block;
  background: #3a2f22; color: #8a7a63; font-size: 0.75rem; text-align: center; line-height: 150px;
  filter: sepia(0.32) saturate(0.8) contrast(1.06) brightness(0.96);
  transition: filter 0.35s ease;
}
.filmstrip--timeline .disc-frame:hover img { filter: none; }
.filmstrip--timeline .disc-frame-caption { padding: 6px 8px; }
.filmstrip--timeline .disc-frame-type { font-size: 0.7rem; color: #C9A06A; text-transform: uppercase; letter-spacing: 0.06em; }
.filmstrip--timeline .disc-frame-title {
  font-size: 0.8rem; line-height: 1.25; margin-top: 2px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.filmstrip--timeline .film-cell.current .disc-frame { outline: 2px solid #D99A2B; outline-offset: 2px; }
.filmstrip--timeline .film-cell.current .disc-frame img { filter: none; }
.filmstrip--timeline .disc-frame:hover { background: #3a2f22; color: #fff; }

/* Masonry-галерея: разная высота карточек, лайтбокс по клику — public/js/lightbox.js */
.gallery-grid {
  column-count: 3;
  column-gap: 18px;
}
@media (max-width: 900px) { .gallery-grid { column-count: 2; } }
@media (max-width: 560px) { .gallery-grid { column-count: 1; } }

.gallery-item {
  position: relative;
  display: block;
  break-inside: avoid;
  margin-bottom: 18px;
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  background: #000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.gallery-item:hover {
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
}

.gallery-item img, .gallery-item video {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}
.gallery-item:hover img, .gallery-item:hover video { transform: scale(1.045); }

.gallery-item.is-video::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") no-repeat center / 22px;
  pointer-events: none;
  transition: transform 0.25s ease, background-color 0.25s ease;
}
.gallery-item.is-video:hover::after { transform: translate(-50%, -50%) scale(1.12); background-color: rgba(0, 0, 0, 0.6); }

.gallery-item.is-embed { cursor: default; }
.gallery-item.is-embed:hover { transform: none; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }
/* Плеер клипа или плейлиста на странице трека и релиза.
   Горизонтальный — 16:9 во всю колонку текста; вертикальный — 9:16, узкий
   столбик по высоте экрана телефона, чтобы вертикалка не растягивалась во всю ширину. */
.video-embed {
  position: relative; width: 100%; max-width: 760px; aspect-ratio: 16 / 9;
  background: #211A12; border-radius: 10px; overflow: hidden;
  box-shadow: inset 0 0 26px rgba(0, 0, 0, 0.55);
}
.video-embed.is-portrait { max-width: 360px; aspect-ratio: 9 / 16; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gallery-embed-frame { position: relative; width: 100%; padding-top: 56.25%; }
.gallery-embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 14px 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: #fff;
  font-size: 0.88rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }

/* Лайтбокс */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.open { display: flex; }
.lightbox-content { max-width: 90vw; max-height: 88vh; }
.lightbox-content img, .lightbox-content video {
  display: block;
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 8px;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox-prev, .lightbox-next { width: 38px; height: 38px; font-size: 1.3rem; }
}

.prose { white-space: pre-wrap; margin-bottom: 28px; line-height: 1.7; }

.news-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--card-min), 1fr));
  gap: var(--grid-gap);
}
.news-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 12px;
  color: var(--color-text);
  display: block;
}
.news-card:hover { color: var(--color-text); }
.news-card-image img, .news-card-image .no-image {
  width: 100%;
  aspect-ratio: var(--shot-story);
  object-fit: cover;
  border-radius: var(--radius);
  background: #f2f2f2;
}
.news-date { color: var(--color-muted); font-size: 0.85rem; margin-top: 8px; }
.news-title { font-weight: 600; margin-top: 4px; }

.news-view-toggle { display: flex; gap: 8px; margin-bottom: 16px; }
.news-view-toggle button {
  padding: 6px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
}
.news-view-toggle button.active {
  border-color: var(--color-accent);
  color: var(--color-text);
  font-weight: 600;
}
.news-list--rows { display: block; }
.news-list--rows .news-card {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 10px;
}
.news-list--rows .news-card-image { flex: 0 0 120px; width: 120px; }
.news-list--rows .news-card-image img,
.news-list--rows .news-card-image .no-image { aspect-ratio: 16 / 10; }
.news-list--rows .news-date { margin-top: 0; }

.diary-excerpt { color: var(--color-muted); font-size: 0.88rem; margin-top: 4px; font-weight: 400; }
.diary-dzen-note {
  margin-top: 28px;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius);
  background: #fffaf0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px; border-bottom: 1px solid var(--color-border); }

.cart-table img { width: 60px; height: 60px; object-fit: cover; border-radius: 4px; }
/* Корзина на телефоне — карточками (04.10.2026): таблица была 452 px на экране 375, «Удалить» уезжала за край */
@media (max-width: 640px) {
  .cart-table, .cart-table tbody { display: block; width: 100%; }
  .cart-table thead { display: none; }
  .cart-table tr { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--color-border); }
  .cart-table td { display: block; padding: 0; border: 0; }
  .cart-table td:first-child { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; }
  .cart-table td:nth-child(2) { display: none; }
  .cart-table td:nth-child(4) { text-align: right; font-weight: 600; }
  .cart-table td:last-child .btn { padding: 6px 12px; font-size: 0.85rem; }
}

form.inline { display: inline; }

.flash { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 20px; }
.flash-error { background: #fee2e2; color: #991b1b; }
.flash-success { background: #dcfce7; color: #166534; }

/* Подвал ужат 18.09: отступы меньше, разделы в две колонки, документы и
   реквизиты — одной полосой без второй линии. Колонка разделов — по ширине
   списка (max-content), иначе справа от него оставался пустой хвост и просвет
   до подписки выходил втрое шире остальных; поиск и форма подписки тянутся
   на всю свою колонку, чтобы просветы между столбцами были одинаковыми. */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 28px 0 24px;
  margin-top: 24px;
  color: var(--color-muted);
  background: #fffaf0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr max-content 1.4fr 1fr;
  gap: 20px 24px;
}
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
.footer-inner h4 {
  margin: 0 0 6px;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 0.92rem;
}
.footer-brand p { margin: 3px 0; font-size: 0.88rem; }
.footer-alt {
  display: block; margin: 2px 0 6px;
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--color-accent);
}
.footer-contacts { line-height: 1.6; }
.footer-contacts a { color: var(--color-text); }
.footer-mediakit { display: inline-block; margin-top: 6px; font-size: 0.86rem; font-weight: 600; }

.footer-nav-cols { display: grid; grid-template-columns: max-content max-content; gap: 0 20px; }
.footer-nav-cols > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.footer-nav a { color: var(--color-muted); font-size: 0.86rem; white-space: nowrap; }
.footer-nav a:hover { color: var(--color-accent); }

.footer-bottom {
  grid-column: 1 / -1;
  margin-top: -8px;
  display: flex; flex-wrap: wrap; gap: 4px 18px;
  font-size: 0.76rem; color: var(--color-muted);
}

/* Ссылка «К содержанию» — видна только при переходе с клавиатуры */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--color-accent); color: #fff;
  padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

.footer-subscribe p { margin: 0 0 8px; font-size: 0.86rem; }
.subscribe-form { display: flex; gap: 6px; flex-wrap: wrap; }
.subscribe-form input[type="email"] { flex: 1; min-width: 140px; width: auto; padding: 7px 10px; font-size: 0.9rem; }
.subscribe-form .btn { padding: 7px 14px; white-space: nowrap; }
.subscribe-form label { line-height: 1.35; }
.footer-subscribe .flash { padding: 8px 12px; font-size: 0.85rem; margin-bottom: 10px; }

.footer-social-groups { display: flex; flex-direction: column; gap: 8px; }
.social-group h4 { margin-bottom: 4px; font-size: 0.8rem; }
.social-group { min-width: 0; }
.social-icons { display: flex; flex-wrap: wrap; gap: 5px; }
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e6cf8a;
  color: var(--color-accent);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.social-icon svg { width: 14px; height: 14px; }
.social-icon:hover {
  color: var(--color-gold-ink);
  background: linear-gradient(180deg, var(--color-gold-shine), var(--color-gold-bright));
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(184, 134, 11, 0.35);
}

@media (max-width: 780px) {
  .footer-inner { grid-template-columns: 1fr; }
}

.not-found { text-align: center; padding: 60px 0; }

/* Маскоты: Лев Темп («медленная сила») и кот Василий («живая спешка»).
   Василий бегает вокруг Темпа — движение и есть смысл слогана, поэтому
   при prefers-reduced-motion он просто садится рядом. */
.mascot-duo {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  min-height: 110px;
}
.mascot-duo img { display: block; }
.mascot-temp { width: 84px; }
.mascot-vasiliy { width: 64px; transform-origin: center bottom; }
.mascot-duo .mascot-vasiliy { animation: vasiliy-fidget 2.6s ease-in-out infinite; }
@keyframes vasiliy-fidget {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-9px) rotate(3deg); }
}
.mascot-line {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--color-muted);
}
.mascot-line b { color: var(--color-text); font-weight: 700; }

/* Маскоты в центре шапки: Темп стоит, Василий подпрыгивает при наведении.
   Постоянной анимации нет намеренно — шапка липкая, движение в ней отвлекает. */
.header-mascots {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding: 0 10px;
  flex: 0 0 auto;
}
.header-mascots img { display: block; }
.header-mascots .hm-temp { height: 53px; width: auto; }
.header-mascots .hm-vasiliy {
  height: 42px;
  width: auto;
  transform-origin: center bottom;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.header-mascots:hover .hm-vasiliy { transform: translateY(-7px) rotate(4deg); }
@media (max-width: 900px) {
  .header-mascots { display: none; }
}

/* Полоса философии на главной */
.slow-strip {
  margin: 8px 0 36px;
  padding: 24px 26px;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius);
  background: #fffaf0;
}
.slow-strip-motto {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.2;
}
.slow-strip-en {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 10px;
}
.slow-strip p.slow-strip-text { margin: 0; color: var(--color-muted); max-width: 60ch; }

@media (prefers-reduced-motion: reduce) {
  .mascot-duo .mascot-vasiliy { animation: none; }
}

.legal-meta { color: var(--color-muted); font-size: 0.88rem; margin-top: -8px; }
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 20px 0 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}
.legal-nav a { color: var(--color-muted); font-size: 0.92rem; }
.legal-nav a.is-active { color: var(--color-accent); font-weight: 600; }
/* Документы свёрстаны абзацами в шаблоне, а .prose держит pre-wrap для текста
   из админки — здесь переносы строк шаблона показывать нельзя (18.09: из-за них
   абзацы рвались посреди фразы, а между заголовком и текстом зияли пустые строки).
   Ширина — под чтение, а не во весь контейнер. */
.legal-prose { white-space: normal; max-width: 78ch; }
.legal-prose h2 { margin: 28px 0 10px; font-size: 1.15rem; }
.legal-prose p { margin: 0 0 14px; }
.legal-prose ul { margin: 0 0 14px; padding-left: 22px; }
.legal-prose li { margin: 0 0 8px; }
.footer-legal {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: 0.84rem;
}
.footer-legal a { color: var(--color-muted); }

.link-section { margin-bottom: 40px; }
.link-section h2 { margin-bottom: 16px; }

/* «Чем вдохновляюсь»: три карточки, плеер подгружается по клику. */
.inspired-art { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; display: block; margin-bottom: 4px; }
.vocal-call-art { width: 100%; max-width: 560px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; display: block; margin-bottom: 14px; }
.inspired-lead { max-width: 62ch; color: var(--color-muted); margin: -6px 0 16px; }
.inspired-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 820px) { .inspired-grid { grid-template-columns: 1fr; } }
.inspired-card {
  border: 1px solid var(--color-border); border-radius: 10px;
  padding: 18px 18px 16px; background: #fff; display: flex; flex-direction: column; gap: 10px;
}
.inspired-name { margin: 0; font-size: 1.05rem; }
.inspired-note { margin: 0; font-size: 0.92rem; line-height: 1.45; color: var(--color-text); flex: 1; }
.inspired-player { min-height: 44px; }
.inspired-play { width: 100%; }
.inspired-frame { border-radius: 10px; display: block; }
.inspired-more { font-size: 0.88rem; }
.inspired-links { margin: 0; display: flex; gap: 14px; font-size: 0.85rem; }
.inspired-links a { color: var(--color-muted); }
.inspired-links a:hover { color: var(--color-accent); }

/* Клич про вокал: карточка, а не просто текст в потоке, — иначе на длинной
   странице музыки он читается как примечание и его пролистывают. */
.vocal-call {
  border: 1px solid var(--color-border); border-radius: 10px;
  padding: 22px 24px; background: #fffdf7;
}
.vocal-call h2 { margin-top: 0; }
.vocal-call-lead { max-width: 62ch; margin: 0 0 12px; }
.vocal-call-list { max-width: 62ch; margin: 0 0 18px; padding-left: 20px; color: var(--color-muted); }
.vocal-call-list li { margin-bottom: 4px; }
@media (max-width: 640px) { .vocal-call { padding: 18px 16px; } }
.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.link-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--color-text);
  font-weight: 600;
  text-align: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.link-card:hover { border-color: var(--color-accent); color: var(--color-accent); }

.offer-section { margin-top: 8px; }
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin: 20px 0 12px;
}
.offer-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px 16px;
  background: #fffefb;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.offer-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 6px 16px rgba(184, 134, 11, 0.15);
  transform: translateY(-2px);
}
.offer-card h3 {
  margin: 0;
  font-size: 1rem;
}
.offer-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Витрина последнего релиза — крупный хиро-блок над плеерами */
.featured-release {
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) * 2);
  padding: 32px 28px;
  margin-bottom: 40px;
  text-align: center;
  background: linear-gradient(180deg, #fffdf5 0%, #fff 100%);
}
.featured-eyebrow {
  margin: 0 0 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.featured-title {
  margin: 0 0 8px;
  font-family: var(--font-script);
  font-size: 3.6rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  color: var(--color-gold-bright);
  filter:
    url(#gold-emboss)
    drop-shadow(0 3px 4px rgba(90, 60, 10, 0.45));
}
.featured-note {
  margin: 0 0 18px;
  color: var(--color-muted);
  font-size: 0.95rem;
}
.featured-listen { font-size: 1rem; padding: 12px 28px; }

/* Альбомы и синглы на /music — табличная подача */
.table-scroll { overflow-x: auto; }
.music-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.music-table th {
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--color-muted);
  font-weight: 600;
  padding: 0 12px 8px;
  border-bottom: 1px solid var(--color-border);
}
.music-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}
.music-table tbody tr:hover { background: #fdf6e0; }
.music-table-cover-col { width: 56px; }
.music-table-cover {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: calc(var(--radius) - 2px);
  display: block;
}
.music-table-title { font-weight: 700; color: var(--color-text); }
a.music-table-title:hover { color: var(--color-accent); }
.music-table-desc { color: var(--color-muted); font-size: 0.9rem; }
.music-table-listen { font-weight: 600; white-space: nowrap; }
.music-table-bandlink { display: inline-flex; align-items: center; gap: 4px; }
.bandlink-icon { width: 14px; height: 14px; flex-shrink: 0; }
@media (max-width: 560px) {
  .music-table-desc { display: none; }
}

.release-hero {
  display: flex;
  align-items: center;
  gap: 28px;
  text-align: left;
  flex-wrap: wrap;
}
.release-hero-cover {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.release-hero h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--color-text);
  filter: none;
  margin: 4px 0 10px;
}

/* Список треков релиза — как плейлист на YouTube: номер, обложка, название, стрелка */
.track-playlist { display: flex; flex-direction: column; gap: 6px; }
.track-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--color-text);
}
.track-row:hover { background: #faf6ea; color: var(--color-text); }
.track-row-index { width: 20px; color: var(--color-muted); font-variant-numeric: tabular-nums; }
.track-row-cover { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.track-row-title { flex: 1; font-weight: 600; }
.track-row-arrow { color: var(--color-accent); }
/* Строка трека стала контейнером: кнопка воспроизведения отдельно от ссылки,
   иначе нажатие на «play» уводило бы на страницу трека. */
.track-row-main { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; color: inherit; text-decoration: none; }
.track-row-main:hover .track-row-title { color: var(--color-accent); }
.track-row-play {
  width: 34px; height: 34px; flex-shrink: 0; cursor: pointer;
  border: 1px solid var(--color-border); border-radius: 50%; background: #fff;
  color: var(--color-accent); font-size: 0.8rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.track-row-play:hover { background: var(--color-accent); color: #fff; }
.track-row-play.is-playing { background: var(--color-accent); color: #fff; }

/* Плеер на странице трека */
.track-player { width: 100%; max-width: 420px; margin: 6px 0 14px; display: block; }
.track-links { display: flex; flex-wrap: wrap; gap: 10px; }
/* Прямые кнопки на площадки: первая — главная для языка страницы, остальные контурные. */
.platform-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.platform-link { font-size: 0.86rem; padding: 8px 14px; }
.track-links-title { margin: 8px 0 0; font-weight: 700; font-size: 0.95rem; }
.shoot-name { margin: 0 0 10px; color: var(--color-muted); font-size: 0.9rem; }
.shoot-template { margin: 10px 0 0; }
/* Анимации к треку: кинолента вертикальных роликов 9:16, крутятся без звука. */
.anim-strip .anim-frame { position: relative; height: 320px; aspect-ratio: 9 / 16; border-radius: 4px; overflow: hidden; background: #111; }
.anim-strip .anim-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.anim-sound {
  position: absolute; left: 8px; bottom: 8px; padding: 5px 10px; border: 0; border-radius: 999px;
  background: rgba(0, 0, 0, 0.55); color: #fff; font: inherit; font-size: 0.78rem; cursor: pointer;
}
.anim-sound:hover, .anim-cell.has-sound .anim-sound { background: var(--color-accent); color: #fff; }
.anim-cell.has-sound .anim-frame { box-shadow: 0 0 0 2px var(--color-accent); }
@media (max-width: 700px) { .anim-strip .anim-frame { height: 260px; } }
.track-links-hint { margin: 8px 0 0; font-size: 0.82rem; color: var(--color-muted); max-width: 52ch; }
/* Другие версии трека (Extended Mix, Sped Up) — под кнопками площадок. */
.track-versions { margin-top: 14px; }

.drop-back { text-align: center; margin-top: 32px; }
.drop-back a { font-weight: 600; }

.track-pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
}
.track-pager-link { font-weight: 600; }
.track-pager-up { color: var(--color-muted); font-weight: 400; font-size: 0.9rem; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.genre-chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fdf6e0;
  border: 1px solid #e6cf8a;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.85rem;
}

/* Дропы — архив капсульных коллекций, как страница дропов у брендов одежды */
/* Сетка, а не столбик: в столбике обложка растягивалась на всю ширину
   колонки и занимала экран. В сетке карточка ~300–360 px, обложка 4:3. */
.drops-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; align-items: start; }
.drop-card {
  display: block;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 22px;
  color: var(--color-text);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.drop-card:hover {
  border-color: var(--color-accent);
  color: var(--color-text);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(184, 134, 11, 0.12);
}
.drop-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.drop-season {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.drop-count { font-size: 0.8rem; color: var(--color-muted); }
.drop-name { margin: 0 0 4px; font-size: 1.3rem; }
.drop-subtitle { margin: 0; color: var(--color-muted); }
.drop-hero .drop-season { display: block; margin-bottom: 6px; }
.drop-description { max-width: 640px; margin-left: auto; margin-right: auto; }
.drop-soon { text-align: center; color: var(--color-muted); padding: 40px 0; }

/* Баннеры кросс-промо между разделами — админ-управляемые, привязаны к странице (page_key) */
.promo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-radius: calc(var(--radius) * 1.5);
  padding: 22px 26px;
  margin-bottom: 32px;
  background: linear-gradient(120deg, #fff6da 0%, #fdf0c8 60%, #f7e2a3 100%);
  border: 1px solid #e6cf8a;
}
.promo-banner-title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}
.promo-banner-subtitle { margin: 0; color: var(--color-muted); font-size: 0.9rem; max-width: 46ch; }
.promo-banner-cta { flex-shrink: 0; white-space: nowrap; }
/* Заглушка места под баннер: чёрная полоса, видно, где он вылезет.
   Включается адресом кнопки «#slot», выключается удалением такого баннера. */
.promo-banner-slot { background: #111 none; border-color: #111; color: #fff; }
.promo-banner-slot .promo-banner-title,
.promo-banner-slot .promo-banner-subtitle { color: #fff; }

@media (max-width: 560px) {
  .promo-banner { flex-direction: column; align-items: flex-start; }
}

/* Рыжие, которые вдохновляют — курируемая витрина, без открытой регистрации */
/* Компактнее: карточки в четыре-пять колонок, фото квадратом с упором на
   верх — портреты в 4:3 срезали лбы. */
.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--card-min-small), 1fr));
  gap: var(--grid-gap);
  /* Семья шириной в две колонки в конце ряда оставляла бы дыру — dense
     подтягивает в неё следующую одиночную карточку. */
  grid-auto-flow: dense;
}
.redhead-reads { margin: 0 0 18px; font-size: 0.9rem; color: var(--color-muted); }
.spotlight-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.spotlight-card:hover { box-shadow: 0 8px 20px rgba(184, 134, 11, 0.12); }
.spotlight-photo {
  width: 100%;
  aspect-ratio: var(--shot-square);
  object-fit: cover;
  object-position: center 18%;
  display: block;
  background: #f2f2f2;
}
.spotlight-photo.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
}
.spotlight-body { padding: 12px; }
/* Оценки записей дневника: школьная шкала как игра. */
.diary-marks { margin: 28px 0 8px; padding: 18px 20px; border: 1px solid var(--color-border); border-radius: 10px; background: #fffdf7; }
.diary-marks-title { margin: 0 0 4px; font-size: 1.05rem; }
.diary-marks-hint { margin: 0 0 12px; color: var(--color-muted); font-size: 0.88rem; }
.diary-marks-row { display: flex; gap: 8px; }
.diary-mark {
  width: 46px; height: 46px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--color-border); background: #fff;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--color-text);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.diary-mark:hover { border-color: var(--color-accent); color: var(--color-accent); }
.diary-mark.is-mine { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.diary-marks-score { margin: 12px 0 0; font-size: 0.9rem; color: var(--color-muted); }
.diary-marks-count::before { content: '· '; }
.diary-marks-count::after { content: ' оценок'; }

/* Заголовки глав в записи: строка капсом в тексте → номер главы и название,
   как карточки глав в подкасте (строчными, номер над названием). */
.diary-h { margin: 36px 0 14px; padding-top: 16px; border-top: 1px solid var(--color-border); font-size: 1.4rem; line-height: 1.25; }
.diary-h-num { display: block; margin-bottom: 5px; font-size: 0.76rem; font-weight: 400; letter-spacing: 0.24em; color: var(--color-accent); }
.diary-h-text { display: block; text-transform: lowercase; }
.diary-h-text::first-letter { text-transform: uppercase; }
/* Трек в записи: обложка и название ведут на страницу трека, плеер — послушать здесь. */
.diary-track { display: flex; gap: 16px; align-items: center; margin: 22px 0 26px; padding: 14px 16px; border: 1px solid var(--color-border); border-radius: 12px; background: #fffdf7; }
.diary-track img { width: 88px; height: 88px; border-radius: 8px; object-fit: cover; flex: none; }
.diary-track-body { flex: 1; min-width: 0; }
.diary-track-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
.diary-track-release { display: block; margin: 2px 0 8px; font-size: 0.85rem; color: var(--color-muted); }
.diary-track .track-player { width: 100%; }
@media (max-width: 560px) { .diary-track { flex-wrap: wrap; } .diary-track-body { flex-basis: 100%; } }
/* Плакат аромакарты: цена — за печать, электронная карта бесплатна — плашка сразу под ценой. */
.product-free-note { margin: -4px 0 16px; padding: 10px 14px; border-radius: 8px; background: #fffdf7; border: 1px solid var(--color-border); font-size: 0.92rem; line-height: 1.5; }
.product-free-note b { color: var(--color-accent); }
/* Пара строк о стиле трека — под описанием, объясняет картинку в анимациях. */
.track-style { margin: 6px 0 14px; font-size: 0.9rem; line-height: 1.55; color: var(--color-muted); }
.track-style-name { font-family: var(--font-display); font-weight: 700; color: var(--color-text); }

/* Карточка без фотографии: монограмма вместо серой плашки «нет фото».
   Снимки знаменитостей мы публиковать не вправе, поэтому это основной вид. */
.spotlight-credit { margin: 6px 0 0; font-size: 0.72rem; color: var(--color-muted); line-height: 1.3; }
.spotlight-credit a { color: inherit; }
.spotlight-initial {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 4rem; color: var(--color-gold-deep);
  background: linear-gradient(160deg, #f6efe0, #e8dcc2);
}
.spotlight-name { font-weight: 700; font-size: 0.95rem; }
.spotlight-role { font-size: 0.82rem; color: var(--color-accent); font-weight: 600; margin-top: 2px; }
/* Честная подпись на витрине (21.09): рыжая борода при тёмных волосах */
.spotlight-tag { display: inline-block; margin-top: 4px; padding: 1px 8px; border: 1px solid var(--color-border); border-radius: 999px; font-size: 0.74rem; color: var(--color-muted); }
.spotlight-note { font-size: 0.8rem; color: var(--color-muted); margin: 6px 0; }
.spotlight-link { font-weight: 600; font-size: 0.88rem; }

/* Семья на витрине (21.09): карточка в две колонки, общее фото 3:2 или
   полоска инициалов, список членов с аватарами. На узком экране сетка
   из одного столбца — span 2 создал бы неявный второй и горизонтальный скролл. */
.spotlight-family { grid-column: span 2; }
@media (max-width: 420px) { .spotlight-family { grid-column: 1 / -1; } }
.spotlight-family-photo { aspect-ratio: 3 / 2; object-position: center 30%; }
.spotlight-family-strip {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  aspect-ratio: 3 / 2;
  font-family: var(--font-display); font-size: 2.6rem; color: var(--color-gold-deep);
  background: linear-gradient(160deg, #f6efe0, #e8dcc2);
}
.spotlight-family-badge { font-size: 0.7rem; color: var(--color-gold-bright); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.spotlight-members { display: grid; gap: 8px; margin-top: 10px; }
.spotlight-member { display: flex; gap: 10px; align-items: center; min-width: 0; }
.spotlight-member-photo {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.2rem; color: var(--color-gold-deep);
  background: linear-gradient(160deg, #f6efe0, #e8dcc2);
}
.spotlight-member-name { font-weight: 600; font-size: 0.88rem; }
.spotlight-member .spotlight-role { margin-top: 0; }

input, textarea, select {
  padding: 8px 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 1rem;
  width: 100%;
}
label { display: block; margin-bottom: 14px; font-weight: 500; }

/* Фоновая музыка */
.bg-audio-widget {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.bg-audio-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}
.bg-audio-link:hover { transform: scale(1.06); background: var(--color-accent-hover); color: #fff; }
.bg-audio-icon { width: 15px; height: 15px; }
.bg-audio-mute {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 2px solid var(--color-bg);
  background: var(--color-text);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 1;
}
/* Видимый значок — 17px, но реальная область нажатия расширена невидимым
   слоем, иначе на сенсорном экране легко промахнуться на соседний кружок-ссылку. */
.bg-audio-mute::before {
  content: '';
  position: absolute;
  inset: -10px;
}
.bg-audio-mute:hover { background: var(--color-accent-hover); }
.bg-audio-mute-icon { width: 8px; height: 8px; }
.bg-audio-mute-icon-off { display: block; }
.bg-audio-mute-icon-on { display: none; }
.bg-audio-mute.is-playing .bg-audio-mute-icon-off { display: none; }
.bg-audio-mute.is-playing .bg-audio-mute-icon-on { display: block; }

/* Медиа-кит для брендов: экран + печать в PDF */
.media-kit { max-width: 820px; margin: 0 auto; }
.mk-cover {
  background: #211A12;
  color: #F7F3EA;
  border-radius: 14px;
  padding: 48px 32px;
  text-align: center;
  margin-bottom: 32px;
}
.mk-cover-name { font-family: var(--font-display, inherit); font-size: 2.4rem; font-weight: 800; letter-spacing: 0.02em; }
.mk-cover-alt { color: #D99A2B; font-size: 1.1rem; letter-spacing: 0.28em; text-transform: uppercase; margin-top: 6px; }
.mk-cover-tagline { margin: 18px 0 4px; font-size: 1.05rem; opacity: 0.92; }
.mk-cover-sub { margin: 0; font-size: 0.85rem; color: #C9A06A; }

.mk-section { margin-bottom: 38px; }
.mk-section h2 {
  font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--color-muted); border-bottom: 1px solid var(--color-border);
  padding-bottom: 8px; margin-bottom: 18px;
}
.mk-lead { line-height: 1.7; }
.mk-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 20px; }
.mk-fact {
  border: 1px solid var(--color-border); border-radius: 10px; padding: 14px; text-align: center;
}
.mk-fact strong { display: block; font-size: 1.15rem; }
.mk-fact span { font-size: 0.82rem; color: var(--color-muted); }

.mk-releases { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.mk-release img { width: 100%; border-radius: 8px; display: block; }
.mk-release-title { font-weight: 600; margin-top: 8px; }
.mk-release-year { font-size: 0.82rem; color: var(--color-muted); }

.mk-offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.mk-offer { border: 1px solid var(--color-border); border-radius: 10px; padding: 16px; }
.mk-offer h3 { margin: 0 0 8px; font-size: 1rem; }
.mk-offer p { margin: 0; font-size: 0.9rem; line-height: 1.55; color: var(--color-muted); }

.mk-links { list-style: none; padding: 0; margin: 0; }
.mk-links li { display: flex; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--color-border); font-size: 0.92rem; }
.mk-links li span { min-width: 190px; color: var(--color-muted); }
/* Длинные адреса (канал YouTube) переносим, иначе на телефоне страница шире экрана */
.mk-links li a { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .mk-links li span { min-width: 88px; } }
.mk-contact p { line-height: 1.8; }
.mk-actions { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; }

@media print {
  .site-header, .site-nav, .music-ticker, .site-footer, .no-print, .banner, .nav-toggle, .cookie-bar, .to-top, .listen-bar { display: none !important; }
  body { background: #fff; }
  .media-kit { max-width: none; }
  .mk-cover { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .mk-section { break-inside: avoid; page-break-inside: avoid; }
  .mk-offer, .mk-release, .mk-fact, .mk-table tr { break-inside: avoid; }
}

/* Поиск — в подвале, в первой колонке под медиа-китом (из шапки убран 18.09) */
.footer-search { display: flex; align-items: center; gap: 4px; margin-top: 10px; }
.footer-search input[type="search"] {
  width: 100%; padding: 5px 10px; margin: 0;
  border: 1px solid var(--color-border); border-radius: 999px;
  background: #fff; font-size: 0.85rem;
}
.footer-search input[type="search"]:focus { outline: none; border-color: var(--color-accent); }
.footer-search button {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 30px; height: 30px; padding: 0;
  background: transparent; border: none; cursor: pointer; color: var(--color-muted);
}
.footer-search button:hover { color: var(--color-accent); }
.footer-search svg { width: 17px; height: 17px; }

/* Переключатель языка */
.lang-switch { display: flex; gap: 2px; font-size: 0.78rem; letter-spacing: 0.05em; }
.lang-switch a {
  padding: 4px 7px; border-radius: 6px;
  color: var(--color-muted); border: 1px solid transparent;
}
.lang-switch a.active { color: var(--color-text); border-color: var(--color-border); font-weight: 600; }
.lang-switch a:hover { color: var(--color-accent); }

/* Почта в подвале — сворачиваемый блок */
.footer-mail { margin-top: 4px; }
.footer-mail summary {
  cursor: pointer; font-size: 0.88rem; font-weight: 600;
  color: var(--color-text); list-style: none; display: inline-flex; align-items: center; gap: 6px;
}
.footer-mail summary::-webkit-details-marker { display: none; }
.footer-mail summary::after { content: '▾'; font-size: 0.75rem; color: var(--color-muted); transition: transform 0.2s ease; }
.footer-mail[open] summary::after { transform: rotate(180deg); }
.footer-mail .footer-contacts { margin-top: 6px; font-size: 0.85rem; }

/* Страница поиска */
.search-page-form { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.search-page-form input[type="search"] { flex: 1; min-width: 200px; }
.search-results { list-style: none; padding: 0; margin: 0; }
.search-results li {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px;
  padding: 9px 0; border-bottom: 1px solid var(--color-border);
}
.search-note { font-size: 0.82rem; color: var(--color-muted); }

/* Конкурс «Твой выход под трек» */
.contest-steps, .contest-criteria, .contest-rules { max-width: 60ch; margin: 0; padding-left: 20px; color: var(--color-muted); }
.contest-steps li, .contest-criteria li, .contest-rules li { margin-bottom: 8px; line-height: 1.55; }
.contest-criteria b, .contest-rules b { color: var(--color-text); }
.contest-sponsor { border-top: 1px solid var(--color-border); padding-top: 28px; }
.contest-sponsor p { max-width: 60ch; color: var(--color-muted); }

.sound-links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
  box-shadow: none;
}
.btn-secondary:hover {
  color: var(--color-text);
  border-color: var(--color-accent);
  box-shadow: none;
}

/* Нумерованные бюсты: страница экземпляра и проверка подлинности */
.bust-page { max-width: 620px; margin: 0 auto; }

.bust-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #dcfce7; color: #166534;
  padding: 6px 14px; border-radius: 999px;
  font-weight: 600; font-size: 0.9rem; margin-bottom: 16px;
}
.bust-badge__check { font-size: 1.1rem; }

.bust-number {
  font-size: 3.2rem; line-height: 1; margin: 0 0 20px;
  letter-spacing: 0.02em;
}

.bust-phrase {
  margin: 0 0 8px; padding: 20px 24px;
  border-left: 3px solid var(--color-accent);
  background: rgba(0, 0, 0, 0.02);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.25rem; line-height: 1.5; font-style: italic;
}
.bust-phrase-note { color: var(--color-muted); font-size: 0.85rem; margin: 0 0 24px; }

.bust-facts { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.bust-facts th, .bust-facts td {
  text-align: left; padding: 10px 0;
  border-bottom: 1px solid var(--color-border); vertical-align: top;
}
.bust-facts th { width: 40%; color: var(--color-muted); font-weight: 500; }

.bust-total { color: var(--color-muted); font-size: 0.9rem; margin-bottom: 28px; }

.bust-register {
  border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 20px 22px; margin-bottom: 24px;
}
.bust-register h2 { margin-top: 0; }

.bust-links { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.bust-foot { color: var(--color-muted); font-size: 0.9rem; }
.bust-lookup-form { max-width: 380px; }

.bust-badge--unverified { background: #fef3c7; color: #92400e; }
.bust-warning {
  border: 1px solid #fcd34d; background: #fffbeb;
  border-radius: var(--radius); padding: 18px 20px; margin-bottom: 24px;
}
.bust-warning p { margin: 0 0 10px; }

/* Бегущая строка с музыкой. Темп намеренно медленный — это про «двигаюсь
   медленно в быстром мире», а не про то, чтобы привлечь внимание. */
.music-ticker {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--color-border);
  background: #17130D;
  padding: 0 20px;
  overflow: hidden;
}
.music-ticker__label {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8FC65C;
  padding: 7px 0;
}
.music-ticker__viewport { overflow: hidden; flex: 1; }
.music-ticker__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: music-ticker-scroll 90s linear infinite;
}
/* Зазоры — полями элементов, а не gap: лента из двух копий сдвигается ровно на
   половину, и при gap стык прыгал на ползазора каждый круг. Кнопка ▸ прижата к
   названию своего трека, между парами — шире. */
.music-ticker__play { margin-right: 2px; }
.music-ticker__item { margin-right: 18px; }
.music-ticker:hover .music-ticker__track,
.music-ticker:focus-within .music-ticker__track { animation-play-state: paused; }

@keyframes music-ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.music-ticker__item {
  background: none;
  border: 0;
  padding: 7px 2px;
  cursor: pointer;
  white-space: nowrap;
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: #CFF7A8;
  opacity: 0.75;
  transition: opacity 0.2s ease, text-shadow 0.2s ease;
}
.music-ticker__item:hover,
.music-ticker__item:focus-visible { opacity: 1; text-shadow: 0 0 8px rgba(143, 198, 92, 0.8); }
.music-ticker__item.is-current {
  opacity: 1;
  font-weight: 700;
  text-shadow: 0 0 6px rgba(143, 198, 92, 0.9), 0 0 14px rgba(111, 168, 60, 0.6);
}
/* Играющий трек показывает кнопка перед названием (‖), стрелку в текст не добавляем:
   она меняла ширину ленты на ходу. */
/* Точки золотые, а не зелёные в тон подсветки: на чёрной ленте они
   держат ритм между названиями, и в цвете сайта это читается как своё. */
.music-ticker__dot { color: var(--color-gold-bright); font-size: 0.7rem; }

/* При «уменьшить движение» строка всё равно идёт: она медленная и у неё своя
   кнопка «стоп». Иначе на компьютерах с выключенной анимацией Windows она
   стояла намертво и выглядела сломанной. */
@media (max-width: 640px) {
  .music-ticker__label { display: none; }
  .music-ticker { padding: 0 12px; }
}

/* Параметры товара в карточке */
.product-includes { margin: 20px 0 16px; }
.product-includes h2 { font-size: 1.05rem; margin: 0 0 8px; }
.product-includes ul { margin: 0; padding-left: 20px; }
.product-includes li { margin-bottom: 4px; }

.product-specs { width: 100%; border-collapse: collapse; margin: 10px 0 14px; font-size: 0.8rem; }
.product-specs th, .product-specs td {
  text-align: left; padding: 5px 0; font-weight: 400;
  border-bottom: 1px solid var(--color-border); vertical-align: top;
}
.product-specs th { width: 45%; color: var(--color-muted); }

/* ─── Несимметричные границы ───
   Ровный прямоугольник читается как сток, неровный край — как вещь.
   Правило: сильный приём (rough/torn) — один на страницу. Мягкую асимметрию
   можно ставить везде, её глаз замечает не сразу, а ощущает. */

/* Мягкая — разные скругления по углам. Базовый вариант для карточек и фото. */
.edge-soft,
.edge-soft img {
  border-radius: 22px 6px 20px 8px;
}
.edge-soft:nth-child(even),
.edge-soft:nth-child(even) img {
  border-radius: 7px 24px 6px 18px;
}

/* Заметная — скошенные углы по диагонали. Для блоков на главной. */
.edge-cut {
  clip-path: polygon(0 14px, 14px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

/* Сильная — рваный край, будто оторвано от листа. Только для крупных блоков
   и не больше одного на экран, иначе выглядит как сломанная вёрстка. */
.edge-torn {
  clip-path: polygon(
    0% 2%, 12% 0.6%, 27% 2.4%, 41% 0.8%, 58% 2.6%, 73% 0.9%, 88% 2.3%, 100% 1%,
    99% 16%, 100% 33%, 98.6% 51%, 100% 68%, 99% 84%, 100% 98%,
    87% 99.4%, 71% 97.6%, 55% 99.2%, 38% 97.4%, 22% 99.3%, 9% 97.8%, 0% 99%,
    1.2% 82%, 0% 66%, 1.4% 49%, 0% 32%, 1% 17%
  );
}

/* Фон блока с неровным низом — для подложек и hero */
.edge-wave-bottom {
  clip-path: polygon(0 0, 100% 0, 100% 96%, 82% 99%, 61% 95.5%, 39% 99.2%, 18% 96%, 0 99%);
  padding-bottom: 40px;
}

@media (prefers-reduced-motion: no-preference) {
  .edge-soft { transition: border-radius 0.4s ease; }
  .edge-soft:hover { border-radius: 8px 20px 10px 22px; }
}

/* На узком экране рваные края съедают содержимое — оставляем мягкую форму */
@media (max-width: 640px) {
  .edge-torn, .edge-cut { clip-path: none; border-radius: 16px 5px 14px 6px; }
}

/* Полоса согласия на cookie. Появляется снизу, не перекрывает содержимое
   насовсем и предлагает настоящий выбор, а не одну кнопку «ок». */
.cookie-bar {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
  padding: 16px 20px;
  background: #17130D;
  color: #EDE4D3;
  border: 1px solid rgba(184, 134, 11, 0.45);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.cookie-bar.is-shown { opacity: 1; transform: translateY(0); }
.cookie-bar.is-hidden { opacity: 0; transform: translateY(14px); }
.cookie-bar__text { flex: 1; min-width: 260px; line-height: 1.5; }
.cookie-bar__text a { color: var(--color-gold-bright); text-decoration: underline; }
.cookie-bar__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-bar__btn { white-space: nowrap; }
.cookie-bar__btn--ghost {
  background: transparent;
  color: #EDE4D3;
  border: 1px solid rgba(237, 228, 211, 0.4);
}
.cookie-bar__btn--ghost:hover { background: rgba(237, 228, 211, 0.1); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .cookie-bar { transition: none; }
}
@media (max-width: 560px) {
  /* На телефоне полоса занимала почти пол-экрана: кнопки не влезали в ряд и вставали друг под другом.
     Текст тот же, только мельче; обе кнопки — в один ряд и одного размера. */
  .cookie-bar { left: 8px; right: 8px; bottom: 8px; padding: 12px 14px; gap: 10px; font-size: 0.8rem; }
  .cookie-bar__text { min-width: 0; line-height: 1.4; }
  .cookie-bar__actions { width: 100%; flex-wrap: nowrap; gap: 8px; }
  .cookie-bar__btn { flex: 1 1 0; min-width: 0; white-space: normal; padding: 9px 8px; font-size: 0.85rem; line-height: 1.2; }
}

/* Предзапуск магазина: заказы ещё не принимаются */
.prelaunch-notice {
  background: #fdf6e0;
  border: 1px solid #e6cf8a;
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 0.95rem;
  line-height: 1.55;
}
.prelaunch-notice strong { display: block; margin-bottom: 2px; }

/* ---- Главная: анонс подкаста и то, что вокруг него ---- */
.podcast-block {
  margin: 8px 0 40px;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius);
  background: #fffaf0;
  padding: 24px 26px;
}
.podcast-main { display: flex; gap: 24px; align-items: flex-start; }
.podcast-cover {
  flex: 0 0 240px;
  width: 240px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  background: #f2f2f2;
}
.podcast-body { flex: 1; min-width: 0; }
.podcast-kicker {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 6px;
}
.podcast-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.2;
  margin: 0 0 6px;
}
.podcast-guest { margin: 0 0 10px; font-weight: 600; }
.podcast-note { margin: 0 0 16px; color: var(--color-muted); max-width: 60ch; }
.podcast-soon {
  display: inline-block;
  padding: 8px 16px;
  border: 1px dashed var(--color-accent);
  border-radius: 999px;
  color: var(--color-accent-hover);
  font-weight: 600;
  font-size: 0.9rem;
}
.podcast-around {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--card-min-small), 1fr));
  gap: var(--grid-gap);
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}
.podcast-around-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-text);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.podcast-around-card:hover { border-color: var(--color-accent); transform: translateY(-2px); }
.podcast-around-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius) - 2px);
  margin-bottom: 6px;
}
.podcast-around-label { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-accent); }
.podcast-around-title { font-weight: 700; }
.podcast-around-meta { font-size: 0.85rem; color: var(--color-muted); }
@media (max-width: 640px) {
  .podcast-main { flex-direction: column; }
  .podcast-cover { width: 100%; flex-basis: auto; }
}

/* ---- Главная: рыжие ---- */
.redheads-home { margin-bottom: 40px; }
.redheads-home-intro { color: var(--color-muted); max-width: 60ch; }
.redheads-home-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--card-min-small), 1fr));
  gap: var(--grid-gap);
  margin: 16px 0;
}
.redheads-home-card { display: flex; flex-direction: column; gap: 2px; }
.redheads-home-card img, .redheads-home-card .no-image {
  width: 100%;
  aspect-ratio: var(--shot-square);
  object-fit: cover;
  border-radius: var(--radius);
  background: #f2f2f2;
  margin-bottom: 6px;
}
.redheads-home-name { font-weight: 700; }
.redheads-home-role { font-size: 0.82rem; color: var(--color-accent); font-weight: 600; }

/* Подпись «к релизу …» в карточке товара на главной */
.product-release-tag { font-size: 0.8rem; color: var(--color-accent); font-weight: 600; margin-top: 2px; }

/* ---- Брендам: джинглы, галочки, аудитория ---- */
.offer-audio { display: flex; flex-direction: column; gap: 8px; }
.offer-audio-row { display: flex; flex-direction: column; gap: 2px; }
.offer-audio-row audio { width: 100%; height: 34px; }
.offer-audio-title { font-size: 0.82rem; font-weight: 600; }
.offer-audio-title small { font-weight: 400; color: var(--color-muted); }

/* ---- Медиа-кит: аудитория ---- */
.mk-audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin: 20px 0 12px;
}
.mk-audience-col h3 { font-size: 0.95rem; margin: 0 0 10px; }
.mk-bar { display: grid; grid-template-columns: 110px 1fr 40px; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 0.88rem; }
.mk-bar-track { display: block; height: 10px; background: #f0e9d8; border-radius: 999px; overflow: hidden; }
.mk-bar-fill { display: block; height: 100%; background: var(--color-accent); border-radius: 999px; }
.mk-bar-value { text-align: right; font-variant-numeric: tabular-nums; color: var(--color-muted); }

/* ==== Главная как плакат: один тезис на экран, зерно плёнки, золото на чёрном ==== */
.full-bleed { width: 100vw; margin-left: calc(50% - 50vw); }

.poster {
  --poster-tint: #171310;
  position: relative;
  margin-top: -32px; /* прижать к шапке: main.container даёт padding-top 32px */
  margin-bottom: 56px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(184, 134, 11, 0.22), transparent 70%),
    var(--poster-tint);
  color: #f3ead3;
  overflow: hidden;
  isolation: isolate;
}
/* Зерно: SVG-шум в data-URI, без картинок и без JS. */
.poster::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 0.92  0 0 0 0 0.7  0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
  z-index: -1;
}
.poster-inner {
  padding: 72px 20px 64px;
  text-align: center;
}
.poster-name {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  margin: 0 0 18px;
}
.poster-name-main {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--color-gold-bright);
  filter: url(#gold-emboss) drop-shadow(0 2px 3px rgba(0, 0, 0, 0.6));
}
.poster-name-alt {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  border: 1px solid rgba(240, 196, 25, 0.5);
  border-radius: 999px;
  padding: 4px 10px;
}
.poster-statement {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 8vw, 6.4rem);
  /* 0.98 сжимало строки так, что хвосты «у» и «р» (и g/y в английской версии)
     ложились на следующую строку. */
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 auto 16px;
  max-width: 20ch;
  color: #fff8e6;
  text-wrap: balance;
}
.poster-en {
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-gold-bright);
  margin: 0 0 22px;
}
/* Тезис и его английская строка ведут на страницу «Slow in a fast world». */
.poster-statement a,
.poster-en a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}
.poster-statement a:hover,
.poster-statement a:focus-visible {
  color: var(--color-gold-light);
  text-shadow: 0 0 24px rgba(240, 196, 25, 0.35);
}
.poster-en a:hover,
.poster-en a:focus-visible {
  color: #fff8e6;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.poster-lead {
  max-width: 52ch;
  margin: 0 auto 28px;
  color: rgba(243, 234, 211, 0.78);
  font-size: 1.05rem;
  line-height: 1.6;
}
.poster-actions { margin-bottom: 22px; }
.poster-ghost { color: #f3ead3; border-color: var(--color-gold-bright); }
.poster-ghost:hover { color: #fff; background: rgba(240, 196, 25, 0.12); }
.poster-now {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(243, 234, 211, 0.7);
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 8px;
}
.poster-now strong { color: var(--color-gold-bright); font-weight: 600; }
.poster-now-btn { border: none; background: none; padding: 0; cursor: pointer; font: inherit; color: rgba(243, 234, 211, 0.7); }
.poster-now-hint { opacity: 0; transition: opacity 0.2s ease; font-size: 0.78rem; }
.poster-now-btn:hover .poster-now-hint { opacity: 0.75; }
/* Кнопка «включить музыку» — та же строка, только кликабельная. */
.poster-now-off {
  border: none; background: none; padding: 0; cursor: pointer; font: inherit;
  color: rgba(243, 234, 211, 0.7);
}
.poster-now-off:hover { color: var(--color-gold-bright); }
.poster-now-dot-off { animation: none; opacity: 0.55; }
.poster-now-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-gold-bright);
  box-shadow: 0 0 0 0 rgba(240, 196, 25, 0.6);
  animation: poster-pulse 2.4s ease-out infinite;
}
@keyframes poster-pulse {
  0% { box-shadow: 0 0 0 0 rgba(240, 196, 25, 0.6); }
  100% { box-shadow: 0 0 0 10px rgba(240, 196, 25, 0); }
}
@media (prefers-reduced-motion: reduce) { .poster-now-dot { animation: none; } }
@media (max-width: 640px) {
  .poster-inner { padding: 48px 16px 44px; }
  .poster-name { font-size: 1.7rem; }
}

/* Главы: номер крупно слаб-серифом, заголовок рядом, ссылка «все» справа. */
.chapter { margin-bottom: 56px; }
.chapter-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  border-top: 1px solid var(--color-border);
  padding-top: 18px;
  margin-bottom: 20px;
}
.chapter-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--color-accent);
  letter-spacing: -0.03em;
}
.chapter-title { margin: 0; font-size: 1.5rem; flex: 1; }
/* Заголовок главы ведёт в свой раздел, но выглядит заголовком, а не ссылкой:
   подчёркивание появляется только при наведении. */
.chapter-title a { color: inherit; text-decoration: none; }
.chapter-title a:hover { color: var(--color-accent); text-decoration: underline; text-underline-offset: 4px; }
.chapter-head--dark .chapter-title a:hover { color: var(--color-gold-bright); }
.chapter-more { font-size: 0.9rem; font-weight: 600; white-space: nowrap; }
/* на узком экране длинная ссылка «все →» не умещается рядом с заголовком и распирала
   страницу вбок — пусть переносится на свою строку */
@media (max-width: 700px) { .chapter-head { flex-wrap: wrap; } .chapter-more { white-space: normal; } }
.chapter-deck { color: var(--color-muted); max-width: 60ch; margin: -8px 0 18px; }
.redheads-home-intro { margin-top: -8px; }
.chapter-head--dark { border-top-color: rgba(255, 255, 255, 0.14); }
.chapter-head--dark .chapter-title { color: #fff8e6; }
.chapter-head--dark .chapter-more { color: var(--color-gold-bright); }
.chapter .podcast-block { margin-top: 0; }
.podcast-title { font-size: 1.6rem; }

/* Полароиды для рыжих: белая рамка, лёгкий наклон, тень. Без JS. */
.polaroid {
  background: #fff;
  padding: 10px 10px 14px;
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
  transition: transform 0.25s ease;
}
.polaroid img, .polaroid .no-image { border-radius: 2px; margin-bottom: 8px; }
.polaroid-0 { transform: rotate(-2deg); }
.polaroid-1 { transform: rotate(1.5deg); }
.polaroid-2 { transform: rotate(-1deg); }
.polaroid:hover { transform: rotate(0) translateY(-3px); }

/* Тот же наклон для карточек-историй: применяется через главу, чтобы лента
   главной шла ритмом «ровно — наклон», а не одной длинной сеткой. Углы мельче,
   чем у полароидов: карточка крупнее, и на двух градусах она уже разъезжается. */
.news-list--tilt .news-card { transition: transform 0.25s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.news-list--tilt .tilt-0 { transform: rotate(-1.2deg); }
.news-list--tilt .tilt-1 { transform: rotate(0.9deg); }
.news-list--tilt .tilt-2 { transform: rotate(-0.6deg); }
.news-list--tilt .news-card:hover { transform: rotate(0) translateY(-3px); }
@media (prefers-reduced-motion: reduce) {
  .news-list--tilt .news-card { transform: none; }
}
.redheads-home-row { padding: 8px 6px; }

/* Полоса дропа: магазин внутри повествования. */
/* Восемь вещей при пяти колонках ложились как 5+3 — ряд с дырой.
   Четыре колонки дают два полных ряда, и карточка становится крупнее. */
.drop-band .product-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .drop-band .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .drop-band .product-grid { grid-template-columns: repeat(2, 1fr); } }
.drop-band {
  background: #121010;
  color: #f3ead3;
  padding: 8px 0 44px;
  margin-bottom: 56px;
}
.drop-band-label { color: rgba(243, 234, 211, 0.7); max-width: 60ch; margin: -6px 0 22px; }
.product-card--dark { background: #fff; color: var(--color-text); border-color: transparent; }
.product-card--dark:hover { border-color: var(--color-gold-bright); }
.poster-kicker {
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin: 0 0 12px;
}

/* ---- Стиль: образы с голосами, игра «Какой год?», вещи с историей ---- */
.chapter--tight { padding-bottom: 8px; }
.looks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 26px 22px;
  padding: 10px 6px 4px;
}
.look { margin: 0; }
.look img, .look video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.look-caption { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.look-title { font-size: 0.9rem; color: var(--color-text); }
.look-vote {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--color-border); background: transparent; color: var(--color-muted);
  border-radius: 999px; padding: 4px 10px; font: inherit; font-size: 0.85rem; cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.look-vote:hover { border-color: var(--color-accent); color: var(--color-accent); }
.look-vote[aria-pressed="true"] { border-color: var(--color-accent); color: var(--color-accent); cursor: default; transform: scale(1.04); }
.look-vote-mark { font-size: 0.95rem; line-height: 1; }

.wear-list { display: grid; gap: 22px; }
.wear-item {
  display: grid; grid-template-columns: 180px 1fr; gap: 18px; align-items: start;
  padding: 18px 0; border-top: 1px solid var(--color-border);
}
.wear-item:last-child { border-bottom: 1px solid var(--color-border); }
.wear-photo { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.wear-name { margin: 0 0 6px; font-family: var(--font-display); font-size: 1.25rem; }
.wear-story { margin: 0 0 8px; color: var(--color-text); max-width: 62ch; }
.wear-link { font-weight: 600; }
.style-brands-line { color: var(--color-muted); margin: 0; }
@media (max-width: 640px) {
  .wear-item { grid-template-columns: 1fr; }
  .wear-photo { max-width: 240px; }
}

/* ---- Свежее: общая лента последних записей на главной ---- */
/* «Что нового»: карточки с обложками. Строками читалось как служебный список,
   а у записей есть картинки — по ним и выбирают. */
.fresh { margin: 30px 0 10px; }
.fresh-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.fresh-title { font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-muted); }
.fresh-list {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 14px 12px;
  /* Шесть в ряд мелкими кадрами: это не глава, а строка «что нового»,
     она должна проглядываться одним движением глаз и не спорить с главами
     ниже. Записей ровно шесть — ряд заполняется целиком. */
  grid-template-columns: repeat(6, 1fr);
}
@media (max-width: 1000px) { .fresh-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .fresh-list { grid-template-columns: repeat(2, 1fr); } }
.fresh-list .fresh-name { font-size: 0.86rem; }
.fresh-list .fresh-date { font-size: 0.72rem; }
.fresh-list .fresh-kind { font-size: 0.6rem; padding: 2px 6px; left: 6px; bottom: 6px; }
.fresh-item a { display: block; color: var(--color-text); text-decoration: none; }
.fresh-shot {
  position: relative; display: block; aspect-ratio: var(--shot-story); margin-bottom: 8px;
  border-radius: 8px; overflow: hidden; background: #f1ece1;
}
.fresh-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.fresh-item a:hover .fresh-shot img { transform: scale(1.04); }
.fresh-letter {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 3rem; color: var(--color-gold-deep);
  background: linear-gradient(160deg, #f6efe0, #e8dcc2);
}
.fresh-kind {
  position: absolute; left: 8px; bottom: 8px;
  font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff; background: rgba(20, 16, 10, 0.72); padding: 3px 8px; border-radius: 4px;
}
.fresh-name { display: block; font-weight: 600; line-height: 1.3; }
.fresh-item a:hover .fresh-name { color: var(--color-accent); }
.fresh-date { display: block; margin-top: 3px; font-size: 0.8rem; color: var(--color-muted); }
@media (prefers-reduced-motion: reduce) { .fresh-shot img { transition: none; } }

/* ---- Игры на /music ---- */
.games-grid-page { margin-bottom: 32px; }
/* Портфолио: комп-карта из шести кадров и полоса с фактами. */
.portfolio-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 14px 0 18px; }
.portfolio-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 15%; display: block; border-radius: 8px; }
.portfolio-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 14px; padding: 0; list-style: none; font-size: 0.9rem; }
.portfolio-facts strong { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-muted); }
.portfolio-actions { display: flex; flex-wrap: wrap; gap: 10px; }
/* «Стиль → Сейчас» (26.09.2026): свежие кадры 2025–2026 открыто — первый крупно на две
   строки, остальные сеткой; подпись с годом снизу по кадру. Бренду нужен Лев сегодня. */
.style-now { list-style: none; margin: 4px 0 22px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 12px; }
.style-now__cell { margin: 0; min-width: 0; }
.style-now__cell--lead { grid-column: span 2; grid-row: span 2; }
.style-now__fig { position: relative; margin: 0; height: 100%; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: #f1ece2; }
.style-now__cell--lead .style-now__fig { aspect-ratio: auto; }
.style-now__fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.style-now__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px; font-size: 0.78rem; line-height: 1.3; color: #fff8e6; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7)); }
.style-now__year { font-family: 'Courier New', ui-monospace, monospace; font-weight: 700; color: #ffc54d; margin-right: 6px; }
@media (max-width: 640px) {
  .style-now { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}
.flip-invite--contest { margin-top: 8px; font-weight: 500; }
/* «Показать ещё» у лент с galleryLimit (partials/gallery-section.ejs, 26.09.2026). */
.gallery-more { display: flex; justify-content: center; margin: 14px 0 0; }
@media (max-width: 700px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }
.game-tile-where { font-size: 0.76rem; color: var(--color-muted); margin-top: 2px; }
.game-tile-art { padding-top: 0; overflow: hidden; }
.game-tile-cover { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; display: block; margin: 0 0 12px; border-radius: 8px; }
.ads-brands { max-width: 68ch; color: var(--color-text); font-size: 0.95rem; }

/* Шоурил в портфолио: одно-два видео во всю ширину колонки. */
.showreel { display: grid; gap: 16px; margin: 14px 0 18px; }
.showreel-item { margin: 0; }
.showreel-item figcaption { margin-top: 6px; font-size: 0.85rem; color: var(--color-muted); }
.game-contest-line {
  margin: 14px 0 0; padding: 12px 16px; border: 1px dashed var(--color-border);
  border-radius: var(--radius); font-size: 0.92rem; color: var(--color-muted);
}

/* Короткие врезки со ссылкой на игры: на главной, у трека, в 404. */
.home-games-line, .track-game-line {
  margin: 18px 0 26px; padding: 14px 18px; border: 1px dashed var(--color-border);
  border-radius: var(--radius); font-size: 0.92rem; color: var(--color-muted);
}
.not-found-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* «Обо мне»: почты по темам и ссылки группами. */
.about-contacts-lead { color: var(--color-muted); max-width: 62ch; }
.about-mails { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 6px; }
.about-mails li { font-size: 0.95rem; }
.about-mails span { color: var(--color-muted); font-size: 0.85rem; }
.about-links-title { margin: 18px 0 8px; font-size: 0.95rem; }

/* Подкаст: карточка выпуска — обложка слева, текст справа. */
.episode-list { display: grid; gap: var(--grid-gap); }
.episode-card {
  display: flex; gap: 16px; align-items: flex-start; text-decoration: none; color: inherit;
  border: 1px solid var(--color-border); border-radius: var(--radius); padding: 14px; background: #fff;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.episode-cover { width: 140px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.episode-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 0.78rem; color: var(--color-muted); }
.episode-guest { font-weight: 700; color: var(--color-accent); }
.episode-soon { border: 1px solid var(--color-border); border-radius: 999px; padding: 1px 8px; }
.episode-title { margin: 6px 0 4px; font-size: 1.05rem; }
.episode-note { margin: 0; font-size: 0.88rem; color: var(--color-muted); }
.episode-soon-line { margin: 8px 0 0; font-size: 0.9rem; color: var(--color-muted); max-width: 52ch; }
@media (max-width: 560px) { .episode-cover { width: 96px; } }

/* «В кадре»: краткая стат-строка под шапкой — опыт одним взглядом. */
.screen-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 14px 0 0; padding: 0; }
.screen-stats li { display: flex; flex-direction: column; line-height: 1.15; }
.screen-stats strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--color-text); }
.screen-stats span { font-size: 0.8rem; color: var(--color-muted); }
@media (max-width: 480px) { .screen-stats { flex-direction: column; gap: 8px; } } /* на телефоне три пары строк в столбик, иначе рвутся (QA 27.09) */

/* Фильмография: послужной список работ карточками, отдельно от бэкстейджа. */
.filmography { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.credit-card {
  border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 16px; background: #fff; transition: border-color 0.2s ease, transform 0.15s ease;
}
.credit-card:hover { border-color: var(--color-accent); transform: translateY(-2px); }
.credit-year { font-size: 0.78rem; letter-spacing: 0.06em; color: var(--color-muted); }
.credit-title { font-family: var(--font-display); font-size: 1.12rem; margin: 4px 0 8px; }
.credit-title a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--color-border); }
.credit-title a:hover { border-color: var(--color-accent); }
.credit-role {
  display: inline-block; font-size: 0.74rem; padding: 2px 9px; border-radius: 999px;
  border: 1px solid var(--color-border); color: var(--color-muted);
}
.credit-role.is-lead { border-color: var(--color-accent); color: var(--color-gold-deep); background: rgba(184, 134, 11, 0.1); font-weight: 700; }
.credit-note { margin: 8px 0 0; font-size: 0.85rem; color: var(--color-muted); }
.backstage-head { font-family: var(--font-display); font-size: 1rem; color: var(--color-muted); margin: 6px 0 12px; font-weight: 600; }

/* Карточка дропа с обложкой: картинка сверху, текст под ней. */
.drop-card-art { padding-top: 0; overflow: hidden; }
.drop-card-cover { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; margin-bottom: 12px; border-radius: 8px; }
.games-grid { gap: var(--grid-gap); display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.game-tile {
  display: flex; flex-direction: column; gap: 6px; padding: 18px;
  border: 1px solid var(--color-border); border-radius: var(--radius); color: var(--color-text); text-decoration: none;
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.game-tile:hover { border-color: var(--color-accent); transform: translateY(-2px); }
.game-tile-kicker { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-muted); }
.game-tile-title { font-family: var(--font-display); font-size: 1.2rem; }
.game-tile-note { color: var(--color-muted); font-size: 0.92rem; }
.game { max-width: 640px; }
.game-card { border: 1px solid var(--color-border); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; }
.game-round { color: var(--color-muted); margin: 0 0 12px; }
.game-options { display: grid; gap: 8px; margin: 16px 0 10px; }
.game-option {
  text-align: left; padding: 12px 14px; border: 1px solid var(--color-border); border-radius: var(--radius);
  background: transparent; color: var(--color-text); font: inherit; cursor: pointer;
}
.game-option:hover:not(:disabled) { border-color: var(--color-accent); }
.game-option.is-hit { border-color: var(--color-accent); background: rgba(184, 134, 11, 0.12); }
.game-option.is-miss { opacity: 0.55; text-decoration: line-through; }
.game-option:disabled { cursor: default; }
.game-verdict { min-height: 1.4em; margin: 0 0 10px; }
.game-share { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.game-score { font-size: 1.3rem; margin: 0 0 6px; }
.game-back { margin-top: 24px; }
.quiz { max-width: 640px; }
.quiz-q { border: 1px solid var(--color-border); border-radius: var(--radius); padding: 16px 18px; margin: 0 0 14px; }
.quiz-q legend { font-weight: 600; padding: 0 6px; }
.quiz-num { display: inline-block; min-width: 1.6em; color: var(--color-accent); font-family: var(--font-display); }
.quiz-a { display: flex; gap: 10px; align-items: flex-start; padding: 8px 4px; cursor: pointer; }
.quiz-a input { width: auto; margin-top: 4px; }
.quiz-kicker { color: var(--color-muted); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.8rem; margin: 0 0 4px; }
.quiz-result { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: start; max-width: 760px; }
.quiz-cover { width: 100%; aspect-ratio: 1; object-fit: cover; }
.quiz-audio { width: 100%; margin: 8px 0 12px; }
@media (max-width: 640px) { .quiz-result { grid-template-columns: 1fr; } .quiz-cover { max-width: 240px; } }
.set-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.set-track {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 10px;
  border: 1px solid var(--color-border); border-radius: var(--radius); background: transparent; color: var(--color-text); font: inherit; cursor: pointer; text-align: left;
}
.set-track img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.set-track:hover:not(:disabled) { border-color: var(--color-accent); }
.set-track.is-picked { border-color: var(--color-accent); box-shadow: inset 0 0 0 1px var(--color-accent); }
.set-track:disabled { opacity: 0.4; cursor: default; }
.set-track-order {
  position: absolute; top: 6px; left: 6px; min-width: 26px; height: 26px; padding: 0 6px;
  display: inline-flex; align-items: center; justify-content: center; border-radius: 999px;
  background: var(--color-accent); color: #111; font-family: var(--font-display); font-size: 0.9rem;
}
.set-track-order:empty { display: none; }
.set-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.set-go[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.set-view { max-width: 640px; }
.set-list { list-style: none; margin: 0 0 6px; padding: 0; counter-reset: set; }
.set-item {
  display: grid; grid-template-columns: 28px 56px 1fr auto; gap: 12px; align-items: center;
  padding: 10px 6px; border-top: 1px solid var(--color-border); cursor: pointer;
}
.set-item::before { counter-increment: set; content: counter(set, decimal-leading-zero); color: var(--color-muted); font-family: var(--font-display); }
.set-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; }
.set-item-title { font-weight: 600; }
.set-item-release { color: var(--color-muted); font-size: 0.85rem; }
.set-item.is-playing .set-item-title { color: var(--color-accent); }
.set-item-state { color: var(--color-accent); }

/* Плашка «приём заказов не открыт» в корзине */
.notice { border: 1px solid var(--color-border); border-radius: var(--radius); padding: 16px 18px; }
.notice-muted { background: rgba(0,0,0,0.02); }
.notice-muted p { margin: 6px 0 0; color: var(--color-muted); }


/* ---- Карточки: одно поведение на весь сайт ----
   Раньше одна сетка подсвечивала рамку, другая приподнимала карточку,
   третья увеличивала фотографию — на главной это читалось как набор
   чужих друг другу блоков. Теперь правило одно для всех. */
.news-card,
.product-card,
.spotlight-card,
.episode-card,
.drop-card,
.game-tile {
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.news-card:hover,
.product-card:hover,
.spotlight-card:hover,
.episode-card:hover,
.drop-card:hover,
.game-tile:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}
.product-card--dark:hover { border-color: var(--color-gold-bright); }
/* Полароиды рыжих и лента «Что нового» держат свои приёмы — наклон и
   приближение кадра: они и так читаются как одна семья. */

/* Дневник: обложка как кадр, не полотно; карточка дропа, к которому запись. */
.diary-cover { width: 100%; max-height: 440px; object-fit: cover; border-radius: var(--radius); margin-bottom: 20px; display: block; }
.diary-drop { display: flex; gap: 18px; align-items: center; padding: 16px 18px; margin: 28px 0 8px; text-decoration: none; }
.diary-drop.drop-card-art { padding-top: 16px; }
.diary-drop-cover { width: 140px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; flex-shrink: 0; margin: 0; }
.diary-drop-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.diary-drop .drop-name { font-family: var(--font-display); font-weight: 700; }
.diary-drop-more { margin-top: 6px; font-size: 0.9rem; font-weight: 600; color: var(--color-accent); }
@media (max-width: 560px) { .diary-drop { flex-direction: column; align-items: flex-start; } .diary-drop-cover { width: 100%; aspect-ratio: 4 / 3; } }
/* Дроп: записи дневника о нём. */
.drop-diary { margin-top: 44px; }
.drop-diary h2 { margin-bottom: 14px; }

/* Стоп/пуск бегущей строки (кнопка в шапке, состояние помнит bg-music.js). */
.music-ticker__pause {
  flex-shrink: 0; width: 22px; height: 22px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(143, 198, 92, 0.55); background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; color: #8FC65C;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.music-ticker__pause:hover, .music-ticker__pause:focus-visible { background: rgba(143, 198, 92, 0.14); border-color: #8FC65C; outline: none; }
.music-ticker__pause-icon { display: block; width: 8px; height: 8px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; box-sizing: border-box; }
.music-ticker.is-paused .music-ticker__pause-icon { width: 0; height: 0; border: 0; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-left: 2px; }
.music-ticker.is-paused .music-ticker__track { animation-play-state: paused; }
@media (max-width: 640px) { .music-ticker__pause { width: 20px; height: 20px; } }

/* Главная, глава «Рыжие»: призыв вписаться в подборку. */
.redheads-home-cta { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; margin-top: 18px; padding: 16px 20px; border: 1px dashed var(--color-accent); border-radius: var(--radius); background: rgba(184, 134, 11, 0.06); }
.redheads-home-cta p { margin: 0; max-width: 56ch; color: var(--color-text); }
.redheads-home-cta .btn { white-space: nowrap; }

/* Креативы: приглашение в подкаст под списком выпусков. */
.creatives-invite { color: var(--color-muted); max-width: 62ch; margin: 18px 0 0; line-height: 1.55; }
.creatives-invite .btn { display: inline-block; margin-top: 12px; }

/* Бегущая строка без полосы прокрутки: когда анимация выключена (reduced motion
   или телефон), строка листается пальцем/колесом, но скроллбар под ней не рисуем —
   он ломал шапку. Края растворяются, чтобы было видно, что строка продолжается. */
.music-ticker__viewport { scrollbar-width: none; -ms-overflow-style: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.music-ticker__viewport::-webkit-scrollbar { display: none; height: 0; }
.music-ticker__track { will-change: transform; }
@media (max-width: 640px) { .music-ticker__track { animation: none; } .music-ticker__viewport { overflow-x: auto; } .music-ticker__pause { display: none; } }
/* «Меньше движения» — бегущая строка стоит и на компьютере (04.10.2026: правило было только для телефона) */
@media (prefers-reduced-motion: reduce) { .music-ticker__track { animation: none; } .music-ticker__viewport { overflow-x: auto; } .music-ticker__pause { display: none; } }

/* Дневник: врезки кадров внутри текста ([[кадр N]]) и их появление при прокрутке. */
.diary-inline { margin: 26px 0 30px; }
.diary-inline img, .diary-inline video { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); display: block; background: #f2f2f2; }
.diary-inline .gallery-embed-frame { border-radius: var(--radius); overflow: hidden; }
.diary-inline figcaption { margin-top: 8px; font-size: 0.85rem; color: var(--color-muted); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Галерея: заголовок + переключатель «Лента / Плитка»; плитка — те же кадры сеткой. */
.gallery-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.gallery-head h2:empty { display: none; }
.strip-toggle { display: flex; gap: 6px; margin-left: auto; }
.strip-toggle__btn { border: 1px solid var(--color-border); background: transparent; color: var(--color-muted); padding: 4px 12px; border-radius: 999px; font: inherit; font-size: 0.8rem; cursor: pointer; }
.strip-toggle__btn.active { border-color: var(--color-accent); color: var(--color-text); font-weight: 600; }
.filmstrip.filmstrip--grid { overflow: visible; scroll-snap-type: none; }
.filmstrip.filmstrip--grid .filmstrip-track { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 34px 16px; min-width: 0; width: auto; }
.filmstrip.filmstrip--grid .film-cell { width: auto; }
.filmstrip.filmstrip--grid .gallery-item { width: 100%; }
.filmstrip.filmstrip--grid .gallery-item img, .filmstrip.filmstrip--grid .gallery-item video { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

/* Анонс разделов страницы: номера глав ссылками на якоря. */
.chapter-index { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 32px; }
.chapter-index__item { display: inline-flex; align-items: baseline; gap: 8px; padding: 6px 14px; border: 1px solid var(--color-border); border-radius: 999px; color: var(--color-text); text-decoration: none; font-size: 0.92rem; transition: border-color 0.2s ease, background 0.2s ease; }
.chapter-index__item:hover { border-color: var(--color-accent); background: rgba(184, 134, 11, 0.06); color: var(--color-text); }
.chapter-index__num { font-family: var(--font-display); font-weight: 800; color: var(--color-accent); font-size: 0.8rem; letter-spacing: 0.06em; }
.poster + .chapter-index, .fresh + .chapter-index { margin-top: -24px; }

/* Подразделы внутри главы («Вдохновительный лев»: образы, что вдохновляет). */
.chapter-sub { margin-top: 34px; }
.chapter-subtitle { margin: 0 0 6px; font-size: 1.15rem; font-family: var(--font-display); }

/* Перевёртыши как пульт (26.09.2026, вариант «Б» — хот-кью и экран, как на CDJ).
   Корпус деки тёмный на светлой странице; слева/сверху экран: «обложка трека» — надпись
   неоном, которая переворачивается кадром, справа строка HOT CUE, надпись, год крупными
   цифрами и волна с меткой. Пэды хот-кью A–H — силиконовые кнопки с цветной светодиодной
   полоской; цвет — переменная --c (рубрика или буква). Разметка — partials/flip-wall.ejs.
   Цвета — из палитры хот-кью rekordbox (26.09.2026). Полоска и свечение — чистый цвет
   rekordbox, а буквы и цифры — он же, разбавленный белым через color-mix: синий #305AFF или
   красный #E62828 на корпусе #1d1812 дают около 3:1, мелкая буква тонула. */
.flip-deck {
  --deck-ink: #fff4dc;
  position: relative;
  margin: 6px 0 0;
  padding: 18px 20px 18px;
  border-radius: 18px;
  color: var(--deck-ink);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, 0.05), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #1d1812, #15110d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 -2px 0 rgba(0, 0, 0, 0.6), 0 18px 40px -18px rgba(20, 12, 4, 0.7);
}
/* Винты корпуса */
.flip-deck::before, .flip-deck::after {
  content: ''; position: absolute; top: 10px; width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #6b6258, #221c16 70%);
}
.flip-deck::before { left: 10px; }
.flip-deck::after { right: 10px; }
.flip-deck__top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 14px; margin: 0 6px 14px; }
.flip-deck__brand { font-family: var(--font-display); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.2em; color: rgba(255, 244, 220, 0.82); }
.flip-deck__label { font-family: 'Courier New', ui-monospace, monospace; font-size: 0.72rem; letter-spacing: 0.24em; color: rgba(255, 244, 220, 0.5); }
.flip-deck__modes { display: flex; flex-wrap: wrap; gap: 6px; }
.flip-mode {
  display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 6px; background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 244, 220, 0.72); font: inherit; font-size: 0.8rem; cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.flip-mode i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 6px var(--c); opacity: 0.55; }
.flip-mode:hover { color: var(--deck-ink); border-color: rgba(255, 255, 255, 0.3); }
.flip-mode.is-active { color: #fff; border-color: var(--c); background: rgba(255, 255, 255, 0.06); }
.flip-mode.is-active i { opacity: 1; }
.flip-mode__n { font-family: 'Courier New', ui-monospace, monospace; font-size: 0.72rem; opacity: 0.7; }
.flip-mode:focus-visible, .flip-deck__page-btn:focus-visible { outline: 2px solid var(--color-gold-bright); outline-offset: 2px; }

.flip-deck__body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; align-items: start; }

/* ---- Экран ---- */
.flip-screen {
  --c: #28E214;
  display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 14px;
  padding: 12px; border-radius: 10px;
  background: linear-gradient(180deg, #0b0f10, #06090a);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), inset 0 0 40px rgba(0, 0, 0, 0.8);
  font-family: 'Courier New', ui-monospace, monospace; color: #cfe9e4;
}
.flip-screen__art { position: relative; aspect-ratio: 3 / 4; perspective: 900px; }
.flip-screen__in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.flip-screen__art.is-open .flip-screen__in { transform: rotateY(180deg); }
.flip-screen__note, .flip-screen__photo {
  position: absolute; inset: 0; border-radius: 6px; overflow: hidden;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
/* Надпись неоновой трубкой: белая сердцевина и свечение цвета пэда. */
.flip-screen__note {
  display: flex; align-items: center; justify-content: center; padding: 12%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 16%, #0c0c0c), #070707 75%);
}
.flip-screen__cap {
  margin: 0; text-align: center; font-family: var(--font-script); font-size: 1.2rem; line-height: 1.15; color: #fff7ea;
  text-shadow: 0 0 1px #fff, 0 0 5px var(--c), 0 0 12px var(--c), 0 0 26px color-mix(in srgb, var(--c) 60%, transparent);
  transform: rotate(-2deg);
}
.flip-screen__photo {
  transform: rotateY(180deg); display: block; width: 100%; padding: 0; border: 0; background: #000; cursor: zoom-in; font: inherit; color: inherit;
  box-shadow: 0 0 0 1px var(--c), 0 0 16px color-mix(in srgb, var(--c) 55%, transparent);
}
.flip-screen__photo:focus-visible { outline: 3px solid var(--color-gold-bright); outline-offset: 2px; }
.flip-screen__media, .flip-screen__media img, .flip-screen__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.flip-screen__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #fff8e6; background: radial-gradient(circle at 50% 45%, #3b3026, #14110e 72%); }
.flip-screen__date { position: absolute; right: 8px; bottom: 7px; z-index: 1; font-weight: 700; font-size: 0.8rem; color: #ff8a1c; text-shadow: 0 0 1px #ff6a00, 0 0 5px rgba(255, 106, 0, 0.85); transform: skewX(-8deg); }
.flip-screen__count { position: absolute; top: 7px; left: 7px; z-index: 1; padding: 1px 7px; border-radius: 999px; background: rgba(17, 14, 10, 0.7); color: #fff8e6; font-size: 0.72rem; line-height: 1.5; }
.flip-screen__zoom { position: absolute; top: 6px; right: 6px; z-index: 1; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(17, 14, 10, 0.6); color: #fff8e6; font-size: 0.95rem; }
.flip-screen__meta { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.flip-screen__row { font-size: 0.7rem; letter-spacing: 0.14em; color: #7a9993; text-transform: uppercase; }
.flip-screen__row b { color: var(--c); color: color-mix(in srgb, var(--c) 72%, #fff); text-shadow: 0 0 6px var(--c); }
.flip-screen__row--year { margin-top: 4px; }
.flip-screen__title { margin: 0; font-family: var(--font-display); font-size: 1.02rem; line-height: 1.3; color: #eafffb; overflow-wrap: break-word; }
.flip-screen__big { font-size: 1.7rem; font-weight: 700; letter-spacing: 0.06em; color: var(--c); color: color-mix(in srgb, var(--c) 80%, #fff); text-shadow: 0 0 10px var(--c); line-height: 1.1; }
.flip-screen__credit { font-size: 0.72rem; color: #7a9993; min-height: 1em; }
.flip-screen__wave { display: flex; align-items: center; gap: 2px; height: 48px; margin-top: auto; padding-top: 6px; }
.flip-screen__wave i { flex: 1; height: 30%; border-radius: 1px; background: linear-gradient(180deg, #3fd1ff, #1b6e8a); opacity: 0.8; transition: height 0.35s ease; }
.flip-screen__wave i.is-past { opacity: 0.4; }
.flip-screen__wave i.is-cue { background: var(--c); box-shadow: 0 0 6px var(--c); opacity: 1; }

/* ---- Пэды хот-кью ---- */
.flip-pads { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.flip-pad-cell { margin: 0; min-width: 0; }
.flip-pad {
  --c: #28E214;
  position: relative; display: flex; flex-direction: column; justify-content: flex-start; gap: 6px;
  width: 100%; aspect-ratio: 1.05; padding: 9px 9px 16px; overflow: hidden;
  border: 0; border-radius: 8px; cursor: pointer; font: inherit; text-align: left; color: rgba(255, 244, 220, 0.84);
  background: linear-gradient(180deg, #2b261f, #191510);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 3px 0 #0b0806;
  transition: transform 0.08s ease, box-shadow 0.2s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
/* Светодиодная полоска внизу пэда — цвет хот-кью. */
.flip-pad::after {
  content: ''; position: absolute; left: 10%; right: 10%; bottom: 6px; height: 4px; border-radius: 3px;
  background: var(--c); box-shadow: 0 0 8px var(--c), 0 0 16px var(--c); opacity: 0.55; transition: opacity 0.2s ease;
}
/* Подсветка горящего пэда — отдельным слоем, чтобы в такт музыке мигал только он
   (opacity дешевле тени). Надписи пэда — над ним. */
.flip-pad::before {
  content: ''; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 46%, transparent), color-mix(in srgb, var(--c) 22%, transparent));
  opacity: 0; transition: opacity 0.2s ease;
}
.flip-pad__l, .flip-pad__t { position: relative; z-index: 1; }
.flip-pad__l { font-family: 'Courier New', ui-monospace, monospace; font-weight: 700; font-size: 0.9rem; line-height: 1; color: var(--c); color: color-mix(in srgb, var(--c) 72%, #fff); text-shadow: 0 0 6px var(--c); }
.flip-pad__t { font-size: 0.74rem; line-height: 1.22; overflow-wrap: break-word; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.flip-pad__y { position: absolute; z-index: 1; top: 8px; right: 9px; font-family: 'Courier New', ui-monospace, monospace; font-size: 0.68rem; color: rgba(255, 244, 220, 0.45); }
.flip-pad:hover::after { opacity: 1; }
.flip-pad:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent), 0 3px 0 #0b0806; }
.flip-pad:active { transform: translateY(2px); box-shadow: inset 0 0 0 1px var(--c), 0 1px 0 #0b0806; }
.flip-pad:focus-visible { outline: 2px solid var(--color-gold-bright); outline-offset: 2px; }
.flip-pad.is-on {
  color: #fff; transform: translateY(2px);
  box-shadow: inset 0 0 0 1px var(--c), 0 0 18px color-mix(in srgb, var(--c) 55%, transparent), 0 1px 0 #0b0806;
}
.flip-pad.is-on::before, .flip-pad.is-on::after { opacity: 1; }
.flip-pad.is-on .flip-pad__l { color: #fff; }
.flip-pad.is-on .flip-pad__y { color: rgba(255, 255, 255, 0.75); }
/* Вспышка нажатия: пэд на миг заливается светом целиком. */
.flip-pad.is-hit { animation: flip-pad-hit 0.35s ease-out; }
@keyframes flip-pad-hit { 0% { background: var(--c); box-shadow: 0 0 34px var(--c), 0 0 70px color-mix(in srgb, var(--c) 60%, transparent); } }
/* Незаписанные хот-кью — тёмные, без полоски. */
.flip-pad--empty { cursor: default; opacity: 0.45; }
.flip-pad--empty::after { background: rgba(255, 255, 255, 0.08); box-shadow: none; opacity: 1; }
/* Пока ни один пэд не нажат, полоски «дышат» по очереди — пульт зовёт нажать. */
.flip-deck.is-idle .flip-pad-cell:not([hidden]) .flip-pad::after { animation: flip-pad-breathe 3.2s ease-in-out infinite; }
.flip-deck.is-idle .flip-pad-cell:nth-child(8n+2) .flip-pad::after { animation-delay: 0.2s; }
.flip-deck.is-idle .flip-pad-cell:nth-child(8n+3) .flip-pad::after { animation-delay: 0.4s; }
.flip-deck.is-idle .flip-pad-cell:nth-child(8n+4) .flip-pad::after { animation-delay: 0.6s; }
.flip-deck.is-idle .flip-pad-cell:nth-child(8n+5) .flip-pad::after { animation-delay: 0.8s; }
.flip-deck.is-idle .flip-pad-cell:nth-child(8n+6) .flip-pad::after { animation-delay: 1s; }
.flip-deck.is-idle .flip-pad-cell:nth-child(8n+7) .flip-pad::after { animation-delay: 1.2s; }
.flip-deck.is-idle .flip-pad-cell:nth-child(8n) .flip-pad::after { animation-delay: 1.4s; }
@keyframes flip-pad-breathe { 0%, 70%, 100% { opacity: 0.45; } 35% { opacity: 1; } }
/* Играет музыка — горящий пэд и метка на волне пульсируют в темп трека, как пэд Launchpad
   в режиме pulse: полный свет на долю, тусклый между ними, период — две доли (--beat).
   Темп и фазу ставит public/js/flip-wall.js; музыка на паузе — класса нет, пэд просто горит. */
.flip-deck.is-beat .flip-pad.is-on::before,
.flip-deck.is-beat .flip-screen__wave i.is-cue { animation: flip-beat var(--beat, 1s) ease-in-out var(--beat-phase, 0s) infinite; }
@keyframes flip-beat { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.flip-deck__pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 14px 0 0; }
.flip-deck__page-btn {
  width: 44px; height: 40px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 6px;
  background: rgba(0, 0, 0, 0.3); color: var(--deck-ink); font: inherit; font-size: 0.8rem; cursor: pointer;
}
.flip-deck__page-btn:hover { border-color: rgba(255, 255, 255, 0.35); }
.flip-deck__page { font-family: 'Courier New', ui-monospace, monospace; font-size: 0.8rem; letter-spacing: 0.16em; color: #7a9993; }
.flip-deck__page b { color: #eafffb; }

.flip-invite { margin: 22px 0 0; text-align: center; font-weight: 600; }
.flip-invite__go { white-space: nowrap; }

/* Планшет: экран над пэдами. */
@media (max-width: 900px) {
  .flip-deck__body { grid-template-columns: 1fr; }
}
/* Телефон: пэды по два в ряд, чтобы надпись читалась целиком (до 4 строк). */
@media (max-width: 560px) {
  .flip-deck { padding: 16px 10px 14px; border-radius: 14px; }
  .flip-screen { grid-template-columns: minmax(0, 44%) minmax(0, 1fr); gap: 10px; padding: 10px; }
  .flip-screen__cap { font-size: 1rem; }
  .flip-screen__title { font-size: 0.92rem; }
  .flip-screen__big { font-size: 1.35rem; }
  .flip-screen__wave { height: 36px; }
  .flip-pads { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .flip-pad { aspect-ratio: auto; min-height: 92px; }
  .flip-pad__t { font-size: 0.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .flip-screen__in { transition: none; }
  .flip-pad, .flip-screen__wave i { transition: none; }
  .flip-pad.is-hit { animation: none; }
  .flip-deck.is-idle .flip-pad::after { animation: none; }
  .flip-deck.is-beat .flip-pad.is-on::before, .flip-deck.is-beat .flip-screen__wave i.is-cue { animation: none; }
}

/* Просмотрщик перевёртыша: лента кадров во весь экран (свайп — нативная прокрутка
   со scroll-snap), под ней надпись карточки на полоске той же бумаги. */
.flip-viewer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  background: rgba(14, 11, 8, 0.97);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff8e6;
}
.flip-viewer__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px 6px; }
.flip-viewer__count { font-family: 'Courier New', ui-monospace, monospace; font-size: 0.9rem; letter-spacing: 0.14em; color: rgba(255, 248, 230, 0.75); }
.flip-viewer__close, .flip-viewer__nav {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font: inherit;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}
.flip-viewer__close { margin-left: auto; }
.flip-viewer__close:hover, .flip-viewer__nav:hover { background: rgba(255, 255, 255, 0.24); }
.flip-viewer__close:focus-visible, .flip-viewer__nav:focus-visible { outline: 2px solid var(--color-gold-bright); outline-offset: 2px; }
.flip-viewer__nav:disabled { opacity: 0.22; cursor: default; }
.flip-viewer__stage { position: relative; flex: 1; min-height: 0; }
.flip-viewer__track {
  position: absolute;
  inset: 0;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.flip-viewer__track::-webkit-scrollbar { display: none; }
.flip-viewer__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 68px;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
.flip-viewer__slide img, .flip-viewer__slide video { display: block; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.flip-viewer__embed {
  position: relative;
  width: 100%;
  max-width: calc((100vh - 220px) * 16 / 9);
  max-width: calc((100dvh - 220px) * 16 / 9);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
}
.flip-viewer__embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Зарубежный плеер — по нажатию, как везде на сайте (utils/videoEmbed.js). */
.flip-viewer__consent {
  position: absolute;
  inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 0 16px;
  border: 0;
  background: #171310;
  color: #fff8e6;
  font: inherit;
  font-size: 15px;
  text-align: center;
  cursor: pointer;
}
.flip-viewer__consent b { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: #d99a2b; color: #211a12; font-size: 26px; transition: background-color 0.2s ease; }
.flip-viewer__consent:hover b, .flip-viewer__consent:focus-visible b { background: var(--color-gold-bright); }
.flip-viewer__consent small { font-size: 12px; opacity: 0.7; }
.flip-viewer__prev, .flip-viewer__next { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); }
.flip-viewer__prev { left: 12px; }
.flip-viewer__next { right: 12px; }
.flip-viewer__note {
  align-self: center;
  width: min(640px, calc(100% - 32px));
  margin: 12px 0 18px;
  padding: 10px 18px 12px;
  border-radius: 3px;
  background: #f6efdf;
  color: #23407a;
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.6);
  transform: rotate(-0.6deg);
}
.flip-viewer__text { margin: 0; font-family: var(--font-script); font-size: 1.35rem; line-height: 1.2; text-shadow: 0 0 0.6px rgba(35, 64, 122, 0.5); }
.flip-viewer__meta { margin: 4px 0 0; font-family: 'Courier New', ui-monospace, monospace; font-size: 0.75rem; letter-spacing: 0.1em; color: #665e52; }
.flip-viewer:focus { outline: none; }
@media (max-width: 640px) {
  .flip-viewer__slide { padding: 0 8px; }
  .flip-viewer__prev, .flip-viewer__next { font-size: 1.3rem; background: rgba(0, 0, 0, 0.45); }
  .flip-viewer__prev { left: 6px; }
  .flip-viewer__next { right: 6px; }
  .flip-viewer__text { font-size: 1.15rem; }
  .flip-viewer__note { margin-bottom: 12px; }
}

/* Дневник: плитка кадров под текстом (без киноплёнки), подпись при наведении. */
.diary-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.diary-grid__item { position: relative; margin: 0; border-radius: 8px; overflow: hidden; background: #f2f2f2; cursor: zoom-in; }
.diary-grid__item img, .diary-grid__item video { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.diary-grid__item.is-embed { aspect-ratio: 16 / 10; cursor: default; }
.diary-grid__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 10px 8px; font-size: 0.8rem; color: #fff8e6; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72)); opacity: 0; transition: opacity 0.25s ease; pointer-events: none; }
.diary-grid__item:hover .diary-grid__caption, .diary-grid__item:focus-within .diary-grid__caption { opacity: 1; }
@media (hover: none) { .diary-grid__caption { opacity: 1; padding-top: 18px; } }

/* Врезки в тексте: уже колонки, подпись при наведении. */
.diary-inline { max-width: 560px; margin: 24px auto 28px; position: relative; }
.diary-inline img, .diary-inline video { max-height: 420px; }
.diary-inline figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 26px 12px 10px; font-size: 0.82rem; color: #fff8e6; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7)); border-radius: 0 0 var(--radius) var(--radius); opacity: 0; transition: opacity 0.25s ease; }
.diary-inline:hover figcaption, .diary-inline:focus-within figcaption { opacity: 1; }
@media (hover: none) { .diary-inline figcaption { opacity: 1; } }

/* «История» — та же лента без плёнки, по образцу Embla Carousel («Scale» + Autoplay,
   js/gallery-story.js): кадры в ряд на чистом фоне, тот, что в центре, в полный рост
   и с подписью под ним, соседи меньше и бледнее — размер и прозрачность ставит скрипт
   от расстояния до центра. Под лентой дорожка сегментов по числу кадров и панель:
   ‹ ❚❚ › 3/12 и секунды на кадр. Плёночная лента при включённой истории спрятана. */
.filmstrip.filmstrip--story { display: none; }
.story { margin: 0 0 28px; }
.story__viewport {
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none; outline: none;
  scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  cursor: grab; user-select: none; -webkit-user-select: none;
  /* края растворяются, чтобы ряд не обрывался жёстко */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.story__viewport::-webkit-scrollbar { display: none; }
.story__viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.story__viewport:focus-visible { box-shadow: inset 0 0 0 2px var(--color-accent); }
/* зазор маленький: соседи и так отступают от центрального за счёт уменьшения */
.story__track { display: flex; align-items: flex-start; gap: 2px; padding: 12px 0 6px; }
.story__spacer { flex: 0 0 calc(50vw - 160px); }
.story__cell { flex: 0 0 auto; scroll-snap-align: center; }
.story__inner { display: flex; flex-direction: column; align-items: center; transform-origin: 50% 40%; will-change: transform, opacity; }
.story__media { height: min(52vh, 420px); border-radius: 6px; overflow: hidden; background: #f1ece2; box-shadow: 0 12px 34px rgba(40, 28, 8, 0.22), 0 1px 4px rgba(40, 28, 8, 0.1); }
.story__media img, .story__media video { display: block; height: 100%; width: auto; max-width: min(80vw, 640px); object-fit: cover; }
.story__embed { height: 100%; aspect-ratio: 16 / 9; }
.story__embed iframe { width: 100%; height: 100%; border: 0; }
/* подпись под кадром: год мелким моноширинным золотом, текст крупно; ширина — как у кадра,
   но не уже 200 px, чтобы фраза не ломалась столбиком у узких портретов.
/* width: 0 + min-width: 100% — подпись не раздвигает кадр под длину фразы, а ложится по его ширине */
.story__caption { margin: 14px 0 0; padding: 0 2px; width: 0; min-width: max(100%, 200px); min-height: 84px; text-align: center; opacity: 0; }
.story__year { display: block; font-family: 'Courier New', monospace; font-size: 0.72rem; letter-spacing: 0.18em; color: var(--color-accent); margin-bottom: 4px; }
.story__text { display: block; font-family: var(--font-display); font-size: 1.12rem; line-height: 1.35; color: var(--color-text); }
/* дорожка сегментов — по одному на кадр, текущий заполняется за отведённые секунды */
.story__progress { display: flex; gap: 4px; margin: 10px 2px 0; }
.story__seg { flex: 1; height: 3px; border-radius: 2px; background: var(--color-border); overflow: hidden; }
.story__seg i { display: block; height: 100%; width: 100%; background: var(--color-accent); transform: scaleX(0); transform-origin: left; }
.story__seg.is-done i { transform: none; }
/* панель: ‹ ❚❚ › 3/12 и справа секунды на кадр (−/+, шаг 1 с) */
.story__bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin: 12px 0 0; font-size: 0.82rem; color: var(--color-muted); }
.story__btn { border: 1px solid var(--color-border); background: transparent; color: var(--color-text); width: 34px; height: 34px; border-radius: 50%; font: inherit; font-size: 0.95rem; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.story__btn:hover:not(:disabled) { border-color: var(--color-accent); color: var(--color-accent); }
.story__btn:disabled { opacity: 0.35; cursor: default; }
.story__play { font-size: 0.72rem; }
.story__count { font-variant-numeric: tabular-nums; margin-left: 4px; }
.story__speed { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.story__speed-label { margin-right: 2px; }
.story__speed-val { font-variant-numeric: tabular-nums; min-width: 1.4em; text-align: right; color: var(--color-text); font-weight: 600; }
.story__speed-unit { margin-left: -2px; }
@media (max-width: 700px) {
  .story__spacer { flex-basis: calc(50vw - 110px); }
  .story__media { height: min(46vh, 340px); }
  .story__media img, .story__media video { max-width: calc(100vw - 56px); }
  .story__caption { min-height: 92px; }
  .story__text { font-size: 1rem; }
  .story__speed { margin-left: 0; width: 100%; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .story__viewport { scroll-behavior: auto; }
}

/* «Плитка» у кинолент — обычная сетка без перфорации и подписей плёнки. */
.filmstrip.filmstrip--grid { background: none; padding: 0; border: 0; }
.filmstrip.filmstrip--grid .filmstrip-track { background: none; padding: 0; gap: 12px; }
.filmstrip.filmstrip--grid .film-cell::before, .filmstrip.filmstrip--grid .film-cell::after { display: none; }
.filmstrip.filmstrip--grid .gallery-item { border-radius: 8px; box-shadow: none; }
.filmstrip.filmstrip--grid .gallery-item img, .filmstrip.filmstrip--grid .gallery-item video { aspect-ratio: 1 / 1; border-radius: 8px; }

/* Анонс глав — тонкие контурные плашки: золотой номер, спокойная подпись.
   Полоса стоит между «Что нового» и первой главой, поэтому ей нужен воздух
   с обеих сторон, а не тень и тёмная заливка, которые спорят с кадрами. */
.chapter-index { gap: 8px 10px; margin: 0 0 40px; }
.chapter-index__item { padding: 7px 16px 7px 8px; border: 1px solid rgba(166, 124, 10, 0.45); background: transparent; color: var(--color-text); font-size: 0.92rem; font-weight: 500; letter-spacing: 0.01em; box-shadow: none; }
.chapter-index__item:hover { background: rgba(184, 134, 11, 0.08); border-color: var(--color-accent); color: var(--color-text); }
.chapter-index__num { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 5px; border-radius: 999px; background: transparent; border: 1px solid rgba(166, 124, 10, 0.55); color: var(--color-accent); font-size: 0.74rem; }
.chapter-index__item:hover .chapter-index__num { background: var(--color-accent); border-color: var(--color-accent); color: #fff8e6; }
.fresh + .chapter-index { margin-top: 28px; }
.poster + .chapter-index { margin-top: 8px; }

/* Бегущая строка: название — ссылка на страницу трека, ▸ рядом — включить/пауза. */
.music-ticker__item { text-decoration: none; }
.music-ticker__play { flex-shrink: 0; width: 18px; height: 18px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--color-gold-bright); cursor: pointer; font-size: 0.7rem; line-height: 18px; display: inline-flex; align-items: center; justify-content: center; opacity: 0.75; }
.music-ticker__play::before { content: "\25B8"; }
.music-ticker__play:hover, .music-ticker__play:focus-visible { opacity: 1; background: rgba(240, 196, 25, 0.16); outline: none; }
.music-ticker__play.is-playing { opacity: 1; background: var(--color-gold-bright); color: #17130D; }
.music-ticker__play.is-playing::before { content: "\2016"; font-weight: 700; }

/* Анимации к треку компактнее: ниже кадр, теснее лента, прокрутка колесом и пальцем. */
.anim-strip .anim-frame { height: 200px; }
.anim-strip .filmstrip-track { gap: 12px; }
.anim-strip { scrollbar-width: thin; }
@media (max-width: 700px) { .anim-strip .anim-frame { height: 170px; } }
h1.mk-cover-name { margin: 0; }

/* Трек: описание на уровне обложки; анимации — кадрами той же киноленты, что и остальные галереи. */
.release-hero > div { flex: 1 1 320px; min-width: 0; }
.track-lead { margin: 6px 0 14px; max-width: 60ch; line-height: 1.6; color: var(--color-text); font-size: 0.98rem; white-space: pre-wrap; }
.track-lead p { margin: 0 0 8px; }
.anim-strip .anim-frame { height: 160px; width: auto; aspect-ratio: 9 / 16; }
.anim-strip .anim-frame video { height: 100%; width: 100%; object-fit: cover; }
@media (max-width: 700px) { .anim-strip .anim-frame { height: 160px; } }

/* Оформление: город+индекс в ряд, варианты доставки от СДЭК. */
.checkout-city-row { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.checkout-city-row label { min-width: 0; }
@media (max-width: 520px) { .checkout-city-row { grid-template-columns: 1fr; } }
.shipping-quote { border: 1px solid var(--color-border); border-radius: var(--radius); padding: 12px 14px; margin: 0 0 16px; background: #fffaf0; }
.shipping-quote-title { font-weight: 700; margin-bottom: 8px; }
.shipping-option { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; }
.shipping-option input { width: auto; margin: 0; }
.shipping-option-name { flex: 1; }
.shipping-option-meta { color: var(--color-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Оформление: список пунктов выдачи СДЭК. */
.pickup-list { max-height: 260px; overflow-y: auto; border: 1px solid var(--color-border); border-radius: var(--radius); margin: -6px 0 14px; background: #fff; }
.pickup-item { display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--color-border); padding: 8px 12px; cursor: pointer; font: inherit; color: var(--color-text); }
.pickup-item:last-child { border-bottom: 0; }
.pickup-item:hover, .pickup-item.is-selected { background: #fff7dd; }
.pickup-item.is-selected { box-shadow: inset 3px 0 0 var(--color-accent); }
.pickup-item-address { display: block; font-weight: 600; }
.pickup-item-meta { display: block; font-size: 0.82rem; color: var(--color-muted); margin-top: 2px; }

/* Страница услуги «Коллегам за копеечку» */
.services-list { margin: 0; padding-left: 18px; color: var(--color-muted); font-size: 0.9rem; line-height: 1.5; }
.services-list li { margin-bottom: 6px; }
.services-list-wide { font-size: 1rem; color: inherit; line-height: 1.6; }
.services-list-wide li { margin-bottom: 10px; }
.services-note { color: var(--color-muted); font-size: 0.9rem; margin-top: 4px; }
.services-table td:first-child { white-space: nowrap; font-weight: 600; }
/* Кабинет: с доверенностью и без — две равные колонки, на телефоне листается вбок */
.cabinet-table th:not(:first-child), .cabinet-table td:not(:first-child) { width: 44%; min-width: 200px; vertical-align: top; }
.cabinet-table td:first-child { white-space: normal; min-width: 90px; vertical-align: top; }
.services-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.services-order { margin-top: 14px; }
.offer-card .hint { margin: 10px 0 0; }
/* Условия формата списком (брендам: подборка «Рыжие», кастинг) — на карточке и в медиаките */
.offer-terms { margin: 0; padding-left: 18px; color: var(--color-muted); font-size: 0.86rem; line-height: 1.5; }
.offer-terms li { margin-bottom: 6px; }
.offer-terms li::marker { color: var(--color-accent); }

/* Страница заказа по ссылке (/order/<токен>) */
.order-meta { color: var(--color-muted); margin-top: -8px; margin-bottom: 20px; }
/* Оплатить неоплаченный заказ и ориентир срока (04.10.2026) */
.order-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: -6px 0 20px; }
.order-pay .hint { margin: 0; }
.order-eta { margin: -6px 0 24px; }
.order-steps { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-wrap: wrap; gap: 0; counter-reset: step; }
.order-step { flex: 1 1 0; min-width: 88px; padding: 10px 8px 10px 0; font-size: 0.9rem; color: var(--color-muted); border-top: 3px solid var(--color-border); }
.order-step.is-done { border-top-color: var(--color-accent); color: inherit; }
.order-step.is-current span { font-weight: 700; }
.order-step::before { counter-increment: step; content: counter(step) ". "; }
.order-table { min-width: 0; table-layout: auto; }
.order-table td { padding: 8px 4px; }
.order-table td:first-child { width: 100%; }
.order-qty { color: var(--color-muted); white-space: nowrap; }
.order-sum { text-align: right; white-space: nowrap; }
.order-total td { font-weight: 700; border-bottom: 0; }

/* Отзывы */
.review-list { display: flex; flex-direction: column; gap: 14px; }
.review { border: 1px solid var(--color-border); border-radius: var(--radius); padding: 14px 16px; background: #fffefb; }
.review-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: 0.92rem; }
.review-stars { color: var(--color-accent); letter-spacing: 1px; }
.review-stars-off { color: var(--color-border); }
.review-subject, .review-date { color: var(--color-muted); }
.review-date { margin-left: auto; font-size: 0.85rem; }
.review-body { margin: 8px 0 0; white-space: pre-wrap; line-height: 1.55; }
.rating-field { border: 0; padding: 0; margin: 0; }
.rating-field legend { font-size: 0.92rem; margin-bottom: 6px; }
.rating-stars { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.rating-stars input { position: absolute; opacity: 0; width: 0; height: 0; }
.rating-stars label { font-size: 1.9rem; line-height: 1; color: var(--color-border); cursor: pointer; }
.rating-stars input:checked ~ label, .rating-stars label:hover, .rating-stars label:hover ~ label { color: var(--color-accent); }

/* Лицензии IPEX */
.track-license { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--color-border); }
.music-license p { max-width: 640px; line-height: 1.6; margin-bottom: 14px; }

/* ── Золотые значки (18.09.2026) ─────────────────────────────────────────
   То же золото, что у знака и кнопки корзины: градиент #lk-gold задан в
   шапке (partials/header), значки берут его через fill/stroke. Заливные
   иконки (fill="currentColor") — заливкой, контурные (stroke="currentColor")
   — обводкой; трогать оба сразу нельзя, иначе контурная иконка зальётся. */
.badge-icon circle { fill: url(#lk-gold); }
.badge-icon path { stroke: var(--color-gold-ink); }

.bg-audio-link {
  background: linear-gradient(180deg, var(--color-gold-shine) 0%, var(--color-gold-bright) 45%, var(--color-accent) 100%);
  color: var(--color-gold-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -2px 3px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(184, 134, 11, 0.35);
}
.bg-audio-link:hover { background: linear-gradient(180deg, var(--color-gold-shine) 0%, var(--color-gold-bright) 60%, var(--color-accent) 100%); color: var(--color-gold-ink); }

.to-top {
  background: linear-gradient(180deg, var(--color-gold-shine) 0%, var(--color-gold-bright) 45%, var(--color-accent) 100%);
  color: var(--color-gold-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -2px 3px rgba(0, 0, 0, 0.15), 0 2px 10px rgba(0, 0, 0, 0.25);
}
.to-top:hover { background: linear-gradient(180deg, var(--color-gold-shine) 0%, var(--color-gold-bright) 60%, var(--color-accent) 100%); }

/* Соцсети в подвале: на белом кружке золотой знак; при наведении — как было, кружок золотой, знак тёмный */
.social-icon svg[fill="currentColor"] { fill: url(#lk-gold); }
.social-icon:hover svg[fill="currentColor"] { fill: var(--color-gold-ink); }

/* Кнопки «поделиться» */
.share-btn { border-color: #e6cf8a; }
.share-btn svg[fill="currentColor"] { fill: url(#lk-gold); }
.share-btn svg[stroke="currentColor"], .share-btn svg [stroke="currentColor"] { stroke: url(#lk-gold); }
.share-btn:hover { border-color: var(--color-accent); background: #fffaf0; }

/* Ссылка на band.link в таблице релизов */
.bandlink-icon { stroke: url(#lk-gold); }

/* Звёзды отзывов */
.review-stars {
  background: linear-gradient(180deg, var(--color-gold-shine) 0%, var(--color-gold-bright) 40%, var(--color-accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.review-stars .review-stars-off { background: none; -webkit-text-fill-color: var(--color-border); color: var(--color-border); }

/* Кнопки воспроизведения: в списке треков, в бегущей строке; выбранная оценка в дневнике */
.track-row-play:hover, .track-row-play.is-playing,
.diary-mark.is-mine {
  background: linear-gradient(180deg, var(--color-gold-shine) 0%, var(--color-gold-bright) 45%, var(--color-accent) 100%);
  border-color: var(--color-accent);
  color: var(--color-gold-ink);
}
.music-ticker__play.is-playing {
  background: linear-gradient(180deg, var(--color-gold-shine) 0%, var(--color-gold-bright) 45%, var(--color-accent) 100%);
  color: var(--color-gold-ink);
}

/* Кнопка меню на телефоне: полоски золотые */
.nav-toggle-bar { background: linear-gradient(90deg, var(--color-accent), var(--color-gold-bright)); }

/* Кнопка Telegram в блоке «Обсуждаем в канале» — золотая, как остальные наши кнопки;
   ВКонтакте, X и Facebook остаются в своих фирменных цветах. */
.channel-cta-btn:not(.channel-cta-btn--vk):not(.channel-cta-btn--x):not(.channel-cta-btn--fb) {
  background: linear-gradient(180deg, var(--color-gold-shine) 0%, var(--color-gold-bright) 45%, var(--color-accent) 100%);
  color: var(--color-gold-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -2px 3px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(184, 134, 11, 0.35);
}
.channel-cta-btn:not(.channel-cta-btn--vk):not(.channel-cta-btn--x):not(.channel-cta-btn--fb):hover {
  background: linear-gradient(180deg, var(--color-gold-shine) 0%, var(--color-gold-bright) 60%, var(--color-accent) 100%);
  color: var(--color-gold-ink);
}

/* Заявка в «Рыжие»: выбор возраста и поля родителя (18.09) */
.age-field { border: 1px solid var(--color-border); border-radius: var(--radius); padding: 10px 14px 6px; margin: 0 0 16px; }
.age-field legend { padding: 0 6px; font-weight: 600; font-size: 0.92rem; }
.redhead-apply label.age-option { display: flex; flex-direction: row; align-items: flex-start; gap: 8px; margin: 0 0 8px; font-size: 0.92rem; font-weight: 500; cursor: pointer; }
.redhead-apply .age-option input[type="radio"] { width: auto; margin: 3px 0 0; flex-shrink: 0; }
.guardian-fields { border-left: 3px solid var(--color-gold-bright); padding-left: 12px; margin: 4px 0 8px; }
/* Семейная заявка (21.09): блоки «вы» и «о семье» как поля родителя,
   каждый член семьи — в своей рамке. */
.family-lead { margin: 28px 0 8px; font-weight: 600; }
.family-heading { margin: 0 0 12px; }
.family-fields { border: 0; border-left: 3px solid var(--color-gold-bright); padding: 0 0 0 12px; margin: 4px 0 12px; }
.family-fields legend { padding: 0; margin-bottom: 8px; font-weight: 600; font-size: 0.92rem; }
.family-fields .hint, .family-member .hint, .redhead-apply p.hint { display: block; margin-top: 4px; font-weight: 400; font-size: 0.85rem; color: var(--color-muted); }
.family-member .link-btn { background: none; border: 0; padding: 0; color: var(--color-muted); font: inherit; font-size: 0.85rem; cursor: pointer; text-decoration: underline; }
.family-member { border: 1px solid var(--color-border); border-radius: var(--radius); padding: 10px; margin-top: 10px; }
.family-member-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.family-count { margin: 0; font-size: 0.88rem; color: var(--color-muted); }
/* Признаки для подбора (кастинг, 21.09): компактные ряды полей в заявке и в брифе бренда */
.casting-fields { margin-top: 8px; }
.casting-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 10px; }
.casting-row-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.casting-row label { margin-bottom: 8px; font-size: 0.88rem; }
.casting-row input, .casting-row select { width: 100%; min-width: 0; }
@media (max-width: 480px) { .casting-row, .casting-row-4 { grid-template-columns: 1fr 1fr; } }
/* Фильтр подбора в админке */
.casting-filter { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 16px; }
.casting-filter input, .casting-filter select { width: auto; padding: 6px 8px; font-size: 0.85rem; }
.redhead-apply label.check-option { display: flex; flex-direction: row; align-items: flex-start; gap: 8px; margin: 10px 0; font-weight: 500; font-size: 0.92rem; cursor: pointer; }
.redhead-apply .check-option input[type="checkbox"] { width: auto; margin: 4px 0 0; flex-shrink: 0; }
/* Хвост семейной формы: кнопка «ещё» в DOM после «Отправить» (чтобы Enter отправлял
   форму), на экран поднимается через order над галочками. */
.family-tail { display: flex; flex-direction: column; }
.family-tail > .btn { align-self: flex-start; }
.redhead-apply [data-member-more], .redhead-apply [data-member-add], .redhead-apply .family-members + button { order: -1; margin: 12px 0 4px; }
.consent-page { max-width: 68ch; }
.consent-page ul { padding-left: 22px; }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

/* Кабинет без пароля (18.09) */
.my-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.my-head h1 { margin-bottom: 4px; }
.my-email { margin: 0 0 8px; color: var(--color-muted); }
.my-section { margin: 28px 0; }
.my-section h2 { margin-bottom: 12px; }
.my-orders { display: grid; gap: 10px; }
.my-order { display: block; padding: 14px 16px; border: 1px solid var(--color-border); border-radius: var(--radius); color: inherit; text-decoration: none; background: #fff; transition: border-color 0.2s ease; }
.my-order:hover { border-color: var(--color-accent); color: inherit; }
.my-order-top { display: flex; justify-content: space-between; gap: 12px; }
.my-order-date { color: var(--color-muted); font-size: 0.9rem; }
.my-order-items { margin: 4px 0 8px; color: var(--color-text); }
.my-order-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.88rem; color: var(--color-muted); }
.my-status { color: var(--color-accent); font-weight: 600; }
.my-status-cancelled { color: #991b1b; }
.my-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.my-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border: 1px solid var(--color-border); border-radius: var(--radius); background: #fff; }
.my-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.btn-small { padding: 6px 12px; font-size: 0.85rem; }
@media (max-width: 560px) { .my-list li { flex-direction: column; align-items: flex-start; } }

/* Кнопка «В мои рецепты» на карте ароматов */
.ar-keep-box { flex-basis: 100%; width: 100%; margin-top: 4px; font-size: 0.85rem; }
.ar-keep-box form { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.ar-keep-box input[type="email"] { flex: 1; min-width: 160px; padding: 6px 8px; margin: 0; font-size: 0.85rem; }
.ar-keep-box .ar-keep-msg { display: block; margin-top: 6px; color: var(--color-muted); }

/* Вопросы и ответы раздела (partials/faq): аккордеон на <details>, без скриптов */
.faq-list { max-width: 68ch; border-top: 1px solid var(--color-border); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 14px 0; font-weight: 600; line-height: 1.4; color: var(--color-text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; flex: none; width: 1em; text-align: center; font-weight: 400; font-size: 1.15em;
  color: var(--color-muted); transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--color-accent); }
.faq-answer { padding: 0 2em 16px 0; color: var(--color-muted); line-height: 1.6; }
.faq-answer a { color: var(--color-text); text-decoration: underline; text-underline-offset: 2px; }
.faq-answer a:hover { color: var(--color-accent); }

/* «Рыжие» (23.09.2026): шапка «цвет + портрет + цитата» по мотивам журнальных шапок
   и «живые обложки». Палитра раздела — нейтральный тёплый серо-бежевый вокруг,
   насыщенный цвет остаётся только у волос на фото. Цвет заливки — с фото героя (utils/tone.js). */
.rh-hero {
  display: grid;
  grid-template-columns: 42fr 58fr;
  min-height: min(640px, 82svh);
  margin: 8px 0 28px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--rh-tone, #e2d9cd);
}
.rh-hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 32px;
  color: #2b2320;
}
.rh-hero-kicker {
  margin: 0 0 18px;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: inherit;
}
.rh-hero-title { font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.15; margin: 0 0 16px; color: inherit; }
.rh-hero-quote { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 2.8vw, 2.5rem); line-height: 1.22; margin: 0 0 14px; max-width: 18ch; }
.rh-hero-who { margin: 0 0 16px; font-size: 0.9rem; opacity: 0.8; }
.rh-hero-intro { max-width: 40ch; margin: 0 0 22px; font-size: 0.95rem; line-height: 1.55; opacity: 0.85; }
.rh-hero-cta {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.rh-hero-cta:hover { background: rgba(43, 35, 32, 0.08); color: inherit; }
.rh-hero-media { position: relative; min-height: 320px; background: #d7d0c4; }
.rh-hero-media img,
.rh-hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}
.rh-hero-credit { position: absolute; right: 10px; bottom: 8px; margin: 0; font-size: 0.7rem; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }
.rh-hero-credit a { color: inherit; }
@media (max-width: 760px) {
  .rh-hero { grid-template-columns: 1fr; min-height: 0; }
  .rh-hero-panel { padding: 30px 20px; }
  .rh-hero-media { aspect-ratio: 2 / 3; max-height: 78svh; }
}
.rh-page .spotlight-card { background: #f5f1eb; border-color: #e3dbcf; }
.rh-page .spotlight-photo { background-color: #d7d0c4; }
video.spotlight-photo { width: 100%; object-fit: cover; }
.rh-hero--solo { grid-template-columns: 1fr; min-height: 0; }
.rh-hero--solo .rh-hero-panel { padding: 48px 32px; }

/* ===== Страница фильма /film/<slug> и карточки фильмографии со страницей (23.09.2026) =====
   Один блок на всё: views/film.ejs, partials/film-credits.ejs. Карточка работы со своей
   страницей кликается целиком (растянутая ссылка заголовка), показывает обложку и что
   лежит на странице. Сама страница: шапка с ролью и премьерой → плеер фильма → «О фильме»
   (текст слева, создатели справа) → «За кадром» → пресса → остальная фильмография. */
.credit-card.has-page { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.credit-card.has-page .credit-title a { border-bottom-color: var(--color-accent); }
.credit-card.has-page .credit-title a::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); }
.credit-card.has-page:focus-within { border-color: var(--color-accent); }
.credit-cover { width: calc(100% + 32px); max-width: none; margin: -16px -16px 12px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; display: block; }
.credit-page { align-self: stretch; margin: auto 0 0; padding-top: 10px; display: flex; justify-content: space-between; gap: 10px; font-size: 0.8rem; color: var(--color-gold-deep); font-weight: 600; }
.credit-page-go { transition: transform 0.2s ease; }
.credit-card.has-page:hover .credit-page-go { transform: translateX(3px); }

.film-hero { text-align: left; }
.film-hero .release-hero-cover.film-hero-cover { width: 220px; height: auto; aspect-ratio: 3 / 4; }
.film-hero h1 { font-size: 2rem; line-height: 1.15; }
.film-hero .hero-tagline { margin: 0 0 12px; font-size: 1rem; }
.film-hero .drop-season a { color: inherit; text-decoration: none; }
.film-hero .drop-season a:hover { text-decoration: underline; text-underline-offset: 3px; }
.film-meta { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 6px; font-size: 0.95rem; }
.film-meta li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.film-meta-k { min-width: 96px; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-muted); }
.film-hero-btn { margin-top: 2px; }

.video-embed.film-embed { max-width: 960px; }

.film-about { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px 44px; align-items: start; }
.film-about .chapter-subtitle { margin-top: 26px; }
.film-about-main > .chapter-subtitle:first-child { margin-top: 0; }
.film-prose { white-space: pre-line; max-width: 68ch; margin-bottom: 0; }
.film-facts { list-style: none; margin: 10px 0 0 5px; padding: 0; border-left: 2px solid var(--color-gold-light); max-width: 68ch; }
.film-facts li { position: relative; padding: 0 0 14px 18px; display: grid; gap: 2px; }
.film-facts li::before { content: ''; position: absolute; left: -6px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--color-accent); }
.film-fact-date { font-size: 0.78rem; letter-spacing: 0.04em; color: var(--color-muted); }
.film-fact-text a { white-space: nowrap; font-size: 0.85rem; }
.film-crew { border: 1px solid var(--color-border); border-radius: var(--radius); padding: 16px 18px; background: #fff; }
.film-crew .chapter-subtitle { margin-top: 0; }
.film-crew dl { margin: 10px 0 0; }
.film-crew dt { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-muted); margin-top: 10px; }
.film-crew dt:first-child { margin-top: 0; }
.film-crew dd { margin: 2px 0 0; font-weight: 600; }

.film-press { list-style: none; margin: 0; padding: 0; max-width: 760px; border-top: 1px solid var(--color-border); }
.film-press li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--color-border); }
.film-press-src { font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-muted); }
.film-press a { color: var(--color-text); font-weight: 600; text-decoration: none; }
.film-press a:hover { color: var(--color-accent); text-decoration: underline; text-underline-offset: 3px; }
.film-press a::after { content: ' ↗'; color: var(--color-muted); font-weight: 400; }

@media (max-width: 760px) {
  .film-about { grid-template-columns: minmax(0, 1fr); }
  .film-hero .release-hero-cover.film-hero-cover { width: 100%; max-width: 320px; }
  .film-hero h1 { font-size: 1.6rem; }
  .film-meta-k { min-width: 0; flex-basis: 100%; }
}
/* ===== /Страница фильма ===== */

/* ===== Музыка: абзац «как менялось звучание» под «Альбомы и EP» (23.09.2026) =====
   Текст — settings.music_story (Страницы → Музыка). pre-line: абзацы из админки не слипаются. */
.music-story { max-width: 64ch; margin: -6px 0 18px; line-height: 1.7; white-space: pre-line; }
.music-story a { text-decoration: underline; text-underline-offset: 2px; }

/* Правила конкурса «Твой выход под трек» (23.09.2026): страница /contest/rules в стиле
   юридических документов, плашка черновика для админа, пометки [утвердить: …] в тексте
   и ссылка на правила на странице конкурса. */
.contest-rules-doc p { overflow-wrap: anywhere; }
.contest-rules-todo {
  padding: 0 4px;
  border-radius: 4px;
  background: #fff1b8;
  color: var(--color-gold-ink);
  font-weight: 600;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.contest-rules-draft {
  max-width: 78ch;
  margin: 12px 0 0;
  padding: 12px 16px;
  border: 1px dashed var(--color-accent);
  border-radius: var(--radius);
  background: var(--color-gold-shine);
  font-size: 0.92rem;
  line-height: 1.5;
}
.contest-rules-draft p { margin: 0; }
.contest-rules-draft p + p { margin-top: 8px; }
.contest-rules-back { margin: 24px 0 8px; }
.contest-rules-link { margin: 10px 0 0; font-size: 0.95rem; }
.contest-rules-link a { color: var(--color-text); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.contest-rules-link a:hover { color: var(--color-accent); }
.contest-rules-draft-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border: 1px dashed var(--color-accent);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--color-muted);
}
.contest-rules-accept { margin: 0 0 12px; }

/* ==== Официальный звук: «Снять ролик под этот трек» (23.09.2026) ====
   Кнопки на страницу звука в VK Клипах / YouTube Shorts / TikTok (partials/sound-buttons):
   на странице трека (partials/shoot-block) и в блоке «Официальный звук конкурса» на /contest.
   На телефоне — во всю ширину и выше обычных кнопок: жмут одним пальцем на ходу. */
.shoot-lead { margin: 0 0 12px; max-width: 60ch; color: var(--color-muted); }
.sound-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 12px; }
.sound-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; text-align: center; }
.sound-btn-note { font-size: 1.1em; line-height: 1; }
.contest-sound { padding: 18px 20px 20px; border: 1px solid #e6cf8a; border-radius: var(--radius); background: #fdf6e0; }
.contest-sound h2 { margin-top: 0; }
.contest-sound-track { margin: 0 0 12px; max-width: 60ch; }
.contest-sound-template { margin: 0 0 12px; }
.contest-sound .hint { margin: 0; }
@media (max-width: 640px) {
  .sound-btns { flex-direction: column; }
  .sound-btn { display: flex; width: 100%; min-height: 54px; font-size: 1.05rem; }
  .contest-sound { padding: 16px 14px 18px; }
}

/* ==== «Слушать всё списком» и «Где слушать» (23.09.2026) ====
   Вкладки площадок, список треков, заглушки чужих плееров и мини-панель очереди
   внизу экрана (public/js/listen-queue.js, partials/listen-where.ejs). Панель тёмная,
   как неоновая вывеска, — не спорит с золотыми кнопками страницы; на телефоне в одну
   строку высотой 58px, «наверх» и полоса cookie поднимаются над ней. */
:root { --listen-bar-h: 64px; }

.listen-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 14px; border-bottom: 1px solid var(--color-border); }
.listen-tab {
  font: inherit; font-size: 0.92rem; font-weight: 600; padding: 8px 14px; margin-bottom: -1px;
  background: none; border: 0; border-bottom: 3px solid transparent; color: var(--color-muted); cursor: pointer;
}
.listen-tab:hover { color: var(--color-text); }
.listen-tab.is-active { color: var(--color-text); border-bottom-color: var(--color-accent); }
.listen-tab:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.listen-note { color: var(--color-muted); font-size: 0.9rem; max-width: 64ch; margin: 0 0 12px; }
.listen-start-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 10px; }
.listen-start-hint { color: var(--color-muted); font-size: 0.85rem; }
.listen-list-wrap > summary { cursor: pointer; font-weight: 600; margin: 4px 0 8px; width: fit-content; }
.listen-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.listen-item { display: flex; align-items: center; gap: 12px; padding: 5px 10px; border-radius: var(--radius); }
.listen-item:hover { background: #faf6ea; }
.listen-item .track-row-play { width: 30px; height: 30px; }
.listen-item-title { font-weight: 600; color: var(--color-text); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.listen-item-title:hover { color: var(--color-accent); }
.listen-item-release { margin-left: auto; color: var(--color-muted); font-size: 0.85rem; white-space: nowrap; }
.listen-item.is-current,
.track-row.is-current { background: #faf6ea; box-shadow: inset 3px 0 0 var(--color-accent); }

.listen-embed {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 12px; padding: 14px;
  border: 1px dashed var(--color-border); border-radius: var(--radius); background: #fffdf7;
}
.listen-embed[data-loaded] { display: block; padding: 0; border: 0; background: none; }
.listen-embed-hint { color: var(--color-muted); font-size: 0.8rem; }
.listen-frame { display: block; width: 100%; border: 0; border-radius: var(--radius); }
.listen-embed.is-video .listen-frame { height: auto; aspect-ratio: 16 / 9; }
.listen-open { margin: 0; }

.listen-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  display: flex; align-items: center; gap: 12px;
  height: calc(var(--listen-bar-h) + env(safe-area-inset-bottom, 0px));
  padding: 0 12px env(safe-area-inset-bottom, 0px);
  background: #17130D; color: #F3ECDD; box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.18);
}
.listen-bar__progress { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: rgba(243, 236, 221, 0.15); cursor: pointer; }
.listen-bar__progress::before { content: ''; position: absolute; left: 0; right: 0; top: -6px; bottom: -6px; }
.listen-bar__fill { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--color-accent), var(--color-gold-bright)); }
.listen-bar__cover { width: 40px; height: 40px; flex-shrink: 0; border-radius: 4px; object-fit: cover; }
.listen-bar__meta { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.listen-bar__title { color: #fff; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.listen-bar__title:hover { color: var(--color-gold-bright); }
.listen-bar__sub { color: #B9AD95; font-size: 0.78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.listen-bar__controls { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.listen-bar__btn {
  width: 40px; height: 40px; flex-shrink: 0; padding: 0; display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: transparent; color: #F3ECDD; cursor: pointer;
}
.listen-bar__btn svg { width: 22px; height: 22px; }
.listen-bar__btn:hover { background: rgba(243, 236, 221, 0.12); }
.listen-bar__btn:disabled { opacity: 0.35; cursor: default; background: transparent; }
.listen-bar__btn:focus-visible { outline: 2px solid var(--color-gold-bright); outline-offset: 2px; }
.listen-bar__btn--toggle,
.listen-bar__btn--toggle:hover {
  width: 44px; height: 44px; color: var(--color-gold-ink);
  background: linear-gradient(180deg, var(--color-gold-shine) 0%, var(--color-gold-bright) 45%, var(--color-accent) 100%);
}
.listen-bar__btn--close { width: 32px; height: 32px; color: #B9AD95; }
.listen-bar__btn--close svg { width: 18px; height: 18px; }
body.has-listen-bar { padding-bottom: calc(var(--listen-bar-h) + env(safe-area-inset-bottom, 0px)); }
body.has-listen-bar .to-top { bottom: calc(var(--listen-bar-h) + env(safe-area-inset-bottom, 0px) + 14px); }
body.has-listen-bar .cookie-bar { bottom: calc(var(--listen-bar-h) + env(safe-area-inset-bottom, 0px) + 12px); }
@media (max-width: 560px) {
  :root { --listen-bar-h: 58px; }
  .listen-bar { gap: 8px; padding-left: 10px; padding-right: 6px; }
  .listen-bar__cover { width: 36px; height: 36px; }
  .listen-bar__btn { width: 36px; height: 36px; }
  .listen-bar__btn--toggle, .listen-bar__btn--toggle:hover { width: 42px; height: 42px; }
  .listen-item-release { display: none; }
  .listen-tab { padding: 8px 10px; font-size: 0.88rem; }
}
@media (max-width: 360px) { .listen-bar__cover { display: none; } }

/* «Рыжие» (23.09.2026): анкеты по шагам (js/form-steps.js) и семейная заявка под кнопкой
   (js/family-form.js). Всё включает скрипт; без него формы видны целиком, как раньше. */
.form-steps-hint { margin: 2px 0 0; font-size: 0.85rem; color: var(--color-muted); }
.form-steps-hint::before { content: '↓ '; content: '↓ ' / ''; color: var(--color-accent); font-weight: 700; }
.form-steps-live { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.family-lead.is-toggle { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.family-toggle { font-size: 0.92rem; padding: 8px 16px; }
.family-toggle::after {
  content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 10px; vertical-align: 3px;
  border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform 0.2s ease;
}
.family-toggle[aria-expanded="true"]::after { transform: rotate(-135deg); vertical-align: -1px; }
@media (prefers-reduced-motion: reduce) { .family-toggle::after { transition: none; } }
/* Сообщение после отправки и якоря анкет (#submit, #family) не уходят под липкое меню (50px, шире 860px). */
@media (min-width: 861px) { .rh-page [id] { scroll-margin-top: 64px; } }

/* ===== «Брендам» (24.09.2026): общий проект + реклама + отчёт; /brands/redheads — «Рыжие» для брендов ===== */
.br-hero {
  display: grid;
  grid-template-columns: 38fr 62fr;
  min-height: min(560px, 78svh);
  margin: 8px 0 40px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f5f1eb;
  border: 1px solid #e3dbcf;
}
.br-hero-media { position: relative; min-height: 320px; background: #d7d0c4; }
.br-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.br-hero-panel { display: flex; flex-direction: column; justify-content: center; padding: 40px clamp(22px, 4vw, 56px); }
.br-hero:not(:has(.br-hero-media)) { grid-template-columns: 1fr; min-height: 0; }
.br-kicker { margin: 0 0 14px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-muted); }
.br-title { font-family: var(--font-display); font-size: clamp(1.45rem, 2.5vw, 2.15rem); line-height: 1.2; margin: 0 0 12px; max-width: 26ch; }
/* Подпись Льва под фразой «Зовите меня…» — как подпись под цитатой */
.br-sign { margin: 0 0 18px; font-size: 0.9rem; font-style: italic; color: var(--color-muted); }
.br-lead { font-size: 1.02rem; line-height: 1.6; margin: 0 0 12px; max-width: 58ch; }
.br-who { margin: 0 0 22px; color: var(--color-muted); font-size: 0.92rem; }
.br-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 12px; }
@media (max-width: 760px) {
  .br-hero { grid-template-columns: 1fr; min-height: 0; }
  .br-hero-media { aspect-ratio: 4 / 5; min-height: 0; max-height: 70svh; }
  .br-hero-panel { padding: 26px 18px 24px; }
}

.br-section { margin: 0 0 40px; }
.br-section > h2 { margin: 0 0 16px; }
.br-steps { list-style: none; counter-reset: br-step; padding: 0; margin: 0 0 14px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--grid-gap); }
.br-steps li { counter-increment: br-step; border: 1px solid var(--color-border); border-radius: calc(var(--radius) * 1.25); padding: 18px; }
.br-steps h3 { margin: 0 0 8px; font-size: 1.05rem; }
.br-steps h3::before { content: counter(br-step) ". "; color: var(--color-accent); }
.br-steps p { margin: 0; font-size: 0.92rem; line-height: 1.55; color: var(--color-muted); }
.br-note { max-width: 70ch; line-height: 1.6; margin: 0; }
/* «Узнаёте себя?» — четыре части фразы из BandLink = четыре типа брендов */
.br-worlds { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--grid-gap); }
.br-worlds li { background: #f5f1eb; border: 1px solid #e3dbcf; border-radius: calc(var(--radius) * 1.25); padding: 16px 18px; line-height: 1.55; font-size: 0.93rem; }
.br-worlds strong { display: block; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 4px; }
.br-price { font-family: var(--font-display); font-size: 1.1rem; line-height: 1.5; max-width: 60ch; margin: 0 0 16px; padding-left: 14px; border-left: 3px solid var(--color-accent); }
.br-muted { color: var(--color-muted); font-size: 0.9rem; line-height: 1.55; }

.br-case { display: grid; grid-template-columns: 200px 1fr; gap: 22px; align-items: start; }
.br-case-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); display: block; }
.br-case-text p { margin: 0 0 12px; max-width: 64ch; line-height: 1.6; }
.br-case-audio { max-width: 420px; margin: 0 0 12px; }
@media (max-width: 560px) { .br-case { grid-template-columns: 1fr; } .br-case-media { max-width: 220px; } }

.br-terms { margin: 0; padding-left: 20px; max-width: 72ch; }
.br-terms li { margin-bottom: 8px; line-height: 1.55; }
.br-terms li::marker { color: var(--color-accent); }

/* Баннер «Рыжие» — в тонах шапки /redheads */
.promo-banner--rh { background: #e2d9cd; border-color: #d3c7b6; color: #2b2320; }
.promo-banner--rh .promo-banner-subtitle { color: #4a3f39; max-width: 60ch; }

.br-form-section > p { max-width: 64ch; }
@media (min-width: 861px) { .br-form-section { scroll-margin-top: 64px; } }
.mk-subhead { margin: 18px 0 0; font-size: 0.95rem; }
.br-form { max-width: 560px; }
.br-form .consent-row { display: flex; align-items: flex-start; gap: 8px; font-weight: 400; }
.br-form .consent-row input { width: auto; margin-top: 4px; flex-shrink: 0; }
.br-form .consent-row .hint { display: block; margin-top: 4px; font-size: 0.85rem; color: var(--color-muted); }
.br-form label > .hint { display: block; margin-top: 4px; font-weight: 400; font-size: 0.85rem; color: var(--color-muted); }
.br-choice { border: 0; padding: 0; margin: 0 0 14px; }
.br-choice legend { padding: 0; margin-bottom: 8px; font-weight: 600; }
.br-choice label { display: flex; align-items: center; gap: 8px; font-weight: 400; margin: 0 0 6px; }
.br-choice input { width: auto; margin: 0; }

/* /brands/redheads */
.br-back { margin: 0 0 8px; font-size: 0.9rem; }
.br-lead-plain { max-width: 64ch; line-height: 1.6; }
.br-formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--grid-gap); margin: 0 0 40px; }
.br-format { background: #f5f1eb; border: 1px solid #e3dbcf; border-radius: calc(var(--radius) * 1.25); padding: 20px; }
.br-format h2 { margin: 0 0 12px; font-size: 1.2rem; }
.br-format ol { margin: 0 0 12px; padding-left: 20px; }
.br-format li { margin-bottom: 6px; line-height: 1.5; }
.br-format p { margin: 0 0 10px; line-height: 1.55; }

/* Медиакит: обложка с портретом, таблица отчёта, джинглы */
.mk-cover--photo { display: grid; grid-template-columns: 1fr 240px; gap: 0; padding: 0; overflow: hidden; text-align: left; }
.mk-cover--photo .mk-cover-text { padding: 40px 32px; display: flex; flex-direction: column; justify-content: center; }
.mk-cover-sign { margin: 14px 0 0; font-size: 0.9rem; font-style: italic; opacity: 0.85; }
.mk-cover--photo .mk-cover-tagline { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.4; margin: 14px 0 10px; }
.mk-worlds { margin: 0; padding-left: 0; list-style: none; }
.mk-worlds li { padding: 7px 0; border-bottom: 1px solid var(--color-border); line-height: 1.5; }
.mk-price { padding-left: 14px; border-left: 3px solid var(--color-accent); }
.mk-cover-media img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; object-position: center 20%; display: block; }
@media (max-width: 600px) {
  .mk-cover--photo { grid-template-columns: 1fr; }
  .mk-cover-media { order: -1; }
  .mk-cover-media img { aspect-ratio: 4 / 3; min-height: 0; height: auto; }
  .mk-cover--photo .mk-cover-text { padding: 24px 20px; }
}
.mk-steps { margin-bottom: 16px; }
.mk-offer .offer-terms { margin: 8px 0; }
.mk-list { margin: 0 0 8px; }
.mk-table-wrap { overflow-x: auto; margin: 0 0 16px; }
.mk-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.mk-table th, .mk-table td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--color-border); line-height: 1.45; }
.mk-table th { font-weight: 600; color: var(--color-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.mk-jingles { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.print-only { display: none; }
@media print {
  .print-only { display: block; }
  .mk-cover--photo { grid-template-columns: 1fr 180px; }
}

/* ---- Игра «Найди перевёртыш» (26.09.2026) ----
   /style/flip (games/flip.ejs, js/game-flip.js). Вид — дека, как стена «Перевёртыши»
   (просьба Веры 26.09): корпус .flip-deck и экран .flip-screen — со стены; на экране строка
   ROUND/SCORE с огоньками раундов, надпись-вопрос неоном, подтверждение ответа и волна.
   Ниже три пэда хот-кью A, B, C с кадрами: цвет — --c на .flip-game__slot (первые три
   цвета пульта, палитра rekordbox), подсветка — слой ::before, полоска — ::after, как
   у пэдов стены. Бумажный оборот .flip, которым игра пользовалась раньше, удалён: кроме
   игры, его никто не брал. */
.flip-game, .flip-game__back { max-width: 640px; margin-left: auto; margin-right: auto; }
.flip-game__back { text-align: center; }
.flip-game__play, .flip-game .game-final { scroll-margin-top: 72px; }
.flip-game .game-score:focus, .flip-game__note:focus { outline: none; }
.flip-game .flip-deck { margin: 0 0 18px; }

/* Экран: одна колонка. Свой --c — оранжевый #E0641B той же палитры: надпись-вопрос не
   должна совпадать по цвету ни с одним пэдом. После ответа скрипт ставит цвет нажатого
   пэда или красный. */
.flip-game__screen { --c: #E0641B; position: relative; display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; }
.flip-game__screen::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  box-shadow: inset 0 0 0 2px var(--c), inset 0 0 34px color-mix(in srgb, var(--c) 40%, transparent);
}
.flip-game__screen.is-right::after, .flip-game__screen.is-wrong::after { animation: flip-game-blink 0.8s ease-out; }
.flip-game__screen.is-right::after { opacity: 0.55; }
@keyframes flip-game-blink { 0% { opacity: 1; } }
.flip-game__status { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.flip-game__status .flip-screen__row { white-space: nowrap; }
.flip-game__status .flip-screen__row b { color: #eafffb; text-shadow: none; }
.flip-game__dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.flip-game__dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.flip-game__dots i.is-now { background: transparent; box-shadow: inset 0 0 0 1px #cfe9e4; }
.flip-game__dots i.is-hit { background: #28E214; box-shadow: 0 0 6px #28E214; }
.flip-game__dots i.is-miss { background: #E62828; box-shadow: 0 0 6px #E62828; }

/* Надпись-вопрос неоновой трубкой — как «обложка» на экране стены, только лёжа и крупно. */
.flip-game__note {
  display: flex; align-items: center; justify-content: center;
  min-height: 132px; padding: 22px 20px; border-radius: 6px; text-align: center;
  background: radial-gradient(ellipse at 50% 50%, color-mix(in srgb, var(--c) 16%, #0c0c0c), #070707 75%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.flip-game__question {
  margin: 0; max-width: 30ch;
  font-family: var(--font-script); font-size: 1.75rem; font-size: clamp(1.35rem, 5vw, 1.9rem); line-height: 1.22;
  color: #fff7ea; overflow-wrap: break-word; transform: rotate(-1.2deg);
  text-shadow: 0 0 1px #fff, 0 0 5px var(--c), 0 0 12px var(--c), 0 0 26px color-mix(in srgb, var(--c) 60%, transparent);
}
.flip-game__verdict { min-height: 2.6em; margin: 0; text-align: center; font-weight: 700; font-size: 0.9rem; line-height: 1.3; color: #cfe9e4; }
.flip-game__screen.is-right .flip-game__verdict { color: color-mix(in srgb, var(--c) 55%, #fff); text-shadow: 0 0 8px color-mix(in srgb, var(--c) 70%, transparent); }
.flip-game__screen.is-wrong .flip-game__verdict { color: #ff9d9d; }
/* Волна: метка — раунд игры. Слой ::after у каждой полоски — для светового шоу. */
.flip-game__wave { height: 36px; margin-top: 0; padding-top: 0; }
.flip-game__wave i { position: relative; }
.flip-game__wave i::after { content: ''; position: absolute; inset: -3px 0; border-radius: 1px; background: #28E214; box-shadow: 0 0 6px #28E214; opacity: 0; }
.flip-game__wave i:nth-child(3n+2)::after { background: #00E0FF; box-shadow: 0 0 6px #00E0FF; }
.flip-game__wave i:nth-child(3n)::after { background: #FF127B; box-shadow: 0 0 6px #FF127B; }

/* ---- Пэды с кадрами: три в ряд и на телефоне ---- */
.flip-game__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 2.4vw, 14px); margin: 16px 0 0; }
.flip-game__slot { --c: #28E214; min-width: 0; }
.flip-game__slot:nth-child(2) { --n: 1; }
.flip-game__slot:nth-child(3) { --n: 2; }
.flip-game__pad {
  position: relative; padding: 26px 7px 18px; border-radius: 8px; overflow: hidden;
  background: linear-gradient(180deg, #2b261f, #191510);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 3px 0 #0b0806;
  transition: transform 0.08s ease, box-shadow 0.2s ease;
}
.flip-game__pad::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 46%, transparent), color-mix(in srgb, var(--c) 22%, transparent));
  opacity: 0; transition: opacity 0.2s ease;
}
.flip-game__pad::after {
  content: ''; position: absolute; left: 10%; right: 10%; bottom: 6px; height: 4px; border-radius: 3px; pointer-events: none;
  background: var(--c); box-shadow: 0 0 8px var(--c), 0 0 16px var(--c); opacity: 0.55; transition: opacity 0.2s ease;
}
.flip-game__pad .flip-pad__l { position: absolute; top: 8px; left: 9px; }
.flip-game__turn { position: relative; z-index: 1; aspect-ratio: 3 / 4; perspective: 900px; container-type: inline-size; }
.flip-game__in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.flip-game__turn.is-turned .flip-game__in { transform: rotateY(180deg); }
.flip-game__side {
  position: absolute; inset: 0; overflow: hidden; border-radius: 5px; background: #000;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.flip-game__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* Впечатка даты, как у плёночных мыльниц — та же, что на экране стены. */
.flip-game__date {
  position: absolute; right: 6cqi; bottom: 5cqi; z-index: 1; pointer-events: none;
  font-family: 'Courier New', ui-monospace, monospace; font-weight: 700; font-size: 11px; font-size: clamp(9px, 7cqi, 15px); line-height: 1;
  color: #ff8a1c; text-shadow: 0 0 1px #ff6a00, 0 0 4px rgba(255, 106, 0, 0.85); transform: skewX(-8deg);
}
/* Оборот — настоящая надпись этого кадра неоном цвета пэда, как на экране стены. Размер —
   в cqi от ширины пэда; на телефоне пэд ~90 px, поэтому у длинных надписей многоточие. */
.flip-game__side--b {
  transform: rotateY(180deg); display: flex; align-items: center; justify-content: center; padding: 16cqi 8cqi 10cqi;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 18%, #0c0c0c), #070707 75%);
}
.flip-game__year {
  position: absolute; top: 5cqi; right: 7cqi;
  font-family: 'Courier New', ui-monospace, monospace; font-size: 10px; font-size: clamp(9px, 7cqi, 14px); line-height: 1;
  color: color-mix(in srgb, var(--c) 60%, #fff); opacity: 0.8;
}
.flip-game__cap {
  margin: 0; text-align: center; color: #fff7ea; overflow-wrap: break-word; transform: rotate(-2deg);
  font-family: var(--font-script); font-size: 12px; font-size: clamp(9px, 9.5cqi, 21px); line-height: 1.14;
  text-shadow: 0 0 1px #fff, 0 0 4px var(--c), 0 0 10px color-mix(in srgb, var(--c) 70%, transparent);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 8; line-clamp: 8; overflow: hidden;
}
.flip-game__cap--short { font-size: clamp(11px, 12.5cqi, 27px); -webkit-line-clamp: 6; line-clamp: 6; }
.flip-game__cap--long { font-size: clamp(8.5px, 7.8cqi, 17px); -webkit-line-clamp: 9; line-clamp: 9; }
.flip-game__cap--xlong { font-size: clamp(8px, 7cqi, 15px); -webkit-line-clamp: 10; line-clamp: 10; }
/* Кнопка поверх всего пэда — одна и вне поворота: ответ, потом «перевернуть». */
.flip-game__hit {
  position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%;
  margin: 0; padding: 0; border: 0; border-radius: inherit;
  background: transparent; cursor: pointer;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
/* Пэд обрезает всё, что за краем, — рамка фокуса внутри. */
.flip-game__hit:focus-visible { outline: 2px solid var(--color-gold-bright); outline-offset: -3px; }
@media (hover: hover) {
  .flip-game__play:not(.is-answered) .flip-game__pad:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent), 0 3px 0 #0b0806; }
  .flip-game__play:not(.is-answered) .flip-game__pad:hover::after { opacity: 1; }
}
.flip-game__play:not(.is-answered) .flip-game__pad:active { transform: translateY(2px); box-shadow: inset 0 0 0 1px var(--c), 0 1px 0 #0b0806; }

/* Ответ. Верный горит своим цветом хот-кью; если нажали мимо — верный подмигивает. */
.flip-game__slot.is-right .flip-game__pad,
.flip-game__slot.is-answer .flip-game__pad {
  transform: translateY(2px);
  box-shadow: inset 0 0 0 1px var(--c), 0 0 18px color-mix(in srgb, var(--c) 55%, transparent), 0 1px 0 #0b0806;
}
.flip-game__slot.is-right .flip-game__pad::before, .flip-game__slot.is-answer .flip-game__pad::before,
.flip-game__slot.is-right .flip-game__pad::after, .flip-game__slot.is-answer .flip-game__pad::after { opacity: 1; }
.flip-game__slot.is-answer .flip-game__pad::before { animation: flip-game-wink 0.7s ease-in-out 0.35s 3; }
@keyframes flip-game-wink { 50% { opacity: 0.2; } }
/* Мимо — короткая красная вспышка (#E62828 той же палитры), дальше пэд приглушён. */
.flip-game__slot.is-wrong .flip-game__pad::before { background: #E62828; animation: flip-game-miss 0.6s ease-out; }
@keyframes flip-game-miss { 0% { opacity: 0.95; } 100% { opacity: 0; } }
.flip-game__slot.is-wrong .flip-game__pad::after { opacity: 0.25; }
.flip-game__tag {
  min-height: 1.4em; margin: 8px 0 0; text-align: center;
  font-family: 'Courier New', ui-monospace, monospace; font-weight: 700; font-size: 0.78rem; line-height: 1.3;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 244, 220, 0.5);
}
.flip-game__slot.is-right .flip-game__tag,
.flip-game__slot.is-answer .flip-game__tag { color: color-mix(in srgb, var(--c) 60%, #fff); text-shadow: 0 0 6px color-mix(in srgb, var(--c) 60%, transparent); }
.flip-game__slot.is-wrong .flip-game__tag { color: #ff8f8f; }

/* Три верных подряд — световое шоу, как бонус в Incredibox: вспышки бегут по пэдам A→B→C,
   по волне экрана дважды проходит цветная волна. Только opacity слоёв подсветки. */
.flip-game__play.is-show .flip-game__pad::before,
.flip-game__play.is-show .flip-game__pad::after { animation: flip-game-show 1.5s ease-out calc(var(--n, 0) * 0.14s) both; }
@keyframes flip-game-show { 0%, 30%, 60% { opacity: 0; } 12%, 42%, 74%, 100% { opacity: 1; } }
.flip-game__play.is-show .flip-game__wave i::after { animation: flip-game-bar 0.8s ease-out calc(var(--i, 0) * 16ms) 2; }
@keyframes flip-game-bar { 0%, 100% { opacity: 0; } 18% { opacity: 1; } }

.flip-game__foot { display: flex; justify-content: flex-end; margin-top: 14px; }
.flip-game__next {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 6px; background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 0 #0b0806; color: var(--deck-ink); font: inherit; font-weight: 700; cursor: pointer;
}
/* Огонёк как у кнопки PLAY на CDJ. */
.flip-game__next::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #28E214; box-shadow: 0 0 6px #28E214; }
.flip-game__next:hover { border-color: rgba(255, 255, 255, 0.4); }
.flip-game__next:focus-visible { outline: 2px solid var(--color-gold-bright); outline-offset: 2px; }

/* ---- Итог: экран со счётом, кадры игры маленькими пэдами (полоска зелёная — нашёл,
   красная — мимо), каждый ведёт на свой пэд на стене. ---- */
.flip-game__result { display: block; padding: 18px 14px 16px; text-align: center; }
.flip-game__result .game-score { margin: 0 0 6px; font-family: var(--font-display); font-size: 1.15rem; color: #eafffb; }
.flip-game__result .game-score strong {
  font-family: 'Courier New', ui-monospace, monospace; font-size: 2.4rem; line-height: 1; vertical-align: -0.1em;
  color: color-mix(in srgb, #28E214 70%, #fff); text-shadow: 0 0 12px #28E214;
}
.flip-game__result .game-score-note { margin: 0; font-family: var(--font-display); font-size: 0.95rem; line-height: 1.4; color: #cfe9e4; }
.flip-game__record { margin: 8px 0 0; font-weight: 700; color: var(--color-gold-bright); text-shadow: 0 0 8px rgba(240, 196, 25, 0.5); }
.flip-game__best { margin: 8px 0 0; color: #9bb7b1; }
.flip-game__recap-hint { margin: 16px 0 8px; font-size: 0.88rem; color: rgba(255, 244, 220, 0.72); }
.flip-game__recap {
  list-style: none; margin: 0 0 4px; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 8px;
}
.flip-game__recap li {
  --c: #28E214; position: relative; padding: 4px 4px 11px; border-radius: 6px;
  background: linear-gradient(180deg, #2b261f, #191510); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 2px 0 #0b0806;
}
.flip-game__recap li.is-miss { --c: #E62828; }
.flip-game__recap li::after { content: ''; position: absolute; left: 14%; right: 14%; bottom: 4px; height: 3px; border-radius: 2px; background: var(--c); box-shadow: 0 0 6px var(--c); }
.flip-game__recap a { display: block; border-radius: 4px; overflow: hidden; }
.flip-game__recap a:focus-visible { outline: 2px solid var(--color-gold-bright); outline-offset: 2px; }
.flip-game__recap img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 0.2s ease; }
.flip-game__recap a:hover img { transform: scale(1.05); }
.flip-game__recap .is-miss img { filter: grayscale(0.7); opacity: 0.7; }
.flip-game__recap-mark {
  position: absolute; right: 7px; bottom: 14px; min-width: 18px; height: 18px; padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center; border-radius: 999px;
  font-size: 0.72rem; line-height: 1; color: #fff; background: #E62828; pointer-events: none;
}
.flip-game__recap .is-hit .flip-game__recap-mark { background: #28E214; color: #0b1a07; }
/* Кнопки и ссылки на тёмном корпусе. */
.flip-game__final .btn-secondary { color: var(--deck-ink); border-color: rgba(255, 255, 255, 0.22); background: rgba(0, 0, 0, 0.25); }
.flip-game__final .btn-secondary:hover { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.flip-game__final a:not(.btn) { color: var(--color-gold-bright); }
.flip-game__wall-line { margin: 14px 0 0; }
.flip-game__final .game-contest-line { border-color: rgba(255, 255, 255, 0.18); color: rgba(255, 244, 220, 0.75); }

@media (max-width: 480px) {
  .flip-game__screen { padding: 10px; gap: 8px; }
  .flip-game__status { gap: 6px; }
  .flip-game__dots { gap: 4px; }
  .flip-game__dots i { width: 7px; height: 7px; }
  .flip-game__note { min-height: 96px; padding: 14px 12px; }
  .flip-game__wave { height: 28px; }
  .flip-game__pad { padding: 22px 5px 15px; }
  .flip-game__pad .flip-pad__l { top: 6px; left: 7px; font-size: 0.8rem; }
  .flip-game__pad::after { bottom: 5px; height: 3px; }
  .flip-game__tag { font-size: 0.68rem; letter-spacing: 0.08em; }
  .flip-game__foot { justify-content: stretch; }
  .flip-game__next { flex: 1; justify-content: center; }
}
/* Меньше движения (так у Веры на ноутбуке): кадр не вращается, стороны сменяются
   затуханием; вместо бегущего шоу — один мягкий общий отсвет. */
@media (prefers-reduced-motion: reduce) {
  .flip-game__in, .flip-game__turn.is-turned .flip-game__in { transform: none; transition: none; }
  /* Появляющаяся сторона видима сразу (иначе фокус на неё не встанет), уходящая прячется
     после затухания. */
  .flip-game__side { transition: opacity 0.18s ease, visibility 0s linear 0.18s; }
  .flip-game__turn:not(.is-turned) .flip-game__side--a, .flip-game__turn.is-turned .flip-game__side--b { transition: opacity 0.18s ease, visibility 0s; }
  .flip-game__side--b { transform: none; opacity: 0; visibility: hidden; }
  .flip-game__turn.is-turned .flip-game__side--a { opacity: 0; visibility: hidden; }
  .flip-game__turn.is-turned .flip-game__side--b { opacity: 1; visibility: visible; }
  .flip-game__pad, .flip-game__recap img { transition: none; }
  .flip-game__slot.is-answer .flip-game__pad::before { animation: none; }
  .flip-game__play.is-show .flip-game__pad::before,
  .flip-game__play.is-show .flip-game__pad::after { animation: flip-game-soft 1.6s ease-in-out both; }
  .flip-game__play.is-show .flip-game__wave i::after { animation: flip-game-soft-bar 1.6s ease-in-out; }
}
@keyframes flip-game-soft { 0% { opacity: 0; } 45%, 100% { opacity: 1; } }
@keyframes flip-game-soft-bar { 0%, 100% { opacity: 0; } 45% { opacity: 0.9; } }

/* Коллегам: простой путь (26.09.2026). /services — короткая страница: одна фраза и кнопка аудита,
   три вопроса «что вам подходит», три шага, пакеты в две строки; /services/podrobno — справочник
   с оглавлением. Карточки, списки и кнопки — прежние (.offer-card, .services-list, .btn). */
.svc-hero { max-width: 62ch; margin: 4px 0 44px; }
.svc-lead { font-size: 1.3rem; line-height: 1.45; font-weight: 600; margin: 0 0 20px; }
.svc-inline-form { display: inline-block; margin: 0; }
.svc-btn-big { font-size: 1.08rem; padding: 13px 24px; }
.svc-hero .hint { margin: 12px 0 0; color: var(--color-muted); font-size: 0.9rem; }

.svc-pick-fallback { max-width: 62ch; }
.svc-pick { max-width: 62ch; }
.svc-pick-intro { margin: 0 0 18px; color: var(--color-muted); }
.svc-q { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.svc-q legend { padding: 0; margin-bottom: 10px; }
.svc-q-title { display: block; font-weight: 600; font-size: 1.05rem; line-height: 1.4; }
.svc-q-sub { display: block; margin-top: 2px; color: var(--color-muted); font-size: 0.88rem; }
.svc-opts { display: flex; flex-wrap: wrap; gap: 8px; }
label.svc-opt { display: inline-flex; margin: 0; font-weight: 500; cursor: pointer; position: relative; }
/* Сам кружок прячем, но не display:none — иначе на него не встанет фокус с клавиатуры */
.svc-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; padding: 0; pointer-events: none; }
.svc-opt span {
  display: inline-block; min-width: 88px; text-align: center;
  padding: 9px 16px; border: 1px solid var(--color-border); border-radius: 999px; background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.svc-opt:hover span { border-color: var(--color-accent); }
.svc-opt input:checked + span {
  background: linear-gradient(180deg, var(--color-gold-shine) 0%, var(--color-gold-light) 100%);
  border-color: var(--color-accent); color: var(--color-gold-ink); font-weight: 700;
}
.svc-opt input:focus-visible + span { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.svc-pick-out {
  border: 1px solid var(--color-border); border-radius: var(--radius); padding: 14px 16px; background: #fffefb;
}
.svc-pick.is-done .svc-pick-out { border-color: var(--color-accent); box-shadow: 0 6px 16px rgba(184, 134, 11, 0.12); }
.svc-pick-wait { margin: 0; color: var(--color-muted); }
.svc-pick-line { margin: 0 0 6px; font-weight: 700; font-size: 1.05rem; line-height: 1.45; }
.svc-pick-why { margin: 0; color: var(--color-muted); line-height: 1.55; }

.svc-steps { max-width: 62ch; margin: 0 0 12px; padding-left: 22px; line-height: 1.55; }
.svc-steps li { margin-bottom: 10px; }
.svc-steps li::marker { color: var(--color-accent); font-weight: 700; }
.svc-reviews-title { margin: 24px 0 12px; }
.svc-more-links { margin: 0; padding-left: 18px; line-height: 1.6; }
.svc-more-links li { margin-bottom: 6px; }
.svc-final .services-cta { align-items: center; }

.svc-back { margin: 0 0 6px; font-size: 0.9rem; }
.svc-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 32px; }
.svc-toc a {
  padding: 6px 12px; border: 1px solid var(--color-border); border-radius: 999px;
  color: var(--color-text); font-size: 0.88rem; background: #fff;
}
.svc-toc a:hover { border-color: var(--color-accent); color: var(--color-accent); }
/* Якоря справочника не прячутся под липким меню разделов */
.svc-toc ~ [id], .svc-toc ~ * [id] { scroll-margin-top: 72px; }

@media (max-width: 600px) {
  .svc-lead { font-size: 1.15rem; }
  .svc-hero .svc-inline-form, .svc-hero .svc-btn-big { display: block; width: 100%; }
  .svc-btn-big { text-align: center; white-space: normal; }
  .svc-opts { gap: 6px; }
  .svc-opt { flex: 1 1 0; }
  .svc-opt span { min-width: 0; width: 100%; padding: 9px 8px; }
  .svc-final .services-cta > * { flex: 1 1 100%; text-align: center; }
  .svc-final .svc-inline-form .btn { width: 100%; }
}
/* Оплата и этапы (26.09.2026): строка о предоплате на главной, таблицы этапов с долями на /services/podrobno */
.svc-pay-line { max-width: 62ch; margin: 0 0 8px; padding: 10px 14px; border-left: 3px solid var(--color-gold-bright); background: #fffbea; line-height: 1.55; }
.svc-pay-title { margin: 24px 0 10px; font-size: 1rem; }
.svc-pay-table td:first-child { white-space: normal; min-width: 150px; width: 28%; }
.svc-pay-table td:nth-child(3), .svc-pay-table td:nth-child(4), .svc-pay-table th:nth-child(3), .svc-pay-table th:nth-child(4) { white-space: nowrap; text-align: right; }
/* Четыре коротких карточки пакетов — в один ряд на компьютере, а не 3 + 1 */
#pakety .offer-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
@media (max-width: 600px) {
  /* «Сделайте вы» на 375 px может уйти в две строки — все три кнопки тогда одной высоты, текст по центру */
  .svc-opt span { display: flex; align-items: center; justify-content: center; line-height: 1.25; font-size: 0.95rem; }
}

/* Малый знак «Голова с сердцем» (Вера 26.09.2026: вместо смайлика-сердечка) — рядом со «Спасибо» в подвале, после заказа и отзыва. */
.mark-heart { display: inline-block; width: 1.25em; height: 1.25em; vertical-align: -0.28em; margin-left: 0.05em; }

/* Знак «Голова с сердцем» в шапке вместо галочек (Вера 26.09.2026): чуть крупнее галочки, чтобы читались петли. */
.badge-icon--mark { width: 22px; height: 22px; vertical-align: middle; }

/* Знаки в пустых местах (404, пустая корзина и поиск) и в заголовках «своих» разделов (Вера 26.09.2026). */
.empty-mark { display: block; width: 88px; height: 88px; margin: 0 auto 14px; opacity: 0.45; }
.mark-heart--h { width: 0.85em; height: 0.85em; vertical-align: -0.08em; margin-left: 0.15em; }

/* Лента трека (01.10.2026): вертикалки — горизонтальной лентой с прокруткой, горизонтальные — сеткой. */
.track-feed-row {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 8px; margin-bottom: 18px; overscroll-behavior-x: contain;
}
.track-feed-row .track-feed-cell { flex: 0 0 200px; scroll-snap-align: start; }
.track-feed-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.track-feed-wide { margin: 0; }
.track-feed-wide figcaption { margin-top: 6px; font-size: 0.9rem; opacity: 0.8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track-feed-more { margin-top: 12px; }
@media (max-width: 600px) { .track-feed-row .track-feed-cell { flex-basis: 150px; } }
