.world-radio-page {
  background: #080b0f;
  color: #f5f7f8;
}

.world-radio-main {
  padding-top: var(--header-height);
}

.world-stage {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  background: #05070a;
}

/* Панель станций зажата между поиском и нижними переключателями. В невысоком
   окне на станции оставалось места на пару строк (Юрий, 15.09.2026) — глобус
   не ниже 780 px: страница чуть прокрутится, зато в списке видно 6–7 станций.
   Телефон (≤620 px) живёт по своим правилам ниже. */
@media (min-width: 621px) {
  .world-stage {
    min-height: max(calc(100svh - var(--header-height)), 780px);
  }
}

.world-map {
  position: absolute;
  inset: 0;
}

.world-map canvas {
  filter: saturate(.92) contrast(1.04) brightness(.9);
}

.world-map-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 7, 10, .94) 0%, rgba(5, 7, 10, .6) 25%, rgba(5, 7, 10, .12) 46%, transparent 66%), linear-gradient(0deg, rgba(5, 7, 10, .48), transparent 28%);
}

.world-capture {
  position: absolute;
  z-index: 6;
  top: 50%;
  left: 50%;
  width: 240px;
  height: 84px;
  transform: translate(-50%, -50%);
  color: #f5f7f8;
  text-align: center;
  pointer-events: none;
}

.world-capture-reticle {
  position: relative;
  width: 84px;
  height: 84px;
  display: block;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 50%;
  box-shadow: 0 0 0 12px rgba(255, 255, 255, .035), 0 0 30px rgba(0, 0, 0, .35);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.world-capture-reticle::before,
.world-capture-reticle::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, .88);
}

.world-capture-reticle::before {
  top: 50%;
  left: -10px;
  right: -10px;
  height: 1px;
}

.world-capture-reticle::after {
  top: -10px;
  bottom: -10px;
  left: 50%;
  width: 1px;
}

.world-capture-reticle i {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

.world-capture strong {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: 230px;
  transform: translateX(-50%);
  font-size: 13px;
}

.world-capture small {
  position: absolute;
  top: calc(100% + 36px);
  left: 50%;
  width: 230px;
  max-width: 230px;
  transform: translateX(-50%);
  color: #b3bec4;
  font-size: 11px;
  line-height: 1.35;
}

.world-capture[data-state='seeking'] .world-capture-reticle {
  border-color: #00b7b2;
  box-shadow: 0 0 0 12px rgba(0, 183, 178, .08), 0 0 26px rgba(0, 183, 178, .35);
  animation: world-radar 1.1s ease-in-out infinite;
}

.world-capture[data-state='locking'] .world-capture-reticle,
.world-capture[data-state='locked'] .world-capture-reticle {
  border-color: #e4aa1b;
  box-shadow: 0 0 0 12px rgba(228, 170, 27, .11), 0 0 32px rgba(228, 170, 27, .38);
}

.world-capture[data-state='locked'] .world-capture-reticle {
  transform: scale(.86);
}

.world-capture[data-state='locked'] .world-capture-reticle i {
  background: #ff493d;
  box-shadow: 0 0 0 5px rgba(255, 73, 61, .22), 0 0 20px rgba(255, 73, 61, .95);
}

.world-radio-page .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;
}

.world-heading {
  position: absolute;
  z-index: 5;
  top: clamp(42px, 8vh, 88px);
  left: max(24px, calc((100vw - 1240px) / 2));
  width: min(520px, calc(100% - 48px));
  pointer-events: none;
}

.world-heading h1 {
  max-width: none;
  font-size: clamp(62px, 8vw, 116px);
  line-height: .82;
}

.world-heading > p {
  max-width: 460px;
  margin: 28px 0 0;
  color: #c7d0d5;
  font-size: 18px;
}

