/* Radioteka — «Шкала».
 *
 * Донор регистра: app.radiooooo.com (замер 15.09.2026) плюс tiny.com.
 * Что взято числами: плоская насыщенная заливка как земля страницы, белые
 * карточки с радиусом 20 и мягкой тенью, много кругов (у донора 36 штук с
 * radius 50%), геометрический дружелюбный гротеск, переходы 0,19–0,2 с.
 *
 * Что НЕ повторено и почему. У Hromly — тёмная синяя база, левая рейка и
 * горизонтальные полки карточек с кадрами; у haydamax.com — насыщенный синий
 * с белыми карточками. Оба уже заняты, и третий синий сайт с карточками читался
 * бы «одной рукой». Поэтому земля здесь тёплая бумага, насыщенная краска —
 * киноварь, а каркас держит не рейка, а ШКАЛА: горизонтальная линейка настройки
 * под шапкой. Она же навигация, она же подпись жанра.
 *
 * Материал. Кадров у станций нет (логотип заявлен у 62 %, и часть хостов нам
 * не отдаёт). Поэтому массу карточке даёт не картинка, а цветной диск с
 * инициалами, цвет которого выводится из имени станции — у каждой карточки
 * своё пятно, и сетка не вырождается в поле пустых прямоугольников.
 */

/* ---------- токены ---------- */
:root {
  --paper: #f7f1e6;
  --paper-2: #efe6d6;
  --card: #fffdf9;
  --ink: #17110b;
  --ink-2: #6b5f52;
  --ink-3: #9a8c7c;
  --line: #e7dcc9;

  --brand: #e2472a;
  --brand-deep: #ad2f16;
  --amber: #f4a72c;
  --teal: #10796e;
  --live: #0f9d58;

  --r-s: 12px;
  --r-m: 20px;
  --r-l: 28px;
  --r-pill: 999px;

  --sh-1: 0 1px 2px rgba(23, 17, 11, .06), 0 6px 16px rgba(23, 17, 11, .07);
  --sh-2: 0 2px 4px rgba(23, 17, 11, .08), 0 14px 34px rgba(23, 17, 11, .13);
  --sh-dock: 0 -2px 6px rgba(23, 17, 11, .06), 0 -18px 40px rgba(23, 17, 11, .10);

  /* Три кривые по ролям. Одна кривая на всё читается механически —
     это шестая ось чек-листа «дёшево против дорого». */
  --e-display: cubic-bezier(.16, 1, .3, 1);
  --e-body: cubic-bezier(.25, .46, .45, .94);
  --e-ui: cubic-bezier(.4, 0, .2, 1);

  --dock-h: 72px;
  --wrap: 1180px;
}

