/* RadioExtasy V1.7 — Song History 2.0. Scoped to avoid changing prior modules. */
.hx{--hx-pink:#ff3cbf;--hx-blue:#15dcff;--hx-line:#8543b4;display:grid;gap:17px;margin:3px 0 13px;min-width:0}
.hx *{min-width:0}
.hx-hero{position:relative;overflow:hidden;isolation:isolate;border:1px solid #da49e0;border-radius:15px;padding:29px 34px 26px;background:linear-gradient(100deg,#2e0c43 5%,#110c32 54%,#0b1737 100%);box-shadow:0 0 20px #ef20c344,inset 0 0 27px #da3ac31c}
.hx-hero:before{content:"";position:absolute;inset:0 0 0 auto;width:53%;background:linear-gradient(90deg,#160e2900,#170a2866),url('../img/speaker-deco.jpg') center right / cover;opacity:.44;z-index:-1;mask-image:linear-gradient(to right,transparent,black 45%)}
.hx-hero:after{content:"";position:absolute;width:360px;height:120px;border:2px solid #ff3abc;border-radius:50%;right:3%;bottom:-98px;transform:rotate(-10deg);filter:drop-shadow(0 0 15px #e32fe0)}
.hx-kicker{display:block;font-size:11px;letter-spacing:2px;color:#ffb4e5;font-weight:800}
.hx-hero h1{font-size:clamp(29px,4.2vw,50px);margin:3px 0 0;line-height:1.2;text-shadow:0 0 18px #fa26b58e}
.hx-hero h1 em{font-style:normal;background:linear-gradient(90deg,#ff60d3,#d4a5ff,#48e6ff);background-clip:text;color:transparent}
.hx-hero p{font-size:15px;color:#e1d4ec;margin:7px 0 0}
.hx-hero-wave{position:absolute;right:5%;bottom:0;color:#fe54d2;text-shadow:0 0 16px #f923d4;font-size:33px;font-weight:900;letter-spacing:1px;opacity:.78;white-space:nowrap}
.hx-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:14px;align-items:start}.hx-main,.hx-sidebar{display:grid;gap:14px;min-width:0}
.hx .panel{overflow:hidden;min-width:0}.hx-panel-top{display:flex;align-items:center;justify-content:space-between;gap:11px;padding:14px 17px;border-bottom:1px solid #593a86;background:linear-gradient(90deg,#220a38c4,#10152d8f)}
.hx-panel-top h2{font-size:17px;margin:0;font-weight:900}.hx-eyebrow{color:#ff92dc;letter-spacing:1.2px;font-size:11px;font-weight:900;display:inline-flex;align-items:center;gap:8px}
.hx-pulse{width:9px;height:9px;border-radius:100%;display:inline-block;background:#f927a5;box-shadow:0 0 12px #f927a5;animation:hxPulse 2.8s ease-in-out infinite}
@keyframes hxPulse{50%{opacity:.42;box-shadow:0 0 2px #f927a5}}
.hx-small-tag{font-size:10px;border:1px solid #8248bd;background:#22143a;border-radius:100px;padding:4px 8px;color:#e6a4f7;font-weight:900}
.hx-now{border-color:#fa3fc2!important;box-shadow:0 0 17px #e732b14a!important}.hx-now-body{padding:17px;display:grid;grid-template-columns:180px minmax(0,1fr) 65px;gap:18px;align-items:center}
.hx-now-cover{position:relative;border:1px solid #f641d3;border-radius:11px;box-shadow:0 0 15px #f32fb885;overflow:hidden;aspect-ratio:1}.hx-now-cover img{height:100%;width:100%;object-fit:cover}
.hx-now-meta h2{font-size:clamp(21px,2.6vw,30px);line-height:1.17;margin:3px 0 5px;font-weight:900;overflow-wrap:anywhere}.hx-now-meta>p{margin:0;color:#ff81da;font-size:19px;font-weight:750;overflow-wrap:anywhere}
.hx-wave{font-size:20px;letter-spacing:1px;color:#ff2fca;text-shadow:0 0 12px #fa2dcd;white-space:nowrap;overflow:hidden;margin:12px 0 13px;line-height:1.1}
.hx-now-details{display:flex;gap:11px 15px;flex-wrap:wrap;color:#c9c2dd;font-size:11px;margin-bottom:14px}.hx-now-actions{align-self:stretch;display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:15px}
.hx-favorite{display:grid;place-items:center;border:1px solid #7c5baf;background:linear-gradient(145deg,#1d1640,#110d27);color:#ffa9e6;font-size:21px;width:34px;height:34px;cursor:pointer;border-radius:8px;transition:box-shadow .2s,border-color .2s,transform .2s;flex-shrink:0}
.hx-favorite:hover,.hx-favorite:focus-visible{border-color:#ff56d5;box-shadow:0 0 10px #f829d9;transform:translateY(-1px)}.hx-favorite.is-saved{color:#fff;background:linear-gradient(145deg,#ff249e,#b10b7a);border-color:#fa7dd7;text-shadow:0 0 8px #fff6}
.hx-favorite-large{width:45px;height:45px;font-size:30px;box-shadow:0 0 10px #f8289f58}.hx-favorite:disabled{opacity:.55;cursor:wait}
.hx-browse-link{font-size:10px;color:#acddff;text-decoration:none;text-align:center;white-space:nowrap}.hx-browse-link:hover{color:white}
.hx-platforms{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.hx-platform{border:1px solid #625293;background:#120e28;color:white;border-radius:7px;padding:7px 12px;font-size:11px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;gap:5px}
.hx-platform.spotify{border-color:#17ce6e;color:#a2ffbf;box-shadow:0 0 9px #19b5603c}.hx-platform.youtube{border-color:#fc414d;color:#ffb7b7;box-shadow:0 0 9px #f52c4a3b}.hx-platform.beatport{border-color:#c5e925;color:#edff9f;box-shadow:0 0 9px #8ac8293d}.hx-platform:hover{background:#2b1b3f;filter:brightness(1.25)}
.hx-count{font-size:11px;color:#d29ef9;border-radius:50px;padding:3px 9px;background:#27133e;border:1px solid #673784;white-space:nowrap}
.hx-filters{padding:15px;display:grid;grid-template-columns:1.15fr .85fr .8fr;gap:10px;align-items:end}.hx-search{display:flex;align-items:center;gap:8px;border:1px solid #9d43c3;border-radius:8px;padding:0 12px;color:#fd70cd;font-size:23px;box-shadow:inset 0 0 8px #f11bcb17;background:#0c0b20}
.hx-search input,.hx-filter-label select{width:100%;height:42px;min-width:0;color:#f4e8ff;font-family:inherit;background:transparent;border:0;outline:0;font-size:12px}
.hx-search input::placeholder{color:#a9a0c0}.hx-filter-label{display:grid;gap:3px;font-size:10px;font-weight:750;color:#c0aed0}.hx-filter-label select{height:44px;background:#121129;border:1px solid #56416f;border-radius:8px;padding:0 10px;cursor:pointer}
.hx-section-tabs{border-block:1px solid #433166;background:linear-gradient(90deg,#1e1337,#0e1128);display:flex;justify-content:space-between;align-items:center;gap:11px;padding:9px 16px}.hx-section-tag{font-size:10px;letter-spacing:1.2px;color:#ffa3dc;font-weight:900}
.hx-tab-button{border:1px solid #673e8b;border-radius:9px;background:#1d123a;color:#efd5ff;font-size:11px;font-weight:800;padding:7px 11px;text-decoration:none;cursor:pointer}.hx-tab-button.is-active,.hx-tab-button[aria-pressed=true]{background:#b31687;border-color:#f85fcc;color:#fff}
.hx-results{min-height:160px;padding:4px 13px 8px}.hx-loading,.hx-empty{padding:32px 15px;text-align:center;color:#c4b7d9;font-size:13px}
.hx-song-row{display:grid;grid-template-columns:24px 48px minmax(0,1fr) 108px 146px;gap:10px;align-items:center;padding:9px 5px;border-bottom:1px solid #292545;transition:background .15s}.hx-song-row:last-child{border-bottom:0}.hx-song-row:hover{background:#2e174466}
.hx-row-num{text-align:center;font-size:11px;color:#d073d9}.hx-song-cover{width:48px;height:48px;object-fit:cover;border:1px solid #724bad;border-radius:7px}.hx-song-meta strong,.hx-song-meta span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hx-song-meta strong{font-size:12px;color:white}.hx-song-meta span{font-size:11px;color:#e98cda}.hx-song-time{color:#bcb2d1;font-size:10px;text-align:right}
.hx-row-actions{display:flex;align-items:center;justify-content:end;gap:7px}.hx-platforms.is-small{gap:5px;flex-wrap:nowrap}.hx-platforms.is-small .hx-platform{padding:0;width:27px;height:27px;border-radius:7px;font-size:12px}.hx-row-actions .hx-favorite{width:29px;height:29px;font-size:20px}
.hx-archive-foot{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 16px;background:#0d1027;color:#b1a8cc;font-size:10px}.hx-archive-foot button{border:1px solid #903faf;background:#2a1341;border-radius:7px;color:white;padding:7px 12px;cursor:pointer;font-weight:750}.hx-archive-foot button:disabled{opacity:.5}
.hx-side-card{border-color:#9d41c7!important}.hx-side-card .hx-panel-top{padding:13px}.hx-side-card .hx-panel-top h2{font-size:14px}.hx-side-now{display:flex;gap:10px;align-items:center;padding:15px}.hx-side-now img{width:64px;height:64px;object-fit:cover;border-radius:8px;border:1px solid #ce57d0}.hx-side-now strong,.hx-side-now span,.hx-side-now small{display:block;overflow:hidden;text-overflow:ellipsis}.hx-side-now strong{font-size:13px;color:white;line-height:1.4}.hx-side-now span{font-size:11px;color:#ff94dd}.hx-side-now small{font-size:10px;color:#aeb0d2}
.hx-side-list{padding:7px 12px 11px}.hx-mini-song{display:flex;gap:9px;align-items:center;padding:9px 0;border-bottom:1px solid #292346}.hx-mini-song:last-child{border-bottom:0}.hx-mini-song img{width:43px;height:43px;object-fit:cover;border-radius:6px;border:1px solid #67418e}.hx-mini-song div{min-width:0}.hx-mini-song strong,.hx-mini-song span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hx-mini-song strong{font-size:11px}.hx-mini-song span{font-size:10px;color:#ce94d9}.hx-empty-small{font-size:12px;color:#cbb9d6;line-height:1.6;margin:8px 0}.hx-side-cta{display:block;text-align:center;border:1px solid #fb49b6;margin:0 12px 12px;padding:10px;border-radius:8px;background:linear-gradient(100deg,#cc1784,#7111a2);font-size:12px;font-weight:800;color:white;text-decoration:none}
.hx-info{padding:18px;border-color:#26aedd!important;background:linear-gradient(142deg,#101d38,#100c27)!important}.hx-info-icon{float:right;font-size:42px;color:#22d9fb;text-shadow:0 0 12px #22d9fb}.hx-info strong{display:block;font-size:15px;color:#9ef7ff}.hx-info p{font-size:12px;color:#c7badf;line-height:1.7}.hx-verified{display:block;font-size:10px;color:#8ff7b7}
.hx-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;border:1px solid #9541ac;background:linear-gradient(90deg,#291039,#08152a,#2e0c38);border-radius:12px;padding:13px 18px;font-size:12px;color:#ffb7e8}.hx-footer span:first-child{font-weight:900}.hx-toast{position:fixed;right:20px;bottom:20px;z-index:60;max-width:min(370px,calc(100vw - 40px));border:1px solid #5ef2c4;background:#102822;color:white;border-radius:10px;padding:13px 17px;box-shadow:0 5px 30px #0009;font-size:13px}.hx-toast.is-error{background:#3c142e;border-color:#fa6ca9}
/* Enhanced homepage list; stays compact in the three-column dashboard. */
.history-row.hx-home-row{gap:9px}.hx-home-row strong{font-size:11px}.hx-home-row .hx-home-meta{display:block;color:#e8b3e6;font-size:10px}.hx-home-links{display:flex;gap:5px;margin-left:auto;flex-shrink:0}.hx-home-links a{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;font-weight:800;font-size:11px;border:1px solid #7651a3;background:#21152f;color:#eeacff;text-decoration:none}.hx-home-links a:hover{border-color:#ff3cbf}.hx-home-row time{white-space:nowrap;font-size:10px}
@media(max-width:1250px){.hx-layout{grid-template-columns:minmax(0,1fr) 245px}.hx-song-row{grid-template-columns:20px 45px minmax(0,1fr) 95px 136px;gap:7px}.hx-now-body{grid-template-columns:150px minmax(0,1fr) 50px;gap:13px}.hx-platform{padding:7px 8px}}
@media(max-width:1050px){.hx-layout{grid-template-columns:1fr}.hx-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.hx-now-body{grid-template-columns:150px minmax(0,1fr) 60px}.hx-info{grid-column:auto}}
@media(max-width:680px){.hx{gap:12px}.hx-hero{padding:21px 17px 30px}.hx-hero:before{opacity:.20}.hx-hero p{font-size:12px}.hx-hero-wave{font-size:21px;bottom:1px;right:7px}.hx-now-body{display:grid;grid-template-columns:100px minmax(0,1fr);gap:13px;padding:13px}.hx-now-cover{align-self:start}.hx-now-actions{grid-column:1/-1;flex-direction:row;justify-content:space-between;align-items:center;border-top:1px solid #342248;padding-top:7px}.hx-now-meta h2{font-size:20px}.hx-now-meta>p{font-size:15px}.hx-wave{font-size:13px;margin:7px 0}.hx-now-details{font-size:10px;gap:5px 10px;margin-bottom:6px}.hx-platforms{gap:5px}.hx-platform{font-size:10px;padding:6px 7px}.hx-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:11px;gap:8px}.hx-search{grid-column:1/-1}.hx-sidebar{grid-template-columns:1fr}.hx-song-row{grid-template-columns:20px 44px minmax(0,1fr) auto;grid-template-rows:auto auto;gap:4px 8px;padding:10px 1px}.hx-song-cover{grid-row:1/3}.hx-row-num{grid-row:1/3}.hx-song-meta{grid-column:3/5;grid-row:1;align-self:end}.hx-song-time{grid-column:3;grid-row:2;text-align:left;font-size:10px;align-self:center}.hx-row-actions{grid-column:4;grid-row:2}.hx-platforms.is-small{gap:3px}.hx-platforms.is-small .hx-platform{width:25px;height:25px}.hx-section-tabs{padding:8px 11px}.hx-archive-foot{flex-direction:column;gap:8px;align-items:stretch}.hx-archive-foot button{align-self:flex-end}.hx-footer{flex-direction:column;text-align:center}.hx-home-row time{display:none}}
@media(max-width:380px){.hx-now-body{grid-template-columns:77px minmax(0,1fr);gap:9px}.hx-now-meta h2{font-size:18px}.hx-now-meta>p{font-size:13px}.hx-platform{font-size:10px;padding:5px 6px}.hx-now-details span:last-child{display:none}.hx-song-row{grid-template-columns:14px 36px minmax(0,1fr) auto;column-gap:5px}.hx-song-cover{width:36px;height:36px}.hx-row-actions .hx-favorite{width:25px;height:25px}.hx-platforms.is-small .hx-platform{width:21px;height:24px}}
@media(prefers-reduced-motion:reduce){.hx-pulse{animation:none}.hx-favorite{transition:none}}


/* V2.7.8: Original platform symbols on HOME Song History only. */
.rx20-history .hx-home-links a.hx-home-brand{width:25px;height:25px;padding:2px;
  border-radius:8px;background:#0b1020;border:1px solid #694a8c;transition:box-shadow .15s,border-color .15s,transform .15s}
.rx20-history .hx-home-links .hx-home-brand img{display:block;width:19px;height:19px;
  min-width:19px;min-height:19px;max-width:19px;max-height:19px;object-fit:contain;border:0;border-radius:0;
  background:none;box-shadow:none;padding:0}
.rx20-history .hx-home-links .hx-brand-spotify{border-color:#1db95470}
.rx20-history .hx-home-links .hx-brand-youtube{border-color:#ff003370}
.rx20-history .hx-home-links .hx-brand-beatport{border-color:#01ff9570}
.rx20-history .hx-home-links a.hx-home-brand:hover,
.rx20-history .hx-home-links a.hx-home-brand:focus-visible{border-color:#ff77dd;
  box-shadow:0 0 9px #fc3ccb66;transform:translateY(-1px);outline-offset:2px}
@media (max-width:440px){
 .rx20-history .hx-home-links{gap:4px}
 .rx20-history .hx-home-links a.hx-home-brand{width:23px;height:23px}
 .rx20-history .hx-home-links .hx-home-brand img{width:17px;height:17px;min-width:17px;min-height:17px;max-width:17px;max-height:17px}
}
@media(prefers-reduced-motion:reduce){.rx20-history .hx-home-links a.hx-home-brand{transition:none}}

/* V3.4.2 – Neon Glass: song history actions only, no behavior changes. */
.hx .hx-favorite {--rx342-edge:#d98bff;--rx342-light:#ffe0ff;--rx342-glass:#542364;--rx342-base:#21102f;--rx342-glow:#c54cfb;}
.hx .hx-platform.spotify,.rx20-history .hx-home-links .hx-brand-spotify {--rx342-edge:#30eab3;--rx342-light:#c3ffeb;--rx342-glass:#14594d;--rx342-base:#092b27;--rx342-glow:#00dba4;}
.hx .hx-platform.youtube,.rx20-history .hx-home-links .hx-brand-youtube {--rx342-edge:#ff657d;--rx342-light:#ffe2e8;--rx342-glass:#68263b;--rx342-base:#310f22;--rx342-glow:#ff365d;}
.hx .hx-platform.beatport,.rx20-history .hx-home-links .hx-brand-beatport {--rx342-edge:#d8ef50;--rx342-light:#f6ffc2;--rx342-glass:#4c5615;--rx342-base:#222b09;--rx342-glow:#b9e82e;}
.hx .hx-favorite,.hx .hx-platform,.rx20-history .hx-home-links a.hx-home-brand {
  box-sizing:border-box;position:relative;isolation:isolate;
  border:1px solid var(--rx342-edge,#d98bff);border-radius:9px;
  color:var(--rx342-light,#ffe0ff);font-weight:800;line-height:1;
  background:linear-gradient(145deg,#ffffff26 0%,#ffffff08 42%,transparent 44%),linear-gradient(180deg,var(--rx342-glass,#542364),var(--rx342-base,#21102f) 64%,var(--rx342-glass,#542364));
  box-shadow:inset 0 1px 1px #ffffff55,inset 0 -2px 4px var(--rx342-glass,#542364),0 2px 5px #0009,0 0 7px color-mix(in srgb,var(--rx342-glow,#c54cfb) 28%,transparent);
  text-shadow:0 0 5px color-mix(in srgb,var(--rx342-glow,#c54cfb) 45%,transparent);
  transition:transform .15s ease,box-shadow .15s ease,filter .15s ease;
  text-decoration:none;flex-shrink:0;
}
.hx .hx-row-actions,.hx .hx-platforms.is-small {gap:5px;flex-wrap:nowrap;}
.hx .hx-row-actions .hx-favorite,.hx .hx-platforms.is-small .hx-platform {width:32px;height:32px;padding:0;border-radius:9px;}
.hx .hx-row-actions .hx-favorite {font-size:21px;}
.hx .hx-platforms.is-small .hx-platform {font-size:14px;}
.hx .hx-favorite.is-saved {--rx342-edge:#ff93df;--rx342-light:#fff;--rx342-glass:#c91c85;--rx342-base:#641348;--rx342-glow:#ff39bc;}
.rx20-history .hx-home-links a.hx-home-brand {width:27px;height:27px;padding:3px;}
.rx20-history .hx-home-links .hx-home-brand img {width:19px;height:19px;min-width:19px;min-height:19px;max-width:19px;max-height:19px;}
@media(hover:hover) {
  .hx .hx-favorite:not(:disabled):hover,.hx .hx-platform:hover,.rx20-history .hx-home-links a.hx-home-brand:hover {
    transform:translateY(-1px);filter:brightness(1.18);
    border-color:var(--rx342-edge,#d98bff);
    box-shadow:inset 0 1px 2px #ffffff80,0 0 10px var(--rx342-glow,#c54cfb),0 3px 5px #0009;
  }
}
.hx .hx-favorite:not(:disabled):active,.hx .hx-platform:active,.rx20-history .hx-home-links a.hx-home-brand:active {transform:scale(.95);}
.hx .hx-favorite:focus-visible,.hx .hx-platform:focus-visible,.rx20-history .hx-home-links a.hx-home-brand:focus-visible {outline:2px solid #a4faff;outline-offset:2px;}
@media(max-width:1250px) {
  .hx .hx-row-actions .hx-favorite,.hx .hx-platforms.is-small .hx-platform {width:30px;height:30px;}
}
@media(max-width:440px) {
  .rx20-history .hx-home-links a.hx-home-brand {width:25px;height:25px;padding:2px;}
  .rx20-history .hx-home-links .hx-home-brand img {width:17px;height:17px;min-width:17px;min-height:17px;max-width:17px;max-height:17px;}
}
@media(max-width:380px) {
  .hx .hx-song-time {grid-column:3/5;grid-row:2;}
  .hx .hx-row-actions {grid-column:3/5;grid-row:3;justify-content:flex-start;}
  .hx .hx-song-cover,.hx .hx-row-num {grid-row:1/4;}
}
@media(prefers-reduced-motion:reduce) {
  .hx .hx-favorite,.hx .hx-platform,.rx20-history .hx-home-links a.hx-home-brand {transition:none;transform:none!important;}
}
.rx-reduce-effects .hx .hx-favorite,.rx-reduce-effects .hx .hx-platform,.rx-reduce-effects .rx20-history .hx-home-links a.hx-home-brand {transition:none;transform:none!important;}
.rx20-history .hx-home-row .hx-home-links {flex:0 0 auto;}
