/* Portal Editorial Tech — modo noturno: ajustes que não cabem só em variáveis. */
:root[data-theme="dark"]{
	color-scheme:dark;
	--sponsor-bg:#1c2333;
	--nophoto-bg:#222733;
	--nophoto-fg:#5f6779;
	--prefix:#ff8a5c;
	--chip-bg:#262b37;
}
:root[data-theme="dark"] body{background:var(--background);color:var(--text)}
/* logos por modo */
:root[data-theme="dark"] .pet-logo__img--light:not(.pet-logo__img--both){display:none}
:root[data-theme="dark"] .pet-logo__img--dark{display:block}
:root[data-theme="dark"] .pet-themetoggle__moon{display:none}
:root[data-theme="dark"] .pet-themetoggle__sun{display:inline-flex}
/* faixas coloridas */
:root[data-theme="dark"] .pet-section--band{background:var(--pet-sec-bg-dark,var(--surface-blue))}
:root[data-theme="dark"] .pet-cathero__panel{background:var(--pet-hero-panel-dark,var(--surface-blue))}
:root[data-theme="dark"] .pet-section-title__dot{background:var(--pet-dot,var(--primary))}
:root[data-theme="dark"] .pet-section-title__text{border-bottom-color:var(--primary)}
/* imagens e cartões */
:root[data-theme="dark"] .pet-media img,:root[data-theme="dark"] .pet-columnist__img,:root[data-theme="dark"] .pet-offer__img img{filter:brightness(.92)}
:root[data-theme="dark"] .pet-offer__img{background:#fff}
:root[data-theme="dark"] .pet-offer__img img{filter:none}
:root[data-theme="dark"] .pet-coupon__logo{background:#fff}
:root[data-theme="dark"] .pet-coupon__code{background:var(--surface-blue)}
:root[data-theme="dark"] .pet-card--sponsored .pet-card__title{border-bottom-color:rgba(255,255,255,.14)}
:root[data-theme="dark"] .pet-arrow:disabled{background:#2b3a66}
:root[data-theme="dark"] .pet-dot{background:#2c3342}
:root[data-theme="dark"] .pet-dot.is-active{background:var(--primary)}
:root[data-theme="dark"] .pet-tool{background:var(--background)}
:root[data-theme="dark"] .pet-tool--gift{background:var(--surface-blue)}
:root[data-theme="dark"] .pet-tool:hover{background:var(--surface-blue)}
:root[data-theme="dark"] .pet-tag:hover{background:var(--primary);color:#fff}
:root[data-theme="dark"] .entry-content pre{background:#07090e;border:1px solid var(--border)}
:root[data-theme="dark"] .entry-content code{background:#222733}
:root[data-theme="dark"] .pet-chip--yellow{background:#f2c200;color:#111}
:root[data-theme="dark"] .pet-pagination .page-numbers{background:var(--card-bg)}
:root[data-theme="dark"] .pet-iconbtn:hover{background:rgba(255,255,255,.12)}
:root[data-theme="dark"] .pet-searchpanel{background:var(--header-bg)}
:root[data-theme="dark"] .pet-searchform__input{background:#0f1218;color:var(--text);border-color:var(--border)}
:root[data-theme="dark"] .pet-share__menu,:root[data-theme="dark"] .pet-card-pop{box-shadow:0 14px 32px rgba(0,0,0,.6)}
:root[data-theme="dark"] .pet-topbar__brand{color:var(--link)}
:root[data-theme="dark"] .pet-topbar.has-border{border-bottom-color:var(--border)}
:root[data-theme="dark"] .pet-mainbar{box-shadow:0 2px 10px rgba(0,0,0,.5)}
:root[data-theme="dark"] .pet-nl{background:var(--card-bg)}
:root[data-theme="dark"] .pet-cta{background:linear-gradient(135deg,#1a3bb8,#0a1544)}
:root[data-theme="dark"] .pet-footer{border-top:1px solid var(--border)}
:root[data-theme="dark"] .pet-subscribe{box-shadow:none}
:root[data-theme="dark"] .pet-toast{background:#e8ecf5;color:#0d0f14}
