html{color-scheme:light}html[data-theme="dark"]{color-scheme:dark;--fc-bg:#0f141b;--fc-surface:#161d27;--fc-text:#edf2f7;--fc-muted:#a8b3c2;--fc-border:#2a3544;--fc-accent:#2fd184;--fc-accent-dark:#7be5ae;--fc-soft:#123524;--fc-warning:#332a17;--fc-shadow:0 12px 32px rgba(0,0,0,.28)}
.header-actions{display:flex;align-items:center;gap:8px}.theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid var(--fc-border);border-radius:11px;background:var(--fc-surface);color:var(--fc-text);cursor:pointer;font:inherit}.theme-toggle:hover{border-color:var(--fc-accent)}.theme-toggle-moon{display:inline}.theme-toggle-sun{display:none}html[data-theme="dark"] .theme-toggle-moon{display:none}html[data-theme="dark"] .theme-toggle-sun{display:inline}
html[data-theme="dark"] body{background:var(--fc-bg);color:var(--fc-text)}html[data-theme="dark"] .site-header{background:rgba(15,20,27,.94);border-color:var(--fc-border)}html[data-theme="dark"] .brand,html[data-theme="dark"] .main-nav a{color:var(--fc-text)}html[data-theme="dark"] .trust-card,html[data-theme="dark"] .content-card,html[data-theme="dark"] .article-card,html[data-theme="dark"] .fact,html[data-theme="dark"] .entry-content,html[data-theme="dark"] .sidebar-box,html[data-theme="dark"] .score-card,html[data-theme="dark"] .site-footer,html[data-theme="dark"] .fc-button{background:var(--fc-surface);color:var(--fc-text);border-color:var(--fc-border)}html[data-theme="dark"] .fc-button.primary{background:var(--fc-accent);border-color:var(--fc-accent);color:#061d13}html[data-theme="dark"] .notice{background:var(--fc-warning);border-color:#5b4923}html[data-theme="dark"] input,html[data-theme="dark"] textarea,html[data-theme="dark"] select{background:#111821;color:var(--fc-text);border-color:var(--fc-border)}html[data-theme="dark"] code{background:#111821;color:#d9e2ec}html[data-theme="dark"] table th,html[data-theme="dark"] table td{border-color:var(--fc-border)}html[data-theme="dark"] .tag-list span,html[data-theme="dark"] .eyebrow{background:var(--fc-soft);color:var(--fc-accent-dark)}html[data-theme="dark"] .site-footer a,html[data-theme="dark"] a{color:var(--fc-accent-dark)}html[data-theme="dark"] .main-nav a,html[data-theme="dark"] .brand{color:var(--fc-text)}
@media(max-width:850px){.header-actions{margin-left:auto}.theme-toggle,.nav-toggle{flex:0 0 auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.theme-toggle{transition:none}}
