:root {
  --page: #dcefff;
  --page-2: #cbe6ff;
  --page-3: #edf8ff;
  --card: rgba(9, 14, 24, 0.62);
  --card-soft: rgba(255, 255, 255, 0.48);
  --card-strong: rgba(7, 10, 18, 0.76);
  --line: rgba(255,255,255,0.16);
  --line-dark: rgba(8,16,34,0.12);
  --text: #f4f7fb;
  --muted: #d6e0ee;
  --dark-text: #19324e;
  --dark-muted: #4a6586;
  --accent: #ff4da6;
  --accent-2: #3ecbff;
  --accent-3: #ffc857;
  --shadow: 0 28px 80px rgba(18, 48, 78, 0.22);
  --shadow-soft: 0 16px 45px rgba(49, 96, 140, 0.14);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 18%, rgba(62, 203, 255, 0.26), transparent 18%),
    radial-gradient(circle at 88% 10%, rgba(255, 77, 166, 0.12), transparent 20%),
    radial-gradient(circle at 70% 76%, rgba(255, 200, 87, 0.13), transparent 18%),
    linear-gradient(180deg, var(--page-3), var(--page) 38%, var(--page-2));
  overflow-x: hidden;
}

.bg,
.bg-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.bg {
  opacity: .45;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.75), transparent 12%),
    radial-gradient(circle at 75% 15%, rgba(62,203,255,.24), transparent 16%),
    radial-gradient(circle at 80% 80%, rgba(255,77,166,.12), transparent 16%);
}
.bg-overlay {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0));
}

.app-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 430px);
  gap: 24px;
  padding: 24px;
  max-width: 1600px;
  margin: 0 auto;
}

.hero-panel,
.stations-panel {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: linear-gradient(145deg, rgba(9, 16, 27, 0.58), rgba(11, 18, 28, 0.42));
  border: 1px solid rgba(255,255,255,0.12);
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('assets/bg-radio.png') center right / cover no-repeat;
  opacity: .38;
  transform: scale(1.03);
}
.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(6,12,20,.68) 10%, rgba(6,12,20,.48) 42%, rgba(8,12,18,.18) 78%, rgba(8,12,18,.08));
}
.hero-panel > * { position: relative; z-index: 1; }

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}
.brand-badge {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 77, 166, 0.16);
  color: #ffd8ea;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.brand h1 {
  margin: 14px 0 8px;
  font-size: clamp(2rem, 3vw, 3.15rem);
  line-height: 1.02;
  text-shadow: 0 8px 28px rgba(0,0,0,.35);
}
.brand p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 560px;
  background: linear-gradient(180deg, rgba(8,10,16,0.12), rgba(6,8,14,0.32));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 22px 46px rgba(0,0,0,.18);
}
.player-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('assets/bg-radio.png') center right / cover no-repeat;
  filter: saturate(1.08) contrast(1.04);
  opacity: .82;
  transform: scale(1.025);
}
.player-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 72%, rgba(62,203,255,0.22), transparent 24%),
    radial-gradient(circle at 85% 18%, rgba(255,200,87,0.24), transparent 18%),
    linear-gradient(115deg, rgba(6,11,17,.52) 0%, rgba(7,11,18,.34) 38%, rgba(8,11,18,.12) 62%, rgba(8,11,18,.26) 100%);
}
.player-card > * { position: relative; z-index: 1; }

.now-playing-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}
.artwork {
  width: 126px;
  height: 126px;
  border-radius: 32px;
  position: relative;
  background: linear-gradient(145deg, rgba(255,77,166,0.24), rgba(62,203,255,0.18));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04), 0 20px 40px rgba(0,0,0,0.35);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.artwork::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 38px;
  border: 1px solid rgba(255,255,255,.08);
}
.artwork-ring {
  position: absolute;
  inset: 14px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.16);
}
.artwork-center {
  font-size: 2.4rem;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.25));
}
.now-playing-text h2 {
  margin: 6px 0 10px;
  font-size: clamp(1.5rem, 2.1vw, 2.25rem);
  line-height: 1.05;
}
.now-playing-text p,
.eyebrow {
  margin: 0;
  color: var(--muted);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .74rem;
  font-weight: 700;
  color: #ffe0a9;
}

.equalizer-card {
  padding: 18px 18px 14px;
  border-radius: var(--radius-lg);
  background: rgba(4, 10, 20, 0.22);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.equalizer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: .95rem;
}
.equalizer {
  height: 116px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}
.equalizer .bar {
  flex: 1;
  min-width: 6px;
  height: 18%;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent), var(--accent-3));
  opacity: .92;
  transform-origin: bottom center;
  animation: idle 1.3s ease-in-out infinite;
  animation-play-state: paused;
  box-shadow: 0 0 18px rgba(62,203,255,0.18);
}
.equalizer.playing .bar {
  animation-play-state: running;
}
.equalizer .bar:nth-child(3n) { animation-duration: 1.05s; }
.equalizer .bar:nth-child(4n) { animation-duration: 1.55s; }
.equalizer .bar:nth-child(5n) { animation-duration: 1.25s; }
@keyframes idle {
  0%, 100% { transform: scaleY(.4); opacity: .78; }
  50% { transform: scaleY(1); opacity: 1; }
}

.controls {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.transport {
  display: flex;
  align-items: center;
  gap: 14px;
}
.circle-btn,
.play-btn,
.ghost-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.circle-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--text);
  font-size: 1.18rem;
  border: 1px solid rgba(255,255,255,0.1);
}
.play-btn {
  min-width: 76px;
  height: 76px;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #ff79bc 45%, #ffb0d5);
  color: white;
  font-size: 1.62rem;
  box-shadow: 0 16px 30px rgba(255,77,166,0.3);
}
.ghost-btn {
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: .98rem;
}
.circle-btn:hover,
.play-btn:hover,
.ghost-btn:hover,
.station-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.volume-box {
  flex: 1 1 280px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}
#volumeRange {
  width: min(100%, 230px);
  accent-color: var(--accent);
}
.helper-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.helper-chip {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: var(--muted);
  font-size: .9rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.stations-panel {
  padding: 22px;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 48px);
  color: var(--dark-text);
  background: linear-gradient(180deg, rgba(255,255,255,.62), rgba(241,249,255,.54));
  border: 1px solid rgba(19, 61, 105, 0.10);
  box-shadow: var(--shadow-soft);
}
.panel-head h3 {
  margin: 0 0 8px;
  font-size: 1.4rem;
  color: #17365e;
}
.panel-head p,
.panel-foot {
  margin: 0;
  color: var(--dark-muted);
}
.stations-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: auto;
  padding-right: 6px;
}
.station-item {
  width: 100%;
  text-align: left;
  color: inherit;
  font: inherit;
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  padding-right: 52px;
  border-radius: 18px;
  background: rgba(255,255,255,0.44);
  border: 1px solid rgba(16, 58, 102, 0.08);
  cursor: pointer;
  transition: background .18s ease, transform .18s ease, border-color .18s ease;
}
.station-item.active {
  background: linear-gradient(135deg, rgba(255,77,166,0.16), rgba(62,203,255,0.14));
  border-color: rgba(56, 96, 145, 0.24);
}
.station-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  letter-spacing: -.04em;
  background: var(--station-color, #3f4662);
  color: #fff;
  box-shadow: inset 0 1px 8px rgba(255,255,255,.13);
  flex: 0 0 auto;
}
.station-copy {
  min-width: 0;
  padding-right: 10px;
}
.station-copy strong {
  display: block;
  font-size: 1rem;
  line-height: 1.15;
}
.station-copy span {
  display: block;
  color: var(--dark-muted);
  margin-top: 4px;
  font-size: .9rem;
}
.panel-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(14, 47, 83, 0.09);
}

