/* Parchment: weathered paper, walnut ink, old brass, and oxidized teal.
   Dark values remain at each token's fallback to preserve the original palette. */
:root[data-theme="light"] {
    color-scheme: light;
    --theme-text-opacity-floor: 78%;
    --theme-ink-alpha-floor: 0.78;
    --theme-shadow-strength: 0.28;
    --theme-ink-rgb: 47, 43, 36;
    --theme-edge-rgb: 75, 62, 43;
    --theme-ground-rgb: 222, 213, 195;
    --theme-surface-rgb: 233, 225, 209;
    --theme-recess-rgb: 211, 200, 180;
    --theme-hover-rgb: 218, 206, 184;
    --theme-gold-rgb: 118, 85, 32;
    --theme-teal-rgb: 24, 105, 94;
    --theme-danger-rgb: 146, 47, 42;
    --theme-muted-rgb: 100, 90, 74;
    --theme-thought-rgb: 89, 77, 99;
    --defiled-accent-rgb: 155, 43, 40;
    --quest-ending-accent: #922f2a;
    --folly-accent: #765520;
    --folly-accent-hover: #5e4016;
    --folly-text: #2f2b24;
    --folly-muted: #645a4a;
    --folly-thought: #594d63;
    --folly-surface: #e9e1d1;
    --folly-surface-hover: #daceb8;
    --folly-border: rgba(118, 85, 32, 0.22);
    --folly-border-strong: rgba(118, 85, 32, 0.4);
    --app-chrome-background: #ded5c3;
    --app-body-background: linear-gradient(180deg, #e4dccb, #d9cfbc);
}

/* Keep Fluent's adaptive controls on warm surfaces, including portaled dialogs. */
html[data-theme="light"] body {
    --neutral-layer-1: #e9e1d1;
    --neutral-layer-2: #e3dac8;
    --neutral-layer-3: #ded3bf;
    --neutral-layer-4: #d7cab3;
    --fill-color: #e9e1d1;
}

html[data-theme="light"] :focus-visible {
    outline-color: #765520;
}

html[data-theme="light"] body::before,
html[data-theme="light"] body::after {
    opacity: 0.25;
}
