/*
 * 防闪烁基础样式 — 必须在 style.css 之前加载
 * 硬编码背景色与 color-scheme，在 CSS 变量就绪前即生效（方案 A：中性石墨纸白 / 纯正石墨黑）
 */
html, body { background-color: #f6f6f7; color: #111315; }
html { color-scheme: light; }
@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]), html:not([data-theme="light"]) body {
        background-color: #0d0e11;
        color: #eceef2;
        color-scheme: dark;
    }
}
html[data-theme="dark"], html[data-theme="dark"] body { background-color: #0d0e11; color: #eceef2; }
html[data-theme="dark"] { color-scheme: dark; }