/* ---------- шрифты ---------- */
@font-face { font-family: Unbounded; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/unbounded-500-latin.51f5c98b19e8.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Unbounded; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/unbounded-500-latin-ext.353c83405da3.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Unbounded; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/unbounded-500-cyrillic.5fe6bc946a85.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Unbounded; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/unbounded-700-latin.6547c9c92dc8.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Unbounded; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/unbounded-700-latin-ext.d911750b0647.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Unbounded; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/unbounded-700-cyrillic.f058c40ba90f.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

@font-face { font-family: Manrope; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/manrope-400-latin.1589a53d0b0e.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/manrope-400-latin-ext.e19a7f36dd91.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/manrope-400-cyrillic.7d1637a696b6.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/manrope-500-latin.f95b8f975304.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/manrope-500-latin-ext.8230a231d5bf.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/manrope-500-cyrillic.50c16b5d8d7b.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/manrope-700-latin.ed9e261b92db.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/manrope-700-latin-ext.37a83b63486c.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/manrope-700-cyrillic.b3aed8e4cd3a.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

/* ---------- основа ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding-bottom: calc(var(--dock-h) + 8px);
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.5 Manrope, "Segoe UI", system-ui, -apple-system, "Noto Sans", sans-serif;
  font-feature-settings: "ss01", "tnum" 0;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }

h1, h2, h3 { font-family: Unbounded, Manrope, system-ui, sans-serif; font-weight: 700; margin: 0; }

/* Плотность дисплея: две строки, интерлиньяж на грани касания — третья ось
   чек-листа. Рыхлый заголовок в три ступеньки читается дёшево. */
h1 { font-size: clamp(30px, 4.6vw, 54px); line-height: .96; letter-spacing: -.022em; }
h2 { font-size: clamp(20px, 2.3vw, 27px); line-height: 1.02; letter-spacing: -.016em; }

/* ---------- шапка ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.topbar__in {
  display: flex; align-items: center; gap: 14px;
  min-height: 62px; padding-block: 9px;
}

.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; flex: none; }
.brand__mark { width: 34px; height: 34px; display: block; }
.brand__name {
  font-family: Unbounded, sans-serif; font-weight: 700; font-size: 19px;
  letter-spacing: -.03em;
}
.brand__name em { font-style: normal; color: var(--brand); }

.nav { display: flex; gap: 4px; margin-inline-start: 6px; }
.nav a {
  text-decoration: none; font-weight: 500; font-size: 14.5px;
  padding: 8px 13px; border-radius: var(--r-pill); color: var(--ink-2);
  transition: background-color .19s var(--e-ui), color .19s var(--e-ui);
}
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.nav a[aria-current] { background: var(--ink); color: var(--paper); }

.seek { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.seek input {
  width: clamp(150px, 24vw, 290px); border: 1px solid var(--line);
  background: var(--card); border-radius: var(--r-pill);
  padding: 10px 15px; font: inherit; font-size: 14.5px; color: inherit;
  transition: border-color .19s var(--e-ui), box-shadow .19s var(--e-ui);
}
.seek input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(226, 71, 42, .16); }

.langs { position: relative; flex: none; }
.langs summary {
  list-style: none; cursor: pointer; padding: 9px 12px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--card);
  font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em;
}
.langs summary::-webkit-details-marker { display: none; }
.langs ul {
  position: absolute; inset-inline-end: 0; top: calc(100% + 7px); z-index: 50;
  margin: 0; padding: 7px; list-style: none; min-width: 160px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-s); box-shadow: var(--sh-2);
}
.langs a { display: block; padding: 8px 11px; border-radius: 9px; text-decoration: none; font-size: 14.5px; }
.langs a:hover { background: var(--paper-2); }

/* ---------- шкала: подпись всего сайта ---------- */
.dial {
  background: var(--brand);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.dial::after {
  /* Тёплая засветка позади шкалы: у ровной плоской заливки нет энтропии
     света, и она читается «сгенерировано» — вторая ось чек-листа. */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 150% at 22% -30%, rgba(244, 167, 44, .55), transparent 58%),
    radial-gradient(90% 120% at 88% 130%, rgba(122, 22, 8, .48), transparent 62%);
}
.dial__in { position: relative; z-index: 1; padding-block: 16px 0; }

.dial__lead {
  display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap;
  padding-bottom: 14px;
}
.dial__lead h1 { color: #fff; max-width: 15ch; }
.dial__stat { display: flex; gap: 22px; margin-inline-start: auto; padding-bottom: 5px; }
.dial__stat b {
  display: block; font-family: Unbounded, sans-serif; font-weight: 700;
  font-size: 25px; line-height: 1; letter-spacing: -.02em;
}
.dial__stat span { font-size: 12.5px; opacity: .74; letter-spacing: .02em; }

/* линейка настройки */
.scale {
  position: relative;
  padding-bottom: 14px;
  cursor: grab;
  overscroll-behavior-x: contain;
}
.scale.is-dragging { cursor: grabbing; }
.scale__track {
  display: flex; gap: 0; align-items: flex-end;
  overflow-x: auto; scrollbar-width: none;
  scroll-snap-type: x proximity;
  padding-block: 10px 0;
}
.scale__track::-webkit-scrollbar { display: none; }
.scale__tick {
  flex: none; scroll-snap-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  min-width: 92px; padding-inline: 6px;
  text-decoration: none; color: #fff;
}
.scale__tick i {
  display: block; width: 2px; height: 13px; background: rgba(255, 255, 255, .42);
  border-radius: 2px;
  transition: height .22s var(--e-display), background-color .19s var(--e-ui);
}
.scale__tick:nth-child(5n + 1) i { height: 21px; background: rgba(255, 255, 255, .62); }
.scale__tick b {
  font-family: Unbounded, sans-serif; font-weight: 500; font-size: 13.5px;
  letter-spacing: -.01em; white-space: nowrap;
  opacity: .82;
  transition: opacity .19s var(--e-ui), scale .22s var(--e-display);
}
.scale__tick s { text-decoration: none; font-size: 11.5px; opacity: .6; }
.scale__tick:hover i { height: 26px; background: var(--amber); }
.scale__tick:hover b { opacity: 1; scale: 1.06; }
.scale__tick[aria-current] i { height: 30px; background: var(--amber); }
.scale__tick[aria-current] b { opacity: 1; font-weight: 700; }

/* стрелка настройки стоит на месте, шкала едет под ней */
.scale__needle {
  position: absolute; left: 50%; top: 4px; bottom: 14px; width: 2px;
  background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0));
  pointer-events: none; opacity: .0;
  transition: opacity .3s var(--e-body);
}
.scale.is-dragging .scale__needle { opacity: .9; }

/* ---------- полосы контента ---------- */
.band { padding-block: 34px; }
.band--tight { padding-block: 22px; }
.band__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.band__head h2 { flex: none; }
.band__head p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.band__head a.more {
  margin-inline-start: auto; font-size: 14px; font-weight: 700; color: var(--brand);
  text-decoration: none; white-space: nowrap;
}
.band__head a.more:hover { text-decoration: underline; }

.kicker {
  font-size: 12.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--brand); margin: 0 0 8px;
}

