/* =========================================================
   SONOFPOLLUX — PORTAL RADIO (Harmonic Redesign v1.3)
   - Keeps IDs/classes expected by radio.js
   - Fixes Vote modal scroll (ballot is now scrollable)
   - Modal head stays visible, body scrolls
   ========================================================= */

:root{
  --bg0:#060613;
  --bg1:#0b0b1d;

  --text:rgba(246,246,255,.92);
  --muted:rgba(246,246,255,.68);

  --violet:#7c5cff;
  --cyan:#2ee6d6;
  --pink:#ff66d9;
  --gold:#ffd88f;

  --line:rgba(255,255,255,.12);
  --glass:rgba(14,14,34,.66);
  --glass2:rgba(6,6,16,.40);

  --shadow: 0 18px 50px rgba(0,0,0,.55);
  --shadow2: 0 10px 22px rgba(0,0,0,.35);

  --r: 20px;
  --r2: 26px;

  --focus: 0 0 0 3px rgba(124,92,255,.26), 0 0 0 6px rgba(46,230,214,.16);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  color:var(--text);
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  background:
    radial-gradient(circle at 18% 18%, rgba(124,92,255,.20), transparent 52%),
    radial-gradient(circle at 82% 70%, rgba(46,230,214,.14), transparent 52%),
    radial-gradient(circle at 65% 10%, rgba(255,102,217,.08), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; text-decoration-color: rgba(255,255,255,.25); }

.wrap{ width:min(1120px, calc(100% - 40px)); margin:0 auto; }
@media (max-width: 520px){ .wrap{ width:min(1120px, calc(100% - 26px)); } }

[hidden]{ display:none!important; }

/* -------------------------
   Scroll progress (optional)
-------------------------- */
.scrollProgress{
  position:fixed;
  inset:0 0 auto 0;
  height:2px;
  z-index:9999;
  background: rgba(255,255,255,.06);
  pointer-events:none;
}
.scrollProgress > div{
  height:100%;
  width:0%;
  background: rgba(255,255,255,.78);
  transform-origin:left center;
}

/* -------------------------
   Background layers
-------------------------- */
.bg{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
}
.stars{
  position:absolute; inset:0;
  background-image:
    radial-gradient(rgba(255,255,255,.9) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,.55) 1px, transparent 1px);
  background-size: 140px 140px, 220px 220px;
  background-position: 10px 20px, 60px 90px;
  opacity:.08;
  filter: blur(.2px);
}
.glow{
  position:absolute; inset:-20%;
  background:
    radial-gradient(circle at 20% 25%, rgba(124,92,255,.22), transparent 58%),
    radial-gradient(circle at 85% 70%, rgba(46,230,214,.16), transparent 62%),
    radial-gradient(circle at 70% 20%, rgba(255,102,217,.09), transparent 62%);
  opacity:.85;
}
.scanlines{
  position:absolute; inset:0;
  background: repeating-linear-gradient(
    180deg,
    rgba(255,255,255,.06) 0px,
    rgba(255,255,255,.06) 1px,
    transparent 2px,
    transparent 6px
  );
  opacity:.05;
  mix-blend-mode: overlay;
}
.noise{
  position:absolute; inset:0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  opacity:.03;
  mix-blend-mode: overlay;
}

/* -------------------------
   Topbar
-------------------------- */
.topbar{
  position:sticky;
  top:0;
  z-index:20;
  background: linear-gradient(180deg, rgba(8,8,20,.86), rgba(8,8,20,.56));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.topbar__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding: 14px 0;
}
.brand{
  display:flex;
  align-items:baseline;
  gap:10px;
  font-weight:900;
  letter-spacing:.3px;
}
.brand__mark{
  width:34px; height:34px;
  display:grid; place-items:center;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(124,92,255,.22), rgba(46,230,214,.10));
  border:1px solid rgba(255,255,255,.12);
  box-shadow: 0 0 24px rgba(124,92,255,.12);
}
.brand__text{ text-decoration:none; }
.brand__sub{
  font-weight:800;
  font-size:.78rem;
  opacity:.75;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.20);
}

