/* Deliberately uses selectors and units supported by older smart TV browsers. */
.tv.tv-fixed{display:block!important;position:relative!important;padding:0!important;overflow:hidden!important;font-family:'DM Sans',Arial,Helvetica,sans-serif!important}
.tv-fixed>.hero,.tv-fixed>.side,.tv-fixed>.screen-footer,.tv-fixed>.band-logo,.tv-fixed .weather-row,.tv-fixed .weather,.tv-fixed #clock,.tv-fixed .news{position:absolute!important;box-sizing:border-box!important;margin:0!important;min-width:0!important;min-height:0!important;max-width:none!important;right:auto!important;bottom:auto!important;transform:none!important}
.tv-fixed .hero,.tv-fixed .side{overflow:hidden!important;border-radius:0!important}
.tv-fixed .hero-copy{padding:18px 24px;font-family:'DM Sans',Arial,sans-serif}.tv-fixed .hero-copy h1{font:700 30px/1.15 'Manrope','DM Sans',Arial,sans-serif}.tv-fixed .hero-copy p{font:18px/1.4 'DM Sans',Arial,sans-serif}
.tv-fixed .hero-media,.tv-fixed .creative,.tv-fixed .creative-media{position:relative!important;display:block!important;width:100%!important;height:100%!important;padding:0!important;border-radius:0!important;background:#0c1725!important}
.tv-fixed .hero-media img,.tv-fixed .hero-media video,.tv-fixed .hero-media iframe,.tv-fixed .creative-media img,.tv-fixed .creative-media video{position:absolute!important;left:0!important;top:0!important;display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;border:0!important;background:#0c1725!important}
.tv-fixed .screen-footer{display:block!important;padding:0!important;background:var(--band-background,#087fa9)!important;background:linear-gradient(180deg,var(--band-background,#087fa9),var(--band-background2,var(--band-background,#087fa9)))!important;color:var(--band-text,#fff)!important;overflow:hidden!important}
.tv-fixed .weather-row{display:block!important;padding:0!important;border:0!important}
.tv-fixed .weather{display:flex!important;flex-wrap:wrap!important;align-content:center!important;align-items:center!important;justify-content:center!important;padding:0!important;border:0!important;border-left:1px solid rgba(255,255,255,.35)!important;border-radius:0!important;background:transparent!important;color:inherit!important;overflow:hidden!important;gap:0!important}
.tv-fixed .weather-title{display:flex!important;align-items:center!important;white-space:nowrap!important;font-weight:700!important;color:inherit!important;margin-right:8px!important;gap:4px!important}.tv-fixed .weather-icon{color:var(--band-icon,#fff)!important}
.tv-fixed .weather-title small{display:none!important}.tv-fixed .weather-icon{color:var(--band-icon,#fff)!important}.tv-fixed .weather-city,.tv-fixed #news-source{color:var(--band-text,#fff)!important;opacity:.82}
.tv-fixed .temperature{display:block!important;font-weight:800!important;color:inherit!important;line-height:1.3!important}
.tv-fixed #weather-status{display:flex!important;flex:0 0 100%!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;width:100%!important;text-align:center!important;color:inherit!important;font-weight:700!important;line-height:1.35!important;white-space:nowrap!important}
.tv-fixed #weather-status span,.tv-fixed #weather-status strong{display:block!important;line-height:1.35!important}
.tv-fixed #clock{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;padding:0!important;border-radius:0!important;border-left:1px solid rgba(255,255,255,.35)!important;background:transparent!important;color:inherit!important;font-family:Arial,sans-serif!important;font-weight:800!important;line-height:1.1!important;white-space:nowrap!important}
.tv-fixed #clock[data-date]::after{content:attr(data-date)!important;display:block!important;font-size:12px!important;font-size:1vw!important;line-height:1.5!important;font-weight:500!important}
.tv-fixed .news{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:0!important;border-radius:0!important;background:transparent!important;color:inherit!important;padding:0!important}
.tv-fixed .news-tag{color:inherit!important;font-weight:800!important;margin-bottom:5px!important}
.tv-fixed .news-text{flex:none!important;width:100%!important;text-align:left!important}
.tv-fixed .news-text strong{font-family:Arial,sans-serif!important;font-weight:700!important;line-height:1.2!important;white-space:normal!important;color:inherit!important;display:block!important;overflow:hidden!important;overflow-wrap:break-word!important}
.tv-fixed #news-source{position:fixed!important;right:1.4vw!important;bottom:.3vh!important;top:auto!important;left:auto!important;max-width:12vw!important;text-align:center!important;color:inherit!important;line-height:1.2!important}
.tv-fixed .band-logo{display:flex!important;align-items:center!important;justify-content:center!important;padding:1vw!important;overflow:hidden!important;background:#fff!important;border-radius:0!important;z-index:2}
.tv-fixed .band-logo img{width:100%!important;height:100%!important;object-fit:contain!important}
.tv-fixed[data-footer-tone=light] .screen-footer,.tv-fixed[data-layout=separated] .screen-footer{background:var(--band-background,#f5f8fb)!important;color:var(--band-text,#152c45)!important}
.tv-fixed[data-layout=separated] .hero,.tv-fixed[data-layout=separated] .side,.tv-fixed[data-layout=separated] .weather,.tv-fixed[data-layout=separated] #clock,.tv-fixed[data-layout=separated] .news{border-radius:10px!important}
.tv-fixed [hidden]{display:none!important}

.tv-fixed .weather-title small.weather-city{display:block!important;line-height:1.05}.tv-fixed .news #news-source{position:static!important;max-width:100%!important;line-height:1.1!important;text-align:left!important;font-size:.7vw!important}


.tv-fixed #side-media>.side-progress{position:absolute!important;z-index:8!important;left:0!important;bottom:0!important;width:100%!important;height:5px!important;background:rgba(255,255,255,.24)!important;overflow:hidden!important}
.tv-fixed #side-media>.side-progress:after{content:""!important;display:block!important;width:0!important;height:100%!important;background:var(--band-icon,#f2c978)!important;animation:side-progress var(--side-duration,15s) linear forwards!important}
@keyframes side-progress{to{width:100%}}
.tv-fixed:not([data-canvas]) #clock .clock-date{display:none!important}

/* ===== Modelo "Mídia Indoor v4" — TV deitada (canvas fixo 1920×1080, medidas em px do canvas) ===== */
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait){--line:rgba(255,255,255,.09);background:linear-gradient(160deg,var(--bg-2,#09252e),var(--bg,#05151a) 60%)!important;color:var(--band-text,#f4f1ea)!important}
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait),.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) *{font-family:Manrope,system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important}
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) .hero,.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) .side,.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) .hero-media,.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) .creative,.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) .creative-media{background:var(--slide-bg,#081f26)!important}
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) .side::after{content:"";position:absolute;left:0;top:0;bottom:0;width:1px;background:var(--line);z-index:6;pointer-events:none}
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) .screen-footer{background:linear-gradient(180deg,var(--band-background,#09232b),var(--band-background2,#06161c))!important;color:var(--band-text,#f4f1ea)!important}
/* logo: sempre centralizado numa área útil de 260×100; fundo conforme o arquivo (ver brand-bands.js) */
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) .band-logo{display:-webkit-flex!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;background:#fff!important}
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) .band-logo img{width:auto!important;height:auto!important;max-width:260px!important;max-height:100px!important;object-fit:contain!important;margin:0!important}
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) .band-logo .band-logo-name{height:auto!important;padding:0 32px!important;font-size:28px!important;line-height:1.15!important;font-weight:800!important;letter-spacing:-.01em!important;color:var(--band-text,#f4f1ea)!important;-webkit-line-clamp:2}
/* relógio: mesmo fundo da barra, tudo branco */
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) #clock{font-size:72px!important;font-weight:800!important;letter-spacing:-.04em!important;line-height:1!important;color:var(--band-text,#f4f1ea)!important;border-left:1px solid var(--line)!important;gap:8px!important;font-variant-numeric:tabular-nums}
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) #clock[data-date]::after{content:none!important;display:none!important}
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) #clock .clock-time{display:block!important;font-size:72px!important;font-weight:800!important;letter-spacing:-.04em!important;line-height:1!important;color:var(--band-text,#f4f1ea)!important;font-variant-numeric:tabular-nums}
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) #clock .clock-date{display:block!important;margin-top:8px!important;font-size:21px!important;font-weight:600!important;letter-spacing:.01em!important;line-height:1.1!important;color:var(--band-text,#f4f1ea)!important;white-space:nowrap}
/* notícias: rótulo e fonte na mesma linha; manchete em até 2 linhas, entra por baixo e sai por cima */
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) .news{padding:0 44px!important;border-left:1px solid var(--line)!important;gap:8px!important;align-items:flex-start!important;justify-content:center!important;color:var(--band-text,#f4f1ea)!important}
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) .news-head{display:-webkit-flex;display:flex;align-items:center;gap:10px;white-space:nowrap;max-width:100%}
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) .news-dot{display:block;width:9px;height:9px;border-radius:50%;background:var(--band-icon,var(--gold,#d6b46e));flex:none}
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) .news-tag{font-size:18px!important;font-weight:800!important;letter-spacing:.2em!important;text-transform:uppercase;color:var(--band-icon,var(--gold-2,#f1dcaa))!important;margin:0!important}
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) .news #news-source{position:static!important;font-size:18px!important;font-weight:600!important;letter-spacing:.06em!important;color:var(--band-text,#f4f1ea)!important;opacity:.7!important;max-width:none!important;line-height:1.2!important;overflow:hidden;text-overflow:ellipsis}
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) .news-text{position:relative!important;flex:none!important;height:76px;width:100%!important;overflow:hidden}
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) .news-text strong,.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) .news-text .news-out{position:absolute!important;left:0;top:0;right:0;bottom:0;display:flex!important;align-items:center;max-height:76px;overflow:hidden!important;font-size:28px!important;line-height:1.05!important;font-weight:600!important;color:var(--band-text,#f4f1ea)!important;overflow-wrap:anywhere}
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) .news-text .news-in{animation:news-in .8s cubic-bezier(.22,.8,.24,1) both}
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) .news-text .news-out{animation:news-out .8s cubic-bezier(.22,.8,.24,1) forwards}
@keyframes news-in{from{transform:translateY(100%);opacity:0}to{transform:none;opacity:1}}
@keyframes news-out{from{transform:none;opacity:1}to{transform:translateY(-100%);opacity:0}}
/* clima (523 px, a largura da lateral 9:16): ícone | temperatura | filete | cidade / condição / amanhã */
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) .weather{display:-webkit-flex!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:center!important;gap:14px!important;padding:0 28px!important;border-left:1px solid var(--line)!important;overflow:hidden!important;color:var(--band-text,#f4f1ea)!important}
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) #weather-icon{display:block;flex:none;font-size:58px!important;line-height:0!important;color:var(--band-icon,#f4f1ea)!important}
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) #weather-icon svg{display:block;width:58px;height:58px}
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) #weather-temp{display:block!important;flex:none;font-size:60px!important;font-weight:800!important;letter-spacing:-.04em!important;line-height:1!important;color:var(--band-text,#f4f1ea)!important;white-space:nowrap;font-variant-numeric:tabular-nums}
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) #weather-temp sup{font-size:22px;font-weight:700;vertical-align:top;margin-left:2px;position:relative;top:5px;color:rgba(244,241,234,.7);letter-spacing:0}
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) .weather-info{display:-webkit-flex!important;display:flex!important;flex-direction:column!important;gap:4px!important;flex:1 1 0!important;min-width:0!important;padding-left:16px!important;border-left:1px solid var(--line)!important;position:static!important}
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) #weather-city{display:block!important;font-size:18px!important;line-height:1.2!important;font-weight:800!important;letter-spacing:.14em!important;text-transform:uppercase;color:var(--band-icon,var(--gold,#d6b46e))!important;opacity:1!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0!important}
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) #weather-status{display:-webkit-flex!important;display:flex!important;flex:none!important;align-self:flex-start!important;justify-self:auto!important;grid-column:auto!important;grid-row:auto!important;flex-direction:column!important;align-items:flex-start!important;width:auto!important;max-width:100%;text-align:left!important;gap:4px!important;line-height:1.2!important;white-space:normal!important}
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) #weather-status .forecast-value{display:block!important;max-width:100%;text-align:left!important;white-space:nowrap!important;overflow:hidden;text-overflow:clip}
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) #weather-status .forecast-value:nth-child(1){font-size:26px;line-height:1.2!important;font-weight:700!important;color:var(--band-text,#f4f1ea)}
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) #weather-status .forecast-value:nth-child(1).wrap{white-space:normal!important;line-height:1.1!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) #weather-status .forecast-value:nth-child(2){font-size:20px!important;line-height:1.2!important;font-weight:500!important;color:var(--band-text,#f4f1ea);opacity:.75;font-variant-numeric:tabular-nums}
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) #weather-status .weather-credit{display:none!important}
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) #side-media>.side-progress{height:4px!important;background:rgba(255,255,255,.08)!important}
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) #side-media>.side-progress:after{background:linear-gradient(90deg,var(--gold,#d6b46e),var(--gold,#d6b46e))!important}
/* barras de progresso do conteúdo principal e da lateral: mesma espessura e mesmas cores (antes a do cartão vinha da letra e arredondava diferente) */
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) .motion-card-layout .mc-progress{height:4px!important;background:rgba(255,255,255,.08)!important}
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) .motion-card-layout .mc-progress b{background:var(--card-accent,var(--gold,#d6b46e))!important}
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) #side-media>.side-progress:after{background:var(--card-accent,var(--gold,#d6b46e))!important}

/* cidade do clima: bolinha dourada redonda (igual à de NOTÍCIAS), centrada na altura das maiúsculas, alinhada à esquerda da condição */
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) #weather-city:not(:empty)::before{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--band-icon,var(--gold,#d6b46e));margin:0 9px 0 0;vertical-align:.14em}
/* TV: mesma regra da prévia — condição e "Amanhã" alinhados à esquerda, na largura toda do bloco. */
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) #weather-status{align-self:stretch!important;width:100%!important}
/* A regra de ocultação precisa vencer os display:flex com !important acima em TVs sem clima/notícias. */
.tv.tv-fixed[data-canvas][data-layout=integrated]:not(.tv-portrait) .screen-footer [hidden]{display:none!important}

.tv.tv-fixed .news-text strong{white-space:normal!important;text-overflow:clip!important;-webkit-line-clamp:unset!important;}