/* ---------- карточка станции ---------- */
.grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
}

.card {
  display: grid; grid-template-columns: 54px 1fr; gap: 13px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m);
  padding: 13px 15px 13px 13px; text-decoration: none;
  box-shadow: var(--sh-1);
  /* Появление — на translate, наведение — на transform: свойства разведены по
     ролям, иначе ховер наследует задержку интро и срабатывает через секунду. */
  transition: box-shadow .22s var(--e-body), border-color .19s var(--e-ui),
              transform .22s var(--e-body);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: #dbcdb6; }
.card:hover .disc { rotate: -5deg; }

.disc {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: Unbounded, sans-serif; font-weight: 700; font-size: 17px;
  letter-spacing: -.03em; color: #fff;
  background: var(--disc, var(--teal));
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .5), 0 2px 6px rgba(23, 17, 11, .18);
  transition: rotate .3s var(--e-display);
  overflow: hidden;
  flex: none;
}
.disc img { width: 100%; height: 100%; object-fit: cover; display: block; }

.card__body { min-width: 0; }
.card__name {
  font-family: Unbounded, sans-serif; font-weight: 500; font-size: 15px;
  letter-spacing: -.02em; line-height: 1.16;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card__meta {
  margin-top: 5px; font-size: 12.5px; color: var(--ink-2);
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
}
.card__meta i { font-style: normal; color: var(--ink-3); display: inline-flex; align-items: center; }
.flag {
  width: 19px; height: 14px; border-radius: 2.5px; display: block;
  box-shadow: 0 0 0 1px rgba(23, 17, 11, .10) inset;
  object-fit: cover;
}
.card__now {
  margin-top: 7px; font-size: 12.5px; color: var(--teal);
  background: rgba(16, 121, 110, .09); border-radius: var(--r-pill);
  padding: 4px 10px; display: inline-block; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.badge {
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  border-radius: var(--r-pill); padding: 3px 8px;
  background: var(--paper-2); color: var(--ink-2);
}
.badge--live { background: rgba(15, 157, 88, .13); color: var(--live); }

/* ---------- пилюли фасетов ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.chips a {
  display: inline-flex; align-items: center; gap: 7px;
  line-height: 1.2;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 8px 14px; text-decoration: none; font-size: 14.5px; font-weight: 500;
  transition: transform .19s var(--e-ui), border-color .19s var(--e-ui), box-shadow .19s var(--e-ui);
}
.chips a:hover { transform: translateY(-2px); border-color: var(--brand); box-shadow: var(--sh-1); }
.chips b { font-weight: 700; font-size: 12.5px; color: var(--ink-3); }
.chips a:hover b { color: var(--brand); }

/* ---------- цветные плашки рубрик ---------- */
.tiles { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); }
.tile {
  position: relative; overflow: hidden;
  border-radius: var(--r-m); padding: 14px 15px 15px;
  text-decoration: none; color: #fff; min-height: 112px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--tile, var(--teal));
  box-shadow: var(--sh-1);
  transition: transform .22s var(--e-body), box-shadow .22s var(--e-body);
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.tile__n {
  font-size: 11.5px; font-weight: 700; letter-spacing: .03em;
  background: rgba(255, 255, 255, .2); border-radius: var(--r-pill);
  padding: 3px 9px; align-self: flex-start; position: relative; z-index: 1;
}
.tile__t {
  font-family: Unbounded, sans-serif; font-weight: 700;
  font-size: clamp(13.5px, 1.25vw, 16px);
  letter-spacing: -.025em; line-height: 1.03; position: relative; z-index: 1;
  text-wrap: balance;
}
.tile::before {
  /* Волна: рубрика получает собственный знак, а не пустую заливку. */
  content: ""; position: absolute; inset-inline-end: -18px; top: -22px;
  width: 92px; height: 92px; border-radius: 50%;
  border: 9px solid rgba(255, 255, 255, .17);
  transition: scale .35s var(--e-display);
}
.tile:hover::before { scale: 1.14; }

/* ---------- список стран по континентам ---------- */
.cols { columns: 4 190px; column-gap: 26px; }
.cols li { break-inside: avoid; list-style: none; margin-bottom: 3px; }
.cols a { text-decoration: none; display: flex; gap: 8px; align-items: center; font-size: 14.5px; padding: 3px 0; }
.cols a:hover { color: var(--brand); }
.cols b { margin-inline-start: auto; color: var(--ink-3); font-size: 12.5px; font-weight: 700; }

/* ---------- страница станции ---------- */
.station {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l);
  box-shadow: var(--sh-1); padding: 22px; margin-top: 22px;
  display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 26px;
}
.station__disc {
  width: 84px; height: 84px; border-radius: 50%; margin-bottom: 14px;
}
.station__disc .disc { width: 100%; height: 100%; font-size: 26px; }
.station h1 { margin-bottom: 8px; }
.station__facts { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; }
.station__facts li { display: flex; gap: 12px; font-size: 14.5px; border-top: 1px solid var(--line); padding-top: 9px; }
.station__facts span { color: var(--ink-2); min-width: 118px; }
.station__facts b { font-weight: 700; }

.aside {
  background: var(--paper-2); border-radius: var(--r-m); padding: 16px;
  align-self: start;
}
.aside h3 { font-size: 13px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  background: var(--brand); color: #fff; border: 0; border-radius: var(--r-pill);
  padding: 13px 24px 13px 18px; font: inherit; font-weight: 700; font-size: 15.5px;
  box-shadow: 0 2px 4px rgba(173, 47, 22, .28), 0 10px 22px rgba(173, 47, 22, .22);
  transition: transform .19s var(--e-ui), box-shadow .19s var(--e-ui), background-color .19s var(--e-ui);
}
.btn:hover { transform: translateY(-2px); background: #ef5330; }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }

/* ---------- сквозной плеер ---------- */
.dock {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
  background: var(--ink); color: #fff;
  box-shadow: var(--sh-dock);
  transform: translateY(101%);
  transition: transform .34s var(--e-display);
}
.dock.is-on { transform: translateY(0); }
.dock__in {
  display: flex; align-items: center; gap: 14px;
  min-height: var(--dock-h); padding-block: 10px;
}

.knob {
  position: relative; flex: none; width: 46px; height: 46px; border: 0; padding: 0;
  border-radius: 50%; background: var(--brand); color: #fff; cursor: pointer;
  display: grid; place-items: center;
  transition: background-color .19s var(--e-ui), scale .19s var(--e-ui);
}
.knob:hover { scale: 1.06; }
.knob svg { width: 17px; height: 17px; }
/* Кольцо уровня: живой звук рисует окружность вокруг кнопки.
   У издания Доминики спектр рисует семь размытых пятен — здесь другой
   механизм намеренно, чтобы два наших радио не читались одной рукой. */
.knob__ring { position: absolute; inset: -7px; pointer-events: none; }
.knob__ring circle { fill: none; stroke: var(--amber); stroke-width: 2.5; opacity: .85;
  transform: rotate(-90deg); transform-origin: 50% 50%; }

.dock__now { min-width: 0; flex: 1; }
.dock__name {
  font-family: Unbounded, sans-serif; font-weight: 500; font-size: 14.5px;
  letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dock__track {
  font-size: 13px; color: rgba(255, 255, 255, .72); height: 19px; overflow: hidden;
}
.dock__track span { display: block; transition: translate .4s var(--e-display), opacity .4s var(--e-body); }
.dock__track.is-swap span { translate: 0 -19px; opacity: 0; }

.dock__meta { display: none; gap: 8px; font-size: 12px; color: rgba(255, 255, 255, .6); }
.dock__stop {
  flex: none; border: 1px solid rgba(255, 255, 255, .28); background: none; color: #fff;
  border-radius: var(--r-pill); padding: 8px 15px; font: inherit; font-size: 13px; cursor: pointer;
  transition: background-color .19s var(--e-ui);
}
.dock__stop:hover { background: rgba(255, 255, 255, .12); }

/* эквалайзер «в эфире» */
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.eq i { width: 2.5px; background: currentColor; border-radius: 2px; height: 30%; }
.dock .eq i, .card.is-playing .eq i { animation: eq .9s var(--e-body) infinite alternate; }
.eq i:nth-child(2) { animation-delay: .18s; }
.eq i:nth-child(3) { animation-delay: .36s; }
.eq i:nth-child(4) { animation-delay: .1s; }
@keyframes eq { from { height: 22%; } to { height: 100%; } }

/* ---------- постранично ---------- */
.pager { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 22px; }
.pager a, .pager span {
  border: 1px solid var(--line); background: var(--card); border-radius: var(--r-pill);
  padding: 9px 17px; text-decoration: none; font-size: 14.5px; font-weight: 500;
}
.pager a:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- подвал ---------- */
.foot {
  margin-top: 40px; border-top: 1px solid var(--line);
  padding-block: 26px; color: var(--ink-2); font-size: 13.5px;
}
.foot__in { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.foot a { color: var(--ink-2); }

.empty {
  background: var(--card); border: 1px dashed var(--line); border-radius: var(--r-m);
  padding: 28px; text-align: center; color: var(--ink-2);
}

/* ---------- интро ---------- */
.js .rise { opacity: 0; translate: 0 14px; }
.is-ready .rise {
  opacity: 1; translate: 0 0;
  transition: opacity .5s var(--e-body), translate .58s var(--e-display);
  transition-delay: calc(var(--i, 0) * 34ms);
}

/* ---------- мобильный ---------- */
@media (max-width: 860px) {
  .station { grid-template-columns: 1fr; }
  .cols { columns: 2 150px; }
}

/* Мобильный свод идёт в самом конце файла: правила раздела, дописанные выше
   общих медиазапросов, перекрываются базовыми и молча не работают.

   Главная правка после замера на 375×812: шапка и шкала съедали 400 px из 812,
   то есть половину экрана до первой карточки. Приёмы кадрирования с десктопа на
   узкие не переносятся — проверено кадром, а не рассуждением. */
@media (max-width: 720px) {
  :root { --dock-h: 64px; }

  /* Шапка в две строки вместо трёх: знак, поиск и язык в одной,
     разделы — отдельной прокручиваемой лентой. */
  .topbar__in { flex-wrap: wrap; gap: 8px 10px; min-height: 0; padding-block: 8px; }
  .brand { flex: none; }
  .brand__mark { width: 30px; height: 30px; }
  .brand__name { font-size: 17px; }
  .seek { margin-inline-start: auto; flex: 1 1 120px; min-width: 0; }
  .seek input { width: 100%; padding: 8px 13px; font-size: 14px; }
  .langs { flex: none; }
  .langs summary { padding: 8px 10px; }
  .nav {
    order: 3; width: 100%; margin-inline-start: 0;
    overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; padding: 6px 11px; font-size: 14px; }

  /* Шкала: ниже, плотнее, без счётчиков — на 375 px они только шумят. */
  .dial__in { padding-block: 12px 0; }
  .dial__lead { gap: 10px; padding-bottom: 10px; }
  .dial__stat { gap: 15px; margin-inline-start: 0; padding-bottom: 0; }
  .dial__stat b { font-size: 20px; }
  .dial__stat span { font-size: 11.5px; }
  .scale { padding-bottom: 10px; }
  .scale__track { padding-block: 6px 0; }
  .scale__tick { min-width: 74px; gap: 5px; }
  .scale__tick i { height: 9px; }
  .scale__tick:nth-child(5n + 1) i { height: 14px; }
  .scale__tick[aria-current] i { height: 20px; }
  .scale__tick b { font-size: 12.5px; }
  .scale__tick s { display: none; }

  .band { padding-block: 20px; }
  .band__head { flex-wrap: wrap; gap: 4px 10px; margin-bottom: 12px; }
  .band__head p { flex-basis: 100%; font-size: 13px; }
  .band__head a.more { margin-inline-start: auto; }

  .grid { grid-template-columns: 1fr; gap: 10px; }
  .tiles { grid-template-columns: repeat(auto-fill, minmax(146px, 1fr)); }
  .tile { min-height: 96px; }
  .cols { columns: 1; }
  .chips a { padding: 7px 12px; font-size: 14px; }

  .station { grid-template-columns: 1fr; padding: 16px; gap: 18px; }
  .station__facts li { flex-wrap: wrap; gap: 2px 10px; }
  .station__facts span { min-width: 100%; font-size: 12.5px; }

  .dock__in { gap: 10px; }
  .dock__stop { padding: 7px 12px; font-size: 12.5px; }
  .eq { display: none; }
  .foot__in { gap: 12px; }
  .foot__in p:last-child { margin-inline-start: 0 !important; }
}

@media (max-width: 400px) {
  .seek { flex-basis: 96px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important;
      transition-duration: .001ms !important; }
  .js .rise { opacity: 1; translate: none; }
}