.nav{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  align-items:center;
}
.nav__link{
  font-weight:700;
  opacity:.82;
  padding:6px 10px;
  border-radius:999px;
}
.nav__link:hover{ opacity:1; text-decoration:none; background: rgba(255,255,255,.06); }
.nav__link--hot{
  opacity:1;
  border:1px solid rgba(255,216,143,.26);
  background: linear-gradient(180deg, rgba(255,216,143,.14), rgba(255,216,143,.05));
  box-shadow: 0 0 22px rgba(255,216,143,.09);
}

.topbar__actions{ display:flex; align-items:center; gap:10px; }
.topbar__cta{
  display:flex; align-items:center; gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  text-decoration:none;
}
.topbar__cta:hover{ text-decoration:none; border-color: rgba(255,255,255,.18); }
.topbar__ctaDot{
  width:10px; height:10px; border-radius:999px;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(46,230,214,.40);
}

.menuBtn{
  display:none;
  width:42px; height:42px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  color:var(--text);
}
.menuBtn:hover{ transform: translateY(-1px); }
@media (max-width: 820px){
  .nav{ display:none; }
  .menuBtn{ display:inline-grid; place-items:center; }
}

.mobileNav{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.55);
  z-index:40;
}
.mobileNav__panel{
  margin: 72px auto 0;
  padding: 14px;
  border-radius: var(--r2);
  background: rgba(10,10,24,.92);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
}
.mobileNav__grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 8px;
}
.mobileNav__grid a{
  padding: 12px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  text-decoration:none;
  font-weight:800;
}
.mobileNav__grid a:hover{ background: rgba(255,255,255,.07); }
.mobileNav__ctaRow{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  padding: 10px 8px 4px;
}

/* -------------------------
   Shared UI
-------------------------- */
.label{
  font-size:.74rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color: rgba(246,246,255,.70);
}
.note{
  color: rgba(246,246,255,.70);
  line-height: 1.45;
}
.small{ font-size:.9rem; }
.kicker{
  letter-spacing:.2em;
  text-transform:uppercase;
  font-weight:900;
  font-size:.78rem;
  color: rgba(246,246,255,.76);
  margin:0 0 8px;
}

.card{
  border-radius: var(--r2);
  background: linear-gradient(180deg, var(--glass), var(--glass2));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow2);
  position:relative;
  overflow:hidden;
}
.card:before{
  content:"";
  position:absolute; inset:-2px;
  background:
    radial-gradient(circle at 20% 10%, rgba(124,92,255,.16), transparent 55%),
    radial-gradient(circle at 85% 70%, rgba(46,230,214,.12), transparent 58%),
    radial-gradient(circle at 65% 35%, rgba(255,102,217,.07), transparent 62%);
  opacity:.85;
  pointer-events:none;
}
.card > *{ position:relative; }

.card__top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  padding: 18px 18px 0;
}
@media (max-width:720px){
  .card__top{ flex-direction:column; }
}

.panel{
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.14);
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  font-weight:800;
  font-size:.82rem;
}
.pill--ghost{ background: rgba(255,255,255,.04); }
.pillStack{ display:flex; gap:8px; flex-wrap:wrap; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 10px 14px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-weight:850;
  cursor:pointer;
  user-select:none;
  text-decoration:none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover{ transform: translateY(-1px); text-decoration:none; background: rgba(255,255,255,.06); }
.btn:focus{ outline:none; box-shadow: var(--focus); }
.btn:focus-visible{ outline:none; box-shadow: var(--focus); }
.btn[disabled]{ opacity:.55; cursor:not-allowed; transform:none; }

.btn--primary{
  border-color: rgba(124,92,255,.26);
  background: linear-gradient(180deg, rgba(124,92,255,.18), rgba(124,92,255,.08));
  box-shadow: 0 0 24px rgba(124,92,255,.10);
}
.btn--ghost{ background: rgba(0,0,0,.16); }
.btn--icon{ width:44px; height:44px; padding:0; }
.btn--gold{
  border-color: rgba(255,216,143,.30);
  background: linear-gradient(180deg, rgba(255,216,143,.16), rgba(255,216,143,.06));
  box-shadow: 0 0 26px rgba(255,216,143,.10);
}

.cleanList{ list-style:none; padding:0; margin:0; }
.cleanList li{ padding: 6px 0; }

/* Inputs */
input, textarea{
  color: var(--text);
  background: rgba(0,0,0,.20);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 12px 12px;
}
input::placeholder, textarea::placeholder{ color: rgba(246,246,255,.52); }
input:focus, textarea:focus{ outline:none; box-shadow: var(--focus); border-color: rgba(255,255,255,.18); }

/* -------------------------
   Main layout
-------------------------- */
main{ padding: 26px 0 60px; }
.hero{ margin-top: 8px; }

.hero__grid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 18px;
  align-items:stretch;
}
@media (max-width: 920px){
  .hero__grid{ grid-template-columns: 1fr; }
}

