/* ================================================================
   Radio Online 24 — app.css  ·  SPATIAL GLASS design system
   visionOS / Apple-вайб: настоящее стекло (backdrop blur), глубина,
   световые orbs, холодный дозированный glow (индиго/тил/фиолет).
   Тёмная глубокая сцена по умолчанию + светлая стеклянная тема.
   Эталон визуала — public/_mock_a.html.
   Заголовки — Space Grotesk (через --font-serif алиас), текст — Inter.
   ВСЕ имена классов и data-атрибуты совместимы с существующей
   разметкой (nav / station-card / sticky-player / mob-nav / hero ...).
   Контракт классов — DESIGN_SYSTEM.md.
   Шрифты подключены через <link> в layout.php (preconnect).
   ================================================================ */

/* ════════════════════════════════════════════════════════════════
   1. DESIGN TOKENS — тёмная стеклянная сцена (default)
   ════════════════════════════════════════════════════════════════ */
:root {
  /* ── Базовая сцена (мягкий тёмный уголь, НЕ чёрный) ── */
  --bg:    #16181C;   /* глубокий мягкий тёмно-серый (база сцены) */
  --bg-2:  #1A1C21;   /* низ градиента сцены / чередование */

  /* ── Поверхности (полупрозрачные, поверх сцены) ── */
  --glass:        rgba(255,255,255,.045);
  --glass-strong: rgba(255,255,255,.07);
  --glass-hover:  rgba(255,255,255,.11);
  /* непрозрачные поверхности (для solid-кнопок плеера и пр.) */
  --surface:   #202329;
  --surface-2: #262A31;
  --surface-3: #2D313A;
  --bg-elev:   var(--surface);
  --bg-elev-2: var(--surface-2);
  --bg-hover:  var(--surface-3);

  /* ── Световые границы (hairlines) ── */
  --line:        rgba(255,255,255,.12);
  --line-strong: rgba(255,255,255,.18);
  --hairline:    rgba(255,255,255,.08);
  --border:        var(--line);
  --border-strong: var(--line-strong);
  --inset-light: inset 0 1px 0 rgba(255,255,255,.12);

  /* ── Текст ── */
  --text:   #ECECEF;   /* светлый off-white */
  --text-2: #B9BBC2;   /* вторичный */
  --muted:  #888B93;   /* приглушённый/подписи */
  --faint:  #74777F;   /* самый тихий */
  --text-3: var(--muted);

  /* ── Красно-коралловые акценты (старые имена сохранены = совместимость) ── */
  --coral:        #F23E2E;   /* основной красно-коралл */
  --coral-warm:   #FF6A3D;   /* тёплый оранж-коралл для редких градиентов */
  --coral-deep:   #D62E20;   /* приглушённый/тёмный */
  /* алиасы старых радужных имён → теперь коралловая гамма */
  --indigo: var(--coral);
  --teal:   var(--coral);
  --violet: var(--coral-warm);
  --accent:        #F23E2E;                 /* ОСНОВНОЙ акцент — красно-коралл */
  --accent-2:      var(--coral-warm);       /* вторичный — тёплый коралл */
  --accent-3:      var(--coral-deep);       /* третичный — глубокий */
  --accent-hover:  #FF5542;
  --accent-soft:   rgba(242,62,46,.13);
  --accent-soft-2: rgba(242,62,46,.30);
  --accent-glow:   rgba(242,62,46,.55);
  --teal-soft:     rgba(242,62,46,.12);     /* алиас → коралл-soft */
  --teal-soft-2:   rgba(242,62,46,.30);
  --on-accent:     #fff;                    /* текст на акцентной заливке */
  --on-teal:       #fff;                    /* текст на коралловой заливке */

  /* Play-кнопки — цвет задаёт тема, не тень. */
  --play-bg: var(--grad-cool);
  --play-fg: #fff;
  --play-border: rgba(255,255,255,.38);
  --play-shadow: 0 8px 18px -12px rgba(15,17,22,.42), var(--inset-light);
  --play-shadow-hover: 0 10px 22px -12px rgba(15,17,22,.48), var(--inset-light);

  --success: #4FAE6A;   /* сдержанный тёплый зелёный (alive) */
  --danger:  #F26D6D;   /* мягкий красный (мёртвый поток) */
  --live:    #F23E2E;   /* коралловая LIVE-точка на карточках/эфире */

  /* ── Градиенты (тёплые коралловые, для обложек/акцента) ── */
  --grad-primary: linear-gradient(135deg, #F23E2E 0%, #D62E20 100%);
  --grad-amber:   linear-gradient(135deg, #FF6A3D 0%, #F23E2E 100%);  /* тёплый коралл→красный */
  --grad-copper:  linear-gradient(135deg, #FF6A3D 0%, #D62E20 100%);  /* оранж→глубокий красный */
  --grad-cool:    linear-gradient(120deg, #F23E2E 10%, #FF6A3D 90%);  /* красный→оранж (НЕ радужный) */
  --grad-text:    var(--grad-cool);

  /* ── Тени-парение ── */
  --shadow-sm: var(--inset-light), 0 2px 10px rgba(0,0,0,.4);
  --shadow-md: var(--inset-light), 0 12px 32px -16px rgba(0,0,0,.55);
  --shadow-lg: var(--inset-light), 0 24px 60px -20px rgba(0,0,0,.62), 0 8px 24px -12px rgba(0,0,0,.42);
  --shadow-player: var(--inset-light), 0 -16px 50px -24px rgba(0,0,0,.6);
  /* коралловый glow — только у акцентных/играющих элементов */
  --glow-cool:   0 0 0 1px rgba(242,62,46,.30), 0 18px 44px -18px rgba(242,62,46,.5);
  --glow-violet: var(--glow-cool);   /* алиас совместимости */
  --glow-cyan:   0 0 0 1px rgba(242,62,46,.30), 0 18px 44px -18px rgba(242,62,46,.5);
  --glow-warm:   var(--glow-cool);   /* алиас совместимости */

  /* ── Spacing-шкала (8pt) ── */
  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:20px;
  --s-6:24px; --s-7:32px; --s-8:40px; --s-9:48px; --s-10:64px;
  --s-11:80px; --s-12:96px;

  /* ── Layout ── */
  --page-max: 1320px;
  --hero-bleed-max: 1920px;
  --gutter: 18px;
  --gutter-md: 24px;
  --gutter-lg: 32px;
  --section-rhythm: 54px;
  --section-rhythm-lg: 66px;
  /* радиусы: 14 / 16 / 18 / 24 / pill */
  --radius-sm: 14px;
  --radius-md: 16px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --player-h: 80px;
  --player-h-lg: 88px;
  --nav-h: 64px;
  --nav-h-lg: 72px;
  --mobnav-h: 64px;

  /* Space Grotesk — заголовки (исторически --font-serif), Inter — текст */
  --font-serif: 'Space Grotesk', 'Inter', system-ui, -apple-system, sans-serif;
  --font-sans:  'Inter', -apple-system, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
  --font-mono:  ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, Consolas, monospace;

  /* easing */
  --ease: cubic-bezier(.22,1,.36,1);            /* spatial spring-out */
  --ease-micro: cubic-bezier(.4,0,.2,1);
  --ease-spring: cubic-bezier(.34,1.4,.5,1);
  --t-fast: 0.18s;
  --t-base: 0.3s;
  --t-slow: 0.42s;

  --caption-spacing: .04em;
  --blur: blur(28px) saturate(150%);
  --blur-nav: blur(24px) saturate(150%);
  /* тень текста поверх фонового визуализатора (тёмная сцена) */
  --shadow-text: rgba(0,0,0,.6);

  color-scheme: dark;
}

/* Premium continuation: carry the hero's crafted material language into the catalog. */
.station-surface,
.artist-surface {
  position: relative;
  overflow: hidden;
  padding: 12px 12px 16px;
  border: 1px solid var(--border);
  border-radius: clamp(24px, 2.8vw, 32px);
  background: var(--glass);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,.08);
}
.station-surface {
  padding: clamp(16px, 1.8vw, 22px);
}
.station-surface-bar,
.artist-surface-bar {
  min-height: 44px;
  margin: 0 2px 12px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--glass-strong);
  color: var(--text-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .065em;
  text-transform: uppercase;
}
.station-surface-bar > span,
.artist-surface-bar > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.station-surface-bar i,
.artist-surface-bar i {
  color: var(--coral);
  font-size: 15px;
}
.station-surface-status i {
  font-size: 7px;
  filter: drop-shadow(0 0 5px rgba(242,62,46,.52));
}
.section--stations-premium .station-grid {
  column-gap: clamp(18px, 1.7vw, 24px);
  row-gap: clamp(20px, 1.9vw, 26px);
}
@media (min-width: 1200px) {
  .section--stations-premium .station-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
@media (min-width: 821px) and (max-width: 1199px) {
  .section--stations-premium .station-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 641px) and (max-width: 820px) {
  .section--stations-premium .station-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.section--stations-premium .station-card {
  padding: 12px;
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.1),
    0 16px 30px -26px rgba(0,0,0,.7);
  transition:
    transform 300ms var(--ease),
    background 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease;
}
.section--stations-premium .station-card:hover {
  transform: translateY(-3px);
}
.section--stations-premium .station-cover {
  margin-bottom: 11px;
  border-radius: 17px;
  border: 1px solid rgba(255,255,255,.11);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    0 14px 26px -20px rgba(0,0,0,.85);
}
.section--stations-premium .station-name {
  margin-top: 0;
  font-weight: 700;
  letter-spacing: -.015em;
}
.section--stations-premium .station-meta-row {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--hairline);
}
.section--stations-premium .st-mi-fmt {
  padding: 2px 6px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  background: var(--glass-strong);
}

.artist-surface {
  padding: 14px 14px 18px;
}
.section--artists-premium .artist-grid {
  counter-reset: artist-rank;
  gap: 14px;
}
.section--artists-premium .artist-card {
  counter-increment: artist-rank;
  position: relative;
  min-width: 0;
  padding: 18px 12px 14px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--glass-strong);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.1),
    0 16px 28px -25px rgba(0,0,0,.66);
  transition:
    transform 300ms var(--ease),
    border-color 300ms ease,
    box-shadow 300ms ease,
    background 300ms ease;
}
.section--artists-premium .artist-card::before {
  content: counter(artist-rank, decimal-leading-zero);
  position: absolute;
  top: 11px;
  right: 12px;
  color: var(--faint);
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .12em;
  font-variant-numeric: tabular-nums;
}
.section--artists-premium .artist-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-soft-2);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    0 22px 38px -27px rgba(0,0,0,.78),
    0 15px 30px -27px var(--accent-glow);
}
.section--artists-premium .artist-avatar {
  width: 88px;
  height: 88px;
  border-color: var(--line-strong);
  box-shadow:
    0 0 0 4px var(--surface-2),
    0 0 0 5px var(--hairline),
    0 15px 26px -20px rgba(0,0,0,.76);
}
.section--artists-premium .artist-name {
  font-weight: 700;
  letter-spacing: -.012em;
}
.section--artists-premium .artist-meta {
  min-height: 24px;
  padding: 4px 10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

@media (min-width: 1200px) {
  .section--artists-premium .artist-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
@media (min-width: 821px) and (max-width: 1199px) {
  .section--artists-premium .artist-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

[data-theme="light"] .section--stations-premium .section-head,
[data-theme="light"] .section--artists-premium .section-head {
  margin-bottom: 24px;
}
[data-theme="light"] .section--stations-premium .sh-ic,
[data-theme="light"] .section--artists-premium .sh-ic {
  color: #e94332;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(255,225,219,.88));
  border-color: rgba(209,52,39,.2);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -6px 12px -11px rgba(126,27,20,.5),
    0 10px 20px -14px rgba(186,40,30,.58);
}
[data-theme="light"] .section--stations-premium .section-link,
[data-theme="light"] .section--artists-premium .section-link {
  color: #535a66;
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(246,247,249,.86));
  border-color: rgba(37,42,53,.1);
  box-shadow:
    inset 0 1px 0 #fff,
    0 9px 20px -16px rgba(29,34,44,.45);
}
[data-theme="light"] .section--stations-premium .section-link:hover,
[data-theme="light"] .section--artists-premium .section-link:hover {
  color: #d93d30;
  border-color: rgba(219,61,48,.21);
  background: linear-gradient(145deg, #fff, #fff0ed);
}
[data-theme="light"] .station-surface {
  background:
    radial-gradient(95% 70% at 0% 0%, rgba(255,105,80,.08), transparent 50%),
    linear-gradient(145deg, rgba(255,255,255,.92), rgba(239,242,246,.82));
  border-color: rgba(35,40,51,.09);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.96),
    0 32px 58px -48px rgba(26,31,41,.52);
}
[data-theme="light"] .station-surface-bar,
[data-theme="light"] .artist-surface-bar {
  color: #646b77;
  background:
    linear-gradient(120deg, rgba(255,255,255,.95), rgba(248,239,238,.82));
  border-color: rgba(41,46,57,.085);
  box-shadow:
    inset 0 1px 0 #fff,
    0 8px 18px -16px rgba(31,36,46,.46);
}
[data-theme="light"] .section--stations-premium .station-card {
  background:
    linear-gradient(155deg, rgba(255,255,255,.98), rgba(247,248,250,.9));
  border-color: rgba(35,40,50,.09);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -1px 0 rgba(42,47,57,.035),
    0 17px 30px -25px rgba(25,30,40,.48);
}
[data-theme="light"] .section--stations-premium .station-card:hover {
  background:
    radial-gradient(100% 65% at 100% 0%, rgba(255,116,92,.075), transparent 50%),
    linear-gradient(155deg, #fff, #f8f9fb);
  border-color: rgba(221,61,48,.2);
  box-shadow:
    inset 0 1px 0 #fff,
    0 24px 40px -27px rgba(24,29,39,.55),
    0 14px 28px -25px rgba(218,59,46,.4);
}
[data-theme="light"] .section--stations-premium .station-meta-row {
  border-top-color: rgba(40,45,55,.075);
}
[data-theme="light"] .section--stations-premium .st-mi-fmt {
  color: #8e3a32;
  background: rgba(255,237,233,.76);
  border-color: rgba(208,58,45,.13);
}
[data-theme="light"] .artist-surface {
  background:
    radial-gradient(70% 100% at 100% 0%, rgba(120,147,198,.09), transparent 56%),
    radial-gradient(70% 100% at 0% 100%, rgba(255,111,83,.075), transparent 55%),
    #edf0f4;
  border-color: rgba(35,41,52,.085);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 30px 58px -49px rgba(25,31,42,.48);
}
[data-theme="light"] .section--artists-premium .artist-card {
  background:
    linear-gradient(155deg, rgba(255,255,255,.92), rgba(248,249,251,.76));
  border-color: rgba(35,41,52,.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.98),
    0 16px 28px -24px rgba(26,32,43,.44);
}
[data-theme="light"] .section--artists-premium .artist-card:hover {
  background:
    radial-gradient(80% 65% at 50% 0%, rgba(255,112,89,.09), transparent 55%),
    #fff;
  border-color: rgba(220,60,47,.2);
  box-shadow:
    inset 0 1px 0 #fff,
    0 23px 40px -28px rgba(24,29,39,.54),
    0 14px 28px -25px rgba(218,59,46,.36);
}
[data-theme="light"] .section--artists-premium .artist-avatar {
  border-color: rgba(35,41,52,.13);
  box-shadow:
    0 0 0 4px rgba(255,255,255,.88),
    0 0 0 5px rgba(39,44,55,.09),
    0 15px 28px -19px rgba(28,33,43,.48);
}
[data-theme="light"] .section--artists-premium .artist-card::before {
  color: rgba(59,65,77,.35);
}

@media (max-width: 640px) {
  .station-surface,
  .artist-surface {
    margin-left: -4px;
    margin-right: -4px;
    padding: 9px 9px 13px;
    border-radius: 24px;
  }
  .station-surface-bar,
  .artist-surface-bar {
    min-height: 40px;
    margin-bottom: 9px;
    padding: 0 10px;
    font-size: 9px;
    letter-spacing: .045em;
  }
  .station-surface-bar > span:last-child,
  .artist-surface-bar > span:last-child {
    display: none;
  }
  .section--stations-premium .station-grid,
  .section--artists-premium .artist-grid {
    gap: 9px;
  }
  .section--artists-premium .artist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .section--artists-premium .artist-card {
    padding: 16px 8px 12px;
    border-radius: 18px;
  }
  .section--artists-premium .artist-avatar {
    width: 72px;
    height: 72px;
  }
}

/* ════════════════════════════════════════════════════════════════
   1b. СВЕТЛАЯ ТЕМА — светлое стекло
   ════════════════════════════════════════════════════════════════ */
[data-theme="light"] {
  --bg:   #F6F6F8;
  --bg-2: #EEEEF2;

  --glass:        rgba(255,255,255,.6);
  --glass-strong: rgba(255,255,255,.78);
  --glass-hover:  rgba(255,255,255,.92);
  --surface:   #FFFFFF;
  --surface-2: #FFFFFF;
  --surface-3: #F1F1F4;

  --line:        rgba(15,17,22,.10);
  --line-strong: rgba(15,17,22,.15);
  --hairline:    rgba(15,17,22,.07);
  --inset-light: inset 0 1px 0 rgba(255,255,255,.8);

  --text:   #15171C;
  --text-2: #5A5E68;
  --muted:  #767A85;
  --faint:  #969AA4;

  --accent-soft:   rgba(242,62,46,.10);
  --accent-soft-2: rgba(242,62,46,.26);
  --accent-glow:   rgba(242,62,46,.35);
  --teal-soft:     rgba(242,62,46,.10);
  --teal-soft-2:   rgba(242,62,46,.26);
  --on-accent:     #fff;
  --play-bg: linear-gradient(135deg, #F23E2E 0%, #FF6A3D 100%);
  --play-fg: #fff;
  --play-border: rgba(214,46,32,.28);
  --play-shadow: 0 6px 16px -12px rgba(15,17,22,.30), var(--inset-light);
  --play-shadow-hover: 0 8px 18px -12px rgba(15,17,22,.34), var(--inset-light);

  --shadow-sm: var(--inset-light), 0 2px 10px rgba(20,22,30,.07);
  --shadow-md: var(--inset-light), 0 12px 30px -16px rgba(20,22,30,.16);
  --shadow-lg: var(--inset-light), 0 24px 56px -22px rgba(20,22,30,.20);
  --shadow-player: var(--inset-light), 0 -14px 40px -22px rgba(20,22,30,.15);
  --glow-cool: 0 0 0 1px rgba(242,62,46,.26), 0 16px 40px -20px rgba(242,62,46,.35);
  /* светлая тема: белое гало под текстом для контраста над волнами */
  --shadow-text: rgba(255,255,255,.85);

  color-scheme: light;
}

@media (min-width: 641px) {
  :root { --gutter: var(--gutter-md); --nav-h: var(--nav-h-lg); }
}
@media (min-width: 1025px) {
  :root { --gutter: var(--gutter-lg); --section-rhythm: var(--section-rhythm-lg); --player-h: var(--player-h-lg); }
}

/* ════════════════════════════════════════════════════════════════
   2. RESET & BASE  +  СЦЕНА (orbs + grain)
   ════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
html, body {
  margin: 0; padding: 0;
  font-family: var(--font-sans);
  font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg);
  color: var(--text);
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
body {
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
  position: relative;
  /* Базовый отступ: только под мобильную нижнюю навигацию (она всегда видна).
     Высоту плеера резервируем динамически (body.player-active) — пока станция
     не запущена, плеер скрыт и не должен оставлять пустоту внизу. */
  padding-bottom: calc(var(--mobnav-h) + env(safe-area-inset-bottom));
  overflow-x: hidden;
  transition: padding-bottom var(--t-slow) var(--ease);
}
/* Плеер активен → добавляем его высоту к отступу (контент не прячется под доком). */
body.player-active {
  padding-bottom: calc(var(--player-h) + var(--mobnav-h) + 16px + env(safe-area-inset-bottom));
}
@media (min-width: 1025px) {
  body { padding-bottom: 0; }
  body.player-active { padding-bottom: calc(var(--player-h) + 24px); }
}

/* ── Сцена: мягкий тёмный градиент-фон + деликатное тёплое свечение сверху ── */
.scene {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(110% 70% at 50% -12%, rgba(242,62,46,.07) 0%, transparent 58%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

.ambient-effects {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  overflow: hidden; contain: strict;
}
[data-theme="light"] .scene {
  background:
    radial-gradient(110% 70% at 50% -12%, rgba(242,62,46,.05) 0%, transparent 58%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

/* ── Свечения: ОДИН очень сдержанный тёплый красноватый orb сверху (НЕ радужный).
      Остальные погашены для чистоты сцены. ── */
.orb { position: absolute; border-radius: 50%; filter: blur(130px); z-index: 0; will-change: transform; pointer-events: none; }
.orb.a { width: min(640px,75vw); aspect-ratio: 1; background: var(--coral); top: -230px; left: 50%; transform: translateX(-50%); opacity: .12; animation: drift1 30s var(--ease) infinite alternate; }
.orb.b { display: none; }
.orb.c { width: min(400px,43vw); aspect-ratio: 1; background: var(--coral-warm); bottom: -180px; right: 8px; opacity: .07; animation: drift3 34s var(--ease) infinite alternate; }
[data-theme="light"] .orb.a { opacity: .08 !important; }
[data-theme="light"] .orb.c { opacity: .05 !important; }
[data-theme="light"] .orb {
  animation: none !important;
  translate: none !important;
  will-change: auto;
}
[data-fluid-mode="static"] .orb {
  animation: none !important;
  translate: none !important;
  will-change: auto;
}
@keyframes drift1 { to { transform: translateX(-50%) translateY(46px) scale(1.04); } }
@keyframes drift2 { to { transform: translate(-70px,40px) scale(1.12); } }
@keyframes drift3 { to { transform: translateY(-38px); } }

/* ── Очень слабый шум поверх сцены ── */
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 120px 120px;
}
[data-theme="light"] .grain { opacity: .03; mix-blend-mode: multiply; }

/* ── Виньетка: мягкое затемнение краёв — объём сцены ── */
.vignette {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(125% 95% at 50% 38%, transparent 58%, rgba(0,0,0,.34) 100%);
}
[data-theme="light"] .vignette { background: radial-gradient(125% 95% at 50% 38%, transparent 62%, rgba(40,44,80,.10) 100%); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent-soft-2); color: var(--text); }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }

* { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 10px; border: 3px solid transparent; background-clip: padding-box; }
*::-webkit-scrollbar-thumb:hover { background: var(--accent-soft-2); background-clip: padding-box; }

/* Утилита: акцентный градиентный текст */
.gradient-text, .accent {
  background: var(--grad-cool);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.caption {
  font-size: 11px; font-weight: 600; letter-spacing: var(--caption-spacing);
  text-transform: uppercase; color: var(--muted);
}

/* ── Стеклянная утилита ── */
.glass {
  background: var(--glass);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

/* ════════════════════════════════════════════════════════════════
   3. PAGE SHELL
   ════════════════════════════════════════════════════════════════ */
.page {
  width: 100%; max-width: var(--page-max);
  margin: 0 auto;
  color: var(--text);
  position: relative; flex: 1 0 auto; z-index: 2;
}
main { display: block; }

#main-content { display: block; min-height: 40vh; }
#main-content.pjax-leaving { opacity: .4; transition: opacity var(--t-base) var(--ease-micro); }
#main-content.pjax-entering { animation: pjax-in .3s var(--ease) both; }
@keyframes pjax-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pjax-bar {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  z-index: 9999; pointer-events: none;
  background: var(--grad-cool);
  box-shadow: 0 0 10px var(--accent-glow);
  border-radius: 0 2px 2px 0;
  transition: width .2s var(--ease), opacity .3s;
}

/* ════════════════════════════════════════════════════════════════
   4. TOP NAV — плавающее стекло
   ════════════════════════════════════════════════════════════════ */
.nav {
  height: var(--nav-h);
  display: flex; align-items: center; gap: var(--s-3);
  padding: 0 var(--s-5);
  margin: 14px var(--gutter) 0;
  border-radius: var(--radius-xl);
  background: var(--glass);
  backdrop-filter: var(--blur-nav); -webkit-backdrop-filter: var(--blur-nav);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  position: sticky; top: 14px; z-index: 30;
}
@media (min-width: 641px) { .nav { gap: var(--s-7); } }

.logo {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-serif);
  font-weight: 700; font-size: 18px; letter-spacing: -.02em;
  color: var(--text); text-decoration: none; flex: none;
}
.logo-mark {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: transparent;
  display: grid; place-items: center; flex: none;
  position: relative; overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,.24);
  color: #fff;
}
.logo-mark svg { stroke: currentColor; }
.logo-mark img { width: 100%; height: 100%; display: block; }
.logo-wordmark {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: 1fr;
  align-items: stretch;
  column-gap: 5px;
  height: 32px;
  font-family: var(--font-sans);
  color: var(--text);
}
.logo-wordmark-copy {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-template-rows: 11px 17px;
  align-content: center;
  text-align: left;
}
.logo-wordmark-copy span {
  align-self: end;
  font-size: 9px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.logo-wordmark-copy strong {
  align-self: start;
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.logo-wordmark > b {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  display: flex;
  align-items: center;
  height: 28px;
  font-size: 28px;
  line-height: 28px;
  font-weight: 800;
  letter-spacing: -.07em;
  color: var(--text);
  transform: translateY(1px);
}

.nav-links { display: none; gap: 4px; align-items: center; }
@media (min-width: 1025px) { .nav-links { display: flex; } }

.nav-link {
  padding: 8px 14px; border-radius: 11px;
  font-size: 14px; color: var(--text-2); text-decoration: none;
  font-weight: 500; letter-spacing: 0;
  transition: color var(--t-fast) var(--ease-micro), background var(--t-fast);
  cursor: pointer; position: relative;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav-link.active { color: var(--text); background: rgba(255,255,255,.08); }

.nav-spacer { flex: 1; }

.search-box {
  display: none; align-items: center; gap: 9px;
  background: rgba(255,255,255,.05); border: 1px solid var(--hairline);
  border-radius: 12px; padding: 9px 14px;
  width: 280px; font-size: 13.5px; color: var(--faint);
  text-decoration: none; position: relative; min-width: 0;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), width var(--t-base) var(--ease);
}
.search-box svg { color: var(--faint); flex: none; }
.search-box span {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-box:hover, .search-box:focus-within { border-color: var(--accent-soft-2); box-shadow: 0 0 0 3px var(--accent-soft); }
@media (min-width: 641px) { .search-box { display: inline-flex; } }
@media (max-width: 880px) { .search-box { width: 238px; } }

.icon-btn {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.05); border: 1px solid var(--hairline);
  color: var(--text-2); cursor: pointer; flex: none;
  transition: color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}
.icon-btn:hover { color: var(--text); background: rgba(255,255,255,.09); transform: translateY(-1px); }
.icon-btn:active { transform: scale(.94); }

.theme-switch {
  --switch-w: 112px;
  --switch-h: 42px;
  --thumb: 34px;
  --track-pad: 4px;
  --thumb-x: 0px;
  --switch-x: var(--thumb-x);
  width: var(--switch-w); height: var(--switch-h);
  border: 0; padding: 0; border-radius: 999px;
  display: grid; place-items: center; flex: none;
  background: transparent; color: inherit; cursor: pointer;
  position: relative; isolation: isolate; perspective: 240px;
  contain: layout paint style;
  -webkit-tap-highlight-color: transparent;
}
.theme-switch::before,
.theme-switch::after {
  content: ''; position: absolute; pointer-events: none; border-radius: 999px;
}
.theme-switch::before {
  inset: -3px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.24), rgba(255,255,255,.05) 34%, rgba(0,0,0,.34) 76%),
    radial-gradient(circle at 82% 18%, rgba(242,62,46,.22), transparent 42%);
  box-shadow:
    0 16px 30px -20px rgba(0,0,0,.82),
    inset 0 1px 0 rgba(255,255,255,.17);
  opacity: .94;
  transition: transform .28s var(--ease), box-shadow .32s var(--ease), opacity .25s var(--ease);
}
.theme-switch::after {
  inset: 1px 7px auto 26px; height: 17px;
  background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0));
  transform: skewX(-20deg);
  opacity: .34; z-index: 4;
  mix-blend-mode: screen;
}
.theme-switch:hover::before { transform: translateY(-1px); box-shadow: 0 20px 34px -20px rgba(0,0,0,.86), inset 0 1px 0 rgba(255,255,255,.2); }
.theme-switch:focus-visible { outline: none; }
.theme-switch:focus-visible::before { box-shadow: 0 0 0 3px var(--accent-soft-2), 0 18px 32px -20px rgba(0,0,0,.82), inset 0 1px 0 rgba(255,255,255,.2); }
.theme-switch-shell {
  position: relative; z-index: 1;
  width: var(--switch-w); height: var(--switch-h);
  border-radius: 999px; overflow: hidden;
  background:
    linear-gradient(150deg, rgba(255,255,255,.16), rgba(255,255,255,.02) 38%, rgba(0,0,0,.36)),
    linear-gradient(145deg, #50545a 0%, #202329 52%, #101115 100%);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow:
    inset 0 2px 2px rgba(255,255,255,.13),
    inset 0 -9px 18px rgba(0,0,0,.35),
    0 1px 0 rgba(255,255,255,.06);
  transform-style: preserve-3d;
  transition: background .45s var(--ease-micro), border-color .45s var(--ease-micro), box-shadow .45s var(--ease-micro), transform .35s var(--ease);
}
.theme-switch-track {
  position: absolute; inset: 5px;
  border-radius: 999px; overflow: hidden;
  background:
    radial-gradient(circle at 75% 50%, rgba(242,62,46,.20), transparent 34px),
    radial-gradient(circle at 28% 50%, rgba(255,255,255,.14), transparent 24px),
    linear-gradient(180deg, #2d302f 0%, #1a1c1f 54%, #111214 100%);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow:
    inset 0 4px 8px rgba(0,0,0,.58),
    inset 0 -1px 0 rgba(255,255,255,.06),
    0 1px 0 rgba(255,255,255,.06);
  transition: background .56s var(--ease-micro), box-shadow .56s var(--ease-micro), border-color .56s var(--ease-micro);
}
.theme-switch-track::before,
.theme-switch-track::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
}
.theme-switch-track::before {
  background:
    radial-gradient(circle at 74% 50%, rgba(242,62,46,.54), transparent 29px),
    radial-gradient(circle at 76% 50%, rgba(255,106,61,.26), transparent 46px);
  opacity: 1;
  transition: opacity .45s var(--ease-micro), transform .58s var(--ease);
}
.theme-switch-track::after {
  inset: 2px 2px auto 2px; height: 13px;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,0));
  opacity: .8;
}
.theme-switch-status {
  position: absolute; z-index: 2; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: 13px; line-height: 1; font-weight: 800;
  letter-spacing: 0;
  transition:
    opacity .48s var(--ease-micro),
    transform .72s cubic-bezier(.16,.9,.18,1.08),
    filter .44s var(--ease-micro),
    color .44s var(--ease-micro),
    text-shadow .44s var(--ease-micro);
  user-select: none;
}
.theme-switch-status-night {
  right: 13px;
  color: var(--coral-warm);
  text-shadow: 0 0 7px rgba(242,62,46,.85), 0 0 18px rgba(242,62,46,.55);
}
.theme-switch-status-day {
  left: 17px;
  color: #7b5b13;
  text-shadow: 0 0 8px rgba(255,199,65,.58);
  opacity: 0;
  transform: translate(-8px,-50%) scale(.92);
}
.theme-switch-thumb {
  position: absolute; z-index: 5;
  left: var(--track-pad); top: var(--track-pad);
  width: var(--thumb); height: var(--thumb);
  border-radius: 50%;
  display: grid; place-items: center;
  color: rgba(236,241,255,.92);
  background:
    radial-gradient(circle at 36% 24%, rgba(255,255,255,.96), rgba(255,255,255,.42) 25%, transparent 26%),
    linear-gradient(180deg, #e7e7e8 0%, #c6c8cc 45%, #9b9fa6 100%);
  border: 1px solid rgba(255,255,255,.66);
  box-shadow:
    0 9px 15px -7px rgba(0,0,0,.78),
    0 0 0 3px rgba(242,62,46,.16),
    inset 0 2px 3px rgba(255,255,255,.88),
    inset 0 -5px 9px rgba(70,73,82,.20);
  transform: translate3d(var(--switch-x),0,0);
  backface-visibility: hidden;
  transform-origin: 50% 50%;
  transition:
    background .46s var(--ease-micro),
    border-color .46s var(--ease-micro),
    box-shadow .52s var(--ease),
    color .32s var(--ease-micro);
  will-change: transform;
}
.theme-switch-thumb::before {
  content: ''; position: absolute; inset: 3px; border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,0) 52%);
  pointer-events: none;
}
.theme-switch-thumb-icon {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  transition: opacity .28s var(--ease-micro), transform .48s cubic-bezier(.16,.95,.17,1.18), filter .38s var(--ease-micro);
}
.theme-switch-thumb-day { opacity: 0; transform: scale(.65) rotate(-28deg); color: #7b5b13; }
.theme-switch-thumb-night { opacity: 1; transform: scale(.98) rotate(0deg); color: #303642; filter: drop-shadow(0 1px 0 rgba(255,255,255,.25)); }
.theme-switch[data-theme-state="dark"] { --thumb-x: 0px; }
.theme-switch[data-theme-state="dark"] .theme-switch-shell {
  box-shadow:
    inset 0 2px 2px rgba(255,255,255,.13),
    inset 0 -9px 18px rgba(0,0,0,.38),
    0 1px 0 rgba(255,255,255,.06),
    0 0 24px -17px rgba(242,62,46,.7);
}
.theme-switch[data-theme-state="light"] { --thumb-x: 70px; }
.theme-switch[data-theme-state="light"]::before {
  background:
    linear-gradient(145deg, rgba(255,255,255,.92), rgba(255,255,255,.36) 36%, rgba(88,92,108,.18) 76%),
    radial-gradient(circle at 22% 18%, rgba(255,203,74,.32), transparent 42%);
  box-shadow: 0 14px 25px -18px rgba(20,22,30,.34), inset 0 1px 0 rgba(255,255,255,.92);
}
.theme-switch[data-theme-state="light"] .theme-switch-shell {
  background:
    linear-gradient(150deg, rgba(255,255,255,.95), rgba(255,255,255,.42) 42%, rgba(138,141,153,.24)),
    linear-gradient(145deg, #ffffff 0%, #e8e9ee 52%, #cfd2da 100%);
  border-color: rgba(15,17,22,.08);
  box-shadow:
    inset 0 2px 2px rgba(255,255,255,.94),
    inset 0 -8px 18px rgba(88,92,108,.14),
    0 1px 0 rgba(255,255,255,.8);
}
.theme-switch[data-theme-state="light"] .theme-switch-track {
  background:
    radial-gradient(circle at 27% 50%, rgba(255,255,255,.58), transparent 28px),
    radial-gradient(circle at 25% 50%, rgba(255,214,75,.46), transparent 48px),
    linear-gradient(180deg, #f2ead5 0%, #e6d49a 54%, #c7ad5e 100%);
  border-color: rgba(125,95,30,.18);
  box-shadow:
    inset 0 4px 8px rgba(114,86,27,.24),
    inset 0 -1px 0 rgba(255,255,255,.48),
    0 1px 0 rgba(255,255,255,.75);
}
.theme-switch[data-theme-state="light"] .theme-switch-track::before {
  background:
    radial-gradient(circle at 26% 50%, rgba(255,214,75,.62), transparent 28px),
    radial-gradient(circle at 24% 50%, rgba(255,244,187,.56), transparent 48px);
  opacity: 1;
  transform: translateX(-4px);
}
.theme-switch[data-theme-state="light"] .theme-switch-status-night {
  opacity: 0;
  transform: translate(10px,-50%) scale(.88);
  filter: blur(1px);
}
.theme-switch[data-theme-state="light"] .theme-switch-status-day {
  opacity: 1;
  transform: translateY(-50%) scale(1);
  color: #7b5b13;
}
.theme-switch[data-theme-state="light"] .theme-switch-thumb {
  color: #7b5b13;
  background:
    radial-gradient(circle at 35% 24%, rgba(255,255,255,.98), rgba(255,255,255,.46) 25%, transparent 26%),
    linear-gradient(180deg, #fff6d4 0%, #edd275 47%, #b99636 100%);
  border-color: rgba(255,255,255,.82);
  box-shadow:
    0 9px 15px -8px rgba(86,67,23,.52),
    0 0 0 3px rgba(255,203,65,.20),
    inset 0 2px 3px rgba(255,255,255,.92),
    inset 0 -5px 9px rgba(118,83,18,.22);
}
.theme-switch[data-theme-state="light"] .theme-switch-thumb-night { opacity: 0; transform: scale(.65) rotate(28deg); }
.theme-switch[data-theme-state="light"] .theme-switch-thumb-day { opacity: 1; transform: scale(.98) rotate(0deg); filter: drop-shadow(0 0 5px rgba(255,214,80,.55)); }
.theme-switch:active .theme-switch-shell { transform: translateY(1px) rotateX(2deg) scale(.992); }
.theme-switch.is-animating .theme-switch-status { transition-duration: .86s; }
@media (prefers-reduced-motion: reduce) {
  .theme-switch::before,
  .theme-switch-shell,
  .theme-switch-track,
  .theme-switch-track::before,
  .theme-switch-status,
  .theme-switch-thumb,
  .theme-switch-thumb-icon {
    transition: none !important;
    animation: none !important;
  }
}

.theme-switch {
  --switch-w: 104px;
  --switch-h: 44px;
  --thumb: 38px;
  --track-pad: 3px;
  --thumb-x: calc(var(--switch-w) - var(--thumb) - var(--track-pad) * 2);
  --switch-x: var(--thumb-x);
  width: var(--switch-w);
  height: var(--switch-h);
  perspective: none;
}
.theme-switch::before {
  inset: -2px;
  background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.04) 38%, rgba(0,0,0,.32));
  box-shadow: 0 14px 26px -18px rgba(0,0,0,.78), inset 0 1px 0 rgba(255,255,255,.14);
}
.theme-switch::after {
  inset: 5px 14px auto 18px;
  height: 13px;
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0));
  opacity: .34;
  transform: skewX(-18deg);
}
.theme-switch-shell {
  width: var(--switch-w);
  height: var(--switch-h);
  background: linear-gradient(180deg, #2b3038 0%, #171a20 100%);
  border-color: rgba(255,255,255,.12);
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,.12),
    inset 0 -10px 18px rgba(0,0,0,.40),
    0 1px 0 rgba(255,255,255,.05);
}
.theme-switch-scene {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  transition: opacity .48s var(--ease-micro), transform .62s cubic-bezier(.2,.86,.2,1), filter .48s var(--ease-micro);
}
.theme-switch-scene-night {
  opacity: 1;
  background:
    radial-gradient(circle at 78% 52%, rgba(176,194,222,.16), transparent 27px),
    radial-gradient(circle at 30% 26%, rgba(255,255,255,.13), transparent 18px),
    linear-gradient(90deg, rgba(15,18,25,.98), rgba(32,36,47,.96) 55%, rgba(24,29,39,.96));
}
.theme-switch-scene-night::before,
.theme-switch-scene-night::after {
  content: '';
  position: absolute;
  inset: -12px 18px -12px auto;
  width: 42px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,0));
  transform: rotate(9deg);
}
.theme-switch-scene-night::after {
  right: 36px;
  opacity: .45;
}
.theme-switch-scene-day {
  opacity: 0;
  transform: translateX(-8px);
  background:
    radial-gradient(circle at 22% 48%, rgba(255,214,93,.46), transparent 29px),
    radial-gradient(circle at 66% 120%, rgba(255,255,255,.54), transparent 42px),
    linear-gradient(90deg, #fff0db 0%, #ffc9ba 52%, #f35a46 100%);
}
.theme-switch-star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  box-shadow: 0 0 7px rgba(255,255,255,.52);
}
.theme-switch-star.s1 { left: 18px; top: 14px; }
.theme-switch-star.s2 { left: 35px; top: 27px; width: 2px; height: 2px; opacity: .74; }
.theme-switch-star.s3 { left: 51px; top: 12px; width: 2px; height: 2px; opacity: .86; }
.theme-switch-cloud {
  position: absolute;
  right: 11px;
  bottom: 5px;
  width: 35px;
  height: 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.64);
  box-shadow: -12px 3px 0 -3px rgba(255,255,255,.42), 9px 4px 0 -4px rgba(255,255,255,.48);
}
.theme-switch-cloud.c2 {
  right: 30px;
  bottom: 9px;
  transform: scale(.78);
  opacity: .48;
}
.theme-switch-thumb {
  left: var(--track-pad);
  top: var(--track-pad);
  width: var(--thumb);
  height: var(--thumb);
  color: #252a32;
  background: linear-gradient(180deg, #f2f4f6 0%, #cfd4dc 58%, #9da5b0 100%);
  border-color: rgba(255,255,255,.72);
  box-shadow:
    0 12px 18px -9px rgba(0,0,0,.78),
    0 0 0 1px rgba(0,0,0,.18),
    0 0 0 3px rgba(176,194,222,.10),
    inset 0 2px 4px rgba(255,255,255,.88),
    inset 0 -7px 10px rgba(70,75,86,.22);
}
.theme-switch-thumb::before {
  inset: 4px;
  background: linear-gradient(180deg, rgba(255,255,255,.56), rgba(255,255,255,0) 58%);
}
.theme-switch-moon,
.theme-switch-sun {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: opacity .26s var(--ease-micro), transform .5s cubic-bezier(.2,.86,.2,1), filter .34s var(--ease-micro);
}
.theme-switch-moon::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 68% 32%, rgba(142,151,165,.50) 0 2px, transparent 2.5px),
    radial-gradient(circle at 36% 62%, rgba(118,128,145,.46) 0 3px, transparent 3.5px),
    radial-gradient(circle at 68% 70%, rgba(118,128,145,.42) 0 2.6px, transparent 3px),
    linear-gradient(180deg, #eef1f5, #c7ced8);
  box-shadow: inset 0 1px 2px rgba(255,255,255,.8), inset 0 -2px 4px rgba(81,91,108,.22);
}
.theme-switch-sun {
  opacity: 0;
  transform: scale(.74) rotate(-18deg);
}
.theme-switch-sun::before {
  content: '';
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff6c8 0 18%, #ffd260 42%, #f25b45 100%);
  box-shadow: 0 0 13px rgba(242,62,46,.54), inset 0 1px 2px rgba(255,255,255,.7);
}
.theme-switch[data-theme-state="dark"] {
  --thumb-x: calc(var(--switch-w) - var(--thumb) - var(--track-pad) * 2);
}
.theme-switch[data-theme-state="dark"]::before {
  background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.04) 38%, rgba(0,0,0,.32));
  box-shadow: 0 14px 26px -18px rgba(0,0,0,.78), inset 0 1px 0 rgba(255,255,255,.14);
}
.theme-switch[data-theme-state="dark"] .theme-switch-shell {
  background: linear-gradient(180deg, #2b3038 0%, #171a20 100%);
  border-color: rgba(255,255,255,.12);
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,.12),
    inset 0 -10px 18px rgba(0,0,0,.40),
    0 1px 0 rgba(255,255,255,.05);
}
.theme-switch[data-theme-state="dark"] .theme-switch-thumb {
  box-shadow:
    0 12px 18px -9px rgba(0,0,0,.78),
    0 0 0 1px rgba(0,0,0,.18),
    0 0 0 3px rgba(176,194,222,.10),
    inset 0 2px 4px rgba(255,255,255,.88),
    inset 0 -7px 10px rgba(70,75,86,.22);
}
.theme-switch[data-theme-state="light"] {
  --thumb-x: 0px;
}
.theme-switch[data-theme-state="light"]::before {
  background: linear-gradient(145deg, rgba(255,255,255,.86), rgba(255,255,255,.34) 44%, rgba(242,62,46,.18));
  box-shadow: 0 14px 24px -18px rgba(34,37,45,.28), inset 0 1px 0 rgba(255,255,255,.86);
}
.theme-switch[data-theme-state="light"] .theme-switch-shell {
  background: linear-gradient(180deg, #fff6ee 0%, #ffd8cf 100%);
  border-color: rgba(242,62,46,.20);
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,.88),
    inset 0 -9px 18px rgba(242,62,46,.16),
    0 1px 0 rgba(255,255,255,.74);
}
.theme-switch[data-theme-state="light"] .theme-switch-scene-night {
  opacity: 0;
  transform: translateX(10px);
  filter: blur(.5px);
}
.theme-switch[data-theme-state="light"] .theme-switch-scene-day {
  opacity: 1;
  transform: translateX(0);
}
.theme-switch[data-theme-state="light"] .theme-switch-thumb {
  background: linear-gradient(180deg, #fff1b8 0%, #ffd15e 44%, #f25a45 100%);
  border-color: rgba(255,255,255,.78);
  box-shadow:
    0 11px 17px -10px rgba(161,52,32,.54),
    0 0 0 1px rgba(145,52,31,.20),
    0 0 0 3px rgba(242,62,46,.14),
    inset 0 2px 4px rgba(255,255,255,.82),
    inset 0 -7px 10px rgba(126,47,25,.20);
}
.theme-switch[data-theme-state="light"] .theme-switch-moon {
  opacity: 0;
  transform: scale(.7) rotate(20deg);
}
.theme-switch[data-theme-state="light"] .theme-switch-sun {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
.theme-switch:active .theme-switch-shell {
  transform: translateY(1px) scale(.992);
}
@media (max-width: 520px) {
  .theme-switch {
    --switch-w: 88px;
    --switch-h: 40px;
    --thumb: 34px;
  }
}

.burger {
  display: inline-flex; width: 40px; height: 40px;
  border-radius: 12px; align-items: center; justify-content: center;
  background: rgba(255,255,255,.05); border: 1px solid var(--hairline);
  color: var(--text); cursor: pointer; margin-left: auto;
}
@media (min-width: 1025px) { .burger { display: none; } }

.nav-toggle { display: none; }
.nav-drawer {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background:
    linear-gradient(180deg, #262a31, #1d2026);
  backdrop-filter: blur(18px) saturate(120%); -webkit-backdrop-filter: blur(18px) saturate(120%);
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg);
  padding: var(--s-3); margin: 0 0;
  display: flex; flex-direction: column; gap: 2px;
  transform: translateY(-8px) scale(.98); opacity: 0; pointer-events: none;
  transition: transform var(--t-base) var(--ease), opacity var(--t-base);
  z-index: 50; box-shadow: 0 28px 70px -24px rgba(0,0,0,.72), var(--inset-light);
}
.nav-toggle:checked ~ .nav-drawer { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.nav-drawer .nav-link { width: 100%; padding: 12px 14px; font-size: 14px; }
@media (min-width: 1025px) { .nav-drawer { display: none; } }
[data-theme="light"] .nav-drawer {
  background:
    linear-gradient(180deg, #ffffff, #f6f7fa);
  border-color: rgba(15,17,22,.10);
  box-shadow: 0 26px 58px -28px rgba(20,22,30,.26), inset 0 1px 0 rgba(255,255,255,.9);
}

/* ════════════════════════════════════════════════════════════════
   5. LIVE-ПОИСК — выпадающие подсказки (стекло)
   ════════════════════════════════════════════════════════════════ */
.search-suggest {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0;
  background: var(--glass-strong);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 6px;
  z-index: 60; max-height: min(420px, 38vh); overflow-y: auto;
  opacity: 0; transform: translateY(-6px);
  pointer-events: none; transition: opacity var(--t-fast), transform var(--t-fast);
}
.search-suggest.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.suggest-item {
  display: flex; align-items: center; gap: var(--s-3);
  padding: 9px 10px; border-radius: var(--radius-sm); cursor: pointer;
  text-decoration: none; color: inherit; transition: background var(--t-fast);
}
.suggest-item:hover, .suggest-item.is-active { background: rgba(255,255,255,.07); }
.suggest-cover {
  width: 38px; height: 38px; border-radius: var(--radius-sm); flex: none;
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 12px;
  position: relative; overflow: hidden; background: var(--grad-primary);
  box-shadow: var(--inset-light);
}
.suggest-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.suggest-meta { min-width: 0; flex: 1; }
.suggest-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest-sub { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest-empty { padding: 18px; text-align: center; color: var(--muted); font-size: 13px; }

/* ════════════════════════════════════════════════════════════════
   6. HERO — крупный заголовок + featured-панель
   ════════════════════════════════════════════════════════════════ */
.hero {
  padding: var(--s-9) var(--gutter) var(--s-7);
  display: grid; grid-template-columns: 1fr;
  gap: var(--s-8); align-items: center;
  position: relative; isolation: isolate;
}
@media (min-width: 1025px) {
  .hero { padding: 70px var(--gutter) 30px; grid-template-columns: minmax(0,1fr) minmax(0,500px); gap: var(--s-10); }
}
/* текст и слайдер не должны раздуваться содержимым — обе колонки сжимаемы */
.hero > .hero-text, .hero > .np-slider { min-width: 0; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 100px;
  background: var(--teal-soft); border: 1px solid var(--teal-soft-2);
  font-size: 12.5px; color: var(--teal); font-weight: 500;
  margin-bottom: var(--s-6); width: fit-content;
}
.hero-eyebrow .live-dot { width: 6px; height: 6px; background: var(--teal); box-shadow: 0 0 8px var(--teal); }

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.2vw, 68px); line-height: 1.02;
  letter-spacing: -.035em; font-weight: 700;
  margin: 0 0 var(--s-5); color: var(--text);
}
.hero h1 .accent {
  background: var(--grad-cool);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; font-style: normal;
}

.hero p {
  font-size: clamp(15px,1.6vw,17px); line-height: 1.6;
  color: var(--text-2); margin: 0 0 var(--s-7); max-width: 480px;
}
.hero-cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* ════════════════════════════════════════════════════════════════
   7. BUTTONS
   ════════════════════════════════════════════════════════════════ */
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 24px; border-radius: 14px;
  font-size: 14.5px; font-weight: 600; cursor: pointer;
  letter-spacing: 0;
  transition: transform var(--t-base) var(--ease), background var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
  font-family: inherit; text-decoration: none; border: 1px solid transparent;
  position: relative;
}
.btn-primary {
  background: linear-gradient(135deg, var(--indigo), #D62E20); color: #fff;
  box-shadow: 0 8px 24px -8px rgba(242,62,46,.6), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(242,62,46,.75), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-primary:active { transform: translateY(0) scale(.99); }
.btn-primary.is-loading { cursor: progress; }
.btn-primary.is-playing { background: linear-gradient(135deg, #252a35, #151820); border-color: rgba(255,255,255,.18); }
.btn-spinner {
  width: 16px; height: 16px; flex: none; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.38); border-top-color: #fff;
  animation: spin-ring .75s linear infinite;
}
.btn-ghost {
  background: var(--glass-strong);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border); color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}
.btn-ghost:hover { background: var(--glass-hover); transform: translateY(-2px); }
.btn-ghost svg { transition: transform var(--t-base) var(--ease); }
.btn-ghost:hover svg { transform: translateX(3px); }

/* ════════════════════════════════════════════════════════════════
   8. NOW PLAYING / FEATURED — стеклянная панель «в эфире» + эквалайзер
   ════════════════════════════════════════════════════════════════ */
.now-playing-card {
  background:
    linear-gradient(165deg, rgba(255,255,255,.04), rgba(255,255,255,0) 42%),
    var(--glass-strong);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl); padding: var(--s-6);
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.now-playing-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(130% 100% at 82% -10%, rgba(242,62,46,.16), transparent 52%);
}
/* СВЕТЛАЯ: карточка должна чётко отделяться от бледно-розового фона страницы */
[data-theme="light"] .now-playing-card {
  background:
    linear-gradient(165deg, rgba(255,255,255,.92), rgba(255,250,248,.82) 55%),
    var(--glass-strong);
  border-color: rgba(20,22,30,.10);
  box-shadow:
    var(--inset-light),
    0 2px 6px -2px rgba(242,62,46,.12),
    0 28px 64px -26px rgba(160,40,28,.28),
    0 12px 30px -16px rgba(20,22,30,.16);
}
[data-theme="light"] .now-playing-card::before {
  background: radial-gradient(130% 100% at 82% -10%, rgba(242,62,46,.10), transparent 50%);
}
.now-playing-card > * { position: relative; z-index: 1; }
.np-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-5); position: relative; }
.np-listeners { font-size: 12.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.np-live {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: #fff; background: rgba(239,68,68,.16); border: 1px solid rgba(239,68,68,.3);
  padding: 5px 11px; border-radius: 8px;
}
.np-live .live-dot { width: 7px; height: 7px; background: var(--live); box-shadow: 0 0 8px var(--live); animation: pulse 1.6s infinite; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 8px var(--teal); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

.np-station { display: flex; align-items: center; gap: var(--s-4); margin-bottom: var(--s-5); position: relative; }
.np-cover {
  width: 92px; height: 92px; border-radius: var(--radius-lg); flex: none;
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-serif);
  font-weight: 700; font-size: 30px; letter-spacing: -.01em;
  box-shadow: 0 14px 32px -10px rgba(242,62,46,.5), inset 0 1px 0 rgba(255,255,255,.3);
  position: relative; overflow: hidden;
  background: linear-gradient(145deg, var(--coral), var(--coral-warm));
}
/* СВЕТЛАЯ: обложка не должна теряться — чёткая тень + тонкая рамка по периметру */
[data-theme="light"] .np-cover {
  box-shadow:
    0 1px 0 rgba(255,255,255,.6) inset,
    0 0 0 1px rgba(20,22,30,.08),
    0 18px 34px -12px rgba(160,40,28,.34),
    0 6px 14px -8px rgba(20,22,30,.22);
}
.np-cover::after { content: ''; position: absolute; inset: 0; background: radial-gradient(80% 60% at 30% 20%, rgba(255,255,255,.22), transparent 60%); z-index: 0; }
.np-cover img { position: absolute; inset: 13%; width: 74%; height: 74%; object-fit: contain; z-index: 1; filter: drop-shadow(0 3px 8px rgba(0,0,0,.4)); }
.np-cover .np-cover-init { position: relative; z-index: 0; }
@media (min-width: 641px) { .np-cover { width: 104px; height: 104px; font-size: 32px; } }
@media (min-width: 1025px) {
  .now-playing-card { padding: var(--s-7); }
  .np-cover { width: 124px; height: 124px; font-size: 38px; border-radius: var(--radius-xl); }
  .np-name { font-size: 25px; }
}
.np-info { flex: 1; min-width: 0; }
.np-name { font-family: var(--font-serif); font-size: 21px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 641px) { .np-name { font-size: 22px; } }
.np-track { font-size: 13px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-track-artist { color: var(--text); font-weight: 500; }
.np-controls {
  display: flex; align-items: center; gap: var(--s-4); position: relative;
  padding-top: var(--s-5); margin-top: var(--s-5);
  border-top: 1px solid var(--border);
}
.np-play {
  width: 58px; height: 58px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--coral-warm), var(--coral) 48%, var(--coral-deep));
  border: none; display: grid; place-items: center; cursor: pointer;
  color: #fff; box-shadow: 0 10px 26px -6px rgba(242,62,46,.6), inset 0 1px 0 rgba(255,255,255,.34);
  transition: transform var(--t-fast) var(--ease-micro), box-shadow var(--t-base) var(--ease);
  position: relative;
}
.np-play > svg { grid-area: 1 / 1; }
.np-ico-play { margin-left: 3px; }
.np-ico-pause { display: none; }
.np-play.is-playing .np-ico-play { display: none; }
.np-play.is-playing .np-ico-pause { display: block; }
.np-play:hover { transform: scale(1.07); box-shadow: 0 14px 32px -6px rgba(242,62,46,.7), inset 0 1px 0 rgba(255,255,255,.34); }
.np-play:active { transform: scale(.97); }
.np-play.is-playing { animation: play-pulse 2.4s var(--ease) infinite; }
@keyframes play-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(242,62,46,.0), 0 10px 26px -6px rgba(242,62,46,.55), inset 0 1px 0 rgba(255,255,255,.34); }
  50%     { box-shadow: 0 0 0 7px rgba(242,62,46,.10), 0 12px 30px -6px rgba(242,62,46,.7), inset 0 1px 0 rgba(255,255,255,.34); }
}