/* Вход в станции одного исполнителя — те же список и проигрыватель. */
.world-artist-button {
  pointer-events: auto;
  margin-top: 18px;
  padding: 10px 18px;
  border: 1px solid rgba(228, 170, 27, .75);
  border-radius: 999px;
  background: rgba(7, 10, 14, .62);
  color: #ffd75e;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.world-artist-button:hover,
.world-artist-button:focus-visible {
  background: rgba(228, 170, 27, .16);
}

.world-artist-button + .world-artist-button {
  margin-left: 8px;
}

/* Цифры радара по бокам крестика, чуть выше горизонтальной линии, как на
   радаре плеера (Юрий, 15.09.2026): слева вес потока, справа скорость приёма.
   Ширина цифр одинаковая — строка не прыгает, когда числа меняются. */
.world-meter {
  position: absolute;
  bottom: calc(50% + 6px);
  display: flex;
  flex-direction: column;
  color: #ffd75e;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .9);
}

.world-meter[hidden] {
  display: none;
}

.world-meter-flow {
  right: calc(50% + 60px);
  align-items: flex-end;
  text-align: right;
}

.world-meter-receive {
  left: calc(50% + 60px);
  align-items: flex-start;
  text-align: left;
}

.world-meter em {
  margin-bottom: 5px;
  color: #e6d3a0;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .08em;
}

.world-meter b {
  font-size: 32px;
  font-weight: 800;
}

.world-meter i {
  margin-top: 4px;
  color: #c9d2d6;
  font-size: 11px;
  font-style: normal;
}

@media (max-width: 620px) {
  .world-meter b { font-size: 21px; }
  .world-meter-flow { right: calc(50% + 50px); }
  .world-meter-receive { left: calc(50% + 50px); }
}

/* Сердечко в полосе проигрывателя: у любимой станции — золотое и залитое,
   чтобы нажатие было видно сразу. */
.world-icon-button[data-player-favorite].is-active {
  border-color: rgba(228, 170, 27, .8);
  color: #ffd75e;
}

.world-icon-button[data-player-favorite].is-active svg {
  fill: currentColor;
}

.world-search {
  position: absolute;
  z-index: 12;
  top: 28px;
  right: max(24px, calc((100vw - 1240px) / 2));
  width: min(520px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px 46px;
  gap: 8px;
}

.world-search-field {
  height: 46px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 6px;
  background: rgba(9, 12, 16, .88);
  backdrop-filter: blur(18px);
}

.world-search-field svg {
  width: 20px;
}

.world-search-field input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
}

.world-search-field input::placeholder {
  color: #9fa9ae;
}

.world-icon-button,
.world-player-toggle {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 6px;
  background: rgba(9, 12, 16, .88);
  color: #fff;
  cursor: pointer;
}

.world-icon-button:hover,
.world-player-toggle:hover {
  border-color: #e4aa1b;
  color: #e4aa1b;
}

.world-icon-button svg,
.world-player-toggle svg {
  width: 20px;
  height: 20px;
}

.world-controls {
  position: absolute;
  z-index: 11;
  right: max(24px, calc((100vw - 1240px) / 2));
  bottom: 28px;
  width: min(760px, calc(100% - 48px));
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr)) auto;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 6px;
  background: rgba(9, 12, 16, .9);
  backdrop-filter: blur(18px);
}

.world-controls label {
  min-width: 0;
  display: grid;
  gap: 1px;
  padding: 7px 12px 8px;
  border-right: 1px solid rgba(255, 255, 255, .14);
}

.world-controls label > span {
  color: #909aa0;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.world-controls select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: #11161b;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.world-view-switch {
  display: grid;
  grid-template-columns: repeat(2, 78px);
}

.world-view-switch button {
  display: grid;
  place-items: center;
  gap: 2px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, .14);
  background: transparent;
  color: #aab3b8;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.world-view-switch button.is-active {
  background: #e4aa1b;
  color: #101317;
}

.world-view-switch svg {
  width: 18px;
  height: 18px;
}

