:root {
  /* =========================
   General
   ========================= */
  --bg: #050608;
  --panel: rgba(10, 12, 16, 0.78);
  --panelBorder: rgba(255, 255, 255, 0.10);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.62);
  --faint: rgba(255, 255, 255, 0.38);
  --accent: #3cffb4;

  /* Layout */
  --sidebarW: 300px;
  --pad: 14px;
  --radius: 18px;

  /* Spacing */
  --s-1: 6px;
  --s-2: 8px;
  --s-3: 10px;
  --s-4: 12px;
  --s-5: 14px;
  --s-6: 18px;

  /* Section heights*/
  --handleH: 34px;
  --playerMinH: 170px;
  --quickNavH: 92px;
  --quickPanelMaxH: 0px;

  /* Buttons */
  --btnSize: 42px;
  --btnRadius: 14px;
  --btnBorder: rgba(255, 255, 255, 0.10);
  --btnBg: rgba(255, 255, 255, 0.04);
  --btnBgHover: rgba(60, 255, 180, 0.18);
  --btnBorderHover: rgba(60, 255, 180, 0.35);

  :root {
    --playBtnW: 140px;
  }

  #btnPlay {
    width: var(--playBtnW);
  }

  /* Inputs */
  --inputRadius: 12px;
  --inputBorder: rgba(255, 255, 255, 0.10);
  --inputBg: rgba(255, 255, 255, 0.04);

  /* SVG icon control */
  --iconSize: 16px;
  --iconStroke: 2;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans", system-ui, -apple-system,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.32;
  letter-spacing: -0.01em;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;

  overflow: hidden;
}

/* Layers */
#stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

#map {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: transparent;
}

/* =========================
   Global SVG icons
   ========================= */
.icon {
  width: var(--iconSize);
  height: var(--iconSize);
  display: block;
  flex: 0 0 auto;

  stroke: currentColor;
  stroke-width: var(--iconStroke);
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.favBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--btnSize);
  height: var(--btnSize);
  border-radius: var(--btnRadius);
  border: 1px solid var(--btnBorder);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 120ms ease;
}

.favBtn:hover {
  background: var(--btnBgHover);
  border-color: var(--btnBorderHover);
}

.favBtn:active {
  transform: scale(0.95);
}

.favBtn .icon {
  width: 18px;
  height: 18px;
}

.favBtn .icon path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.8;
  transition: fill 160ms ease, stroke 160ms ease;
}

.favBtn.is-on {
  background: rgba(60, 255, 180, 0.18);
  border-color: rgba(60, 255, 180, 0.35);
}

.favBtn.is-on .icon path {
  fill: #ffffff;
  stroke: #ffffff;
}

.favBtn.is-on {
  animation: fav-pop 180ms ease;
}

@keyframes fav-pop {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }

  100% {
    transform: scale(1);
  }
}

.player__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.player__metaText {
  flex: 1 1 auto;
  min-width: 0;
}

.player__title,
.player__sub {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.favBtn {
  flex: 0 0 auto;
}

.player__meta {
  padding-bottom: 6px;
}

/* =========================
   Sidebar
   ========================= */
.sidebar {
  position: fixed;
  left: var(--pad);
  bottom: var(--pad);
  top: auto;
  height: auto;
  width: var(--sidebarW);
  z-index: 5;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  overflow: hidden;
  max-height: calc(100vh - (2 * var(--pad)));
  transition: max-height 220ms ease, box-shadow 220ms ease;
}

.sidebar__handle {
  min-height: var(--handleH);
  background: rgba(0, 0, 0, 0.20);
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar__handleBar {
  width: 52px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.sidebar__body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}

.sidebar__top {
  padding: var(--s-4) var(--s-5);
}

@media (max-width: 900px) {

  .sidebar,
  .sidebar.is-collapsed {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    width: min(92vw, 420px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    z-index: 20;
    max-height: 85%;
  }
}


.brand {
  display: flex;
  gap: var(--s-3);
  align-items: center;
  margin-bottom: var(--s-3);
}

.brand__dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #bfffe9;
}

.brand__dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(60, 255, 180, 0.6) 0%,
      rgba(60, 255, 180, 0.35) 40%,
      rgba(60, 255, 180, 0.0) 70%);
}

