*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}a{color:inherit}.admin-body{background:#eef2f7;color:#111827}.topbar{background:#0f172a;color:#fff;padding:14px 22px;display:flex;gap:14px;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:20;box-shadow:0 8px 30px rgba(2,6,23,.25)}.topbar a{text-decoration:none;padding:8px 10px;border-radius:10px}.topbar a:hover{background:rgba(255,255,255,.13)}.wrap{max-width:1200px;margin:24px auto;padding:0 18px}.card{background:#fff;color:#111827;border:1px solid #e5e7eb;border-radius:20px;box-shadow:0 12px 30px rgba(15,23,42,.08);padding:20px;margin-bottom:18px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.full{grid-column:1/-1}.field label{display:block;font-weight:800;margin-bottom:6px}.field small,.muted{color:#64748b;line-height:1.35}.field input,.field select,.field textarea,.inline-form input{width:100%;border:1px solid #cbd5e1;border-radius:13px;padding:11px 12px;font-size:15px;background:#fff}.field textarea{min-height:100px}.btn,.pwa-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#e11d48;color:white;text-decoration:none;border:0;border-radius:13px;padding:10px 14px;font-weight:850;cursor:pointer}.btn.secondary{background:#2563eb}.btn.gray{background:#64748b}.btn.green{background:#16a34a}.btn.red{background:#dc2626}.btn.light{background:#f1f5f9;color:#0f172a}.btn.big{font-size:17px;padding:14px 20px}.btn.small{padding:4px 8px;border-radius:8px}.actions,.inline-form{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.inline-form input{max-width:260px}.table{width:100%;border-collapse:collapse}.table th,.table td{text-align:left;border-bottom:1px solid #e5e7eb;padding:10px;vertical-align:middle}.badge{display:inline-block;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:900;background:#e2e8f0;margin:2px}.ok{background:#dcfce7;color:#166534}.bad{background:#fee2e2;color:#991b1b}.warn{background:#fef3c7;color:#92400e}.notice{padding:12px;border-radius:14px;background:#eff6ff;color:#1e40af;margin:12px 0}.notice.error{background:#fef2f2;color:#991b1b}.notice.success{background:#f0fdf4;color:#166534}.danger{background:#fef2f2;color:#991b1b}.success{background:#f0fdf4;color:#166534}.img-preview{width:82px;height:82px;object-fit:cover;border-radius:14px;background:#e5e7eb;border:1px solid #cbd5e1}.img-preview.wide{width:140px;height:78px}.login{max-width:440px;margin:60px auto}.mini-row{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #e5e7eb;padding:8px 0}.center{text-align:center}.qrbox{margin-top:20px}.qrbox img{border-radius:18px;background:white;padding:10px}.footer{padding:30px 0;color:rgba(255,255,255,.7);text-align:center}
@media(max-width:850px){.grid,.grid3{grid-template-columns:1fr}.topbar{display:block}.topbar nav{margin-top:9px;display:flex;gap:6px;flex-wrap:wrap}.wrap{margin:14px auto}.card{border-radius:16px}.table{display:block;overflow-x:auto}}
/* PWA */.pwa-body{min-height:100vh;background:var(--bg,#0f172a);color:var(--text,#fff);overflow-x:hidden}.animated-bg{position:fixed;inset:0;background:radial-gradient(circle at 5% 8%,color-mix(in srgb,var(--primary,#e11d48) 80%,transparent),transparent 26%),radial-gradient(circle at 95% 20%,color-mix(in srgb,var(--secondary,#2563eb) 85%,transparent),transparent 30%),linear-gradient(135deg,#020617,#0f172a 45%,#111827);background-size:170% 170%;animation:bgMove 16s ease-in-out infinite;z-index:-4}.bg-img{position:fixed;inset:0;background-size:cover;background-position:center;opacity:.28;filter:saturate(1.1) contrast(1.05);z-index:-3}.bg-mask{position:fixed;inset:0;background:linear-gradient(180deg,rgba(2,6,23,.25),rgba(2,6,23,.92));z-index:-2}@keyframes bgMove{0%,100%{background-position:0 0}50%{background-position:100% 70%}}.pwa-shell{width:min(1120px,100%);margin:0 auto;padding:24px}.hero{display:grid;grid-template-columns:1.12fr .88fr;gap:26px;align-items:center;min-height:72vh}.brand{display:flex;gap:16px;align-items:center}.logo{width:112px;height:112px;border-radius:28px;object-fit:cover;background:rgba(255,255,255,.12);box-shadow:0 20px 60px rgba(0,0,0,.35)}.title{font-size:clamp(34px,6vw,72px);line-height:.93;margin:16px 0 8px;font-weight:980;letter-spacing:-.055em;text-shadow:0 12px 38px rgba(0,0,0,.35)}.slogan{font-size:20px;color:rgba(255,255,255,.78);max-width:720px}.live-dot{font-weight:950;color:#fecaca;letter-spacing:.08em}.player-card{background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,.08));border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(18px);border-radius:34px;padding:24px;box-shadow:0 35px 100px rgba(0,0,0,.42)}.cover{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:28px;background:rgba(255,255,255,.10)}.play-row{display:flex;gap:14px;align-items:center;margin-top:16px}.play-btn{width:76px;height:76px;border-radius:50%;border:0;background:linear-gradient(135deg,var(--primary,#e11d48),var(--secondary,#2563eb));color:white;font-size:28px;box-shadow:0 15px 45px rgba(0,0,0,.38);cursor:pointer}.wave{display:flex;gap:4px;align-items:end;height:44px}.wave span{width:5px;border-radius:99px;background:rgba(255,255,255,.78);animation:wave 1.2s infinite ease-in-out}.wave span:nth-child(2){animation-delay:.1s}.wave span:nth-child(3){animation-delay:.2s}.wave span:nth-child(4){animation-delay:.3s}.wave span:nth-child(5){animation-delay:.4s}@keyframes wave{0%,100%{height:8px}50%{height:38px}}.pwa-btns,.social-grid{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.pwa-btn{border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.12);color:white;border-radius:999px;padding:12px 16px}.pwa-btn.primary{background:linear-gradient(135deg,var(--primary,#e11d48),var(--secondary,#2563eb));border:0}.install-banner{display:none;position:fixed;left:16px;right:16px;bottom:16px;z-index:100;background:#fff;color:#111827;border-radius:20px;padding:14px;box-shadow:0 20px 80px rgba(0,0,0,.35);align-items:center;justify-content:space-between;gap:12px}.install-banner.show{display:flex}.section{margin:32px 0}.section h2{font-size:30px;margin:0 0 15px}.banner-slot{position:relative;overflow:hidden;border-radius:22px;margin:18px 0;min-height:82px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15)}.banner-item{display:none}.banner-item.active{display:block}.banner-slot img{width:100%;display:block;border-radius:22px}.ad-html{padding:8px;overflow:hidden}.video-frame{width:100%;aspect-ratio:16/9;border:0;border-radius:24px;background:#000}.notice-list,.schedule-list{display:grid;gap:10px}.notice-item,.schedule-item{padding:15px;border-radius:18px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.14)}.copy-done{display:none;color:#bbf7d0;font-weight:900;margin-left:10px}.copy-done.show{display:inline}.offline{display:none;background:#fef3c7;color:#78350f;border-radius:14px;padding:12px;margin-top:12px}.offline.show{display:block}.layout-news .hero{grid-template-columns:1fr;min-height:48vh}.layout-news .player-card{display:grid;grid-template-columns:220px 1fr;gap:18px}.layout-news .cover{height:220px}.layout-minimal .hero{grid-template-columns:1fr;text-align:center;max-width:820px;margin:auto}.layout-minimal .brand{justify-content:center}.layout-broadcast .player-card{border-radius:12px;border-left:7px solid var(--primary,#e11d48)}.install-page{display:grid;place-items:center;min-height:100vh}.install-page .player-card{max-width:560px}
@media(max-width:900px){.pwa-shell{padding:16px}.hero{grid-template-columns:1fr;min-height:auto;padding-top:18px}.logo{width:86px;height:86px;border-radius:22px}.title{font-size:44px}.layout-news .player-card{grid-template-columns:1fr}.layout-news .cover{height:auto}.install-banner{align-items:flex-start;flex-direction:column}.player-card{border-radius:24px;padding:18px}}

/* PWA final separation: install page vs web app */
.install-card{text-align:center;max-width:620px;margin:auto;overflow:hidden;position:relative}.install-card:before{content:"";position:absolute;inset:-80px -80px auto auto;width:220px;height:220px;background:radial-gradient(circle,var(--primary),transparent 65%);opacity:.35;filter:blur(10px)}.install-note{margin-top:14px;padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.16);color:rgba(255,255,255,.88)}.pwa-btns.center{justify-content:center}.is-installed .browser-only,.app-mode.is-installed #installBanner{display:none!important}.install-mode .qrbox{margin:22px auto 8px;display:inline-grid;padding:12px;border-radius:24px;background:#fff;box-shadow:0 18px 40px rgba(0,0,0,.25)}.install-mode .qrbox img{width:220px;height:220px}.app-mode .install-banner:not(.show){display:none}.hero-copy{align-self:center}.banner-slot{min-height:60px}.banner-item{animation:fadeIn .35s ease}@keyframes fadeIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.placeholder-safe{background:linear-gradient(135deg,var(--primary),var(--secondary));}


/* Revisão 2026.06: área pública/admin separada e imagens controladas */
.login-only .topbar{display:none}.public-home .public-hero{min-height:88vh}.public-home .player-card p{font-size:18px;line-height:1.5}.img-preview.wide{width:160px;height:90px;object-fit:contain;background:#f8fafc}.banner-slot{display:flex;align-items:center;justify-content:center;max-height:260px}.banner-slot img{width:100%;height:auto;max-height:260px;object-fit:contain;background:rgba(255,255,255,.04)}.player-card .banner-slot{max-height:180px}.player-card .banner-slot img{max-height:180px}.install-card .logo{width:128px;height:128px;object-fit:cover}.field input[type=file]{background:#f8fafc}.table img.img-preview{object-fit:contain}
@media(max-width:700px){.banner-slot{max-height:180px}.banner-slot img{max-height:180px}.public-home .public-hero{min-height:auto}.public-home .player-card p{font-size:16px}}


/* Layout TV Web Profissional - adição segura sem alterar os layouts antigos */
.layout-tv_focus .pwa-shell{width:min(1280px,100%)}
.tv-hero{min-height:72vh;display:grid;gap:20px;padding-top:10px}
.tv-brandbar{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.06));border:1px solid rgba(255,255,255,.16);border-radius:28px;padding:18px;backdrop-filter:blur(16px)}
.layout-tv_focus .title{font-size:clamp(30px,4.8vw,60px);margin:8px 0 4px}
.layout-tv_focus .logo{width:92px;height:92px;border-radius:24px}
.tv-player-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px;align-items:start}
.tv-stage{position:relative;overflow:hidden;border-radius:30px;background:#000;border:1px solid rgba(255,255,255,.18);box-shadow:0 35px 100px rgba(0,0,0,.50)}
.tv-stage.main-tv{min-height:420px}
.tv-stage.side-tv{border-radius:24px;box-shadow:0 18px 55px rgba(0,0,0,.35)}
.tv-video,.tv-embed{display:block;width:100%;aspect-ratio:16/9;border:0;background:#000}
.tv-stage.main-tv .tv-video,.tv-stage.main-tv .tv-embed{min-height:420px}
.tv-stage-label{position:absolute;left:14px;bottom:14px;display:flex;gap:8px;align-items:center;padding:9px 12px;border-radius:999px;background:rgba(2,6,23,.70);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(12px)}
.tv-side{display:grid;gap:14px}
.tv-radio-strip{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;border-radius:24px;padding:16px 18px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(14px)}
.tv-radio-strip small{display:block;color:rgba(255,255,255,.72);margin-top:3px}
.tv-radio-strip .play-row{margin-top:0}.play-row.compact .play-btn{width:56px;height:56px;font-size:22px}.play-row.compact .wave{height:28px}.play-row.compact .wave span{width:4px}.tv-empty{max-width:none;text-align:center}
.layout-tv_focus .banner-slot{max-height:170px}.layout-tv_focus .player-card .banner-slot{max-height:150px}
@media(max-width:980px){.tv-player-grid{grid-template-columns:1fr}.tv-stage.main-tv,.tv-stage.main-tv .tv-video,.tv-stage.main-tv .tv-embed{min-height:auto}.tv-brandbar{border-radius:22px}.layout-tv_focus .logo{width:78px;height:78px}.tv-radio-strip{align-items:flex-start}.tv-stage-label{position:static;border-radius:0;background:rgba(2,6,23,.95)}}
@media(max-width:640px){.layout-tv_focus .pwa-shell{padding:12px}.tv-brandbar{padding:14px}.tv-stage{border-radius:20px}.tv-side .tv-stage{border-radius:18px}.layout-tv_focus .title{font-size:34px}.layout-tv_focus .pwa-btns{width:100%}.layout-tv_focus .pwa-btn{flex:1 1 auto}.tv-radio-strip{padding:14px}.tv-radio-strip .play-row{width:100%;justify-content:flex-start}}


.install-help{line-height:1.55;text-align:left;background:rgba(15,23,42,.72);border-color:rgba(255,255,255,.24)}
.install-help[hidden]{display:none!important}
.pwa-btn:disabled{opacity:.72;cursor:default}

/* R9 - fluxo de instalação nativa */
.install-action{min-width:210px;font-size:16px;transition:transform .2s ease,box-shadow .2s ease,opacity .2s ease}
.install-action.install-ready{box-shadow:0 0 0 4px rgba(34,197,94,.22),0 16px 45px rgba(0,0,0,.34);animation:installPulse 1.8s ease-in-out infinite}
.install-action.install-waiting{opacity:.92}
.install-readiness{margin-top:14px;padding:12px 14px;border-radius:16px;background:rgba(15,23,42,.72);border:1px solid rgba(255,255,255,.2);display:grid;grid-template-columns:12px 1fr;gap:8px 10px;align-items:center;text-align:left;color:rgba(255,255,255,.92)}
.install-readiness-dot{width:11px;height:11px;border-radius:50%;background:#f59e0b;box-shadow:0 0 0 5px rgba(245,158,11,.14)}
.install-readiness.ready .install-readiness-dot,.install-readiness.installed .install-readiness-dot{background:#22c55e;box-shadow:0 0 0 5px rgba(34,197,94,.15)}
.install-readiness.error .install-readiness-dot{background:#ef4444;box-shadow:0 0 0 5px rgba(239,68,68,.15)}
.install-progress{grid-column:1/-1;height:5px;border-radius:999px;background:rgba(255,255,255,.12);overflow:hidden}
.install-progress span{display:block;width:5%;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--primary,#e11d48),var(--secondary,#2563eb));transition:width .5s ease}
.install-readiness.ready .install-progress span,.install-readiness.installed .install-progress span{background:#22c55e}
.install-readiness.error .install-progress span{background:#ef4444}
@keyframes installPulse{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}
@media(max-width:520px){.install-card .pwa-btns.center{display:grid}.install-card .pwa-btn{width:100%}.install-action{min-width:0}}


/* R10 - instalação simples, uma única ação */
.install-card-simple{max-width:560px;padding:30px 26px}.install-brand-mark{display:grid;justify-items:center;gap:10px;margin-bottom:16px}.install-card-simple .install-logo{width:104px;height:104px;border-radius:24px;object-fit:cover;pointer-events:none;user-select:none;-webkit-user-drag:none;box-shadow:0 16px 42px rgba(0,0,0,.34)}.install-official-badge{font-size:12px;font-weight:900;letter-spacing:.12em;color:rgba(255,255,255,.76)}.install-card-simple h1{margin:0 0 10px;font-size:clamp(28px,7vw,42px);line-height:1.08}.install-description{margin:0 auto 22px;max-width:460px;line-height:1.55;color:rgba(255,255,255,.82)}.install-primary{display:grid;gap:12px}.install-card-simple .install-action{width:100%;min-height:58px;border-radius:18px;font-size:18px;padding:15px 20px}.install-card-simple .install-action:disabled{cursor:wait;opacity:.84}.install-card-simple .install-action.install-ready{cursor:pointer;opacity:1;box-shadow:0 0 0 4px rgba(34,197,94,.18),0 18px 48px rgba(0,0,0,.32);animation:none}.install-card-simple .install-action.install-working{cursor:wait}.install-card-simple .install-action.install-success{background:#15803d}.install-card-simple .install-action.install-error{background:#991b1b;cursor:not-allowed}.install-status-simple{display:flex;align-items:flex-start;justify-content:center;gap:9px;min-height:44px;padding:11px 13px;border-radius:14px;background:rgba(15,23,42,.58);border:1px solid rgba(255,255,255,.16);font-size:14px;line-height:1.45;text-align:left;color:rgba(255,255,255,.88)}.install-status-icon{flex:0 0 10px;width:10px;height:10px;margin-top:5px;border-radius:50%;background:#f59e0b;box-shadow:0 0 0 5px rgba(245,158,11,.13)}.install-status-simple.ready .install-status-icon,.install-status-simple.installed .install-status-icon{background:#22c55e;box-shadow:0 0 0 5px rgba(34,197,94,.14)}.install-status-simple.error .install-status-icon{background:#ef4444;box-shadow:0 0 0 5px rgba(239,68,68,.14)}.install-status-simple.working .install-status-icon{animation:installStatusPulse 1s ease-in-out infinite}.install-web-link{display:inline-block;margin-top:18px;color:rgba(255,255,255,.78);font-weight:750;text-underline-offset:4px}.install-other-device{margin-top:22px;color:rgba(255,255,255,.72);font-size:14px}.install-other-device summary{cursor:pointer;list-style-position:inside}.install-other-device .qrbox{margin-top:14px}.install-card-simple .install-help{margin-top:14px}.install-card-simple .copy-done,.install-card-simple>.muted{display:none!important}@keyframes installStatusPulse{0%,100%{opacity:.45;transform:scale(.86)}50%{opacity:1;transform:scale(1.08)}}@media(max-width:560px){.install-page{align-items:start}.install-card-simple{padding:24px 18px;margin-top:8px}.install-card-simple .install-logo{width:88px;height:88px;border-radius:21px}.install-other-device{display:none}.install-card-simple .install-action{font-size:17px}}

/* R10.1 - identidade visual não clicável, separada do botão de instalação */
.install-card-simple .install-brand-mark{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:18px;text-align:left}.install-card-simple .install-logo{width:64px;height:64px;border-radius:16px;box-shadow:none;border:1px solid rgba(255,255,255,.18)}.install-brand-copy{display:grid;gap:3px}.install-brand-copy strong{font-size:18px;line-height:1.15}.install-card-simple .install-official-badge{font-size:10px}@media(max-width:420px){.install-card-simple .install-brand-mark{justify-content:flex-start}.install-card-simple .install-logo{width:58px;height:58px;border-radius:14px}}

/* Conteúdo HTML/AdSense isolado para não acessar painel, sessão ou dados de outros clientes. */
.sandboxed-html-frame{display:block;width:100%;min-height:90px;border:0;background:transparent;border-radius:12px}

/* R14: instalação compatível e alternativa discreta */
.install-fallback-toggle{display:inline-flex;align-items:center;justify-content:center;justify-self:center;margin-top:2px;padding:5px 8px;border:0;background:transparent;color:rgba(255,255,255,.68);font:inherit;font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.install-fallback-toggle:hover,.install-fallback-toggle:focus-visible{color:#fff;outline:none}
.install-fallback-toggle[hidden]{display:none!important}
.install-status-simple[hidden]{display:none!important}
.install-card-simple .install-help{font-size:14px}
@media(max-width:420px){.install-fallback-toggle{font-size:12px}}


/* R16 - instalação direta e acabamento configurável */
.pwa-inline-install-help{flex:1 1 100%;margin-top:8px;padding:10px 12px;background:rgba(15,23,42,.72);color:#fff;font-size:13px;line-height:1.45;text-align:left}
.pwa-inline-install-help[hidden]{display:none!important}.manage-link{opacity:.82}.pwa-btn[data-install-state="working"]{opacity:.72;cursor:wait}
.edge-square_clean .player-card,.edge-square_clean .logo,.edge-square_clean .cover,.edge-square_clean .pwa-btn,.edge-square_clean .banner-slot,.edge-square_clean .banner-slot img,.edge-square_clean .notice-item,.edge-square_clean .schedule-item,.edge-square_clean .offline,.edge-square_clean .tv-brandbar,.edge-square_clean .tv-stage,.edge-square_clean .tv-radio-strip,.edge-square_clean .sandboxed-html-frame{border-radius:0!important;border-color:transparent!important}
.edge-square_clean .player-card,.edge-square_clean .tv-brandbar,.edge-square_clean .tv-stage,.edge-square_clean .tv-radio-strip,.edge-square_clean .notice-item,.edge-square_clean .schedule-item,.edge-square_clean .banner-slot{border-width:0!important}
.edge-square_border .player-card,.edge-square_border .logo,.edge-square_border .cover,.edge-square_border .pwa-btn,.edge-square_border .banner-slot,.edge-square_border .banner-slot img,.edge-square_border .notice-item,.edge-square_border .schedule-item,.edge-square_border .offline,.edge-square_border .tv-brandbar,.edge-square_border .tv-stage,.edge-square_border .tv-radio-strip,.edge-square_border .sandboxed-html-frame{border-radius:0!important}
.edge-rounded .player-card,.edge-rounded .tv-stage{border-radius:30px}.edge-rounded .pwa-btn{border-radius:999px}
/* Botões funcionais naturalmente circulares permanecem circulares. */
.edge-square_clean .play-btn,.edge-square_border .play-btn,.edge-rounded .play-btn{border-radius:50%!important}

.pwa-install-fallback{flex:1 1 100%;font-size:.78rem;opacity:.82}.pwa-install-fallback summary{cursor:pointer;text-decoration:underline}.pwa-install-fallback a{display:inline-block;margin-top:6px;color:inherit;font-weight:800}


/* R17 - acabamento profissional híbrido: conteúdo reto, controles com curvas elegantes */
:root{--ui-control-radius:14px;--ui-brand-radius:20px}
/* Identidade e ações essenciais mantêm curvas suaves em todos os estilos. */
.pwa-body .logo,.install-card-simple .install-logo{border-radius:var(--ui-brand-radius)!important;overflow:hidden}
.pwa-body .pwa-btn,.install-fallback-toggle{border-radius:var(--ui-control-radius)!important}
.pwa-body .install-banner,.pwa-body .pwa-inline-install-help,.pwa-body .offline{border-radius:14px!important}
.pwa-body .play-btn,.install-status-icon,.install-readiness-dot{border-radius:50%!important}
/* O modo arredondado continua mais curvo; os modos quadrados preservam blocos grandes retos. */
.edge-rounded .pwa-btn{border-radius:999px!important}
.edge-rounded .logo{border-radius:24px!important}
@media(max-width:900px){.pwa-body .logo{border-radius:18px!important}}

/* R18 - navegação interna e divulgação institucional discreta */
.sjb-internal-nav{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:10px}
.sjb-internal-nav a{display:inline-flex;align-items:center;min-height:34px;padding:7px 10px;border:1px solid rgba(255,255,255,.14);border-radius:10px;color:inherit;text-decoration:none;font-size:.78rem;font-weight:750;background:rgba(255,255,255,.055)}
.sjb-internal-nav a:hover{background:rgba(255,255,255,.1)}
.sjb-ecosystem{position:relative;display:inline-block;max-width:300px;text-align:left;color:inherit}
.sjb-ecosystem details{position:relative}
.sjb-ecosystem summary{list-style:none;display:inline-flex;align-items:center;gap:7px;cursor:pointer;padding:6px 9px;border:1px solid rgba(255,255,255,.12);border-radius:11px;background:rgba(255,255,255,.055);font-size:.72rem;font-weight:800;opacity:.9}
.sjb-ecosystem summary::-webkit-details-marker{display:none}
.sjb-ecosystem-mark{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:linear-gradient(135deg,var(--primary,#e11d48),var(--secondary,#2563eb));color:#fff;font-size:.62rem;letter-spacing:.04em}
.sjb-ecosystem-panel{position:absolute;right:0;bottom:calc(100% + 8px);z-index:50;width:min(290px,calc(100vw - 30px));padding:10px;border:1px solid rgba(255,255,255,.14);border-radius:14px;background:rgba(9,15,28,.97);box-shadow:0 18px 45px rgba(0,0,0,.35);backdrop-filter:blur(18px)}
.sjb-ecosystem-panel p{margin:1px 5px 8px;font-size:.68rem;text-transform:uppercase;letter-spacing:.09em;opacity:.62}
.sjb-ecosystem-panel a{display:grid;grid-template-columns:1fr auto;gap:1px 10px;padding:9px 10px;border-radius:10px;color:#fff;text-decoration:none}
.sjb-ecosystem-panel a:hover{background:rgba(255,255,255,.08)}
.sjb-ecosystem-panel strong{font-size:.82rem}.sjb-ecosystem-panel small{grid-column:1;font-size:.7rem;opacity:.68}.sjb-ecosystem-panel a>span{grid-column:2;grid-row:1/3;align-self:center;opacity:.7}
.pwa-public-footer{display:flex!important;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px;text-align:left!important}
.pwa-footer-credit{font-size:.76rem;opacity:.82}.pwa-footer-credit a{color:inherit;font-weight:850}
.sjb-root-footer{margin-top:18px}.sjb-root-footer>a{color:inherit;font-weight:850}
@media(max-width:640px){.pwa-public-footer{align-items:flex-start}.sjb-ecosystem-panel{left:0;right:auto}.sjb-internal-nav{width:100%}.sjb-internal-nav a{flex:1 1 auto;justify-content:center}}

/* R18: página institucional do ecossistema */
.projects-page .projects-hero{margin-bottom:22px}.projects-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0 0 24px}.projects-card{background:rgba(10,18,34,.9);border:1px solid rgba(255,255,255,.12);padding:24px;box-shadow:0 18px 50px rgba(0,0,0,.2)}.projects-card h2{font-size:1.55rem;margin:10px 0}.projects-card p{color:var(--muted,#cbd5e1);line-height:1.65}.projects-tag{display:inline-flex;padding:6px 10px;border-radius:10px;background:rgba(255,255,255,.08);font-size:.75rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.projects-card .pwa-btn{margin-top:12px}.sjb-ecosystem-all{border-top:1px solid rgba(148,163,184,.18);margin-top:4px;padding-top:12px!important}@media(max-width:820px){.projects-grid{grid-template-columns:1fr}.projects-card{padding:20px}}


/* R19: URL dinâmica da política de privacidade */
.privacy-url-box{display:flex;gap:10px;align-items:center}.privacy-url-box input{flex:1;min-width:0;background:#f8fafc}.privacy-url-box .btn{white-space:nowrap;text-decoration:none}@media(max-width:720px){.privacy-url-box{align-items:stretch;flex-direction:column}.privacy-url-box .btn{text-align:center}}

/* R20: ajuda para reprodução contínua em segundo plano */
.audio-help-card{margin:18px 0;border:1px solid rgba(255,255,255,.15);border-radius:18px;background:rgba(15,23,42,.72);overflow:hidden;box-shadow:0 14px 36px rgba(0,0,0,.18)}
.audio-help-card summary{cursor:pointer;padding:16px 18px;font-weight:900;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px}
.audio-help-card summary::-webkit-details-marker{display:none}.audio-help-card summary:after{content:'+';font-size:1.35rem}.audio-help-card[open] summary:after{content:'−'}
.audio-help-card>div{padding:0 18px 18px;color:rgba(255,255,255,.86);line-height:1.6}.audio-help-card p{margin:0 0 10px}.audio-help-card ol{margin:8px 0 10px;padding-left:22px}.audio-help-card .muted{color:rgba(255,255,255,.65);font-size:.9rem}
.install-tech-warning{display:inline-block;margin-top:8px;color:#fde68a}.install-status-simple[data-status="success"]{color:#bbf7d0}.install-status-simple[data-status="working"]{color:#bfdbfe}


/* R24 - controles centrais do Super Admin */
.admin-central-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.admin-central-head h2{margin:0 0 6px}.admin-table-scroll{overflow-x:auto}.admin-control-table{min-width:930px}.central-bulk-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:12px 0 14px;border-top:1px solid #e5e7eb}.central-substitute{display:grid;grid-template-columns:auto minmax(100px,1fr);gap:8px;align-items:center;min-width:190px}.central-substitute select{width:100%;border:1px solid #cbd5e1;border-radius:10px;padding:8px 9px;background:#fff}.central-check,.central-adsense label{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:13px}.central-adsense{display:flex;gap:12px;flex-wrap:wrap;align-items:center;min-width:145px}.central-adsense input,.central-check input{width:18px;height:18px;accent-color:#e11d48}.central-savebar{position:sticky;bottom:0;display:flex;align-items:center;gap:14px;margin:12px -6px -6px;padding:12px;background:rgba(255,255,255,.96);border-top:1px solid #e5e7eb;backdrop-filter:blur(8px);z-index:5}.warn-text{color:#92400e;background:#fef3c7;border-radius:999px;padding:4px 7px;font-weight:800}.admin-control-table td{vertical-align:middle}@media(max-width:850px){.admin-central-head{display:block}.admin-central-head .actions{margin-top:10px}.central-savebar{align-items:stretch;flex-direction:column}.central-savebar .btn{width:100%}}

/* R24.2 - tela independente de controles */
.r242-hero{border:2px solid #2563eb}.r242-status-row{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.r242-bigcheck{display:inline-flex;align-items:center;gap:8px;font-weight:900}.r242-bigcheck input{width:22px;height:22px;accent-color:#e11d48}@media(max-width:760px){.r242-hero .admin-central-head{display:block}.r242-hero .actions{margin-top:12px}.topbar{align-items:flex-start;flex-direction:column}.topbar nav{display:flex;gap:4px;flex-wrap:wrap}}
