
: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}}

/* V5.5 - mantém o player original e adiciona gerenciamento visual */
:root{--text:#fff;--muted:#9ba5bd;--topbar:#070914;--bottomnav:#070914;--button:#8b5cf6;--button-text:#fff;--line:#252b40}
body{color:var(--text)}
.topbar{background:color-mix(in srgb,var(--topbar) 90%,transparent)}
.bottom-nav{background:color-mix(in srgb,var(--bottomnav) 94%,transparent);grid-template-columns:repeat(6,minmax(0,1fr))}
.live-card,.card,.news-item,.row,.song-card,.shortcut,.chat-card{border-color:var(--line)}
.primary,.mini-btn,.play-main{background:linear-gradient(135deg,var(--button),var(--pink));color:var(--button-text)}
.muted,.live-meta p,.song-card p{color:var(--muted)}
.wave{height:42px;display:flex!important;align-items:center;justify-content:center;gap:4px;background:none!important;mask:none!important}
.wave i{display:block;width:4px;height:7px;border-radius:20px;background:linear-gradient(180deg,var(--pink),var(--primary));opacity:.62}
.wave.playing i{animation:eq55 .68s ease-in-out infinite alternate;animation-delay:calc(var(--i) * -42ms);opacity:1}
@keyframes eq55{from{height:6px}to{height:38px}}
.last-songs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!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/1;object-fit:cover;border-radius:13px;display:block}
.song-card h3{font-size:11px;margin:7px 0 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.song-card p{font-size:10px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.social img{display:block;width:100%;height:100%;object-fit:contain}
.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;background:#22c55e;border-radius:50%;box-shadow:0 0 10px #22c55e}
.chat-messages{height:44vh;min-height:280px;overflow:auto;display:flex;flex-direction:column;gap:8px}
.chat-bubble{background:color-mix(in srgb,var(--primary) 14%,var(--bg));border:1px solid var(--line);border-radius:15px 15px 15px 5px;padding:10px}
.chat-bubble div{display:flex;justify-content:space-between}.chat-bubble small{color:var(--muted);font-size:9px}.chat-bubble p{margin:5px 0 0;font-size:12px}
.chat-send{display:grid;grid-template-columns:1fr 46px;gap:7px;margin-top:7px}.chat-send button{padding:0}
.splash-screen.hide{pointer-events:none}
@media(max-width:420px){
 .main{padding-left:9px;padding-right:9px}.hero{height:210px}.live-card{padding:14px}.topbar{padding:8px 10px}
 .brand-featured img{width:52px;height:52px}.brand-text h1{font-size:12px}.brand-text small{font-size:8px}
 .last-songs{gap:6px!important}.song-card{padding:5px}.song-card h3{font-size:9px}.song-card p{font-size:8px}
 .bottom-nav button{font-size:7px}.bottom-nav button b{font-size:16px}
}

/* V5.6 — topo central, iTunes e redes sociais proporcionais */
.topbar.topbar-centered{height:84px;min-height:84px;display:grid;grid-template-columns:92px minmax(0,1fr) 92px;align-items:center;padding:8px 12px;position:sticky}
.top-slot{display:flex;align-items:center;min-width:0}.top-slot-left{justify-content:flex-start}.top-slot-right{justify-content:flex-end;gap:6px}
.top-logo-center{display:flex;align-items:center;justify-content:center;min-width:0}.top-logo-center img{width:70px;height:70px;object-fit:contain;border-radius:21px;animation:logoPulse 2.1s ease-in-out infinite;filter:drop-shadow(0 0 18px color-mix(in srgb,var(--primary) 65%,transparent))}
.topbar-centered .icon-btn{width:40px;height:40px;flex:0 0 40px}.topbar-centered .share-top img{width:23px;height:23px;display:block;object-fit:contain}
.socials{align-items:center}.social{padding:9px!important;overflow:hidden}.social img{width:27px!important;height:27px!important;max-width:70%!important;max-height:70%!important;object-fit:contain!important}
@media(max-width:420px){
 .topbar.topbar-centered{grid-template-columns:78px minmax(0,1fr) 78px;height:76px;min-height:76px;padding:6px 8px}
 .top-logo-center img{width:62px;height:62px;border-radius:18px}.topbar-centered .icon-btn{width:36px;height:36px;flex-basis:36px}.topbar-centered .share-top img{width:21px;height:21px}
 .social{height:46px!important;padding:8px!important}.social img{width:24px!important;height:24px!important}
}
@media(max-width:350px){.topbar.topbar-centered{grid-template-columns:68px minmax(0,1fr) 68px}.top-logo-center img{width:56px;height:56px}.social img{width:22px!important;height:22px!important}}

/* V5.7 - controle completo de cores */
.live-card{background:var(--player-card);color:var(--player-text)}
.live-card .round,.live-card .play-main{color:var(--player-icon)}
.live-card .tag{background:var(--live);color:#fff}
.shortcut{background:var(--shortcut);color:var(--shortcut-text)}
.social{background:var(--social-card)}
.news-item{background:var(--news-card)}
.form input,.form textarea,.chat-form input{background:var(--input);color:var(--input-text);border-color:var(--line)}
.form input::placeholder,.form textarea::placeholder,.chat-form input::placeholder{color:color-mix(in srgb,var(--input-text) 55%,transparent)}
.modal-box{background:var(--modal)}
.drawer-panel{background:var(--drawer)}
.install{background:var(--install)}
.chat-status span{background:var(--success);box-shadow:0 0 10px var(--success)}

/* V5.8 - modelo Web TV */
.tv-model{--tv-accent:#06b6d4}.tv-model .topbar{border-bottom:1px solid color-mix(in srgb,var(--tv-accent) 30%,transparent)}
.tv-model .tv-hero{height:230px}.tv-live-primary{background:linear-gradient(145deg,color-mix(in srgb,var(--surface) 92%,#0369a1),var(--surface));padding:14px;border:1px solid color-mix(in srgb,var(--tv-accent) 40%,var(--line));border-radius:24px}
.tv-live-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.tv-live-header small,.tv-page-head small{font-size:9px;letter-spacing:2px;color:var(--tv-accent);font-weight:900}.tv-live-header h2,.tv-page-head h2{margin:3px 0}.tv-live-header p{margin:0;color:var(--muted);font-size:11px}.tv-live-pill{font-size:9px;font-weight:900;background:#ef444422;color:#fecaca;padding:7px 9px;border-radius:999px}.tv-live-pill i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#ef4444;animation:pulseTv 1.2s infinite}@keyframes pulseTv{50%{box-shadow:0 0 0 7px #ef444400}}
.tv-main-player{aspect-ratio:16/9;height:auto;border-radius:18px;box-shadow:0 20px 50px #0008}.tv-player-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.tv-player-actions button{padding:11px;border:1px solid var(--line);background:#ffffff0b;color:var(--text);border-radius:12px;font-weight:800}.tv-shortcuts{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.tv-shortcuts a{background:var(--shortcut);border:1px solid var(--line);border-radius:17px;padding:14px 7px;text-align:center;color:var(--shortcut-text)}.tv-shortcuts b{display:block;font-size:22px;color:var(--tv-accent);margin-bottom:6px}.tv-shortcuts span{font-size:9px;font-weight:800}.tv-news-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.tv-news-card{background:var(--news-card);border:1px solid var(--line);border-radius:17px;overflow:hidden}.tv-news-card img{width:100%;aspect-ratio:16/10;object-fit:cover}.tv-news-card div{padding:9px}.tv-news-card small{font-size:8px;color:var(--tv-accent)}.tv-news-card h3{font-size:11px;line-height:1.25;margin:4px 0}.tv-video-strip{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.tv-video-card{min-height:95px;border:1px solid var(--line);border-radius:17px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;text-align:left;padding:14px}.tv-video-card span{display:block;font-size:25px;color:var(--tv-accent)}.tv-video-card b{display:block;margin-top:8px}.tv-radio-mini{display:flex;justify-content:space-between;align-items:center;background:var(--player-card);border-radius:18px 18px 0 0;padding:14px}.tv-radio-mini small{font-size:8px;letter-spacing:1.6px;color:var(--pink)}.tv-radio-mini h3{margin:3px 0}.tv-radio-mini p{margin:0;color:var(--muted);font-size:10px}.tv-radio-controls{background:var(--player-card);padding:0 14px 12px;border-radius:0 0 18px 18px}.tv-full-player{aspect-ratio:16/9;height:auto}.tv-page-head{margin-bottom:12px}.tv-bottom-nav{grid-template-columns:repeat(6,minmax(0,1fr))}.tv-model .bottom-nav button:nth-child(2) b{background:var(--tv-accent);color:#001018;border-radius:50%;width:31px;height:31px;display:grid;place-items:center;margin:auto}.tv-model .social img{max-width:25px;max-height:25px}
@media(max-width:390px){.tv-shortcuts{grid-template-columns:repeat(3,1fr)}.tv-news-grid{gap:6px}.tv-live-primary{padding:10px}.tv-main-player{border-radius:13px}}

/* V5.9 — Web TV redesenhada */
.tv-model .main{padding-bottom:96px}.tv-live-primary{order:1}.tv-model [data-home-section="slides"]{order:2}.tv-radio-launchers{order:3;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tv-radio-launchers .hidden{display:none}.tv-radio-open{min-height:58px;border:1px solid color-mix(in srgb,var(--tv-accent) 45%,var(--line));border-radius:17px;background:linear-gradient(135deg,color-mix(in srgb,var(--tv-accent) 18%,var(--surface)),var(--surface));color:var(--text);display:flex;align-items:center;justify-content:center;gap:10px;font-weight:900}.tv-radio-open span{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:var(--tv-accent);color:#001018;font-size:18px}.tv-radio-open b{font-size:11px}
.tv-bottom-nav{grid-template-columns:repeat(5,1fr)!important;height:76px;padding:7px 8px 9px;align-items:end;border-radius:24px 24px 0 0;box-shadow:0 -12px 40px #0008}.tv-bottom-nav button{position:relative;border-radius:14px;padding:6px 2px}.tv-bottom-nav button b{font-size:19px}.tv-bottom-nav button span{display:block;font-size:8px;margin-top:3px}.tv-bottom-nav .tv-live-center{transform:translateY(-14px)}.tv-bottom-nav .tv-live-center b{width:52px!important;height:52px!important;border-radius:19px!important;background:linear-gradient(135deg,var(--tv-accent),var(--primary))!important;box-shadow:0 10px 24px color-mix(in srgb,var(--tv-accent) 45%,transparent);font-size:22px!important}.tv-bottom-nav .tv-live-center span{font-weight:900}
.tv-drawer .drawer-panel{width:min(88vw,380px);padding:0;overflow:hidden;background:var(--drawer)}.drawer-cover{position:relative;padding:28px 22px 20px;background:radial-gradient(circle at top right,color-mix(in srgb,var(--tv-accent) 45%,transparent),transparent 45%),linear-gradient(145deg,#07111f,var(--surface));text-align:center;border-bottom:1px solid var(--line)}.drawer-cover .close{position:absolute;right:14px;top:14px}.drawer-cover img{width:76px;height:76px;object-fit:contain;animation:logoPulse 2.1s infinite}.drawer-cover small{display:block;margin-top:8px;color:var(--tv-accent);letter-spacing:3px;font-weight:900}.drawer-cover h2{margin:4px 0}.drawer-cover p{margin:0;color:var(--muted);font-size:10px}.tv-drawer-menu{padding:13px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.tv-drawer-menu button{min-height:72px;border-radius:16px;border:1px solid var(--line);background:#ffffff08;padding:11px;text-align:left;display:grid;grid-template-columns:32px 1fr 12px;align-items:center;color:var(--text)}.tv-drawer-menu button i{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:color-mix(in srgb,var(--tv-accent) 18%,transparent);color:var(--tv-accent)}.tv-drawer-menu button span{font-size:10px;font-weight:800}.tv-drawer-menu button em{font-style:normal;color:var(--muted)}.drawer-socials{padding:3px 16px 20px;display:flex;justify-content:center;gap:8px}.drawer-socials .social{width:38px;height:38px}
.radio-modal-box{max-width:390px;background:linear-gradient(155deg,color-mix(in srgb,var(--tv-accent) 12%,var(--modal)),var(--modal));border:1px solid color-mix(in srgb,var(--tv-accent) 38%,var(--line))}.radio-modal .modal-top small{color:var(--tv-accent);font-size:8px;letter-spacing:2px;font-weight:900}.radio-modern-player{text-align:center;padding:8px 4px 16px}.radio-disc{width:120px;height:120px;margin:8px auto 5px;border-radius:50%;padding:20px;background:radial-gradient(circle,#111827 33%,#020617 34% 56%,var(--tv-accent) 57% 60%,#020617 61%);box-shadow:0 18px 45px #0008}.radio-disc img{width:100%;height:100%;object-fit:contain;border-radius:50%}.radio-modal.open .radio-disc{animation:discSpin 7s linear infinite}@keyframes discSpin{to{transform:rotate(360deg)}}.radio-modal-play{width:76px;height:76px;border:0;border-radius:50%;background:linear-gradient(135deg,var(--tv-accent),var(--primary));color:#fff;font-size:30px;box-shadow:0 14px 35px color-mix(in srgb,var(--tv-accent) 42%,transparent)}.radio-modern-player>p{color:var(--muted);font-size:11px}.radio-modal-actions{display:flex;justify-content:center;gap:10px}.radio-modal-actions button{width:44px;height:44px;border-radius:14px;border:1px solid var(--line);background:#ffffff0b;color:var(--text)}
@media(max-width:360px){.tv-radio-launchers{grid-template-columns:1fr}.tv-drawer-menu{grid-template-columns:1fr}.tv-bottom-nav button span{font-size:7px}}

/* V6.0 - modelo Web TV inspirado na estrutura visual do pacote de referência */
.tv-reference-model{--tv-ref-bg:#09090b;--tv-ref-card:#17171c;--tv-ref-border:#2a2a31;background:var(--tv-ref-bg)}
.tv-reference-model .app{max-width:none}.tv-ref-topbar{position:sticky;top:0;z-index:60;height:70px;padding:0 18px;display:grid;grid-template-columns:46px 1fr auto;align-items:center;background:rgba(15,15,18,.94);backdrop-filter:blur(20px);border-bottom:1px solid var(--tv-ref-border)}
.tv-ref-icon-btn{width:42px;height:42px;border:1px solid var(--tv-ref-border);border-radius:13px;background:#ffffff08;color:#fff;display:grid;place-items:center}.tv-ref-share img{width:21px;height:21px}.tv-ref-brand{display:flex;align-items:center;justify-content:center;gap:10px;min-width:0}.tv-ref-brand img{width:42px;height:42px;object-fit:contain}.tv-ref-brand strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tv-ref-actions{display:flex;gap:7px}.tv-ref-main{width:min(1080px,100%);margin:auto;padding:18px 16px 105px}
.tv-ref-live-card{position:relative;background:var(--tv-ref-card);border:1px solid var(--tv-ref-border);border-radius:28px;padding:10px;box-shadow:0 25px 70px #0008}.tv-ref-live-label{position:absolute;z-index:4;top:22px;left:22px;background:#ef4444;color:#fff;border-radius:999px;padding:7px 10px;font-size:9px;font-weight:900;letter-spacing:.5px}.tv-ref-live-label span{display:inline-block;width:7px;height:7px;border-radius:50%;background:#fff;margin-right:5px;animation:pulseTv 1.2s infinite}.tv-ref-player{aspect-ratio:16/9;background:#000;border-radius:21px;overflow:hidden}.tv-ref-player iframe,.tv-ref-player video{width:100%;height:100%;border:0}.tv-ref-live-copy{display:flex;align-items:center;justify-content:space-between;padding:15px 8px 5px}.tv-ref-live-copy small,.tv-ref-section-title small,.tv-ref-page-hero small{font-size:9px;letter-spacing:2px;color:var(--primary);font-weight:900}.tv-ref-live-copy h2{margin:4px 0}.tv-ref-live-copy p{margin:0;color:var(--muted);font-size:11px}.tv-ref-player-actions{display:flex;gap:7px}.tv-ref-player-actions button{width:42px;height:42px;border:1px solid var(--tv-ref-border);border-radius:13px;background:#ffffff08;color:#fff}
.tv-ref-quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.tv-ref-quick-card{min-height:104px;padding:15px;border:1px solid var(--tv-ref-border);border-radius:22px;background:linear-gradient(145deg,#1b1b21,#111116);color:#fff;text-align:left}.tv-ref-quick-card span{font-size:26px}.tv-ref-quick-card b,.tv-ref-quick-card small{display:block}.tv-ref-quick-card b{margin-top:9px}.tv-ref-quick-card small{margin-top:3px;color:var(--muted);font-size:9px}
.tv-ref-section-title{display:flex;align-items:end;justify-content:space-between;margin:8px 2px 12px}.tv-ref-section-title h2{margin:4px 0 0}.tv-ref-section-title button{border:0;background:none;color:#c4b5fd;font-weight:800}.tv-ref-slider{height:250px;border:1px solid var(--tv-ref-border);border-radius:26px}.tv-ref-slider .hero-item{border-radius:26px}.tv-ref-radio-row{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.tv-ref-radio-card{justify-content:flex-start!important;min-height:82px!important;padding:14px 16px!important;background:linear-gradient(145deg,#1b1b21,#111116)!important;border-color:var(--tv-ref-border)!important}.tv-ref-radio-card span{flex:0 0 44px!important;width:44px!important;height:44px!important}.tv-ref-radio-card div{text-align:left}.tv-ref-radio-card small{display:block;color:var(--muted);font-size:9px;margin-top:4px}.tv-ref-social-grid{display:grid!important;grid-template-columns:repeat(5,1fr);gap:10px}.tv-ref-social-grid .social{width:auto;height:78px;border-radius:19px;background:var(--tv-ref-card);border:1px solid var(--tv-ref-border)}.tv-ref-social-grid .social img{width:30px!important;height:30px!important}.tv-ref-news-preview{grid-template-columns:repeat(3,1fr)!important}.tv-ref-news-preview .tv-news-card{border-color:var(--tv-ref-border);border-radius:22px;background:var(--tv-ref-card)}.tv-ref-news-preview .tv-news-card img{aspect-ratio:16/9}.tv-ref-news-preview .tv-news-card div{padding:12px}.tv-video-strip{grid-template-columns:repeat(3,1fr)!important}.tv-video-card{min-height:110px!important;border-color:var(--tv-ref-border)!important;background:linear-gradient(145deg,#18181d,#111116)!important}
.tv-ref-page-hero{padding:12px 2px 20px}.tv-ref-page-hero h1{font-size:30px;margin:5px 0}.tv-ref-page-hero p{color:var(--muted);margin:0}.tv-reference-model .row,.tv-reference-model .card,.tv-reference-model .news-item,.tv-reference-model .chat-card{background:var(--tv-ref-card);border-color:var(--tv-ref-border)}
.tv-ref-bottom-nav{position:fixed;z-index:55;bottom:0;left:0;right:0;height:78px;background:rgba(15,15,18,.96);backdrop-filter:blur(20px);border-top:1px solid var(--tv-ref-border);display:grid!important;grid-template-columns:repeat(5,1fr)!important;align-items:center;padding:0 8px}.tv-ref-bottom-nav button{height:100%;border:0;background:none;color:#85858f;display:grid;place-content:center;gap:3px}.tv-ref-bottom-nav button.active{color:#fff}.tv-ref-bottom-nav button b{font-size:20px}.tv-ref-bottom-nav button span{font-size:9px}.tv-ref-bottom-nav .tv-ref-center-live{align-self:start;transform:translateY(-14px)}.tv-ref-bottom-nav .tv-ref-center-live b{width:60px;height:60px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--primary),var(--pink));border:6px solid #09090b;color:#fff;box-shadow:0 15px 35px color-mix(in srgb,var(--primary) 35%,transparent)}
.tv-ref-drawer .drawer-panel{width:min(360px,88vw);padding:0;background:#15151a;border-right:1px solid var(--tv-ref-border)}.tv-ref-drawer-head{height:78px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--tv-ref-border)}.tv-ref-drawer-head .tv-ref-brand{justify-content:flex-start}.tv-ref-drawer-menu{padding:12px!important;display:grid!important;grid-template-columns:1fr!important;gap:7px!important}.tv-ref-drawer-menu button{min-height:54px!important;border-radius:15px!important;background:#ffffff08!important;border:1px solid var(--tv-ref-border)!important;display:grid!important;grid-template-columns:38px 1fr 14px!important;align-items:center!important;text-align:left!important}.tv-ref-drawer-menu button i{width:34px!important;height:34px!important;border-radius:11px!important;background:color-mix(in srgb,var(--primary) 17%,transparent)!important;color:#c4b5fd!important}.tv-ref-drawer-footer{padding:18px;text-align:center;color:var(--muted);font-size:10px;border-top:1px solid var(--tv-ref-border)}.tv-ref-splash-logo{width:96px;height:96px;border-radius:30px;background:linear-gradient(135deg,var(--primary),var(--pink));display:grid;place-items:center;animation:logoPulse 1s infinite alternate}.tv-ref-splash-logo img{max-width:78%;max-height:78%;object-fit:contain}
@media(max-width:700px){.tv-ref-main{padding-left:10px;padding-right:10px}.tv-ref-brand strong{display:none}.tv-ref-actions{gap:4px}.tv-ref-icon-btn{width:38px;height:38px}.tv-ref-topbar{grid-template-columns:40px 1fr auto;padding:0 10px}.tv-ref-quick-actions{grid-template-columns:1fr 1fr}.tv-ref-quick-actions .tv-ref-quick-card:first-child{grid-column:span 2}.tv-ref-radio-row{grid-template-columns:1fr 1fr}.tv-ref-social-grid{grid-template-columns:repeat(3,1fr)}.tv-ref-news-preview{grid-template-columns:1fr!important}.tv-video-strip{grid-template-columns:1fr 1fr!important}.tv-ref-slider{height:210px}}
@media(max-width:390px){.tv-ref-radio-row{grid-template-columns:1fr}.tv-ref-live-copy{align-items:flex-start}.tv-ref-live-copy h2{font-size:17px}.tv-ref-quick-card{min-height:92px}.tv-ref-social-grid .social{height:66px}}

/* V6.1 - ajustes específicos para Web TV e instalação APK */
.tv-notify-modern img{width:100%;height:100%;object-fit:contain}
.tv-ref-actions .tv-notify-modern{padding:2px;background:transparent;border:0}
.player-share-modern{padding:4px!important;overflow:hidden}
.player-share-modern img{width:100%;height:100%;object-fit:cover;border-radius:50%}

.tv-ref-radio-row.single-radio{grid-template-columns:1fr!important}
.tv-ref-social-grid .social{height:104px!important}
.tv-ref-social-grid .social img{width:60px!important;height:60px!important;max-width:60px!important;max-height:60px!important}
@media(max-width:700px){
 .tv-ref-social-grid .social{height:90px!important}
 .tv-ref-social-grid .social img{width:52px!important;height:52px!important;max-width:52px!important;max-height:52px!important}
}
@media(max-width:390px){
 .tv-ref-radio-row.single-radio{grid-template-columns:1fr!important}
 .tv-ref-social-grid .social{height:84px!important}
 .tv-ref-social-grid .social img{width:48px!important;height:48px!important;max-width:48px!important;max-height:48px!important}
}

.tv-apk-install{position:fixed;z-index:120;left:50%;bottom:92px;transform:translate(-50%,24px);width:min(720px,calc(100% - 24px));display:flex;align-items:center;gap:14px;padding:15px;background:rgba(17,17,22,.97);color:#fff;border:1px solid #ffffff1f;border-radius:22px;box-shadow:0 24px 70px #000c;backdrop-filter:blur(20px);opacity:0;pointer-events:none;transition:.3s}
.tv-apk-install.show{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.tv-apk-install-icon{width:52px;height:52px;flex:0 0 52px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,#a78bfa,#6d28d9);font-weight:1000;font-size:15px}
.tv-apk-install-copy{min-width:0;display:flex;flex-direction:column;gap:4px}.tv-apk-install-copy b{font-size:14px}.tv-apk-install-copy span{font-size:10px;color:#b8b8c3;line-height:1.35}
.tv-apk-install-actions{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.tv-apk-install-actions button{border:0;border-radius:13px;padding:11px 14px;font-weight:900;cursor:pointer}
.tv-apk-install-now{background:linear-gradient(135deg,#a78bfa,#6d28d9);color:#fff}.tv-apk-dismiss{background:#ffffff0d;color:#d4d4dc;border:1px solid #ffffff1a!important}
.install{flex-wrap:wrap}.install #installDismissBtn{margin-left:0;background:transparent;color:#333;border:1px solid #ddd}
@media(max-width:600px){
 .tv-apk-install{align-items:flex-start;bottom:86px}.tv-apk-install-actions{width:100%;margin-left:66px;justify-content:flex-start}.tv-apk-install-actions button{flex:1}
}