.brand__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand__sub {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.search__input {
  width: 100%;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--inputRadius);
  border: 1px solid var(--inputBorder);
  outline: none;
  background: var(--inputBg);
  color: var(--text);
}

.search__input::placeholder {
  color: var(--faint);
}

.sidebar__list {
  overflow: auto;
  flex: 1;
  min-height: 0;
}

.station {
  padding: var(--s-3) var(--s-6);
  cursor: pointer;
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto;
  gap: var(--s-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.station:hover {
  background: rgba(60, 255, 180, 0.35);
  border-color: rgba(60, 255, 180, 0.06);
}

.station__name {
  font-weight: 600;
  color: white;
}

.station__meta {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.station__badge {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  height: fit-content;
  color: rgba(255, 255, 255, 0.85);
}

.station--active {
  background: rgba(60, 255, 180, 0.18);
}

/* =========================
   Buttons
   ========================= */
.iconBtn,
.btn {
  height: var(--btnSize);
  border-radius: var(--btnRadius);
  border: 1px solid var(--btnBorder);
  background: var(--btnBg);
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.iconBtn {
  width: var(--btnSize);
  padding: 0;
}

.btn {
  padding: 0 var(--s-5);
}

.iconBtn:hover,
.btn:hover {
  background: var(--btnBgHover);
  border-color: var(--btnBorderHover);
}

.iconBtn--primary,
.btn--primary {
  background: rgba(60, 255, 180, 0.18);
  border-color: rgba(60, 255, 180, 0.35);
}

.iconBtn--primary:hover,
.btn--primary:hover {
  background: rgba(60, 255, 180, 0.26);
}

.iconBtn--ghost,
.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
}

/* =========================
   Player
   ========================= */
.player {
  padding: var(--s-4) var(--s-5);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.22);
}

.player__meta {
  margin-bottom: var(--s-3);
}

.player__title {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player__sub {
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player__controls {
  display: grid;
  grid-template-columns: var(--btnSize) 1fr var(--btnSize) var(--btnSize);
  gap: var(--s-2);
  align-items: center;
}

#btnPlay .icon-pause {
  display: none;
}

#btnPlay.is-playing .icon-play {
  display: none;
}

#btnPlay.is-playing .icon-pause {
  display: block;
}

.player__volume {
  margin-top: var(--s-3);
  margin-left: var(--s-3);
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.player__slider {
  width: 100%;
  accent-color: var(--accent);
}

/* =========================
   Quick actions
   ========================= */
.quicknav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-2);
  padding: var(--s-4) var(--s-5);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.16);
  flex: 0 0 auto;

  --iconSize: 18px;
}

.quicknav__item {
  border: 1px solid var(--btnBorder);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--btnRadius);
  padding: var(--s-3) var(--s-2) calc(var(--s-3) - 1px);
  cursor: pointer;
  color: var(--text);

  display: grid;
  justify-items: center;
  align-content: start;
  gap: var(--s-2);
  min-height: 64px;
}

.quicknav__item:hover {
  background: var(--btnBgHover);
  border-color: var(--btnBorderHover);
}

.quicknav__item[aria-current="true"] {
  background: rgba(60, 255, 180, 0.14);
  border-color: rgba(60, 255, 180, 0.35);
}

.quicknav__label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.82);
}

/* =========================
   Quick panel
   ========================= */
.quickpanel {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.18);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 220ms ease, opacity 180ms ease;
}

.quickpanel.is-open {
  max-height: 100%;
  opacity: 1;
}

.quickpanel__header {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-5);
  background: var(--inputBg);
}

.quickpanel__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.quickpanel__body {
  padding: var(--s-3) var(--s-6);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  overflow-y: auto;
  min-height: 0;
}