.world-results {
  position: absolute;
  z-index: 10;
  top: 94px;
  right: max(24px, calc((100vw - 1240px) / 2));
  bottom: 104px;
  width: min(420px, calc(100% - 48px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, .2);
  background: rgba(7, 10, 14, .92);
  backdrop-filter: blur(20px);
  transform: translateX(calc(100% + 40px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 260ms ease, opacity 180ms ease, visibility 0s linear 260ms;
}

.world-results.is-open,
.world-radio-page.is-list-view .world-results {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.world-results-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.world-results-heading div {
  display: grid;
}

.world-results-heading span {
  color: #9ca6ab;
  font-size: 12px;
}

.world-results-heading strong {
  font-size: 18px;
}

.world-results-heading .world-icon-button {
  width: 38px;
  height: 38px;
  border: 0;
}

.world-status {
  padding: 10px 18px;
  color: #aeb7bc;
  font-size: 12px;
  line-height: 1.4;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.world-status:empty {
  display: none;
}

.world-station-list {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  overflow: auto;
  list-style: none;
  scrollbar-width: thin;
  scrollbar-color: rgba(228, 170, 27, .5) transparent;
}

.world-station-list::-webkit-scrollbar {
  width: 8px;
}

.world-station-list::-webkit-scrollbar-track {
  background: transparent;
}

.world-station-list::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: rgba(228, 170, 27, .5);
}

.world-station-row {
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 11px 18px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .11);
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

/* Сердечко в строке — отдельная кнопка рядом со строкой, а не внутри неё. */
.world-station-list > li {
  position: relative;
}

.world-station-list > li:has(.world-row-heart) .world-station-row {
  padding-right: 64px;
}

.world-row-heart {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  background: rgba(7, 10, 14, .7);
  color: #99a4aa;
  cursor: pointer;
  transform: translateY(-50%);
}

.world-row-heart:hover,
.world-row-heart:focus-visible {
  border-color: rgba(228, 170, 27, .7);
  color: #ffd75e;
}

.world-row-heart.is-active {
  border-color: rgba(228, 170, 27, .8);
  color: #ffd75e;
}

.world-row-heart svg {
  width: 18px;
  height: 18px;
}

.world-row-heart.is-active svg {
  fill: currentColor;
}

.world-station-row:hover,
.world-station-row.is-current {
  background: rgba(228, 170, 27, .12);
}

.world-station-row > i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(228, 170, 27, .5);
  border-radius: 5px;
  color: #e4aa1b;
}

.world-station-row > i svg {
  width: 18px;
}

.world-station-row span {
  min-width: 0;
  display: grid;
}

.world-station-row strong,
.world-station-row small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.world-station-row strong {
  font-size: 14px;
}

.world-station-row small {
  color: #97a1a6;
  font-size: 11px;
}

.world-station-row em {
  color: #e4aa1b;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.world-station-more {
  padding: 14px 18px 18px;
}

.world-load-more {
  width: 100%;
  min-height: 54px;
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 9px 14px;
  border: 1px solid rgba(228, 170, 27, .58);
  border-radius: 5px;
  background: rgba(228, 170, 27, .1);
  color: #fff;
  cursor: pointer;
}

.world-load-more:hover,
.world-load-more:focus-visible {
  background: rgba(228, 170, 27, .2);
  outline: none;
}

.world-load-more strong {
  font-size: 14px;
}

.world-load-more small {
  color: #aeb7bc;
  font-size: 11px;
}

.world-no-script {
  position: absolute;
  z-index: 20;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(560px, calc(100% - 48px));
  padding: 24px;
  background: #fff;
  color: #111;
}

.world-player {
  position: fixed;
  z-index: 120;
  inset: auto 0 0;
  min-height: 80px;
  display: grid;
  grid-template-columns: minmax(210px, .7fr) 52px minmax(240px, 1fr) 46px;
  gap: 18px;
  align-items: center;
  padding: 12px max(24px, calc((100vw - 1240px) / 2));
  border-top: 1px solid rgba(255, 255, 255, .18);
  background: rgba(8, 11, 15, .97);
  color: #fff;
  box-shadow: 0 -18px 50px rgba(0, 0, 0, .3);
}

.world-player[hidden] {
  display: none;
}

.world-radio-page.has-world-player .world-controls {
  bottom: 108px;
}

.world-radio-page.has-world-player .world-results {
  bottom: 184px;
}

/* Полоса проигрывателя закреплена внизу окна и закрывала подвал: счётчики
   и строку про каталог (Юрий, 15.09.2026). Пока она открыта — запас снизу. */
.world-radio-page.has-world-player .site-footer {
  padding-bottom: 136px;
}

@media (max-width: 620px) {
  .world-radio-page.has-world-player .site-footer {
    padding-bottom: 200px;
  }
}

.world-player-station {
  min-width: 0;
  display: grid;
}

.world-player-station span,
.world-player-station small {
  color: #99a4aa;
  font-size: 11px;
}

.world-player-station strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.world-player-toggle {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: #e4aa1b;
  color: #101317;
}

.world-player-progress {
  min-width: 0;
  display: grid;
  gap: 8px;
  color: #aeb7bc;
  font-size: 12px;
}

.world-player-progress > div {
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, .16);
}

.world-player-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: #00a3a3;
}

.world-player.is-loading .world-player-progress i {
  width: 34%;
  animation: world-loading 1.4s ease-in-out infinite;
}

.world-explainer {
  padding: 92px 0 110px;
  background: #eef3f1;
  color: #161a1e;
}

.world-explainer-grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: 80px;
}

