/*
 * Modo noturno: sobrescritas escopadas a html[data-theme="dark"].
 * Grafite sóbrio, divisórias discretas, vermelho com contraste.
 */
html[data-theme="dark"] { color-scheme: dark; --muted-strong: #cfcfd6; --shadow: 0 1px 6px rgba(0, 0, 0, 0.5); }
html[data-theme="dark"] body { background: var(--background); color: var(--text); }
html[data-theme="dark"] .pef-ph { background: #26262a; color: #6a6a72; }
html[data-theme="dark"] .pef-topbar__right { border-left-color: rgba(255, 255, 255, 0.2); }
html[data-theme="dark"] .pef-nav { border-color: var(--border); }
html[data-theme="dark"] .pef-subscribe { background: #f2f2f2; color: #111; }
html[data-theme="dark"] .pef-subscribe:hover { background: var(--accent); color: #fff; }
html[data-theme="dark"] .pef-logo__text { color: #fff; }
html[data-theme="dark"] .pef-search { background: var(--surface); border-color: var(--border); }
html[data-theme="dark"] .pef-search__submit { background: #f2f2f2; color: #111; }
html[data-theme="dark"] .pef-drawer { background: var(--surface); }
html[data-theme="dark"] .pef-dark-card { background: #161619; box-shadow: none; border: 1px solid var(--border); }
html[data-theme="dark"] .pef-dark-card__media { background: #101012; }
html[data-theme="dark"] .pef-box, html[data-theme="dark"] .pef-news { background: var(--surface); box-shadow: none; border: 1px solid var(--border); }
html[data-theme="dark"] .pef-box__title, html[data-theme="dark"] .pef-strip { background: #000; }
html[data-theme="dark"] .pef-cta-bar { background: #000; border: 1px solid var(--border); }
html[data-theme="dark"] .pef-cta-bar:hover { background: var(--accent); color: #fff; }
html[data-theme="dark"] .pef-chip { color: var(--accent); border-color: var(--accent); }
html[data-theme="dark"] .pef-favorites__title, html[data-theme="dark"] .pef-favorites__text { color: var(--accent); }
html[data-theme="dark"] .pef-field input, html[data-theme="dark"] .pef-news input[type="text"], html[data-theme="dark"] .pef-news input[type="email"] { background: var(--background); border-color: #3a3a42; color: var(--text); }
html[data-theme="dark"] .pef-content input[type="text"], html[data-theme="dark"] .pef-content input[type="email"], html[data-theme="dark"] .pef-content input[type="tel"], html[data-theme="dark"] .pef-content input[type="url"],
html[data-theme="dark"] .pef-content select, html[data-theme="dark"] .pef-content textarea, html[data-theme="dark"] .wpcf7 input[type="text"], html[data-theme="dark"] .wpcf7 input[type="email"],
html[data-theme="dark"] .wpcf7 input[type="tel"], html[data-theme="dark"] .wpcf7 input[type="url"], html[data-theme="dark"] .wpcf7 select, html[data-theme="dark"] .wpcf7 textarea,
html[data-theme="dark"] .pef-comments input[type="text"], html[data-theme="dark"] .pef-comments input[type="email"], html[data-theme="dark"] .pef-comments input[type="url"], html[data-theme="dark"] .pef-comments textarea {
	background: var(--surface); border-color: #3a3a42; color: var(--text);
}
html[data-theme="dark"] .pef-news__status.is-success, html[data-theme="dark"] .pef-share__status { color: #6fdc98; }
html[data-theme="dark"] .wpcf7 form.sent .wpcf7-response-output { color: #6fdc98; border-color: #6fdc98; }
html[data-theme="dark"] .pef-content a { color: #ff7d8a; }
html[data-theme="dark"] .pef-content a:hover { color: #ffa3ad; }
html[data-theme="dark"] .pef-content blockquote { border-left-color: var(--accent); }
html[data-theme="dark"] .pef-content .pef-resp { background: var(--surface); }
html[data-theme="dark"] .pef-content .pef-resp__link { background: var(--background); }
html[data-theme="dark"] .pef-content .pef-resp__icon { background: #2a2a30; color: var(--accent); }
html[data-theme="dark"] .pef-content pre, html[data-theme="dark"] .pef-content code { background: var(--surface); }
html[data-theme="dark"] .pef-share__panel { background: var(--surface); border-color: var(--border); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5); }
html[data-theme="dark"] .pef-share__link:hover { background: var(--surface-2); }
html[data-theme="dark"] .pef-authorbox { background: var(--surface); }
html[data-theme="dark"] .pef-ad__box { background: #1b1b1f; }
html[data-theme="dark"] .pef-ad--reserved .pef-ad__box { background: #141417; }
html[data-theme="dark"] .pef-pagination .page-numbers.current { background: #f2f2f2; color: #111; border-color: #f2f2f2; }
html[data-theme="dark"] .pef-btn { background: #f2f2f2; border-color: #f2f2f2; color: #111; }
html[data-theme="dark"] .pef-btn:hover, html[data-theme="dark"] .pef-btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
html[data-theme="dark"] .pef-btn--ghost { background: transparent; color: var(--text); border-color: var(--text); }
html[data-theme="dark"] .pef-footer__top { border-bottom: 1px solid var(--border); }
html[data-theme="dark"] .pef-footer__col-title a { color: #f2f2f2; }
html[data-theme="dark"] .pef-footer__promo-btn { background: #f2f2f2; color: #111 !important; }
html[data-theme="dark"] .pef-footer__promo-btn:hover { background: var(--accent); color: #fff !important; }
html[data-theme="dark"] .pef-news__submit { background: var(--nl-btn, #b50012); }
html[data-theme="dark"] .pef-kicker--dark { color: var(--muted); }
html[data-theme="dark"] .pef-xb__head { border-bottom-color: var(--text); }
html[data-theme="dark"] .pef-follow { border-color: var(--text); }
html[data-theme="dark"] .pef-follow:hover { background: #f2f2f2; color: #111; }
html[data-theme="dark"] .pef-share__toggle:hover, html[data-theme="dark"] .pef-share__toggle[aria-expanded="true"] { background: #f2f2f2; color: #111; }
html[data-theme="dark"] .pef-social__link { background: #f2f2f2; color: #111; }
html[data-theme="dark"] .pef-social__link:hover { background: var(--accent); color: #fff; }
html[data-theme="dark"] .pef-social--footer .pef-social__link { background: none; color: #fff; }