.quickpanel__body p {
  margin: 0 0 var(--s-2);
}

.quickpanel__body p:last-child {
  margin-bottom: 0;
}


.quickpanel__body:has(#favoritesList) {
  padding: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.32;
}


.quickpanel__body:has(#favoritesList) .station__meta {
  font-size: 12px;
  color: var(--muted);
}

.quickpanel__body:has(#favoritesList) .favPanel {
  padding: var(--s-3) 0;
}

.quickpanel__body:has(#favoritesList) .favPanel__subtitle {
  margin: 0;
  padding: var(--s-4) var(--s-6);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.quickpanel__body:has(#favoritesList) .favPanel__empty {
  margin: 0;
  padding: var(--s-4) var(--s-6);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  padding-top: 0px;
}

.quickpanel__body:has(#favoritesList) .favPanel__list {
  padding: 0;
  margin-top: var(--s-2);
  display: block;
}

.quickpanel__body:has(#favoritesList) .favPanel__list .station:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}


/*.quickpanel__body:has(#favoritesList) .favPanel__list .station{
  border-top: 1px solid rgba(255,255,255,0.06);
}

.quickpanel__body:has(#favoritesList) .favPanel__list .station:first-child{
  border-top: 0;
}

/* Accordion */
.acc {
  width: 100%;
}

.acc__item {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.acc__btn {
  width: 100%;
  padding: var(--s-4) 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  font: inherit;
  text-align: left;
}

.acc__label {
  font-size: 14px;
  line-height: 1.1;
  font-weight: 500;
}

.acc__chev {
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255, 255, 255, 0.85);
  border-bottom: 2px solid rgba(255, 255, 255, 0.85);
  transform: rotate(-45deg);
  opacity: 0.9;
  flex: 0 0 auto;
}

.acc__item.is-open .acc__chev {
  transform: rotate(45deg);
}

.acc__panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 220ms ease, opacity 180ms ease;
  color: var(--muted);
}

.acc__panel p {
  margin: 0;
  padding: 0 0 var(--s-4);
  font-size: 12px;
  line-height: 1.45;
}

.acc__item.is-open .acc__panel {
  max-height: 100%;
  opacity: 1;
}

.acc__panel ul {
  margin: var(--s-2) 0 0;
  padding-left: 18px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}

.acc__panel li {
  margin: 4px 0;
}

.acc__panel li strong {
  color: var(--text);
  font-weight: 600;
}

.acc__btn--search {
  display: flex;
  align-items: center;
  padding: var(--s-3) var(--s-6);
}

.acc__btn--search .sg__main {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.acc__btn--search .sg__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.acc__btn--search .acc__chev {
  margin-left: auto;
}

/* =========================
   Search grouped results
   ========================= */

.searchGroups .acc__item {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.searchGroups .acc__btn--search {
  padding: 12px var(--s-5);
  gap: 12px;
  justify-content: flex-start;
}

.searchGroups .acc__btn--search {
  display: grid;
  grid-template-columns: 34px 1fr 14px;
  align-items: center;
}

.sg__badge {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;

  background: rgba(60, 255, 180, 0.95);
  color: rgba(0, 0, 0, 0.82);
}

.sg__text {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.searchGroups .acc__label {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sg__sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.searchGroups .acc__panel {
  padding: 0;
}

.searchGroups .station.station--compact {
  padding: 12px var(--s-5);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* =========================
   Contact panel
   ========================= */
.contactPanel__subtitle,
.sharePanel__subtitle {
  margin: 0 0 var(--s-3);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.contactPanel__actions,
.sharePanel__actions {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-3);
  flex-wrap: wrap;
}

.contactPanel__send {
  height: 38px;
  border-radius: 12px;
  padding: 0 var(--s-5);
  flex: 0 0 auto;
  font-size: 12px;
}

.contactPanel__status,
.sharePanel__status {
  font-size: 12px;
  color: var(--muted);
}

#contactStatus.isError {
  color: #ff4d4f;
  font-weight: 700;
}

.hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.quickpanel .field {
  display: grid;
  gap: var(--s-2);
  margin-top: var(--s-3);
}

.quickpanel .field label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
}

.quickpanel .field .req {
  color: rgba(255, 255, 255, 0.62);
}

.quickpanel .field input,
.quickpanel .field textarea {
  width: 100%;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--inputRadius);
  border: 1px solid var(--inputBorder);
  outline: none;
  background: var(--inputBg);
  color: var(--text);
  font: inherit;
  font-size: 12px;
  line-height: 1.45;
}

.quickpanel .field textarea {
  resize: vertical;
  min-height: 120px;
}

.quickpanel .field input::placeholder,
.quickpanel .field textarea::placeholder {
  color: var(--faint);
}

.quickpanel .field__error {
  display: none;
  font-size: 12px;
  color: #ff4d4f;
}

.quickpanel .field.is-invalid .field__error {
  display: block;
}

.quickpanel .field.is-invalid input,
.quickpanel .field.is-invalid textarea {
  border-color: #ff4d4f;
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: #e11d48 !important;
}

.field__error {
  min-height: 1.1em;
}

.field.is-invalid .field__error {
  color: #e11d48;
}

.quickpanel .field--checkbox {
  margin-top: var(--s-3);
}

.quickpanel .field--checkbox .checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  user-select: none;
}

.quickpanel .field--checkbox input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  accent-color: var(--accent, #6d5efc);
  flex: 0 0 auto;
}

.quickpanel .field--checkbox a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.quickpanel .field--checkbox a:hover {
  color: var(--text);
}

.quickpanel .field--checkbox a:hover,
.quickpanel .field--checkbox a:focus-visible {
  color: var(--accent);
}


/* =========================
   Collapsed behavior
   ========================= */
.sidebar.is-collapsed {
  max-height: calc(var(--handleH) + var(--quickNavH) + var(--quickPanelMaxH) + var(--playerMinH));
}

.sidebar.is-collapsed .sidebar__body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.sidebar__body.is-panel .sidebar__top,
.sidebar__body.is-panel .sidebar__list {
  display: none;
}

.sidebar__body:not(.is-panel) .quickpanel {
  display: none;
}

.sidebar__body.is-panel .quickpanel {
  display: grid;
  grid-template-rows: auto 1fr;
}

/* =========================
   Scrollbars
   ========================= */
/* Firefox */
.sidebar__list,
.quickpanel__body,
.sidebar__body {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

/* WebKit */
.sidebar__list::-webkit-scrollbar,
.quickpanel__body::-webkit-scrollbar,
.sidebar__body::-webkit-scrollbar {
  width: 6px;
}

.sidebar__list::-webkit-scrollbar-track,
.quickpanel__body::-webkit-scrollbar-track,
.sidebar__body::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar__list::-webkit-scrollbar-thumb,
.quickpanel__body::-webkit-scrollbar-thumb,
.sidebar__body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.sidebar__list::-webkit-scrollbar-thumb:hover,
.quickpanel__body::-webkit-scrollbar-thumb:hover,
.sidebar__body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.28);
}

.sidebar__list::-webkit-scrollbar-button,
.quickpanel__body::-webkit-scrollbar-button,
.sidebar__body::-webkit-scrollbar-button {
  width: 0;
  height: 0;
  display: none;
}

.sidebar__list::-webkit-scrollbar-corner,
.quickpanel__body::-webkit-scrollbar-corner,
.sidebar__body::-webkit-scrollbar-corner {
  background: transparent;
}


.btn--action {
  height: 38px;
  border-radius: 12px;
  padding: 0 var(--s-5);
  text-decoration: none;
  flex: 0 0 auto;
  margin-bottom: 12px;
}

/* =========================================================
   COOKIE CONSENT
   ========================================================= */

.cookiebar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 9999;
  width: min(960px, calc(100vw - 24px));
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
}

