/* ПЛАНЕТА ПЕСЕН · Орбита */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(./orbit/golos-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(./orbit/golos-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(./orbit/manrope-cyrillic.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 800;
  font-display: swap;
  src: url(./orbit/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #100e1a;
  --surface: #1b172b;
  --raised: #241d37;
  --inset: #171326;
  --text: #f7f3ff;
  --muted: #bcb3cc;
  --line: #392f51;
  --line-strong: #6a5687;
  --accent: #c3a9ff;
  --accent-hover: #dbc7ff;
  --accent-ink: #200d3a;
  --accent-muted: #37284f;
  --favorite: #f0a8ea;
  --radius: 14px;
  --font: 'Manrope', Arial, sans-serif;
  --display: 'Golos Text', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-block: 92px 100px; }
body {
  margin: 0;
  padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--font);
}
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .46; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-hover); }
:where(a, button, input, textarea):focus-visible {
  outline: 2px solid var(--accent-hover);
  outline-offset: 3px;
}
[hidden] { display: none !important; }
img { max-width: 100%; }
.icon { display: inline-block; flex: none; vertical-align: middle; }
.wrap { width: min(1232px, calc(100% - 88px)); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav {
  position: relative;
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  font: 850 17px/.94 var(--display);
  letter-spacing: -.034em;
}
.brand img { flex: none; }
.site-nav, .nav-tools { display: flex; align-items: center; gap: 10px; }
.nav-tools { justify-self: end; gap: 4px; }
.site-nav a, .nav-tools a, .menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}
.nav-tools a, .menu-toggle { min-width: 40px; padding-inline: 9px; }
.nav-tools .nav-favorites .icon { width: 17px; height: 17px; }
.site-nav a:hover, .nav-tools a:hover,
.site-nav a[aria-current], .nav-tools a[aria-current], .menu-toggle:hover {
  background: var(--raised);
  color: var(--accent-hover);
}
.menu-toggle { display: none; color: var(--text); background: transparent; border: 0; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  min-height: 430px;
  margin: 22px 0 30px;
  border: 1px solid #42315d;
  border-radius: 24px;
  background: #171126;
}
.hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 0 0 32%;
  background:
    linear-gradient(90deg, #171126 0%, #171126ed 14%, transparent 55%),
    linear-gradient(0deg, #171126bf, transparent 43%),
    url('./orbit/hero.webp') center 54% / cover no-repeat;
}
.hero-copy { padding: 34px 0 36px 46px; }
.hero-kicker, .featured-live, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-hover);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.live-dot { display: inline-block; flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hero h1 {
  margin: 13px 0 17px;
  font-size: clamp(44px, 5.3vw, 77px);
  font-weight: 800;
  line-height: .97;
  letter-spacing: -.067em;
}
.hero h1 em { font-style: normal; color: #d9b8ff; }
.hero-copy p { margin: 0; max-width: 340px; color: #e1d6ee; font-size: 15px; font-weight: 600; }
.search {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: min(100%, 560px);
  padding: 5px;
  background: #262038;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
}
.hero-search { width: min(100%, 416px); margin-top: 24px; }
.search-field { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; padding-left: 8px; }
.search-field .icon { width: 19px; height: 19px; color: var(--accent-hover); }
.search input {
  flex: 1;
  width: 0;
  min-width: 0;
  padding: 6px 2px;
  background: transparent;
  color: var(--text);
  border: 0;
  font-size: 14px;
}
.search input::placeholder { color: var(--muted); opacity: 1; }
.search input:focus-visible { outline: none; }
.search:focus-within { outline: 2px solid var(--accent-hover); outline-offset: 2px; }
.search button, .primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  border-radius: 8px;
  min-height: 38px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  line-height: 1.35;
}
.primary { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.search button:hover, .primary:hover { background: var(--accent-hover); color: var(--accent-ink); }

.featured {
  align-self: end;
  justify-self: end;
  width: min(303px, calc(100% - 20px));
  margin: 0 23px 23px 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 11px;
  color: var(--text);
  background: #241a37ed;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}
.featured-logo, .station-logo, .big-logo, .player-logo {
  display: grid;
  place-items: center;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  flex: none;
  overflow: hidden;
  border-radius: 9px;
  background: #f8f6f7;
  color: #442378;
}
:where(.featured-logo, .station-logo, .big-logo, .player-logo) img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
}
.featured-logo { width: 51px; height: 51px; padding: 3px; }
.featured-info { display: grid; min-width: 0; gap: 3px; line-height: 1.24; }
.featured-info h2 { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.featured-info p { margin: 0; color: var(--muted); font-size: 11px; }
.featured-live { gap: 6px; font-size: 9px; color: var(--text); }
.featured-live .live-dot { width: 5px; height: 5px; color: var(--favorite); }

.catalog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 16px;
}
.catalog-heading h2 {
  margin: 0;
  font-size: clamp(25px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.055em;
}
.catalog-heading h2 small { margin-left: .55em; color: var(--muted); font-size: .5em; letter-spacing: 0; }
.catalog-count { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.catalog-heading a, .catalog-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
}
.catalog-heading a { flex: none; }
.catalog-heading a:hover, .catalog-links a:hover { text-decoration: underline; text-underline-offset: .25em; }
.catalog-heading a .icon, .chips a .icon { width: 15px; height: 15px; }
.catalog-links { display: flex; flex-wrap: wrap; gap: 12px 22px; color: var(--accent-hover); }

.chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
}
.chips a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 750;
}
.chips a:hover { border-color: var(--line-strong); color: var(--accent-hover); }
.chips a[aria-current] { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.chips .chips-more { color: var(--accent-hover); }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 94px;
  padding: 11px 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card:hover { border-color: var(--line-strong); }
.card.is-current { background: var(--raised); border-color: var(--line-strong); }
.station-logo { width: 54px; aspect-ratio: 1; padding: 3px; }
.station-monogram { font-size: 26px; font-weight: 850; line-height: 1; }
.card-body { min-width: 0; }
.card h2 { margin: 0 0 5px; font: 750 15px/1.25 var(--display); overflow-wrap: anywhere; letter-spacing: -.02em; }
.meta { display: flex; flex-wrap: wrap; gap: 0 6px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.meta a::before { content: '· '; }
.actions { display: grid; justify-items: center; gap: 3px; }

.icon-button, .unavailable-link, .play-circle {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--text);
  background: transparent;
}
.icon-button:hover:not(:disabled) { color: var(--accent-hover); background: var(--raised); }
.fav.active { color: var(--favorite); }
.fav.active .icon { fill: currentColor; }
.playlist-add.active { color: var(--accent-hover); background: var(--accent-muted); }
.play-circle { background: var(--accent); color: var(--accent-ink); width: 40px; height: 40px; }
.play-circle:hover:not(:disabled) { background: var(--accent-hover); color: var(--accent-ink); }
.play-circle .icon { width: 19px; height: 19px; }
.actions .play-circle { width: 33px; height: 33px; background: var(--accent-muted); color: var(--accent-hover); }
.actions .play-circle:is(:hover, [aria-pressed=true]) { background: var(--accent); color: var(--accent-ink); }
.actions .fav { width: 30px; height: 26px; }
.actions .icon { width: 16px; height: 16px; }
.unavailable-link { width: 33px; height: 33px; border-color: var(--line-strong); border-style: dashed; color: var(--muted); }

@media (min-width: 1081px) {
  .catalog-with-filters { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 17px 20px; }
  .catalog-with-filters .catalog-heading { grid-column: 1 / -1; margin-bottom: 0; }
  .catalog-with-filters .chips {
    grid-column: 1;
    grid-row: 2;
    display: grid;
    justify-items: start;
    align-self: start;
    padding: 12px;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--inset);
  }
  .catalog-with-filters .chips a { border-radius: 7px; padding-inline: 9px; }
  .catalog-with-filters .catalog-results { grid-area: 2 / 2; min-width: 0; }
}

.page-hero {
  margin: 24px 0 28px;
  padding: clamp(22px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: radial-gradient(ellipse at 92% 10%, #33224d, transparent 70%), var(--inset);
}
.page-hero h1, .station-head h1 {
  margin: 10px 0 12px;
  font-size: clamp(32px, 4.7vw, 64px);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: 1.06;
  overflow-wrap: anywhere;
}
.page-hero p { margin: 0; max-width: 680px; color: var(--muted); }
.page-hero :is(.notice, .search) { margin-top: 20px; }
.notice {
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--raised);
  color: var(--accent-hover);
  font-size: 14px;
}
.empty { width: 100%; max-width: 720px; margin-inline: auto; padding: 36px 16px; text-align: center; }
.empty h2 { margin: 0 0 10px; font-size: 24px; line-height: 1.25; }
.empty p { margin: 0 0 18px; color: var(--muted); }
.grid:is([data-view=favorites], [data-view=playlist]):not(.collection-ready) { visibility: hidden; }
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 15px;
}
.pagination a {
  display: grid;
  place-items: center;
  min-width: 38px;
  min-height: 38px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 14px;
}
.pagination a:hover { border-color: var(--line-strong); }
.pagination a.active { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.dots { padding: 5px; }
.seo { margin: 42px 0 0; padding: 22px 0 6px; border-top: 1px solid var(--line); }
.seo h2 { margin: 0 0 10px; font-size: 24px; line-height: 1.25; letter-spacing: -.035em; }
.seo p { margin: 0 0 16px; max-width: 850px; color: var(--muted); font-size: 15px; }
.search-result { min-width: 0; }
.search-result > .card { height: 100%; }

.tile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tile {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 7px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.tile:hover { border-color: var(--line-strong); }
.tile strong { font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
.tile > span:not(.tile-icon) { font-size: 12px; color: var(--muted); }
.tile-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 5px;
  border-radius: 10px;
  color: var(--accent-hover);
  background: var(--accent-muted);
}
.tile-soon .tile-icon { color: var(--muted); background: var(--raised); }
.tile > .icon:last-child { position: absolute; top: 24px; right: 16px; width: 16px; height: 16px; color: var(--muted); }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 22px 0 16px; font-size: 13px; color: var(--muted); }
.station-head {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 24px;
  padding: clamp(18px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: radial-gradient(ellipse at 92% 10%, #33224d, transparent 70%), var(--inset);
}
.big-logo { width: 130px; aspect-ratio: 1; padding: 12px; border-radius: 16px; }
.big-logo .station-monogram { font-size: 46px; }
.station-details { min-width: 0; }
.station-head h1 { font-size: clamp(30px, 4.2vw, 56px); }
.station-details > p { margin: 0 0 18px; font-size: 14px; }
.station-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.station-actions :is(.fav, .playlist-add) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 750;
}
.station-actions :is(.fav, .playlist-add):hover { background: var(--raised); }
.station-actions .fav.active { color: var(--favorite); }
.station-actions .playlist-add.active { color: var(--accent-hover); background: var(--accent-muted); }
.stream-unavailable { padding: 9px 12px; border-radius: 8px; background: var(--raised); color: var(--muted); font-size: 13px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-block: 20px; }
.panel { padding: clamp(17px, 3vw, 26px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.panel h2 { margin: 0 0 14px; font-size: 22px; line-height: 1.3; letter-spacing: -.03em; }
.panel p { color: var(--muted); }
dl { display: grid; grid-template-columns: minmax(72px, 110px) minmax(0, 1fr); gap: 10px 14px; margin: 0; font-size: 14px; }
dt { color: var(--muted); }
dd { margin: 0; overflow-wrap: anywhere; }
dd a, .prose .panel a:not(.primary) { color: var(--accent-hover); text-decoration: underline; text-underline-offset: .22em; }
.related { display: flex; flex-wrap: wrap; gap: 8px; }
.related a { padding: 7px 11px; border: 1px solid var(--line-strong); border-radius: 8px; font-size: 13px; overflow-wrap: anywhere; }
.related a:hover { background: var(--raised); }
.comments { max-width: 850px; margin-block: 20px; }
.form, .comment { display: grid; gap: 11px; }
:is(.form, .comment) label { font-size: 14px; font-weight: 750; }
:is(.form, .comment) :is(input, textarea) {
  width: 100%;
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--inset);
  color: var(--text);
  font-size: 16px;
}
:is(.form, .comment) :is(input, textarea)::placeholder { color: var(--muted); }
.comment textarea { min-height: 115px; resize: vertical; }
:is(.form, .comment) .primary { justify-self: start; }
.comment-item { margin-block: 18px 0; padding-top: 16px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.comment-item small { margin-left: 10px; color: var(--muted); }
.narrow { max-width: 800px; }
.prose .panel h2:not(:first-child) { margin-top: 24px; }

.site-footer { margin-top: 42px; border-top: 1px solid var(--line); background: var(--inset); }
.foot { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; padding-block: 26px; }
.footer-brand { font: 800 17px/1.1 var(--display); letter-spacing: -.03em; }
.footer-about p { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 23px; font-size: 13px; }
.copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 9px 14px; padding-block: 12px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }

.player {
  position: fixed;
  inset: auto 0 0;
  z-index: 30;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  border-top: 1px solid var(--line);
  background: var(--inset);
  box-shadow: 0 -7px 24px #100e1a50;
}
.player-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding-block: 7px;
}
.player-station, .player-tools, .player-controls { display: flex; align-items: center; gap: 6px; min-width: 0; }
.player-logo { width: 40px; height: 40px; padding: 3px; }
.player-logo:has(> .icon) { color: var(--accent-hover); background: var(--accent-muted); }
.player-caption { min-width: 0; }
.player-caption strong, .player-caption > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-caption strong { font-size: 13px; }
.player-caption > span { color: var(--muted); font-size: 11px; }
.player.playing .player-caption > span { color: var(--accent-hover); }
.player-tools { justify-content: flex-end; gap: 3px; }
.player-tools .icon-button { width: 34px; height: 36px; }
.volume-label { display: flex; align-items: center; width: min(106px, 46%); min-width: 46px; margin-left: 3px; }
.volume-label input { width: 100%; margin: 0; accent-color: var(--accent); cursor: pointer; }
#audio { display: none; }

img[src$="/russkoe-radio.svg"] { background: #bb1336; padding: 4px; border-radius: 7px; }
img:is(
  [src$="/eldoradio.png"], [src$="/nashe-radio.png"], [src$="/novoe-radio.svg"],
  [src$="/radio-7-nastroenie-schastya.svg"], [src$="/radio-7.svg"], [src$="/radio-chill.png"],
  [src$="/radio-dar.png"], [src$="/radio-intense.png"], [src$="/radio-kniga-vsluh.png"],
  [src$="/radio-piter-fm.svg"], [src$="/radio-rekord-ambient.png"], [src$="/radio-rekord-liquid-funk.png"],
  [src$="/radio-rekord-phonk.png"], [src$="/radio-saharov.png"], [src$="/sovietwave.svg"]
) { background: #1c2633; padding: 4px; border-radius: 7px; }
.station-wordmark {
  display: grid;
  justify-items: center;
  gap: 2px;
  width: 100%;
  font-size: 8px;
  line-height: 1.05;
  font-weight: 800;
}
.station-wordmark strong { font-size: 9px; }
.big-logo .station-wordmark { font-size: 15px; }
.big-logo .station-wordmark strong { font-size: 17px; }

@media (max-width: 1080px) {
  .wrap { width: calc(100% - 58px); }
  .hero { min-height: 394px; }
  .tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .wrap { width: calc(100% - 40px); }
  .nav { min-height: 65px; grid-template-columns: 1fr auto; gap: 0; }
  .site-nav {
    grid-area: 2 / 1 / 3 / -1;
    width: 100%;
    flex-wrap: wrap;
    margin-bottom: 8px;
  }
  .nav.js-menu .site-nav { display: none; }
  .nav.js-menu .site-nav.open {
    position: absolute;
    top: 100%;
    right: 0;
    display: grid;
    width: min(235px, 100%);
    padding: 9px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 9px;
    box-shadow: 0 8px 20px #0005;
  }
  .site-nav a { justify-content: flex-start; }
  .nav-tools { grid-area: 1 / 2; }
  .nav.js-menu .menu-toggle { display: inline-flex; }
  .nav-favorites span { display: none; }
  .nav-tools .nav-favorites .icon { width: 20px; height: 20px; }
  .hero { grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); min-height: 370px; }
  .hero-copy { padding-left: 29px; }
  .hero h1 { font-size: clamp(42px, 6.2vw, 55px); }
  .featured { margin: 0 12px 13px 0; }
  .grid, .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot { flex-wrap: wrap; }
}
@media (max-width: 660px) {
  html { scroll-padding-block: 79px 120px; }
  body { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .wrap { width: calc(100% - 28px); }
  .brand { gap: 8px; font-size: 15px; }
  .brand img { width: 38px; height: 38px; }
  .nav-tools a, .menu-toggle { min-width: 37px; padding-inline: 7px; }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 163px;
    min-height: 0;
    margin-block: 13px 22px;
    border-radius: 13px;
  }
  .hero-without-featured { grid-template-rows: auto; padding-bottom: 159px; }
  .hero::before {
    inset: auto 0 0;
    height: 179px;
    background: linear-gradient(180deg, #171126, transparent 29%), url('./orbit/hero.webp') center / cover no-repeat;
  }
  .hero-copy { padding: 23px 18px 12px; }
  .hero h1 { margin-block: 10px 13px; font-size: clamp(37px, 10.7vw, 58px); }
  .hero-copy p { font-size: 13px; }
  .search input { font-size: 16px; }
  .hero-search { width: 100%; margin-top: 15px; }
  .featured { width: min(248px, calc(100% - 18px)); gap: 7px; margin: 0 9px 9px 0; padding: 7px; }
  .featured-logo { width: 39px; height: 39px; }
  .featured-info h2 { font-size: 13px; }
  .featured-play { width: 35px; height: 35px; }
  .catalog-heading { gap: 8px; }
  .catalog-heading h2 { font-size: 24px; }
  .catalog-heading a { flex-shrink: 1; font-size: 11px; }
  .catalog-count { font-size: 12px; }
  .chips { gap: 5px; }
  .chips a { font-size: 11px; padding: 6px 9px; }
  .grid { grid-template-columns: 1fr; gap: 8px; }
  .card { min-height: 69px; padding: 8px; gap: 9px; }
  .station-logo { width: 43px; }
  .actions { display: flex; gap: 6px; }
  .actions .fav { width: 31px; height: 34px; }
  .page-hero { margin-block: 15px 20px; border-radius: 14px; }
  .page-hero p { font-size: 14px; }
  .station-head { flex-wrap: wrap; gap: 14px; }
  .station-details { flex: 1 1 180px; }
  .big-logo { width: 82px; padding: 6px; border-radius: 10px; }
  .two { grid-template-columns: 1fr; }
  .tile { padding: 13px; }
  .tile strong { font-size: 14px; }
  .player-in { grid-template-columns: minmax(0, 1fr) auto; gap: 0 6px; padding-block: 6px; }
  .player-logo { width: 33px; height: 33px; }
  .player-caption strong { font-size: 12px; }
  .player-caption > span { white-space: normal; overflow-wrap: anywhere; font-size: 10px; line-height: 1.25; }
  .player-controls, .player-tools { gap: 1px; }
  .player-controls .icon-button, .player-tools .icon-button { width: 34px; height: 34px; }
  .player-controls .play-circle { width: 36px; height: 36px; }
  .player-tools { grid-column: 1 / -1; justify-content: flex-end; }
  .volume-label { width: min(106px, 30%); margin-left: 7px; }
}
@media (max-width: 450px) {
  .station-head { display: grid; grid-template-columns: 63px minmax(0, 1fr); gap: 6px 12px; }
  .station-head .big-logo { grid-area: 1 / 1 / 4 / 2; align-self: center; width: 63px; }
  .station-details { display: contents; }
  .station-details > :is(.eyebrow, h1, .meta) { grid-column: 2; margin: 0; }
  .station-actions { grid-column: 1 / -1; margin-top: 9px; gap: 7px; }
  .station-actions .primary { flex-basis: 100%; }
  .station-actions :is(.fav, .playlist-add) { flex: 1; justify-content: center; white-space: nowrap; }
}
@media (max-width: 355px) {
  .nav-tools { gap: 0; }
  .nav-tools a, .menu-toggle { min-width: 32px; padding-inline: 6px; }
  .hero-copy { padding-inline: 13px; }
  .search button { padding-inline: 11px; }
}
@media (pointer: coarse) {
  .actions .fav, .actions .play-circle { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