/* ── Эквалайзер: мягкие вертикальные коралловые бары (Apple/Spotify-style) ── */
.np-equalizer { flex: 1; height: 30px; display: flex; align-items: center; justify-content: flex-start; gap: 4px; min-width: 0; }
.np-equalizer .eq-bar {
  width: 4px; border-radius: 99px; transform-origin: center;
  background: linear-gradient(180deg, var(--coral-warm), var(--coral));
  box-shadow: 0 0 10px -2px rgba(242,62,46,.5);
  height: 30%; transform: scaleY(1);
  animation: eq-soft 1.1s ease-in-out infinite;
}
.np-equalizer .eq-bar:nth-child(1) { animation-duration: 1.05s; animation-delay: -.20s; }
.np-equalizer .eq-bar:nth-child(2) { animation-duration:  .78s; animation-delay: -.55s; }
.np-equalizer .eq-bar:nth-child(3) { animation-duration: 1.35s; animation-delay: -.10s; }
.np-equalizer .eq-bar:nth-child(4) { animation-duration:  .92s; animation-delay: -.42s; }
.np-equalizer .eq-bar:nth-child(5) { animation-duration: 1.15s; animation-delay: -.30s; }
@keyframes eq-soft { 0%,100% { height: 26%; } 50% { height: 92%; } }
/* пауза: бары замирают на ровной приглушённой линии */
.np-equalizer.paused .eq-bar {
  animation-play-state: paused; height: 30% !important; opacity: .4;
  background: var(--faint); box-shadow: none;
}

/* совместимость со старым .equalizer (используется в других местах) */
.equalizer { flex: 1; height: 26px; display: flex; align-items: flex-end; gap: 3px; }
.equalizer .eq-bar {
  flex: 1; min-width: 3px; border-radius: 2px;
  background: linear-gradient(var(--coral-warm), var(--coral));
  height: 40%; transform-origin: bottom;
  animation: eq 1.1s ease-in-out infinite;
}
.equalizer .eq-bar:nth-child(2n)  { animation-duration: .9s;  animation-delay: -.2s; }
.equalizer .eq-bar:nth-child(3n)  { animation-duration: 1.3s; animation-delay: -.4s; }
@keyframes eq { 0%,100% { height: 25%; } 50% { height: 100%; } }
.equalizer.paused .eq-bar { animation-play-state: paused; height: 26%; opacity: .45; }

/* формат-чип справа в контролах (MP3/AAC/HLS) */
.np-format-chip {
  flex: none; margin-left: auto;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: .08em; color: var(--text-2);
  padding: 5px 10px; border-radius: 8px;
  background: var(--accent-soft); border: 1px solid var(--accent-soft-2);
}

/* ── Featured-слайдер топ-5 (hero) ──────────────────────────────── */
/* width:100% + min-width:0 + max-width:100% → слайдер строго в своей grid-колонке,
   рейл двигается transform'ом ВНУТРИ overflow:hidden viewport, ничего не выезжает. */
.np-slider { position: relative; isolation: isolate; width: 100%; min-width: 0; max-width: 100%; }
.np-slider-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-2); margin: 0 0 12px 2px;
}
.np-slider-eyebrow .live-dot { width: 6px; height: 6px; background: var(--coral); box-shadow: 0 0 8px var(--coral); }
.np-slider-viewport { overflow: hidden; contain: layout paint; border-radius: var(--radius-xl); width: 100%; }
.np-slider-track {
  display: grid; width: 100%;
  transform: none !important;
}
/* Слайды наложены друг на друга: скрытые карточки не расширяют документ. */
.np-slide {
  grid-area: 1 / 1; width: 100%; min-width: 0; max-width: 100%;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(14px) scale(.992);
  transition: opacity .42s var(--ease), transform .55s cubic-bezier(.4,.01,.16,1), visibility 0s linear .55s;
}
.np-slide.is-active {
  opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  transition-delay: 0s;
}
.np-slide > .now-playing-card { height: 100%; }

/* навигация ВНИЗУ: ‹  • • • • •  › — стрелки по бокам от точек, по центру,
   НЕ перекрывают обложку/контент слайда. */
.np-slider-nav {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-top: 16px;
}
/* стрелки навигации */
.np-slider-arrow {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  color: var(--text-2); background: var(--glass-strong);
  border: 1px solid var(--border-strong);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 4px 12px -6px rgba(0,0,0,.4);
  transition: transform var(--t-base) var(--ease), background var(--t-base), color var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}
.np-slider-arrow:hover {
  background: linear-gradient(135deg, var(--coral-warm), var(--coral));
  color: #fff; border-color: transparent;
  box-shadow: 0 8px 20px -8px rgba(242,62,46,.6);
}
.np-slider-prev:hover { transform: translateX(-2px); }
.np-slider-next:hover { transform: translateX(2px); }
.np-slider-arrow:active { transform: scale(.92); }

/* точки-индикаторы (в одной строке между стрелками) */
.np-slider-dots { display: flex; align-items: center; justify-content: center; gap: 8px; }
.np-slider-dot {
  width: 8px; height: 8px; border-radius: 99px; padding: 0; cursor: pointer;
  background: var(--border-strong); border: none;
  transition: width var(--t-base) var(--ease), background var(--t-base);
}
.np-slider-dot:hover { background: var(--text-2); }
.np-slider-dot.is-active { width: 22px; background: linear-gradient(90deg, var(--coral-warm), var(--coral)); }

@media (prefers-reduced-motion: reduce) {
  .np-slider-track { transition: none; }
  .np-slide { opacity: 1; transition: none; }
}

/* ════════════════════════════════════════════════════════════════
   9. SECTION
   ════════════════════════════════════════════════════════════════ */
.section { padding: var(--section-rhythm) var(--gutter) 0; }
.section + .section { padding-top: var(--section-rhythm); }
.section:last-of-type { padding-bottom: var(--s-10); }
.section--inset-list {
  --list-inset: clamp(14px, 2.1vw, 34px);
}
.section--inset-list > .section-head,
.section--inset-list > .event-month-group,
.section--inset-list > .city-country-group,
.section--inset-list > .artist-grid,
.section--inset-list > .cities-strip {
  margin-left: var(--list-inset);
  margin-right: var(--list-inset);
}
@media (max-width: 640px) {
  .section--inset-list { --list-inset: 0px; }
}

/* Light theme: a deliberate tonal cadence for the lower home page. */
[data-theme="light"] .section.section--cities-tone {
  margin: calc(var(--section-rhythm) + 6px) var(--gutter) 0;
  padding: clamp(28px, 3.5vw, 44px) clamp(22px, 3.3vw, 46px) clamp(32px, 4vw, 48px);
  border: 1px solid rgba(36, 42, 54, .075);
  border-radius: clamp(24px, 3vw, 32px);
  background: #edf0f4;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .78),
    0 30px 58px -50px rgba(25, 31, 42, .5);
}
[data-theme="light"] .section--cities-tone .section-head {
  margin-bottom: clamp(22px, 2.4vw, 30px);
}
[data-theme="light"] .section--cities-tone .sub {
  color: #727987;
}
[data-theme="light"] .section--cities-tone .city-chip {
  background: rgba(255, 255, 255, .72);
  border-color: rgba(35, 41, 52, .085);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .88),
    0 12px 26px -22px rgba(26, 32, 43, .5);
}
[data-theme="light"] .section--cities-tone .city-chip:hover {
  background: #fff;
  border-color: rgba(242, 62, 46, .24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    0 18px 32px -23px rgba(30, 35, 47, .42),
    0 10px 24px -20px rgba(242, 62, 46, .34);
}
[data-theme="light"] .section--cities-tone .city-chip strong {
  color: #5e6572;
  background: rgba(43, 49, 61, .065);
  border-color: rgba(35, 41, 52, .08);
}

[data-theme="light"] .section--about-tone {
  padding-top: calc(var(--section-rhythm) + 10px);
}
[data-theme="light"] .section--about-tone .about-card {
  color: #f6f7fa;
  background:
    radial-gradient(circle at 7% 12%, rgba(255, 98, 74, .17), transparent 36%),
    radial-gradient(circle at 96% 94%, rgba(106, 137, 198, .16), transparent 38%),
    linear-gradient(145deg, #343944 0%, #272e38 52%, #323a47 100%);
  border-color: rgba(255, 255, 255, .11);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .105),
    0 36px 76px -48px rgba(21, 26, 35, .86);
}
[data-theme="light"] .section--about-tone .about-glow {
  opacity: .42;
}
[data-theme="light"] .section--about-tone .about-illus {
  background: rgba(255, 255, 255, .035);
  border-color: rgba(255, 255, 255, .09);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    0 24px 48px -30px rgba(0, 0, 0, .9);
}
[data-theme="light"] .section--about-tone .about-illus-ring {
  border-color: rgba(255, 113, 92, .31);
}
[data-theme="light"] .section--about-tone .about-illus-ring.r2 {
  border-color: rgba(255, 113, 92, .18);
}
[data-theme="light"] .section--about-tone .eyebrow {
  color: #ff8171;
  background: rgba(255, 99, 77, .1);
  border-color: rgba(255, 125, 105, .24);
}
[data-theme="light"] .section--about-tone .about-content h2 {
  color: #f7f8fb;
}
[data-theme="light"] .section--about-tone .about-content > p {
  color: rgba(231, 234, 240, .7);
}
[data-theme="light"] .section--about-tone .about-content > p b {
  color: #fff;
}
[data-theme="light"] .section--about-tone .about-content > p a {
  color: #ff7d6c;
}
[data-theme="light"] .section--about-tone .about-feature {
  background: rgba(255, 255, 255, .045);
  border-color: rgba(255, 255, 255, .085);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}
[data-theme="light"] .section--about-tone .about-feature:hover {
  border-color: rgba(255, 122, 103, .27);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .07),
    0 18px 34px -27px rgba(0, 0, 0, .82);
}
[data-theme="light"] .section--about-tone .af-ic {
  color: #ff826f;
  background: rgba(255, 99, 77, .105);
  border-color: rgba(255, 119, 99, .22);
}
[data-theme="light"] .section--about-tone .af-text b {
  color: #f7f8fb;
}
[data-theme="light"] .section--about-tone .af-text small {
  color: rgba(220, 224, 232, .56);
}

[data-theme="light"] .footer {
  margin-top: clamp(56px, 7vw, 84px);
  background: #e7eaf0;
  border-top-color: rgba(38, 44, 56, .09);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .72),
    0 -28px 62px -54px rgba(27, 32, 42, .46);
}
[data-theme="light"] .footer::before {
  opacity: .44;
}
[data-theme="light"] .footer h4 {
  color: #373e4a;
}
[data-theme="light"] .footer-link {
  color: #59616e;
}
[data-theme="light"] .footer-link:hover,
[data-theme="light"] .footer-link--more {
  color: #e94332;
}
[data-theme="light"] .footer p {
  color: #737b88;
}
[data-theme="light"] .footer-bottom {
  color: #7b8391;
  border-top-color: rgba(38, 44, 56, .1);
}