.cookiebar__inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 12px;
  flex-wrap: wrap;
}

.cookiebar__text {
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
}

.cookiebar__text a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.cookiebar__text a:hover,
.cookiebar__text a:focus-visible {
  color: var(--accent);
}

.cookiebar__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.cookiebar .btn {
  padding: 10px 12px;
}

.cookiebar #cookieAccept {
  background: rgba(60, 255, 180, 0.18);
  border: 1px solid rgba(60, 255, 180, 0.35);
  color: #fff;
}

.cookiebar #cookieReject {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 999px;
  font-weight: 600;
}

.cookiebar #cookieReject:hover,
.cookiebar #cookieReject:active,
.cookiebar #cookieReject:focus-visible {
  background: rgba(60, 255, 180, 0.18);
  border: 1px solid rgba(60, 255, 180, 0.35);
  color: #fff;
  border-radius: var(--btnRadius);
}

.cookiebackdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
}

body.cookie-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .cookiebar {
    left: 50%;
    bottom: 12px;
    width: calc(100vw - 16px);
    padding: 14px 14px;
    border-radius: 16px;
  }

  .cookiebar__text {
    font-size: 13px;
  }
}

.cookie-manage {
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.cookie-manage:hover,
.cookie-manage:focus-visible {
  color: var(--accent);
}

.acc__panel a[href^="#"] {
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.acc__panel a[href^="#"]:hover,
.acc__panel a[href^="#"]:focus-visible {
  color: var(--accent);
}

/* =========================
   Volume slider
   ========================= */

.player__slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 20px;
  background: transparent;
  cursor: pointer;
}


.player__slider::-webkit-slider-runnable-track {
  height: 2px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
}

.player__slider::-moz-range-track {
  height: 2px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
}

/* ---------- Thumb ---------- */

/* Chrome / Edge / Safari */
.player__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  margin-top: -4px;
  background: #fff;
  border-radius: 50%;
  border: none;
}

