
:root{
--bg:#070914;--bg2:#0b1020;--surface:#101526;--surface2:#151b31;--line:rgba(255,255,255,.08);
--text:#fff;--muted:#9ba5bd;--primary:#8b5cf6;--pink:#d946ef;--cyan:#06b6d4;
--green:#22c55e;--danger:#ef4444;--radius:24px;--shadow:0 24px 70px rgba(0,0,0,.38)
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:
radial-gradient(circle at 50% -10%,rgba(139,92,246,.22),transparent 35%),linear-gradient(180deg,#050711,#090d19 45%,#060812);min-height:100vh}
button,input,textarea,select{font:inherit}.hidden{display:none!important}a{color:inherit}.app{
width:min(100%,560px);min-height:100vh;margin:auto;background:linear-gradient(180deg,rgba(7,9,20,.95),rgba(7,9,20,.99));
position:relative;box-shadow:0 0 90px rgba(0,0,0,.55);overflow:hidden}
.topbar{height:76px;padding:12px 16px;position:sticky;top:0;z-index:60;background:rgba(7,9,20,.82);backdrop-filter:blur(20px);
border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center;gap:11px}.brand img{width:46px;height:46px;border-radius:16px;box-shadow:0 0 30px rgba(139,92,246,.35)}
.brand h1{margin:0;font-size:16px;letter-spacing:.4px}.brand small{color:var(--muted);font-size:11px}
.icon-btn{width:44px;height:44px;border:1px solid var(--line);background:var(--surface);color:#fff;border-radius:15px;font-size:19px}
.main{padding:14px 14px 116px}.page{display:none}.page.active{display:block;animation:enter .28s ease}@keyframes enter{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}
.hero{height:250px;border-radius:28px;overflow:hidden;position:relative;box-shadow:var(--shadow);border:1px solid var(--line)}.hero-track{display:flex;height:100%;transition:.55s cubic-bezier(.22,.61,.36,1)}
.hero-item{min-width:100%;position:relative;background-position:center;background-size:cover}.hero-item:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,6,13,.86),rgba(5,6,13,.2) 70%)}
.hero-copy{position:absolute;z-index:2;left:22px;right:22px;bottom:38px}.hero-copy h2{font-size:30px;line-height:1.02;margin:0 0 8px;max-width:300px}.hero-copy p{margin:0 0 15px;color:#e5e7eb;max-width:310px}
.mini-btn{display:inline-flex;padding:9px 14px;background:linear-gradient(90deg,var(--primary),var(--pink));border-radius:12px;font-size:12px;font-weight:800;text-decoration:none}
.hero-dots{position:absolute;z-index:3;bottom:14px;left:0;right:0;text-align:center}.hero-dots span{display:inline-block;width:7px;height:7px;border-radius:9px;background:#ffffff55;margin:0 3px}.hero-dots .on{width:22px;background:#fff}
.live-card{background:linear-gradient(145deg,#12162b,#0e1221);border:1px solid var(--line);border-radius:26px;padding:17px;margin:15px 0;box-shadow:var(--shadow)}
.live-head{display:flex;gap:13px;align-items:center}.station-logo{width:72px;height:72px;border-radius:22px;background:radial-gradient(circle at 30% 20%,#e879f9,#8b5cf6 48%,#111827 49%);display:grid;place-items:center;font-weight:900;box-shadow:0 0 28px rgba(217,70,239,.25)}
.live-meta{min-width:0;flex:1}.live-meta h3{margin:0 0 4px;font-size:18px}.live-meta p{margin:0;color:var(--muted);font-size:13px}.tag{padding:6px 10px;border-radius:999px;background:#7e22ce;color:#fff;font-size:10px;font-weight:900}
.wave{height:34px;margin:12px 0;background:repeating-linear-gradient(90deg,transparent 0 5px,rgba(217,70,239,.75) 5px 7px);mask:linear-gradient(180deg,transparent,black 25%,black 75%,transparent);opacity:.7}
.player-row{display:grid;grid-template-columns:44px 44px 1fr 44px 44px;gap:9px;align-items:center}.round{height:44px;border-radius:50%;border:1px solid var(--line);background:#171c30;color:#fff}.play-main{height:62px;border:0;border-radius:50%;background:linear-gradient(135deg,var(--primary),var(--pink));color:#fff;font-size:24px;box-shadow:0 0 30px rgba(139,92,246,.45)}
.section-head{display:flex;align-items:center;justify-content:space-between;margin:23px 2px 11px}.section-head h2{font-size:20px;margin:0}.section-head button{background:none;border:0;color:#c084fc;font-weight:700}
.shortcut-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.shortcut{min-width:0;background:linear-gradient(180deg,#13182b,#0c1020);border:1px solid var(--line);border-radius:19px;padding:14px 7px;text-align:center;color:#fff;text-decoration:none}
.shortcut b{width:42px;height:42px;border-radius:13px;margin:auto auto 8px;display:grid;place-items:center;background:linear-gradient(145deg,#7c3aed,#d946ef);font-size:19px}.shortcut span{font-size:10px;font-weight:800;display:block}
.socials{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.social{height:54px;border-radius:16px;background:#111628;border:1px solid var(--line);display:grid;place-items:center;text-decoration:none;font-weight:900;font-size:19px}
.news-list{display:grid;gap:12px}.news-item{display:grid;grid-template-columns:112px 1fr;gap:12px;background:#101526;border:1px solid var(--line);border-radius:20px;padding:10px}.news-item img{width:112px;height:86px;object-fit:cover;border-radius:15px;background:#171c30}.news-item small{color:#c084fc}.news-item h3{font-size:14px;margin:5px 0}.news-item p{font-size:12px;color:var(--muted);margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bottom-nav{position:fixed;z-index:70;bottom:0;left:50%;transform:translateX(-50%);width:min(560px,100%);height:88px;padding:8px 9px 13px;background:rgba(7,9,20,.92);backdrop-filter:blur(22px);border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(5,1fr)}
.bottom-nav button{border:0;background:transparent;color:var(--muted);border-radius:15px;font-size:10px}.bottom-nav button b{display:block;font-size:20px;margin-bottom:4px}.bottom-nav button.active{color:#fff;background:rgba(139,92,246,.15)}
.drawer{position:fixed;z-index:100;inset:0;background:rgba(0,0,0,.75);display:none}.drawer.open{display:block}.drawer-panel{width:min(410px,88%);height:100%;overflow:auto;background:#090d19;padding:18px;animation:drawerIn .25s ease}@keyframes drawerIn{from{transform:translateX(-100%)}to{transform:none}}
.drawer-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.menu{display:grid;gap:8px}.menu button{border:1px solid var(--line);background:#111628;color:#fff;border-radius:16px;padding:13px;display:flex;gap:11px;align-items:center;text-align:left}.menu button i{font-style:normal;width:29px;text-align:center;font-size:18px}
.card{background:#101526;border:1px solid var(--line);border-radius:22px;padding:17px;margin-bottom:13px}.card h3{margin-top:0}.muted{color:var(--muted)}
.tv-box{aspect-ratio:16/9;background:#000;border-radius:24px;overflow:hidden;box-shadow:var(--shadow)}.tv-box iframe,.tv-box video{width:100%;height:100%;border:0}
.row{display:flex;gap:12px;align-items:center;background:#101526;border:1px solid var(--line);border-radius:18px;padding:13px;margin-bottom:10px}.badge{width:52px;height:52px;flex:0 0 52px;border-radius:16px;background:linear-gradient(135deg,var(--primary),var(--pink));display:grid;place-items:center;font-weight:900}
.form{display:grid;gap:12px}.form input,.form textarea,.form select{width:100%;border:1px solid var(--line);background:#0b1020;color:#fff;border-radius:15px;padding:14px;outline:none}.form textarea{min-height:112px;resize:vertical}.primary{border:0;border-radius:16px;padding:14px;background:linear-gradient(90deg,var(--primary),var(--pink));color:#fff;font-weight:900}
.gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.gallery img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:18px;background:#111827}
.modal{position:fixed;z-index:120;inset:0;background:rgba(0,0,0,.78);display:none;align-items:flex-end;justify-content:center}.modal.open{display:flex}.modal-box{width:min(560px,100%);max-height:90vh;overflow:auto;background:#090d19;border-radius:30px 30px 0 0;padding:20px;animation:up .25s ease}@keyframes up{from{transform:translateY(100%)}to{transform:none}}
.modal-top{position:sticky;top:-20px;background:#090d19;padding:7px 0 14px;z-index:2;display:flex;justify-content:space-between;align-items:center}.modal-top h2{margin:0}.close{width:42px;height:42px;border:1px solid var(--line);border-radius:13px;background:#111628;color:#fff}
.install{position:fixed;z-index:85;left:50%;transform:translateX(-50%);bottom:98px;width:min(530px,calc(100% - 24px));display:none;align-items:center;gap:12px;background:#fff;color:#101322;padding:14px;border-radius:19px;box-shadow:var(--shadow)}.install.show{display:flex}.install button{margin-left:auto;border:0;background:#101322;color:#fff;border-radius:12px;padding:10px 14px;font-weight:800}
@media(min-width:820px){body{padding:20px 0}.app{border-radius:34px}.bottom-nav{bottom:20px;border-radius:0 0 34px 34px}}

/* v2 customizações */
.play-main{height:82px;width:82px;justify-self:center;font-size:38px;border:3px solid rgba(255,255,255,.16)}
.player-row{grid-template-columns:44px 44px 1fr 44px 44px}
.social{padding:8px}.social img{width:38px;height:38px;display:block}
.home-section{margin-bottom:15px}.news-wide{grid-column:span 1}
.access-card{display:flex;align-items:center;gap:14px;background:linear-gradient(135deg,var(--primary),var(--pink));border-radius:22px;padding:17px;box-shadow:var(--shadow)}
.access-card>span{width:54px;height:54px;border-radius:17px;background:#fff2;display:grid;place-items:center;font-size:25px}.access-card small{display:block;color:#f3e8ff;font-weight:700}.access-card strong{font-size:28px}
.news-item{grid-template-columns:126px 1fr}.news-item img{width:126px;height:96px}.news-item h3{font-size:15px}.news-item p{font-size:13px;-webkit-line-clamp:3}
#homeTvSection.hidden{display:none!important}

/* v3 - responsividade, abertura e histórico */
html,body{max-width:100%;overflow-x:hidden}
.app{width:100%;max-width:560px}
.topbar{height:auto;min-height:78px;gap:10px}
.brand-featured{flex:1;min-width:0}.brand-featured img{width:58px;height:58px;border-radius:19px;animation:logoPulse 2.6s ease-in-out infinite;filter:drop-shadow(0 0 18px rgba(139,92,246,.55))}
.brand-text{min-width:0}.brand-text h1{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.brand-text small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.top-actions{display:flex;gap:7px;align-items:center}.top-actions .icon-btn{flex:0 0 42px;width:42px;height:42px}
.share-top{font-size:22px}.menu-top{display:none}
@keyframes logoPulse{0%,100%{transform:scale(1);filter:drop-shadow(0 0 12px rgba(139,92,246,.4))}50%{transform:scale(1.07);filter:drop-shadow(0 0 26px rgba(217,70,239,.7))}}
.last-songs{display:grid;gap:10px}.song-row{display:grid;grid-template-columns:64px 1fr auto;gap:12px;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:10px}
.song-row img{width:64px;height:64px;object-fit:cover;border-radius:15px;background:#111827}.song-row h3{font-size:14px;margin:0 0 5px}.song-row p{font-size:12px;color:var(--muted);margin:0}.song-row .time{font-size:10px;color:#c084fc;font-weight:700}
.splash-screen{position:fixed;z-index:9999;inset:0;background:radial-gradient(circle at center,rgba(139,92,246,.24),transparent 34%),#050711;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;transition:opacity .65s ease,visibility .65s ease}
.splash-screen.hide{opacity:0;visibility:hidden}.splash-logo{width:132px;height:132px;border-radius:34px;animation:splashPop 1.2s cubic-bezier(.22,.61,.36,1) both,logoPulse 2.4s ease-in-out 1.2s infinite}.splash-screen h1{font-size:25px;margin:22px 0 8px}.splash-screen p{margin:0;color:var(--muted)}
.splash-glow{position:absolute;width:260px;height:260px;border-radius:50%;background:rgba(139,92,246,.22);filter:blur(45px);animation:glowMove 2s ease-in-out infinite alternate}
@keyframes splashPop{0%{opacity:0;transform:scale(.55) rotate(-8deg)}70%{opacity:1;transform:scale(1.08) rotate(2deg)}100%{transform:scale(1) rotate(0)}}@keyframes glowMove{to{transform:scale(1.18);opacity:.65}}
@media(max-width:420px){
 .main{padding-left:10px;padding-right:10px}.topbar{padding:10px}.brand-featured img{width:50px;height:50px}.brand-text h1{font-size:13px}.brand-text small{font-size:9px}
 .top-actions .icon-btn{width:38px;height:38px;flex-basis:38px}.hero{height:220px}.hero-copy h2{font-size:25px}.shortcut-grid{grid-template-columns:repeat(2,1fr)}
 .socials{grid-template-columns:repeat(5,1fr);gap:6px}.social{height:48px}.social img{width:32px;height:32px}.player-row{grid-template-columns:38px 38px 1fr 38px 38px;gap:6px}.round{height:38px}.play-main{width:76px;height:76px;font-size:34px}
 .song-row{grid-template-columns:54px 1fr}.song-row img{width:54px;height:54px}.song-row .time{display:none}
}
@media(max-width:350px){
 .brand-text{display:none}.top-actions{margin-left:auto}.shortcut-grid{grid-template-columns:1fr 1fr}.bottom-nav button{font-size:9px}.hero{height:205px}
}
@media(min-width:561px){.app{max-width:560px}.menu-top{display:inline-block}}

/* Ajustes solicitados sobre a versão 5 */
:root{--text:#fff;--topbar:#070914;--bottomnav:#070914;--button:#8b5cf6;--button-text:#fff}
.splash-screen.hide{pointer-events:none}.splash-screen h1,.splash-screen p{display:none}
.topbar{display:grid!important;grid-template-columns:80px 1fr 80px;align-items:center;background:color-mix(in srgb,var(--topbar) 90%,transparent)}
.top-left{display:flex;justify-content:flex-start}.top-logo-wrap{display:flex;justify-content:center}.top-logo-wrap img{width:76px;height:76px;border-radius:22px;animation:logoPulse 2.2s ease-in-out infinite;filter:drop-shadow(0 0 22px var(--primary))}
.top-actions{justify-content:flex-end}.share-top span{font-size:25px;font-weight:900}.menu-top{display:none!important}
.wave{display:flex;align-items:center;justify-content:center;gap:4px;background:none;mask:none;height:40px}.wave i{width:4px;height:7px;border-radius:20px;background:linear-gradient(var(--pink),var(--primary));opacity:.55}.wave.playing i{animation:eq .7s ease-in-out infinite alternate;animation-delay:calc(var(--n)*-45ms);opacity:1}@keyframes eq{to{height:37px}}
.last-songs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}.song-card{min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:7px;text-align:center;overflow:hidden}.song-card img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:13px}.song-card h3{font-size:11px;margin:7px 0 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.song-card p{font-size:9px;color:var(--muted);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bottom-nav{grid-template-columns:repeat(6,minmax(0,1fr));background:color-mix(in srgb,var(--bottomnav) 93%,transparent)}.bottom-nav button{min-width:0}
.chat-card{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:14px}.chat-status{font-size:12px;color:var(--muted);padding-bottom:10px}.chat-status span{display:inline-block;width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 10px #22c55e}.chat-messages{height:48vh;min-height:300px;overflow:auto;display:flex;flex-direction:column;gap:8px}.chat-bubble{background:#0b1020;border:1px solid var(--line);padding:10px;border-radius:15px}.chat-bubble>div{display:flex;justify-content:space-between}.chat-bubble p{font-size:12px;margin:5px 0 0}.chat-bubble small{color:var(--muted);font-size:9px}.chat-form{margin-top:10px}.chat-form input{width:100%;background:#0b1020;border:1px solid var(--line);color:#fff;border-radius:13px;padding:12px}.chat-send{display:grid;grid-template-columns:1fr 46px;gap:7px;margin-top:7px}.chat-send button{padding:0}
@media(max-width:420px){.main{padding-left:8px;padding-right:8px}.hero{height:210px}.topbar{grid-template-columns:70px 1fr 70px;padding:7px}.top-logo-wrap img{width:66px;height:66px}.top-actions .icon-btn,.top-left .icon-btn{width:36px;height:36px;flex-basis:36px}.last-songs{gap:5px!important}.song-card{padding:5px}.song-card h3{font-size:9px}.song-card p{font-size:8px}.bottom-nav{height:74px;padding-left:2px;padding-right:2px}.bottom-nav button{font-size:8px}.bottom-nav button b{font-size:17px}}
@media(max-width:350px){.hero{height:190px}.main{padding-left:5px;padding-right:5px}.last-songs{gap:3px!important}.bottom-nav button{font-size:7px}}