@media (max-width: 640px) {
  [data-theme="light"] .section.section--cities-tone {
    margin-left: 12px;
    margin-right: 12px;
    padding: 28px 14px 32px;
    border-radius: 24px;
  }
  [data-theme="light"] .section--about-tone .about-card {
    padding: 30px 18px;
    border-radius: 24px;
  }
  [data-theme="light"] .footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center; column-gap: var(--s-4); row-gap: 4px;
  margin-bottom: var(--s-6);
}
/* колонка заголовка: eyebrow → H2 → sub, каждая на своей строке */
.section-head > div {
  grid-column: 1; min-width: 0;
  display: flex; flex-direction: column; align-items: flex-start;
}
.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px,3vw,28px); font-weight: 600;
  letter-spacing: -.025em; margin: 0; line-height: 1.12;
  display: flex; align-items: center; gap: 11px;
  max-width: 100%;
}
.section-head h2 > span:last-child,
.section-head h2 { min-width: 0; }
/* ссылка «Все …» — на строке H2, прижата вправо */
.section-head .section-link { grid-column: 2; align-self: center; }
.sh-ic {
  display: inline-grid; place-items: center; flex: none;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--accent-soft); border: 1px solid var(--accent-soft-2); color: var(--coral);
}
.sh-ic i { font-size: 19px; line-height: 1; }
.section-head .sub { font-size: 13.5px; color: var(--faint); margin-top: 5px; }
.section-link {
  font-size: 13.5px; color: var(--text-2); font-weight: 500;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  transition: color var(--t-fast);
}
.section-link:hover { color: var(--teal); }
.section-link svg { transition: transform var(--t-base) var(--ease); }
.section-link:hover svg { transform: translateX(3px); }

/* ════════════════════════════════════════════════════════════════
   10. GENRE GRID — стеклянные плитки со свечением
   ════════════════════════════════════════════════════════════════ */
.genre-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
@media (min-width: 641px) { .genre-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-4); } }
@media (min-width: 1025px) { .genre-grid { grid-template-columns: repeat(4, 1fr); } }

.genre-tile {
  border-radius: var(--radius-lg);
  position: relative; overflow: hidden; cursor: pointer;
  min-height: 124px; padding: 18px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: var(--text);
  text-decoration: none;
  /* подложка плитки тонируется индивидуальным цветом жанра (низкая интенсивность) */
  background:
    linear-gradient(150deg, color-mix(in srgb, var(--tile-glow) 26%, transparent), color-mix(in srgb, var(--tile-glow) 7%, transparent)),
    var(--glass-strong);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: transform var(--t-base) var(--ease), border-color var(--t-base), box-shadow var(--t-base);
}
/* свечение-orb внутри плитки (индивидуальный цвет) */
.genre-tile::before {
  content: ''; position: absolute; width: 150px; height: 150px; border-radius: 50%;
  filter: blur(46px); top: -40px; right: -30px; opacity: .5; z-index: 0;
  background: var(--tile-glow, var(--coral));
  transition: opacity var(--t-base);
}
.genre-tile:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--tile-glow) 45%, transparent); box-shadow: var(--shadow-lg), 0 14px 40px -18px color-mix(in srgb, var(--tile-glow) 60%, transparent); }
.genre-tile:hover::before { opacity: .75; }
.genre-tile.has-art {
  min-height: 116px;
  padding: 17px 18px;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}