/* Firefox */
.player__slider::-moz-range-thumb {
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  border: none;
}

/* ---------- Hover / focus ---------- */

.player__slider:hover::-webkit-slider-thumb,
.player__slider:focus-visible::-webkit-slider-thumb,
.player__slider:hover::-moz-range-thumb,
.player__slider:focus-visible::-moz-range-thumb {
  transform: scale(1.2);
  background: var(--accent);
}

.player {
  background: color-mix(in srgb, var(--accent) 18%, transparent);
}

/* =========================
       404 page layout
========================= */

body {
  overflow: hidden;
}

.page404 {
  position: fixed;
  inset: 0;
  z-index: 2;

  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}

.page404__inner {
  max-width: 520px;
}

.page404__title {
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.page404__subtitle {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 28px;
}

.page404__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 22px;
  border-radius: 14px;

  background: rgba(60, 255, 180, 0.18);
  border: 1px solid rgba(60, 255, 180, 0.35);
  color: var(--text);

  text-decoration: none;
  font-weight: 600;
}

.page404__btn:hover {
  background: rgba(60, 255, 180, 0.28);
}

/* =========================
   Intro / Loading overlay
   ========================= */

.intro {
  position: fixed;
  inset: 0;
  z-index: 9997;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: opacity 320ms ease, visibility 0s linear 320ms;
}

.intro__inner {
  width: min(520px, 92vw);
}

.intro__title {
  margin: 0 0 10px;
  font-size: clamp(44px, 7vw, 68px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.intro__subtitle {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.35;
  color: var(--muted);
}

.intro__progress {
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  display: none;

}

.intro__bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 999px;
  animation: introFill 7s linear forwards;
  display: none;
}

.intro.is-hidden {
  opacity: 0;
  visibility: hidden;
}

@keyframes introFill {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

body.is-intro-active #sidebar {
  display: none;
}

/* =========================
   MapLibre adjustments
   ========================= */
.maplibregl-ctrl-group {
  background: rgba(10, 12, 16, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(10px);
}

.maplibregl-ctrl button {
  filter: invert(1);
  opacity: 0.85;
}

.maplibregl-ctrl-attrib-button {
  box-shadow: none !important;
}

/* =========================
   Legal/other pages
   ========================= */

.page-legal {
  overflow: auto;
}

.legal {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: 24px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.legal__card {
  width: min(920px, 100%);
  padding: 18px;
  overflow: hidden;
}

.legal__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 6px 6px 14px;
  border-bottom: 1px solid var(--accent);
  margin-bottom: 14px;
}

.legal__title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.legal__meta {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}

.legal__body {
  padding: 0 6px 10px;
  color: var(--text);
  line-height: 1.55;
}

.legal__body p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.86);
}