.world-explainer h2 {
  margin: 12px 0 0;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1;
}

.world-explainer-copy {
  color: #4f5b59;
  font-size: 18px;
}

.world-explainer-copy strong {
  color: #171b1f;
}

.world-explainer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.maplibregl-ctrl-bottom-left,
.maplibregl-ctrl-bottom-right {
  bottom: 88px;
}

.maplibregl-ctrl-group {
  overflow: hidden;
  border-radius: 5px;
  background: rgba(10, 13, 17, .9);
}

.maplibregl-ctrl-group button span {
  filter: invert(1);
}

.maplibregl-ctrl-attrib {
  background: rgba(10, 13, 17, .75) !important;
  color: #c7ced2;
}

.maplibregl-ctrl-attrib a {
  color: #fff;
}

@keyframes world-loading {
  from { transform: translateX(-120%); }
  to { transform: translateX(360%); }
}

@keyframes world-radar {
  0%, 100% { transform: scale(.9); opacity: .72; }
  50% { transform: scale(1); opacity: 1; }
}

@media (max-width: 900px) {
  .world-heading {
    top: 40px;
  }

  .world-heading h1 {
    font-size: 72px;
  }

  .world-search {
    top: auto;
    bottom: 112px;
    left: 24px;
    right: 24px;
    width: auto;
  }

  .world-controls {
    left: 24px;
    right: 24px;
    bottom: 24px;
    width: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .world-view-switch {
    display: none;
  }

  .world-results {
    top: 260px;
    right: 24px;
    bottom: 178px;
  }

  .world-radio-page.has-world-player .world-search {
    bottom: 170px;
  }

  .world-radio-page.has-world-player .world-controls {
    bottom: 104px;
  }

  .world-radio-page.has-world-player .world-results {
    bottom: 238px;
  }

  .world-explainer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

@media (max-width: 620px) {
  .world-stage {
    min-height: 0;
    padding: 390px 14px 96px;
    overflow: visible;
  }

  .world-map,
  .world-map-shade {
    inset: 0 0 auto;
    height: 390px;
  }

  .world-capture {
    top: 195px;
    width: 190px;
    height: 68px;
  }

  .world-capture-reticle {
    width: 68px;
    height: 68px;
  }

  .world-capture strong,
  .world-capture small {
    display: none;
  }

  .world-map-shade {
    background: linear-gradient(180deg, rgba(5, 7, 10, .75), transparent 48%, rgba(5, 7, 10, .8));
  }

  .world-heading {
    top: 24px;
    left: 18px;
    width: calc(100% - 36px);
  }

  .world-heading h1 {
    font-size: 58px;
  }

  .world-heading > p:last-child {
    max-width: 310px;
    margin-top: 18px;
    font-size: 14px;
  }

  .world-search {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
  }

  .world-controls {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 10px;
    grid-template-columns: 1fr 1fr;
  }

  .world-controls label:nth-child(3) {
    grid-column: 1 / -1;
  }

  .world-results,
  .world-results.is-open {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    min-height: 0;
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, .16);
    transform: none;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .world-station-list {
    min-height: 0;
    overflow: visible;
  }

  .world-player {
    grid-template-columns: minmax(0, 1fr) 48px 42px;
    gap: 10px;
    padding: 10px 14px;
  }

  .world-player-progress {
    display: none;
  }

  .world-player-toggle {
    width: 48px;
    height: 48px;
  }

  .world-radio-page.has-world-player .world-search {
    bottom: auto;
  }

  .world-radio-page.has-world-player .world-controls {
    bottom: auto;
  }

  .world-radio-page.has-world-player .world-results,
  .world-radio-page.has-world-player .world-results.is-open {
    bottom: auto;
  }

  .world-radio-page.has-world-player .world-stage {
    padding-bottom: 168px;
  }

  .world-explainer {
    padding: 70px 0 84px;
  }

  .world-explainer-copy {
    font-size: 16px;
  }

  .maplibregl-ctrl-bottom-left,
  .maplibregl-ctrl-bottom-right {
    bottom: 8px;
  }

  .world-radio-page.has-world-player .maplibregl-ctrl-bottom-left,
  .world-radio-page.has-world-player .maplibregl-ctrl-bottom-right {
    bottom: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .world-results,
  .world-player-progress i,
  .world-capture-reticle {
    transition: none;
    animation: none;
  }
}