.genre-tile.has-art::after { display: none; }
.gt-art {
  position: relative;
  z-index: 2;
  grid-column: 1;
  width: 82px;
  height: 82px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 18px;
  opacity: 1;
  border: 1px solid color-mix(in srgb, var(--tile-glow) 26%, var(--hairline));
  background: var(--surface-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 12px 28px -18px color-mix(in srgb, var(--tile-glow) 70%, transparent);
}
.gt-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* большая полупрозрачная цифра-счётчик на фоне */
.genre-tile .gt-count {
  position: absolute; top: 6px; right: 14px; z-index: 0;
  font-family: var(--font-serif); font-weight: 700;
  font-size: 56px; line-height: 1; letter-spacing: -.04em;
  color: var(--tile-glow, var(--coral)); opacity: .16;
  font-variant-numeric: tabular-nums; pointer-events: none;
}
.genre-tile .gt-label + .gt-count { color: var(--tile-glow); }
.genre-tile .gt-meta {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}
.genre-tile.has-art .gt-count {
  position: relative;
  top: auto;
  right: auto;
  z-index: 2;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .04em;
  color: var(--muted);
  opacity: .85;
}

/* иконка жанра в чипе */
.genre-tile .gt-icon {
  position: relative; z-index: 2; display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 11px;
  background: color-mix(in srgb, var(--tile-glow) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--tile-glow) 35%, transparent);
  color: #fff;
}
.genre-tile .gt-icon i { font-size: 21px; line-height: 1; }
.genre-tile .gt-label { position: relative; z-index: 2; font-family: var(--font-serif); font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.genre-tile.has-art .gt-icon { display: none; }
.genre-tile.has-art .gt-meta {
  grid-column: 2;
  justify-content: center;
}
.genre-tile.has-art .gt-label {
  min-width: 0;
  font-size: 16px;
  line-height: 1.18;
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.genre-tile.has-art .gt-icon,
.genre-tile.has-art .gt-label,
.genre-tile.has-art .gt-go,
.genre-tile.has-art .gt-meta { z-index: 3; }
.genre-tile.has-art .gt-go { display: none; }
.genre-tile .gt-go {
  position: absolute; bottom: 16px; right: 16px; z-index: 2;
  color: var(--text-2); opacity: 0; transform: translateX(-4px);
  transition: opacity var(--t-base), transform var(--t-base) var(--ease), color var(--t-base);
}
.genre-tile .gt-go i { font-size: 18px; line-height: 1; }
.genre-tile:hover .gt-go { opacity: 1; transform: translateX(0); color: var(--tile-glow); }
@media (max-width: 640px) {
  .genre-tile.has-art {
    min-height: 82px;
    padding: 11px;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
  }
  .genre-tile.has-art .gt-art {
    width: 54px;
    height: 54px;
    border-radius: 14px;
  }
  .genre-tile.has-art .gt-label {
    font-size: 13px;
    line-height: 1.15;
  }
  .genre-tile.has-art .gt-count { font-size: 11px; }
}

/* Жанровые свечения — фолбэк-палитра по индексу (для жанров без точного
   совпадения в colorMap genre_tile.php). РАЗНООБРАЗНЫЕ тематические тона
   приглушённо-премиум насыщенности (коралл/индиго/изумруд/янтарь/фиолет/
   бирюза/роза/винный/сталь/олива…) — разноцветно и со вкусом, НЕ всё тёплое. */
.gt-1  { --tile-glow: #F2542D; }  /* коралл */
.gt-2  { --tile-glow: #4F5BD5; }  /* индиго */
.gt-3  { --tile-glow: #1FA67A; }  /* изумруд */
.gt-4  { --tile-glow: #E8A33D; }  /* янтарь */
.gt-5  { --tile-glow: #8B5CC4; }  /* фиолет */
.gt-6  { --tile-glow: #2BA9B5; }  /* бирюза */
.gt-7  { --tile-glow: #E0537F; }  /* роза */
.gt-8  { --tile-glow: #9C2D44; }  /* винный */
.gt-9  { --tile-glow: #4A6FA5; }  /* сине-стальной */
.gt-10 { --tile-glow: #7C9A3E; }  /* олива */
.gt-11 { --tile-glow: #D69A3A; }  /* охра */
.gt-12 { --tile-glow: #3E8ED0; }  /* лазурь */

/* ════════════════════════════════════════════════════════════════
   11. STATION GRID & CARD — стеклянные парящие карточки
   ════════════════════════════════════════════════════════════════ */
.station-grid {
  display: grid; gap: var(--s-4);
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
@media (min-width: 641px) { .station-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; } }

.station-card {
  border-radius: var(--radius-lg); padding: 16px;
  background: var(--glass);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  text-align: left; cursor: pointer; position: relative; overflow: hidden;
  text-decoration: none; color: inherit; display: block;
  transition: transform var(--t-slow) var(--ease), background var(--t-slow), border-color var(--t-slow), box-shadow var(--t-slow);
}
.station-card:hover {
  transform: translateY(-6px);
  background: var(--glass-strong);
  border-color: var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 30px 60px -20px rgba(0,0,0,.8), 0 0 40px -20px var(--accent-glow);
}
/* текущая станция (играет ИЛИ на паузе) — стеклянная подсветка + тил-ободок */
.station-card.is-current { background: var(--glass-strong); border-color: var(--teal-soft-2); }
.station-card.is-paused {
  box-shadow: var(--shadow-md), 0 0 0 1px var(--teal-soft-2), 0 0 22px -14px rgba(242,62,46,.4);
}
.station-card.playing { background: var(--glass-strong); border-color: var(--teal-soft-2); }
/* мягкое свечение играющей карточки (пульс), 60fps, только box-shadow */
.station-card.playing { animation: card-play-glow 3s var(--ease) infinite; }
@keyframes card-play-glow {
  0%,100% { box-shadow: var(--shadow-md), 0 0 0 1px var(--teal-soft-2), 0 0 26px -14px rgba(242,62,46,.5); }
  50%     { box-shadow: var(--shadow-md), 0 0 0 1px var(--teal-soft-2), 0 0 40px -10px rgba(242,62,46,.85); }
}

.station-cover-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 14px;
  isolation: isolate;
  overflow: hidden;
  border-radius: 14px;
}
.station-cover {
  width: 100%; height: 100%; border-radius: 14px;
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-serif);
  font-weight: 700; font-size: 26px; letter-spacing: -.01em;
  position: relative; overflow: hidden; isolation: isolate;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 8px 20px -10px rgba(0,0,0,.6);
  z-index: 2;
}
/* мягкий блик только на градиентной (fallback-инициалы) обложке */
.station-cover:not(.has-logo)::after,
.station-cover.cover-fallback-on::after { content: ''; position: absolute; inset: 0; z-index: 0; background: radial-gradient(70% 50% at 30% 20%, rgba(255,255,255,.28), transparent 55%); }

/* ── ЛОГО (правка A): blur-backdrop = размытая копия САМОГО лого ── */
.station-cover.has-logo {
  background: linear-gradient(160deg, #2a2d36, #1b1d23);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), inset 0 0 0 1px var(--hairline), 0 8px 20px -10px rgba(0,0,0,.6);
}
/* размытый увеличенный фон из самого логотипа — фон всегда в тон лого.
   Blur умеренный (не размазанный): лого узнаётся как мягкая подложка. */
.cover-backdrop {
  position: absolute; inset: -10%; width: 120%; height: 120%; z-index: 0;
  object-fit: cover; filter: blur(13px) saturate(1.35) brightness(.82);
  transform: scale(1.04); pointer-events: none;
}
.station-cover.cover-fallback-on .cover-backdrop { display: none; }
/* overlay поверх размытого фона — контраст + лёгкий coral-тон сверху */
.station-cover.has-logo::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(242,62,46,.10), transparent 58%),
    linear-gradient(180deg, rgba(8,9,12,.30), rgba(8,9,12,.52));
}
.cover-logo-pad {
  position: absolute; inset: 13%; z-index: 2; display: grid; place-items: center;
}
/* подложка-бокс под чётким лого: выделяет белые/прозрачные лого, рамкует тёмные */
.cover-logo-box {
  position: relative; display: grid; place-items: center; width: 100%; height: 100%;
  padding: 11%; border-radius: 14px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 6px 18px -8px rgba(0,0,0,.5);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
[data-theme="light"] .cover-logo-box { background: rgba(255,255,255,.20); border-color: rgba(255,255,255,.30); }
.station-cover.cover-fallback-on .cover-logo-pad { display: none; }

.station-cover-stage .play-overlay {
  position: absolute; right: 12px; bottom: 12px; margin: 0;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.32);
  background: linear-gradient(145deg, #ff674f, #ed3429 58%, #bb211c);
  color: var(--play-fg);
  box-shadow:
    0 0 0 2px rgba(8,9,12,.82),
    0 0 0 3px rgba(255,255,255,.17),
    inset 0 1px 1px rgba(255,255,255,.42),
    inset 0 -3px 5px rgba(104,11,7,.34),
    0 5px 12px rgba(0,0,0,.38),
    0 0 14px rgba(242,62,46,.34);
  display: grid; place-items: center; cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: scale(.82);
  transform-origin: 50% 50%;
  backface-visibility: hidden;
  will-change: opacity, transform;
  transition:
    opacity 120ms ease-out,
    transform 160ms cubic-bezier(.2,.8,.2,1),
    box-shadow 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
  z-index: 4;
}
.station-card:hover .play-overlay,
.station-card:focus-within .play-overlay {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.play-overlay:hover {
  transform: scale(1.06);
  box-shadow:
    0 0 0 2px rgba(8,9,12,.9),
    0 0 0 3px rgba(255,255,255,.26),
    inset 0 1px 1px rgba(255,255,255,.48),
    inset 0 -3px 5px rgba(104,11,7,.38),
    0 7px 16px rgba(0,0,0,.48),
    0 0 20px rgba(255,75,50,.65);
}
.play-overlay:active {
  transform: scale(.96);
  transition-duration: 70ms;
}
.play-overlay::after {
  content: none;
}
.play-overlay svg {
  position: relative;
  z-index: 2;
  width: 13px;
  height: 13px;
  margin-left: 1px;
  filter: drop-shadow(0 1px 1px rgba(79,8,5,.34));
}
/* play/pause иконки внутри overlay: по умолчанию видна play, pause скрыта */
.play-overlay .po-pause { display: none; margin-left: 0; }
/* текущая станция (играет/пауза) → overlay ВСЕГДА виден и показывает pause/resume */
.station-card.is-current .play-overlay {
  opacity: 1; pointer-events: auto; transform: scale(1);
  color: var(--play-fg);
}
.station-card.is-current .play-overlay .po-play  { display: none; }
.station-card.is-current .play-overlay .po-pause { display: block; }
/* на паузе overlay показывает «play» (resume) — приглашение продолжить */
.station-card.is-paused .play-overlay .po-play  { display: block; margin-left: 2px; }
.station-card.is-paused .play-overlay .po-pause { display: none; }
.station-card.is-loading .play-overlay {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  cursor: wait;
}
.station-card.is-loading .play-overlay svg,
.station-card.is-error .play-overlay svg { display: none !important; }
.station-card.is-loading .play-overlay::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.38);
  border-top-color: #fff;
  animation: spin-ring .78s linear infinite;
  position: relative;
  z-index: 4;
}
.station-card.is-loading .play-overlay::after,
.station-card.is-error .play-overlay::after { opacity: 0; }
.station-card.is-error .play-overlay {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  background: linear-gradient(135deg, var(--danger), var(--coral-deep));
  color: #fff;
}
.station-card.is-error .play-overlay::before {
  content: '!';
  position: relative;
  z-index: 4;
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
}
@media (hover: none) {
  .play-overlay { opacity: 1; pointer-events: auto; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .station-cover-stage .play-overlay { transition: none !important; }
}

.station-cover-img {
  position: relative; width: 100%; height: 100%;
  object-fit: contain; z-index: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
}
.cover-initials { position: relative; z-index: 0; display: grid; place-items: center; width: 100%; height: 100%; }
/* при наличии лого инициалы прячем (под лого, не мерцают) */
.station-cover.has-logo:not(.cover-fallback-on) .cover-initials { opacity: 0; }
.cover-fallback-on .cover-initials { z-index: 2; opacity: 1; }

.station-name { font-size: 14.5px; font-weight: 600; color: var(--text); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.35; margin-top: 12px; }
.station-meta-row { display: flex; flex-direction: column; gap: 6px; margin-top: 5px; }
.station-genre { font-size: 11.5px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.station-meta-icons { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.st-mi { display: inline-flex; align-items: center; gap: 3px; font-size: 10.5px; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.st-mi i { font-size: 13px; line-height: 1; color: var(--text-3); }
.st-mi-fmt i { color: var(--coral); }
.station-card:hover .st-mi-fmt { color: var(--coral); }
.station-now { font-size: 11.5px; color: var(--teal); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 0; }
.station-now.np-fade, .np-track.np-fade { animation: np-cross .42s var(--ease-micro) both; }

/* Cover gradients — ШИРОКИЙ спектр премиум-тематических солидных заливок
   (коралл/индиго/изумруд/янтарь/фиолет/бирюза/роза/винный/сталь/олива…).
   Приглушённо-средняя насыщенность, мягкие 2-тоновые градиенты — соседние
   карточки разные и живые. НЕ радужный mesh, а разноцветные тематические плитки. */
.cov-1  { background: linear-gradient(145deg,#F2542D,#D6361F); } /* коралл-красный */
.cov-2  { background: linear-gradient(145deg,#4F5BD5,#3A3FB0); } /* индиго */
.cov-3  { background: linear-gradient(145deg,#1FA67A,#127D5C); } /* изумруд */
.cov-4  { background: linear-gradient(145deg,#E8A33D,#D17A28); } /* янтарь */
.cov-5  { background: linear-gradient(145deg,#8B5CC4,#6A3FA0); } /* фиолет */
.cov-6  { background: linear-gradient(145deg,#2BA9B5,#1B7E8C); } /* бирюза */
.cov-7  { background: linear-gradient(145deg,#E0537F,#C13862); } /* роза */
.cov-8  { background: linear-gradient(145deg,#9C2D44,#7A2436); } /* винный */
.cov-9  { background: linear-gradient(145deg,#4A6FA5,#345485); } /* сине-стальной */
.cov-10 { background: linear-gradient(145deg,#7C9A3E,#5E7A2C); } /* олива */
.cov-11 { background: linear-gradient(145deg,#FF6A3D,#E04A24); } /* оранж-коралл */
.cov-12 { background: linear-gradient(145deg,#5A50C0,#7C4FB5); } /* индиго-фиолет */
.cov-13 { background: linear-gradient(145deg,#1F9E94,#15756D); } /* сине-зелёный */
.cov-14 { background: linear-gradient(145deg,#D14B5A,#A8323F); } /* терракот-роза */
.cov-15 { background: linear-gradient(145deg,#C77A2E,#9E5C1F); } /* охра */
.cov-16 { background: linear-gradient(145deg,#3E8ED0,#2C6BA8); } /* лазурь */

/* ════════════════════════════════════════════════════════════════
   12. STICKY PLAYER — плавающий стеклянный док
   ════════════════════════════════════════════════════════════════ */
.sticky-player {
  position: fixed; bottom: calc(var(--mobnav-h) + 10px); left: 50%; transform: translateX(-50%);
  width: min(1180px, calc(100% - 24px));
  height: var(--player-h);
  background: var(--glass-strong);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: grid; align-items: center;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  padding: 0 var(--s-5); gap: var(--s-4); z-index: 40;
  animation: player-rise .5s var(--ease) both;
}
@keyframes player-rise { from { transform: translate(-50%,120%); opacity: 0; } to { transform: translate(-50%,0); opacity: 1; } }
.sticky-player[hidden] { display: none; }
@media (min-width: 1025px) { .sticky-player { bottom: 18px; padding: 0 var(--s-6); gap: var(--s-6); } }
.sticky-player.is-playing { box-shadow: var(--shadow-lg), 0 0 50px -24px var(--accent-glow); }

/* ── ЛЕВО: инфо станции + now-playing ── */
.sp-station { display: flex; align-items: center; gap: var(--s-3); min-width: 0; }
@media (min-width: 1025px) { .sp-station { gap: var(--s-4); } }

.sp-cover {
  width: 52px; height: 52px; border-radius: 13px;
  display: grid; place-items: center; color: #fff; font-family: var(--font-serif); font-weight: 700; font-size: 15px; flex: none;
  position: relative; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255,255,255,.3);
}
@media (min-width: 1025px) { .sp-cover { width: 56px; height: 56px; } }

.sp-info { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.sp-name-row { display: flex; align-items: center; gap: var(--s-2); min-width: 0; }
.sp-name-link { text-decoration: none; color: inherit; min-width: 0; }
.sp-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.sp-name-link:hover .sp-name { color: var(--teal); }
/* читаемость поверх фонового визуализатора: лёгкая тень текста только при viz-on */
.sticky-player.viz-on .sp-name { text-shadow: 0 1px 6px var(--shadow-text, rgba(0,0,0,.55)); }
.sticky-player.viz-on .sp-track { text-shadow: 0 1px 5px var(--shadow-text, rgba(0,0,0,.5)); }

/* строка now-playing: мини-обложка трека + текст */
.sp-now { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sp-now-cover {
  width: 22px; height: 22px; border-radius: 6px; flex: none; position: relative; overflow: hidden;
  display: grid; place-items: center; background: var(--accent-soft);
  border: 1px solid var(--hairline); color: var(--teal);
}
.sp-now-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.sp-now-cover.art-fallback img { display: none; }
.sp-now-note { width: 12px; height: 12px; opacity: .85; }
.sp-now-cover:not(.art-fallback) .sp-now-note { display: none; }

.sp-track { font-size: 12px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; position: relative; min-width: 0; flex: 1; }
.sp-now-text { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.sp-now-artist { color: var(--teal); font-weight: 600; text-decoration: none; }
.sp-now-artist:hover { text-decoration: underline; }
.sp-now-dash { color: var(--faint); }
.sp-track.np-fade .sp-now-text { animation: np-cross .42s var(--ease-micro) both; }
@keyframes np-cross { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.sp-track.is-marquee { text-overflow: clip; }
.sp-track .marquee-inner { display: inline-block; white-space: nowrap; will-change: transform; }
.sp-track.is-marquee .marquee-inner { animation: marquee 16s linear infinite; padding-right: 2.5em; }
.sp-track.is-marquee .marquee-inner::after { content: attr(data-text); padding-left: 2.5em; }
.sticky-player:hover .sp-track.is-marquee .marquee-inner { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── ЦЕНТР: управление + визуализатор ── */
.sp-controls { display: flex; align-items: center; justify-content: center; flex: none; align-self: center; }
.sp-control-row { display: flex; align-items: center; gap: var(--s-3); }

/* prev/next/stop — SOLID непрозрачная поверхность, чёткая граница (не сливается с фоном) */
.sp-ctrl {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line-strong); color: var(--text);
  display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.sp-ctrl:hover { color: var(--coral); background: var(--surface-3); border-color: var(--accent-soft-2); transform: scale(1.06); }
.sp-ctrl:active { transform: scale(.92); }
.sp-ctrl.hide-mobile { display: none; }
@media (min-width: 1025px) { .sp-ctrl.hide-mobile { display: grid; } }

/* play — коралловый SOLID */
.sp-play {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  border: none; display: grid; place-items: center; cursor: pointer;
  color: #fff; transition: transform var(--t-fast) var(--ease-micro), box-shadow var(--t-fast);
  box-shadow: 0 6px 18px -4px rgba(242,62,46,.6), inset 0 1px 0 rgba(255,255,255,.3);
}
.sp-play:hover { transform: scale(1.06); box-shadow: 0 10px 26px -4px rgba(242,62,46,.75), inset 0 1px 0 rgba(255,255,255,.35); }
.sp-play:active { transform: scale(.94); }
.sticky-player.is-playing .sp-play { animation: play-pulse 2.2s var(--ease) infinite; }
.sp-play.is-loading {
  cursor: wait;
  animation: none;
}
.sp-play-spinner {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,.42);
  border-top-color: #fff;
  animation: spin-ring .78s linear infinite;
}
.sp-play.is-error {
  background: linear-gradient(135deg, var(--danger), var(--coral-deep));
  box-shadow: 0 8px 22px -6px rgba(242,109,109,.68), inset 0 1px 0 rgba(255,255,255,.25);
}
@keyframes spin-ring { to { transform: rotate(360deg); } }

.sp-progress { display: none; align-items: center; justify-content: center; gap: var(--s-3); width: 100%; font-size: 11px; color: var(--faint); }
@media (min-width: 1025px) { .sp-progress { display: flex; } }
.sp-bar { flex: 1; height: 4px; background: rgba(255,255,255,.1); border-radius: 3px; position: relative; overflow: hidden; }
.sp-bar-fill { position: absolute; top: 0; bottom: 0; left: 0; background: linear-gradient(90deg, var(--indigo), var(--teal)); width: 42%; border-radius: 3px; }
.sticky-player.is-playing .sp-bar-fill { width: 100%; }
.sp-live-tag { font-size: 10px; font-weight: 700; color: var(--teal); letter-spacing: .04em; display: inline-flex; align-items: center; gap: 5px; flex: none; }
.sp-live-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 8px var(--teal); animation: pulse 2s infinite; }
.sticky-player:not(.is-playing) .sp-live-tag { color: var(--faint); }
.sticky-player:not(.is-playing) .sp-live-tag::before { background: var(--faint); box-shadow: none; animation: none; }

/* ── ПРАВО: лайк · фав · громкость · открыть ── */
.sp-extra { display: flex; align-items: center; gap: var(--s-2); justify-content: flex-end; min-width: 0; }
@media (min-width: 1025px) { .sp-extra { gap: var(--s-3); } }

/* лайк / громкость / открыть — SOLID непрозрачные (не сливаются с фоном) */
.sp-icon-btn {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line); color: var(--text-2);
  display: grid; place-items: center; cursor: pointer; flex: none; text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
  position: relative;
}
.sp-icon-btn:hover { color: var(--coral); background: var(--surface-2); border-color: var(--accent-soft-2); }
.sp-icon-btn:active { transform: scale(.9); }
.sp-icon-btn[hidden] { display: none; }
.sp-ctrl:focus-visible,
.sp-play:focus-visible,
.sp-icon-btn:focus-visible,
.sp-collapse:focus-visible {
  outline: 2px solid rgba(255,255,255,.92);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(242,62,46,.28);
}

.sp-like.liked { color: var(--live); border-color: rgba(239,68,68,.3); background: rgba(239,68,68,.12); }
.sp-like.liked svg { fill: var(--live); }
.sp-fav.active { color: var(--teal); border-color: var(--teal-soft-2); background: var(--teal-soft); }
.sp-fav.active svg { fill: var(--teal); }
.sp-vol-icon.is-muted { color: var(--danger); }

.sp-volume { display: none; align-items: center; gap: var(--s-2); color: var(--text-2); }
@media (min-width: 1025px) { .sp-volume { display: flex; } }
.sp-vol-bar { width: 84px; height: 5px; background: rgba(255,255,255,.12); border-radius: 3px; position: relative; cursor: pointer; outline: none; }
.sp-vol-bar:focus-visible { box-shadow: 0 0 0 2px var(--accent-soft-2); }
.sp-vol-bar::after { content: ''; position: absolute; inset: -7px 0; }
.sp-vol-fill { position: absolute; top: 0; bottom: 0; left: 0; background: linear-gradient(90deg, var(--indigo), var(--teal)); border-radius: 3px; }
.sp-vol-fill::after {
  content: ''; position: absolute; right: -5px; top: 50%; transform: translateY(-50%);
  width: 12px; height: 12px; border-radius: 50%; background: var(--text); box-shadow: 0 0 0 3px rgba(255,255,255,.12);
  opacity: 0; transition: opacity var(--t-fast);
}
.sp-vol-bar:hover .sp-vol-fill::after, .sp-vol-bar:focus-visible .sp-vol-fill::after { opacity: 1; }

.sp-link { display: flex; align-items: center; text-decoration: none; color: inherit; flex: none; }
.sp-error { color: var(--danger) !important; font-weight: 600; }

/* ════════════════════════════════════════════════════════════════
   13. HEART-BURST — холодные искры
   ════════════════════════════════════════════════════════════════ */
[data-like-track] { position: relative; }
.like-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.05); border: 1px solid var(--hairline);
  color: var(--text-2); cursor: pointer; font-size: 13px; font-weight: 600;
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
  position: relative;
}
.like-btn:hover { color: var(--text); background: rgba(255,255,255,.1); }
.like-btn.liked { color: var(--live); border-color: rgba(239,68,68,.3); background: rgba(239,68,68,.12); }
.like-btn.liked svg { fill: var(--live); animation: heart-beat .5s var(--ease-spring); }
.like-btn:active { transform: scale(.92); }
.like-btn svg { stroke: currentColor; transition: fill var(--t-fast); }
.like-count { font-variant-numeric: tabular-nums; }
@keyframes heart-beat { 0%{transform:scale(1);} 30%{transform:scale(1.35);} 60%{transform:scale(.92);} 100%{transform:scale(1);} }

.heart-burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; z-index: 5; }
.heart-particle {
  position: absolute; left: 0; top: 0; width: 6px; height: 6px; border-radius: 50%;
  background: var(--indigo);
  animation: burst-fly .6s var(--ease) forwards;
}
.heart-particle:nth-child(2n) { background: var(--teal); }
.heart-particle:nth-child(3n) { background: var(--violet); }
@keyframes burst-fly {
  0%   { transform: translate(0,0) scale(1); opacity: 1; }
  100% { transform: translate(var(--bx,0), var(--by,0)) scale(0); opacity: 0; }
}

/* ════════════════════════════════════════════════════════════════
   14. SKELETON — стеклянный shimmer
   ════════════════════════════════════════════════════════════════ */
.skeleton {
  position: relative; overflow: hidden;
  background: rgba(255,255,255,.05); border-radius: var(--radius-sm);
}
.skeleton::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08) 50%, transparent);
  transform: translateX(-100%); animation: shimmer 1.5s ease-in-out infinite;
}
@keyframes shimmer { 100% { transform: translateX(100%); } }
.skeleton-card { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--glass); }
.skeleton-cover { width: 100%; aspect-ratio: 1; border-radius: 14px; }
.skeleton-line { height: 11px; border-radius: 6px; }
.skeleton-line.short { width: 60%; }
.skeleton-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: var(--s-4); padding: var(--section-rhythm) var(--gutter) 0; }
@media (min-width: 641px) { .skeleton-grid { grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap: 18px; } }

/* ════════════════════════════════════════════════════════════════
   15. REVEAL ON SCROLL  +  LAZY
   ════════════════════════════════════════════════════════════════ */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .42s var(--ease), transform .42s var(--ease); will-change: opacity, transform; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.js .reveal[style*="--i"] { transition-delay: calc(var(--i) * 40ms); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; }
}
.js img[data-src], img.lazy { opacity: 0; transition: opacity .5s var(--ease); }
img.lazy-loaded { opacity: 1; }

/* ════════════════════════════════════════════════════════════════
   16. MOBILE NAV — стеклянный bottom bar
   ════════════════════════════════════════════════════════════════ */
.mob-nav {
  position: fixed; bottom: 0; left: 0; right: 0; height: var(--mobnav-h);
  background: var(--glass-strong);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-around;
  z-index: 41; padding-bottom: env(safe-area-inset-bottom);
}
@media (min-width: 1025px) { .mob-nav { display: none; } }
.mob-nav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; color: var(--faint); text-decoration: none; font-size: 10px; font-weight: 600;
  letter-spacing: .04em; height: 100%; min-height: 44px; transition: color var(--t-fast); position: relative;
}
.mob-nav a.active { color: var(--teal); }
.mob-nav a.active::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 24px; height: 2px; border-radius: 0 0 2px 2px; background: var(--teal); box-shadow: 0 0 8px var(--teal);
}
.mob-nav a:active svg { transform: scale(.86); }
.mob-nav a svg { transition: transform var(--t-fast); }

/* ════════════════════════════════════════════════════════════════
   17. FOOTER
   ════════════════════════════════════════════════════════════════ */
.footer {
  position: relative;
  margin: var(--s-11) var(--gutter) 24px;
  padding: var(--s-10) var(--gutter) var(--s-7);
  border: 1px solid var(--hairline);
  border-radius: 30px;
  background:
    radial-gradient(80% 140% at 50% -42%, rgba(242,62,46,.08), transparent 62%),
    color-mix(in srgb, var(--surface) 82%, transparent);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    0 24px 58px -46px rgba(0,0,0,.78);
}
body.player-active .footer { margin-bottom: 30px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-7); margin-bottom: var(--s-7); }
@media (min-width: 641px) { .footer-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-8); } }
@media (min-width: 1025px) {
  .footer { padding-top: 44px; padding-bottom: 26px; }
  .footer-grid { grid-template-columns: 1.5fr repeat(4, 1fr); gap: var(--s-8); margin-bottom: 22px; }
}
.footer h4 { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin: 0 0 var(--s-4); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: 13.5px; color: var(--text-2); text-decoration: none; transition: color var(--t-fast); width: fit-content; }
.footer-link:hover { color: var(--text); }
.cookie-settings-link { appearance: none; border: 0; background: none; padding: 0; font-family: inherit; text-align: left; cursor: pointer; }

/* Legal documents */
.legal-hero { padding-top: clamp(42px, 7vw, 88px); padding-bottom: var(--s-8); }
.legal-back { display: inline-flex; align-items: center; gap: 7px; margin-bottom: var(--s-8); color: var(--text-2); text-decoration: none; font-size: 14px; }
.legal-back:hover { color: var(--coral); }
.legal-hero .eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--coral); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.legal-hero h1 { max-width: 900px; margin: var(--s-4) 0 var(--s-3); font-family: var(--font-display); font-size: clamp(34px, 5vw, 62px); line-height: 1.04; letter-spacing: -.045em; }
.legal-hero > p { margin: 0; color: var(--faint); }
.legal-layout { display: grid; grid-template-columns: minmax(210px, 270px) minmax(0, 860px); align-items: start; gap: clamp(28px, 5vw, 72px); }
.legal-nav { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 6px; padding: 10px; border: 1px solid var(--hairline); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); }
.legal-nav a { padding: 11px 12px; border-radius: 11px; color: var(--text-2); text-decoration: none; font-size: 13px; line-height: 1.3; }
.legal-nav a:hover { color: var(--text); background: var(--surface-2); }
.legal-nav a.active { color: #fff; background: var(--grad-amber); font-weight: 650; }
.legal-document { min-width: 0; padding: clamp(24px, 4vw, 48px); border: 1px solid var(--hairline); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-md); }
.legal-document h2 { margin: 2.2em 0 .65em; font-family: var(--font-display); font-size: clamp(21px, 2.5vw, 29px); letter-spacing: -.025em; }
.legal-document h2:first-child { margin-top: 0; }
.legal-document p, .legal-document li, .legal-document td, .legal-document th, .legal-document dd, .legal-document dt { font-size: 15px; line-height: 1.72; }
.legal-document p, .legal-document ul, .legal-document ol { color: var(--text-2); }
.legal-document a { color: var(--coral); }
.legal-document code { padding: 2px 6px; border-radius: 6px; background: var(--surface-2); color: var(--text); }
.legal-document li + li { margin-top: 7px; }
.legal-table-wrap { min-width: 0; max-width: 100%; overflow-x: auto; margin: var(--s-6) 0; border: 1px solid var(--hairline); border-radius: 14px; }
.legal-document table { width: 100%; min-width: 650px; border-collapse: collapse; }
.legal-document th, .legal-document td { padding: 14px 15px; border-bottom: 1px solid var(--hairline); text-align: left; vertical-align: top; }
.legal-document th { color: var(--text); background: var(--surface-2); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.legal-document tr:last-child td { border-bottom: 0; }
.legal-details { display: grid; gap: 0; margin: 0; }
.legal-details > div { display: grid; grid-template-columns: minmax(160px, 230px) 1fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--hairline); }
.legal-details dt { color: var(--faint); }
.legal-details dd { margin: 0; color: var(--text); }
@media (max-width: 800px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .legal-document { padding: 22px 18px; border-radius: 18px; }
  .legal-details > div { grid-template-columns: 1fr; gap: 3px; }
}
@media (max-width: 520px) { .legal-nav { grid-template-columns: 1fr; } }

/* Explicit cookie choice. Optional analytics/marketing remain unavailable until actually connected. */
.cookie-consent {
  position: fixed; z-index: 920; right: max(20px, env(safe-area-inset-right));
  bottom: max(98px, calc(84px + env(safe-area-inset-bottom)));
  width: min(590px, calc(100vw - 40px)); max-height: min(740px, calc(100dvh - 120px)); overflow: auto;
  padding: 22px; border: 1px solid color-mix(in srgb, var(--coral) 24%, var(--hairline)); border-radius: 24px;
  color: var(--text); background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--coral) 12%, transparent), transparent 34%),
    color-mix(in srgb, var(--surface) 95%, transparent);
  box-shadow: 0 28px 80px -30px rgba(0,0,0,.62), 0 10px 30px -20px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(26px) saturate(1.15); -webkit-backdrop-filter: blur(26px) saturate(1.15);
  opacity: 0; transform: translateY(18px) scale(.985); transform-origin: 100% 100%;
  transition: opacity .24s ease, transform .28s cubic-bezier(.2,.75,.25,1);
}
.cookie-consent[hidden] { display: none !important; }
.cookie-consent.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.cookie-consent__head { display: grid; grid-template-columns: auto 1fr auto; gap: 13px; align-items: center; }
.cookie-consent__mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: #fff; background: var(--grad-amber); box-shadow: 0 10px 22px -12px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,.32); font-size: 21px; }
.cookie-consent__mark svg { width: 23px; height: 23px; }
.cookie-consent__eyebrow { display: block; margin-bottom: 3px; color: var(--coral); font-size: 9.5px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.cookie-consent h2 { margin: 0; font-family: var(--font-serif); font-size: 20px; line-height: 1.12; letter-spacing: -.015em; }
.cookie-consent__close { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--hairline); border-radius: 11px; color: var(--text-2); background: color-mix(in srgb, var(--surface-2) 82%, transparent); cursor: pointer; transition: border-color .18s ease, color .18s ease, background .18s ease; }
.cookie-consent__close[hidden] { display: none !important; }
.cookie-consent__close svg { width: 17px; height: 17px; }
.cookie-consent__close:hover { border-color: color-mix(in srgb, var(--coral) 45%, var(--hairline)); color: var(--coral); background: color-mix(in srgb, var(--coral) 9%, var(--surface-2)); }
.cookie-consent__intro { margin: 15px 0 14px; color: var(--text-2); font-size: 13px; line-height: 1.56; }
.cookie-consent__categories { display: grid; gap: 8px; }
.cookie-category { position: relative; display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 11px; align-items: center; min-height: 66px; padding: 10px 12px; border: 1px solid var(--hairline); border-radius: 16px; background: color-mix(in srgb, var(--surface-2) 74%, transparent); }
.cookie-category--active { border-color: color-mix(in srgb, var(--coral) 28%, var(--hairline)); background: linear-gradient(110deg, color-mix(in srgb, var(--coral) 9%, var(--surface-2)), color-mix(in srgb, var(--surface-2) 80%, transparent)); }
.cookie-category--disabled { opacity: .72; }
.cookie-category input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cookie-category__icon { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--hairline); border-radius: 12px; color: var(--muted); background: color-mix(in srgb, var(--surface) 78%, transparent); font-size: 17px; }
.cookie-category--active .cookie-category__icon { border-color: color-mix(in srgb, var(--coral) 34%, var(--hairline)); color: var(--coral); background: color-mix(in srgb, var(--coral) 9%, var(--surface)); }
.cookie-category__copy { min-width: 0; }
.cookie-category__copy strong { display: block; margin-bottom: 3px; font-size: 12.5px; line-height: 1.2; }
.cookie-category__copy small { display: block; color: var(--faint); font-size: 10.5px; line-height: 1.38; }
.cookie-category__status { align-self: start; padding: 5px 7px; border: 1px solid var(--hairline); border-radius: 999px; color: var(--faint); background: color-mix(in srgb, var(--surface) 80%, transparent); font-size: 8px; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; white-space: nowrap; }
.cookie-category--active .cookie-category__status { border-color: color-mix(in srgb, var(--coral) 32%, var(--hairline)); color: var(--coral); background: color-mix(in srgb, var(--coral) 8%, var(--surface)); }
.cookie-consent__legal { margin: 13px 0 15px; color: var(--faint); font-size: 10.5px; line-height: 1.5; }
.cookie-consent__legal a { color: var(--coral); text-underline-offset: 3px; }
.cookie-consent__actions { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 8px; }
.cookie-consent__actions .btn { min-height: 42px; padding: 0 12px; border-radius: 12px; font-size: 11px; white-space: nowrap; }
.cookie-consent__necessary { border: 1px solid var(--hairline); color: var(--text-2); background: color-mix(in srgb, var(--surface-2) 82%, transparent); }
.cookie-consent__save { border: 1px solid color-mix(in srgb, var(--coral) 30%, var(--hairline)); color: var(--coral); background: color-mix(in srgb, var(--coral) 7%, var(--surface-2)); }
html[data-theme="light"] .cookie-consent { border-color: rgba(35,39,48,.16); background: radial-gradient(circle at 100% 0%, rgba(255,78,57,.11), transparent 36%), rgba(255,255,255,.94); box-shadow: 0 30px 75px -34px rgba(26,30,38,.38), 0 10px 30px -22px rgba(242,62,46,.35), inset 0 1px 0 #fff; }
html[data-theme="light"] .cookie-category { border-color: rgba(35,39,48,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.72); }
@media (max-width: 640px) {
  .cookie-consent { left: 10px; right: 10px; bottom: calc(78px + env(safe-area-inset-bottom)); width: auto; max-height: calc(100dvh - 96px); padding: 17px; border-radius: 20px; background: linear-gradient(145deg, color-mix(in srgb, var(--coral) 8%, var(--surface)) 0%, var(--surface) 34%, var(--surface) 100%); box-shadow: 0 26px 70px -20px rgba(0,0,0,.78), 0 0 0 1px color-mix(in srgb, var(--coral) 20%, var(--hairline)); backdrop-filter: none; -webkit-backdrop-filter: none; }
  html[data-theme="light"] .cookie-consent { background: linear-gradient(145deg, #fff4f1 0%, #fff 34%, #fff 100%); box-shadow: 0 26px 65px -24px rgba(26,30,38,.42), 0 0 0 1px rgba(35,39,48,.11); }
  .cookie-consent__mark { width: 40px; height: 40px; border-radius: 13px; }
  .cookie-consent h2 { font-size: 18px; }
  .cookie-consent__intro { margin: 12px 0; font-size: 12px; }
  .cookie-category { grid-template-columns: auto minmax(0,1fr); min-height: 60px; padding: 9px 10px; }
  .cookie-category__status { grid-column: 2; justify-self: start; margin-top: -2px; }
  .cookie-category__copy small { font-size: 10px; }
  .cookie-consent__actions { grid-template-columns: 1fr 1fr; }
  .cookie-consent__actions .cookie-consent__accept { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .cookie-consent { transition: none; } }
.footer p { font-size: 13.5px; color: var(--faint); line-height: 1.6; margin: var(--s-4) 0 0; max-width: 380px; }
.footer-bottom { display: flex; flex-direction: column; gap: var(--s-2); justify-content: space-between; font-size: 12.5px; color: var(--faint); padding: var(--s-6) 0 3px; border-top: 1px solid var(--hairline); }
@media (min-width: 1025px) { .footer-bottom { padding-top: 18px; } }
@media (min-width: 641px) { .footer-bottom { flex-direction: row; } }

/* ════════════════════════════════════════════════════════════════
   18. CATALOG / STATION HERO / BODY / SIDEBAR
   ════════════════════════════════════════════════════════════════ */
.catalog-hero {
  padding: var(--s-9) var(--gutter) var(--s-7);
  display: flex; flex-direction: column; gap: var(--s-5);
  align-items: flex-start; position: relative;
}
@media (min-width: 641px) { .catalog-hero { flex-direction: row; align-items: flex-start; gap: var(--s-8); padding: var(--s-11) var(--gutter) var(--s-9); } }
.catalog-hero-icon {
  width: 88px; height: 88px; border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--indigo), var(--violet));
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-serif);
  font-size: 38px; font-weight: 700; flex: none;
  position: relative; overflow: hidden; box-shadow: 0 12px 30px -8px rgba(242,62,46,.6), inset 0 1px 0 rgba(255,255,255,.3);
}
@media (min-width: 641px) { .catalog-hero-icon { width: 116px; height: 116px; font-size: 52px; margin-top: var(--s-7); } }
.catalog-hero-art {
  width: min(100%, 300px);
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  flex: none;
  position: relative;
  background: var(--glass-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg), 0 18px 52px -30px var(--accent-glow);
}
.catalog-hero-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
@media (min-width: 641px) {
  .catalog-hero-art { width: 286px; margin-top: var(--s-6); }
}
@media (min-width: 1025px) {
  .catalog-hero-art { width: 330px; }
}
.catalog-hero-art--genre {
  width: min(100%, 220px);
  aspect-ratio: 1 / 1;
}
@media (min-width: 641px) {
  .catalog-hero-art--genre { width: 210px; }
}
@media (min-width: 1025px) {
  .catalog-hero-art--genre { width: 230px; }
}
.catalog-hero-meta { flex: 1; min-width: 0; }
.catalog-hero-meta h1 { font-family: var(--font-serif); font-size: clamp(30px,5vw,56px); font-weight: 700; letter-spacing: -.025em; margin: 0 0 var(--s-3); line-height: 1.05; }
.catalog-hero-meta p { font-size: 15px; color: var(--text-2); margin: 0; max-width: 700px; line-height: 1.6; }
@media (min-width: 641px) { .catalog-hero-meta p { font-size: 16px; } }
.catalog-hero-stats { display: flex; gap: var(--s-6); margin-top: var(--s-5); font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.catalog-hero-stats strong { color: var(--teal); font-weight: 700; font-variant-numeric: tabular-nums; }

.breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: var(--s-3); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; line-height: 1.4; }
.breadcrumb a { color: inherit; text-decoration: none; transition: color var(--t-fast); white-space: nowrap; }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb .crumb-current { color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.breadcrumb svg { flex: none; color: var(--faint); opacity: .7; }

.station-hero {
  padding: var(--s-8) var(--gutter) var(--s-7);
  display: grid; grid-template-columns: 1fr; gap: var(--s-7);
  position: relative;
}
@media (min-width: 1025px) { .station-hero { grid-template-columns: 200px 1fr; gap: var(--s-10); padding: var(--s-11) var(--gutter) var(--s-9); } }
.sh-cover {
  width: 160px; height: 160px; border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--indigo), var(--violet));
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-serif);
  font-weight: 700; font-size: 44px; letter-spacing: -.01em;
  box-shadow: 0 24px 50px -16px rgba(242,62,46,.5), inset 0 1px 0 rgba(255,255,255,.3); flex: none; position: relative; overflow: hidden;
}
.sh-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* лого-режим: подложка + бокс перекрывают «cover»-картинку выше (см. .sh-cover-img) */
.sh-cover.has-logo { background: linear-gradient(160deg, #2a2d36, #1b1d23); }
@media (min-width: 641px) { .sh-cover { width: 180px; height: 180px; font-size: 50px; } }
@media (min-width: 1025px) { .sh-cover { width: 200px; height: 200px; font-size: 56px; } }
.sh-meta { display: flex; flex-direction: column; justify-content: end; min-width: 0; }
.sh-meta .live-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; color: var(--teal); letter-spacing: .04em; text-transform: uppercase; margin-bottom: var(--s-4); width: fit-content; }
.sh-meta h1 { font-family: var(--font-serif); font-size: clamp(34px,6vw,68px); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; margin: 0 0 var(--s-5); }
.sh-tagline { font-size: clamp(15px,2vw,17px); color: var(--text-2); margin: 0 0 var(--s-6); max-width: 600px; line-height: 1.55; }
.sh-stats { display: flex; gap: var(--s-7); flex-wrap: wrap; font-size: 14px; color: var(--text-2); margin-bottom: var(--s-6); }
.sh-stat strong { color: var(--text); font-weight: 700; font-size: 16px; display: block; margin-bottom: 2px; font-variant-numeric: tabular-nums; }
.sh-actions { display: flex; gap: var(--s-3); align-items: center; flex-wrap: wrap; }
.sh-now { background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s-4) var(--s-5); margin-top: var(--s-6); display: flex; align-items: center; gap: var(--s-4); max-width: 600px; box-shadow: var(--shadow-md); }
.sh-now-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.sh-now-label { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 7px; }
.sh-now-label .live-dot { width: 7px; height: 7px; }
.sh-now-track { font-size: 15px; font-weight: 600; }
.sh-now-artist { color: var(--teal); font-weight: 400; }

.station-body { display: grid; grid-template-columns: 1fr; gap: var(--s-7); padding: var(--section-rhythm) var(--gutter) var(--s-10); }
@media (min-width: 1025px) { .station-body { grid-template-columns: minmax(0,1fr) 360px; gap: var(--s-9); } }
.about-block { padding: 0 0 var(--s-6); margin-bottom: var(--s-6); border-bottom: 1px solid var(--hairline); }
.about-block:last-child { border-bottom: none; }
.about-block h2, .about-block h3 { font-family: var(--font-serif); font-size: 22px; margin: 0 0 var(--s-4); font-weight: 600; letter-spacing: -.02em; }
.about-block p { font-size: 15px; line-height: 1.7; color: var(--text-2); margin: 0 0 var(--s-3); }
.about-block p:last-child { margin: 0; }
.about-block a { color: var(--teal); text-decoration: none; }
.about-block a:hover { text-decoration: underline; }

.side-block {
  padding: var(--s-5); margin-bottom: var(--s-4); position: relative;
  background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.side-block:last-child { margin-bottom: 0; }
.side-block h4 { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 var(--s-4); }

.freq-list { display: flex; flex-direction: column; gap: var(--s-1); }
.freq-row { display: flex; justify-content: space-between; align-items: center; padding: var(--s-3) var(--s-4); border-radius: var(--radius-sm); background: rgba(255,255,255,.04); font-size: 13px; transition: background var(--t-base), color var(--t-base); }
.freq-row:hover { background: rgba(255,255,255,.08); }
.freq-row:hover .freq { color: var(--teal); }
.freq-row .city { color: var(--text-2); }
.freq-row .freq { font-weight: 700; font-variant-numeric: tabular-nums; }

.similar-list { display: flex; flex-direction: column; gap: var(--s-1); }
.similar-row { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-2); border-radius: var(--radius-sm); cursor: pointer; text-decoration: none; color: inherit; transition: background var(--t-base); }
.similar-row:hover { background: rgba(255,255,255,.06); }
.similar-row:hover .similar-name { color: var(--teal); }
.similar-cover { width: 44px; height: 44px; border-radius: var(--radius-sm); display: grid; place-items: center; color: #fff; font-family: var(--font-serif); font-weight: 700; font-size: 14px; flex: none; position: relative; overflow: hidden; box-shadow: var(--inset-light); }
.similar-cover img { position: absolute; inset: 14%; width: 72%; height: 72%; object-fit: contain; filter: drop-shadow(0 1px 3px rgba(0,0,0,.35)); }
.similar-info { flex: 1; min-width: 0; }
.similar-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color var(--t-fast); }
.similar-genre { font-size: 11px; color: var(--muted); letter-spacing: .02em; }

.share-row { display: flex; gap: var(--s-2); }
.share-btn { flex: 1; padding: var(--s-3); border-radius: var(--radius-sm); background: rgba(255,255,255,.05); border: 1px solid var(--hairline); display: grid; place-items: center; cursor: pointer; color: var(--text-2); transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast); }
.share-btn:hover { color: var(--teal); background: rgba(255,255,255,.1); border-color: var(--teal-soft-2); }

/* ════════════════════════════════════════════════════════════════
   19. STATS STRIP / CHIPS / PAGINATION / SEARCH PAGE / 404
   ════════════════════════════════════════════════════════════════ */
.stats-strip {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 1px;
  margin: var(--section-rhythm) var(--gutter) 0;
  background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-md);
}
@media (min-width: 641px) { .stats-strip { grid-template-columns: repeat(4,1fr); } }
.stat-cell { padding: var(--s-5) var(--s-5); display: flex; align-items: center; gap: var(--s-4); position: relative; }
.stat-cell::after { content: ''; position: absolute; right: 0; top: 20%; bottom: 20%; width: 1px; background: var(--hairline); }
.stat-cell:nth-child(2n)::after { content: none; }
@media (min-width: 641px) { .stat-cell:nth-child(2n)::after { content: ''; } .stat-cell:last-child::after { content: none; } }
.stat-icon {
  width: 44px; height: 44px; flex: none; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid var(--accent-soft-2); color: var(--coral);
}
.stat-icon i { font-size: 23px; line-height: 1; }
.stat-body { display: flex; flex-direction: column; min-width: 0; }
.stat-cell strong { font-family: var(--font-serif); font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: var(--text); font-variant-numeric: tabular-nums; line-height: 1.05; }
@media (min-width: 641px) { .stat-cell strong { font-size: 30px; } }
.stat-cell .stat-label { font-size: 10.5px; color: var(--muted); margin-top: 4px; letter-spacing: .04em; text-transform: uppercase; }

.cities-strip { display: flex; flex-wrap: wrap; gap: 11px; }
.city-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px; border-radius: 100px;
  background: var(--glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border); font-size: 13.5px; color: var(--text-2); cursor: pointer;
  text-decoration: none; transition: color var(--t-base), background var(--t-base), border-color var(--t-base), transform var(--t-base) var(--ease);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1); font-weight: 500;
}
.city-chip:hover { color: var(--text); background: var(--glass-strong); border-color: var(--teal-soft-2); transform: translateY(-2px); }
.city-chip strong { color: var(--faint); font-weight: 500; font-size: 12px; font-variant-numeric: tabular-nums; }

.chip {
  padding: 9px 16px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 500;
  color: var(--text-2); background: var(--glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border); cursor: pointer; white-space: nowrap; flex: none;
  transition: border-color var(--t-base), color var(--t-base), background var(--t-base), transform var(--t-base);
  text-decoration: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}
.chip:hover { color: var(--text); background: var(--glass-strong); border-color: var(--teal-soft-2); transform: translateY(-2px); }
.chip.active { background: linear-gradient(135deg, var(--indigo), #D62E20); color: #fff; border-color: transparent; box-shadow: 0 8px 24px -8px rgba(242,62,46,.6), inset 0 1px 0 rgba(255,255,255,.25); }

.pagination { display: flex; gap: 6px; justify-content: center; padding: var(--s-7) var(--gutter) var(--s-9); flex-wrap: wrap; }
.page-btn {
  min-width: 40px; height: 40px; padding: 0 10px; border-radius: 12px;
  background: var(--glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border); display: grid; place-items: center; cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--text-2);
  transition: border-color var(--t-base), color var(--t-base), background var(--t-base);
  font-family: inherit; text-decoration: none; font-variant-numeric: tabular-nums;
}
.page-btn:hover { border-color: var(--teal-soft-2); color: var(--text); background: var(--glass-strong); }
.page-btn.active { background: linear-gradient(135deg, var(--indigo), #D62E20); border-color: transparent; color: #fff; box-shadow: 0 8px 20px -8px rgba(242,62,46,.6); }
.page-btn[aria-disabled="true"] { pointer-events: none; opacity: .4; }

.search-page { padding: var(--s-9) var(--gutter); max-width: 800px; margin: 0 auto; position: relative; }
.search-input {
  width: 100%; padding: 15px 18px; border-radius: var(--radius-md);
  background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--border); font-size: 16px; color: var(--text); font-family: inherit; outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.search-input:focus { border-color: var(--accent-soft-2); box-shadow: 0 0 0 4px var(--accent-soft); }
.search-results { margin-top: var(--s-6); display: flex; flex-direction: column; gap: var(--s-2); }
.search-results .empty { color: var(--muted); text-align: center; padding: var(--s-9) 0; }

.notfound { text-align: center; padding: var(--s-12) var(--gutter); }
.notfound h1 { font-family: var(--font-serif); font-size: clamp(48px,10vw,96px); margin: 0 0 var(--s-4); letter-spacing: -.03em; background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound p { color: var(--text-2); margin: 0 0 var(--s-6); font-size: 17px; }

/* ════════════════════════════════════════════════════════════════
   20. ARTIST CARD / EVENT CARD (V2-модули)
   ════════════════════════════════════════════════════════════════ */
.artist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px,1fr)); gap: var(--s-5); }
.artist-card {
  background: transparent; border: none; border-radius: 0;
  padding: 0; text-align: center; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; align-items: center; gap: var(--s-3);
  transition: transform var(--t-base) var(--ease);
}
.artist-card:hover { transform: translateY(-4px); }
.artist-avatar {
  width: 96px; height: 96px; border-radius: 50%; position: relative; overflow: hidden;
  display: grid; place-items: center; color: var(--coral); font-family: var(--font-serif); font-weight: 700; font-size: 28px;
  background: var(--surface-2); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t-base), transform var(--t-base), border-color var(--t-base);
}
.artist-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* play-hint при наведении */
.artist-avatar::after {
  content: '\f691'; font-family: 'tabler-icons'; font-size: 26px; color: #fff;
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 2;
  background: rgba(242,62,46,.82); opacity: 0; transition: opacity var(--t-base);
}
.artist-card:hover .artist-avatar { box-shadow: var(--shadow-lg), 0 0 26px -12px var(--accent-glow); border-color: var(--accent-soft-2); transform: scale(1.03); }
.artist-card:hover .artist-avatar::after { opacity: 1; }
.artist-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.artist-meta { font-size: 11px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

.event-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: var(--s-3); min-width: 0; max-width: 100%; overflow: hidden; }
@media (min-width: 641px) { .event-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (min-width: 1025px) { .event-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (min-width: 1240px) { .event-grid { grid-template-columns: repeat(4,minmax(0,1fr)); } }
.event-card {
  background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--s-3); text-decoration: none; color: inherit; position: relative;
  display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-md);
  min-height: 118px; min-width: 0; overflow: hidden;
  transition: transform var(--t-base) var(--ease), border-color var(--t-base), box-shadow var(--t-base);
}
.event-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-lg), 0 0 36px -20px var(--accent-glow); }
/* верхняя зона: дата-бейдж + контент */
.event-top { display: flex; gap: var(--s-3); align-items: flex-start; flex: 1; min-width: 0; }
.event-date {
  flex: none; width: 52px; height: 58px; border-radius: var(--radius-md);
  background: linear-gradient(145deg, var(--indigo), var(--violet)); color: #fff; display: flex; flex-direction: column;
  align-items: center; justify-content: center; box-shadow: 0 8px 20px -8px rgba(242,62,46,.6), inset 0 1px 0 rgba(255,255,255,.25);
}
.event-date .day { font-family: var(--font-serif); font-size: 22px; font-weight: 700; line-height: 1; }
.event-date .mon { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; opacity: .9; margin-top: 3px; }
.event-poster {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7.8;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: rgba(255,255,255,.04);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  position: relative;
}
.event-card--with-poster { min-height: 0; }
.event-card--with-poster .event-top { flex: none; }
.event-poster-img {
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.event-poster--artist { background: #111720; isolation: isolate; }
.event-poster-backdrop {
  position: absolute; z-index: -1; inset: -14%; width: 128%; height: 128%;
  object-fit: cover; filter: blur(22px) saturate(.72) brightness(.58); opacity: .82;
}
.event-poster-img--artist {
  position: relative; z-index: 1; width: auto; max-width: 72%; margin: 0 auto;
  object-fit: cover; object-position: center 24%;
  box-shadow: -20px 0 32px -24px rgba(0,0,0,.9), 20px 0 32px -24px rgba(0,0,0,.9);
}
.event-poster-artist {
  position: absolute; z-index: 2; right: 10px; bottom: 9px; max-width: calc(100% - 20px);
  display: flex; flex-direction: column; align-items: flex-end; padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.14); border-radius: 10px;
  color: #fff; background: rgba(13,17,24,.72); backdrop-filter: blur(12px) saturate(125%);
  box-shadow: 0 10px 24px -16px rgba(0,0,0,.9);
}
.event-poster-artist small { font-size: 8px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; opacity: .62; }
.event-poster-artist strong { max-width: 180px; font-size: 11px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.event-side-poster { position: relative; overflow: hidden; }
.event-side-poster-label {
  position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 7px 10px;
  border-radius: 10px; color: #fff; background: rgba(13,17,24,.76);
  backdrop-filter: blur(12px); font-size: 11px; font-weight: 700;
}
.event-info { min-width: 0; flex: 1; display: flex; flex-direction: column; }
/* название до 2 строк с ellipsis — высота карточек выравнивается */
.event-title {
  font-size: 14px; font-weight: 700; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; text-overflow: ellipsis;
}
.event-place { font-size: 11.5px; color: var(--muted); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* футер с «Подробнее» прижат к низу карточки → у всех на одной линии */
.event-foot { margin-top: auto; display: flex; }
.event-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--teal); }

/* ── Бейджи ── */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: var(--radius-pill); font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.badge-live { color: var(--teal); background: var(--teal-soft); border: 1px solid var(--teal-soft-2); }
.badge-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 6px var(--teal); animation: pulse 2s infinite; }
.badge-hot { color: var(--indigo); background: var(--accent-soft); border: 1px solid var(--accent-soft-2); }
.badge-new { color: var(--teal); background: var(--teal-soft); border: 1px solid var(--teal-soft-2); }
.badge-soft { color: var(--text-2); background: rgba(255,255,255,.05); border: 1px solid var(--hairline); }

/* ── Toast ── */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--player-h) + var(--mobnav-h) + 16px);
  transform: translateX(-50%) translateY(20px);
  background: var(--glass-strong); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 12px 18px; font-size: 14px; font-weight: 600; color: var(--text);
  box-shadow: var(--shadow-lg); z-index: 9000; opacity: 0; pointer-events: none;
  transition: opacity var(--t-base), transform var(--t-base); max-width: 90vw;
  display: flex; align-items: center; gap: 10px;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { border-color: rgba(242,109,109,.4); color: var(--danger); }
@media (min-width: 1025px) { .toast { bottom: calc(var(--player-h) + 28px); } }

/* ════════════════════════════════════════════════════════════════
   22. V2 ШАБЛОНЫ — семантические классы
   ════════════════════════════════════════════════════════════════ */
.catalog-hero--lean { display: block; padding-bottom: var(--s-6); }
@media (min-width: 641px) { .catalog-hero--lean { padding-bottom: var(--s-7); } }
.catalog-hero--country {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  align-items: center;
}
@media (min-width: 641px) {
  .catalog-hero--country { grid-template-columns: auto 1fr; gap: var(--s-7); }
}
.country-hero-flag {
  width: 92px;
  aspect-ratio: 4 / 3;
  display: block;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.country-hero-flag img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}
@media (min-width: 641px) {
  .country-hero-flag { width: 118px; }
}
.section--tight { padding-top: var(--s-6); }
.section--tight + .section { padding-top: var(--s-5); }

.station-main { min-width: 0; }
.station-side { min-width: 0; }
@media (min-width: 1025px) { .station-side { position: sticky; top: calc(var(--nav-h) + var(--s-5)); align-self: start; } }
.event-side-poster { padding: 0; overflow: hidden; }
.event-side-poster img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

/* ── TAX-GRID / TAX-CARD ── */
.tax-grid { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
@media (min-width: 641px) { .tax-grid { gap: var(--s-4); grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); } }
.tax-card {
  display: flex; flex-direction: column; gap: 4px;
  padding: var(--s-5); border-radius: var(--radius-lg);
  background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--border); box-shadow: var(--shadow-md);
  text-decoration: none; color: inherit; position: relative; overflow: hidden;
  transition: transform var(--t-base) var(--ease), border-color var(--t-base), box-shadow var(--t-base);
}
.tax-card::before {
  content: ''; position: absolute; width: 110px; height: 110px; border-radius: 50%;
  filter: blur(38px); top: -36px; right: -24px; opacity: .4; z-index: 0;
  background: var(--indigo); transition: opacity var(--t-base);
}
.tax-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-lg), 0 0 34px -20px var(--accent-glow); }
.tax-card:hover::before { opacity: .7; }
.tax-card-name { position: relative; z-index: 1; font-family: var(--font-serif); font-size: 16px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tax-card-count { position: relative; z-index: 1; font-size: 11px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.tax-card:hover .tax-card-count { color: var(--teal); }
.tax-card.has-art { padding: var(--s-3); gap: var(--s-3); }
.tax-card-art {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 4px);
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.tax-card-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.tax-card-art--flag {
  display: grid;
  place-items: center;
  aspect-ratio: auto;
  padding: var(--s-3);
  box-sizing: border-box;
  background: color-mix(in srgb, var(--surface-2) 90%, var(--accent) 10%);
}
.tax-card-art--flag span {
  font-size: 52px;
  line-height: 1;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,.28));
  transform: translateZ(0);
}
.tax-card-art--flag img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 10px 22px rgba(0,0,0,.22), 0 0 0 1px rgba(255,255,255,.12);
}

/* ── ARTIST-HERO ── */
.artist-hero {
  padding: var(--s-8) var(--gutter) var(--s-7);
  display: grid; grid-template-columns: 1fr; gap: var(--s-6);
  position: relative; align-items: center;
}
@media (min-width: 641px) { .artist-hero { grid-template-columns: auto 1fr; gap: var(--s-8); padding: var(--s-10) var(--gutter) var(--s-8); } }
.artist-hero-avatar {
  width: 120px; height: 120px; border-radius: 50%; position: relative; overflow: hidden; flex: none;
  display: grid; place-items: center; color: #fff; font-family: var(--font-serif); font-weight: 700; font-size: 40px; letter-spacing: -.01em;
  background: linear-gradient(145deg, var(--teal), var(--indigo)); box-shadow: var(--shadow-lg), 0 0 0 1px var(--teal-soft-2);
}
@media (min-width: 641px) { .artist-hero-avatar { width: 156px; height: 156px; font-size: 52px; } }
.artist-hero-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.artist-hero-init { position: relative; z-index: 0; }
.artist-hero-meta { min-width: 0; }
.artist-hero-meta h1 { font-family: var(--font-serif); font-size: clamp(32px,5vw,56px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; margin: 0 0 var(--s-5); }

.sh-stat { display: flex; flex-direction: column; }
.sh-stat strong { color: var(--text); font-weight: 700; font-size: 18px; letter-spacing: -.01em; margin-bottom: 2px; font-variant-numeric: tabular-nums; }

/* ── EVENT-HERO ── */
.event-hero {
  padding: var(--s-8) var(--gutter) var(--s-7);
  display: grid; grid-template-columns: 1fr; gap: var(--s-6);
  position: relative;
}
@media (min-width: 641px) { .event-hero { grid-template-columns: auto 1fr; gap: var(--s-8); align-items: center; padding: var(--s-10) var(--gutter) var(--s-8); } }
.event-hero-date {
  width: 96px; height: 104px; border-radius: var(--radius-xl); flex: none;
  background: linear-gradient(145deg, var(--indigo), var(--violet)); color: #fff; box-shadow: 0 16px 40px -12px rgba(242,62,46,.6), inset 0 1px 0 rgba(255,255,255,.3);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
}
@media (min-width: 641px) { .event-hero-date { width: 120px; height: 128px; } }
.event-hero-date .day { font-family: var(--font-serif); font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
@media (min-width: 641px) { .event-hero-date .day { font-size: 56px; } }
.event-hero-date .mon { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; opacity: .92; }
.event-hero-meta { min-width: 0; }
.event-hero-meta h1 { font-family: var(--font-serif); font-size: clamp(28px,4.5vw,48px); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; margin: var(--s-3) 0 var(--s-4); }
.event-hero-facts { display: flex; flex-direction: column; gap: var(--s-2); margin-bottom: var(--s-5); }
@media (min-width: 641px) { .event-hero-facts { flex-direction: row; flex-wrap: wrap; gap: var(--s-5); } }
.event-fact { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.event-fact svg { color: var(--teal); flex: none; }
.event-fact span { font-weight: 500; }

.event-grid--side { grid-template-columns: 1fr; gap: var(--s-2); }
.event-grid--side .event-card { padding: var(--s-3); gap: var(--s-2); min-height: 0; }
.event-grid--side .event-date { width: 48px; height: 52px; }
.event-grid--side .event-date .day { font-size: 18px; }

/* ── TRACK-LIST ── */
.track-list { display: flex; flex-direction: column; gap: 2px; }
.track-row {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-3); border-radius: var(--radius-sm);
  transition: background var(--t-fast);
}
.track-row:hover { background: rgba(255,255,255,.06); }
.track-icon {
  width: 36px; height: 36px; border-radius: var(--radius-sm); flex: none;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, var(--indigo), var(--violet)); box-shadow: var(--inset-light);
}
.track-title { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-plays { font-size: 11px; color: var(--muted); white-space: nowrap; flex: none; letter-spacing: .04em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .track-plays { display: none; } }
.track-row .like-btn { flex: none; padding: 6px 12px; }

.about-sub { font-size: 14px; color: var(--text-2); margin: 0 0 var(--s-4); line-height: 1.55; }
.side-empty { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 0; }
.side-empty a { color: var(--teal); text-decoration: none; }
.side-empty a:hover { text-decoration: underline; }

/* ── HOWTO-LIST ── */
.howto-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-3); }
.howto-list li {
  position: relative; padding: 0 0 var(--s-3) var(--s-7);
  font-size: 14px; line-height: 1.6; color: var(--text-2);
}
.howto-list li strong { color: var(--text); font-weight: 600; }
.howto-list li::before {
  content: ''; position: absolute; left: var(--s-3); top: 8px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 6px var(--teal);
}

/* ── STREAM-LIST ── */
.stream-list { display: flex; flex-direction: column; gap: var(--s-2); min-width: 0; overflow: hidden; }
.stream-row {
  display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: var(--s-3);
  padding: var(--s-3) var(--s-4); border-radius: var(--radius-sm);
  background: rgba(255,255,255,.04); border: 1px solid var(--hairline);
}
@media (max-width: 560px) { .stream-row { grid-template-columns: auto 1fr; row-gap: var(--s-2); } .stream-row .stream-url { grid-column: 1 / -1; } }
.stream-bitrate { font-size: 11px; color: var(--muted); font-weight: 600; white-space: nowrap; letter-spacing: .04em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.stream-url {
  font-family: var(--font-mono);
  font-size: 12px; color: var(--text-2); background: rgba(0,0,0,.25); border: 1px solid var(--hairline);
  border-radius: 7px; padding: 4px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  min-width: 0; max-width: 100%; display: block;
}
@media (max-width: 640px) {
  .event-card, .event-poster, .event-poster img { width: 100%; max-width: 100%; }
  .legal-document { overflow: hidden; }
}
.stream-copy-btn {
  flex: none; padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 600;
  background: rgba(255,255,255,.05); border: 1px solid var(--hairline); color: var(--text-2);
  cursor: pointer; white-space: nowrap; transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.stream-copy-btn:hover { color: var(--teal); border-color: var(--teal-soft-2); background: rgba(255,255,255,.1); }
.stream-copy-btn:active { transform: scale(.95); }
.stream-fmt { color: #fff; font-weight: 700; }
.fmt-hls { background: linear-gradient(135deg, var(--coral), var(--coral-deep)); }
.fmt-aac { background: linear-gradient(135deg, var(--coral-warm), var(--coral)); color: var(--on-teal); }
.fmt-mp3 { background: linear-gradient(135deg, #C76B3C, var(--coral-deep)); }

/* ── TAG-ROW / CHIP-ROW ── */
.tag-row, .chip-row { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }

/* ── CONTACT-LINK / SOCIAL-ROW / SOCIAL-BTN ── */
.contact-link {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-size: 14px; font-weight: 500; color: var(--text-2);
  padding: var(--s-3); border-radius: var(--radius-sm); background: rgba(255,255,255,.05); border: 1px solid var(--hairline);
  margin-bottom: var(--s-3); transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.contact-link svg { color: var(--teal); flex: none; }
.contact-link:hover { color: var(--text); border-color: var(--teal-soft-2); background: rgba(255,255,255,.1); }
.social-row { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.social-btn {
  width: 42px; height: 42px; border-radius: var(--radius-md); flex: none;
  display: grid; place-items: center; color: var(--text-2); text-decoration: none;
  background: rgba(255,255,255,.05); border: 1px solid var(--hairline);
  transition: transform var(--t-fast), color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.social-btn:hover { transform: translateY(-2px); color: var(--teal); border-color: var(--teal-soft-2); background: rgba(255,255,255,.1); }
.social-btn:active { transform: scale(.94); }

/* ── STATION-HERO: img/initials ── */
/* hero: бокс-подложка под чёткое лого (стеклянный для transparent-режима) */
.sh-cover-box {
  position: absolute; inset: 12%; z-index: 2; display: grid; place-items: center;
  padding: 12%; border-radius: 18px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 8px 20px -10px rgba(0,0,0,.5);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
[data-theme="light"] .sh-cover-box { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.34); }
.sh-cover .sh-cover-box .sh-cover-img { position: static; inset: auto; width: 100%; height: 100%; object-fit: contain; z-index: 1; filter: drop-shadow(0 3px 8px rgba(0,0,0,.4)); }
.sh-cover.cover-fallback-on .sh-cover-box { display: none; }
.sh-cover-initials { position: relative; z-index: 0; }
.sh-cover:not(.cover-fallback-on) .sh-cover-initials { opacity: 0; }
.sh-cover.cover-fallback-on .sh-cover-initials { z-index: 2; }

/* ── now_playing partial ── */
.sh-now-eq { width: 28px; flex: none; height: 28px; }
.sh-now-eq .eq-bar { min-width: 3px; }
.sh-now-track.marquee { white-space: nowrap; overflow: hidden; }

.marquee { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.marquee.is-marquee { text-overflow: clip; }
.marquee.is-marquee .marquee-inner { display: inline-block; white-space: nowrap; animation: marquee 16s linear infinite; padding-right: 2.5em; }
.marquee.is-marquee .marquee-inner::after { content: attr(data-text); padding-left: 2.5em; }

/* ── home: hero-text wrapper + np-cover-init ── */
.hero-text { min-width: 0; }
.np-cover-init { position: relative; z-index: 0; }

/* ── CARD-EQ: эквалайзер на обложке играющей станции ── */
.card-eq {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  display: flex; align-items: flex-end; gap: 2px; height: 16px;
  opacity: 0; transform: translateY(4px);
  transition: opacity var(--t-base), transform var(--t-base);
  pointer-events: none;
}
.card-eq .eq-bar { width: 3px; min-width: 3px; border-radius: 1px; background: var(--teal); box-shadow: 0 0 6px var(--teal); animation-play-state: paused; height: 40%; }
.station-card.playing .card-eq { opacity: 1; transform: translateY(0); }
.station-card.playing .card-eq .eq-bar { animation-play-state: running; }

/* gt-count стилизуется в разделе 10 (большая полупрозрачная цифра на фоне плитки) */

/* station-card-badge: частота/страна поверх обложки */
.station-card-badge {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  background: rgba(0,0,0,.4); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-pill);
  font-size: 10px; padding: 4px 8px; letter-spacing: .04em; text-transform: uppercase;
}

/* similar partial */
.similar-cover-img { position: absolute; inset: 14%; width: 72%; height: 72%; object-fit: contain; z-index: 1; filter: drop-shadow(0 1px 3px rgba(0,0,0,.35)); }
.similar-init { position: relative; z-index: 0; }
.similar-cover:has(.similar-cover-img) .similar-init { opacity: 0; }
.artist-avatar-init { position: relative; z-index: 0; }

/* ── SEARCH-FORM ── */
.search-form { position: relative; display: block; }
.search-form .search-input { padding-left: 50px; }
.search-form-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; z-index: 1; display: inline-flex; }
.search-form--inline { max-width: 480px; margin-bottom: var(--s-6); }
.search-count { font-size: 13px; color: var(--muted); margin-bottom: var(--s-5); letter-spacing: .04em; text-transform: uppercase; }
.search-count strong { color: var(--teal); font-weight: 700; font-variant-numeric: tabular-nums; }

/* ── CITIES: группировка ── */
.city-country-group { margin-bottom: var(--s-8); }
.city-country-group:last-child { margin-bottom: 0; }
.city-country-title { font-family: var(--font-serif); font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin: 0 0 var(--s-4); padding-bottom: var(--s-3); border-bottom: 1px solid var(--hairline); }
.city-country-title a { text-decoration: none; transition: color var(--t-fast); }
.city-country-title a:hover { color: var(--teal); }

/* ── BTN-BLOCK ── */
.btn-block { display: flex; width: 100%; justify-content: center; margin-top: var(--s-4); }

/* ── 404: глиф ── */
.notfound-glyph {
  font-family: var(--font-serif); font-size: clamp(72px, 18vw, 160px); font-weight: 700; line-height: .9; letter-spacing: -.03em;
  margin-bottom: var(--s-4); background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.notfound-actions { display: flex; gap: var(--s-3); justify-content: center; flex-wrap: wrap; margin-top: var(--s-6); }

.notfound-suggest { margin: var(--s-6) auto 0; max-width: 560px; padding: var(--s-4) var(--s-5); background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--r-md, 12px); }
.notfound-suggest-label { margin: 0 0 var(--s-2); color: var(--caption, var(--muted)); font-size: 0.9em; }
.notfound-suggest ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: center; }
.notfound-suggest li a { display: inline-flex; align-items: center; gap: var(--s-2); padding: var(--s-2) var(--s-4); background: var(--glass); border: 1px solid var(--border); border-radius: var(--r-pill, 999px); color: var(--accent); text-decoration: none; font-weight: 500; transition: background 0.15s var(--ease-micro), border-color 0.15s var(--ease-micro); }
.notfound-suggest li a:hover, .notfound-suggest li a:focus-visible { background: var(--glass-hover); border-color: var(--accent); }

/* ── FILTER BAR (in-page filters for /genre, /country, etc.) ── */
.filter-bar { margin: 0 0 var(--s-6); padding: var(--s-4); background: var(--bg-elev, var(--bg-2)); border: 1px solid var(--border); border-radius: var(--r-md, 14px); }
.filter-bar-row { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: stretch; }
.filter-bar-row > * { flex: 1 1 auto; min-width: 140px; }
.filter-bar-row > .filter-search { flex: 1 1 190px; min-width: 170px; }
.filter-bar-row > [data-filter-country],
.filter-bar-row > [data-filter-language] { flex: 0 1 170px; min-width: 150px; }
.filter-bar-row > [data-filter-format],
.filter-bar-row > [data-filter-bitrate],
.filter-bar-row > [data-filter-sort] { flex: 0 1 135px; min-width: 120px; }
.event-filter-bar {
  display: grid;
  grid-template-columns: minmax(190px, 1.4fr) repeat(6, minmax(110px, 1fr)) minmax(140px, 1.15fr) auto;
  gap: 10px;
  align-items: stretch;
  margin-top: var(--s-4);
}
.event-filter-search { min-width: 0; }
.event-filter-bar .filter-input,
.event-filter-bar .filter-select,
.event-filter-submit {
  width: 100%;
  min-height: 42px;
}
.event-filter-submit {
  padding-inline: var(--s-4);
  white-space: nowrap;
}
@media (max-width: 1320px) {
  .event-filter-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .event-filter-search { grid-column: span 2; }
}
@media (max-width: 820px) {
  .event-filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-filter-search { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .event-filter-bar { grid-template-columns: 1fr; }
  .event-filter-search { grid-column: auto; }
}
/* Базовые поля — более контрастный фон + белая стрелка-шеврон, чтобы
   дропдауны были визуально отдельными блоками, а не "flat" поверх hero.
   — v2: токены вместо хардкода цветов <option>, мягкая hover-тень,
   color-mix фокус-glow под обе темы (чёрный surface для dark). */
.filter-input, .filter-select, .site-select {
  padding: var(--s-2) var(--s-6) var(--s-2) var(--s-3);
  background: var(--surface, var(--bg));
  border: 1px solid var(--border-strong, var(--border));
  border-radius: var(--r-pill, 999px);
  color: var(--fg, inherit);
  font: inherit;
  font-size: 0.95em;
  min-width: 0;
  transition: border-color 0.15s var(--ease-micro), background 0.15s var(--ease-micro), box-shadow 0.15s var(--ease-micro);
  -webkit-appearance: none;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted, currentColor) 50%), linear-gradient(135deg, var(--muted, currentColor) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.filter-select, .site-select { cursor: pointer; }
.filter-input:hover, .filter-select:hover, .site-select:hover {
  box-shadow: 0 1px 0 var(--border);
}
/* Нативные <option> в <select> рендерятся ОС-браузером (popup), и
   по умолчанию наследуют тёмный фон body на тёмной теме → текст опций
   не виден. Принудительно задаём цвета popup'а для обоих тем. */
.filter-select option, .filter-select optgroup,
.site-select option, .site-select optgroup {
  background: var(--bg-elev, var(--surface, var(--bg)));
  color: var(--fg, #16181C);
}
[data-theme="dark"] .filter-select option,
[data-theme="dark"] .filter-select optgroup,
[data-theme="dark"] .site-select option,
[data-theme="dark"] .site-select optgroup {
  background: var(--surface, var(--bg));
  color: var(--fg, #F0F1F4);
}
.filter-input { background-image: none; padding-right: var(--s-3); }
.filter-input::placeholder { color: var(--muted, var(--caption)); }
.filter-input:focus, .filter-select:focus, .filter-input:focus-visible, .filter-select:focus-visible,
.site-select:focus, .site-select:focus-visible {
  outline: none;
  border-color: var(--accent);
  background: var(--surface, var(--bg));
  box-shadow: inset 0 0 0 1px var(--accent), 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.filter-reset { flex: 0 0 112px; min-width: 104px; padding: var(--s-2) var(--s-4); background: transparent; border: 1px solid var(--border); border-radius: var(--r-pill, 999px); color: var(--muted); cursor: pointer; font: inherit; transition: color 0.15s var(--ease-micro), border-color 0.15s var(--ease-micro), background 0.15s var(--ease-micro); }
.filter-reset:hover, .filter-reset:focus-visible { color: var(--accent); border-color: var(--accent); background: rgba(242, 62, 46, .08); }
.filter-bar-summary { margin-top: var(--s-3); font-size: 0.9em; color: var(--muted, var(--caption)); }
.filter-bar-summary strong { color: var(--fg, inherit); }
.filter-link { background: none; border: none; padding: 0; color: var(--accent); cursor: pointer; text-decoration: underline; font: inherit; }
.filter-empty { margin-top: var(--s-4); }
.filter-empty[hidden] { display: none; }

@media (max-width: 720px) {
  .filter-bar-row { gap: var(--s-1); }
  .filter-input { flex: 1 1 100%; }
  .filter-bar-row > .filter-select, .filter-bar-row > .filter-reset { flex: 1 1 calc(50% - var(--s-1)); }
}

/* ── EMPTY-STATE ── */
.empty-state {
  text-align: center; padding: var(--s-10) var(--s-5);
  display: flex; flex-direction: column; align-items: center; gap: var(--s-3);
  color: var(--text-2);
}
.empty-state svg { color: var(--teal); opacity: .7; margin-bottom: var(--s-2); }
.empty-state h3 { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--text); margin: 0; letter-spacing: -.02em; }
.empty-state p { font-size: 15px; color: var(--text-2); margin: 0; max-width: 460px; line-height: 1.6; }
.empty-state a { color: var(--teal); text-decoration: none; font-weight: 600; }
.empty-state a:hover { text-decoration: underline; }

/* ════════════════════════════════════════════════════════════════
   V3: качество потока, live-индикаторы, now-playing cover
   ════════════════════════════════════════════════════════════════ */
.stream-specs { display: inline-flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; min-width: 0; }
.stream-sr { font-size: 11px; font-weight: 600; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.stream-bitrate.is-real { color: var(--teal); }
.real-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 6px var(--teal); vertical-align: middle; margin-left: 2px; }
.stream-row--off { opacity: .6; }
.stream-status { font-size: 11px; font-weight: 600; color: var(--muted); white-space: nowrap; letter-spacing: .04em; text-transform: uppercase; }
.stream-row--off .stream-status { color: var(--danger); }

.live-tag--off { color: var(--muted) !important; }
.live-tag--off .live-dot { background: var(--muted); box-shadow: none; animation: none; }

.chip--icy { border: 1px dashed var(--line-strong); background: transparent; color: var(--text-2); cursor: default; }

.stream-meta-note { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--text-2); font-style: italic; margin-top: var(--s-2); }
.stream-meta-note svg { color: var(--teal); flex: none; margin-top: 3px; }

.sh-now-cover { width: 46px; height: 46px; border-radius: var(--radius-sm); object-fit: cover; flex: none; box-shadow: var(--shadow-sm); }
.sh-now.has-track { border-color: var(--teal-soft-2); }

.card-live { position: absolute; left: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 600; color: #fff; background: rgba(0,0,0,.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 4px 8px; border-radius: 7px; letter-spacing: .05em; }
.card-live .live-dot { width: 5px; height: 5px; background: var(--live); box-shadow: 0 0 6px var(--live); }
.station-card--off { opacity: .72; }
.station-card--off:hover { opacity: 1; }

/* ════════════════════════════════════════════════════════════════
   V4: METALLIC EDGE — анимированная световая кромка (хром-блик)
   conic-gradient через псевдоэлемент + mask. Деликатно: opacity .4,
   на hover усиливается. reduced-motion — статичная кромка.
   ════════════════════════════════════════════════════════════════ */
@property --ma {
  syntax: '<angle>'; inherits: false; initial-value: 0deg;
}
.metal-edge { position: relative; }
.metal-edge::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  padding: 1px; pointer-events: none; z-index: 4;
  background: conic-gradient(from var(--ma, 0deg),
    transparent 0deg,
    rgba(255,255,255,.75) 14deg,
    rgba(255,214,196,.30) 40deg,
    transparent 80deg,
    transparent 150deg,
    rgba(242,62,46,.40) 196deg,
    transparent 244deg,
    transparent 318deg,
    rgba(255,106,61,.34) 344deg,
    transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  opacity: .42;
  animation: metal-spin 9s linear infinite;
  transition: opacity var(--t-slow) var(--ease);
}
.metal-edge:hover::after { opacity: .95; animation-duration: 5.5s; }
@keyframes metal-spin { to { --ma: 360deg; } }
[data-theme="light"] .metal-edge::after { opacity: .5; }

/* Карточки: кромка статична и появляется только на hover/playing (перф) */
.station-card.metal-edge::after { animation: none; opacity: 0; --ma: 130deg; }
.station-card.metal-edge:hover::after { opacity: .8; }
.station-card.metal-edge.playing::after { opacity: .9; animation: metal-spin 7s linear infinite; }

/* ════════════════════════════════════════════════════════════════
   V4: МЕГА-ПЛЕЕР — стеклянный док: визуализатор, качество потока,
   prev/next, свернуть/развернуть (компакт-полоска)
   ════════════════════════════════════════════════════════════════ */
.sticky-player {
  /* ВАЖНО: .sticky-player также несёт класс .metal-edge, у которого
     `position: relative` объявлен ПОЗЖЕ в каскаде (раздел 19) и при равной
     специфичности перебивал fixed → плеер уходил в поток. Переутверждаем fixed
     здесь (после .metal-edge), чтобы док всегда был прижат к низу экрана. */
  position: fixed !important;
  transition: height var(--t-slow) var(--ease), width var(--t-slow) var(--ease), padding var(--t-slow) var(--ease), box-shadow var(--t-slow);
}

/* обложка в доке: мягкое свечение при игре */
.sticky-player.is-playing .sp-cover { animation: cover-glow 2.6s ease-in-out infinite; }
@keyframes cover-glow {
  0%,100% { box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 0 14px -4px rgba(242,62,46,.45); }
  50%     { box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 0 24px -2px rgba(242,62,46,.8); }
}
/* лого станции в доке: contain на подложке (не обрезать), z над градиентом */
.sp-cover-img { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; z-index: 1; }
.sp-cover-init { position: relative; z-index: 0; display: grid; place-items: center; width: 100%; height: 100%; }
.sp-cover:not(.art-fallback) .sp-cover-init { opacity: 0; }

/* качество потока: стеклянный бейдж (кодек · битрейт) */
.sp-quality {
  flex: none; display: none; align-items: center; gap: 5px;
  font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--text-2); background: rgba(255,255,255,.06);
  border: 1px solid var(--hairline); border-radius: var(--radius-pill);
  padding: 3px 7px; white-space: nowrap; font-variant-numeric: tabular-nums;
}
@media (min-width: 641px) { .sp-quality:not([hidden]) { display: inline-flex; } }
.sticky-player.is-playing .sp-quality { color: var(--teal); border-color: var(--teal-soft-2); }

/* ── ФОНОВЫЙ визуализатор во всю ширину дока (WebAudio спектр+волна) ──
   Лежит позади трёх зон, низкая прозрачность, обрезан по радиусу дока.
   Появляется плавно только когда analyser дал данные (.viz-on). */
.sp-bg-viz {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border-radius: inherit; pointer-events: none; z-index: 0;
  opacity: 0; transition: opacity var(--t-slow) var(--ease);
  /* мягкий уход в края по горизонтали + лёгкий подъём снизу вверх
     (низ — спектр насыщеннее, верх под текстом — деликатнее) */
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%),
    linear-gradient(180deg, rgba(0,0,0,.55) 0, #000 60%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%),
    linear-gradient(180deg, rgba(0,0,0,.55) 0, #000 60%);
          mask-composite: intersect;
}
.sticky-player.viz-on .sp-bg-viz { opacity: .9; }
/* контент дока — над фоновым слоем */
.sp-station, .sp-controls, .sp-extra, .sp-collapse { position: relative; z-index: 1; }
/* подложка-скрим под now-playing для читаемости поверх волн */
.sp-info { position: relative; }

/* (V6) центральный компактный визуализатор удалён — остался только
   фоновый full-width слой .sp-bg-viz; центр дока = чистые контролы. */

/* кнопка свернуть/развернуть — SOLID, заметная (НЕ прозрачная вообще) */
.sp-collapse {
  position: absolute; top: -14px; right: 16px;
  width: 38px; height: 26px; border-radius: 10px 10px 8px 8px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong); color: var(--text);
  display: grid; place-items: center; cursor: pointer; z-index: 6;
  box-shadow: 0 -2px 8px -2px rgba(0,0,0,.4), 0 4px 12px -4px rgba(0,0,0,.5), var(--inset-light);
  transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.sp-collapse:hover { color: var(--coral); background: var(--surface-3); border-color: var(--accent-soft-2); transform: translateY(-1px); }
.sp-collapse svg { transition: transform var(--t-slow) var(--ease); }
.sticky-player.is-collapsed .sp-collapse svg { transform: rotate(180deg); }

/* мини-эквалайзер в компакт-режиме (рядом с именем) */
.sp-mini-eq { display: none; align-items: flex-end; gap: 2px; height: 12px; flex: none; }
.sp-mini-eq .eq-bar { width: 2.5px; min-width: 2.5px; border-radius: 1px; }

/* ── КОМПАКТ: тонкая полоска (мини-обложка + название/now бегущей строкой + play) ── */
.sticky-player.is-collapsed {
  height: 52px; width: min(560px, calc(100% - 24px));
  display: flex; align-items: center;
  padding: 0 var(--s-2) 0 var(--s-2); gap: var(--s-3);
  border-radius: var(--radius-pill);
}
.sticky-player.is-collapsed .sp-progress,
.sticky-player.is-collapsed .sp-volume,
.sticky-player.is-collapsed .sp-fav,
.sticky-player.is-collapsed .sp-like,
.sticky-player.is-collapsed .sp-open,
.sticky-player.is-collapsed .sp-ctrl,
.sticky-player.is-collapsed .sp-quality,
.sticky-player.is-collapsed .sp-now-cover { display: none; }
.sticky-player.is-collapsed .sp-station { flex: 1; min-width: 0; gap: var(--s-2); }
.sticky-player.is-collapsed .sp-info { gap: 1px; }
.sticky-player.is-collapsed .sp-controls { flex: none; max-width: none; margin: 0; }
.sticky-player.is-collapsed .sp-extra { flex: none; }
.sticky-player.is-collapsed .sp-cover { width: 38px; height: 38px; border-radius: 50%; font-size: 11px; }
.sticky-player.is-collapsed .sp-play { width: 40px; height: 40px; }
.sticky-player.is-collapsed .sp-play svg { width: 17px; height: 17px; }
.sticky-player.is-collapsed .sp-name { font-size: 13px; }
.sticky-player.is-collapsed .sp-now { gap: 0; }
.sticky-player.is-collapsed .sp-track { font-size: 11px; }
.sticky-player.is-collapsed.is-playing .sp-mini-eq { display: flex; }
.sticky-player.is-collapsed .sp-collapse { top: -12px; right: 14px; }
/* в компакте фоновый визуализатор — тонкая деликатная полоса (мягче по альфе) */
.sticky-player.is-collapsed.viz-on .sp-bg-viz { opacity: .65; }

/* Premium dock treatment: quiet material hierarchy over the live visualizer. */
@media (min-width: 1025px) {
  .sticky-player:not(.is-collapsed) {
    grid-template-columns: minmax(330px, 1fr) auto minmax(310px, 1fr);
    gap: 22px;
    padding: 0 20px;
    background:
      linear-gradient(180deg, rgba(31,34,42,.94), rgba(20,22,28,.96)),
      var(--surface);
    border-color: rgba(255,255,255,.16);
    box-shadow: 0 22px 60px -28px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.09);
  }
  .sticky-player:not(.is-collapsed)::before {
    content: '';
    position: absolute;
    inset: 8px auto 8px 8px;
    width: min(37%, 410px);
    border-radius: 17px;
    background: linear-gradient(90deg, rgba(12,14,19,.78), rgba(12,14,19,.46) 76%, transparent);
    pointer-events: none;
    z-index: 1;
  }
  .sticky-player:not(.is-collapsed) .sp-station { gap: 14px; padding: 8px 0; }
  .sticky-player:not(.is-collapsed) .sp-cover {
    width: 58px; height: 58px; border-radius: 14px;
    box-shadow: 0 10px 26px -14px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.18);
  }
  .sticky-player:not(.is-collapsed) .sp-name { font-size: 15px; font-weight: 700; letter-spacing: -.01em; color: rgba(255,255,255,.96); }
  .sticky-player:not(.is-collapsed) .sp-track { font-size: 12.5px; font-weight: 500; color: rgba(226,229,237,.72); }
  .sticky-player:not(.is-collapsed) .sp-quality {
    color: rgba(255,255,255,.78); background: rgba(255,255,255,.075);
    border-color: rgba(255,255,255,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  }
  .sticky-player:not(.is-collapsed) .sp-control-row {
    gap: 8px; padding: 6px;
    border: 1px solid rgba(255,255,255,.12); border-radius: 999px;
    background: rgba(10,12,17,.64); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 12px 30px -20px rgba(0,0,0,.9);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  }
  .sticky-player:not(.is-collapsed) .sp-ctrl {
    width: 39px; height: 39px; border-color: rgba(255,255,255,.13);
    background: rgba(255,255,255,.07); box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  }
  .sticky-player:not(.is-collapsed) .sp-play {
    width: 50px; height: 50px;
    box-shadow: 0 10px 24px -12px rgba(242,62,46,.95), inset 0 1px 0 rgba(255,255,255,.32);
  }
  .sticky-player:not(.is-collapsed).is-playing .sp-play { animation: none; }
  .sticky-player:not(.is-collapsed).is-playing .sp-cover { animation: none; }
  .sticky-player:not(.is-collapsed) .sp-extra {
    justify-self: end; gap: 8px; padding: 6px;
    border: 1px solid rgba(255,255,255,.10); border-radius: 16px;
    background: rgba(10,12,17,.52); box-shadow: inset 0 1px 0 rgba(255,255,255,.055);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  }
  .sticky-player:not(.is-collapsed) .sp-icon-btn {
    width: 38px; height: 38px; border-radius: 11px;
    color: rgba(239,241,247,.78); border-color: rgba(255,255,255,.12);
    background: rgba(255,255,255,.065); box-shadow: inset 0 1px 0 rgba(255,255,255,.055);
  }
  .sticky-player:not(.is-collapsed) .sp-volume { gap: 9px; padding-right: 3px; }
  .sticky-player:not(.is-collapsed) .sp-vol-bar { width: 92px; height: 4px; background: rgba(255,255,255,.18); }
  .sticky-player:not(.is-collapsed) .sp-vol-fill { background: linear-gradient(90deg, #ff4b3a, #ff6b5c); }
  .sticky-player:not(.is-collapsed) .sp-vol-fill::after {
    width: 10px; height: 10px; right: -5px; opacity: 1;
    background: #f7f8fb; box-shadow: 0 0 0 3px rgba(255,255,255,.10), 0 2px 8px rgba(0,0,0,.5);
  }
  .sticky-player:not(.is-collapsed).viz-on .sp-bg-viz { opacity: .34; filter: saturate(.72) contrast(.88); }
}

/* Keep the original dock and full visualizer; improve controls only. */
@media (min-width: 1025px) {
  .sticky-player:not(.is-collapsed) {
    grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
    gap: var(--s-6);
    padding: 0 var(--s-6);
    background: var(--glass-strong);
    border-color: var(--border);
    box-shadow: var(--shadow-lg);
  }
  .sticky-player:not(.is-collapsed)::before { display: none; }
  .sticky-player:not(.is-collapsed) .sp-station { gap: var(--s-4); padding: 0; }
  .sticky-player:not(.is-collapsed) .sp-cover {
    width: 56px; height: 56px; border-radius: 13px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.3);
  }
  .sticky-player:not(.is-collapsed).is-playing .sp-cover { animation: cover-glow 2.6s ease-in-out infinite; }
  .sticky-player:not(.is-collapsed) .sp-name {
    font-size: 15px; font-weight: 700; color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,.95), 0 0 12px rgba(0,0,0,.72);
  }
  .sticky-player:not(.is-collapsed) .sp-track {
    font-size: 12px; font-weight: 500; color: rgba(244,245,248,.84);
    text-shadow: 0 1px 3px rgba(0,0,0,.95), 0 0 10px rgba(0,0,0,.68);
  }
  .sticky-player:not(.is-collapsed) .sp-quality {
    color: rgba(255,255,255,.9); background: rgba(13,15,20,.58);
    border-color: rgba(255,255,255,.28); box-shadow: 0 2px 8px rgba(0,0,0,.32);
  }
  .sticky-player:not(.is-collapsed) .sp-control-row { gap: var(--s-3); padding: 0; border: 0; background: none; box-shadow: none; backdrop-filter: none; }
  .sticky-player:not(.is-collapsed) .sp-ctrl {
    width: 40px; height: 40px; border-color: rgba(255,255,255,.30);
    background: rgba(24,27,34,.9); color: rgba(255,255,255,.94);
    box-shadow: 0 5px 14px -7px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.11);
  }
  .sticky-player:not(.is-collapsed) .sp-play {
    width: 52px; height: 52px;
    box-shadow: 0 6px 18px -4px rgba(242,62,46,.6), inset 0 1px 0 rgba(255,255,255,.3);
  }
  .sticky-player:not(.is-collapsed).is-playing .sp-play { animation: play-pulse 2.2s var(--ease) infinite; }
  .sticky-player:not(.is-collapsed) .sp-extra { justify-self: auto; gap: var(--s-3); padding: 0; border: 0; background: none; box-shadow: none; backdrop-filter: none; }
  .sticky-player:not(.is-collapsed) .sp-icon-btn {
    width: 40px; height: 40px; border-radius: 12px;
    color: rgba(255,255,255,.9); border-color: rgba(255,255,255,.28);
    background: rgba(24,27,34,.9);
    box-shadow: 0 5px 14px -7px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.10);
  }
  .sticky-player:not(.is-collapsed) .sp-volume { gap: var(--s-2); padding-right: 0; }
  .sticky-player:not(.is-collapsed) .sp-vol-bar { width: 84px; height: 5px; background: rgba(255,255,255,.26); }
  .sticky-player:not(.is-collapsed) .sp-vol-fill { background: linear-gradient(90deg, var(--indigo), var(--teal)); }
  .sticky-player:not(.is-collapsed) .sp-vol-fill::after {
    width: 12px; height: 12px; right: -5px; opacity: 1;
    background: var(--text); box-shadow: 0 0 0 3px rgba(255,255,255,.12);
  }
  .sticky-player:not(.is-collapsed).viz-on .sp-bg-viz { opacity: .9; filter: none; }
}

/* ── Плеер на мобиле: компактные зоны, центр = только play ── */
@media (max-width: 1024px) {
  .sticky-player { grid-template-columns: minmax(0,1fr) auto auto; gap: var(--s-3); padding: 0 var(--s-3); }
  .sticky-player .sp-quality { display: none; }
  .sp-extra { gap: 6px; }
  .sp-mini-eq { display: none; }
  .sticky-player.is-playing .sp-mini-eq { display: flex; }
}
@media (max-width: 560px) {
  .sticky-player .sp-like, .sticky-player .sp-fav { display: none; }
  .sticky-player.is-playing .sp-mini-eq { display: none; }
}

/* ════════════════════════════════════════════════════════════════
   V4: РАДИО-АНИМАЦИИ — частотная шкала (dial), волны, draw-on лого
   ════════════════════════════════════════════════════════════════ */
/* (Радио-dial убран из featured — заменён чистым вертикальным эквалайзером) */

/* Звуковые волны вокруг обложки играющей карточки */
.station-card.playing .station-cover::before {
  content: ''; position: absolute; inset: 6%; border-radius: inherit; z-index: 2;
  border: 1.5px solid rgba(242,62,46,.55); pointer-events: none;
  animation: wave-ring 2.3s ease-out infinite;
}
@keyframes wave-ring {
  0%   { transform: scale(.85); opacity: 0; }
  25%  { opacity: .85; }
  100% { transform: scale(1.06); opacity: 0; }
}

/* Draw-on: логотип в навигации прорисовывается при загрузке */
.logo-mark svg circle, .logo-mark svg path {
  stroke-dasharray: 26; stroke-dashoffset: 26;
  animation: draw-in 1s var(--ease) .15s forwards;
}
@keyframes draw-in { to { stroke-dashoffset: 0; } }

/* Featured-meta: станция · страна · формат */
.np-meta { font-size: 12.5px; color: var(--faint); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-meta b { color: var(--text-2); font-weight: 600; }

/* Параллакс: orbs и featured двигает JS через translate — состыковывается
   с CSS-анимацией transform без конфликтов */
.orb, .now-playing-card { will-change: translate; }

/* ════════════════════════════════════════════════════════════════
   21. PREFERS-REDUCED-MOTION
   ════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .orb { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .sp-track.is-marquee .marquee-inner,
  .marquee.is-marquee .marquee-inner { animation: none !important; }
  .eq-bar { animation: none !important; height: 50% !important; }
  .np-equalizer .eq-bar { height: 40% !important; }
  .card-eq { opacity: 1 !important; transform: none !important; }
  /* металлик-кромка — статичный блик, без вращения */
  .metal-edge::after { animation: none !important; opacity: .5 !important; --ma: 130deg; }
  .station-card.metal-edge::after { opacity: 0 !important; }
  .station-card.metal-edge:hover::after { opacity: .6 !important; }
  .logo-mark svg circle, .logo-mark svg path { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; animation: none !important; }
  .sticky-player.is-playing .sp-cover { animation: none !important; }
  /* фоновый WebAudio-визуализатор выключен при reduced-motion (остаётся CSS-эквалайзер) */
  .sp-bg-viz { display: none !important; }
  .sticky-player.viz-on .sp-bg-viz { opacity: 0 !important; }
  .station-card.playing .station-cover::before { animation: none !important; opacity: .5; transform: none; }
  .station-card.playing { animation: none !important; }
  .sp-track.np-fade .sp-now-text, .station-now.np-fade, .np-track.np-fade { animation: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════════
   V4 — ЧАРТЫ ЭФИРА + ЛЕНТА «СЕЙЧАС В ЭФИРЕ» (Spatial Glass, аддитивно)
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Hero чартов/эфира ─────────────────────────────────────────────────── */
.charts-hero { padding: var(--s-9) var(--gutter) var(--s-6); }
.charts-hero-inner { max-width: 860px; }
.charts-hero .badge { margin-bottom: var(--s-4); }
.charts-hero h1 {
  font-family: var(--font-serif); font-size: clamp(32px,5.5vw,60px); font-weight: 700;
  letter-spacing: -.035em; line-height: 1.03; margin: 0 0 var(--s-4);
}
.charts-hero h1 { background: linear-gradient(120deg, var(--text) 30%, var(--teal)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.charts-hero p { font-size: 15.5px; color: var(--text-2); line-height: 1.6; margin: 0; max-width: 680px; }
.charts-hero-stats { display: flex; gap: var(--s-6); margin-top: var(--s-5); font-size: 13px; color: var(--muted); flex-wrap: wrap; align-items: center; }
.charts-hero-stats strong { color: var(--teal); font-weight: 700; font-variant-numeric: tabular-nums; }
.charts-hero-stats a { color: var(--accent-hover); text-decoration: none; }
.charts-hero-stats a:hover { text-decoration: underline; }
.charts-hero--live h1 { background: linear-gradient(120deg, var(--text) 30%, var(--indigo)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ── Scope + period селекторы ──────────────────────────────────────────── */
.chart-scope { display: flex; flex-direction: column; gap: var(--s-3); }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.chip-row--muted { gap: 6px; }
.chart-scope-label { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-right: 2px; }
.chip-sm { padding: 6px 12px; font-size: 12px; }

.chart-period { display: inline-flex; gap: 3px; margin-top: var(--s-5); padding: 4px; border-radius: var(--radius-pill);
  background: var(--glass); border: 1px solid var(--border); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.chart-period-tab {
  padding: 8px 18px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600;
  color: var(--text-2); text-decoration: none; white-space: nowrap;
  transition: color var(--t-base), background var(--t-base);
}
.chart-period-tab:hover { color: var(--text); }
.chart-period-tab.active { color: #fff; background: linear-gradient(135deg, var(--indigo), #D62E20);
  box-shadow: 0 6px 18px -8px rgba(242,62,46,.7), inset 0 1px 0 rgba(255,255,255,.25); }

/* ── Артворк трека (квадрат с cov-градиентом + инициалы + img) ──────────── */
.chart-art, .live-card-art, .live-hist-art, .live-card-logo {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  overflow: hidden; flex: none; color: #fff; font-family: var(--font-serif); font-weight: 700;
}
.chart-art { width: 56px; height: 56px; border-radius: var(--radius-sm); font-size: 17px; }
.chart-art img, .live-card-art img, .live-hist-art img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
}
/* станционный логотип внутри live-карточки — contain (не обрезать) */
.live-card-logo img { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; z-index: 1; }
.chart-art-init, .live-card-art-init { position: relative; z-index: 0; opacity: .92; }
.chart-art::after, .live-card-art::after { content: ''; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(70% 50% at 30% 20%, rgba(255,255,255,.28), transparent 55%); }

/* ── Подиум топ-1..3 ──────────────────────────────────────────────────── */
.chart-podium { display: grid; grid-template-columns: 1fr; gap: var(--s-4); }
.chart-pod {
  position: relative; display: flex; align-items: center; gap: var(--s-4);
  padding: var(--s-5); border-radius: var(--radius-lg);
  background: var(--glass); border: 1px solid var(--border);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
}
.chart-pod .chart-art { width: 72px; height: 72px; font-size: 22px; }
.chart-pod-rank { font-family: var(--font-serif); font-size: 30px; font-weight: 700; letter-spacing: -.04em;
  color: var(--faint); font-variant-numeric: tabular-nums; min-width: 56px; }
.chart-pod-body { min-width: 0; flex: 1; }
.chart-pod-title { font-family: var(--font-serif); font-size: 18px; font-weight: 600; letter-spacing: -.02em;
  color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chart-pod-artist { display: inline-block; margin-top: 4px; font-size: 13.5px; color: var(--text-2); text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
a.chart-pod-artist:hover { color: var(--teal); }
.chart-pod-plays { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 12px;
  color: var(--muted); font-variant-numeric: tabular-nums; }
.chart-pod-plays svg { color: var(--teal); opacity: .9; }
.chart-pod--1 { border-color: rgba(242,62,46,.4); box-shadow: 0 16px 40px -20px rgba(242,62,46,.5); }
.chart-pod--1 .chart-pod-rank { color: var(--teal); }
.chart-pod--1::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(var(--teal), var(--indigo)); }
.chart-pod--2 .chart-pod-rank { color: #C7CBE0; }
.chart-pod--3 .chart-pod-rank { color: #C58B5C; }

/* ── Остальной чарт (нумерованный список) ─────────────────────────────── */
.chart-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.chart-row { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-3) var(--s-4);
  border-radius: var(--radius-md); border: 1px solid transparent; text-decoration: none;
  transition: background var(--t-base), border-color var(--t-base); }
.chart-row:hover { background: var(--glass); border-color: var(--border); }
.chart-row + .chart-row { margin-top: 2px; }
.chart-rank { font-size: 14px; font-weight: 700; color: var(--faint); font-variant-numeric: tabular-nums;
  min-width: 42px; text-align: right; }
.chart-row .chart-art { width: 48px; height: 48px; font-size: 15px; }
.chart-row-body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.chart-row-title { font-size: 14.5px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chart-row-artist { font-size: 12.5px; color: var(--text-2); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.chart-row-artist:hover { color: var(--teal); }
.chart-row-plays { display: flex; flex-direction: column; align-items: flex-end; flex: none; }
.chart-row-plays strong { font-size: 15px; font-weight: 700; color: var(--teal); font-variant-numeric: tabular-nums; line-height: 1.1; }
.chart-row-plays span { font-size: 10.5px; color: var(--muted); letter-spacing: .03em; text-transform: uppercase; }

/* ── Топ-треки на странице артиста ────────────────────────────────────── */
.track-chart { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.track-chart-row { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-2) var(--s-2);
  border-radius: var(--radius-md); }
.track-chart-row:hover { background: var(--glass); }
.track-chart-rank { font-size: 13px; font-weight: 700; color: var(--faint); font-variant-numeric: tabular-nums; min-width: 34px; }
.track-chart-row .chart-art { width: 44px; height: 44px; font-size: 14px; }
.track-chart-body { min-width: 0; flex: 1; }
.track-chart-title { font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-chart-sub { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ── Лента «Сейчас в эфире» — сетка карточек ──────────────────────────── */
.live-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-4); }
.live-card { position: relative; display: flex; gap: var(--s-4); padding: var(--s-4);
  border-radius: var(--radius-lg); background: var(--glass); border: 1px solid var(--border);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); overflow: hidden;
  transition: transform var(--t-base), border-color var(--t-base), background var(--t-base); }
.live-card:hover { transform: translateY(-3px); border-color: var(--accent-soft-2); background: var(--glass-strong); }
.live-card-art { width: 80px; height: 80px; border-radius: var(--radius-md); font-size: 24px; }
.live-play { position: absolute; inset: 0; z-index: 2; display: inline-flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; border: none; cursor: pointer; color: #fff; opacity: 0;
  background: rgba(7,7,11,.45); transition: opacity var(--t-base); }
.live-card:hover .live-play, .live-play:focus-visible { opacity: 1; }
.live-play svg { filter: drop-shadow(0 2px 8px rgba(0,0,0,.5)); }
.live-card-body { min-width: 0; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.live-card-track { font-family: var(--font-serif); font-size: 16px; font-weight: 600; letter-spacing: -.015em;
  color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-card-artist { display: inline-block; margin-top: 3px; font-size: 13px; color: var(--text-2); text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
a.live-card-artist:hover { color: var(--teal); }
.live-card-station { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; text-decoration: none;
  font-size: 12px; color: var(--muted); max-width: 100%; }
.live-card-station:hover .live-card-sname { color: var(--text); }
.live-card-station .live-dot { width: 6px; height: 6px; background: var(--teal); box-shadow: 0 0 8px var(--teal); flex: none; }
.live-card-logo { width: 20px; height: 20px; border-radius: 6px; font-size: 9px; }
.live-card-sname { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color var(--t-base); }

/* ── История эфира ────────────────────────────────────────────────────── */
.live-history { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.live-hist-row { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-2);
  border-bottom: 1px solid var(--hairline); }
.live-hist-row:last-child { border-bottom: none; }
.live-hist-art { width: 40px; height: 40px; border-radius: 10px; font-size: 12px; }
.live-hist-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.live-hist-body { min-width: 0; flex: 1; }
.live-hist-title { display: block; font-size: 13.5px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-hist-meta { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-hist-meta a { color: var(--text-2); text-decoration: none; }
.live-hist-meta a:hover { color: var(--teal); }
.live-hist-time { flex: none; font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }

/* ── Адаптив ──────────────────────────────────────────────────────────── */
@media (min-width: 640px) {
  .chart-podium { grid-template-columns: repeat(3, 1fr); }
  .chart-pod { flex-direction: column; align-items: flex-start; text-align: left; padding: var(--s-6); }
  .chart-pod .chart-art { width: 100%; height: auto; aspect-ratio: 1; border-radius: var(--radius-md); }
  .chart-pod-rank { position: absolute; top: var(--s-4); right: var(--s-5); min-width: 0; }
  .chart-pod-body { width: 100%; }
  .live-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .live-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ═══════════════════════════════════════════════════════════════════════
   V7 — ПОБЛОЧНАЯ ПРОРАБОТКА ГЛАВНОЙ («дорого»: композиты, eyebrow, ритм)
   Реализует DESIGN_PLAN.md: каждый блок = композит с eyebrow-лейблом,
   surface-tint, hairline, иконками, точечным коралловым акцентом.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── EYEBROW-лейбл над заголовком секции (icon-чип + caps-текст) ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  margin-bottom: 11px; padding: 5px 12px 5px 9px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft); border: 1px solid var(--accent-soft-2);
  color: var(--coral); font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; line-height: 1;
  width: fit-content;
}
.eyebrow i { font-size: 14px; line-height: 1; }
.eyebrow .live-dot { width: 6px; height: 6px; background: var(--coral); box-shadow: 0 0 8px var(--coral); }
.section-head .eyebrow { margin-bottom: 12px; }

/* воздух между блоками — больше ритма (дороже, чем простые линии) */
.section { padding-top: calc(var(--section-rhythm) + 14px); }
@media (min-width: 1025px) { .section { padding-top: calc(var(--section-rhythm) + 22px); } }

/* ── НАВИГАЦИЯ: микро-иконки + coral draw-on активного пункта (блок 1) ── */
.nav-link { display: inline-flex; align-items: center; gap: 7px; }
.nav-link-ic { font-size: 16px; line-height: 1; opacity: .7; transition: opacity var(--t-fast), color var(--t-fast); }
.nav-link:hover .nav-link-ic { opacity: 1; }
.nav-link.active { color: var(--text); background: var(--accent-soft); }
.nav-link.active .nav-link-ic { opacity: 1; color: var(--coral); }
.nav-link.active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px;
  border-radius: 2px; background: var(--grad-cool); box-shadow: 0 0 8px var(--accent-glow);
  transform: scaleX(0); transform-origin: left; animation: nav-draw .5s var(--ease) .05s forwards;
}
@keyframes nav-draw { to { transform: scaleX(1); } }
.nav-drawer .nav-link.active::after { display: none; }
@media (prefers-reduced-motion: reduce) { .nav-link.active::after { animation: none; transform: scaleX(1); } }

/* ── СТАТИСТИКА: composite-карточки + coral-засечка снизу (блок 3) ── */
.stats-strip { position: relative; }
.stat-cell { flex-direction: column; align-items: flex-start; gap: var(--s-3); padding: var(--s-6) var(--s-5); }
@media (min-width: 641px) { .stat-cell { padding: var(--s-6) var(--s-6); } }
.stat-cell::before {
  content: ''; position: absolute; left: var(--s-5); right: var(--s-5); bottom: 0; height: 2px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(90deg, var(--coral), transparent 75%);
  opacity: 0; transform: scaleX(.5); transform-origin: left;
  transition: opacity var(--t-base), transform var(--t-base) var(--ease);
}
.stat-cell:hover::before { opacity: .8; transform: scaleX(1); }
.stat-cell:hover .stat-icon { color: #fff; background: var(--grad-amber); border-color: transparent; box-shadow: 0 8px 20px -8px var(--accent-glow); }
.stat-icon { transition: color var(--t-base), background var(--t-base), border-color var(--t-base), box-shadow var(--t-base); }

/* ── БЕГУЩАЯ СТРОКА «сейчас в эфире» — пилюли + coral-точки + fade (блок 4) ── */
.live-ticker {
  margin: calc(var(--section-rhythm) + 8px) var(--gutter) 0;
  display: flex; align-items: stretch; gap: 0;
  border-radius: var(--radius-xl); overflow: hidden;
  background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--border); box-shadow: var(--shadow-md);
  position: relative;
}
.lt-label {
  flex: none; display: flex; align-items: center; gap: 9px;
  padding: 0 var(--s-5); background: var(--grad-amber); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  line-height: 1.05; position: relative; z-index: 2;
  box-shadow: 8px 0 22px -8px rgba(242,62,46,.55);
}
.lt-label .live-dot { width: 7px; height: 7px; background: #fff; box-shadow: 0 0 10px rgba(255,255,255,.9); }
.lt-label-text { white-space: nowrap; }
.lt-viewport {
  flex: 1; min-width: 0; min-height: 50px; overflow: hidden; position: relative;
  display: flex; align-items: center; contain: strict;
}
/* fade по краям ленты */
.lt-viewport::before, .lt-viewport::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 56px; z-index: 2; pointer-events: none;
}
.lt-viewport::before { left: 0; background: linear-gradient(90deg, var(--bg) 0%, transparent 100%); }
.lt-viewport::after  { right: 0; background: linear-gradient(270deg, var(--bg) 0%, transparent 100%); }
[data-theme="light"] .lt-viewport::before { background: linear-gradient(90deg, #fff 0%, transparent 100%); }
[data-theme="light"] .lt-viewport::after  { background: linear-gradient(270deg, #fff 0%, transparent 100%); }
.lt-track { display: flex; align-items: center; width: max-content; animation: lt-scroll 48s linear infinite; will-change: transform; }
.live-ticker:hover .lt-track { animation-play-state: paused; }
.lt-group { display: flex; align-items: center; }
@keyframes lt-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.lt-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 14px 8px 8px; margin: 9px 0; border-radius: var(--radius-pill);
  background: var(--glass-strong); border: 1px solid var(--hairline);
  text-decoration: none; color: var(--text); white-space: nowrap;
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}
.lt-pill:hover { border-color: var(--accent-soft-2); background: var(--glass-hover); transform: translateY(-1px); }
.lt-cover {
  width: 30px; height: 30px; border-radius: 50%; flex: none; position: relative; overflow: hidden;
  display: grid; place-items: center; color: #fff; font-size: 10px; font-weight: 700;
  font-family: var(--font-serif); background: linear-gradient(145deg, var(--coral), var(--coral-warm));
  box-shadow: var(--inset-light);
}
.lt-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.lt-cover:has(img) .lt-init { opacity: 0; }
.lt-station { font-size: 13px; font-weight: 700; letter-spacing: -.01em; }
.lt-now { font-size: 12.5px; color: var(--text-2); }
.lt-now::before { content: '·'; margin-right: 8px; color: var(--faint); }
.lt-now .lt-now-artist { color: var(--coral); font-weight: 600; }
.lt-sep { color: var(--coral); font-size: 9px; margin: 0 4px; opacity: .65; }
@media (prefers-reduced-motion: reduce) { .lt-track { animation: none !important; } }
@media (max-width: 560px) { .lt-label { padding: 0 var(--s-4); } .lt-label-text { font-size: 10px; } }

/* ── ГОРОДА: chip с pin-иконкой + counter-бейдж (блок 9) ── */
.city-chip { padding: 9px 8px 9px 9px; }
.city-chip-ic {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: var(--accent-soft); border: 1px solid var(--accent-soft-2); color: var(--coral);
  transition: background var(--t-base), color var(--t-base), border-color var(--t-base);
}
.city-chip-ic i { font-size: 14px; line-height: 1; }
.city-chip-name { font-weight: 600; }
.city-chip:hover .city-chip-ic { background: var(--grad-amber); color: #fff; border-color: transparent; }
.city-chip strong {
  display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px;
  border-radius: var(--radius-pill); background: var(--surface-2); border: 1px solid var(--hairline);
  color: var(--text-2); font-size: 11px; font-weight: 700;
}
[data-theme="light"] .city-chip strong { background: var(--surface-3); }

/* ── О СЕРВИСЕ: фичевый контейнер-карточка + coral-свечение + пилюли (блок 10) ── */
.about-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr; gap: var(--s-7);
  padding: var(--s-8) var(--s-6);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(242,62,46,.08), transparent 52%),
    var(--glass-strong);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  align-items: center;
}
@media (min-width: 821px) {
  .about-card { grid-template-columns: 260px 1fr; gap: var(--s-9); padding: var(--s-9) var(--s-8); }
}
.about-glow {
  position: absolute; width: 320px; height: 320px; border-radius: 50%; pointer-events: none;
  top: -120px; right: -100px; z-index: 0;
  background: radial-gradient(circle, rgba(242,62,46,.28), transparent 68%); filter: blur(20px);
}
.about-media { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: var(--s-5); }
.about-illus {
  position: relative; width: 150px; height: 150px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: radial-gradient(circle, rgba(242,62,46,.12), transparent 68%);
  box-shadow: 0 20px 50px -22px rgba(242,62,46,.45);
}
.about-illus-ic { font-size: 60px; color: #fff; position: relative; z-index: 2; filter: drop-shadow(0 4px 10px rgba(0,0,0,.3)); }
.about-brand-logo { position: relative; z-index: 2; width: 108px; height: 108px; display: block; filter: drop-shadow(0 16px 28px rgba(0,0,0,.34)); }
.about-illus-ring {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(242,62,46,.4); z-index: 0;
  animation: about-ring 3.4s ease-out infinite;
}
.about-illus-ring.r2 { animation-delay: 1.7s; }
@keyframes about-ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.about-illus-eq { display: flex; align-items: flex-end; gap: 4px; height: 30px; }
.about-illus-eq .eq-bar { width: 5px; min-width: 5px; border-radius: 3px; background: linear-gradient(var(--coral-warm), var(--coral)); }
.about-content { position: relative; z-index: 1; min-width: 0; }
.about-content h2 { font-family: var(--font-serif); font-size: clamp(24px, 3.2vw, 32px); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; margin: 0 0 var(--s-4); }
.about-content > p { font-size: 15px; line-height: 1.7; color: var(--text-2); margin: 0 0 var(--s-6); max-width: 640px; }
.about-content > p b { color: var(--text); font-weight: 700; }
.about-content > p a { color: var(--coral); text-decoration: none; font-weight: 600; }
.about-content > p a:hover { text-decoration: underline; }
.about-features { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
@media (min-width: 561px) { .about-features { grid-template-columns: repeat(3, 1fr); } }
.about-feature {
  display: flex; align-items: center; gap: 11px; padding: var(--s-3) var(--s-4);
  border-radius: var(--radius-md); background: var(--glass); border: 1px solid var(--hairline);
  transition: border-color var(--t-base), transform var(--t-base) var(--ease), box-shadow var(--t-base);
}
.about-feature:hover { transform: translateY(-3px); border-color: var(--accent-soft-2); box-shadow: var(--shadow-md), 0 0 26px -18px var(--accent-glow); }
.af-ic { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; flex: none;
  background: var(--accent-soft); border: 1px solid var(--accent-soft-2); color: var(--coral); }
.af-ic i { font-size: 20px; line-height: 1; }
.af-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.af-text b { font-size: 13.5px; font-weight: 700; color: var(--text); letter-spacing: -.01em; }
.af-text small { font-size: 11.5px; color: var(--muted); line-height: 1.3; }
@media (prefers-reduced-motion: reduce) { .about-illus-ring { animation: none !important; opacity: .35; } }

/* ── ФУТЕР: coral-hairline + свечение, caption-заголовки с иконками, соц (блок 11) ── */
.footer { overflow: hidden; }
.footer-hairline { position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--coral) 50%, transparent); opacity: .55; }
.footer::before {
  content: ''; position: absolute; top: -140px; left: 50%; transform: translateX(-50%);
  width: 560px; height: 280px; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(242,62,46,.12), transparent 70%); filter: blur(10px);
}
.footer-grid, .footer-bottom { position: relative; z-index: 1; }
.footer-brand p { max-width: 360px; }
.footer h4 { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); letter-spacing: .06em; }
.footer h4 i { font-size: 15px; line-height: 1; color: var(--coral); }
.footer-link { transition: color var(--t-fast), padding-left var(--t-fast); }
.footer-link:hover { color: var(--coral); }
.footer-link--more { display: inline-flex; align-items: center; gap: 5px; color: var(--coral); font-weight: 600; }
.footer-link--more i { font-size: 14px; transition: transform var(--t-base) var(--ease); }
.footer-link--more:hover i { transform: translateX(3px); }
.footer-social { display: flex; gap: 9px; margin-top: var(--s-5); }
.footer-soc {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: var(--surface); border: 1px solid var(--line); color: var(--text-2); text-decoration: none;
  transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.footer-soc i { font-size: 19px; line-height: 1; }
.footer-soc:hover { color: #fff; background: var(--grad-amber); border-color: transparent; transform: translateY(-2px); box-shadow: 0 8px 20px -8px var(--accent-glow); }
.footer-made { display: inline-flex; align-items: center; gap: 6px; }
.footer-made i { color: var(--coral); font-size: 13px; }

[data-theme="light"] .footer {
  background:
    radial-gradient(74% 150% at 50% -48%, rgba(255,106,82,.12), transparent 60%),
    linear-gradient(145deg, rgba(245,247,251,.98), rgba(231,235,242,.96));
  border-color: rgba(50,57,69,.11);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.96),
    inset 0 -1px 0 rgba(48,54,66,.035),
    0 26px 58px -45px rgba(31,37,48,.54);
}

/* ── BLUR-BACKDROP лого: общие правила для плеера / hero / similar (правка A) ── */
/* cover-backdrop базовые правила уже заданы; дублируем overlay для этих контейнеров */
.np-cover.has-logo, .sp-cover.has-logo, .similar-cover.has-logo { isolation: isolate; }
.np-cover.has-logo::after, .sp-cover.has-logo::after, .similar-cover.has-logo::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(242,62,46,.12), transparent 58%),
    linear-gradient(180deg, rgba(8,9,12,.28), rgba(8,9,12,.5));
}
/* боксы-подложки под чёткое лого */
.np-cover-box, .sp-cover-box, .similar-cover-box {
  position: absolute; z-index: 2; display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 6px 16px -8px rgba(0,0,0,.5);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
[data-theme="light"] .np-cover-box, [data-theme="light"] .sp-cover-box, [data-theme="light"] .similar-cover-box {
  background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.34);
}
/* hero np-cover */
.np-cover-box { inset: 14%; padding: 12%; border-radius: 16px; }
.np-cover.has-logo .np-cover-box img { position: static; inset: auto; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 3px 8px rgba(0,0,0,.4)); }
.np-cover.has-logo .np-cover-init { opacity: 0; }
/* player sp-cover */
.sp-cover-box { inset: 13%; padding: 11%; border-radius: 11px; }
.sp-cover.has-logo .sp-cover-box .sp-cover-img { position: static; inset: auto; width: 100%; height: 100%; object-fit: contain; }
.sp-cover.art-fallback .cover-backdrop, .sp-cover.art-fallback .sp-cover-box { display: none; }
/* similar */
.similar-cover-box { inset: 13%; padding: 10%; border-radius: 10px; }
.similar-cover.has-logo .similar-cover-box .similar-cover-img { position: static; inset: auto; width: 100%; height: 100%; object-fit: contain; }
.similar-cover.has-logo .similar-init { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .cover-backdrop { filter: blur(13px) saturate(1.35) brightness(.82) !important; } }

/* ═══════════════════════════════════════════════════════════════════════
   FLAT-BG лого: подложка обложки залита ТОЧНЫМ фоновым цветом лого (logo_bg).
   Прямоугольное/обрезанное лого «дорисовывается» своим же фоном до цельного
   квадрата. Никакого blur-backdrop, никакого стеклянного бокса, минимум
   padding — лого крупное, заполняет область, сливается с подложкой.
   ═══════════════════════════════════════════════════════════════════════ */
/* убрать blur-backdrop, coral-overlay и стеклянный бокс для flat-режима */
.station-cover.has-flat-bg .cover-backdrop,
.sh-cover.has-flat-bg .cover-backdrop,
.np-cover.has-flat-bg .cover-backdrop,
.sp-cover.has-flat-bg .cover-backdrop,
.similar-cover.has-flat-bg .cover-backdrop { display: none; }

.station-cover.has-flat-bg.has-logo::before,
.np-cover.has-flat-bg.has-logo::after,
.sp-cover.has-flat-bg.has-logo::after,
.similar-cover.has-flat-bg.has-logo::after { display: none; content: none; }

/* контейнер-бокс под лого: прозрачный (видна solid-подложка), без рамки/блюра,
   минимальный padding → лого сливается с фоном в цельный квадрат */
.has-flat-bg .cover-logo-box,
.has-flat-bg .cover-logo-pad {
  background: none !important; border: none !important; box-shadow: none !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
.station-cover.has-flat-bg .cover-logo-pad { inset: 0; }
.station-cover.has-flat-bg .cover-logo-box { padding: 4%; border-radius: 10px; }
.sh-cover.has-flat-bg .sh-cover-box { inset: 0; padding: 5%; border-radius: 10px; }
.sp-cover.has-flat-bg .sp-cover-box { inset: 0; padding: 6%; border-radius: 9px; }
.similar-cover.has-flat-bg .similar-cover-box { inset: 0; padding: 5%; border-radius: 8px; }
.np-cover.has-flat-bg .np-cover-box { inset: 0; padding: 5%; border-radius: 12px; }
/* drop-shadow на лого в flat-режиме не нужен — оно на своём же фоне.
   Скругляем сам <img> лого: его острые углы обрезаются, проступает та же
   solid-подложка logo_bg → лого выглядит как аккуратная скруглённая плитка. */
.has-flat-bg .station-cover-img,
.has-flat-bg .sh-cover-img,
.has-flat-bg .sp-cover-img,
.has-flat-bg .np-cover-box img,
.has-flat-bg .similar-cover-img { filter: none; border-radius: 8px; }
.station-cover.has-flat-bg .station-cover-img { border-radius: 10px; }
.np-cover.has-flat-bg .np-cover-box img { border-radius: 11px; }

/* Светлый logo_bg (близок к белому): hairline-рамка, чтобы белая подложка
   не сливалась с фоном карточки (особенно на светлой теме). */
.has-flat-bg.flat-bg-light {
  box-shadow: inset 0 0 0 1px var(--hairline), 0 8px 20px -10px rgba(0,0,0,.45) !important;
}
[data-theme="light"] .has-flat-bg.flat-bg-light {
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.14), 0 6px 16px -10px rgba(0,0,0,.28) !important;
}
/* Очень тёмный logo_bg на светлой теме — тоже лёгкая рамка для отделения. */
[data-theme="light"] .has-flat-bg.flat-bg-dark {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 6px 16px -10px rgba(0,0,0,.3) !important;
}

/* ── Featured-слайдер: аккуратная плитка вместо резкого белого квадрата ──────
   У станций с белым logo_bg (Estación 101.3, RADIO DISCOUNT) обложка .np-cover
   на тёмной карточке выглядела как обрезанный белый прямоугольник. Даём чёткую,
   но деликатную нейтральную рамку + мягкую тень + микро-внутреннюю тень, усиливаем
   скругление → белый квадрат читается как премиальная плитка с границей. */
.np-cover.has-flat-bg.flat-bg-light {
  border-radius: 16px;
  box-shadow:
    inset 0 0 0 1px rgba(20,22,30,.16),       /* чёткий тёмный hairline по краю белого */
    inset 0 1px 0 rgba(255,255,255,.6),        /* лёгкий верхний блик плитки */
    inset 0 -8px 16px -10px rgba(20,22,30,.18),/* микро-внутренняя тень снизу — объём */
    0 6px 18px -8px rgba(0,0,0,.5) !important;  /* мягкая отбрасываемая тень на карточке */
}
[data-theme="light"] .np-cover.has-flat-bg.flat-bg-light {
  box-shadow:
    inset 0 0 0 1px rgba(20,22,30,.14),
    inset 0 1px 0 rgba(255,255,255,.7),
    inset 0 -8px 16px -10px rgba(20,22,30,.12),
    0 8px 20px -10px rgba(160,40,28,.22) !important;
}
.np-cover.has-flat-bg.flat-bg-light .np-cover-box img { border-radius: 9px; }

/* ── Плеер: анти-«пустой белый квадрат» ──────────────────────────────────
   На светлом flat-bg (logo_bg ≈ белый) держим инициалы ВИДИМЫМИ как подложку
   тёмным цветом — лого рисуется поверх (z-index 1). Если лого белое/прозрачное
   или не загрузилось (art-fallback), под ним остаётся читаемая тёмная метка,
   а не пустой белый квадрат. На тёмном flat-bg — наоборот, светлые инициалы. */
.sp-cover.has-flat-bg.flat-bg-light .sp-cover-init { color: rgba(20,22,30,.78); }
.sp-cover.has-flat-bg.flat-bg-dark  .sp-cover-init { color: rgba(255,255,255,.92); }
.sp-cover.has-flat-bg.flat-bg-light:not(.art-fallback) .sp-cover-init,
.sp-cover.has-flat-bg.flat-bg-dark:not(.art-fallback)  .sp-cover-init { opacity: 1; }

/* ═══════════════════════════════════════════════════════════════════════
   ПРАВКА B — ПЛЕЕР НА СВЕТЛОЙ ТЕМЕ: коралловый фон, светлые элементы.
   Тёмная тема плеер не трогаем (остаётся стеклянным). Все кнопки SOLID.
   ═══════════════════════════════════════════════════════════════════════ */
[data-theme="light"] .sticky-player {
  background: linear-gradient(135deg, #FF6A3D 0%, #F23E2E 100%);
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 24px 60px -18px rgba(242,62,46,.55), inset 0 1px 0 rgba(255,255,255,.35);
}
[data-theme="light"] .sticky-player.is-playing {
  box-shadow: 0 26px 64px -16px rgba(242,62,46,.7), inset 0 1px 0 rgba(255,255,255,.4);
}
/* текст / имена / now-playing — белые */
[data-theme="light"] .sticky-player .sp-name { color: #fff; }
[data-theme="light"] .sticky-player .sp-name-link:hover .sp-name { color: rgba(255,255,255,.85); }
[data-theme="light"] .sticky-player .sp-track { color: rgba(255,255,255,.92); }
[data-theme="light"] .sticky-player .sp-now-artist { color: #fff; font-weight: 700; }
[data-theme="light"] .sticky-player .sp-now-dash { color: rgba(255,255,255,.7); }
[data-theme="light"] .sticky-player .sp-live-tag { color: #fff; }
[data-theme="light"] .sticky-player .sp-live-tag::before { background: #fff; box-shadow: 0 0 8px rgba(255,255,255,.9); }
[data-theme="light"] .sticky-player:not(.is-playing) .sp-live-tag { color: rgba(255,255,255,.75); }
[data-theme="light"] .sticky-player:not(.is-playing) .sp-live-tag::before { background: rgba(255,255,255,.75); }
/* обложка станции — рамка из белого */
[data-theme="light"] .sticky-player .sp-cover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.4), 0 4px 14px -4px rgba(0,0,0,.3); }
[data-theme="light"] .sticky-player .sp-now-cover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.4); color: #fff; }
/* качество-бейдж */
[data-theme="light"] .sticky-player .sp-quality { color: #fff; background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.35); }
[data-theme="light"] .sticky-player.is-playing .sp-quality { color: #fff; border-color: rgba(255,255,255,.5); }
/* prev/next/stop — полупрозрачно-белые SOLID */
[data-theme="light"] .sticky-player .sp-ctrl {
  background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.34); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
[data-theme="light"] .sticky-player .sp-ctrl:hover { background: rgba(255,255,255,.30); border-color: rgba(255,255,255,.5); color: #fff; }
/* play — белый круг с коралловой иконкой */
[data-theme="light"] .sticky-player .sp-play {
  background: #fff; color: var(--coral);
  box-shadow: 0 8px 22px -6px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.9);
}
[data-theme="light"] .sticky-player .sp-play:hover { background: #fff; box-shadow: 0 12px 28px -6px rgba(0,0,0,.45); }
[data-theme="light"] .sticky-player.is-playing .sp-play { animation: play-pulse-light 2.2s var(--ease) infinite; }
[data-theme="light"] .sticky-player .sp-play.is-loading {
  color: var(--coral);
  animation: none;
}
[data-theme="light"] .sticky-player .sp-play.is-loading .sp-play-spinner {
  border-color: rgba(242,62,46,.22);
  border-top-color: var(--coral);
}
[data-theme="light"] .sticky-player .sp-play.is-error {
  background: #fff;
  color: var(--danger);
}
@keyframes play-pulse-light {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,255,255,.5), inset 0 1px 0 rgba(255,255,255,.9); }
  50%     { box-shadow: 0 0 0 6px rgba(255,255,255,0), 0 0 22px rgba(255,255,255,.6), inset 0 1px 0 rgba(255,255,255,.9); }
}
/* лайк / фав / громкость / открыть — полупрозрачно-белые SOLID */
[data-theme="light"] .sticky-player .sp-icon-btn {
  background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.34); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
[data-theme="light"] .sticky-player .sp-icon-btn:hover { background: rgba(255,255,255,.30); border-color: rgba(255,255,255,.5); color: #fff; }
[data-theme="light"] .sticky-player .sp-like.liked { background: #fff; color: var(--coral); border-color: #fff; }
[data-theme="light"] .sticky-player .sp-like.liked svg { fill: var(--coral); }
[data-theme="light"] .sticky-player .sp-fav.active { background: #fff; color: var(--coral); border-color: #fff; }
[data-theme="light"] .sticky-player .sp-fav.active svg { fill: var(--coral); }
[data-theme="light"] .sticky-player .sp-vol-icon.is-muted { color: #fff; opacity: .7; }
/* громкость-бар — белый */
[data-theme="light"] .sticky-player .sp-vol-bar { background: rgba(255,255,255,.28); }
[data-theme="light"] .sticky-player .sp-vol-fill { background: #fff; }
[data-theme="light"] .sticky-player .sp-vol-fill::after { background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.35); }
/* свернуть/развернуть — SOLID белый, непрозрачный */
[data-theme="light"] .sticky-player .sp-collapse {
  background: #fff; color: var(--coral); border-color: rgba(255,255,255,.6);
  box-shadow: 0 -2px 8px -2px rgba(0,0,0,.25), 0 4px 12px -4px rgba(242,62,46,.4);
}
[data-theme="light"] .sticky-player .sp-collapse:hover { background: #fff; color: var(--coral-deep); transform: translateY(-1px); }
/* мини-эквалайзер / фоновый виз — светлые */
[data-theme="light"] .sticky-player .sp-mini-eq .eq-bar,
[data-theme="light"] .sticky-player .eq-bar { background: rgba(255,255,255,.9); box-shadow: none; }
/* читаемость текста поверх фонового визуализатора — на коралле тень не нужна */
[data-theme="light"] .sticky-player.viz-on .sp-name,
[data-theme="light"] .sticky-player.viz-on .sp-track { text-shadow: 0 1px 4px rgba(178,30,20,.4); }
/* лого-бокс обложки в светлом плеере — ярче */
[data-theme="light"] .sticky-player .sp-cover-box { background: rgba(255,255,255,.3); border-color: rgba(255,255,255,.5); }
/* фоновый виз (коралловые столбики) поверх коралл-фона невидим → делаем белым */
[data-theme="light"] .sticky-player .sp-bg-viz { filter: brightness(0) invert(1); }
[data-theme="light"] .sticky-player.viz-on .sp-bg-viz { opacity: .5; }

/* ═══════════════════════════════════════════════════════════════════════
   V7 финальная полировка: hero-фон, section-link pill, genre/artist/event
   ═══════════════════════════════════════════════════════════════════════ */

/* ── HERO (блок 2): тёплое радиальное свечение + деликатная сетка-волны ── */
.hero::before {
  content: ''; position: absolute; inset: -10% -20% auto -20%; height: 140%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 22% 30%, rgba(242,62,46,.14), transparent 60%),
    radial-gradient(50% 45% at 85% 20%, rgba(255,106,61,.10), transparent 62%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  -webkit-mask: radial-gradient(70% 80% at 30% 40%, #000, transparent 75%);
          mask: radial-gradient(70% 80% at 30% 40%, #000, transparent 75%);
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 46px);
}
[data-theme="light"] .hero::after {
  background-image:
    repeating-linear-gradient(90deg, rgba(20,22,40,.05) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(0deg, rgba(20,22,40,.05) 0 1px, transparent 1px 46px);
}
.hero-eyebrow .live-dot { animation: pulse 1.6s infinite; }

/* CapsuleHub WebGL fluid background, lifted as a real canvas layer. */
.hero--capsulehub {
  overflow: visible;
}
.hero--capsulehub::before {
  inset: -18% -16% -12%;
  height: auto;
  background:
    radial-gradient(55% 62% at 24% 22%, rgba(99,102,241,.18), transparent 64%),
    radial-gradient(48% 48% at 82% 16%, rgba(139,92,246,.14), transparent 60%),
    linear-gradient(180deg, rgba(4,8,22,.22), transparent 70%);
}
.hero--capsulehub::after {
  display: none;
}
.capsulehub-hero-effect {
  position: absolute;
  top: -126px;
  bottom: 0;
  left: 50%;
  width: min(100vw, var(--hero-bleed-max));
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  opacity: .9;
  background:
    radial-gradient(80% 70% at 50% 16%, rgba(39,43,70,.55), transparent 72%),
    linear-gradient(180deg, rgba(22,24,28,.92), rgba(22,24,28,.48) 72%, transparent 100%);
  border-radius: clamp(28px, 4vw, 64px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 76%, rgba(0,0,0,.72) 88%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 76%, rgba(0,0,0,.72) 88%, transparent 100%);
}
.capsulehub-grid {
  position: absolute;
  inset: 0;
  opacity: .78;
  background-image:
    linear-gradient(to right, #4f4f4f2e 1px, transparent 1px),
    linear-gradient(to bottom, #4f4f4f2e 1px, transparent 1px);
  background-size: 14px 24px;
  -webkit-mask-image: radial-gradient(ellipse 74% 58% at 50% 4%, #000 68%, transparent 100%);
          mask-image: radial-gradient(ellipse 74% 58% at 50% 4%, #000 68%, transparent 100%);
}
.capsulehub-fluid-root {
  position: absolute;
  inset: 0;
  min-height: 100%;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  opacity: .82;
  filter: saturate(1.08) contrast(1.02);
  mix-blend-mode: screen;
  contain: strict;
}
.capsulehub-fluid-root canvas {
  display: block;
  width: 100%;
  height: 100%;
}
[data-theme="light"] .capsulehub-hero-effect {
  opacity: 1;
  mix-blend-mode: normal;
  background:
    radial-gradient(38% 34% at 18% 20%, rgba(255,106,61,.18), transparent 70%),
    radial-gradient(34% 30% at 74% 16%, rgba(242,62,46,.10), transparent 66%),
    radial-gradient(62% 50% at 50% 34%, rgba(255,255,255,.84), rgba(255,255,255,.35) 54%, transparent 78%),
    linear-gradient(180deg, rgba(248,248,250,.96) 0%, rgba(246,246,248,.88) 58%, rgba(246,246,248,0) 100%);
}
[data-theme="light"] .capsulehub-grid {
  opacity: .42;
  background-image:
    linear-gradient(to right, rgba(15,23,42,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,23,42,.055) 1px, transparent 1px);
}
[data-theme="light"] .capsulehub-fluid-root {
  display: none;
}

@media (max-width: 1920px) {
  .capsulehub-hero-effect {
    border-radius: 0;
  }

  .capsulehub-grid {
    -webkit-mask-image: none;
            mask-image: none;
  }
}

@media (max-width: 640px) {
  .hero { padding-top: 24px; gap: 20px; }
  .hero .hero-eyebrow { margin-bottom: 16px; }
  .hero .hero-text > p { margin-bottom: 20px; }

  .capsulehub-hero-effect {
    top: -88px;
    bottom: 0;
    width: calc(100vw - 16px);
    border-radius: 28px;
  }

  /* Keep every featured-player control above the fixed mobile navigation in
     the initial 390x844 viewport. */
  .hero .now-playing-card { padding: 16px; }
  .hero .np-header { margin-bottom: 12px; }
  .hero .np-station { gap: 12px; margin-bottom: 12px; }
  .hero .np-cover { width: 76px; height: 76px; border-radius: 14px; }
  .hero .np-controls { margin-top: 12px; padding-top: 12px; }
  .hero .np-play { width: 48px; height: 48px; }
  .hero .np-slider-nav { margin-top: 12px; }
}

/* ── SECTION-LINK: премиум-пилюля «Все → » ── */
.section-link {
  padding: 7px 14px; border-radius: var(--radius-pill);
  background: var(--glass); border: 1px solid var(--hairline);
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.section-link:hover { color: var(--coral); border-color: var(--accent-soft-2); background: var(--accent-soft); }

/* ── ЖАНРЫ (блок 5): hover-стрелка усиление, чуть выше плитки ── */
.genre-tile { min-height: 132px; }
.genre-tile .gt-icon { transition: transform var(--t-base) var(--ease), background var(--t-base); }
.genre-tile:hover .gt-icon { transform: scale(1.08) rotate(-4deg); }

/* ── АРТИСТЫ (блок 7): coral-ободок + «N эфиров» бейдж ── */
.artist-meta {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: var(--radius-pill);
  background: var(--accent-soft); border: 1px solid var(--accent-soft-2); color: var(--coral);
  text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 11px;
}

/* ── АФИША (блок 8): coral дата-бейдж + место с pin + «Билеты» outline ── */
.event-date { background: var(--grad-amber); }
.event-place { display: block; }
.event-place::before { content: '\ea44'; font-family: 'tabler-icons'; font-size: 12px; color: var(--coral); display: inline-block; margin-right: 5px; vertical-align: -1px; }
.event-badge {
  padding: 5px 11px; border-radius: var(--radius-pill);
  background: var(--accent-soft); border: 1px solid var(--accent-soft-2); color: var(--coral);
}
.event-card:hover .event-badge { background: var(--grad-amber); color: #fff; border-color: transparent; }

/* Animated segmented controls */
.chart-period {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  --seg-x: 4px;
  --seg-w: 0px;
}
.chart-period::before {
  content: '';
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: var(--seg-w);
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--indigo), #D62E20);
  box-shadow: 0 8px 24px -8px rgba(242,62,46,.65), inset 0 1px 0 rgba(255,255,255,.25);
  opacity: 0;
  transform: translate3d(var(--seg-x), 0, 0);
  transition:
    transform 640ms cubic-bezier(.18,.92,.22,1.12) 45ms,
    width 520ms cubic-bezier(.22,.86,.24,1) 45ms,
    opacity 180ms ease;
  z-index: 0;
  pointer-events: none;
}
.chart-period.segmented-ready::before { opacity: 1; }
.chart-period.segmented-priming::before { transition: none !important; }
.chart-period--segmented .chart-period-tab {
  position: relative;
  z-index: 1;
  background: transparent !important;
  box-shadow: none !important;
  transition: color 220ms var(--ease-micro), transform 360ms var(--ease);
}
.chart-period--segmented .chart-period-tab.active,
.chart-period--segmented .chart-period-tab.seg-target { color: #fff; }
.chart-period--segmented .chart-period-tab:active { transform: scale(.975); }
.chart-period.segmented-moving::before {
  transition-duration: 720ms, 560ms, 180ms;
}
@media (prefers-reduced-motion: reduce) {
  .chart-period::before { transition: none !important; }
  .chart-period--segmented .chart-period-tab { transition: none !important; }
}

/* Catalog indexes: cities / artists / events */
.index-panel {
  padding: var(--s-5);
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}
.index-panel-head {
  display: flex;
  justify-content: space-between;
  gap: var(--s-5);
  align-items: flex-start;
  margin-bottom: 0;
}
.index-panel-head h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.1;
  margin: 0 0 var(--s-2);
  letter-spacing: -.02em;
}
.index-panel-head p { color: var(--text-2); font-size: 14px; line-height: 1.55; margin: 0; max-width: 720px; }
.tax-grid--compact { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: var(--s-3); }
.tax-grid--compact .tax-card { min-height: 86px; padding: var(--s-4); }
.tax-grid--compact .tax-card.has-art { min-height: 138px; padding: var(--s-3); }
.tax-grid--compact .tax-card-art { aspect-ratio: auto; height: 50px; }
.tax-card.active { border-color: var(--accent-soft-2); box-shadow: var(--shadow-lg), 0 0 34px -18px var(--accent-glow); }
.alpha-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.alpha-row .chip span, .event-country-row .chip span {
  color: var(--faint);
  font-variant-numeric: tabular-nums;
  margin-left: 4px;
}
.cities-strip--dense { gap: 8px; }
.city-chip-country {
  color: var(--faint);
  font-size: 11px;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.catalog-tabs { margin: 0 0 var(--s-5); }
.index-panel .catalog-tabs { margin: 0; }
.related-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s-4);
}
.related-link-group h3 {
  margin: 0 0 var(--s-3);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.related-link-group .chip-row {
  margin-top: 0;
}
.event-country-row { row-gap: 8px; }
.artist-grid--catalog { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.event-month-group { margin-bottom: var(--s-8); }
.event-month-group:last-child { margin-bottom: 0; }
.event-month-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.02em;
  margin: 0 0 var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--hairline);
}
.event-country-line {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
  color: var(--faint);
  font-size: 11px;
}
.event-artists { display: flex; flex-wrap: wrap; gap: 5px; min-height: 22px; }
.event-artists span {
  padding: 3px 7px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--hairline);
  color: var(--text-2);
  font-size: 10.5px;
  font-weight: 600;
}
@media (max-width: 640px) {
  .index-panel { padding: var(--s-4); }
  .index-panel-head { flex-direction: column; gap: var(--s-3); }
  .tax-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tax-grid--compact .tax-card { min-height: 76px; padding: 12px; }
  .tax-grid--compact .tax-card.has-art { min-height: 112px; padding: 10px; gap: 8px; }
  .tax-grid--compact .tax-card-art { height: 40px; }
  .tax-grid--compact .tax-card-name { font-size: 14px; }
  .tax-grid--compact .tax-card-count { font-size: 10px; }
  .catalog-tabs { max-width: 100%; overflow-x: auto; }
  .catalog-tabs:has(+ .event-filter-bar) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    overflow: hidden;
  }
  .catalog-tabs:has(+ .event-filter-bar) .chart-period-tab {
    min-width: 0;
    padding: 8px 4px;
    font-size: 11px;
    text-align: center;
  }
}

/* Sticky player motion: one restrained physical model for every control. */
.sticky-player .sp-ctrl,
.sticky-player .sp-play,
.sticky-player .sp-icon-btn,
.sticky-player .sp-collapse {
  transform: translateY(0) scale(1);
  transform-origin: 50% 50%;
  will-change: transform;
  transition:
    transform 180ms cubic-bezier(.22,.72,.28,1),
    box-shadow 240ms cubic-bezier(.22,.72,.28,1),
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

/* Playback is communicated by the icon and visualizer, without a looping pulse. */
.sticky-player.is-playing .sp-play,
[data-theme="light"] .sticky-player.is-playing .sp-play {
  animation: none;
}

@media (hover: hover) and (pointer: fine) {
  .sticky-player .sp-ctrl:hover,
  .sticky-player .sp-play:hover,
  .sticky-player .sp-icon-btn:hover,
  .sticky-player .sp-collapse:hover,
  [data-theme="light"] .sticky-player .sp-ctrl:hover,
  [data-theme="light"] .sticky-player .sp-play:hover,
  [data-theme="light"] .sticky-player .sp-icon-btn:hover,
  [data-theme="light"] .sticky-player .sp-collapse:hover {
    transform: translateY(-1px) scale(1);
  }

  .sticky-player .sp-play:hover {
    box-shadow:
      0 12px 28px -7px rgba(242,62,46,.76),
      0 0 0 1px rgba(255,255,255,.08),
      inset 0 1px 0 rgba(255,255,255,.38);
  }
}

.sticky-player .sp-ctrl:active,
.sticky-player .sp-play:active,
.sticky-player .sp-icon-btn:active,
.sticky-player .sp-collapse:active {
  transform: translateY(0) scale(.96);
  transition-duration: 80ms;
}

@media (prefers-reduced-motion: reduce) {
  .sticky-player .sp-ctrl,
  .sticky-player .sp-play,
  .sticky-player .sp-icon-btn,
  .sticky-player .sp-collapse {
    animation: none !important;
    transform: none !important;
    transition-duration: 0.01ms !important;
  }
}

/* One-time comic-style note when the last station is restored. */
.sp-restore-hint {
  position: absolute;
  left: 18px;
  bottom: calc(100% + 24px);
  width: min(390px, calc(100vw - 36px));
  padding: 18px 48px 18px 20px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px 20px 20px 7px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255,106,61,.16), transparent 42%),
    linear-gradient(145deg, rgba(39,42,50,.96), rgba(24,26,32,.98));
  box-shadow:
    0 22px 54px -25px rgba(0,0,0,.9),
    0 0 0 1px rgba(242,62,46,.08),
    inset 0 1px 0 rgba(255,255,255,.09);
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  color: #fff;
  z-index: 12;
  opacity: 0;
  transform: translateY(10px) scale(.975) rotate(-.35deg);
  transform-origin: 30px 100%;
  transition: opacity 220ms ease, transform 420ms cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}
.sp-restore-hint[hidden] { display: none; }
.sp-restore-hint.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(-.35deg);
  pointer-events: auto;
}
.sp-restore-hint::before {
  content: '';
  position: absolute;
  left: 30px;
  bottom: -6px;
  width: 12px;
  height: 12px;
  background: #191b21;
  border-right: 1px solid rgba(255,255,255,.18);
  border-bottom: 1px solid rgba(255,255,255,.18);
  transform: rotate(45deg);
  border-radius: 0 0 2px 0;
}
.sp-restore-kicker {
  display: block;
  margin-bottom: 6px;
  color: #ff6a5a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.sp-restore-hint strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -.015em;
}
.sp-restore-copy {
  display: block;
  color: rgba(239,241,247,.72);
  font-size: 12.5px;
  line-height: 1.5;
}
.sp-restore-close {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.78);
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms var(--ease);
}
.sp-restore-close:hover {
  color: #fff;
  background: rgba(255,255,255,.11);
  border-color: rgba(255,255,255,.24);
  transform: translateY(-1px);
}
.sp-restore-close:active { transform: scale(.94); }
.sp-restore-close:focus-visible {
  outline: 2px solid rgba(255,255,255,.92);
  outline-offset: 2px;
}
[data-theme="light"] .sp-restore-hint {
  color: #17191f;
  background:
    radial-gradient(circle at 12% 0%, rgba(242,62,46,.11), transparent 44%),
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(246,246,248,.98));
  border-color: rgba(15,17,22,.12);
  box-shadow: 0 22px 50px -28px rgba(26,28,34,.36), inset 0 1px 0 #fff;
}
[data-theme="light"] .sp-restore-hint::before {
  background: #f7f7f9;
  border-color: rgba(15,17,22,.12);
}
[data-theme="light"] .sp-restore-copy { color: rgba(32,35,42,.66); }
[data-theme="light"] .sp-restore-close {
  color: rgba(24,26,32,.72);
  background: rgba(15,17,22,.045);
  border-color: rgba(15,17,22,.10);
}
@media (max-width: 640px) {
  .sp-restore-hint {
    left: 0;
    bottom: calc(100% + 20px);
    width: 100%;
    padding: 16px 44px 16px 17px;
    border-radius: 18px 18px 18px 7px;
  }
  .sp-restore-hint strong { font-size: 16px; }
  .sp-restore-copy { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-restore-hint { transition: none; transform: none; }
  .sp-restore-hint.is-visible { transform: none; }
}

/* Light theme: a distinct cool glass dock, not a recolored dark player. */
[data-theme="light"] .sticky-player {
  background: rgba(247,248,251,.46);
  border-color: rgba(255,255,255,.76);
  box-shadow:
    0 24px 60px -28px rgba(32,36,46,.38),
    0 8px 24px -20px rgba(242,62,46,.18),
    inset 0 1px 0 rgba(255,255,255,.88),
    inset 0 -1px 0 rgba(55,60,72,.09);
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
}
[data-theme="light"] .sticky-player.is-playing {
  box-shadow:
    0 26px 64px -28px rgba(32,36,46,.42),
    0 10px 32px -20px rgba(242,62,46,.28),
    inset 0 1px 0 rgba(255,255,255,.92);
}
[data-theme="light"] .sticky-player .sp-name {
  color: #1c1f27;
  text-shadow: 0 1px 0 rgba(255,255,255,.84);
}
[data-theme="light"] .sticky-player .sp-name-link:hover .sp-name,
[data-theme="light"] .sticky-player .sp-now-artist { color: var(--coral-deep); }
[data-theme="light"] .sticky-player .sp-track,
[data-theme="light"] .sticky-player .sp-now-dash { color: rgba(42,46,57,.66); }
[data-theme="light"] .sticky-player.viz-on .sp-name,
[data-theme="light"] .sticky-player.viz-on .sp-track {
  text-shadow: 0 1px 0 rgba(255,255,255,.88), 0 0 12px rgba(255,255,255,.62);
}
[data-theme="light"] .sticky-player .sp-quality {
  color: rgba(31,34,42,.72);
  background: rgba(255,255,255,.54);
  border-color: rgba(36,40,50,.12);
}
[data-theme="light"] .sticky-player .sp-ctrl,
[data-theme="light"] .sticky-player .sp-icon-btn {
  color: rgba(255,255,255,.92);
  background: rgba(35,38,46,.88);
  border-color: rgba(255,255,255,.26);
  box-shadow: 0 7px 18px -11px rgba(31,34,42,.46), inset 0 1px 0 rgba(255,255,255,.12);
}
[data-theme="light"] .sticky-player .sp-ctrl:hover,
[data-theme="light"] .sticky-player .sp-icon-btn:hover {
  color: #fff;
  background: rgba(48,52,62,.96);
  border-color: rgba(255,255,255,.42);
}
[data-theme="light"] .sticky-player .sp-play,
[data-theme="light"] .sticky-player .sp-play:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  border: 1px solid rgba(214,46,32,.20);
  box-shadow: 0 10px 24px -12px rgba(214,46,32,.56), inset 0 1px 0 rgba(255,255,255,.34);
}
[data-theme="light"] .sticky-player .sp-collapse {
  color: rgba(35,38,46,.78);
  background: rgba(249,250,252,.92);
  border-color: rgba(44,48,58,.14);
  box-shadow: 0 -3px 10px -6px rgba(43,47,58,.24), 0 6px 16px -10px rgba(43,47,58,.30), inset 0 1px 0 #fff;
}
[data-theme="light"] .sticky-player .sp-collapse:hover {
  color: var(--coral-deep);
  background: #fff;
}
[data-theme="light"] .sticky-player .sp-cover-box {
  background: rgba(255,255,255,.52);
  border-color: rgba(255,255,255,.76);
}
[data-theme="light"] .sticky-player .sp-fav.active,
[data-theme="light"] .sticky-player .sp-like.liked {
  color: #ff7466;
  background: rgba(242,62,46,.14);
  border-color: rgba(255,105,90,.34);
}
[data-theme="light"] .sticky-player .sp-vol-bar { background: rgba(35,38,46,.18); }
[data-theme="light"] .sticky-player .sp-vol-fill { background: linear-gradient(90deg, var(--coral-deep), var(--coral)); }
[data-theme="light"] .sticky-player .sp-vol-fill::after {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(242,62,46,.18), 0 2px 8px rgba(0,0,0,.42);
}
[data-theme="light"] .sticky-player .sp-bg-viz { filter: none; }
[data-theme="light"] .sticky-player.viz-on .sp-bg-viz { opacity: .34; }

/* Light glass player: a clean graphite hairline with a restrained moving glint. */
[data-theme="light"] .sticky-player.metal-edge {
  border-color: rgba(47,51,60,.17);
  box-shadow:
    0 18px 44px -28px rgba(35,39,48,.38),
    0 7px 18px -18px rgba(35,39,48,.24),
    inset 0 1px 0 rgba(255,255,255,.94),
    inset 0 -1px 0 rgba(48,52,62,.065);
}
[data-theme="light"] .sticky-player.metal-edge::after {
  inset: -1px;
  padding: 1px;
  border-radius: calc(var(--radius-xl) + 1px);
  opacity: .34;
  background: conic-gradient(from var(--ma, 0deg),
    transparent 0deg,
    transparent 36deg,
    rgba(66,71,82,.16) 58deg,
    rgba(255,255,255,.96) 72deg,
    rgba(91,96,108,.22) 88deg,
    transparent 112deg,
    transparent 232deg,
    rgba(226,82,66,.16) 252deg,
    rgba(255,255,255,.72) 266deg,
    transparent 288deg,
    transparent 360deg);
  animation: metal-spin 16s linear infinite;
}
[data-theme="light"] .sticky-player.metal-edge:hover::after {
  opacity: .48;
  animation-duration: 12s;
}

/* Light-theme live labels need a solid contrast anchor on pale cards. */
[data-theme="light"] .np-live {
  color: #fff;
  background: linear-gradient(135deg, #f24a3b, #d93225);
  border-color: rgba(142,31,22,.34);
  box-shadow: 0 7px 18px -10px rgba(185,39,27,.62), inset 0 1px 0 rgba(255,255,255,.28);
  text-shadow: 0 1px 2px rgba(112,22,16,.34);
}
[data-theme="light"] .np-live .live-dot {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,.16), 0 0 8px rgba(255,255,255,.72);
}
[data-theme="light"] .badge-live {
  color: #fff;
  background: linear-gradient(135deg, #f24a3b, #d93225);
  border-color: rgba(142,31,22,.30);
  box-shadow: 0 6px 16px -10px rgba(185,39,27,.52), inset 0 1px 0 rgba(255,255,255,.24);
}
[data-theme="light"] .badge-live::before {
  background: #fff;
  box-shadow: 0 0 7px rgba(255,255,255,.72);
}

/* Light hero controls: crisp, tactile details without changing the dark theme. */
[data-theme="light"] .now-playing-card .np-controls {
  border-top-color: rgba(33,35,42,.11);
}
[data-theme="light"] .now-playing-card .np-play {
  border: 1px solid rgba(181,38,27,.24);
  box-shadow:
    0 0 0 5px rgba(242,62,46,.055),
    0 13px 25px -10px rgba(198,43,31,.62),
    inset 0 1px 0 rgba(255,255,255,.62),
    inset 0 -5px 11px -8px rgba(114,17,12,.72);
}
[data-theme="light"] .now-playing-card .np-play::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.26);
  background: linear-gradient(145deg, rgba(255,255,255,.18), transparent 42%);
  pointer-events: none;
}
[data-theme="light"] .now-playing-card .np-play:hover {
  box-shadow:
    0 0 0 6px rgba(242,62,46,.07),
    0 16px 30px -10px rgba(198,43,31,.7),
    inset 0 1px 0 rgba(255,255,255,.66),
    inset 0 -5px 11px -8px rgba(114,17,12,.72);
}
[data-theme="light"] .now-playing-card .np-equalizer {
  flex: 0 1 120px;
  gap: 5px;
  padding: 0 13px;
  border-left: 1px solid rgba(33,35,42,.08);
  border-right: 1px solid rgba(33,35,42,.08);
}
[data-theme="light"] .now-playing-card .np-equalizer .eq-bar {
  width: 4px;
  background: linear-gradient(180deg, #ff7556, #e73729);
  box-shadow: 0 3px 8px -4px rgba(197,40,28,.7);
}
[data-theme="light"] .now-playing-card .np-equalizer.paused .eq-bar {
  height: 9px !important;
  opacity: 1;
  background: linear-gradient(180deg, #bcc0c8, #9297a2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.62), 0 2px 5px -4px rgba(27,29,35,.6);
}
[data-theme="light"] .now-playing-card .np-equalizer.paused .eq-bar:nth-child(2),
[data-theme="light"] .now-playing-card .np-equalizer.paused .eq-bar:nth-child(4) {
  height: 13px !important;
}
[data-theme="light"] .now-playing-card .np-format-chip {
  color: #8f2f27;
  font-weight: 700;
  letter-spacing: .1em;
  background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(255,235,231,.88));
  border-color: rgba(191,58,45,.24);
  box-shadow: inset 0 1px 0 #fff, 0 6px 14px -10px rgba(130,31,23,.64);
  text-shadow: 0 1px 0 rgba(255,255,255,.75);
}
[data-theme="light"] .np-slider-nav {
  gap: 13px;
}
[data-theme="light"] .np-slider-arrow {
  width: 38px;
  height: 38px;
  color: #515660;
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(244,245,248,.88));
  border-color: rgba(35,38,45,.14);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -1px 0 rgba(27,29,35,.035),
    0 8px 18px -10px rgba(27,29,35,.48);
}
[data-theme="light"] .np-slider-arrow:hover {
  color: #fff;
  border-color: rgba(180,38,27,.2);
  background: linear-gradient(135deg, #ff674d, #e53629);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 10px 22px -10px rgba(193,40,29,.7);
}
[data-theme="light"] .np-slider-dots {
  gap: 9px;
}
[data-theme="light"] .np-slider-dot {
  width: 7px;
  height: 7px;
  background: rgba(65,68,76,.23);
  box-shadow: inset 0 1px 1px rgba(32,34,40,.14), 0 1px 0 rgba(255,255,255,.8);
}
[data-theme="light"] .np-slider-dot.is-active {
  width: 24px;
  background: linear-gradient(90deg, #ff7657, #ed3f31);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.36), 0 5px 10px -7px rgba(194,40,29,.76);
}

/* Stats strip: denser editorial hierarchy and a shared visual rhythm. */
.stats-strip .stat-cell {
  min-width: 0;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.stats-strip .stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
}
.stats-strip .stat-body {
  gap: 0;
}
.stats-strip .stat-note {
  display: block;
  max-width: 160px;
  margin-top: 7px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.005em;
  white-space: normal;
}
.stats-strip .stat-cell::before {
  left: 20px;
  right: 20px;
  height: 3px;
  opacity: .48;
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--coral), rgba(242,62,46,.18) 42%, transparent 78%);
}
.stats-strip .stat-cell:hover::before {
  opacity: .9;
}
[data-theme="light"] .stats-strip {
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(255,105,78,.075), transparent 54%),
    linear-gradient(180deg, rgba(255,255,255,.86), rgba(249,250,252,.74));
  border-color: rgba(31,34,41,.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.96),
    0 22px 46px -30px rgba(30,34,43,.36),
    0 10px 24px -22px rgba(211,48,34,.3);
}
[data-theme="light"] .stats-strip .stat-cell {
  padding: 22px 20px;
  background: linear-gradient(135deg, rgba(255,255,255,.28), transparent 72%);
  transition: background var(--t-base), box-shadow var(--t-base);
}
[data-theme="light"] .stats-strip .stat-cell:hover {
  background: linear-gradient(135deg, rgba(255,244,241,.76), rgba(255,255,255,.22) 72%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}
[data-theme="light"] .stats-strip .stat-cell::after {
  top: 18%;
  bottom: 18%;
  background: linear-gradient(180deg, transparent, rgba(40,43,51,.14) 18%, rgba(40,43,51,.14) 82%, transparent);
}
[data-theme="light"] .stats-strip .stat-icon {
  color: #ef4436;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(255,226,220,.9));
  border-color: rgba(219,54,41,.22);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -5px 10px -9px rgba(132,28,20,.5),
    0 10px 20px -14px rgba(188,41,30,.58);
}
[data-theme="light"] .stats-strip .stat-cell:hover .stat-icon {
  color: #fff;
  background: linear-gradient(145deg, #ff684f, #e73729);
  border-color: rgba(171,34,25,.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.42), 0 12px 24px -13px rgba(190,40,29,.72);
}
[data-theme="light"] .stats-strip .stat-cell strong {
  color: #202229;
  text-shadow: 0 1px 0 rgba(255,255,255,.82);
}
[data-theme="light"] .stats-strip .stat-label {
  color: #747985;
  font-weight: 700;
  letter-spacing: .075em;
}
[data-theme="light"] .stats-strip .stat-note {
  color: #8b909a;
}
@media (max-width: 900px) {
  .stats-strip .stat-cell { align-items: flex-start; }
  .stats-strip .stat-note { max-width: 130px; }
}
@media (max-width: 640px) {
  .stats-strip .stat-cell { padding: 18px 16px; gap: 12px; }
  .stats-strip .stat-icon { width: 44px; height: 44px; border-radius: 13px; }
  .stats-strip .stat-note { font-size: 10.5px; }
}

/* Light player station capsule: isolate identity and track text from busy page art. */
@media (min-width: 641px) {
  [data-theme="light"] .sticky-player:not(.is-collapsed) .sp-station {
    min-height: 68px;
    padding: 6px 13px 6px 7px;
    border: 1px solid rgba(42,46,56,.105);
    border-radius: 18px;
    background:
      radial-gradient(110% 150% at 0% 0%, rgba(255,111,84,.09), transparent 48%),
      linear-gradient(105deg, rgba(255,255,255,.91), rgba(249,250,252,.78));
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.98),
      inset 0 -1px 0 rgba(47,51,61,.035),
      0 10px 24px -19px rgba(34,38,47,.34);
    backdrop-filter: blur(18px) saturate(120%);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
  }
}
[data-theme="light"] .sticky-player .sp-info {
  gap: 4px;
}
[data-theme="light"] .sticky-player .sp-name {
  color: #171a21;
  font-weight: 750;
  text-shadow: none;
}
[data-theme="light"] .sticky-player.viz-on .sp-name,
[data-theme="light"] .sticky-player .sp-track,
[data-theme="light"] .sticky-player.viz-on .sp-track {
  text-shadow: none;
}
[data-theme="light"] .sticky-player .sp-track {
  color: #626875;
  font-weight: 550;
}
[data-theme="light"] .sticky-player .sp-now-artist {
  color: #bf352a;
  font-weight: 700;
}
[data-theme="light"] .sticky-player .sp-cover {
  box-shadow:
    0 0 0 1px rgba(255,255,255,.92),
    0 9px 20px -13px rgba(29,32,40,.5),
    inset 0 0 0 1px rgba(36,40,49,.075);
}
[data-theme="light"] .sticky-player .sp-now-cover {
  color: #d53c30;
  background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(255,229,224,.9));
  border-color: rgba(206,55,43,.18);
  box-shadow: inset 0 1px 0 #fff, 0 5px 12px -9px rgba(151,33,25,.6);
}
[data-theme="light"] .sticky-player .sp-quality {
  color: #4b505b;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(241,243,247,.92));
  border-color: rgba(42,46,55,.13);
  box-shadow: inset 0 1px 0 #fff, 0 5px 12px -9px rgba(31,34,42,.46);
}
[data-theme="light"] .sticky-player.is-playing .sp-quality {
  color: #a93229;
  border-color: rgba(201,54,43,.22);
}
@media (max-width: 760px) {
  [data-theme="light"] .sticky-player:not(.is-collapsed) .sp-station {
    padding-right: 8px;
    gap: 10px;
  }
}

/* Light-theme tonal rhythm: occasional graphite stages between pale sections. */
[data-theme="light"] .section--ink-stage,
[data-theme="light"] .catalog-hero--ink,
[data-theme="light"] .charts-hero--ink {
  --ink-text: #f6f7fa;
  --ink-muted: rgba(229,232,239,.68);
  --ink-faint: rgba(213,217,226,.52);
  position: relative;
  isolation: isolate;
  overflow: clip;
  color: var(--ink-text);
  background:
    radial-gradient(90% 150% at 4% -25%, rgba(255,104,77,.18), transparent 48%),
    radial-gradient(80% 130% at 96% 115%, rgba(92,111,158,.18), transparent 52%),
    linear-gradient(145deg, #2f3540 0%, #282e38 46%, #333946 100%);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 -1px 0 rgba(0,0,0,.16),
    0 34px 70px -46px rgba(25,29,38,.68),
    0 12px 30px -25px rgba(224,67,49,.32);
}
[data-theme="light"] .section--ink-stage::before,
[data-theme="light"] .catalog-hero--ink::before,
[data-theme="light"] .charts-hero--ink::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 0 36%, rgba(255,255,255,.035) 49%, transparent 62%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, transparent 1px 84px);
  opacity: .72;
}
[data-theme="light"] .section--ink-stage::after,
[data-theme="light"] .catalog-hero--ink::after,
[data-theme="light"] .charts-hero--ink::after {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(22px, 5vw, 72px);
  right: clamp(22px, 5vw, 72px);
  height: 1px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,117,92,.64), rgba(255,255,255,.58), transparent);
  opacity: .78;
}

[data-theme="light"] .section.section--ink-stage {
  margin: calc(var(--section-rhythm) + 8px) var(--gutter) 0;
  padding: clamp(34px, 4vw, 52px) clamp(22px, 3.4vw, 48px) clamp(38px, 4.4vw, 58px);
  border-radius: clamp(24px, 3vw, 34px);
}
[data-theme="light"] .section--ink-stage + .section {
  padding-top: calc(var(--section-rhythm) + 12px);
}
[data-theme="light"] .section--ink-stage .section-head h2,
[data-theme="light"] .section--ink-stage .artist-name {
  color: var(--ink-text);
}
[data-theme="light"] .section--ink-stage .section-head .sub,
[data-theme="light"] .section--ink-stage .artist-meta {
  color: var(--ink-muted);
}
[data-theme="light"] .section--ink-stage .eyebrow {
  color: #ff7969;
  background: rgba(255,99,77,.11);
  border-color: rgba(255,122,102,.26);
}
[data-theme="light"] .section--ink-stage .sh-ic {
  color: #ff7969;
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.13);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
[data-theme="light"] .section--ink-stage .section-link {
  color: rgba(246,247,250,.82);
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
}
[data-theme="light"] .section--ink-stage .section-link:hover {
  color: #fff;
  border-color: rgba(255,122,102,.42);
  background: rgba(255,105,83,.12);
}

/* Genre tiles become tinted glass on the dark stage, keeping their own identities. */
[data-theme="light"] .section--ink-genres .genre-tile {
  color: var(--ink-text);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--tile-glow) 22%, transparent), color-mix(in srgb, var(--tile-glow) 7%, transparent)),
    rgba(255,255,255,.065);
  border-color: color-mix(in srgb, var(--tile-glow) 22%, rgba(255,255,255,.055));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 32px -24px rgba(0,0,0,.72);
}
[data-theme="light"] .section--ink-genres .genre-tile:hover {
  border-color: color-mix(in srgb, var(--tile-glow) 44%, rgba(255,255,255,.16));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 22px 42px -25px rgba(0,0,0,.82), 0 14px 34px -24px var(--tile-glow);
}
[data-theme="light"] .section--ink-genres .genre-tile .gt-label {
  color: #f7f8fb;
}
[data-theme="light"] .section--ink-genres .genre-tile .gt-count,
[data-theme="light"] .section--ink-genres .genre-tile .gt-label + .gt-count {
  color: rgba(235,238,244,.58);
}
[data-theme="light"] .section--ink-genres .gt-art {
  background: #111720;
  border-color: color-mix(in srgb, var(--tile-glow) 24%, #111720);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.045),
    inset 0 0 0 1px rgba(3,6,11,.32),
    0 15px 28px -20px rgba(0,0,0,.95),
    0 0 22px -17px color-mix(in srgb, var(--tile-glow) 48%, transparent);
}

/* Event cards become compact cinematic posters against the graphite stage. */
[data-theme="light"] .section--ink-events .event-grid {
  gap: clamp(14px, 1.6vw, 20px);
  overflow: visible;
}
@media (min-width: 1025px) {
  [data-theme="light"] .section--ink-events .event-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
[data-theme="light"] .section--ink-events .event-card {
  min-height: 0;
  padding: 10px 10px 12px;
  gap: 10px;
  color: #f7f8fb;
  background: color-mix(in srgb, #202631 90%, rgba(255,255,255,.08));
  border-color: rgba(255,255,255,.085);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    0 22px 44px -32px rgba(0,0,0,.92);
  transition: transform 220ms var(--ease), border-color 220ms ease, box-shadow 220ms ease;
}
[data-theme="light"] .section--ink-events .event-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,121,102,.27);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.07),
    0 28px 52px -33px rgba(0,0,0,.96),
    0 18px 36px -30px rgba(255,91,70,.58);
}
[data-theme="light"] .section--ink-events .event-poster {
  order: -2;
  aspect-ratio: 16 / 9;
  border-radius: 15px;
  border-color: rgba(255,255,255,.075);
  background: #111720;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 18px 34px -26px rgba(0,0,0,.96);
}
[data-theme="light"] .section--ink-events .event-poster img {
  transition: transform 700ms cubic-bezier(.2,.75,.2,1), filter 300ms ease;
}
[data-theme="light"] .section--ink-events .event-card:hover .event-poster img {
  transform: scale(1.025);
  filter: saturate(1.04) contrast(1.02);
}
[data-theme="light"] .section--ink-events .event-date {
  position: absolute;
  z-index: 4;
  top: 20px;
  left: 20px;
  width: 50px;
  height: 54px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 12px 24px -12px rgba(255,67,48,.72);
}
[data-theme="light"] .section--ink-events .event-top {
  flex: none;
  padding: 2px 6px 0;
}
[data-theme="light"] .section--ink-events .event-title {
  min-height: 2.5em;
  color: #f7f8fb;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: -.012em;
}
[data-theme="light"] .section--ink-events .event-place {
  color: rgba(230,233,240,.61);
  margin-top: 6px;
}
[data-theme="light"] .section--ink-events .event-country-line {
  color: rgba(213,218,228,.43);
}
[data-theme="light"] .section--ink-events .event-artists {
  min-height: 24px;
  margin: 0 6px;
}
[data-theme="light"] .section--ink-events .event-artists span {
  color: rgba(241,243,247,.68);
  background: rgba(255,255,255,.045);
  border-color: rgba(255,255,255,.075);
}
[data-theme="light"] .section--ink-events .event-foot {
  margin: 0 6px 2px;
}
[data-theme="light"] .section--ink-events .event-badge {
  padding: 6px 10px;
  color: #ff8374;
  background: rgba(255,99,77,.105);
  border: 1px solid rgba(255,119,99,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
[data-theme="light"] .section--ink-events .event-card:hover .event-badge {
  color: #fff;
  background: #ef4937;
  border-color: #ef4937;
}

/* Catalog and data-page entrances share the same material, then return to light content. */
[data-theme="light"] .catalog-hero--ink,
[data-theme="light"] .charts-hero--ink {
  margin: clamp(22px, 3vw, 34px) var(--gutter) 0;
  padding: clamp(34px, 4.2vw, 56px) clamp(26px, 4.5vw, 62px);
  border-radius: clamp(24px, 3vw, 34px);
}
[data-theme="light"] .catalog-hero--ink .catalog-hero-meta h1,
[data-theme="light"] .charts-hero--ink h1 {
  color: var(--ink-text);
}
[data-theme="light"] .catalog-hero--ink .catalog-hero-meta p,
[data-theme="light"] .charts-hero--ink p {
  color: var(--ink-muted);
}
[data-theme="light"] .catalog-hero--ink .breadcrumb,
[data-theme="light"] .charts-hero--ink .breadcrumb {
  color: var(--ink-faint);
}
[data-theme="light"] .catalog-hero--ink .breadcrumb .crumb-current,
[data-theme="light"] .charts-hero--ink .breadcrumb .crumb-current {
  color: rgba(246,247,250,.82);
}
[data-theme="light"] .catalog-hero--ink .catalog-hero-stats,
[data-theme="light"] .charts-hero--ink .charts-hero-stats {
  color: var(--ink-muted);
}
[data-theme="light"] .catalog-hero--ink .catalog-hero-stats strong,
[data-theme="light"] .charts-hero--ink .charts-hero-stats strong,
[data-theme="light"] .charts-hero--ink .charts-hero-stats a {
  color: #ff7a69;
}
[data-theme="light"] .charts-hero--ink h1,
[data-theme="light"] .charts-hero--ink.charts-hero--live h1 {
  background: linear-gradient(120deg, #f7f8fb 18%, #dfe3eb 58%, #ff7969 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-theme="light"] .catalog-hero--ink .catalog-hero-art {
  border-color: rgba(255,255,255,.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 22px 46px -28px rgba(0,0,0,.88);
}

@media (max-width: 640px) {
  [data-theme="light"] .section.section--ink-stage {
    margin-left: 12px;
    margin-right: 12px;
    padding: 28px 14px 32px;
    border-radius: 24px;
  }
  [data-theme="light"] .catalog-hero--ink,
  [data-theme="light"] .charts-hero--ink {
    margin: 16px 12px 0;
    padding: 30px 20px 34px;
    border-radius: 24px;
  }
  [data-theme="light"] .section--ink-stage .section-head {
    align-items: end;
  }
  [data-theme="light"] .section--ink-stage .section-link {
    padding: 7px 10px;
  }
}

/* Popular stations — warm broadcast material for the light theme. */
[data-theme="light"] .section--stations-premium .station-surface {
  isolation: isolate;
  padding: clamp(18px, 2.2vw, 26px);
  border-color: rgba(117,35,17,.36);
  background-color: #8e2a12;
  background-image: url('/img/ui/popular-stations-copper-bg-v2.jpg');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow:
    inset 0 1px 0 rgba(255,231,210,.46),
    inset 0 -1px 0 rgba(62,12,4,.42),
    0 34px 62px -43px rgba(104,29,13,.76),
    0 16px 34px -30px rgba(239,77,39,.54);
}
[data-theme="light"] .section--stations-premium .station-surface::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: rgba(77,16,7,.18);
}
[data-theme="light"] .section--stations-premium .station-surface::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 1px;
  border: 1px solid rgba(255,207,175,.22);
  border-radius: calc(clamp(24px, 2.8vw, 32px) - 2px);
  pointer-events: none;
}

/* ════════════════════════════════════════════════════════════════
   GEO CATALOG — factual SEO pages, premium filter and page ending
   ════════════════════════════════════════════════════════════════ */
.category-page--geo .catalog-hero {
  align-items: center;
}
.catalog-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 12px;
  padding: 7px 10px;
  border: 1px solid rgba(255,118,96,.24);
  border-radius: var(--radius-pill);
  color: #ff7a69;
  background: rgba(255,96,72,.08);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.city-hero-context {
  position: relative;
  flex: 0 0 clamp(150px, 17vw, 210px);
  min-height: 156px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 18%, rgba(255,112,85,.22), transparent 42%),
    linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 26px 54px -34px rgba(0,0,0,.92);
}
.city-hero-context::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 20px;
  pointer-events: none;
}
.city-hero-context img {
  position: relative;
  z-index: 2;
  width: 70px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 13px;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 15px 30px -18px rgba(0,0,0,.95);
}
.city-hero-context small {
  position: relative;
  z-index: 2;
  color: rgba(244,246,250,.72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.city-hero-signal {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,119,96,.32);
  font-size: 38px;
}
.city-hero-signal span {
  position: absolute;
  width: 108px;
  height: 108px;
  border: 1px solid rgba(255,116,91,.14);
  border-radius: 50%;
}
.city-hero-signal span:last-child { width: 148px; height: 148px; opacity: .62; }

.category-page--geo .filter-panel {
  position: relative;
  margin-top: 4px;
  padding: clamp(18px, 2.4vw, 28px);
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(70% 130% at 0 0, rgba(255,94,70,.09), transparent 55%),
    color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 24px 48px -42px rgba(0,0,0,.76);
}
.filter-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}
.filter-panel-head h2 {
  margin: 2px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.1;
  letter-spacing: -.025em;
}
.filter-kicker {
  color: var(--coral);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.filter-scope-chip {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 8px;
  align-items: center;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  background: color-mix(in srgb, var(--surface-2) 88%, transparent);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.filter-scope-chip i { grid-row: 1 / 3; color: var(--coral); font-size: 18px; }
.filter-scope-chip span { font-size: 12px; font-weight: 700; }
.filter-scope-chip small { color: var(--faint); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.category-page--geo .filter-bar-row {
  display: grid;
  grid-template-columns: minmax(230px, 1.7fr) repeat(4, minmax(130px, .8fr)) auto;
  gap: 12px;
  align-items: end;
}
.category-page--geo .filter-bar-row > * { min-width: 0; }
.filter-field { display: grid; gap: 7px; }
.filter-field > span {
  padding-left: 3px;
  color: var(--faint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.filter-field .filter-input,
.filter-field .filter-select {
  width: 100%;
  min-height: 46px;
  border-radius: 13px;
}
.filter-field--hidden { display: none; }
.category-page--geo .filter-reset {
  min-height: 46px;
  border-radius: 13px;
}
.category-page--geo .filter-bar-summary {
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid var(--hairline);
}

.geo-insights-section { padding-top: clamp(46px, 6vw, 82px); }
.geo-insights {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--border);
  border-radius: clamp(24px, 3vw, 34px);
  background:
    radial-gradient(80% 120% at 100% 0, rgba(255,93,69,.12), transparent 54%),
    linear-gradient(145deg, color-mix(in srgb, var(--surface) 96%, transparent), color-mix(in srgb, var(--surface-2) 88%, transparent));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), var(--shadow-lg);
}
.geo-insights::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 89px, rgba(255,255,255,.018) 90px);
  pointer-events: none;
}
.geo-insights-head { max-width: 780px; margin-bottom: 24px; }
.geo-insights-head h2 { margin: 9px 0 8px; font-family: var(--font-serif); font-size: clamp(25px, 3vw, 36px); letter-spacing: -.035em; }
.geo-insights-head > p { margin: 0; color: var(--faint); }
.geo-insights-kicker { display: inline-flex; align-items: center; gap: 7px; color: var(--coral); font-size: 10px; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.geo-insights-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.geo-insight-card {
  min-height: 132px;
  padding: 20px;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface-2) 78%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055);
}
.geo-insight-card > i { display: inline-grid; place-items: center; width: 35px; height: 35px; margin-bottom: 16px; border-radius: 11px; color: var(--coral); background: rgba(255,91,68,.1); border: 1px solid rgba(255,108,84,.18); font-size: 18px; }
.geo-insight-card h3 { margin: 0 0 6px; font-size: 14px; }
.geo-insight-card p { margin: 0; color: var(--text-2); font-size: 13px; line-height: 1.55; }
.geo-insight-card--count strong { display: block; margin-top: -3px; font-family: var(--font-serif); font-size: 30px; line-height: 1; }
.geo-insight-card--count span { display: block; margin-top: 7px; color: var(--faint); font-size: 12px; }
.geo-about-copy { margin: 24px 0 0; padding: 22px 0 0; }

.category-faq {
  display: grid;
  grid-template-columns: minmax(180px,.65fr) minmax(0,1.35fr);
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.category-faq > div:first-child > span { color: var(--coral); font-size: 10px; font-weight: 760; letter-spacing: .09em; text-transform: uppercase; }
.category-faq h2 { margin: 8px 0 0; font-family: var(--font-serif); font-size: clamp(24px, 3vw, 34px); letter-spacing: -.035em; }
.category-faq-list { border-top: 1px solid var(--hairline); }
.category-faq details { border-bottom: 1px solid var(--hairline); }
.category-faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; font-size: 14px; font-weight: 650; list-style: none; }
.category-faq summary::-webkit-details-marker { display: none; }
.category-faq summary i { flex: none; color: var(--coral); transition: transform .18s ease; }
.category-faq details[open] summary i { transform: rotate(45deg); }
.category-faq details p { margin: -4px 0 18px; color: var(--text-2); font-size: 13.5px; line-height: 1.65; }

.category-page--geo > .section--tight:last-child { padding-bottom: 24px; }
body:has(.category-page--geo) .footer {
  width: min(calc(100% - (var(--gutter) * 2)), var(--max));
  margin: 26px auto 24px;
  border: 1px solid var(--hairline);
  border-radius: 30px;
}
[data-theme="light"] body:has(.category-page--geo) .footer {
  background:
    radial-gradient(70% 150% at 0 0, rgba(255,103,78,.08), transparent 52%),
    linear-gradient(145deg, #eceff4, #e3e7ee);
  border-color: rgba(54,61,73,.11);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82), 0 -24px 62px -54px rgba(28,33,43,.54);
}

@media (max-width: 980px) {
  .category-page--geo .filter-bar-row { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .filter-field--search { grid-column: 1 / -1; }
  .category-page--geo .filter-reset { width: 100%; }
}
@media (max-width: 640px) {
  .category-page--geo .catalog-hero { align-items: flex-start; }
  .city-hero-context { width: 100%; min-height: 104px; grid-template-columns: auto 1fr; justify-items: start; padding: 18px 20px; }
  .city-hero-context img { width: 58px; }
  .city-hero-context small { align-self: center; }
  .city-hero-signal { place-items: center end; padding-right: 24px; }
  .filter-panel-head { align-items: flex-start; flex-direction: column; }
  .filter-scope-chip { width: 100%; }
  .category-page--geo .filter-bar-row { grid-template-columns: 1fr 1fr; }
  .filter-field--search, .filter-field--sort { grid-column: 1 / -1; }
  .geo-insights-grid { grid-template-columns: 1fr; }
  .geo-insight-card { min-height: 0; }
  .category-faq { grid-template-columns: 1fr; }
  body:has(.category-page--geo) .footer { width: calc(100% - 24px); border-radius: 24px; }
}
[data-theme="light"] .section--stations-premium .station-surface > * {
  position: relative;
  z-index: 1;
}
[data-theme="light"] .section--stations-premium .station-surface-bar {
  min-height: 48px;
  margin: 0 2px 20px;
  padding: 0 16px;
  color: rgba(255,247,241,.9);
  border-color: rgba(255,224,204,.18);
  background: rgba(74,17,8,.46);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.13),
    inset 0 -1px 0 rgba(31,6,2,.24),
    0 14px 26px -22px rgba(30,5,1,.86);
  backdrop-filter: blur(16px) saturate(128%);
  -webkit-backdrop-filter: blur(16px) saturate(128%);
}
[data-theme="light"] .section--stations-premium .station-surface-bar i {
  color: #ffd0bc;
  filter: drop-shadow(0 0 8px rgba(255,145,98,.48));
}
[data-theme="light"] .section--stations-premium .station-surface-status {
  color: rgba(255,230,216,.7);
}
[data-theme="light"] .section--stations-premium .station-surface-status i {
  color: #ffb18e;
}
[data-theme="light"] .section--stations-premium .station-grid {
  column-gap: clamp(18px, 1.75vw, 24px);
  row-gap: clamp(20px, 1.9vw, 26px);
}
[data-theme="light"] .section--stations-premium .station-card {
  padding: 12px;
  color: #211817;
  border-color: rgba(255,239,229,.62);
  background: rgba(255,250,247,.94);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.96),
    inset 0 -1px 0 rgba(91,34,22,.06),
    0 18px 30px -23px rgba(53,12,4,.72),
    0 5px 12px -9px rgba(76,20,9,.42);
  backdrop-filter: blur(11px) saturate(108%);
  -webkit-backdrop-filter: blur(11px) saturate(108%);
}
[data-theme="light"] .section--stations-premium .station-card:hover {
  color: #1d1514;
  border-color: rgba(255,218,195,.84);
  background: rgba(255,253,251,.98);
  box-shadow:
    inset 0 1px 0 #fff,
    0 26px 42px -25px rgba(50,10,3,.82),
    0 14px 30px -24px rgba(255,183,148,.72);
}
[data-theme="light"] .section--stations-premium .station-cover {
  border-color: rgba(94,36,23,.13);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.7),
    0 16px 26px -19px rgba(55,13,5,.62),
    0 0 0 1px rgba(255,255,255,.4);
}
[data-theme="light"] .section--stations-premium .station-name {
  color: #211817;
}
[data-theme="light"] .section--stations-premium .station-genre {
  color: #81716b;
}
[data-theme="light"] .section--stations-premium .station-meta-row {
  border-top-color: rgba(114,50,35,.1);
  color: #87746d;
}
[data-theme="light"] .section--stations-premium .st-mi-fmt {
  color: #a13b27;
  border-color: rgba(168,62,40,.15);
  background: rgba(255,229,218,.76);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.78);
}

@media (max-width: 640px) {
  [data-theme="light"] .section--stations-premium .station-surface {
    padding: 10px;
    border-radius: 24px;
    background-position: center top;
  }
  [data-theme="light"] .section--stations-premium .station-surface-bar {
    min-height: 42px;
    margin-bottom: 10px;
    padding: 0 12px;
  }
  [data-theme="light"] .section--stations-premium .station-surface-status {
    display: none;
  }
}

/* ==================================================================
   STATION DETAIL — integrated broadcast console
   ================================================================== */
.station-hero {
  display: block;
  padding: clamp(24px, 3vw, 44px) var(--gutter) clamp(30px, 4vw, 54px);
}
.station-hero__surface {
  position: relative;
  display: grid;
  grid-template-columns: clamp(190px, 17vw, 214px) minmax(0, 1fr) minmax(292px, 318px);
  grid-template-areas:
    "top top top"
    "visual meta console";
  column-gap: clamp(28px, 3vw, 42px);
  row-gap: clamp(24px, 2.5vw, 34px);
  align-items: center;
  min-height: 400px;
  padding: clamp(24px, 2.55vw, 36px);
  overflow: hidden;
  color: #f4f4f5;
  background: rgba(33, 36, 44, .96);
  border: 1px solid rgba(255,255,255,.11);
  border-bottom-color: transparent;
  border-radius: clamp(24px, 2.6vw, 34px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.09),
    0 30px 70px -42px rgba(0,0,0,.82),
    0 16px 36px -28px rgba(242,62,46,.52);
  isolation: isolate;
}
.station-hero__surface::after {
  content: none;
}
.station-hero__surface > :not(.station-signal-wave) {
  position: relative;
  z-index: 2;
}
.station-signal-wave {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 38px;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .station-signal-wave { height: 18px; }
}
.sh-topline {
  grid-area: top;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  min-width: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.sh-topline .breadcrumb {
  min-width: 0;
  margin: 0;
  color: rgba(231,232,235,.58);
}
.sh-topline .breadcrumb .crumb-current { color: rgba(255,255,255,.88); }
.sh-topline .live-tag,
.sh-meta .live-tag {
  flex: none;
  margin: 0;
  padding: 9px 12px;
  color: #ffb09f;
  background: rgba(242,62,46,.12);
  border: 1px solid rgba(255,125,102,.25);
  border-radius: 10px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.sh-visual {
  grid-area: visual;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.sh-cover {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.15),
    0 28px 50px -26px rgba(0,0,0,.9),
    0 12px 30px -24px rgba(242,62,46,.65);
}
.sh-cover-box { inset: 7%; border-radius: 20px; }
.sh-meta {
  grid-area: meta;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 2px 4px 0 0;
}
.sh-meta h1 {
  max-width: 680px;
  margin: 0 0 17px;
  color: #f7f7f8;
  font-size: clamp(36px, 3.45vw, 50px);
  line-height: 1.015;
  letter-spacing: -.038em;
  text-wrap: balance;
}
.sh-tagline {
  max-width: 640px;
  margin: 0;
  color: rgba(229,230,233,.68);
  font-size: clamp(14px, 1.08vw, 15.5px);
  line-height: 1.56;
}
.sh-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, max-content));
  gap: 10px;
  margin: 0;
}
.sh-stat {
  min-width: 112px;
  padding: 12px 14px;
  color: rgba(228,229,232,.5);
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
}
.sh-stat strong {
  margin: 0 0 4px;
  color: #f4f4f5;
  font-size: 14px;
  line-height: 1.15;
}
.sh-stat span {
  display: block;
  overflow: hidden;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .075em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.sh-console {
  grid-area: console;
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 4px 0;
}
.sh-console .sh-actions {
  display: grid;
  grid-template-columns: minmax(0,1fr) 58px;
  gap: 10px;
}
.sh-console .sh-actions:has(.station-listen-btn:only-child) {
  grid-template-columns: minmax(0,1fr);
}
.sh-console .station-listen-btn {
  min-height: 60px;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.24),
    0 16px 28px -18px rgba(242,62,46,.9);
}
.sh-console .btn-ghost {
  min-width: 0;
  justify-content: center;
  border-color: rgba(255,255,255,.11);
  color: rgba(244,244,245,.82);
  background: rgba(255,255,255,.055);
}
.sh-console .sh-site-link {
  width: 58px;
  min-height: 60px;
  margin: 0;
  border-radius: 18px;
  color: rgba(237,238,240,.78);
  background: rgba(255,255,255,.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055);
}
.sh-console .sh-now {
  width: 100%;
  max-width: none;
  min-height: 96px;
  margin: 12px 0 0;
  padding: 18px;
  color: #f2f2f4;
  background: rgba(255,255,255,.045);
  border-color: rgba(255,255,255,.08);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
}
.sh-console .sh-now-label { color: rgba(232,233,236,.5); }
.sh-console .sh-now-track {
  color: rgba(246,246,247,.92);
  line-height: 1.35;
}
.sh-console .sh-now-artist { color: #ff9d89; }
.sh-console .sh-now-eq { flex: none; }
.sh-console .sh-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 0;
  width: 100%;
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.sh-console .sh-stat {
  min-width: 0;
  padding: 0 12px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.sh-console .sh-stat:nth-child(even) {
  border-left: 1px solid rgba(255,255,255,.1);
}
.sh-console .sh-stat:nth-child(odd) { padding-left: 2px; }
.sh-console .sh-stat:only-child { grid-column: 1 / -1; }

[data-theme="light"] .station-hero__surface {
  color: #f4f4f5;
  background: rgba(39, 42, 50, .975);
  border-color: rgba(32,35,42,.18);
  border-bottom-color: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    0 34px 76px -46px rgba(27,20,19,.78),
    0 18px 40px -30px rgba(242,62,46,.38);
}
[data-theme="light"] .station-hero__surface .sh-meta h1 { color: #f8f8f9; }
[data-theme="light"] .station-hero__surface .sh-tagline { color: rgba(236,237,239,.68); }
[data-theme="light"] .station-hero__surface .sh-stat strong { color: #f6f6f7; }
[data-theme="light"] .station-hero__surface .sh-stat { color: rgba(229,230,233,.5); }
[data-theme="light"] .station-hero__surface .sh-now { background: rgba(9,11,15,.28); }

@media (min-width: 901px) and (max-width: 1180px) {
  .station-hero__surface {
    grid-template-columns: 180px minmax(0,1fr) 288px;
    column-gap: 28px;
    row-gap: 24px;
    min-height: 378px;
    padding: 28px;
  }
  .sh-topline { padding-bottom: 15px; }
  .sh-cover { width: 180px; }
  .sh-meta h1 { margin-bottom: 15px; font-size: clamp(36px,3.75vw,42px); line-height: 1.02; }
  .sh-tagline { font-size: 14px; line-height: 1.52; }
  .sh-stat { min-width: 104px; padding: 10px 12px; }
  .sh-console { padding: 4px 0; }
  .sh-console .station-listen-btn { min-height: 54px; }
  .sh-console .sh-now { min-height: 90px; padding: 14px; }
}

@media (max-width: 900px) {
  .station-hero__surface {
    grid-template-columns: 190px minmax(0,1fr);
    grid-template-areas:
      "top top"
      "visual meta"
      "console console";
    min-height: 0;
  }
  .sh-console {
    display: grid;
    grid-template-columns: minmax(240px,.72fr) minmax(0,1.28fr);
    gap: 12px;
    align-items: stretch;
    padding: 14px;
  }
  .sh-console .sh-now { min-height: 76px; margin: 0; }
}

@media (max-width: 700px) {
  .station-hero { padding-top: 18px; }
  .station-hero__surface {
    grid-template-columns: 1fr;
    grid-template-areas:
      "top"
      "visual"
      "meta"
      "console";
    gap: 22px;
    padding: 18px;
    border-radius: 24px;
  }
  .sh-topline { align-items: flex-start; padding-bottom: 14px; }
  .sh-topline .breadcrumb { display: none; }
  .sh-visual {
    display: grid;
    grid-template-columns: 116px minmax(0,1fr);
    gap: 14px;
    align-items: end;
  }
  .sh-cover { width: 116px; border-radius: 20px; }
  .sh-cover-box { border-radius: 15px; }
  .sh-visual-caption {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 0 0 4px;
  }
  .sh-meta h1 { margin-bottom: 16px; font-size: clamp(32px, 10.5vw, 44px); line-height: 1.02; }
  .sh-tagline { margin-bottom: 18px; font-size: 14px; }
  .sh-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sh-stat { min-width: 0; }
  .sh-console { display: flex; padding: 4px 0; }
  .sh-console .sh-actions { grid-template-columns: 1fr 58px; }
  .sh-console .sh-now { min-height: 82px; margin-top: 10px; padding: 14px; }
  .station-body { padding-top: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .station-hero__surface,
  .sh-console,
  .sh-cover { transition: none !important; }
}
