/*
Place the Kaiti (楷体) font files you downloaded from
https://github.com/lxgw/LxgwWenKai/releases/tag/v1.522
into the `static/fonts/` folder. Recommended filenames:

  - static/fonts/LxgwWenKai-Kai.woff2
  - static/fonts/LxgwWenKai-Kai.woff
  - static/fonts/LxgwWenKai-Kai.ttf

This file declares a local @font-face using the family name "KaiTi",
so existing usages like `font-family: KaiTi, STKaiti, 楷体, ...` will pick
the local font automatically.
*/

@font-face {
  font-family: 'LxgwWenKai-Kai';
  src: local('LxgwWenKai-Kai'),
       url('/fonts/LxgwWenKai-Kai.woff2') format('woff2'),
       url('/fonts/LxgwWenKai-Kai.woff') format('woff'),
       url('/fonts/LxgwWenKai-Kai.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'LxgwWenKai-Kai';
  src: local('LxgwWenKai-Kai Bold'),
       url('/fonts/LxgwWenKai-Kai-Bold.woff2') format('woff2'),
       url('/fonts/LxgwWenKai-Kai-Bold.woff') format('woff'),
       url('/fonts/LxgwWenKai-Kai-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Optional: make the font available as an easy-to-use CSS variable */
:root {
  --font-kaiti: 'LxgwWenKai-Kai', 'KaiTi', 'STKaiti', '楷体', serif;
}

/* No global overrides here; components that already reference KaiTi will use the local font. */