.legal__body h2 {
  margin: 18px 0 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.legal__body ul {
  margin: 0 0 12px;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.86);
}

.legal__body li {
  margin: 6px 0;
}

.legal__toplinks {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.legal__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.legal__link:hover {
  background: rgba(60, 255, 180, 0.18);
  border-color: rgba(60, 255, 180, 0.35);
}

.legal__cta {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--accent);
  display: flex;
  justify-content: center;
}

.legal__cta-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--accent);
  overflow: hidden;
  box-shadow:
    0 0 0 rgba(60, 255, 180, 0.0);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.legal__cta-link:hover,
.legal__cta-link:focus-visible {
  transform: translateY(-1px);
  background: rgba(60, 255, 180, 0.12);
  box-shadow:
    0 0 24px rgba(60, 255, 180, 0.35);
}

.legal__cta-text {
  position: relative;
  z-index: 2;
}

.legal__cta-wave {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg,
      transparent 0%,
      rgba(60, 255, 180, 0.35) 50%,
      transparent 100%);
  transform: translateX(-120%);
  animation: radioWave 3.6s ease-in-out infinite;
  opacity: 0.7;
}

.legal__body a.legal__link-strong {
  color: #ffffff;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.legal__body a.legal__link-strong:hover,
.legal__body a.legal__link-strong:focus-visible {
  color: var(--accent);
}

.intro__play {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--accent);
  color: #fff;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--accent);

}

.intro__play:hover,
.intro__play:focus-visible {

  background: rgba(60, 255, 180, 0.12);
  box-shadow:
    0 0 24px rgba(60, 255, 180, 0.35);
}

.intro__play-slot {
  height: 48px;
}

.intro__play:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px rgba(60, 255, 180, 0.55),
    0 0 24px rgba(60, 255, 180, 0.35);
}

/* =========================
   Share panel
   ========================= */
.sharePanel {
  display: grid;
  gap: var(--s-4);
}

.sharePanel__meta {
  padding-bottom: var(--s-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sharePanel__title {
  font-weight: 800;
  font-size: 16px;
  color: var(--accent);
  overflow: hidden;
  text-overflow: ellipsis;
}

.sharePanel__sub {
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sharePanel__sectionTitle {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: var(--s-2);
}

/* =========================
   Share panel – tag buttons
   ========================= */

.sharePanel__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 12px;
}

.sharePanel__tag {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--btnRadius);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.05s ease;
}

.sharePanel__tag:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.sharePanel__tag:active {
  transform: translateY(1px);
}

.sharePanel__tag:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(120, 255, 210, 0.35);
}

.tagChip {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  line-height: 1;
  user-select: none;
}

.sharePanel__muted {
  color: var(--muted);
  font-size: 12px;
}

.sharePanel__visit.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.sharePanel__social {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--s-2);
}

@media (max-width: 380px) {
  .sharePanel__social {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.sharePanel__social .iconBtn {
  width: 100%;
}

.sharePanel__status {
  margin-top: var(--s-2);
  font-size: 12px;
  color: var(--muted);
  min-height: 1.2em;
}

.search__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;

  width: 14px;
  height: 14px;
  cursor: pointer;

  background-color: transparent;
  mask-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>\
<path stroke='white' stroke-width='2' stroke-linecap='round' d='M6 6l12 12M18 6l-12 12'/>\
</svg>");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;

  background: white;
  opacity: 0.9;
}

.search__input::-webkit-search-cancel-button:hover {
  opacity: 1;
}