/* RadioExtasy 3.4.1 — scoped visual upgrade, existing stream engine unchanged. */
.rx20-home .rx262-main .rx20-player.rx340-player {
  display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.2fr) minmax(0,1fr);
  grid-template-areas:'live controls track';gap:0;min-height:0;align-items:stretch;
  background:radial-gradient(ellipse at 0 0,#63104450,transparent 48%),radial-gradient(ellipse at 100% 100%,#174c7055,transparent 55%),#100b20;
  border:1px solid #ee4cc7;border-radius:19px;box-shadow:0 0 24px #ff38bb32,inset 0 0 28px #5b2bb522;
}
.rx20-home .rx262-main .rx340-player .rx20-album.rx265-now-playing {grid-area:track;display:flex;gap:12px;padding:20px 12px;border:0;background:none;min-width:0;}
.rx20-home .rx262-main .rx340-player .rx20-album.rx265-now-playing .rx20-album-frame {width:min(100%,210px);max-width:210px;padding:3px;position:relative;box-shadow:0 0 17px #ff43c77a,0 0 28px #2edbff30;background:linear-gradient(135deg,#ff78dc,#da1eaa 48%,#28dfff);border-radius:15px;}
.rx20-home .rx262-main .rx340-player .rx20-current-title h2 {font-size:clamp(17px,1.8vw,25px);line-height:1.2;color:#fff;}
.rx20-home .rx262-main .rx340-player .rx20-current-title p {font-size:14px;color:#e9d6f3;}
.rx20-home .rx262-main .rx340-player .rx20-player-middle {grid-area:controls;min-height:0;padding:20px 12px;gap:15px;justify-content:center;border:0;}
.rx20-home .rx262-main .rx340-player .rx20-player-top {justify-content:center;text-align:center;gap:9px;font-size:11px;}
.rx20-home .rx262-main .rx340-player .rx20-listeners {border-color:#3d9cb8;background:#102637;color:#c6f8ff;}
.rx20-home .rx262-main .rx340-player .rx265-center-caption {display:block;margin:0;color:#e9c5f3;}
.rx20-home .rx262-main .rx340-player .rx20-wave {height:64px;align-items:flex-end;gap:2px;max-width:280px;width:100%;margin:0 auto;}
.rx340-player .waveform span,.rx340-popup .waveform span {height:var(--h);width:4px;min-width:2px;flex:1 1 4px;max-width:7px;border-radius:2px 2px 0 0;transform-origin:bottom;background:linear-gradient(to top,#4e4dff,#e435d6 60%,#5af4ff);animation:rx340-eq .85s ease-in-out infinite alternate;animation-delay:var(--delay);animation-play-state:paused;transform:scaleY(.23);}
.rx340-player.rx340-playing .waveform span,.rx340-popup.rx340-playing .waveform span {animation-play-state:running;}
.rx340-player .waveform span:nth-child(n+37) {display:none;}
@keyframes rx340-eq {from{transform:scaleY(.23)} to{transform:scaleY(.97)}}
.rx20-home .rx262-main .rx340-player .rx20-controls {display:flex;flex-wrap:wrap;gap:12px;margin:0;}
.rx20-home .rx262-main .rx340-player .play-control {order:-1;width:64px;height:64px;background:linear-gradient(145deg,#ff52c7,#cf137e);box-shadow:0 0 20px #ff269b80;border:1px solid #ffb4eb;}
.rx20-home .rx262-main .rx340-player .rx20-small-btn {min-height:44px;min-width:44px;}
.rx20-home .rx262-main .rx340-player .rx20-vol-label {flex-basis:100%;justify-content:center;gap:8px;font-size:12px;white-space:nowrap;}
.rx20-home .rx262-main .rx340-player .rx20-vol-label input {flex:1;min-width:45px;width:100%;max-width:140px;accent-color:#ff44bb;}
.rx20-home .rx262-main .rx340-player .rx20-dj {grid-area:live;min-height:0;max-height:none;padding:16px 10px;gap:10px;border-right:1px solid #ffffff10;background:linear-gradient(140deg,#2b123e85,#101124);}
.rx20-home .rx262-main .rx340-player .rx20-dj>img {width:min(100%,145px);max-height:145px;border-width:2px;}
.rx20-home .rx262-main .rx340-player .rx20-dj-caption h1 {font-size:clamp(16px,1.5vw,21px);}
.rx340-cover-in {animation:rx340-cover-in .45s ease-out both;}
@keyframes rx340-cover-in {from{opacity:.3;transform:scale(.97)}to{opacity:1;transform:scale(1)}}
.rx23-dock {border-color:#f25ace;box-shadow:0 0 20px #f92fa74f,0 0 20px #31bce82e;}
.rx23-dock .rx23-wave i {animation:rx340-eq .9s ease-in-out infinite alternate;animation-play-state:paused;transform-origin:bottom;transform:scaleY(.23);background:linear-gradient(to top,#8645ff,#fc35c3,#46e8ff);}
.rx23-dock .rx23-wave i:nth-child(3n) {animation-delay:-.4s;}
.rx23-dock .rx23-wave i:nth-child(4n) {animation-delay:-.7s;}
.rx23-dock.is-playing .rx23-wave i {animation-play-state:running;}
@media(min-width:701px) and (max-width:1150px) {
  .rx20-home .rx262-main .rx20-player.rx340-player {grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:'live track' 'controls controls';}
  .rx20-home .rx262-main .rx340-player .rx20-dj {flex-direction:column;border-right:1px solid #ffffff10;}
  .rx20-home .rx262-main .rx340-player .rx20-dj>img {width:min(100%,120px);max-height:120px;}
  .rx20-home .rx262-main .rx340-player .rx20-dj-caption {width:100%;text-align:center;}
}
@media(max-width:700px) {
  .rx20-home .rx262-main .rx20-player.rx340-player {grid-template-columns:minmax(0,1fr);grid-template-areas:'live' 'track' 'controls';}
  .rx20-home .rx262-main .rx340-player .rx20-album.rx265-now-playing {padding:20px 14px 6px;}
  .rx20-home .rx262-main .rx340-player .rx20-album.rx265-now-playing .rx20-album-frame {width:min(62vw,210px);max-width:210px;}
  .rx20-home .rx262-main .rx340-player .rx20-player-middle {padding:12px 16px 20px;gap:10px;}
  .rx20-home .rx262-main .rx340-player .rx20-wave {height:46px;}
  .rx20-home .rx262-main .rx340-player .rx20-wave span {max-height:46px;}
  .rx20-home .rx262-main .rx340-player .rx20-dj {flex-direction:row;justify-content:flex-start;border-right:0;border-bottom:1px solid #ffffff18;padding:12px;}
  .rx20-home .rx262-main .rx340-player .rx20-dj>img {width:82px;max-height:82px;}
  .rx20-home .rx262-main .rx340-player .rx20-dj-caption {width:auto;text-align:left;}
  .rx23-dock .rx23-song-area>img {display:block;width:76px;height:76px;object-fit:cover;align-self:center;}
}
@media(prefers-reduced-motion:reduce) {
  .rx340-cover-in,.rx340-player .waveform span,.rx340-popup .waveform span,.rx23-dock .rx23-wave i,.rx23-dock .rx23-pulse i {animation:none!important;transform:none;}
}
.rx-reduce-effects .rx340-cover-in,.rx-reduce-effects .rx340-player .waveform span {animation:none!important;}
