@font-face {
  font-family: "Yi Sans";
  src: url("/fonts/yi-sans.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Yi Serif";
  src: url("/fonts/yi-serif.woff2") format("woff2");
  font-display: swap;
}
:root {
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4.5rem;
  --font-sans: "Yi Sans", "Noto Sans SC", sans-serif;
  --font-serif: "Yi Serif", "Songti SC", serif;
  --font-mono: "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --paper: #eef2f5;
  --paper-2: #f8fafb;
  --ink: #13202c;
  --muted: #647382;
  --rule: #bfccd6;
  --accent: #174f91;
  --accent-2: #a56a14;
  --positive: #a51f2c;
  --negative: #116b67;
  --shadow: rgba(15, 31, 47, 0.12);
  --radius: 2px;
  color-scheme: light;
}
:root[data-theme="xuanshu"] {
  --paper: #eef2f5;
  --paper-2: #f8fafb;
  --ink: #13202c;
  --muted: #647382;
  --rule: #b9c7d2;
  --accent: #174f91;
  --accent-2: #9b6418;
  --positive: #b11e2f;
  --negative: #087267;
  --shadow: rgba(15, 31, 47, 0.12);
  --radius: 2px;
}
:root[data-theme="tianji"] {
  --paper: #101728;
  --paper-2: #171f32;
  --ink: #f0e9d8;
  --muted: #a7adbd;
  --rule: #3b455b;
  --accent: #d0a748;
  --accent-2: #8ea8dd;
  --positive: #f09a89;
  --negative: #80cfc1;
  --shadow: rgba(0, 0, 0, 0.36);
  --radius: 18px;
  color-scheme: dark;
}
:root[data-theme="guizang"] {
  --paper: #ece8df;
  --paper-2: #f4f0e8;
  --ink: #22231f;
  --muted: #6e6d64;
  --rule: #b8afa1;
  --accent: #9d2b23;
  --accent-2: #334e46;
  --positive: #a5221c;
  --negative: #315e54;
  --shadow: rgba(62, 43, 30, 0.14);
  --radius: 0;
  color-scheme: light;
}
@supports (color: oklch(60% 0.1 200)) {
  :root[data-theme="xuanshu"] {
    --paper: oklch(95% 0.012 230);
    --paper-2: oklch(98% 0.006 230);
    --ink: oklch(24% 0.035 240);
    --accent: oklch(44% 0.13 255);
  }
  :root[data-theme="tianji"] {
    --paper: oklch(20% 0.035 270);
    --paper-2: oklch(25% 0.04 270);
    --ink: oklch(93% 0.025 85);
    --accent: oklch(74% 0.12 85);
  }
  :root[data-theme="guizang"] {
    --paper: oklch(92% 0.018 82);
    --paper-2: oklch(96% 0.015 82);
    --ink: oklch(26% 0.012 90);
    --accent: oklch(47% 0.16 30);
  }
}