.hero__copy{ padding: 22px 20px; }
.hero__title{
  margin: 0 0 10px;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  text-shadow: 0 0 20px rgba(124,92,255,.14);
}
.hero__accent{
  display:block;
  font-size: clamp(1rem, 2vw, 1.35rem);
  opacity:.82;
  margin-top:6px;
}
.hero__lead{
  margin:0;
  max-width: 62ch;
  color: rgba(246,246,255,.78);
}

.hero__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 16px;
}
.hero__quick{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 12px;
}
.hero__quick .pill:hover{
  text-decoration:none;
  background: rgba(255,255,255,.06);
}

.hero__chips{ display:flex; gap:8px; flex-wrap:wrap; margin-top:14px; }
.chip{
  display:inline-flex;
  align-items:center;
  padding: 7px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.14);
  color: rgba(246,246,255,.78);
  font-weight:800;
  font-size:.82rem;
}

.hero__sigil{
  padding: 20px;
  display:grid;
  place-items:center;
}
.sigil{
  width: 170px;
  height: 170px;
  border-radius: 999px;
  position:relative;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.16);
  box-shadow: 0 0 36px rgba(46,230,214,.09);
}
.sigil__ring{
  position:absolute; inset:14px;
  border-radius:999px;
  border:1px solid rgba(124,92,255,.28);
  filter: drop-shadow(0 0 16px rgba(124,92,255,.14));
}
.sigil__ring--b{
  inset: 34px;
  border-color: rgba(46,230,214,.24);
  filter: drop-shadow(0 0 16px rgba(46,230,214,.12));
}
.sigil__core{
  position:absolute; inset:0;
  display:grid; place-items:center;
  font-weight:900;
  font-size: 3rem;
  color: rgba(255,216,143,.92);
  text-shadow: 0 0 22px rgba(255,216,143,.14);
}

/* -------------------------
   Promo card
-------------------------- */
.card--promo{ margin-top: 16px; }
.card--promo .promoWrap{
  display:grid;
  grid-template-columns: 1fr 240px;
  gap: 14px;
  padding: 18px;
  align-items:start;
}
@media (max-width: 780px){
  .card--promo .promoWrap{ grid-template-columns: 1fr; }
}
.promoImg{
  width:100%;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  object-fit:cover;
  background: rgba(0,0,0,.25);
  max-height: 220px;
}
.promoTitle{ margin: 6px 0 6px; font-weight: 900; letter-spacing: -.01em; }
.promoBody{ margin: 8px 0 10px; }
.promoTags{ display:flex; gap:8px; flex-wrap:wrap; }
.promoTag{
  padding: 6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,216,143,.22);
  background: rgba(255,216,143,.06);
  font-weight:800;
  font-size:.82rem;
}

/* -------------------------
   Player
-------------------------- */
.card--player{ margin-top: 18px; }
#player{ scroll-margin-top: 90px; }

.statusRow{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top: 6px;
}
.statusDot{
  width:10px; height:10px;
  border-radius:999px;
  background: rgba(255,255,255,.35);
  box-shadow: 0 0 18px rgba(255,255,255,.10);
}
.statusText{ color: rgba(246,246,255,.76); font-weight:800; }

.np{
  padding: 18px;
  margin: 18px;
  margin-top: 14px;
  border-radius: var(--r2);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.16);
}
.np .title{
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 900;
  letter-spacing: -.015em;
  text-shadow: 0 0 16px rgba(124,92,255,.10);
}
.np .artist{
  margin-top: 4px;
  color: rgba(246,246,255,.72);
  font-weight: 850;
}
.time{
  margin-left:auto;
  color: rgba(246,246,255,.70);
  font-weight: 800;
}

