:root{
  --ink:#ffffff;
  --muted:#9db1cf;
  --line:rgba(255,255,255,.14);
  --brand:#ff1c1c;
  --brand-2:#a80000;
  --blue:#7fb2ff;
  --green:#50ff69;
  --dark:#070b12;
  --dark-2:#101827;
  --card:rgba(255,255,255,.08);
  --shadow:0 34px 100px rgba(0,0,0,.42);
}
*{box-sizing:border-box}
html{min-height:100%;-webkit-text-size-adjust:100%}
body{min-height:100%;margin:0;font-family:"Oxanium",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:#05070c;color:var(--ink);overflow-x:hidden}
button,input{font:inherit}
.radio-shell{min-height:100vh;background:radial-gradient(circle at 78% 18%,rgba(127,178,255,.28),transparent 32%),radial-gradient(circle at 22% 82%,rgba(255,28,28,.24),transparent 34%),linear-gradient(135deg,#05070c 0%,#070b12 42%,#152238 100%)}
.radio-stage{position:relative;min-height:100vh;display:grid;place-items:center;padding:34px 18px;overflow:hidden}
.ambient{position:absolute;border-radius:999px;filter:blur(4px);opacity:.74;pointer-events:none}
.ambient--one{width:420px;height:420px;right:-130px;top:-130px;background:radial-gradient(circle,rgba(127,178,255,.32),transparent 68%);animation:floatOne 8s ease-in-out infinite}
.ambient--two{width:360px;height:360px;left:-120px;bottom:-100px;background:radial-gradient(circle,rgba(255,28,28,.34),transparent 70%);animation:floatTwo 9s ease-in-out infinite}
.radio-card{position:relative;z-index:2;width:min(1360px,100%);display:grid;grid-template-columns:minmax(0,1fr) 470px;gap:18px;padding:18px;border:1px solid var(--line);border-radius:34px;background:linear-gradient(145deg,rgba(255,255,255,.13),rgba(255,255,255,.045));box-shadow:var(--shadow);backdrop-filter:blur(22px)}
.radio-main{position:relative;min-height:690px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:42px 34px;border-radius:28px;background:linear-gradient(180deg,rgba(7,11,18,.70),rgba(7,11,18,.36));border:1px solid rgba(255,255,255,.10);overflow:hidden}
.radio-main:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.06),transparent);transform:translateX(-120%);animation:shine 7s linear infinite;pointer-events:none}
.brand-block{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;margin-bottom:18px}
.brand-block img{max-width:190px;max-height:72px;object-fit:contain;background:#070b12;border-radius:14px;padding:4px;box-shadow:0 12px 34px rgba(0,0,0,.22)}
.live-pill{display:inline-flex;align-items:center;gap:9px;height:38px;padding:0 15px;border-radius:999px;background:rgba(255,28,28,.13);border:1px solid rgba(255,28,28,.34);color:#fff;font-size:.78rem;font-weight:900;letter-spacing:.12em}
.live-pill i{width:9px;height:9px;border-radius:999px;background:var(--brand);box-shadow:0 0 0 0 rgba(255,28,28,.75);animation:pulse 1.35s infinite}
.kicker{margin:0 0 12px;color:#8de9ff;text-transform:uppercase;letter-spacing:.16em;font-weight:900;font-size:.82rem}
h1{max-width:780px;margin:0;font-size:clamp(2.6rem,7vw,6.2rem);line-height:.92;letter-spacing:-.06em;text-wrap:balance}
.lead{max-width:680px;margin:22px auto 34px;color:rgba(255,255,255,.78);font-size:clamp(1rem,1.7vw,1.26rem);line-height:1.65}
.player-orb{position:relative;width:210px;height:210px;display:grid;place-items:center;margin:2px auto 28px;border-radius:50%;background:radial-gradient(circle at 35% 30%,rgba(255,255,255,.20),rgba(255,255,255,.04) 48%,rgba(255,28,28,.06));box-shadow:0 24px 80px rgba(255,28,28,.16),inset 0 0 0 1px rgba(255,255,255,.12)}
.player-orb:before,.player-orb:after{content:"";position:absolute;inset:15px;border-radius:50%;border:1px solid rgba(255,255,255,.12)}
.player-orb:after{inset:-14px;border-color:rgba(255,28,28,.18);animation:orbRing 2.2s ease-in-out infinite}
.play-button{position:relative;z-index:2;width:128px;height:128px;border:0;border-radius:50%;cursor:pointer;display:grid;place-items:center;background:linear-gradient(135deg,#ff3434 0%,#d91212 48%,#840000 100%);box-shadow:0 24px 58px rgba(217,18,18,.42),inset 0 2px 0 rgba(255,255,255,.28);transition:transform .18s ease,filter .18s ease,box-shadow .18s ease}
.play-button:hover{transform:translateY(-3px) scale(1.02);filter:brightness(1.04);box-shadow:0 30px 72px rgba(217,18,18,.52),inset 0 2px 0 rgba(255,255,255,.28)}
.play-button:active{transform:scale(.97)}
.play-icon{width:0;height:0;margin-left:9px;border-top:24px solid transparent;border-bottom:24px solid transparent;border-left:36px solid #fff;filter:drop-shadow(0 3px 5px rgba(0,0,0,.28));transition:.18s}
.is-playing .play-icon{width:34px;height:42px;margin-left:0;border:0;position:relative}
.is-playing .play-icon:before,.is-playing .play-icon:after{content:"";position:absolute;top:0;width:12px;height:42px;border-radius:4px;background:#fff}.is-playing .play-icon:before{left:2px}.is-playing .play-icon:after{right:2px}
.equalizer{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);display:flex;gap:5px;height:26px;align-items:end;opacity:.3;transition:.18s}.equalizer span{width:5px;height:8px;border-radius:999px;background:var(--green)}.is-playing .equalizer{opacity:1}.is-playing .equalizer span{animation:eq 1s ease-in-out infinite}.is-playing .equalizer span:nth-child(2){animation-delay:.12s}.is-playing .equalizer span:nth-child(3){animation-delay:.24s}.is-playing .equalizer span:nth-child(4){animation-delay:.36s}.is-playing .equalizer span:nth-child(5){animation-delay:.48s}
.now-card{width:min(760px,100%);padding:18px;border:1px solid rgba(255,255,255,.13);border-radius:24px;background:rgba(255,255,255,.08);box-shadow:0 18px 46px rgba(0,0,0,.20);backdrop-filter:blur(10px)}
.now-label{display:block;margin-bottom:10px;color:#8de9ff;font-weight:900;text-transform:uppercase;letter-spacing:.14em;font-size:.74rem}.marquee{position:relative;overflow:hidden;height:42px;border-radius:15px;background:rgba(0,0,0,.24);border:1px solid rgba(255,255,255,.08);display:flex;align-items:center}.marquee:before,.marquee:after{content:"";position:absolute;top:0;bottom:0;width:70px;z-index:2;pointer-events:none}.marquee:before{left:0;background:linear-gradient(90deg,rgba(5,7,12,.92),transparent)}.marquee:after{right:0;background:linear-gradient(270deg,rgba(5,7,12,.92),transparent)}
.marquee-track{position:absolute;white-space:nowrap;font-size:1.08rem;font-weight:900;color:#fff;padding-left:100%;animation:marquee 16s linear infinite;text-shadow:0 2px 14px rgba(0,0,0,.25)}
.status{min-height:26px;margin:16px 0 0;color:rgba(255,255,255,.68);font-weight:700}

.traffic-stats{display:flex;align-items:stretch;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:18px}
.traffic-stat{min-width:155px;display:flex;align-items:center;gap:11px;padding:12px 15px;border-radius:18px;background:rgba(255,255,255,.095);border:1px solid rgba(255,255,255,.14);box-shadow:0 12px 34px rgba(0,0,0,.18);backdrop-filter:blur(14px)}
.traffic-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:12px;background:rgba(127,178,255,.16);border:1px solid rgba(127,178,255,.28);font-size:1rem}
.traffic-icon--online{color:var(--green);background:rgba(80,255,105,.12);border-color:rgba(80,255,105,.30);text-shadow:0 0 14px rgba(80,255,105,.7);animation:pulseOnline 1.6s infinite}
.traffic-stat strong{display:block;font-size:1.18rem;font-weight:900;color:#fff;line-height:1}
.traffic-stat small{display:block;margin-top:4px;color:rgba(255,255,255,.62);font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}

.history-panel{padding:26px;border-radius:28px;background:rgba(255,255,255,.94);color:#101422;border:1px solid rgba(255,255,255,.72);box-shadow:0 24px 80px rgba(0,0,0,.22);display:flex;flex-direction:column;min-height:690px}.history-head{display:grid;gap:5px;margin-bottom:18px}.history-head span{color:#d91212;font-size:.78rem;text-transform:uppercase;letter-spacing:.14em;font-weight:900}.history-head strong{font-size:1.5rem;line-height:1.1;letter-spacing:-.03em}.history-grid{display:grid;gap:10px;align-content:start}.history-item{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:center;padding:12px;border-radius:16px;background:#f7f9fc;border:1px solid rgba(16,20,34,.08);box-shadow:0 10px 24px rgba(7,11,18,.05)}.history-number{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(135deg,#ff1c1c,#a80000);color:#fff;font-weight:900;font-size:.82rem}.history-song{min-width:0;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-time{display:block;color:#5f6879;font-size:.78rem;font-weight:800;margin-top:1px}.history-item--empty{display:block;color:#5f6879;font-weight:800;text-align:center;padding:18px}
@keyframes marquee{0%{transform:translateX(0)}100%{transform:translateX(-100%)}}
@keyframes pulse{70%{box-shadow:0 0 0 12px rgba(255,28,28,0)}100%{box-shadow:0 0 0 0 rgba(255,28,28,0)}}
@keyframes orbRing{50%{transform:scale(1.035);opacity:.55}}
@keyframes eq{0%,100%{height:8px}50%{height:26px}}
@keyframes shine{0%{transform:translateX(-120%)}55%,100%{transform:translateX(120%)}}
@keyframes floatOne{50%{transform:translate(-20px,24px)}}
@keyframes floatTwo{50%{transform:translate(26px,-18px)}}
@keyframes pulseOnline{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.08);opacity:.78}}
@media(max-width:980px){.radio-card{grid-template-columns:1fr}.history-panel{min-height:auto}.radio-main{min-height:620px}.history-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.radio-stage{padding:14px}.radio-card{padding:10px;border-radius:26px}.radio-main{min-height:calc(100vh - 48px);padding:30px 16px;border-radius:22px}.history-panel{padding:18px;border-radius:22px}.history-grid{grid-template-columns:1fr}h1{font-size:2.75rem}.player-orb{width:178px;height:178px}.play-button{width:110px;height:110px}.play-icon{border-top-width:20px;border-bottom-width:20px;border-left-width:30px}.marquee-track{font-size:.98rem}.brand-block img{max-width:160px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}.marquee-track{position:static;padding-left:0;transform:none;animation:none;margin:auto}}


/* Ajustes v1.1: música separada por título/intérprete + histórico mais largo com avatar */
.now-current{display:grid;grid-template-columns:62px minmax(0,1fr);gap:14px;align-items:center;margin-bottom:14px;text-align:left}
.current-avatar,.history-avatar{position:relative;overflow:hidden;display:grid;place-items:center;border-radius:18px;background:linear-gradient(135deg,#ff1c1c,#3f1111);color:#fff;box-shadow:0 12px 28px rgba(0,0,0,.18);isolation:isolate}
.current-avatar{width:62px;height:62px}.current-avatar img,.history-avatar img{width:100%;height:100%;object-fit:cover;display:block}.current-avatar span,.history-avatar span{font-weight:900;text-transform:uppercase}.current-avatar span{font-size:1.5rem}.history-avatar span{font-size:1rem}.current-info{min-width:0}.current-info strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:1.08rem;line-height:1.15;color:#fff}.current-info span{display:block;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:rgba(255,255,255,.68);font-weight:800;font-size:.88rem}
.history-panel{padding:30px}.history-grid{gap:12px}.history-item{grid-template-columns:48px minmax(0,1fr);gap:13px;padding:12px 13px;border-radius:18px}.history-avatar{width:48px;height:48px;border-radius:15px;flex:0 0 auto}.history-title{display:block;min-width:0;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#101422;font-size:.98rem;line-height:1.15}.history-artist{display:block;min-width:0;color:#5f6879;font-size:.82rem;font-weight:900;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-time{font-size:.74rem;margin-top:4px;color:#8a93a3}.history-number{display:none}.history-meta{min-width:0}.avatar-fallback:before{content:"";position:absolute;inset:-20%;background:radial-gradient(circle at 25% 20%,rgba(255,255,255,.28),transparent 32%),radial-gradient(circle at 80% 90%,rgba(0,0,0,.2),transparent 38%);z-index:-1}
@media(max-width:1180px){.radio-card{grid-template-columns:1fr 420px}}
@media(max-width:980px){.radio-card{grid-template-columns:1fr}.history-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.now-current{grid-template-columns:54px minmax(0,1fr)}.current-avatar{width:54px;height:54px}.history-grid{grid-template-columns:1fr}.history-panel{padding:18px}.history-item{grid-template-columns:46px minmax(0,1fr)}}

/* Ajustes v1.3: altura compacta + mobile-first */
html,body{width:100%}
.radio-stage{padding:12px;align-items:start;place-items:start center;overflow:visible}
.radio-card{width:min(1180px,100%);gap:12px;padding:12px;border-radius:24px;grid-template-columns:1fr}
.radio-main{min-height:auto;padding:22px 14px;border-radius:20px;justify-content:flex-start}
.brand-block{gap:10px;margin-bottom:10px}.brand-block img{max-width:145px;max-height:54px;border-radius:12px}.live-pill{height:32px;padding:0 12px;font-size:.7rem}.kicker{margin-bottom:8px;font-size:.72rem}h1{font-size:clamp(2.1rem,12vw,3.2rem);line-height:.95}.lead{margin:10px auto 16px;font-size:.96rem;line-height:1.45}.player-orb{width:154px;height:154px;margin:0 auto 16px}.player-orb:before{inset:12px}.player-orb:after{inset:-9px}.play-button{width:96px;height:96px}.play-icon{border-top-width:18px;border-bottom-width:18px;border-left-width:28px}.is-playing .play-icon{width:28px;height:34px}.is-playing .play-icon:before,.is-playing .play-icon:after{height:34px;width:10px}.equalizer{bottom:15px;height:20px}.now-card{padding:13px;border-radius:18px}.now-label{margin-bottom:8px;font-size:.68rem}.now-current{grid-template-columns:48px minmax(0,1fr);gap:10px;margin-bottom:10px}.current-avatar{width:48px;height:48px;border-radius:14px}.current-info strong{font-size:1rem}.current-info span{font-size:.8rem}.marquee{height:36px;border-radius:12px}.marquee-track{font-size:.95rem}.status{min-height:auto;margin:10px 0 0;font-size:.86rem}.traffic-stats{gap:8px;margin-top:12px}.traffic-stat{min-width:132px;padding:9px 11px;border-radius:14px;gap:8px}.traffic-icon{width:28px;height:28px;border-radius:10px;font-size:.86rem}.traffic-stat strong{font-size:1rem}.traffic-stat small{font-size:.62rem}.history-panel{min-height:auto;padding:16px;border-radius:20px}.history-head{margin-bottom:12px}.history-head span{font-size:.68rem}.history-head strong{font-size:1.18rem}.history-grid{grid-template-columns:1fr;gap:8px}.history-item{grid-template-columns:42px minmax(0,1fr);gap:10px;padding:9px 10px;border-radius:14px}.history-avatar{width:42px;height:42px;border-radius:13px}.history-title{font-size:.9rem}.history-artist{font-size:.76rem;margin-top:2px}.history-time{font-size:.68rem;margin-top:2px}

@media(min-width:641px){
  .radio-stage{padding:14px}.radio-card{grid-template-columns:1fr}.radio-main{padding:24px 20px}.history-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.player-orb{width:166px;height:166px}.play-button{width:104px;height:104px}h1{font-size:clamp(2.5rem,7vw,4rem)}
}

@media(min-width:981px){
  .radio-shell,.radio-stage{min-height:100vh}.radio-stage{place-items:center;padding:10px 14px;overflow:hidden}.radio-card{grid-template-columns:minmax(0,1fr) 430px;height:min(745px,calc(100vh - 20px));min-height:0;align-items:stretch}.radio-main,.history-panel{height:100%;min-height:0}.radio-main{justify-content:center;padding:18px 24px}.history-panel{padding:18px;overflow:hidden}.history-grid{grid-template-columns:1fr;overflow-y:auto;padding-right:2px}.brand-block{margin-bottom:8px}.brand-block img{max-width:138px;max-height:50px}.kicker{margin-bottom:6px}h1{font-size:clamp(2.4rem,4.8vw,4.25rem)}.lead{margin:8px auto 14px;line-height:1.35;font-size:clamp(.92rem,1.2vw,1.05rem)}.player-orb{width:152px;height:152px;margin-bottom:14px}.play-button{width:96px;height:96px}.now-card{max-width:680px;padding:12px}.traffic-stats{margin-top:10px}.history-head{margin-bottom:10px}.history-item{padding:8px 10px}.history-avatar{width:40px;height:40px}.history-item{grid-template-columns:40px minmax(0,1fr)}
}

@media(min-width:1181px){
  .radio-card{grid-template-columns:minmax(0,1fr) 460px}.history-panel{padding:18px 20px}.history-item{padding:9px 11px}.history-avatar{width:42px;height:42px}.history-item{grid-template-columns:42px minmax(0,1fr)}
}

@media(max-height:765px) and (min-width:981px){
  .radio-card{height:calc(100vh - 16px);padding:10px;gap:10px}.radio-main{padding:14px 20px}.history-panel{padding:14px}.brand-block{margin-bottom:6px}.brand-block img{max-width:124px;max-height:44px}.live-pill{height:28px;font-size:.64rem}.kicker{font-size:.66rem;margin-bottom:5px}h1{font-size:clamp(2.1rem,4vw,3.45rem)}.lead{margin:6px auto 10px;font-size:.88rem;line-height:1.3}.player-orb{width:132px;height:132px;margin-bottom:10px}.play-button{width:84px;height:84px}.play-icon{border-top-width:16px;border-bottom-width:16px;border-left-width:24px}.equalizer{bottom:12px;height:18px}.now-card{padding:10px;border-radius:16px}.now-current{grid-template-columns:42px minmax(0,1fr);margin-bottom:8px}.current-avatar{width:42px;height:42px}.current-info strong{font-size:.94rem}.current-info span{font-size:.74rem}.marquee{height:32px}.marquee-track{font-size:.88rem}.status{margin-top:8px;font-size:.8rem}.traffic-stats{margin-top:8px}.traffic-stat{padding:7px 9px;min-width:122px}.history-head{gap:3px;margin-bottom:8px}.history-head strong{font-size:1.05rem}.history-item{padding:7px 9px;gap:8px;grid-template-columns:36px minmax(0,1fr)}.history-avatar{width:36px;height:36px;border-radius:11px}.history-title{font-size:.84rem}.history-artist{font-size:.7rem}.history-time{font-size:.62rem}.history-grid{gap:7px}
}

@media(max-width:380px){
  .radio-stage{padding:8px}.radio-card{padding:8px;border-radius:20px}.radio-main,.history-panel{border-radius:17px}.brand-block img{max-width:126px;max-height:46px}h1{font-size:2rem}.lead{font-size:.88rem}.player-orb{width:138px;height:138px}.play-button{width:88px;height:88px}.traffic-stat{width:100%;justify-content:center}.now-current{grid-template-columns:44px minmax(0,1fr)}.current-avatar{width:44px;height:44px}.marquee:before,.marquee:after{width:36px}
}

/* v1.9.0 - mobile sem rolagem horizontal e novo V.U */
html,body{width:100%;max-width:100%;overflow-x:hidden!important}
body{position:relative}
img,svg,video,canvas,audio{max-width:100%}
.radio-shell,.radio-stage,.radio-card,.radio-main,.history-panel,.now-card,.traffic-stats{max-width:100%;min-width:0}
.radio-shell{width:100%;overflow:hidden}
.radio-stage{width:100%;overflow:hidden!important}
.radio-card{min-width:0}
.ambient{max-width:100vw}
.equalizer{display:none!important}

.vu-panel{width:min(620px,100%);margin:-4px auto 16px;padding:12px 14px 14px;border-radius:22px;background:linear-gradient(180deg,rgba(255,28,28,.11),rgba(255,255,255,.055));border:1px solid rgba(255,28,28,.24);box-shadow:0 16px 42px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.08);backdrop-filter:blur(12px)}
.vu-panel__head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;color:#fff;text-transform:uppercase;letter-spacing:.12em;font-weight:900;font-size:.68rem}
.vu-panel__head small{color:rgba(255,255,255,.55);font-size:.62rem;font-weight:800;letter-spacing:.08em;white-space:nowrap}
.vu-meter{height:58px;display:grid;grid-template-columns:repeat(24,minmax(3px,1fr));gap:5px;align-items:end;padding:10px;border-radius:16px;background:linear-gradient(180deg,rgba(0,0,0,.33),rgba(0,0,0,.18));border:1px solid rgba(255,255,255,.09);overflow:hidden;box-shadow:inset 0 12px 24px rgba(0,0,0,.20)}
.vu-meter span{display:block;height:var(--vu-height,14%);min-height:4px;border-radius:999px;background:linear-gradient(180deg,#fff1f1 0%,#ff4040 34%,#d10000 68%,#790000 100%);box-shadow:0 0 14px rgba(255,28,28,.50);transition:height .055s linear,opacity .12s ease;opacity:.82}
.vu-meter span:nth-child(n+18){background:linear-gradient(180deg,#fff 0%,#ff7878 28%,#ff1c1c 62%,#9c0000 100%);box-shadow:0 0 18px rgba(255,28,28,.74)}
.vu-panel:not(.is-active) .vu-meter span{height:10%;opacity:.42;box-shadow:none}
.vu-panel.is-fallback .vu-meter span{transition:height .12s ease}

@media(max-width:640px){
  .radio-stage{padding-left:10px;padding-right:10px}
  .radio-card{width:100%;overflow:hidden}
  .radio-main{width:100%;overflow:hidden}
  .history-panel{width:100%;overflow:hidden}
  .vu-panel{margin-top:-2px;margin-bottom:12px;padding:10px;border-radius:18px}
  .vu-panel__head{font-size:.62rem;margin-bottom:8px}.vu-panel__head small{font-size:.56rem}
  .vu-meter{height:46px;gap:3px;padding:8px;border-radius:13px;grid-template-columns:repeat(18,minmax(3px,1fr))}
  .vu-meter span:nth-child(n+19){display:none}
}

@media(max-height:765px) and (min-width:981px){
  .vu-panel{width:min(560px,100%);margin:-2px auto 10px;padding:9px 12px 10px;border-radius:18px}.vu-panel__head{margin-bottom:7px;font-size:.6rem}.vu-meter{height:40px;padding:7px;border-radius:13px;gap:4px}
}

/* v2.1.0 - V.U limpo, sem texto/caption/borda, e correção mobile */
html,body{width:100%;max-width:100%;overflow-x:hidden!important}
body{position:relative}
.radio-shell,.radio-stage,.radio-card,.radio-main,.history-panel,.now-card,.traffic-stats{max-width:100%;min-width:0}
.radio-shell,.radio-stage{width:100%;overflow-x:hidden!important}
.equalizer,.vu-panel__head{display:none!important}
.vu-panel{width:min(560px,100%);margin:-6px auto 14px;padding:0;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;overflow:hidden}
.vu-meter{height:46px;display:grid;grid-template-columns:repeat(24,minmax(3px,1fr));gap:5px;align-items:end;padding:0;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:hidden}
.vu-meter span{display:block;height:var(--vu-height,14%);min-height:4px;border-radius:999px;background:linear-gradient(180deg,#fff1f1 0%,#ff5050 28%,#e40000 62%,#780000 100%);box-shadow:0 0 13px rgba(255,28,28,.56);transition:height .055s linear,opacity .12s ease;opacity:.9}
.vu-meter span:nth-child(n+18){background:linear-gradient(180deg,#fff 0%,#ff6a6a 26%,#ff1c1c 62%,#8f0000 100%);box-shadow:0 0 17px rgba(255,28,28,.78)}
.vu-panel:not(.is-active) .vu-meter span{height:10%;opacity:.38;box-shadow:none}
.vu-panel.is-fallback .vu-meter span{transition:height .12s ease}

@media(max-width:640px){
  html,body{overflow-x:hidden!important;position:relative}
  .radio-stage{padding-left:10px;padding-right:10px;overflow:hidden!important}
  .radio-card,.radio-main,.history-panel{width:100%;overflow:hidden;min-width:0}
  .vu-panel{width:100%;margin:-4px auto 12px}
  .vu-meter{height:38px;gap:3px;grid-template-columns:repeat(18,minmax(3px,1fr))}
  .vu-meter span:nth-child(n+19){display:none}
}

@media(max-height:765px) and (min-width:981px){
  .vu-panel{width:min(520px,100%);margin:-4px auto 10px}
  .vu-meter{height:34px;gap:4px}
}

/* v2.3 - Capa do artista mais visível no fundo do player */
.radio-main{
  isolation:isolate;
  background:linear-gradient(180deg,rgba(7,11,18,.84),rgba(7,11,18,.58));
}
.radio-main::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background-image:var(--artist-bg);
  background-size:cover;
  background-position:center;
  filter:blur(12px) saturate(1.10) contrast(1.06);
  transform:scale(1.07);
  opacity:0;
  transition:opacity .45s ease,background-image .45s ease;
  pointer-events:none;
}
.radio-main.has-artist-bg::after{opacity:.42}
.radio-main::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:
    radial-gradient(circle at 50% 22%,rgba(255,28,28,.12),transparent 36%),
    linear-gradient(180deg,rgba(7,11,18,.56),rgba(7,11,18,.84));
  transform:none;
  animation:none;
  pointer-events:none;
}
.radio-main > *{position:relative;z-index:2}
.vu-panel,.vu-meter{display:none!important}

@media(max-width:640px){
  .radio-main.has-artist-bg::after{opacity:.36;filter:blur(10px) saturate(1.08) contrast(1.05);transform:scale(1.08)}
}


/* v2.4.0 - Ao Vivo movido para o letreiro e nome com acento */
.brand-block .live-pill{display:none!important}
.marquee{padding-left:105px}
.live-pill--marquee{position:absolute;left:0;top:0;bottom:0;z-index:4;width:94px;height:auto;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:15px 0 0 15px;background:linear-gradient(135deg,#ff1c1c,#8f0000);border:0;border-right:1px solid rgba(255,255,255,.22);box-shadow:none;font-size:.62rem;letter-spacing:.09em;white-space:nowrap}
.live-pill--marquee i{width:7px;height:7px;background:#fff;box-shadow:0 0 0 0 rgba(255,255,255,.70)}
.marquee:before{left:94px;width:52px;background:linear-gradient(90deg,rgba(5,7,12,.86) 0%,transparent 100%)}
@media(max-width:420px){.marquee{padding-left:91px}.live-pill--marquee{width:82px;padding:0 8px;font-size:.56rem;gap:5px;border-radius:12px 0 0 12px}.live-pill--marquee i{width:6px;height:6px}.marquee:before{left:82px;width:42px}}

/* v2.6.0 - Ao Vivo sem transparência */
.live-pill--marquee{background:linear-gradient(135deg,#ff1c1c,#8f0000)!important;border-right:1px solid rgba(255,255,255,.22)!important}


/* v2.7.0 - Histórico com scrollbar estilizada e limite de cache de avatares */
.history-grid{
  scrollbar-width:thin;
  scrollbar-color:#d91212 rgba(16,20,34,.10);
}
.history-grid::-webkit-scrollbar{
  width:8px;
}
.history-grid::-webkit-scrollbar-track{
  background:rgba(16,20,34,.08);
  border-radius:999px;
}
.history-grid::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg,#ff3434 0%,#d91212 48%,#840000 100%);
  border-radius:999px;
  border:2px solid rgba(247,249,252,.95);
}
.history-grid::-webkit-scrollbar-thumb:hover{
  background:linear-gradient(180deg,#ff5555 0%,#ff1c1c 48%,#9c0000 100%);
}
@media(min-width:981px){
  .history-grid{padding-right:7px}
}

/* v2.8.0 - Curiosidade do artista no lugar de visitas/online */
.insight-stack{width:min(680px,100%);margin:14px auto 0;display:grid;grid-template-columns:1.1fr .9fr;gap:12px;max-width:100%;min-width:0}
.artist-curiosity-card,.saair-credit-card{position:relative;overflow:hidden;min-width:0;text-align:left;padding:13px 14px;border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.105),rgba(255,255,255,.045));border:1px solid rgba(255,255,255,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 14px 32px rgba(0,0,0,.16);backdrop-filter:blur(10px)}
.artist-curiosity-card:before,.saair-credit-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,#ff3434,#9a0000)}
.artist-curiosity-card span{display:block;margin-bottom:6px;color:#ff4a4a;font-size:.66rem;text-transform:uppercase;letter-spacing:.13em;font-weight:900}
.artist-curiosity-card p,.saair-credit-card p{margin:0;color:rgba(255,255,255,.78);font-size:.82rem;line-height:1.42;font-weight:700}
.saair-credit-card strong{display:block;margin-bottom:6px;color:#fff;font-size:.78rem;line-height:1.25;font-weight:900;letter-spacing:.01em}
.saair-credit-card p{color:rgba(255,255,255,.68)}
@media(max-width:640px){.insight-stack{grid-template-columns:1fr;margin-top:12px;gap:10px}.artist-curiosity-card,.saair-credit-card{padding:12px 13px;border-radius:16px}.artist-curiosity-card p,.saair-credit-card p{font-size:.78rem;line-height:1.38}.saair-credit-card strong{font-size:.75rem}}
@media(max-height:765px) and (min-width:981px){.insight-stack{margin-top:8px;gap:9px}.artist-curiosity-card,.saair-credit-card{padding:9px 11px;border-radius:15px}.artist-curiosity-card span{font-size:.58rem;margin-bottom:4px}.artist-curiosity-card p,.saair-credit-card p{font-size:.72rem;line-height:1.30}.saair-credit-card strong{font-size:.70rem;margin-bottom:4px}}


/* v3.0.0 - Curiosidade musical fixa e botão Ler */
.curiosity-read-button{
  margin-top:8px;
  border:0;
  border-radius:999px;
  padding:7px 13px;
  background:linear-gradient(135deg,#ff3030,#b80000);
  color:#fff;
  font-size:.68rem;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(255,0,0,.18), inset 0 1px 0 rgba(255,255,255,.22);
}
.curiosity-read-button:hover{filter:brightness(1.08)}
.curiosity-read-button:active{transform:translateY(1px)}
.artist-curiosity-card p{transition:opacity .18s ease}
@media(max-height:765px) and (min-width:981px){
  .curiosity-read-button{margin-top:6px;padding:6px 11px;font-size:.62rem}
}

/* v3.1.0 - cards mais baixos, curiosidade rotativa e flash diagonal no play */
.play-button{position:relative;overflow:hidden;isolation:isolate}
.play-button:after{content:"";position:absolute;inset:-45%;width:42%;background:linear-gradient(115deg,transparent 0%,rgba(255,255,255,.08) 28%,rgba(255,255,255,.55) 50%,rgba(255,255,255,.10) 72%,transparent 100%);transform:translateX(-240%) rotate(14deg);opacity:0;pointer-events:none;z-index:2}
.player-orb.is-playing .play-button:after{animation:playDiagonalFlash 3.2s ease-in-out infinite;opacity:1}
@keyframes playDiagonalFlash{0%,58%{transform:translateX(-240%) rotate(14deg);opacity:0}66%{opacity:.78}82%{transform:translateX(360%) rotate(14deg);opacity:0}100%{transform:translateX(360%) rotate(14deg);opacity:0}}
.insight-stack{align-items:stretch}
.artist-curiosity-card,.saair-credit-card{min-height:86px;max-height:104px;padding:10px 13px;border-radius:16px}
.artist-curiosity-card span{margin-bottom:4px;font-size:.60rem;line-height:1.1}
.artist-curiosity-card p,.saair-credit-card p{font-size:.76rem;line-height:1.30;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.artist-curiosity-card.is-expanded,.saair-credit-card.is-expanded{max-height:none}
.artist-curiosity-card.is-expanded p{display:block;overflow:visible}
.saair-credit-card strong{margin-bottom:4px;font-size:.72rem;line-height:1.18}
.curiosity-read-button{margin-top:5px;padding:5px 10px;font-size:.58rem;line-height:1}
@media(max-width:640px){.artist-curiosity-card,.saair-credit-card{min-height:76px;max-height:96px;padding:10px 12px}.artist-curiosity-card p,.saair-credit-card p{font-size:.74rem;line-height:1.28;-webkit-line-clamp:2}.saair-credit-card strong{font-size:.70rem}.curiosity-read-button{padding:5px 10px;font-size:.56rem}}
@media(max-height:765px) and (min-width:981px){.artist-curiosity-card,.saair-credit-card{min-height:72px;max-height:88px;padding:8px 10px}.artist-curiosity-card p,.saair-credit-card p{font-size:.68rem;line-height:1.23;-webkit-line-clamp:2}.artist-curiosity-card span{font-size:.54rem}.saair-credit-card strong{font-size:.66rem}.curiosity-read-button{margin-top:4px;padding:4px 9px;font-size:.54rem}}


/* v3.2 - controles compactos das curiosidades */
.curiosity-actions{display:flex;align-items:center;gap:7px;margin-top:5px;flex-wrap:wrap}
.curiosity-read-button,.curiosity-nav-button{border:0;border-radius:999px;background:linear-gradient(135deg,#ff3434,#b90000);color:#fff;font-family:inherit;font-weight:900;text-transform:uppercase;letter-spacing:.08em;cursor:pointer;box-shadow:0 10px 24px rgba(180,0,0,.24),inset 0 1px 0 rgba(255,255,255,.24);transition:transform .16s ease,filter .16s ease,box-shadow .16s ease}
.curiosity-nav-button{padding:5px 10px;font-size:.56rem;line-height:1}
.curiosity-read-button:hover,.curiosity-nav-button:hover{filter:brightness(1.08);box-shadow:0 12px 28px rgba(180,0,0,.32),inset 0 1px 0 rgba(255,255,255,.24)}
.curiosity-read-button:active,.curiosity-nav-button:active{transform:translateY(1px)}
@media(max-width:640px){.curiosity-actions{gap:6px}.curiosity-nav-button{padding:5px 9px;font-size:.54rem}}


/* v3.3 - alinhamento dos botoes de curiosidade */
.curiosity-actions{
  display:flex;
  align-items:center;
  gap:7px;
  margin-top:6px;
  flex-wrap:nowrap;
}
.curiosity-read-button,.curiosity-nav-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:22px;
  min-height:22px;
  margin:0 !important;
  padding:0 11px;
  line-height:1;
  vertical-align:middle;
  white-space:nowrap;
}
.curiosity-read-button{
  font-size:.56rem;
}
.curiosity-nav-button{
  font-size:.56rem;
}
@media(max-width:640px){
  .curiosity-actions{gap:6px;overflow:hidden}
  .curiosity-read-button,.curiosity-nav-button{height:21px;min-height:21px;padding:0 10px;font-size:.52rem}
}
@media(max-height:765px) and (min-width:981px){
  .curiosity-actions{margin-top:5px;gap:6px}
  .curiosity-read-button,.curiosity-nav-button{height:20px;min-height:20px;padding:0 9px;font-size:.50rem}
}


/* v3.5.0 - Remove card de notícias e status textual do player */
.insight-stack--single{grid-template-columns:1fr;width:min(380px,100%)}
.insight-stack--single .saair-credit-card{min-height:72px;max-height:92px}
@media(max-width:640px){.insight-stack--single{width:100%}.insight-stack--single .saair-credit-card{min-height:70px;max-height:90px}}


/* v3.6.0 - Card legado na mesma largura do player e botão de ação */
.insight-stack--single{grid-template-columns:1fr;width:min(760px,100%)}
.insight-stack--single .saair-credit-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:72px;
  max-height:none;
}
.saair-credit-copy{min-width:0;flex:1;text-align:left}
.saair-more-button{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:34px;
  padding:0 16px;
  border-radius:999px;
  background:linear-gradient(135deg,#ff3434,#b90000);
  color:#fff;
  font-size:.68rem;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-decoration:none;
  box-shadow:0 12px 26px rgba(180,0,0,.25),inset 0 1px 0 rgba(255,255,255,.24);
  transition:transform .16s ease,filter .16s ease,box-shadow .16s ease;
  white-space:nowrap;
}
.saair-more-button:hover{filter:brightness(1.08);box-shadow:0 14px 30px rgba(180,0,0,.34),inset 0 1px 0 rgba(255,255,255,.24)}
.saair-more-button:active{transform:translateY(1px)}
@media(max-height:765px) and (min-width:981px){
  .insight-stack--single{width:min(680px,100%)}
  .insight-stack--single .saair-credit-card{min-height:62px;padding:8px 10px}
  .saair-more-button{height:28px;padding:0 12px;font-size:.56rem}
}
@media(max-width:640px){
  .insight-stack--single{width:100%}
  .insight-stack--single .saair-credit-card{align-items:flex-start;gap:10px;padding:11px 12px}
  .saair-more-button{height:30px;padding:0 12px;font-size:.58rem}
}
@media(max-width:420px){
  .insight-stack--single .saair-credit-card{flex-direction:column;align-items:stretch}
  .saair-more-button{width:max-content}
}

/* v3.9.0 - reconexão, volume, título dinâmico e histórico mobile em modal */
.volume-controls{
  width:min(360px,100%);
  margin:-10px auto 16px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr) 42px;
  align-items:center;
  gap:10px;
}
.volume-button{
  width:42px;
  height:42px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:15px;
  background:linear-gradient(145deg,rgba(255,52,52,.95),rgba(142,0,0,.95));
  color:#fff;
  font-family:inherit;
  font-size:1.35rem;
  line-height:1;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 12px 28px rgba(180,0,0,.28),inset 0 1px 0 rgba(255,255,255,.25);
  transition:transform .16s ease,filter .16s ease,box-shadow .16s ease;
}
.volume-button:hover{filter:brightness(1.08);box-shadow:0 15px 34px rgba(180,0,0,.36),inset 0 1px 0 rgba(255,255,255,.25)}
.volume-button:active{transform:translateY(1px) scale(.98)}
.volume-level{
  height:12px;
  padding:3px;
  border-radius:999px;
  background:rgba(0,0,0,.32);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:inset 0 8px 18px rgba(0,0,0,.24);
  overflow:hidden;
}
.volume-level span{
  display:block;
  height:100%;
  width:85%;
  border-radius:999px;
  background:linear-gradient(90deg,#8b0000 0%,#ff1c1c 64%,#ff7a7a 100%);
  box-shadow:0 0 16px rgba(255,28,28,.55);
  transition:width .16s ease;
}
.mobile-history-button{
  display:none;
  width:100%;
  height:38px;
  margin-top:10px;
  border:0;
  border-radius:14px;
  background:linear-gradient(135deg,#ff3434,#a80000);
  color:#fff;
  font-family:inherit;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  box-shadow:0 14px 30px rgba(180,0,0,.28),inset 0 1px 0 rgba(255,255,255,.24);
}
.history-modal{display:none}
.history-modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.62);backdrop-filter:blur(8px)}
.history-modal__panel{
  position:relative;
  z-index:2;
  width:min(420px,calc(100vw - 28px));
  max-height:min(74vh,680px);
  overflow:auto;
  scrollbar-width:none;
  border-radius:24px;
  padding:16px;
  background:rgba(255,255,255,.96);
  color:#101422;
  border:1px solid rgba(255,255,255,.78);
  box-shadow:0 28px 90px rgba(0,0,0,.45);
}
.history-modal__panel::-webkit-scrollbar{width:0;height:0}
.history-modal__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.history-modal__head span{display:block;color:#d91212;font-size:.66rem;text-transform:uppercase;letter-spacing:.14em;font-weight:900;margin-bottom:3px}
.history-modal__head strong{font-size:1.05rem;line-height:1.1;letter-spacing:-.02em}
.history-modal__close{
  width:34px;
  height:34px;
  border:0;
  border-radius:12px;
  background:linear-gradient(135deg,#ff3434,#970000);
  color:#fff;
  font-size:1.35rem;
  font-weight:900;
  line-height:1;
  cursor:pointer;
  box-shadow:0 12px 24px rgba(180,0,0,.25),inset 0 1px 0 rgba(255,255,255,.22);
}
.history-grid--modal{display:grid;grid-template-columns:1fr;gap:8px;padding:0!important;overflow:visible!important}
.history-grid--modal .history-item{grid-template-columns:42px minmax(0,1fr);gap:10px;padding:9px 10px;border-radius:14px}
.history-grid--modal .history-avatar{width:42px;height:42px;border-radius:13px}

@media(max-width:640px){
  html,body{overflow-x:hidden!important;max-width:100%}
  body.history-modal-open{overflow:hidden!important;touch-action:none}
  .radio-shell,.radio-stage,.radio-card,.radio-main,.now-card,.insight-stack,.saair-credit-card{max-width:100%;min-width:0;overflow-x:hidden!important}
  .radio-stage{min-height:100svh;padding:10px;place-items:start center;overflow:hidden!important}
  .radio-card{display:block;width:100%;padding:10px;border-radius:24px;overflow:hidden!important}
  .radio-main{min-height:calc(100svh - 20px);padding:22px 14px;border-radius:20px;overflow:hidden!important}
  .volume-controls{width:min(300px,100%);grid-template-columns:38px minmax(0,1fr) 38px;gap:8px;margin:-8px auto 12px}
  .volume-button{width:38px;height:38px;border-radius:14px;font-size:1.2rem}
  .volume-level{height:11px}
  .mobile-history-button{display:inline-flex;align-items:center;justify-content:center}
  .history-panel{display:none!important}
  .history-modal.is-open{position:fixed;inset:0;z-index:999;display:grid;place-items:center;padding:14px}
  .history-title{font-size:.88rem}.history-artist{font-size:.74rem}.history-time{font-size:.66rem}
}

@media(min-width:641px){
  .history-modal{display:none!important}
}

@media(max-height:765px) and (min-width:981px){
  .volume-controls{width:min(320px,100%);margin:-8px auto 10px;grid-template-columns:36px minmax(0,1fr) 36px;gap:8px}
  .volume-button{width:36px;height:36px;border-radius:13px;font-size:1.15rem}
  .volume-level{height:10px}
}

/* v4.1.0 - ajustes mobile: sem rolagem horizontal, título compacto e modal com cabeçalho fixo */
html, body{
  width:100%;
  max-width:100%;
  overflow-x:hidden!important;
}
.radio-shell,.radio-stage,.radio-card,.radio-main,.now-card,.insight-stack,.saair-credit-card,.volume-controls,.marquee{
  max-width:100%;
  min-width:0;
}

@media(max-width:640px){
  html,body{
    width:100%;
    max-width:100%;
    overflow-x:hidden!important;
  }
  .radio-shell{
    width:100%;
    min-height:100svh;
    overflow:hidden!important;
  }
  .radio-stage{
    width:100%;
    height:100svh;
    min-height:100svh;
    padding:8px;
    overflow:hidden!important;
    place-items:center;
  }
  .radio-card{
    width:calc(100vw - 16px);
    max-width:calc(100vw - 16px);
    height:calc(100svh - 16px);
    padding:8px;
    border-radius:22px;
    overflow:hidden!important;
  }
  .radio-main{
    width:100%;
    height:100%;
    min-height:0;
    padding:16px 12px;
    border-radius:18px;
    justify-content:center;
    overflow:hidden!important;
  }
  .brand-block{
    margin-bottom:5px;
  }
  .brand-block img{
    max-width:128px;
    max-height:44px;
  }
  .kicker{
    margin-bottom:4px;
    font-size:.60rem;
    letter-spacing:.13em;
  }
  h1{
    max-width:100%;
    font-size:clamp(1.48rem,7.2vw,2.05rem)!important;
    line-height:1!important;
    letter-spacing:-.045em;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .lead{
    margin:6px auto 10px;
    font-size:.78rem;
    line-height:1.25;
    max-width:96%;
  }
  .player-orb{
    width:126px;
    height:126px;
    margin:0 auto 8px;
  }
  .player-orb:before{inset:10px}
  .player-orb:after{inset:-7px}
  .play-button{
    width:78px;
    height:78px;
  }
  .play-icon{
    border-top-width:15px;
    border-bottom-width:15px;
    border-left-width:23px;
  }
  .is-playing .play-icon{
    width:24px;
    height:30px;
  }
  .is-playing .play-icon:before,.is-playing .play-icon:after{
    width:9px;
    height:30px;
  }
  .volume-controls{
    width:min(270px,100%);
    grid-template-columns:34px minmax(0,1fr) 34px;
    gap:7px;
    margin:-4px auto 9px;
  }
  .volume-button{
    width:34px;
    height:34px;
    border-radius:12px;
    font-size:1.05rem;
  }
  .volume-level{height:10px}
  .now-card{
    width:100%;
    padding:9px;
    border-radius:16px;
  }
  .now-label{
    margin-bottom:5px;
    font-size:.58rem;
    letter-spacing:.13em;
  }
  .now-current{
    grid-template-columns:38px minmax(0,1fr);
    gap:8px;
    margin-bottom:7px;
  }
  .current-avatar{
    width:38px;
    height:38px;
    border-radius:12px;
  }
  .current-info strong{
    display:none!important;
  }
  .current-info span{
    margin:0;
    color:#fff;
    font-size:.92rem;
    line-height:1.12;
    font-weight:900;
    letter-spacing:-.02em;
  }
  .marquee{
    height:34px;
    border-radius:12px;
  }
  .marquee-track{
    font-size:.86rem;
  }
  .marquee:after{width:30px}
  .mobile-history-button{
    height:33px;
    margin-top:7px;
    border-radius:12px;
    font-size:.62rem;
  }
  .insight-stack--single{
    margin-top:8px;
    width:100%;
  }
  .insight-stack--single .saair-credit-card{
    min-height:0;
    padding:9px 10px;
    border-radius:14px;
    gap:8px;
    flex-direction:row;
    align-items:center;
  }
  .saair-credit-card strong{
    font-size:.62rem;
    margin-bottom:2px;
  }
  .saair-credit-card p{
    font-size:.64rem;
    line-height:1.22;
    -webkit-line-clamp:2;
  }
  .saair-more-button{
    height:28px;
    padding:0 10px;
    font-size:.52rem;
    border-radius:10px;
  }
  .history-modal.is-open{
    position:fixed;
    inset:0;
    z-index:999;
    display:grid;
    place-items:center;
    padding:10px;
    overflow:hidden!important;
  }
  .history-modal__panel{
    width:min(420px,calc(100vw - 20px));
    max-width:calc(100vw - 20px);
    max-height:82svh;
    display:flex;
    flex-direction:column;
    overflow:hidden!important;
    padding:13px;
    border-radius:22px;
  }
  .history-modal__head{
    flex:0 0 auto;
    position:relative;
    z-index:3;
    margin-bottom:10px;
    padding-bottom:10px;
    border-bottom:1px solid rgba(16,20,34,.08);
    background:rgba(255,255,255,.96);
  }
  .history-modal__head span{
    font-size:.58rem;
  }
  .history-modal__head strong{
    font-size:.98rem;
  }
  .history-modal__close{
    flex:0 0 auto;
    width:32px;
    height:32px;
    border-radius:11px;
  }
  .history-grid--modal{
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    padding-right:2px!important;
    scrollbar-width:thin;
    scrollbar-color:#d91212 rgba(16,20,34,.08);
  }
  .history-grid--modal::-webkit-scrollbar{width:6px!important;height:0!important}
  .history-grid--modal::-webkit-scrollbar-track{background:rgba(16,20,34,.08);border-radius:999px}
  .history-grid--modal::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#ff3434,#970000);border-radius:999px}
  .history-grid--modal .history-item{
    grid-template-columns:40px minmax(0,1fr);
    gap:9px;
    padding:8px 9px;
  }
  .history-grid--modal .history-avatar{
    width:40px;
    height:40px;
  }
}

@media(max-width:380px){
  .radio-main{padding:12px 10px}
  .brand-block img{max-width:116px;max-height:40px}
  h1{font-size:clamp(1.36rem,7vw,1.78rem)!important}
  .lead{font-size:.70rem;margin:5px auto 8px}
  .player-orb{width:112px;height:112px;margin-bottom:6px}
  .play-button{width:70px;height:70px}
  .volume-controls{width:min(245px,100%);grid-template-columns:31px minmax(0,1fr) 31px;margin-bottom:7px}
  .volume-button{width:31px;height:31px;border-radius:10px}
  .now-card{padding:8px}
  .now-current{grid-template-columns:34px minmax(0,1fr);gap:7px;margin-bottom:6px}
  .current-avatar{width:34px;height:34px;border-radius:10px}
  .current-info span{font-size:.82rem}
  .marquee{height:31px}
  .marquee-track{font-size:.80rem}
  .mobile-history-button{height:30px;margin-top:6px}
  .insight-stack--single .saair-credit-card{padding:8px 9px}
  .saair-credit-card p{font-size:.59rem;line-height:1.16}
  .saair-credit-card strong{font-size:.58rem}
  .saair-more-button{height:25px;padding:0 8px;font-size:.48rem}
}

/* v4.2.0 - ajustes mobile: modal escuro e tentativa de manter visual em retrato */
@media(max-width:640px), (orientation: landscape) and (max-height:540px) and (pointer:coarse){
  html, body{
    overflow-x:hidden!important;
    overscroll-behavior:none;
  }
  .history-modal__panel{
    background:linear-gradient(180deg,rgba(10,14,24,.98),rgba(5,7,12,.98))!important;
    color:#fff!important;
    border:1px solid rgba(255,255,255,.13)!important;
    box-shadow:0 28px 90px rgba(0,0,0,.60)!important;
  }
  .history-modal__head{
    background:linear-gradient(180deg,rgba(10,14,24,.98),rgba(10,14,24,.92))!important;
    border-bottom:1px solid rgba(255,255,255,.10)!important;
  }
  .history-modal__head span{color:#ff4a4a!important}
  .history-modal__head strong{color:#fff!important}
  .history-grid--modal .history-item{
    background:rgba(255,255,255,.075)!important;
    border:1px solid rgba(255,255,255,.10)!important;
    box-shadow:0 10px 26px rgba(0,0,0,.22)!important;
  }
  .history-grid--modal .history-title{color:#fff!important}
  .history-grid--modal .history-artist{color:rgba(255,255,255,.68)!important}
  .history-grid--modal .history-time{color:rgba(255,255,255,.46)!important}
  .history-grid--modal .history-item--empty{
    background:rgba(255,255,255,.06)!important;
    color:rgba(255,255,255,.66)!important;
  }
}

@media(orientation:landscape) and (max-height:540px) and (pointer:coarse){
  html,body{
    width:100svh!important;
    height:100svw!important;
    min-width:100svh!important;
    min-height:100svw!important;
    max-width:100svh!important;
    max-height:100svw!important;
    overflow:hidden!important;
    background:#05070c!important;
  }
  .radio-shell{
    position:fixed!important;
    top:0!important;
    left:0!important;
    width:100svh!important;
    height:100svw!important;
    min-height:100svw!important;
    transform:rotate(90deg) translateY(-100%)!important;
    transform-origin:top left!important;
    overflow:hidden!important;
  }
  .radio-stage{
    width:100svh!important;
    height:100svw!important;
    min-height:100svw!important;
    padding:8px!important;
    overflow:hidden!important;
    place-items:center!important;
  }
  .radio-card{
    display:block!important;
    width:calc(100svh - 16px)!important;
    max-width:430px!important;
    height:calc(100svw - 16px)!important;
    max-height:calc(100svw - 16px)!important;
    padding:8px!important;
    border-radius:22px!important;
    overflow:hidden!important;
  }
  .radio-main{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    padding:14px 12px!important;
    border-radius:18px!important;
    overflow:hidden!important;
  }
  .history-panel{display:none!important}
  .mobile-history-button{display:inline-flex!important;align-items:center;justify-content:center}
  .brand-block img{max-width:122px!important;max-height:42px!important}
  h1{font-size:clamp(1.38rem,7svh,1.95rem)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .lead{font-size:.72rem!important;line-height:1.2!important;margin:5px auto 8px!important}
  .player-orb{width:116px!important;height:116px!important;margin:0 auto 7px!important}
  .play-button{width:72px!important;height:72px!important}
  .volume-controls{width:min(260px,100%)!important;margin:-5px auto 8px!important;grid-template-columns:32px minmax(0,1fr) 32px!important}
  .volume-button{width:32px!important;height:32px!important}
  .now-card{padding:8px!important;border-radius:15px!important}
  .now-current{grid-template-columns:34px minmax(0,1fr)!important;gap:7px!important;margin-bottom:6px!important}
  .current-avatar{width:34px!important;height:34px!important}
  .current-info strong{display:none!important}
  .current-info span{font-size:.82rem!important;line-height:1.1!important}
  .marquee{height:31px!important}
  .marquee-track{font-size:.80rem!important}
  .insight-stack--single{margin-top:7px!important}
  .insight-stack--single .saair-credit-card{padding:8px 9px!important;gap:7px!important;flex-direction:row!important;align-items:center!important}
  .saair-credit-card strong{font-size:.58rem!important}
  .saair-credit-card p{font-size:.58rem!important;line-height:1.14!important;-webkit-line-clamp:2!important}
  .saair-more-button{height:25px!important;font-size:.48rem!important;padding:0 8px!important}
  .history-modal.is-open{
    position:fixed!important;
    inset:0!important;
    display:grid!important;
    place-items:center!important;
    padding:10px!important;
    z-index:9999!important;
  }
  .history-modal__panel{width:min(420px,calc(100svh - 20px))!important;max-height:calc(100svw - 20px)!important}
}


/* v4.3.0 - título completo da aba, card legado aproveitando espaço no mobile e paisagem mais organizada */
@media(max-width:640px){
  .radio-main{
    display:flex!important;
    flex-direction:column!important;
  }
  .insight-stack--single{
    flex:1 1 auto!important;
    display:flex!important;
    min-height:0!important;
    margin-top:8px!important;
  }
  .insight-stack--single .saair-credit-card{
    width:100%!important;
    flex:1 1 auto!important;
    min-height:0!important;
    max-height:none!important;
    align-items:center!important;
  }
  .saair-credit-copy{
    min-width:0!important;
  }
  .saair-credit-card p{
    -webkit-line-clamp:3!important;
  }
}

@media(max-width:380px){
  .insight-stack--single .saair-credit-card{
    padding:9px 10px!important;
  }
  .saair-credit-card p{
    -webkit-line-clamp:3!important;
  }
}

@media(orientation:landscape) and (max-height:540px) and (pointer:coarse){
  .radio-card{
    max-width:min(430px, calc(100svh - 14px))!important;
    margin:auto!important;
  }
  .radio-main{
    display:flex!important;
    flex-direction:column!important;
    justify-content:space-between!important;
    gap:5px!important;
    padding:12px 11px!important;
  }
  .brand-block{margin-bottom:2px!important}
  .kicker{margin-bottom:2px!important}
  h1{margin-bottom:0!important}
  .lead{
    margin:3px auto 5px!important;
    max-width:94%!important;
  }
  .player-orb{
    flex:0 0 auto!important;
    width:108px!important;
    height:108px!important;
    margin:0 auto 4px!important;
  }
  .play-button{width:68px!important;height:68px!important}
  .volume-controls{margin:-4px auto 5px!important}
  .now-card{flex:0 0 auto!important}
  .insight-stack--single{
    flex:1 1 auto!important;
    min-height:0!important;
    margin-top:5px!important;
    display:flex!important;
  }
  .insight-stack--single .saair-credit-card{
    flex:1 1 auto!important;
    width:100%!important;
    min-height:0!important;
    max-height:none!important;
    padding:8px 9px!important;
  }
  .saair-credit-card p{
    -webkit-line-clamp:3!important;
  }
}


/* v4.6.0 - histórico mobile em tela cheia e crédito legado fora do player */
.radio-stage{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:14px;
}
.saair-footer-note{
  position:relative;
  z-index:2;
  width:min(1360px,100%);
  margin:0 auto;
  padding:12px 18px 14px;
  text-align:center;
  border-radius:24px;
  background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.032));
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 18px 50px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter:blur(16px);
}
.saair-footer-note strong{
  display:block;
  margin:0 0 5px;
  color:#fff;
  font-size:.86rem;
  line-height:1.2;
  font-weight:900;
  letter-spacing:.01em;
}
.saair-footer-note p{
  max-width:720px;
  margin:0 auto 10px;
  color:rgba(255,255,255,.68);
  font-size:.78rem;
  line-height:1.35;
  font-weight:700;
}
.saair-footer-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:0 18px;
  border-radius:999px;
  background:linear-gradient(135deg,#ff3434,#970000);
  color:#fff;
  text-decoration:none;
  font-size:.66rem;
  font-weight:900;
  letter-spacing:.10em;
  text-transform:uppercase;
  box-shadow:0 12px 26px rgba(180,0,0,.24),inset 0 1px 0 rgba(255,255,255,.22);
}
.saair-footer-button:hover{filter:brightness(1.08)}
.saair-footer-button:active{transform:translateY(1px)}

@media(max-height:765px) and (min-width:981px){
  .radio-stage{gap:10px;padding-top:16px;padding-bottom:16px}
  .saair-footer-note{padding:10px 16px 12px;border-radius:20px}
  .saair-footer-note strong{font-size:.76rem;margin-bottom:3px}
  .saair-footer-note p{font-size:.68rem;line-height:1.25;margin-bottom:8px}
  .saair-footer-button{min-height:28px;font-size:.58rem;padding:0 14px}
}

@media(max-width:640px){
  .radio-stage{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    min-height:100svh!important;
    height:100svh!important;
    padding:8px!important;
    overflow:hidden!important;
  }
  .radio-card{
    flex:1 1 auto!important;
    min-height:0!important;
  }
  .saair-footer-note{
    flex:0 0 auto!important;
    width:calc(100vw - 16px)!important;
    max-width:calc(100vw - 16px)!important;
    padding:8px 10px 10px!important;
    border-radius:18px!important;
  }
  .saair-footer-note strong{
    font-size:.62rem!important;
    line-height:1.15!important;
    margin-bottom:3px!important;
  }
  .saair-footer-note p{
    font-size:.57rem!important;
    line-height:1.18!important;
    max-width:100%!important;
    margin-bottom:7px!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
  }
  .saair-footer-button{
    min-height:25px!important;
    padding:0 12px!important;
    font-size:.48rem!important;
  }

  body.history-modal-open .radio-card,
  body.history-modal-open .saair-footer-note{
    filter:blur(4px) brightness(.42)!important;
    transform:scale(.985)!important;
    transition:filter .22s ease, transform .22s ease;
  }
  .history-modal.is-open{
    position:fixed!important;
    inset:0!important;
    z-index:9999!important;
    display:block!important;
    width:100vw!important;
    height:100dvh!important;
    min-height:100dvh!important;
    padding:0!important;
    overflow:hidden!important;
  }
  .history-modal__backdrop{
    position:fixed!important;
    inset:0!important;
    background:rgba(3,5,10,.72)!important;
    backdrop-filter:blur(10px) brightness(.62)!important;
  }
  .history-modal__panel{
    position:fixed!important;
    inset:0!important;
    z-index:2!important;
    display:flex!important;
    flex-direction:column!important;
    width:100vw!important;
    max-width:100vw!important;
    height:100dvh!important;
    max-height:100dvh!important;
    min-height:100dvh!important;
    margin:0!important;
    padding:0!important;
    border-radius:0!important;
    overflow:hidden!important;
    background:linear-gradient(180deg,rgba(10,14,24,.98),rgba(5,7,12,.985))!important;
    color:#fff!important;
    border:0!important;
    box-shadow:none!important;
    animation:historyFullIn .24s cubic-bezier(.2,.8,.2,1) both!important;
  }
  .history-modal__head{
    position:relative!important;
    z-index:4!important;
    flex:0 0 auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    margin:0!important;
    padding:calc(env(safe-area-inset-top,0px) + 16px) 16px 14px!important;
    border-bottom:1px solid rgba(255,255,255,.11)!important;
    background:linear-gradient(180deg,rgba(10,14,24,.98),rgba(10,14,24,.92))!important;
    box-shadow:0 12px 30px rgba(0,0,0,.28)!important;
  }
  .history-modal__head span{
    display:block!important;
    color:#ff4a4a!important;
    font-size:.62rem!important;
    text-transform:uppercase!important;
    letter-spacing:.14em!important;
    font-weight:900!important;
    margin:0 0 4px!important;
  }
  .history-modal__head strong{
    display:block!important;
    color:#fff!important;
    font-size:1.08rem!important;
    line-height:1.1!important;
  }
  .history-modal__close{
    flex:0 0 auto!important;
    width:40px!important;
    height:40px!important;
    border-radius:14px!important;
    font-size:1.5rem!important;
  }
  .history-grid--modal{
    flex:1 1 auto!important;
    min-height:0!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    align-content:start!important;
    gap:10px!important;
    padding:14px 14px calc(env(safe-area-inset-bottom,0px) + 16px)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    scrollbar-width:thin!important;
    scrollbar-color:#d91212 rgba(255,255,255,.08)!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .history-grid--modal::-webkit-scrollbar{width:6px!important;height:0!important}
  .history-grid--modal::-webkit-scrollbar-track{background:rgba(255,255,255,.08)!important;border-radius:999px!important}
  .history-grid--modal::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#ff3434,#970000)!important;border-radius:999px!important}
  .history-grid--modal .history-item{
    grid-template-columns:48px minmax(0,1fr)!important;
    gap:11px!important;
    padding:11px 12px!important;
    border-radius:17px!important;
    background:rgba(255,255,255,.075)!important;
    border:1px solid rgba(255,255,255,.10)!important;
    box-shadow:0 12px 28px rgba(0,0,0,.23)!important;
  }
  .history-grid--modal .history-avatar{
    width:48px!important;
    height:48px!important;
    border-radius:15px!important;
  }
  .history-grid--modal .history-title{color:#fff!important;font-size:.94rem!important}
  .history-grid--modal .history-artist{color:rgba(255,255,255,.70)!important;font-size:.78rem!important}
  .history-grid--modal .history-time{color:rgba(255,255,255,.46)!important}
}

@media(orientation:landscape) and (max-height:540px) and (pointer:coarse){
  .saair-footer-note{
    display:none!important;
  }
  .history-modal.is-open{
    position:fixed!important;
    inset:0!important;
    z-index:99999!important;
    display:block!important;
    width:100svh!important;
    height:100svw!important;
    padding:0!important;
  }
  .history-modal__panel{
    position:fixed!important;
    inset:0!important;
    width:100svh!important;
    max-width:100svh!important;
    height:100svw!important;
    max-height:100svw!important;
    border-radius:0!important;
    padding:0!important;
  }
}

@keyframes historyFullIn{
  from{opacity:0;transform:translateY(28px) scale(.985)}
  to{opacity:1;transform:translateY(0) scale(1)}
}



/* v4.7.0 - correção: histórico como camada independente e crédito legado sem caixa/borda */
.saair-footer-note{
  width:min(900px,100%);
  margin:2px auto 0;
  padding:0 12px 4px;
  text-align:center;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
.saair-footer-note strong{
  display:block;
  margin:0 0 4px;
  color:rgba(255,255,255,.92);
  font-size:.78rem;
  line-height:1.25;
  font-weight:900;
}
.saair-footer-note p{
  max-width:720px;
  margin:0 auto 8px;
  color:rgba(255,255,255,.62);
  font-size:.72rem;
  line-height:1.35;
  font-weight:700;
}
.saair-footer-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:0 17px;
  border-radius:999px;
  background:linear-gradient(135deg,#ff3434,#970000);
  color:#fff;
  text-decoration:none;
  font-size:.62rem;
  font-weight:900;
  letter-spacing:.10em;
  text-transform:uppercase;
  box-shadow:0 10px 24px rgba(180,0,0,.25), inset 0 1px 0 rgba(255,255,255,.22);
}

/* A camada do histórico fica fora do card do player.
   O blur é aplicado somente no fundo; o histórico fica nítido. */
.history-modal{
  display:none;
}
.history-modal.is-open{
  position:fixed!important;
  inset:0!important;
  z-index:2147483000!important;
  display:block!important;
  width:100vw!important;
  height:100dvh!important;
  overflow:hidden!important;
  padding:0!important;
}
.history-modal__backdrop{
  position:fixed!important;
  inset:0!important;
  z-index:0!important;
  background:rgba(0,0,0,.64)!important;
  backdrop-filter:blur(7px) brightness(.72)!important;
  -webkit-backdrop-filter:blur(7px) brightness(.72)!important;
}
.history-modal__panel{
  position:fixed!important;
  inset:0!important;
  z-index:1!important;
  width:100vw!important;
  max-width:none!important;
  height:100dvh!important;
  max-height:none!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  color:#fff!important;
  background:
    radial-gradient(circle at 78% 18%, rgba(255,28,28,.20), transparent 34%),
    radial-gradient(circle at 18% 86%, rgba(127,178,255,.12), transparent 36%),
    linear-gradient(145deg, rgba(5,7,12,.92), rgba(9,12,20,.86))!important;
  box-shadow:none!important;
  animation:historyLayerIn .22s ease both!important;
}
.history-modal__head{
  flex:0 0 auto!important;
  position:sticky!important;
  top:0!important;
  z-index:4!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  padding:calc(env(safe-area-inset-top,0px) + 16px) 16px 14px!important;
  margin:0!important;
  color:#fff!important;
  background:linear-gradient(180deg,rgba(5,7,12,.98),rgba(5,7,12,.78))!important;
  border-bottom:1px solid rgba(255,255,255,.10)!important;
  box-shadow:0 12px 34px rgba(0,0,0,.28)!important;
  backdrop-filter:blur(12px)!important;
  -webkit-backdrop-filter:blur(12px)!important;
}
.history-modal__head span{
  display:block!important;
  margin:0 0 4px!important;
  color:#ff3a3a!important;
  font-size:.68rem!important;
  text-transform:uppercase!important;
  letter-spacing:.16em!important;
  font-weight:900!important;
}
.history-modal__head strong{
  display:block!important;
  color:#fff!important;
  font-size:1.14rem!important;
  line-height:1.1!important;
  font-weight:900!important;
}
.history-modal__close{
  flex:0 0 auto!important;
  width:44px!important;
  height:44px!important;
  border:0!important;
  border-radius:15px!important;
  background:linear-gradient(135deg,#ff3434,#970000)!important;
  color:#fff!important;
  font-size:1.75rem!important;
  line-height:1!important;
  font-weight:800!important;
  box-shadow:0 12px 28px rgba(180,0,0,.32), inset 0 1px 0 rgba(255,255,255,.22)!important;
}
.history-grid--modal{
  flex:1 1 auto!important;
  min-height:0!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  align-content:start!important;
  gap:10px!important;
  padding:14px 14px calc(env(safe-area-inset-bottom,0px) + 18px)!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  scrollbar-width:thin!important;
  scrollbar-color:#d91212 rgba(255,255,255,.08)!important;
  -webkit-overflow-scrolling:touch!important;
}
.history-grid--modal::-webkit-scrollbar{width:6px!important;height:0!important}
.history-grid--modal::-webkit-scrollbar-track{background:rgba(255,255,255,.08)!important;border-radius:999px!important}
.history-grid--modal::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#ff3434,#970000)!important;border-radius:999px!important}
.history-grid--modal .history-item{
  width:100%!important;
  max-width:720px!important;
  margin:0 auto!important;
  display:grid!important;
  grid-template-columns:50px minmax(0,1fr)!important;
  gap:11px!important;
  padding:11px 12px!important;
  border-radius:17px!important;
  color:#fff!important;
  background:rgba(255,255,255,.078)!important;
  border:1px solid rgba(255,255,255,.105)!important;
  box-shadow:0 12px 28px rgba(0,0,0,.24)!important;
}
.history-grid--modal .history-avatar{
  width:50px!important;
  height:50px!important;
  border-radius:15px!important;
}
.history-grid--modal .history-title{color:#fff!important;font-size:.95rem!important}
.history-grid--modal .history-artist{color:rgba(255,255,255,.70)!important;font-size:.78rem!important}
.history-grid--modal .history-time{color:rgba(255,255,255,.48)!important}
body.history-modal-open{
  overflow:hidden!important;
}
body.history-modal-open .radio-card,
body.history-modal-open .saair-footer-note{
  filter:blur(5px) brightness(.45)!important;
  transform:scale(.985)!important;
  transition:filter .22s ease, transform .22s ease!important;
}
body.history-modal-open .history-modal,
body.history-modal-open .history-modal *{
  filter:none!important;
}

@media(max-width:640px){
  .saair-footer-note{
    padding:2px 14px 8px!important;
    margin-top:0!important;
  }
  .saair-footer-note strong{
    font-size:.68rem!important;
    margin-bottom:3px!important;
  }
  .saair-footer-note p{
    font-size:.61rem!important;
    line-height:1.28!important;
    margin-bottom:7px!important;
  }
  .saair-footer-button{
    min-height:27px!important;
    padding:0 14px!important;
    font-size:.54rem!important;
  }
}

@media(orientation:landscape) and (max-height:540px) and (pointer:coarse){
  .history-modal.is-open,
  .history-modal__panel{
    width:100vw!important;
    height:100dvh!important;
    max-width:none!important;
    max-height:none!important;
    inset:0!important;
  }
  .history-modal__head{
    padding:calc(env(safe-area-inset-top,0px) + 10px) 14px 10px!important;
  }
  .history-grid--modal{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
    padding:10px 12px calc(env(safe-area-inset-bottom,0px) + 12px)!important;
  }
  .history-grid--modal .history-item{
    max-width:none!important;
    grid-template-columns:42px minmax(0,1fr)!important;
    padding:9px 10px!important;
  }
  .history-grid--modal .history-avatar{
    width:42px!important;
    height:42px!important;
    border-radius:13px!important;
  }
}

@keyframes historyLayerIn{
  from{opacity:0;transform:translateY(14px)}
  to{opacity:1;transform:translateY(0)}
}


/* v5.0.0 - Rádio Mega Hits: identidade azul neon, logo grande/3D e WhatsApp */
:root{
  --ink:#ffffff;
  --muted:#a9c9ff;
  --line:rgba(55,173,255,.34);
  --brand:#16a4ff;
  --brand-2:#004dff;
  --blue:#20c4ff;
  --green:#25d366;
  --dark:#020713;
  --dark-2:#06152b;
  --card:rgba(7,23,49,.64);
  --mega-orange:#ff9b19;
  --mega-gold:#ffd85a;
  --shadow:0 34px 120px rgba(0,70,190,.30),0 22px 80px rgba(0,0,0,.55);
}
body{
  background:#020713;
}
.radio-shell{
  background:
    radial-gradient(circle at 50% 22%,rgba(0,174,255,.32),transparent 30%),
    radial-gradient(circle at 78% 14%,rgba(0,91,255,.28),transparent 32%),
    radial-gradient(circle at 20% 88%,rgba(255,145,0,.12),transparent 34%),
    linear-gradient(135deg,#020713 0%,#031126 46%,#061a3a 100%)!important;
}
.radio-stage::before,
.radio-stage::after{
  content:"";
  position:absolute;
  inset:auto;
  pointer-events:none;
  z-index:0;
}
.radio-stage::before{
  width:110vw;
  height:110vw;
  left:50%;
  top:48%;
  transform:translate(-50%,-50%);
  background:repeating-radial-gradient(circle,rgba(32,196,255,.14) 0 1px,transparent 1px 28px);
  opacity:.20;
  filter:blur(.2px);
  animation:megaGridPulse 8s ease-in-out infinite;
}
.radio-stage::after{
  left:0;
  right:0;
  bottom:0;
  height:210px;
  background:linear-gradient(180deg,transparent,rgba(0,116,255,.14));
}
.ambient--one{
  background:radial-gradient(circle,rgba(32,196,255,.50),transparent 68%)!important;
}
.ambient--two{
  background:radial-gradient(circle,rgba(0,91,255,.42),transparent 70%)!important;
}
.radio-card{
  border:1px solid rgba(31,183,255,.40)!important;
  background:linear-gradient(145deg,rgba(8,31,65,.80),rgba(3,13,29,.58))!important;
  box-shadow:0 0 0 1px rgba(36,202,255,.12),0 0 58px rgba(0,132,255,.24),var(--shadow)!important;
}
.radio-main{
  padding:34px 34px 30px!important;
  background:linear-gradient(180deg,rgba(2,10,24,.92),rgba(4,20,45,.74))!important;
  border:1px solid rgba(45,190,255,.32)!important;
  box-shadow:inset 0 0 44px rgba(0,96,255,.14),0 0 46px rgba(0,132,255,.16)!important;
  perspective:1100px;
}
.radio-main::after{
  opacity:0!important;
}
.radio-main::before{
  background:
    radial-gradient(circle at 50% 42%,rgba(0,174,255,.38),transparent 28%),
    radial-gradient(circle at 50% 55%,rgba(0,83,255,.26),transparent 36%),
    radial-gradient(circle at 72% 66%,rgba(255,145,0,.10),transparent 32%),
    linear-gradient(180deg,rgba(2,10,24,.28),rgba(2,10,24,.82))!important;
}
.kicker{
  color:#20c4ff!important;
  text-shadow:0 0 14px rgba(32,196,255,.72);
  letter-spacing:.18em;
}
h1{
  color:#fff!important;
  text-shadow:0 0 24px rgba(32,196,255,.35),0 10px 32px rgba(0,0,0,.36);
}
.mega-tagline{
  margin:14px auto 0;
  font-weight:900;
  font-style:italic;
  font-size:clamp(1.28rem,3.2vw,2.55rem);
  line-height:1;
  letter-spacing:-.04em;
  color:#fff;
  background:linear-gradient(90deg,#ff8a00 0%,#ffd85a 38%,#32c9ff 66%,#0d73ff 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  filter:drop-shadow(0 0 16px rgba(0,132,255,.35));
}
.lead{
  margin:10px auto 22px!important;
  color:rgba(235,247,255,.86)!important;
}
.brand-block.mega-logo-stage{
  position:relative;
  width:min(680px,100%);
  min-height:clamp(250px,32vw,430px);
  display:grid!important;
  place-items:center;
  margin:2px auto 20px!important;
  transform-style:preserve-3d;
  isolation:isolate;
}
.brand-block.mega-logo-stage::before{
  content:"";
  position:absolute;
  inset:4% 3% 0;
  z-index:-2;
  border-radius:999px;
  background:
    radial-gradient(circle at 50% 45%,rgba(20,196,255,.82) 0%,rgba(0,93,255,.38) 32%,rgba(0,19,64,.12) 58%,transparent 72%),
    conic-gradient(from 0deg,rgba(0,119,255,.0),rgba(32,196,255,.48),rgba(255,153,0,.28),rgba(32,196,255,.42),rgba(0,119,255,0));
  filter:blur(14px);
  opacity:.94;
  animation:megaHalo 5.8s ease-in-out infinite;
}
.brand-block.mega-logo-stage::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:4%;
  width:74%;
  height:22%;
  z-index:-3;
  border-radius:50%;
  transform:translateX(-50%) rotateX(70deg);
  background:radial-gradient(ellipse,rgba(32,196,255,.58),rgba(0,70,255,.18) 52%,transparent 74%);
  filter:blur(6px);
  animation:megaPadPulse 4.6s ease-in-out infinite;
}
.brand-block.mega-logo-stage img{
  width:min(620px,96%)!important;
  max-width:none!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain;
  background:transparent!important;
  padding:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  transform:translateZ(38px) rotateX(0deg) rotateY(0deg);
  transform-origin:center;
  filter:drop-shadow(0 0 18px rgba(32,196,255,.64)) drop-shadow(0 26px 30px rgba(0,0,0,.40));
  animation:megaLogoFloat 5.4s ease-in-out infinite;
  transition:transform .42s cubic-bezier(.2,.8,.2,1),filter .42s ease;
  will-change:transform,filter;
}
.brand-block.mega-logo-stage:hover img{
  transform:translateY(-10px) translateZ(76px) rotateX(8deg) rotateY(-12deg) scale(1.055);
  filter:drop-shadow(0 0 26px rgba(32,196,255,.96)) drop-shadow(0 0 46px rgba(0,102,255,.70)) drop-shadow(0 34px 34px rgba(0,0,0,.48));
}
.brand-block.mega-logo-stage:hover::before{
  opacity:1;
  filter:blur(10px) saturate(1.28);
}
.player-orb{
  width:168px!important;
  height:168px!important;
  margin:0 auto 20px!important;
  background:radial-gradient(circle at 35% 30%,rgba(255,255,255,.22),rgba(18,164,255,.11) 46%,rgba(255,157,24,.07))!important;
  box-shadow:0 24px 86px rgba(0,132,255,.36),inset 0 0 0 1px rgba(91,211,255,.22)!important;
}
.player-orb::after{
  border-color:rgba(32,196,255,.40)!important;
  box-shadow:0 0 24px rgba(32,196,255,.30);
}
.play-button{
  width:104px!important;
  height:104px!important;
  background:linear-gradient(135deg,#22d3ff 0%,#0969ff 52%,#0034a8 100%)!important;
  box-shadow:0 24px 58px rgba(0,119,255,.48),0 0 28px rgba(32,196,255,.35),inset 0 2px 0 rgba(255,255,255,.36)!important;
}
.play-button:hover{
  box-shadow:0 28px 74px rgba(0,119,255,.58),0 0 42px rgba(32,196,255,.55),inset 0 2px 0 rgba(255,255,255,.36)!important;
}
.volume-button,
.mobile-history-button{
  background:linear-gradient(135deg,#22d3ff,#005dff)!important;
  box-shadow:0 12px 28px rgba(0,119,255,.32),inset 0 1px 0 rgba(255,255,255,.26)!important;
}
.volume-level span{
  background:linear-gradient(90deg,#005dff 0%,#20c4ff 58%,#ff9b19 100%)!important;
  box-shadow:0 0 18px rgba(32,196,255,.62)!important;
}
.live-pill,
.live-pill--marquee{
  background:linear-gradient(135deg,#ff9b19,#ff4d00)!important;
  border-color:rgba(255,185,74,.38)!important;
  box-shadow:0 0 18px rgba(255,145,0,.24)!important;
}
.now-card{
  background:linear-gradient(180deg,rgba(8,31,65,.66),rgba(3,13,29,.48))!important;
  border:1px solid rgba(32,196,255,.25)!important;
  box-shadow:0 18px 46px rgba(0,0,0,.24),0 0 30px rgba(0,132,255,.10)!important;
}
.now-label,
.history-head span,
.history-modal__head span{
  color:#20c4ff!important;
  text-shadow:0 0 12px rgba(32,196,255,.55);
}
.marquee{
  background:rgba(0,18,42,.55)!important;
  border-color:rgba(32,196,255,.22)!important;
}
.current-avatar,.history-avatar{
  background:linear-gradient(135deg,#20c4ff,#072b87)!important;
  box-shadow:0 12px 28px rgba(0,119,255,.26)!important;
}
.history-panel{
  color:#fff!important;
  background:linear-gradient(180deg,rgba(8,31,65,.72),rgba(3,13,29,.60))!important;
  border:1px solid rgba(32,196,255,.32)!important;
  box-shadow:0 24px 80px rgba(0,0,0,.30),0 0 42px rgba(0,132,255,.16)!important;
}
.history-item{
  color:#fff!important;
  background:rgba(255,255,255,.065)!important;
  border:1px solid rgba(32,196,255,.14)!important;
  box-shadow:0 10px 24px rgba(0,0,0,.18)!important;
}
.history-title,.history-song{
  color:#fff!important;
}
.history-artist,.history-time{
  color:rgba(220,239,255,.66)!important;
}
.history-number{
  background:linear-gradient(135deg,#20c4ff,#005dff)!important;
}
.history-grid{
  scrollbar-color:#20c4ff rgba(32,196,255,.10)!important;
}
.history-grid::-webkit-scrollbar-thumb,
.history-grid--modal::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg,#20c4ff,#005dff)!important;
}
.mega-footer-note{
  position:relative;
  z-index:2;
  width:min(900px,100%);
  margin:12px auto 0;
  padding:13px 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
  text-align:left;
  border:1px solid rgba(32,196,255,.24);
  border-radius:22px;
  background:linear-gradient(135deg,rgba(8,31,65,.52),rgba(3,13,29,.36));
  box-shadow:0 18px 48px rgba(0,0,0,.24),0 0 32px rgba(0,132,255,.12),inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter:blur(14px);
}
.mega-footer-copy{
  min-width:220px;
  flex:1 1 260px;
}
.mega-footer-copy strong{
  display:block;
  margin:0 0 2px;
  color:#fff;
  font-size:.98rem;
  line-height:1.15;
  font-weight:900;
  text-shadow:0 0 18px rgba(32,196,255,.30);
}
.mega-footer-copy span{
  display:block;
  margin:0 0 3px;
  font-size:.82rem;
  font-weight:900;
  font-style:italic;
  color:#ff9b19;
  text-shadow:0 0 16px rgba(255,145,0,.20);
}
.mega-footer-copy p{
  margin:0;
  color:rgba(235,247,255,.72);
  font-size:.74rem;
  line-height:1.32;
  font-weight:700;
}
.mega-whatsapp-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  padding:0 18px;
  border-radius:999px;
  background:linear-gradient(135deg,#36f081,#0ea64a);
  color:#fff;
  text-decoration:none;
  font-size:.82rem;
  font-weight:900;
  letter-spacing:.02em;
  box-shadow:0 16px 34px rgba(37,211,102,.28),inset 0 1px 0 rgba(255,255,255,.28);
  transition:transform .18s ease,filter .18s ease,box-shadow .18s ease;
  white-space:nowrap;
}
.mega-whatsapp-button svg{
  width:22px;
  height:22px;
  fill:currentColor;
}
.mega-whatsapp-button:hover{
  transform:translateY(-2px) scale(1.02);
  filter:brightness(1.06);
  box-shadow:0 19px 42px rgba(37,211,102,.36),inset 0 1px 0 rgba(255,255,255,.30);
}
.mega-whatsapp-button:active{transform:translateY(0) scale(.98)}
.mega-footer-note small{
  color:#fff;
  font-size:.90rem;
  font-weight:900;
  letter-spacing:.02em;
  white-space:nowrap;
  text-shadow:0 0 14px rgba(32,196,255,.30);
}
.saair-footer-note,
.saair-credit-card,
.saair-more-button,
.saair-footer-button{
  display:none!important;
}
body.history-modal-open .mega-footer-note{
  filter:blur(5px) brightness(.45)!important;
  transform:scale(.985)!important;
  transition:filter .22s ease, transform .22s ease!important;
}
.history-modal__panel{
  background:
    radial-gradient(circle at 78% 18%,rgba(32,196,255,.22),transparent 34%),
    radial-gradient(circle at 18% 86%,rgba(255,145,0,.10),transparent 36%),
    linear-gradient(145deg,rgba(2,10,24,.94),rgba(4,20,45,.88))!important;
}
.history-modal__close{
  background:linear-gradient(135deg,#22d3ff,#005dff)!important;
  box-shadow:0 12px 28px rgba(0,119,255,.32), inset 0 1px 0 rgba(255,255,255,.22)!important;
}
@keyframes megaLogoFloat{
  0%,100%{transform:translateY(0) translateZ(38px) rotateX(0deg) rotateY(0deg) scale(1)}
  50%{transform:translateY(-8px) translateZ(46px) rotateX(1.2deg) rotateY(-1.5deg) scale(1.012)}
}
@keyframes megaHalo{
  0%,100%{transform:scale(.98) rotate(0deg);opacity:.78}
  50%{transform:scale(1.045) rotate(6deg);opacity:1}
}
@keyframes megaPadPulse{
  0%,100%{opacity:.52;transform:translateX(-50%) rotateX(70deg) scale(.95)}
  50%{opacity:.88;transform:translateX(-50%) rotateX(70deg) scale(1.03)}
}
@keyframes megaGridPulse{
  0%,100%{opacity:.14;transform:translate(-50%,-50%) scale(1)}
  50%{opacity:.26;transform:translate(-50%,-50%) scale(1.025)}
}
@media(max-height:765px) and (min-width:981px){
  .brand-block.mega-logo-stage{min-height:clamp(190px,26vh,275px)!important;margin-bottom:12px!important}
  .brand-block.mega-logo-stage img{width:min(430px,88%)!important}
  .mega-tagline{font-size:clamp(1.02rem,2.2vw,1.75rem)!important;margin-top:8px!important}
  .lead{margin-bottom:14px!important}
  .player-orb{width:126px!important;height:126px!important;margin-bottom:12px!important}
  .play-button{width:82px!important;height:82px!important}
}
@media(max-width:980px){
  .brand-block.mega-logo-stage{min-height:clamp(230px,52vw,400px)}
  .brand-block.mega-logo-stage img{width:min(560px,96%)!important}
  .mega-footer-note{text-align:center}
}
@media(max-width:640px){
  .radio-main{padding:22px 14px!important}
  .mega-tagline{font-size:clamp(1.20rem,8vw,1.75rem)!important;margin-top:10px}
  .lead{font-size:.90rem!important;margin:8px auto 14px!important}
  .brand-block.mega-logo-stage{min-height:clamp(190px,62vw,280px);margin-bottom:14px!important}
  .brand-block.mega-logo-stage::before{inset:0 -4% 0;filter:blur(10px)}
  .brand-block.mega-logo-stage img{width:min(390px,104%)!important}
  .player-orb{width:126px!important;height:126px!important}
  .play-button{width:82px!important;height:82px!important}
  .mega-footer-note{margin-top:8px;padding:12px 13px;border-radius:18px;gap:10px;text-align:center}
  .mega-footer-copy{flex-basis:100%;min-width:0}
  .mega-whatsapp-button{min-height:40px;width:100%;max-width:260px;font-size:.78rem}
  .mega-footer-note small{width:100%;text-align:center;font-size:.82rem}
}
@media(prefers-reduced-motion:reduce){
  .brand-block.mega-logo-stage img,
  .brand-block.mega-logo-stage::before,
  .brand-block.mega-logo-stage::after,
  .radio-stage::before{animation:none!important}
}

/* v5.0.1 - ajuste solicitado: remove slogan do topo e reduz a logo para liberar Tocando Agora */
.radio-main > .mega-tagline,
.radio-main > .lead{
  display:none!important;
}
.brand-block.mega-logo-stage{
  width:min(600px,96%)!important;
  min-height:clamp(215px,28vw,360px)!important;
  margin:8px auto 16px!important;
}
.brand-block.mega-logo-stage::before{
  inset:3% 7% 2%!important;
}
.brand-block.mega-logo-stage img{
  width:min(540px,88%)!important;
}
.now-card{
  position:relative;
  z-index:4;
}
@media(max-height:765px) and (min-width:981px){
  .brand-block.mega-logo-stage{
    min-height:clamp(170px,22vh,240px)!important;
    margin:6px auto 12px!important;
  }
  .brand-block.mega-logo-stage img{width:min(380px,82%)!important}
}
@media(max-width:980px){
  .brand-block.mega-logo-stage{min-height:clamp(200px,46vw,330px)!important}
  .brand-block.mega-logo-stage img{width:min(500px,88%)!important}
}
@media(max-width:640px){
  .brand-block.mega-logo-stage{min-height:clamp(165px,54vw,235px)!important;margin-bottom:12px!important}
  .brand-block.mega-logo-stage img{width:min(330px,92%)!important}
}


/* v5.0.2 - solicitado: deixar só a logo no topo e mover play para baixo */
.kicker{display:none!important;}
.brand-block.mega-logo-stage{
  width:min(560px,94%)!important;
  min-height:clamp(185px,24vw,305px)!important;
  margin:4px auto 10px!important;
}
.brand-block.mega-logo-stage::before{inset:5% 10% 8%!important;}
.brand-block.mega-logo-stage img{width:min(470px,80%)!important;}
.now-card{margin-top:0!important;margin-bottom:14px!important;}
.player-orb{
  order:3;
  width:138px!important;
  height:138px!important;
  margin:0 auto 12px!important;
}
.play-button{width:88px!important;height:88px!important;}
.volume-controls{margin-top:0!important;}
@media(max-height:765px) and (min-width:981px){
  .brand-block.mega-logo-stage{min-height:clamp(150px,18vh,205px)!important;}
  .brand-block.mega-logo-stage img{width:min(330px,72%)!important;}
  .player-orb{width:118px!important;height:118px!important;margin-bottom:10px!important;}
  .play-button{width:76px!important;height:76px!important;}
}
@media(max-width:980px){
  .brand-block.mega-logo-stage{min-height:clamp(170px,42vw,265px)!important;}
  .brand-block.mega-logo-stage img{width:min(430px,82%)!important;}
}
@media(max-width:640px){
  .brand-block.mega-logo-stage{min-height:clamp(150px,50vw,210px)!important;margin-bottom:10px!important;}
  .brand-block.mega-logo-stage img{width:min(300px,86%)!important;}
  .now-card{margin-bottom:12px!important;}
  .player-orb{width:118px!important;height:118px!important;}
  .play-button{width:76px!important;height:76px!important;}
}


/* v5.0.3 - solicitado: logo mais para cima e controles horizontais com menor altura */
.radio-main{
  justify-content:flex-start!important;
  padding-top:18px!important;
  padding-bottom:16px!important;
}
.brand-block.mega-logo-stage{
  width:min(540px,92%)!important;
  min-height:clamp(150px,20vw,245px)!important;
  margin:0 auto 8px!important;
}
.brand-block.mega-logo-stage::before{inset:4% 11% 10%!important;}
.brand-block.mega-logo-stage::after{bottom:1%!important;height:18%!important;}
.brand-block.mega-logo-stage img{width:min(420px,76%)!important;}
.now-card{
  margin-top:0!important;
  margin-bottom:10px!important;
  position:relative;
  z-index:4;
}
.player-controls-row{
  width:min(640px,100%);
  margin:0 auto 2px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
}
.player-controls-row .player-orb{
  flex:0 0 auto;
  width:112px!important;
  height:112px!important;
  margin:0!important;
}
.player-controls-row .play-button{width:72px!important;height:72px!important;}
.player-controls-row .volume-controls{
  flex:1 1 320px;
  width:auto!important;
  max-width:320px;
  margin:0!important;
}
.player-controls-row .volume-button{width:34px!important;height:34px!important;border-radius:12px!important;font-size:1.05rem!important;}
.player-controls-row .volume-level{height:10px!important;}
@media(max-height:765px) and (min-width:981px){
  .radio-main{padding-top:14px!important;padding-bottom:12px!important;}
  .brand-block.mega-logo-stage{min-height:clamp(128px,16vh,180px)!important;margin-bottom:6px!important;}
  .brand-block.mega-logo-stage img{width:min(305px,68%)!important;}
  .player-controls-row{gap:14px;width:min(580px,100%)!important;}
  .player-controls-row .player-orb{width:96px!important;height:96px!important;}
  .player-controls-row .play-button{width:62px!important;height:62px!important;}
  .player-controls-row .volume-controls{max-width:280px!important;}
}
@media(max-width:980px){
  .radio-main{padding-top:16px!important;}
  .brand-block.mega-logo-stage{min-height:clamp(145px,34vw,220px)!important;}
  .brand-block.mega-logo-stage img{width:min(385px,78%)!important;}
  .player-controls-row{width:min(520px,100%);gap:14px;}
  .player-controls-row .player-orb{width:104px!important;height:104px!important;}
  .player-controls-row .play-button{width:68px!important;height:68px!important;}
  .player-controls-row .volume-controls{max-width:285px!important;}
}
@media(max-width:640px){
  .brand-block.mega-logo-stage{min-height:clamp(135px,44vw,190px)!important;margin-bottom:8px!important;}
  .brand-block.mega-logo-stage img{width:min(280px,82%)!important;}
  .now-card{margin-bottom:9px!important;}
  .player-controls-row{width:100%;gap:10px;}
  .player-controls-row .player-orb{width:88px!important;height:88px!important;}
  .player-controls-row .play-button{width:58px!important;height:58px!important;}
  .player-controls-row .volume-controls{max-width:none!important;flex:1 1 auto;}
  .player-controls-row .volume-button{width:30px!important;height:30px!important;border-radius:10px!important;font-size:.96rem!important;}
  .player-controls-row .volume-level{height:9px!important;}
}


/* v5.0.4 - neon animado nas bordas, scrollbars laranja e flash vertical na logo */
:root{
  --mega-neon-blue:#20c4ff;
  --mega-neon-blue-2:#005dff;
  --mega-neon-orange:#ff9b19;
  --mega-neon-orange-2:#ff6f00;
}

.radio-card,
.history-panel,
.now-card,
.mega-footer-note{
  position:relative;
  isolation:isolate;
}

.radio-card::after,
.history-panel::after,
.now-card::after,
.mega-footer-note::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  padding:1.6px;
  background:linear-gradient(120deg,var(--mega-neon-blue) 0%,var(--mega-neon-blue-2) 22%,var(--mega-neon-orange) 50%,var(--mega-neon-orange-2) 72%,var(--mega-neon-blue) 100%);
  background-size:240% 240%;
  animation:megaNeonBorderRun 4.2s linear infinite;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  pointer-events:none;
  opacity:.95;
  box-shadow:0 0 16px rgba(32,196,255,.18),0 0 24px rgba(255,145,0,.14);
}

.radio-card::before,
.history-panel::before,
.now-card::before,
.mega-footer-note::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:inherit;
  pointer-events:none;
  opacity:.52;
  background:linear-gradient(120deg,rgba(32,196,255,.14),rgba(255,145,0,.12),rgba(32,196,255,.10));
  filter:blur(10px);
  z-index:-1;
  animation:megaNeonBorderRun 5.6s linear infinite reverse;
}

.history-grid,
.history-grid--modal,
body,
*{
  scrollbar-color:var(--mega-neon-orange) rgba(255,155,25,.10)!important;
}
::-webkit-scrollbar{
  width:11px;
  height:11px;
}
::-webkit-scrollbar-track{
  background:rgba(7,18,38,.78);
  border-radius:999px;
}
::-webkit-scrollbar-thumb{
  border-radius:999px;
  border:2px solid rgba(7,18,38,.78);
  background:linear-gradient(180deg,#ffbe54 0%,var(--mega-neon-orange) 45%,var(--mega-neon-orange-2) 100%)!important;
  box-shadow:0 0 12px rgba(255,145,0,.32);
}
::-webkit-scrollbar-thumb:hover{
  background:linear-gradient(180deg,#ffd27a 0%,#ffab2e 40%,#ff7e0c 100%)!important;
}

.brand-block.mega-logo-stage{
  overflow:visible;
}
.brand-block.mega-logo-stage::after{
  content:"";
  position:absolute;
  inset:7% 18% 10%;
  z-index:3;
  border-radius:28px;
  background:linear-gradient(180deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0) 32%,
    rgba(255,255,255,.08) 42%,
    rgba(255,255,255,.92) 50%,
    rgba(255,255,255,.12) 58%,
    rgba(255,255,255,0) 68%,
    rgba(255,255,255,0) 100%
  );
  mix-blend-mode:screen;
  filter:blur(5px);
  opacity:0;
  pointer-events:none;
  transform:translateY(-130%) skewY(-4deg);
}
.brand-block.mega-logo-stage:hover::after{
  animation:megaVerticalFlash 1.05s ease-in-out 1;
}

@keyframes megaNeonBorderRun{
  0%{background-position:0% 50%;}
  100%{background-position:240% 50%;}
}
@keyframes megaVerticalFlash{
  0%{opacity:0;transform:translateY(-130%) skewY(-4deg);}
  12%{opacity:.25;}
  38%{opacity:.92;}
  70%{opacity:.6;}
  100%{opacity:0;transform:translateY(145%) skewY(-4deg);}
}

@media(max-width:640px){
  ::-webkit-scrollbar{width:9px;height:9px;}
  .radio-card::after,
  .history-panel::after,
  .now-card::after,
  .mega-footer-note::after{padding:1.35px;}
  .brand-block.mega-logo-stage::after{inset:9% 12% 12%;}
}


/* v5.0.5 - refinamento: flash diagonal com máscara da logo PNG e loop contínuo nas bordas */
.brand-block.mega-logo-stage{
  --mega-logo-mask:url("../img/logo.png");
}
.brand-block.mega-logo-stage img{
  position:relative;
  z-index:2;
}
/* restaura a base neon sob a logo em vez de usar o ::after como flash retangular */
.brand-block.mega-logo-stage::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:1%!important;
  width:74%;
  height:18%!important;
  z-index:-3;
  border-radius:50%;
  transform:translateX(-50%) rotateX(70deg);
  background:radial-gradient(ellipse,rgba(32,196,255,.58),rgba(0,70,255,.18) 52%,transparent 74%);
  filter:blur(6px);
  opacity:.85;
  animation:megaPadPulse 4.6s ease-in-out infinite;
}
.mega-logo-flash{
  position:absolute;
  inset:0;
  z-index:4;
  pointer-events:none;
  opacity:0;
  background:
    linear-gradient(135deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0) 36%,
      rgba(255,255,255,.12) 43%,
      rgba(255,255,255,.98) 50%,
      rgba(255,255,255,.18) 57%,
      rgba(255,255,255,0) 64%,
      rgba(255,255,255,0) 100%
    );
  background-size:42% 190%;
  background-repeat:no-repeat;
  background-position:-55% -35%;
  mix-blend-mode:screen;
  filter:blur(.6px) drop-shadow(0 0 10px rgba(255,255,255,.34));
  -webkit-mask-image:var(--mega-logo-mask);
  mask-image:var(--mega-logo-mask);
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-position:center;
  mask-position:center;
  -webkit-mask-size:contain;
  mask-size:contain;
}
.brand-block.mega-logo-stage:hover .mega-logo-flash{
  animation:megaLogoFlashDiagonal 1.05s cubic-bezier(.22,.72,.19,1) 1;
}

/* bordas neon com loop perfeito: a rotação começa e termina no mesmo ponto */
.radio-card::after,
.history-panel::after,
.now-card::after,
.mega-footer-note::after{
  background:conic-gradient(from 0deg,var(--mega-neon-blue) 0deg,var(--mega-neon-blue-2) 85deg,var(--mega-neon-orange) 180deg,var(--mega-neon-orange-2) 265deg,var(--mega-neon-blue) 360deg)!important;
  background-size:100% 100%!important;
  animation:megaBorderSpin 4.6s linear infinite!important;
  transform-origin:center center;
}
.radio-card::before,
.history-panel::before,
.now-card::before,
.mega-footer-note::before{
  background:conic-gradient(from 180deg,rgba(32,196,255,.18) 0deg,rgba(0,93,255,.12) 90deg,rgba(255,155,25,.16) 180deg,rgba(255,111,0,.12) 270deg,rgba(32,196,255,.18) 360deg)!important;
  animation:megaBorderSpinReverse 6.4s linear infinite!important;
  transform-origin:center center;
}

@keyframes megaLogoFlashDiagonal{
  0%{opacity:0;background-position:-55% -35%;}
  12%{opacity:.18;}
  40%{opacity:.95;}
  68%{opacity:.54;}
  100%{opacity:0;background-position:150% 125%;}
}
@keyframes megaBorderSpin{
  from{transform:rotate(0turn);}
  to{transform:rotate(1turn);}
}
@keyframes megaBorderSpinReverse{
  from{transform:rotate(1turn);}
  to{transform:rotate(0turn);}
}

@media(max-width:640px){
  .mega-logo-flash{background-size:50% 185%;}
}


/* v5.0.6 - remover flash da logo e corrigir borda neon sem rotação da borda */
.mega-logo-flash{display:none!important;opacity:0!important;animation:none!important;}
.brand-block.mega-logo-stage:hover .mega-logo-flash{animation:none!important;}

@property --mega-border-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.radio-card,
.history-panel,
.now-card,
.mega-footer-note{
  --mega-border-angle:0deg;
}

.radio-card::after,
.history-panel::after,
.now-card::after,
.mega-footer-note::after{
  transform:none!important;
  background:conic-gradient(
    from var(--mega-border-angle),
    var(--mega-neon-blue) 0deg,
    var(--mega-neon-blue-2) 90deg,
    var(--mega-neon-orange) 180deg,
    var(--mega-neon-orange-2) 270deg,
    var(--mega-neon-blue) 360deg
  )!important;
  background-size:100% 100%!important;
  animation:megaBorderAngleLoop 4.8s linear infinite!important;
  box-shadow:0 0 16px rgba(32,196,255,.18),0 0 24px rgba(255,145,0,.14)!important;
}

.radio-card::before,
.history-panel::before,
.now-card::before,
.mega-footer-note::before{
  transform:none!important;
  background:conic-gradient(
    from calc(var(--mega-border-angle) * -1),
    rgba(32,196,255,.18) 0deg,
    rgba(0,93,255,.12) 90deg,
    rgba(255,155,25,.16) 180deg,
    rgba(255,111,0,.12) 270deg,
    rgba(32,196,255,.18) 360deg
  )!important;
  animation:megaBorderAngleLoop 6.8s linear infinite!important;
}

@keyframes megaBorderAngleLoop{
  from{--mega-border-angle:0deg;}
  to{--mega-border-angle:360deg;}
}


/* v5.0.7 - correção definitiva: flash da logo removido de verdade */
.mega-logo-flash,
.brand-block.mega-logo-stage .mega-logo-flash,
.brand-block.mega-logo-stage:hover .mega-logo-flash{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  animation:none!important;
  background:none!important;
}

.brand-block.mega-logo-stage::after,
.brand-block.mega-logo-stage:hover::after{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  bottom:1%!important;
  width:74%!important;
  height:18%!important;
  z-index:-3!important;
  border-radius:50%!important;
  transform:translateX(-50%) rotateX(70deg)!important;
  background:radial-gradient(ellipse,rgba(32,196,255,.58),rgba(0,70,255,.18) 52%,transparent 74%)!important;
  filter:blur(6px)!important;
  opacity:.85!important;
  mix-blend-mode:normal!important;
  pointer-events:none!important;
  animation:megaPadPulse 4.6s ease-in-out infinite!important;
  -webkit-mask-image:none!important;
  mask-image:none!important;
}

.brand-block.mega-logo-stage:hover::after{
  animation:megaPadPulse 4.6s ease-in-out infinite!important;
}

/* impede qualquer keyframe antigo de flash vertical/diagonal aparecer por cascata */
.brand-block.mega-logo-stage:hover::before{
  animation:megaHalo 5.8s ease-in-out infinite!important;
}


/* v5.0.8 - aumentar um pouco a logo */
.brand-block.mega-logo-stage{
  width:min(580px,94%)!important;
  min-height:clamp(180px,24vw,285px)!important;
  margin:0 auto 10px!important;
}
.brand-block.mega-logo-stage::before{
  inset:4% 9% 8%!important;
}
.brand-block.mega-logo-stage img{
  width:min(500px,84%)!important;
}
@media(max-height:765px) and (min-width:981px){
  .brand-block.mega-logo-stage{
    min-height:clamp(155px,19vh,215px)!important;
    margin-bottom:8px!important;
  }
  .brand-block.mega-logo-stage img{
    width:min(355px,76%)!important;
  }
}
@media(max-width:980px){
  .brand-block.mega-logo-stage{
    min-height:clamp(165px,38vw,245px)!important;
  }
  .brand-block.mega-logo-stage img{
    width:min(430px,82%)!important;
  }
}
@media(max-width:640px){
  .brand-block.mega-logo-stage{
    min-height:clamp(150px,48vw,210px)!important;
    margin-bottom:9px!important;
  }
  .brand-block.mega-logo-stage img{
    width:min(320px,86%)!important;
  }
}
