/* O player externo conserva sua tela offline, controles e reconexão. */
.camera-section{min-width:0;max-width:100%;color:var(--ink);margin-block:28px;}
.camera-section>.section-heading{gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:18px;}
.camera-section>.section-heading h2{color:var(--primary);font-family:var(--font-heading,inherit);}
.camera-section>.section-heading .text-link{flex-shrink:0;}
.camera-frame{position:relative;aspect-ratio:16/9;width:100%;min-width:0;overflow:hidden;background:#070b13;border-radius:var(--radius,12px);}
.camera-frame iframe{position:absolute;inset:0;display:block;width:100%;height:100%;border:0;}
.camera-caption{display:flex;align-items:center;justify-content:space-between;gap:12px 20px;flex-wrap:wrap;padding-top:14px;font-size:calc(12px * var(--text-scale,1));}
.camera-caption p{margin:0;line-height:1.65;color:var(--muted);}
.camera-player-link{display:inline-flex;align-items:center;gap:6px;min-height:36px;font-size:inherit;}
.camera-player-link .icon{width:16px;height:16px;}
.camera-page-heading h1 .icon{width:30px;height:30px;color:var(--primary);}
.camera-page{width:100%;max-width:1120px;margin-inline:auto;}
:root[data-site-theme=tema02] .camera-frame{border-radius:5px;}
:root[data-site-theme=tema03] .camera-frame{border:1px solid var(--border);}
:root[data-site-theme=tema04] .camera-section>.section-heading h2{color:var(--ink);}
:root[data-site-theme]:is([data-theme=light][data-blocks-light="1"],[data-theme=dark][data-blocks-dark="1"]) [data-radio-block=camera] .camera-caption p{color:var(--block-muted);}
:root[data-site-theme]:is([data-theme=light][data-blocks-light="1"],[data-theme=dark][data-blocks-dark="1"]) [data-radio-block=camera] .camera-player-link{color:var(--block-text);}
@media(max-width:600px){.camera-section{margin-block:22px;}.camera-section>.section-heading{gap:10px;margin-bottom:14px;}.camera-section>.section-heading .text-link{font-size:12px;}.camera-caption{gap:6px;padding-top:10px;}.camera-frame{border-radius:8px;}}

.camera-home{max-width:960px;margin-inline:auto;}

/* Destaques em colunas independentes. Só é ativado pelo módulo no desktop;
   a árvore e as medidas anteriores permanecem no celular e sem JavaScript. */
.camera-lead-main{min-width:0;}
.camera-lead-side[hidden]{display:none!important;}
@media(min-width:1101px){
 /* Toda a coluna principal continua sem aguardar a enquete ou o Top 10. */
 :root[data-site-theme] .camera-lead.is-desktop .camera-lead-main>*{margin-block:0;min-width:0;}
 :root[data-site-theme] .camera-lead.is-desktop .camera-lead-side>[class$="-ranking-column"]{min-width:0;width:100%;padding:0;border:0;}
 :root[data-site-theme] .camera-lead.is-desktop .camera-lead-side .top-section{margin:0;padding:20px 18px;}
 /* O ranking do Original também cabe na lateral, abaixo da enquete. */
 :root[data-site-theme="tema01"] .camera-lead-side>.original-ranking-column .top-grid{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-auto-flow:row;}
 :root[data-site-theme="tema01"] .camera-lead-side>.original-ranking-column .top-track{grid-template-columns:32px 28px minmax(0,1fr);gap:10px;min-height:56px;border-bottom:1px solid var(--border);}
 :root[data-site-theme="tema01"] .camera-lead-side>.original-ranking-column .top-track:last-child{border:0;}
 :root[data-site-theme="tema01"] .camera-lead-side>.original-ranking-column .cover-art{width:32px;height:32px;}
 :root[data-site-theme="tema01"] .camera-lead-side>.original-ranking-column .rank{font-size:calc(20px * var(--text-scale,1));}
 :root[data-site-theme="tema01"] .camera-lead-side>.original-ranking-column .track-info{overflow-wrap:anywhere;}
 :root[data-site-theme="tema01"] .camera-lead-side>.original-ranking-column .track-info strong{font-size:calc(12px * var(--text-scale,1));}
 :root[data-site-theme="tema01"] .camera-lead-side>.original-ranking-column .track-info span{font-size:calc(11px * var(--text-scale,1));}
 /* A faixa horizontal do Futurista se transforma em cartão vertical na lateral. */
 :root[data-site-theme="tema03"] .camera-lead.is-desktop .camera-lead-side>[data-on-air]{display:flex;flex-direction:column;align-items:center;text-align:center;gap:0;}
 :root[data-site-theme="tema03"] .camera-lead.is-desktop .camera-lead-side [data-on-air]>.live-label{align-self:flex-start;white-space:nowrap;}
 :root[data-site-theme="tema03"] .camera-lead.is-desktop .camera-lead-side [data-on-air]>.host-photo{flex-shrink:0;}
 :root[data-site-theme="tema03"] .camera-lead.is-desktop .camera-lead-side [data-on-air]>.on-air-info{width:100%;min-width:0;overflow-wrap:anywhere;}
 :root[data-site-theme="tema03"] .camera-lead.is-desktop .camera-lead-side [data-on-air]>.on-air-timing{justify-content:center;flex-wrap:wrap;margin:14px 0 18px;}
 :root[data-site-theme="tema03"] .camera-lead.is-desktop .camera-lead-side [data-on-air]>.on-air-next{width:100%;min-width:0;margin:0;padding:14px;}
 :root[data-site-theme="tema03"] .camera-lead.is-desktop .camera-lead-side [data-on-air] .on-air-next strong{font-size:calc(16px * var(--text-scale,1));min-width:0;overflow-wrap:anywhere;}
 :root[data-site-theme="tema03"] .camera-lead.is-desktop .camera-lead-side [data-on-air] .on-air-next strong span{white-space:normal;}
 :root[data-site-theme="tema03"] .future-editorial.home-editorial-flow{grid-template-columns:minmax(0,3fr) minmax(290px,1fr);}
 :root[data-site-theme="tema03"] .home-editorial-flow>.future-news-column{display:flex;flex-direction:column;gap:26px;}
 :root[data-site-theme="tema03"] .home-editorial-flow>.future-news-column>*{margin-block:0;min-width:0;}
 .camera-lead.is-desktop{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start;margin-bottom:32px;}
 .camera-lead.is-desktop.has-sidebar{grid-template-columns:minmax(0,3fr) minmax(260px,1fr);}
 .camera-lead.is-desktop .camera-lead-main{display:flex;flex-direction:column;gap:26px;}
 :root[data-site-theme] .camera-lead.is-desktop .hero-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin:0;}
 .camera-lead.is-desktop .camera-home{width:100%;max-width:none;margin:0;}
 :root[data-site-theme] .camera-lead.is-desktop .camera-lead-main>.ad-wide{width:100%;max-width:100%;min-width:0;box-sizing:border-box;margin:0;flex-wrap:wrap;}
 .camera-lead.is-desktop .camera-home>.section-heading{margin-bottom:16px;}
 .camera-lead.is-desktop .camera-lead-side{display:flex;flex-direction:column;gap:18px;min-width:0;}
 :root[data-site-theme] .camera-lead-side>[data-on-air]{margin:0;min-width:0;width:100%;height:auto;}
 :root[data-site-theme] .camera-lead-side>[data-weather]{min-width:0;padding:20px;border-radius:var(--radius,12px);}
 :root[data-site-theme] .camera-lead-side [data-weather] h3{font-size:calc(19px * var(--text-scale,1));margin-top:10px;overflow-wrap:anywhere;}
 :root[data-site-theme] .camera-lead-side .weather-reading>.icon{width:52px;height:52px;flex-shrink:0;}
 :root[data-site-theme] .camera-lead-side .weather-reading strong span{font-size:18px;}
 :root[data-site-theme] .camera-lead-side .weather-range,:root[data-site-theme] .camera-lead-side .weather-details{display:flex;flex-wrap:wrap;gap:7px 16px;font-size:calc(12px * var(--text-scale,1));}
 :root[data-site-theme] .camera-lead-side>[data-radio-block="poll"]{min-width:0;padding:20px;border:1px solid var(--border);border-radius:var(--radius,12px);background:var(--card-bg);color:var(--ink);}
 :root[data-site-theme] .camera-lead-side>[data-radio-block="poll"]:not([data-poll]) .poll-card{padding:0;border:0;background:transparent;}
 :root[data-site-theme] .camera-lead-side .section-heading{margin:0 0 18px;gap:8px;}
 :root[data-site-theme] .camera-lead-side .section-heading h2{font-size:calc(20px * var(--text-scale,1));line-height:1.35;}
 :root[data-site-theme] .camera-lead-side .section-heading:after{display:none;}
 :root[data-site-theme] .camera-lead-side .poll-options{grid-template-columns:minmax(0,1fr);}
 :root[data-site-theme] .camera-lead-side .poll-options label{min-width:0;}
 :root[data-site-theme] .camera-lead-side [data-poll] .button{width:100%;min-height:44px;}
 :root[data-site-theme] .camera-lead-side [data-poll] .widget-note{margin-top:16px;}
 #conteudo.camera-layout-active .camera-layout-empty{display:none!important;}
 :root[data-site-theme] #conteudo.camera-layout-active .camera-layout-single{grid-template-columns:minmax(0,1fr);}
 :root[data-site-theme] #conteudo.camera-layout-active .camera-layout-single>[class$="-ranking-column"]{padding-left:0;border-left:0;}
 /* Medidas compactas para a lateral, mantendo os mesmos dados e controles. */
 :root[data-site-theme] .camera-lead-side>[data-on-air]{padding:20px 18px 14px;}
 :root[data-site-theme] .camera-lead-side [data-on-air] .host-photo{width:96px;height:96px;}
 :root[data-site-theme] .camera-lead-side [data-on-air] .live-label{margin-bottom:14px;}
 :root[data-site-theme] .camera-lead-side [data-on-air] .on-air-info{margin-top:14px;}
 :root[data-site-theme] .camera-lead-side [data-on-air] h2{font-size:calc(24px * var(--text-scale,1));line-height:1.25;}
 :root[data-site-theme] .camera-lead-side>[data-weather]{display:grid;grid-template-columns:52px minmax(0,1fr);column-gap:12px;padding:18px 20px;}
 :root[data-site-theme] .camera-lead-side [data-weather]>.widget-kicker{grid-column:1/-1;grid-row:1;}
 :root[data-site-theme] .camera-lead-side [data-weather]>h3{grid-column:1/-1;grid-row:2;margin:6px 0 0;}
 :root[data-site-theme] .camera-lead-side [data-weather] .weather-reading{display:contents;}
 :root[data-site-theme] .camera-lead-side [data-weather] .weather-reading>.icon{grid-column:1;grid-row:3/5;align-self:center;margin-top:12px;}
 :root[data-site-theme] .camera-lead-side [data-weather] .weather-reading>strong{grid-column:2;grid-row:3;margin:12px 0 0;font-size:calc(38px * var(--text-scale,1));}
 :root[data-site-theme] .camera-lead-side [data-weather]>p:not(.weather-message){grid-column:2;grid-row:4;margin:5px 0 0;font-size:calc(12px * var(--text-scale,1));}
 :root[data-site-theme] .camera-lead-side [data-weather]>.weather-range{grid-column:1/-1;grid-row:5;margin:14px 0 0;gap:6px 18px;}
 :root[data-site-theme] .camera-lead-side [data-weather] .weather-range span{display:flex;align-items:baseline;gap:4px;}
 :root[data-site-theme] .camera-lead-side [data-weather] .weather-range b{display:inline;margin:0;font-size:calc(13px * var(--text-scale,1));}
 :root[data-site-theme] .camera-lead-side [data-weather]>.weather-details{grid-column:1/-1;grid-row:6;margin-top:8px;font-size:calc(11px * var(--text-scale,1));}
 :root[data-site-theme] .camera-lead-side [data-weather]>.weather-update{grid-column:1/-1;grid-row:7;margin-top:8px;}
 :root[data-site-theme] .camera-lead-side [data-weather]>.weather-status{grid-column:1/-1;grid-row:8;}
 :root[data-site-theme] .camera-lead-side [data-weather]>.weather-source{grid-column:1/-1;grid-row:9;margin-top:4px;}
 :root[data-site-theme] .camera-lead-side [data-weather]>.weather-message{grid-column:1/-1;grid-row:3;margin:12px 0 0;}
 :root[data-site-theme] .camera-lead-side [data-poll] h3{font-size:calc(18px * var(--text-scale,1));line-height:1.4;margin-top:10px;}
 :root[data-site-theme] .camera-lead-side [data-poll] .poll-subtitle{margin:8px 0 14px;}
 :root[data-site-theme] .camera-lead-side [data-poll] .poll-options{gap:8px;margin-bottom:16px;}
 :root[data-site-theme] .camera-lead-side [data-poll] .poll-options label{padding:8px 10px;}
 :root[data-site-theme] .camera-lead-side>.poll-card>.widget-kicker{margin-bottom:12px;}
}
