/* AntCentre tokens. Latin serif is Newsreader (OFL). Chinese serif is the Noto Serif SC subset already in the repo (OFL). */

:root {
  --ac-bg: #f5f4ed;
  --ac-paper: #fffaf3;
  --ac-text: #141413;
  --ac-muted: #5e5d59;
  --ac-line: #e4e1d6;
  --ac-accent: #c96442;
  --ac-accent-ink: #fffaf3;
  --ac-glow: #efe6d6;
  --ac-headwind: #e5e8eb;
  --ac-idea: #e5eee4;
  --ac-coordinate: #f3e4d8;
  --ac-serif: Newsreader, "Noto Serif SC", Georgia, "Songti SC", serif;
  --ac-sans: ui-sans-serif, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --ac-mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --ac-ease: cubic-bezier(.2, .8, .2, 1);
  --ac-fast: 150ms;
  --ac-mid: 250ms;
  --ac-slow: 500ms;
  --ac-shadow: 0 10px 30px rgba(20, 20, 19, .08);
  color-scheme: light;
}

html[data-theme="dark"] {
  --ac-bg: #1c1a16;
  --ac-paper: #26231e;
  --ac-text: #f3efe4;
  --ac-muted: #c4bdb0;
  --ac-line: #3a342c;
  --ac-accent: #e08a68;
  --ac-accent-ink: #1c1a16;
  --ac-glow: #3a3228;
  --ac-headwind: #2c3134;
  --ac-idea: #2a332c;
  --ac-coordinate: #3a3028;
  --ac-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    --ac-bg: #1c1a16;
    --ac-paper: #26231e;
    --ac-text: #f3efe4;
    --ac-muted: #c4bdb0;
    --ac-line: #3a342c;
    --ac-accent: #e08a68;
    --ac-accent-ink: #1c1a16;
    --ac-glow: #3a3228;
    --ac-headwind: #2c3134;
    --ac-idea: #2a332c;
    --ac-coordinate: #3a3028;
    --ac-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
