/* Mode sombre : noir profond, selon le système ou forcé par la bascule (html[data-theme]). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0b0b0c; --surface: #141415; --sand: #1d1c1b; --line: #262524; --line-strong: #3a3836;
    --text: #efebe4; --muted: #a39d93; --accent: #d9bf94; --accent-ink: #141415;
    --invert-bg: #efebe4; --invert-text: #0b0b0c; --banner-bg: #171615; --banner-text: #bfb6a6;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 16px 40px rgb(0 0 0 / 0.35);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #0b0b0c; --surface: #141415; --sand: #1d1c1b; --line: #262524; --line-strong: #3a3836;
  --text: #efebe4; --muted: #a39d93; --accent: #d9bf94; --accent-ink: #141415;
  --invert-bg: #efebe4; --invert-text: #0b0b0c; --banner-bg: #171615; --banner-text: #bfb6a6;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 16px 40px rgb(0 0 0 / 0.35);
  color-scheme: dark;
}