.controls{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  padding: 0 18px 6px;
}
@media (max-width: 560px){
  .controls{ padding: 0 14px 6px; }
}

.vol{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
}
.vol__slider{ width: 170px; }
@media (max-width:520px){ .vol__slider{ width: 120px; } }

.bar{
  margin: 10px 18px 18px;
  height: 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  overflow:hidden;
}
.bar .fill,
.bar > div{
  height:100%;
  width:0%;
  background: linear-gradient(90deg, rgba(124,92,255,.75), rgba(46,230,214,.70));
}

.note--epic{
  margin: 0 18px 18px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,216,143,.16);
  background: rgba(255,216,143,.06);
}

/* -------------------------
   Stats + Vote + Chat layout
-------------------------- */
.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}
@media (max-width: 980px){ .grid2{ grid-template-columns: 1fr; } }

.card--stats{ margin-top: 18px; }
.card--stats .grid2{ margin-top: 0; padding: 18px; }
.card--stats .panel{ padding: 14px !important; }
.card--stats h3{ margin: 0 0 10px; }

.card--vote{ margin-top: 18px; }
#vote{ scroll-margin-top: 90px; }

.topVotes{
  padding: 12px 18px 0;
  display:grid;
  gap:10px;
}
.voteActions{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  padding: 12px 18px 0;
}
.card--vote .note.small{ padding: 0 18px 18px; }

.list{
  display:grid;
  gap: 10px;
  padding: 16px 18px 18px;
}
.item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding: 12px 12px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.16);
}
.item .meta{ display:grid; gap:2px; }
.item .meta b{ font-size: 1.02rem; letter-spacing: -.01em; }
.item .meta span{ color: rgba(246,246,255,.70); font-size:.92rem; }

.item button{
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(124,92,255,.28);
  background: linear-gradient(180deg, rgba(124,92,255,.18), rgba(124,92,255,.08));
  color: var(--text);
  font-weight: 900;
  cursor:pointer;
}
.item button:hover{ transform: translateY(-1px); }
.item button:focus,
.item button:focus-visible{ outline:none; box-shadow: var(--focus); }

/* -------------------------
   Chat
-------------------------- */
.card--chat{ margin-top: 18px; }
#chat{ scroll-margin-top: 90px; }

.modBar{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  padding: 12px 18px 0;
}
.modToken{ min-width: 220px; }
.modHint{ color: rgba(246,246,255,.62); font-size: .9rem; }

#chatList{
  height: 320px;
  overflow:auto;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  padding: 10px;
  margin: 18px;
  margin-top: 12px;
}
@media (max-width: 520px){
  #chatList{ margin: 14px; }
}

.chatRow{
  padding: 10px 10px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  margin-bottom: 8px;
}
.chatRow--me{
  border-color: rgba(46,230,214,.18);
  background: rgba(46,230,214,.06);
}
.chatHead{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-bottom: 6px;
}
.chatNickTag{ font-weight: 900; }
.chatTime{ color: rgba(246,246,255,.60); font-size: .85rem; }
.chatBody{ white-space: pre-wrap; color: rgba(246,246,255,.84); }
.chatModBtn{
  margin-left: 10px;
  padding: 6px 8px;
  border-radius: 12px;
  border: 1px solid rgba(255,102,217,.20);
  background: rgba(255,102,217,.10);
  color: var(--text);
  font-weight: 900;
  cursor:pointer;
}

.chatForm{
  display:grid;
  grid-template-columns: 180px 1fr auto;
  gap:10px;
  padding: 0 18px 18px;
  align-items:center;
}
@media (max-width: 720px){
  .chatForm{ grid-template-columns: 1fr; padding: 0 14px 18px; }
}
.chatNick{ width:100%; }
.chatMsg{ width:100%; }

#typingLine{
  margin: 0 18px 10px;
  color: rgba(246,246,255,.62);
  font-size: .9rem;
}
@media (max-width: 520px){
  #typingLine{ margin: 0 14px 10px; }
}