.filters{margin-top:18px;display:flex;flex-direction:column;gap:10px}
#stationSearch{width:100%;border:1px solid rgba(18,57,98,.15);background:rgba(255,255,255,.72);color:#18304c;border-radius:12px;padding:13px 14px;font:inherit;outline:none}
#stationSearch:focus{border-color:var(--accent-2)}
.filter-buttons{display:flex;gap:8px;flex-wrap:wrap}
.filter{border:1px solid rgba(16,52,93,.14);border-radius:999px;padding:8px 11px;color:var(--dark-muted);background:rgba(255,255,255,.6);cursor:pointer;font-weight:700}
.filter.active{color:#fff;border-color:var(--accent);background:rgba(255,77,166,.8)}
.check-status{font-size:.82rem;color:var(--dark-muted);margin:0}
.station-actions{margin-left:auto;position:absolute;right:10px;top:50%;transform:translateY(-50%)}
.fav-toggle{cursor:pointer;position:relative;z-index:3;background:none;border:none;color:#8b96a5;font-size:1.75rem;line-height:1;min-width:40px;min-height:42px}
.fav-toggle.is-favorite{color:#ffc857}
.station-item.is-unavailable{opacity:.58}
.station-state{display:inline-block;margin-top:4px;color:#ba5e2f;font-size:.78rem}
.station-item[hidden]{display:none!important}

@media (max-width: 1100px) {
  .app-shell {
    grid-template-columns: 1fr;
  }
  .stations-panel {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .app-shell {
    padding: 14px;
    gap: 14px;
  }
  .hero-panel,
  .stations-panel {
    border-radius: 22px;
  }
  .hero-panel {
    padding: 16px;
  }
  .hero-panel::before {
    background-position: 68% center;
    opacity: .34;
  }
  .player-card {
    padding: 16px;
    gap: 18px;
    min-height: auto;
    background: linear-gradient(180deg, rgba(8,10,16,0.10), rgba(6,8,14,0.28));
  }
  .player-card::before {
    background-position: 67% center;
  }
  .player-card::after {
    background: linear-gradient(180deg, rgba(5,9,15,.38) 0%, rgba(5,9,15,.20) 28%, rgba(5,9,15,.36) 100%);
  }
  .hero-top {
    flex-direction: column;
    align-items: stretch;
  }
  .brand h1 {
    font-size: 2rem;
  }
  .brand p {
    font-size: 1rem;
  }
  .now-playing-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .artwork {
    width: 96px;
    height: 96px;
    border-radius: 26px;
  }
  .now-playing-text h2 {
    font-size: 1.4rem;
  }
  .controls {
    flex-direction: column;
    align-items: stretch;
  }
  .transport {
    justify-content: center;
  }
  .play-btn {
    min-width: 68px;
    height: 68px;
    font-size: 1.45rem;
  }
  .circle-btn {
    width: 46px;
    height: 46px;
    font-size: 1rem;
  }
  .volume-box {
    justify-content: stretch;
    flex-direction: column;
    align-items: stretch;
  }
  #volumeRange {
    width: 100%;
  }
  .stations-panel {
    padding: 16px;
  }
  .station-item {
    padding: 12px;
    padding-right: 48px;
  }
  .stations-list{gap:9px}
  .filter{font-size:.87rem}
}


/* v1.3: genuine station image treatment + illuminated spectrum display */
.station-icon.has-image { background:#fff !important; padding:3px; overflow:hidden; border:1px solid rgba(17,48,87,.12); }
.station-icon.has-image img { width:100%;height:100%;display:block;object-fit:contain;border-radius:10px; }
.equalizer-card { position:relative;overflow:hidden;background:linear-gradient(180deg,rgba(4,10,20,.22),rgba(5,16,32,.34));box-shadow:inset 0 0 24px rgba(62,203,255,.08),0 12px 35px rgba(0,0,0,.10); }
.equalizer-card::before {content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0 21px,rgba(158,228,255,.065) 22px 23px),repeating-linear-gradient(90deg,transparent 0 32px,rgba(158,228,255,.035) 33px 34px);pointer-events:none;}
.equalizer-header {position:relative;z-index:1;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#deecff;}
.equalizer {position:relative;z-index:1;height:150px;gap:5px;align-items:flex-end;padding:10px 4px 5px;border-bottom:2px solid rgba(62,203,255,.3);filter:drop-shadow(0 0 9px rgba(62,203,255,.16));}
.equalizer .bar { flex:1;min-width:4px;height:13%;border-radius:7px 7px 2px 2px;animation:none!important;transform:none!important;transition:height .10s ease-out,opacity .10s ease-out;position:relative;background:linear-gradient(to top,#21c5ff 0%,#27e1e4 30%,#f8dd68 58%,#ff8d6b 76%,#ff4da6 100%);box-shadow:0 0 8px rgba(29,200,255,.25),0 0 2px rgba(255,255,255,.3); }
.equalizer .bar:after {content:"";position:absolute;top:0;left:0;right:0;height:4px;border-radius:100%;background:#f2ffff;box-shadow:0 0 10px rgba(255,255,255,.55);}
.equalizer.playing {filter:drop-shadow(0 0 11px rgba(62,203,255,.45));}
.station-item.active::before {content:"";position:absolute;left:0;top:15%;bottom:15%;width:4px;border-radius:4px;background:linear-gradient(#ff4da6,#3ecbff);box-shadow:0 0 12px #ff4da6;}
@media(max-width:720px){.equalizer{height:125px;gap:3px}.equalizer .bar{min-width:2px}}


/* v1.4 — five visual themes, top controls, picture and lower EQ */
.header-actions { display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:flex-end; gap:12px; }
.skin-picker { display:flex; flex-direction:column; gap:6px; color:#f0f5ff; font-weight:750; font-size:.84rem; letter-spacing:.02em; }
#skinSelect { appearance:auto; min-height:46px; max-width:210px; padding:9px 12px; border-radius:12px; border:1px solid rgba(255,255,255,.32); background:#1a2b40; color:#fff; font:inherit; font-size:1rem; cursor:pointer; }
#skinSelect option { color:#152a43; background:#e8f3ff; }
.player-card { gap:20px; }
.player-card .controls { order:1; padding:9px 8px 10px; border-radius:20px; background:rgba(5,10,19,.26); border:1px solid rgba(255,255,255,.14); backdrop-filter:blur(8px); }
.player-card .now-playing-wrap { order:2; min-height:230px; align-items:flex-start; padding-top:16px; }
.player-card .equalizer-card { order:3; }
.player-card audio {order:4;}
.player-card .helper-row {order:5;}
.onair-info { display:grid; grid-template-columns:10px 1fr; column-gap:8px; row-gap:5px; margin-top:16px; padding:13px 15px; border-radius:15px; background:rgba(5,11,22,.40); border:1px solid rgba(255,255,255,.15); max-width:440px; backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); }
.onair-dot { width:9px; height:9px; align-self:center; border-radius:50%; background:#f84b98; box-shadow:0 0 12px #f84b98; }
.onair-label { color:#ffbad9; font-size:.72rem; font-weight:850; letter-spacing:.14em; }
#onairTitle { grid-column:1/-1; color:#fff; font-size:clamp(1rem,1.6vw,1.24rem); line-height:1.35; overflow-wrap:anywhere; }
.equalizer-card { margin-top:6px; background:rgba(3,9,20,.28); }
.equalizer { height:180px; }
.equalizer .bar {background:linear-gradient(to top,#2ad3fe,#59efdc 27%,#fce875 55%,#ff945f 76%,#ff45b1);box-shadow:0 0 14px rgba(62,203,255,.35),0 0 24px rgba(255,77,166,.1);}
/* Skins: each changes the page and both panels, not just an accent. */
body[data-skin="neon"] {background:radial-gradient(circle at 18% 20%,#382258,#0c1434 45%,#0a1020 100%);}
body[data-skin="neon"] .stations-panel {background:linear-gradient(150deg,rgba(26,23,61,.96),rgba(10,18,44,.94));color:#f2eafd;border-color:rgba(200,112,255,.26)}
body[data-skin="neon"] .panel-head h3,body[data-skin="neon"] .station-item{color:#f2eafd}
body[data-skin="neon"] .panel-head p,body[data-skin="neon"] .panel-foot,body[data-skin="neon"] .station-copy span,body[data-skin="neon"] .check-status {color:#c4b9e5}
body[data-skin="neon"] .station-item,body[data-skin="neon"] #stationSearch,body[data-skin="neon"] .filter {background:rgba(114,82,164,.17);color:#f2eafd;border-color:rgba(192,153,255,.26)}
body[data-skin="neon"] .hero-panel {background:linear-gradient(135deg,#170c32,#2b1049);box-shadow:0 22px 65px rgba(147,39,215,.26)}
body[data-skin="gold"] {background:linear-gradient(160deg,#090b0c,#262019 50%,#0a0a0a)}
body[data-skin="gold"] .stations-panel {background:linear-gradient(150deg,#221c16,#11110f);color:#f9ead0;border-color:rgba(255,205,95,.26)}
body[data-skin="gold"] .panel-head h3,body[data-skin="gold"] .station-item {color:#ffedc8}
body[data-skin="gold"] .panel-head p,body[data-skin="gold"] .panel-foot,body[data-skin="gold"] .station-copy span,body[data-skin="gold"] .check-status{color:#c9b89a}
body[data-skin="gold"] .station-item,body[data-skin="gold"] #stationSearch,body[data-skin="gold"] .filter {background:rgba(255,221,150,.09);color:#ffedcf;border-color:rgba(255,211,112,.2)}
body[data-skin="gold"] .hero-panel{background:#14110d;border-color:rgba(255,211,100,.28)}
body[data-skin="gold"] .play-btn{background:linear-gradient(145deg,#b2771c,#ffd57b);box-shadow:0 10px 35px rgba(221,177,70,.25)}
body[data-skin="rose"] {background:linear-gradient(150deg,#fff0f9,#edc1de 45%,#ffe1ed)}
body[data-skin="rose"] .stations-panel{background:linear-gradient(160deg,#fff9fe,#f9dfeb);color:#723456;border-color:#e8a5cc}
body[data-skin="rose"] .panel-head h3,body[data-skin="rose"] .station-item{color:#71324f}
body[data-skin="rose"] .panel-head p,body[data-skin="rose"] .panel-foot,body[data-skin="rose"] .station-copy span,body[data-skin="rose"] .check-status{color:#975b79}
body[data-skin="rose"] .station-item,body[data-skin="rose"] #stationSearch,body[data-skin="rose"] .filter{background:#fff8fc;color:#78375a;border-color:#e8b6d4}
body[data-skin="rose"] .hero-panel{background:linear-gradient(125deg,#39283b,#4c2946)}
body[data-skin="mint"] {background:linear-gradient(155deg,#e7fff6,#b3ecde 50%,#defcf2)}
body[data-skin="mint"] .stations-panel {background:linear-gradient(160deg,#f8fffc,#d7f5e9);color:#175244;border-color:#85cfb6}
body[data-skin="mint"] .panel-head h3,body[data-skin="mint"] .station-item{color:#205948}
body[data-skin="mint"] .panel-head p,body[data-skin="mint"] .panel-foot,body[data-skin="mint"] .station-copy span,body[data-skin="mint"] .check-status{color:#487969}
body[data-skin="mint"] .station-item,body[data-skin="mint"] #stationSearch,body[data-skin="mint"] .filter{background:#f5fffb;color:#205948;border-color:#a2ddc9}
body[data-skin="mint"] .hero-panel{background:linear-gradient(125deg,#0d373b,#153e30)}
body[data-skin="mint"] .play-btn{background:linear-gradient(145deg,#00bca1,#79dec6);box-shadow:0 10px 30px rgba(0,150,135,.3)}
@media(max-width:720px){.header-actions{justify-content:flex-start}.hero-top{gap:16px}.player-card .controls{order:1;gap:10px}.player-card .now-playing-wrap{order:2;min-height:180px}.player-card .equalizer-card{order:3}.equalizer{height:125px}.onair-info{width:100%}#skinSelect{max-width:100%}.player-card{gap:12px}}


/* v1.5 – nähtav 5 skinniga valik */
.header-actions{align-items:center!important;gap:14px!important}
.skin-picker{min-width:350px;gap:8px!important}
.skin-heading{font-size:1rem;font-weight:850;color:#fff;letter-spacing:.03em}
.skin-options{display:flex;flex-wrap:nowrap;gap:7px}
.skin-option{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer;border:2px solid rgba(255,255,255,.19);color:#eff8ff;background:rgba(4,12,26,.72);border-radius:12px;padding:7px 8px;min-width:59px;font:700 11px/1.1 Arial,sans-serif;transition:transform .18s,border-color .18s,box-shadow .18s}
.skin-option:hover{transform:translateY(-2px);border-color:#fff}
.skin-option.active{border-color:#ff6ab6;box-shadow:0 0 0 2px rgba(255,106,182,.22),0 0 20px rgba(255,77,166,.25)}
.swatch{width:28px;height:25px;border-radius:8px;display:block;border:1px solid rgba(255,255,255,.35)}
.swatch.sky{background:linear-gradient(140deg,#e9f7ff,#63b3fa)}
.swatch.neon{background:linear-gradient(140deg,#181342,#a43be9,#1fd5ff)}
.swatch.gold{background:linear-gradient(140deg,#181008,#d4a331)}
.swatch.rose{background:linear-gradient(140deg,#fff0f8,#e654a4)}
.swatch.mint{background:linear-gradient(140deg,#d8fff4,#33b9a1)}

/* v1.5 – paremini nähtav EQ, pehme ooterežiim, säravam mängides */
.equalizer{height:178px!important;align-items:flex-end}
.equalizer .bar{height:10%;min-height:3px;transform:none!important;animation:none!important;transition:height .08s linear,opacity .12s linear!important}
.equalizer.playing .bar{filter:saturate(1.4) brightness(1.22);box-shadow:0 0 14px rgba(62,203,255,.48),0 0 24px rgba(255,77,166,.16)}

/* v1.5 – parempoolne nimekiri pleieri kõrguses ja eraldi keritav */
.app-shell{align-items:start}
.stations-panel{min-height:0!important;overflow:hidden;display:flex!important;flex-direction:column!important}
.stations-panel .panel-head,.stations-panel .filters,.stations-panel .panel-foot{flex-shrink:0}
.stations-list{min-height:0!important;flex:1 1 0!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#8ab6da transparent}
.stations-list::-webkit-scrollbar{width:8px}
.stations-list::-webkit-scrollbar-thumb{background:#8ab6da;border-radius:20px}
.stations-list::-webkit-scrollbar-track{background:transparent}
@media(max-width:1100px){.stations-panel{height:min(66vh,620px)!important;min-height:340px!important}}
@media(max-width:720px){.skin-picker{min-width:0;width:100%}.skin-options{gap:5px;justify-content:space-between}.skin-option{min-width:0;flex:1;padding:7px 3px;font-size:10px}.header-actions{width:100%;justify-content:space-between}.stations-panel{height:min(65vh,580px)!important;min-height:360px!important}.equalizer{height:125px!important}}

/* v1.6: skinnid nähtaval, kontrollid ekvalaiseri peal */
.hero-top {flex-wrap:wrap;align-items:flex-start}
.header-actions{width:100%;display:flex!important;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.skin-picker{display:flex!important;visibility:visible!important;opacity:1!important;min-width:0!important;width:auto;flex:1 1 380px}
.skin-options{display:flex!important;visibility:visible!important;flex-wrap:wrap!important;gap:8px!important}
.skin-option{min-width:70px!important;min-height:58px!important}
.player-card .now-playing-wrap{order:1}
.player-card .equalizer-card{order:2;position:relative;overflow:hidden;isolation:isolate;padding:16px 16px 20px!important}
.player-card .helper-row{order:3}
.equalizer-card .equalizer{height:210px!important;opacity:.87}
.equalizer-card .controls{position:absolute!important;z-index:3;left:24px;right:24px;top:48%;transform:translateY(-35%);order:unset!important;display:flex!important;align-items:center;justify-content:space-between;background:rgba(3,10,25,.42)!important;border:1px solid rgba(255,255,255,.18);padding:12px 18px!important;box-shadow:0 12px 34px rgba(0,0,0,.22);border-radius:20px;backdrop-filter:blur(12px)}
.equalizer-card .controls .play-btn{box-shadow:0 8px 26px rgba(255,77,166,.4)}
@media(max-width:720px){.header-actions{flex-direction:column;align-items:stretch}.skin-picker{width:100%;flex:auto}.skin-option{min-width:54px!important;flex:1 1 54px}.equalizer-card .equalizer{height:250px!important}.equalizer-card .controls{left:8px;right:8px;top:50%;flex-direction:column;gap:8px;padding:10px 8px!important}.equalizer-card .controls .volume-box{flex:0 1 auto;width:100%;flex-direction:row;justify-content:center}.equalizer-card .controls #volumeRange{width:35%;min-width:80px}.equalizer-card .controls .transport{gap:10px}}


/* v1.7 VAADE drop-down and five equalizer appearances */
.header-actions{position:relative;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:12px;width:auto!important;flex:0 0 auto!important;margin-left:auto}
.hero-top{align-items:flex-start!important}
.view-menu{position:relative;z-index:20;color:#fff}
.view-menu summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:9px;padding:13px 17px;border-radius:14px;border:1px solid rgba(255,255,255,.24);background:rgba(7,15,30,.76);font-weight:850;letter-spacing:.06em;min-height:45px;user-select:none}
.view-menu summary::-webkit-details-marker{display:none}
.view-menu summary:focus-visible,.view-options button:focus-visible{outline:3px solid #60dafe;outline-offset:3px}
.view-menu[open] summary{background:#263752;border-color:#5acafc}
.menu-chevron{font-size:1.1rem;transition:transform .2s}
.view-menu[open] .menu-chevron{transform:rotate(180deg)}
.view-dropdown{position:absolute;z-index:40;top:calc(100% + 9px);right:0;width:min(320px,calc(100vw - 28px));max-height:min(560px,75vh);overflow:auto;padding:17px;background:#101b2b;border:1px solid rgba(129,203,255,.35);border-radius:19px;box-shadow:0 26px 75px rgba(0,0,0,.55);color:#fff}
.view-label{margin:5px 0 10px;font-size:.83rem;letter-spacing:.09em;font-weight:850;color:#a8dffc;text-transform:uppercase}
.view-label:not(:first-child){margin-top:20px;padding-top:15px;border-top:1px solid rgba(255,255,255,.16)}
.view-options{display:grid;gap:6px}
.view-options button{border-radius:11px;min-height:40px;text-align:left;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.09);color:#ecf4ff;padding:9px 11px;cursor:pointer;font:inherit;font-size:.91rem;font-weight:650}
.view-options button.active{border-color:#ff78bf;background:rgba(255,77,166,.24);box-shadow:inset 3px 0 #ff4da6}
.view-options button:hover{background:rgba(62,203,255,.18)}
/* No marketing labels below the player: give the image and controls more vertical space */
.player-card{margin-top:20px!important;padding-bottom:32px!important;min-height:590px!important}
.player-card .helper-row{display:none!important}
.equalizer .bar{transition:height .07s ease-out,opacity .08s ease-out,filter .12s!important}
body[data-eq="neon"] .equalizer .bar{background:linear-gradient(to top,#6926fc,#ff47d2 65%,#9ee5ff)!important;box-shadow:0 0 12px #fa4bff,0 0 26px rgba(180,41,252,.45)!important;border-radius:12px}
body[data-eq="neon"] .equalizer-card{background:linear-gradient(150deg,rgba(48,13,83,.8),rgba(7,13,34,.76))!important}
body[data-eq="wave"] .equalizer .bar{background:linear-gradient(to top,#00bcef,#19f6cb 55%,#e2ffff)!important;border-radius:999px!important;box-shadow:0 0 11px rgba(28,243,225,.47)!important}
body[data-eq="wave"] .equalizer-card{background:linear-gradient(170deg,rgba(6,58,82,.65),rgba(7,13,34,.76))!important}
body[data-eq="retro"] .equalizer .bar{border-radius:0!important;background:repeating-linear-gradient(to top,#68f77c 0 8px,rgba(0,0,0,.75) 8px 12px)!important;box-shadow:0 0 9px rgba(70,255,115,.35)!important}
body[data-eq="retro"] .equalizer-card{background:rgba(4,27,17,.79)!important}
body[data-eq="minimal"] .equalizer .bar{background:#b4e6ff!important;box-shadow:none!important;border-radius:4px!important;opacity:.8!important}
body[data-eq="minimal"] .equalizer-card{background:rgba(14,22,34,.75)!important}
@media(max-width:720px){
 .hero-top{flex-direction:column!important}
 .header-actions{margin-left:0!important;width:100%!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important}
 .view-dropdown{left:0;right:auto}
 .player-card{margin-top:10px!important;min-height:0!important;padding-bottom:20px!important}
}


/* v1.9 – VAADE rippmenüü peab avanema pildi ja pleieri KOHAL */
.hero-panel {
  overflow: visible !important; /* ära lõika avatud menüüd ära */
  isolation: isolate;
}
.hero-panel::before,
.hero-panel::after {
  border-radius: inherit;
  pointer-events: none;
}
.hero-panel > .hero-top {
  position: relative;
  z-index: 100 !important;
  overflow: visible !important;
}
.hero-panel > .player-card {
  position: relative;
  z-index: 1 !important;
}
.header-actions,
.view-menu,
.view-menu[open] {
  overflow: visible !important;
}
.view-menu[open] { z-index: 200 !important; }
.view-dropdown {
  z-index: 201 !important;
  max-height: min(66vh, 560px);
  overflow-y: auto;
}
@media (max-width: 720px) {
  .view-dropdown { max-height: min(67vh, 530px); }
}

/* v1.9: transparent visualizer, selected station emblem, lower transport, studio clock */
.equalizer-card{position:relative!important;isolation:isolate;overflow:hidden!important;background:rgba(3,12,25,.21)!important;border-color:rgba(255,255,255,.17)!important;backdrop-filter:blur(3px)!important;-webkit-backdrop-filter:blur(3px)!important;min-height:265px!important}
.equalizer-card::before{content:"";position:absolute;inset:0;background:url('assets/bg-radio.png') center 58% / cover no-repeat;opacity:.29;z-index:-2;pointer-events:none}
.equalizer-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,12,23,.11),rgba(5,12,25,.2));z-index:-1;pointer-events:none}
.eq-station-watermark{position:absolute;inset:36px 10px 76px;display:flex;align-items:center;justify-content:center;z-index:0;opacity:.15;pointer-events:none;filter:drop-shadow(0 8px 16px #040913)}
.eq-station-watermark img{width:min(45%,225px);max-height:155px;object-fit:contain}
.eq-logo-fallback{font-size:clamp(42px,9vw,110px);font-weight:950;letter-spacing:-.06em;color:#fff;text-shadow:0 0 24px #74e1ff;text-align:center}
.eq-heading-right{display:flex;align-items:center;gap:14px}
#radioClock{font-variant-numeric:tabular-nums;font-weight:850;color:#b3efff;letter-spacing:.05em;font-size:1.05rem;background:rgba(4,12,22,.34);border:1px solid rgba(148,232,255,.22);padding:5px 10px;border-radius:9px}
.equalizer-card .equalizer{position:relative;z-index:1;opacity:.63!important}
.equalizer-card .controls{top:auto!important;bottom:11px!important;left:15px!important;right:15px!important;transform:none!important;background:rgba(4,12,24,.28)!important;backdrop-filter:blur(7px)!important;-webkit-backdrop-filter:blur(7px)!important;border:1px solid rgba(255,255,255,.16)!important;padding:10px 15px!important}
body[data-eq] .equalizer-card{background:rgba(5,13,28,.2)!important}
@media(max-width:720px){.equalizer-card{min-height:305px!important}.equalizer-card .equalizer{height:245px!important}.equalizer-card .controls{bottom:8px!important;left:7px!important;right:7px!important;padding:8px!important}.eq-station-watermark{inset:42px 10px 125px}.eq-station-watermark img{max-height:110px}#radioClock{font-size:.9rem;padding:4px 7px}}

/* v1.10: nähtav kell ja logo, mitte ühtegi katkist eetriplokki */
#radioClock{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:84px!important;min-height:33px!important;visibility:visible!important;opacity:1!important;z-index:10!important;white-space:nowrap!important;color:#fff!important;background:rgba(11,29,48,.8)!important;font-size:18px!important;font-weight:850!important}
.eq-heading-right{position:relative!important;z-index:15!important}
.eq-station-watermark{opacity:1!important;filter:none!important;inset:45px 18px 110px!important;z-index:1!important}
.eq-station-badge{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;max-width:80%;min-width:125px;padding:10px 20px;background:color-mix(in srgb,var(--station-color,#3676bb) 30%,transparent);border:1px solid rgba(255,255,255,.32);border-radius:20px;box-shadow:0 5px 25px rgba(0,0,0,.22);backdrop-filter:blur(3px);color:#fff;text-shadow:0 2px 10px #000}
.eq-station-badge b{font-size:clamp(30px,5vw,62px);line-height:1;font-weight:950}
.eq-station-badge img{max-height:80px;max-width:155px;object-fit:contain}
.eq-station-badge span{font-size:clamp(15px,2vw,22px);font-weight:800;text-align:center}
.equalizer-card .equalizer{z-index:2!important}
.equalizer-card .controls{z-index:5!important}
@media(max-width:720px){#radioClock{font-size:16px!important;min-width:72px!important}.eq-station-watermark{inset:43px 10px 132px!important}.eq-station-badge{padding:7px 12px}.eq-station-badge b{font-size:32px}}


/* v1.11 — logo only at the top of player, never over the EQ */
.eq-station-watermark,.eq-station-badge{display:none!important}
.artwork{overflow:hidden!important;background:color-mix(in srgb,var(--station-color,#3b6eaa) 45%,rgba(10,21,37,.76))!important}
.artwork-center{position:relative;z-index:3;display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:clamp(1.25rem,2vw,2rem);font-weight:900;letter-spacing:-.04em;color:#fff;text-align:center}
.artwork-center.has-image{padding:9px;background:rgba(255,255,255,.96);border-radius:inherit}
.artwork-center.has-image img{width:100%;height:100%;max-height:100%;object-fit:contain;border-radius:10px}
.station-icon.has-image{background:rgba(255,255,255,.96)!important}
.station-icon.has-image img{object-fit:contain!important}

/* Full-screen mode uses the complete screen, not a centered max-width page. */
:root:fullscreen{width:100vw;height:100dvh;overflow:hidden}
html:fullscreen,body:fullscreen{width:100vw!important;height:100dvh!important;min-height:100dvh!important;overflow:hidden!important}
html:fullscreen .app-shell{
  width:100vw!important;max-width:none!important;height:100dvh!important;min-height:0!important;
  margin:0!important;padding:clamp(9px,1.2vw,20px)!important;
  grid-template-columns:minmax(0,1.45fr) minmax(280px,.75fr)!important;
  align-items:stretch!important;gap:clamp(10px,1.1vw,22px)!important;
  overflow:hidden!important;
}
html:fullscreen .hero-panel,html:fullscreen .stations-panel{height:100%!important;min-height:0!important;max-height:100%!important;overflow:hidden!important}
html:fullscreen .hero-panel{display:flex!important;flex-direction:column!important;min-width:0!important}
html:fullscreen .player-card{flex:1 1 auto!important;min-height:0!important;height:auto!important;overflow:auto!important;display:flex!important;flex-direction:column!important}
html:fullscreen .player-card .now-playing-wrap{flex:1 1 0!important;min-height:0!important;align-items:flex-start!important}
html:fullscreen .equalizer-card{flex:0 0 auto!important}
html:fullscreen .stations-panel{display:flex!important;flex-direction:column!important}
html:fullscreen .stations-list{min-height:0!important;flex:1 1 0!important;overflow-y:auto!important}
@media(max-width:760px){
  html:fullscreen,body:fullscreen{overflow-y:auto!important}
  html:fullscreen .app-shell{grid-template-columns:minmax(0,1fr)!important;height:100dvh!important;overflow-y:auto!important;display:block!important}
  html:fullscreen .hero-panel{height:auto!important;min-height:65dvh!important;overflow:visible!important}
  html:fullscreen .player-card{min-height:400px!important}
  html:fullscreen .stations-panel{height:min(75dvh,700px)!important;margin-top:12px!important}
}


/* v1.12: fullscreen fills viewport with NO visible inner/outer scrollbars */
html:fullscreen,html:fullscreen body{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;overflow:hidden!important;overscroll-behavior:none!important}
html:fullscreen .app-shell{box-sizing:border-box!important;width:100%!important;height:100%!important;max-width:none!important;min-height:0!important;max-height:100%!important;overflow:hidden!important}
html:fullscreen .hero-panel,html:fullscreen .stations-panel{min-width:0!important;max-width:100%!important;min-height:0!important;height:100%!important;overflow:hidden!important}
html:fullscreen .player-card{min-width:0!important;min-height:0!important;overflow:hidden!important}
html:fullscreen .stations-list{overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:none!important;-ms-overflow-style:none!important}
html:fullscreen .stations-list::-webkit-scrollbar{display:none!important}
html:fullscreen *{scrollbar-width:none!important}
html:fullscreen *::-webkit-scrollbar{width:0!important;height:0!important;display:none!important}
@media(max-width:760px){html:fullscreen,html:fullscreen body{overflow:hidden!important}html:fullscreen .app-shell{height:100%!important;overflow:hidden!important;display:grid!important;grid-template-rows:minmax(0,1fr)!important}html:fullscreen .hero-panel{min-height:0!important;height:100%!important;overflow:hidden!important}html:fullscreen .stations-panel{display:none!important}html:fullscreen .player-card{min-height:0!important;height:auto!important;overflow:hidden!important}}


/* v1.13: EQ taust ei kasuta enam taustapilti, jääb lihtsalt läbipaistev */
.equalizer-card::before{background:none!important;opacity:0!important;}
.equalizer-card::after{background:linear-gradient(180deg,rgba(7,16,30,.04),rgba(7,16,30,.12))!important;}
.equalizer-card{background:rgba(6,14,28,.12)!important;backdrop-filter:blur(6px)!important;-webkit-backdrop-filter:blur(6px)!important;}
.equalizer-card .equalizer{background:transparent!important;}

/* v1.12: ühe taustapildi lahendus — lehe stuudiopilt jääb, pleierisse koopiat ei tehta. */
.player-card::before,
.player-card::after,
.equalizer-card::before {
  background-image: none !important;
  content: none !important;
  display: none !important;
}
.player-card { background: rgba(5,12,24,.16) !important; backdrop-filter: blur(8px) !important; -webkit-backdrop-filter: blur(8px) !important; }
.equalizer-card { background: rgba(5,13,28,.10) !important; }

/* v2.0 — kontrastsed värviteemad, pleieri täisekraan ja uuendatud ekvalaiserid */
.player-card{position:relative!important}
.player-fullscreen{position:absolute!important;right:16px;top:14px;z-index:12!important;display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(255,255,255,.48);border-radius:12px;color:white;background:rgba(5,13,28,.74);box-shadow:0 4px 15px #0005;backdrop-filter:blur(9px);padding:10px 13px;font:700 12px/1.15 Arial,sans-serif;cursor:pointer;transition:transform .18s,background .18s}
.player-fullscreen:hover{transform:translateY(-2px);background:#1e4875}
.player-fullscreen:focus-visible{outline:3px solid #4de5ff;outline-offset:3px}
.player-card .now-playing-wrap{padding-right:95px!important}
/* Täisekraan-nupp säilib nähtavana ka mobiilis. */
@media(max-width:600px){.player-fullscreen{right:8px;top:8px;padding:8px}.player-fullscreen span{display:none}.player-card .now-playing-wrap{padding-right:34px!important}}
/* Suurem teemaerinevus: must-kuldse algne stiil jäetakse puutumata. */
body[data-skin="sky"]{background:radial-gradient(circle at 70% 0%,#1464ba 0%,transparent 45%),linear-gradient(135deg,#0b2246 5%,#164c92 54%,#081a37 100%)!important}
body[data-skin="sky"] .stations-panel{background:linear-gradient(155deg,rgba(14,49,98,.96),rgba(6,23,53,.98))!important;border-color:#5ccfff!important;color:#f2faff!important}
body[data-skin="sky"] .hero-panel{background:linear-gradient(140deg,#0b2c64,#061834)!important;border:1px solid #53bfff!important;box-shadow:0 20px 70px #004cb04d!important}
body[data-skin="sky"] .stations-panel .station-item,body[data-skin="sky"] #stationSearch,body[data-skin="sky"] .filter{background:#12386b!important;color:white!important;border-color:#3e78b9!important}
body[data-skin="sky"] .stations-panel .station-copy span,body[data-skin="sky"] .panel-head p,body[data-skin="sky"] .check-status,body[data-skin="sky"] .panel-foot{color:#bcdfff!important}
body[data-skin="neon"]{background:radial-gradient(circle at 75% 20%,#8622ab 0%,transparent 45%),linear-gradient(125deg,#150a35,#34155e 45%,#07092c)!important}
body[data-skin="neon"] .hero-panel{background:linear-gradient(135deg,#270653,#4b0869 50%,#0e0b33)!important;border-color:#ef50f8!important;box-shadow:0 25px 70px #9d13ee55!important}
body[data-skin="neon"] .stations-panel{background:linear-gradient(145deg,#360b62,#120e37)!important;border-color:#de54f7!important}
body[data-skin="rose"]{background:radial-gradient(circle at 80% 5%,#fc54a8,transparent 52%),linear-gradient(130deg,#7e104e,#ca2a79 50%,#3c0a39)!important}
body[data-skin="rose"] .hero-panel{background:linear-gradient(125deg,#4c0a35,#87145d)!important;border-color:#ff8ccc!important;box-shadow:0 18px 68px #c1157355!important}
body[data-skin="rose"] .stations-panel{background:linear-gradient(145deg,#570e3e,#290925)!important;color:#fff0f9!important;border-color:#ff73b4!important}
body[data-skin="rose"] .stations-panel .station-item,body[data-skin="rose"] #stationSearch,body[data-skin="rose"] .filter{background:rgba(239,72,146,.18)!important;color:#fff!important;border-color:#cb4c8b!important}
body[data-skin="rose"] .stations-panel .station-copy span,body[data-skin="rose"] .panel-head p,body[data-skin="rose"] .check-status,body[data-skin="rose"] .panel-foot{color:#ffc5e4!important}
body[data-skin="rose"] .stations-panel .panel-head h3,body[data-skin="rose"] .stations-panel .station-item{color:#fff!important}
body[data-skin="mint"]{background:radial-gradient(circle at 10% 15%,#19c8a3,transparent 48%),linear-gradient(125deg,#083e3e,#076858 50%,#042624)!important}
body[data-skin="mint"] .hero-panel{background:linear-gradient(135deg,#064c46,#04312c)!important;border-color:#3ceab8!important;box-shadow:0 22px 65px #009e7555!important}
body[data-skin="mint"] .stations-panel{background:linear-gradient(160deg,#064b46,#052b2b)!important;color:#ddfff4!important;border-color:#39e4ae!important}
body[data-skin="mint"] .stations-panel .station-item,body[data-skin="mint"] #stationSearch,body[data-skin="mint"] .filter{background:rgba(28,189,149,.18)!important;color:#eefff9!important;border-color:#2eb696!important}
body[data-skin="mint"] .stations-panel .station-copy span,body[data-skin="mint"] .panel-head p,body[data-skin="mint"] .check-status,body[data-skin="mint"] .panel-foot{color:#a8e9d5!important}
body[data-skin="mint"] .stations-panel .panel-head h3,body[data-skin="mint"] .stations-panel .station-item{color:#e8fff8!important}
/* Selge aktiivne kujundus, igal valikul eraldi värviline eelvaade */
.view-dropdown{background:#090f23!important;border:2px solid #6778ac!important;box-shadow:0 30px 85px #000b!important}
.view-options button[data-skin-choice]{position:relative;overflow:hidden;padding-left:56px!important;min-height:46px!important}
.view-options button[data-skin-choice]::before{content:"";position:absolute;left:10px;top:8px;bottom:8px;width:33px;border-radius:8px;border:1px solid #ffffff88;background:var(--preview)}
.view-options button[data-skin-choice="sky"]{--preview:linear-gradient(135deg,#0a2351,#177bd4)}
.view-options button[data-skin-choice="neon"]{--preview:linear-gradient(135deg,#240955,#cc20e5)}
.view-options button[data-skin-choice="gold"]{--preview:linear-gradient(135deg,#050506,#b88a2d)}
.view-options button[data-skin-choice="rose"]{--preview:linear-gradient(135deg,#770a4a,#fa3790)}
.view-options button[data-skin-choice="mint"]{--preview:linear-gradient(135deg,#053c3b,#16d79f)}
.view-options button.active{border:2px solid #fff!important;background:rgba(255,255,255,.18)!important;box-shadow:0 0 22px #ffffff33!important}
/* Ekvalaiseri eriilmelised kujundused; kõik töötavad ilma CORS-i heli-analüüsita. */
.equalizer{gap:3px!important;opacity:1!important;filter:none!important}
.equalizer .bar{flex:1!important;min-width:2px!important;transform-origin:bottom center;will-change:height}
body[data-eq="spectrum"] .equalizer .bar{background:linear-gradient(to top,#00a5ff 0%,#08f9bf 30%,#faff45 60%,#ff6c32 85%,#ff237f 100%)!important;box-shadow:0 0 9px #00dfff77!important;border-radius:3px 3px 0 0!important}
body[data-eq="spectrum"] .equalizer-card{box-shadow:inset 0 0 50px #0574a633!important}
body[data-eq="neon"] .equalizer .bar:nth-child(3n){background:linear-gradient(#69ffff,#0774f8,#6926fc)!important}
body[data-eq="neon"] .equalizer .bar:nth-child(3n + 1){background:linear-gradient(#ffa1f6,#fa2aa2,#6526c0)!important}
body[data-eq="neon"] .equalizer .bar:nth-child(3n + 2){background:linear-gradient(#e4fcff,#18c1ff,#1444a9)!important}
body[data-eq="wave"] .equalizer .bar{border-radius:30px!important;max-width:8px!important;margin:auto!important;background:linear-gradient(to top,#07646e,#1bffcf,#f0ffff)!important;box-shadow:0 0 12px #21ffe088!important}
body[data-eq="retro"] .equalizer .bar{border-radius:0!important;background:repeating-linear-gradient(to top,#42fb60 0 6px,#092817 6px 10px)!important;border:1px solid #2aa447!important;box-shadow:0 0 6px #42ff5280!important}
body[data-eq="retro"] .equalizer-card{background:#071c13!important}
body[data-eq="minimal"] .equalizer .bar{border-radius:14px!important;background:linear-gradient(to top,#05b8ff,#ddfcff)!important;box-shadow:0 0 13px #27deff9c!important}
body[data-eq="minimal"] .equalizer-card{background:linear-gradient(140deg,#03132d,#122e58)!important}
body[data-eq="minimal"] .equalizer .bar:nth-child(4n){background:linear-gradient(to top,#f836ca,#f8c7ff)!important}
@media(prefers-reduced-motion:reduce){.equalizer .bar{transition:none!important}}


/* v2.1 — läbikumav stuudiopilt; selgesti eristatavad värviteemad */
.hero-panel::before{opacity:.92!important;filter:saturate(1.11)!important;transform:scale(1.01)!important}
.hero-panel::after{background:linear-gradient(95deg,rgba(4,9,18,.48),rgba(4,9,18,.20) 58%,rgba(4,9,18,.08))!important}
.hero-panel{background-color:#061020!important;background-image:none!important}
.player-card{background:rgba(5,11,22,.09)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-color:rgba(255,255,255,.22)!important}
.equalizer-card{background:rgba(4,10,20,.09)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-color:rgba(255,255,255,.24)!important}
.equalizer-card::after{background:linear-gradient(180deg,transparent,rgba(3,8,18,.08))!important}
/* Värviteemad muudavad paneelide servi, tekstivärve ja tervet tausttooni, kuid jätavad pildi nähtavaks. */
body[data-skin="sky"]{--theme-glow:#29c9ff;--theme-tint:rgba(0,65,174,.42);--theme-panel:#071b40;--theme-copy:#c7f4ff}
body[data-skin="neon"]{--theme-glow:#db4dff;--theme-tint:rgba(102,12,158,.45);--theme-panel:#290844;--theme-copy:#f4c9ff}
body[data-skin="gold"]{--theme-glow:#f7be57;--theme-tint:rgba(22,14,3,.22);--theme-panel:#161108;--theme-copy:#ffe3a6}
body[data-skin="rose"]{--theme-glow:#ff409b;--theme-tint:rgba(184,13,87,.42);--theme-panel:#4b0929;--theme-copy:#ffd2e7}
body[data-skin="mint"]{--theme-glow:#25ffbc;--theme-tint:rgba(0,123,98,.40);--theme-panel:#053c35;--theme-copy:#cbffee}
body[data-skin] .hero-panel{background:var(--theme-tint)!important;border:2px solid var(--theme-glow)!important;box-shadow:0 0 42px color-mix(in srgb,var(--theme-glow) 34%,transparent)!important}
body[data-skin] .hero-panel::after{background:linear-gradient(90deg,var(--theme-tint),rgba(0,0,0,.07) 85%)!important}
body[data-skin] .stations-panel{background:linear-gradient(150deg,var(--theme-panel),#050b17)!important;border:1px solid var(--theme-glow)!important;color:#fff!important}
body[data-skin] .stations-panel .station-item,body[data-skin] .stations-panel #stationSearch,body[data-skin] .stations-panel .filter{background:rgba(255,255,255,.08)!important;color:#fff!important;border-color:color-mix(in srgb,var(--theme-glow) 42%,transparent)!important}
body[data-skin] .stations-panel .station-copy span,body[data-skin] .stations-panel .panel-head p,body[data-skin] .stations-panel .check-status,body[data-skin] .stations-panel .panel-foot{color:var(--theme-copy)!important}
body[data-skin] .player-card,body[data-skin] .equalizer-card{background:rgba(3,7,14,.08)!important}
body[data-skin] .brand-badge{border:1px solid var(--theme-glow)!important;color:var(--theme-copy)!important}
body[data-skin] .play-btn{box-shadow:0 0 23px var(--theme-glow)!important}
/* Täisekraanil laiem pildiala ja kitsam iseseisvalt keritav jaamade nimekiri. */
@media(min-width:761px){
 html:fullscreen .app-shell{grid-template-columns:minmax(0,1fr) clamp(235px,18vw,320px)!important;gap:12px!important;padding:12px!important}
 html:fullscreen .hero-panel{padding:20px!important}
 html:fullscreen .stations-panel{min-width:0!important}
 html:fullscreen .station-item{padding:9px 7px!important}
}
/* Must-kuldne säilitab senise rahuliku paleti, ainult läbipaistvus paraneb. */
body[data-skin="gold"] .hero-panel{border:1px solid rgba(255,211,100,.28)!important;box-shadow:0 20px 70px rgba(0,0,0,.35)!important}
body[data-skin="gold"] .stations-panel{background:linear-gradient(150deg,#221c16,#11110f)!important;border-color:rgba(255,205,95,.26)!important;color:#f9ead0!important}
body[data-skin="gold"] .station-item,body[data-skin="gold"] #stationSearch,body[data-skin="gold"] .filter{background:rgba(255,221,150,.09)!important;color:#ffedcf!important;border-color:rgba(255,211,112,.2)!important}


/* v2.2: clearer readable text above colorful/user-selected photo */
.hero-panel .brand h1,.hero-panel .brand p,.hero-panel .brand-badge,
.hero-panel .eyebrow,.hero-panel #stationName,.hero-panel #stationMeta,
.hero-panel .equalizer-header,.hero-panel .player-fullscreen,
.hero-panel .ghost-btn,.hero-panel .view-menu summary,
.hero-panel .controls button,.hero-panel .now-playing-text,
.stations-panel .panel-head,.stations-panel .station-copy,
.stations-panel .station-item,.stations-panel .filter,
.stations-panel .check-status,.stations-panel .panel-foot {
  text-shadow: 0 2px 4px #000, 0 3px 9px #000, 0 0 18px rgba(0,0,0,.9) !important;
}
/* Remove only the player's outer border and outline; keep the main studio area. */
.player-card,body[data-skin] .player-card {
  border: 0 !important; outline: 0 !important;
  box-shadow: none !important;
}
/* Custom picture is applied to the existing studio image layer, including fullscreen. */
.hero-panel::before {
  background-image: var(--user-background, url('assets/bg-radio.png')) !important;
  background-position: center center !important;
  background-size: cover !important;
}
.background-controls{display:grid;gap:8px;margin:6px 0 14px}
.view-options ~ .background-controls{margin-top:4px}
.background-action{width:100%;text-align:left;padding:11px 13px;min-height:40px;
 border:1px solid rgba(134,215,255,.5);border-radius:10px;
 background:linear-gradient(110deg,#164968,#14243b);color:white;font-weight:750;
 cursor:pointer;text-shadow:0 2px 6px #000;}
.background-action:hover{filter:brightness(1.2)}
.background-action:focus-visible{outline:3px solid #63deff;outline-offset:2px}
.background-action.secondary{background:#20293b;border-color:#536780}
.background-hint{margin:0 3px;font-size:11px;line-height:1.45;color:#d8e5fc;text-shadow:0 1px 3px black}
#backgroundStatus:empty{display:none}

/* v2.3: one continuous background across the entire main radio panel.
   The old player pseudo-element painted the original studio photo on top of
   the user's custom background, revealing the original at the edges. */
.hero-panel .player-card::before {
  content: none !important;
  display: none !important;
  background: none !important;
}
.hero-panel .player-card {
  background: transparent !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}
.hero-panel .player-card::after {
  background: transparent !important;
  pointer-events: none !important;
}

/* v2.4 — one photo, truly edge-to-edge. No second photo or fading photo layer.
   Render browser-local image on the main panel itself, not a translucent pseudo-element. */
.hero-panel,
body[data-skin] .hero-panel {
  background-image: var(--user-background, url('assets/bg-radio.png')) !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-origin: border-box !important;
  background-clip: border-box !important;
}
.hero-panel::before,
body[data-skin] .hero-panel::before {
  content: none !important;
  display: none !important;
  background: none !important;
}
/* Theme-colour wash stays lightweight and evenly covers the whole picture. */
.hero-panel::after,
body[data-skin] .hero-panel::after {
  inset: 0 !important;
  transform: none !important;
  border-radius: inherit !important;
  background: linear-gradient(90deg, var(--theme-tint, rgba(4,9,18,.35)), rgba(4,9,18,.08) 85%) !important;
  pointer-events: none !important;
}
/* Child panels may be translucent, but must never paint the default photo again. */
.hero-panel .player-card::before,
.hero-panel .player-card::after,
.hero-panel .equalizer-card::before {
  content: none !important;
  display: none !important;
  background-image: none !important;
}

/* v2.5: Täisekraan ainult raadiojaamade paneeli ülemises paremas nurgas */
.stations-panel .panel-head{position:relative;padding-right:112px;min-height:48px}
.stations-panel .player-fullscreen{position:absolute!important;top:0!important;right:0!important;z-index:15!important;padding:8px 10px;font-size:11px;white-space:nowrap}
.player-card .now-playing-wrap{padding-right:0!important}
@media(max-width:600px){.stations-panel .panel-head{padding-right:45px}.stations-panel .player-fullscreen{right:0!important;top:0!important;padding:7px 9px}.stations-panel .player-fullscreen span{display:none}}