/* -------------------------
   Modals (FIXED: scroll)
-------------------------- */
.modal{
  position:fixed;
  inset:0;
  z-index:50;
  /* allow small screens to reach the panel */
  overflow:auto;
  -webkit-overflow-scrolling: touch;
}
.modal__backdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.65);
}
.modal__panel{
  position:relative;
  width: min(880px, calc(100% - 28px));
  margin: 84px auto 24px;

  border-radius: var(--r2);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(10,10,24,.94);
  box-shadow: var(--shadow);

  /* ✅ critical: panel is constrained, and body can scroll */
  max-height: min(88vh, 780px);
  max-height: min(88dvh, 780px);
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.modal__head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px;
  padding: 18px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  flex: 0 0 auto;
}
.modal__title{ margin: 6px 0 0; font-size: 1.35rem; font-weight: 900; }

/* ✅ body is the scroll container */
.modal__body{
  padding: 18px;
  flex: 1 1 auto;
  overflow:auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* If your modal body contains ULs, keep them tidy */
.modal__body ul{ margin:0; padding-left: 18px; }

@media (max-width: 520px){
  .modal__panel{ margin-top: 70px; }
}

/* ✅ VOTE LIST SCROLL SAFETY (works even if markup differs) */
#voteModalList,
#voteList{
  /* if list is huge, this guarantees it can scroll */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-right: 8px;
}

/* If the list is inside modal__body, you usually don't need max-height,
   but this makes it bulletproof if your HTML places it elsewhere. */
#voteModal #voteModalList,
#voteModal #voteList{
  max-height: min(62vh, 560px);
  max-height: min(62dvh, 560px);
}

/* -------------------------
   Reveal (optional)
-------------------------- */
.reveal { opacity:0; transform: translateY(10px); }
.reveal.is-in { opacity:1; transform: translateY(0); }
.reveal { transition: opacity .7s ease, transform .7s ease; }
.reveal[data-delay="1"]{ transition-delay: .06s; }
.reveal[data-delay="2"]{ transition-delay: .12s; }
.reveal[data-delay="3"]{ transition-delay: .18s; }

/* -------------------------
   Simple scrollbar
-------------------------- */
*::-webkit-scrollbar{ height: 10px; width: 10px; }
*::-webkit-scrollbar-thumb{ background: rgba(255,255,255,.16); border-radius: 999px; }
*::-webkit-scrollbar-track{ background: rgba(0,0,0,.15); }

/* -------------------------
   Reduced motion
-------------------------- */
@media (prefers-reduced-motion: reduce){
  .btn{ transition:none; }
  .btn:hover{ transform:none; }
  .menuBtn:hover{ transform:none; }
  .item button:hover{ transform:none; }
  .reveal{ opacity:1; transform:none; transition:none; }
}

/* =========================================================
   RECENTLY PLAYED (History)
========================================================= */
.btn--xs{
  padding: 6px 10px;
  border-radius: 12px;
  font-size: .78rem;
}
.npHistory{
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.npHistory__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.npHistory__label{
  font-weight: 900;
  letter-spacing: .14em;
  font-size: .72rem;
  color: rgba(246,246,255,.70);
}
.npHistory__list{ margin-top: 10px; }
.npHistory__list li{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255,255,255,.08);
}
.npHistory__list li:last-child{ border-bottom: 0; }
.npHistory__main{ min-width: 0; }
.npHistory__title{
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.npHistory__artist{
  color: rgba(246,246,255,.68);
  font-size: .90em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.npHistory__time{
  color: rgba(246,246,255,.52);
  font-size: .78rem;
  flex: 0 0 auto;
  white-space: nowrap;
}
.npHistory__current .npHistory__title{
  text-shadow: 0 0 18px rgba(255,216,143,.20);
}

/* =========================================================
   YOUTUBE PLAYLIST RADIO
   The iframe remains fully visible and unobscured to comply
   with YouTube embedded-player requirements.
========================================================= */
.ytPlayerShell{
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 200px;
  margin: 14px 0 18px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0,0,0,.34);
  border: 1px solid rgba(255,255,255,.10);
}
.ytPlayerShell iframe,
#youtubePlayer{
  display: block;
  width: 100%;
  height: 100%;
  min-height: 200px;
  border: 0;
}
@media (max-width: 520px){
  .ytPlayerShell{
    border-radius: 14px;
    min-height: 200px;
  }
}
