/* 站点中文正文字体 —— Noto Sans SC 的「按站内实际用字蒸馏」子集
 *
 * 背景（2026-10-28）：原先经 @fontsource 引入 4 个字重 × 近百个 unicode-range 分片，
 * 首次打开首页实测要下载 53 个字体文件、约 2.0 MB；CSS 里还有 418 条 @font-face（766 KB）。
 * 现按全站实际用字（约 1,560 个字符：27 页正文 + 源码文案 + llms.txt）重新子集化，
 * 每个字重一个文件，共 4 个文件约 790 KB；字体族名保持不变（Noto Sans SC），
 * 既有 font-family 栈无需改动；缺字回落到下一档系统字体。
 *
 * 更新方式：站内新增生僻字后重跑 scripts/font-subset.py（见脚本注释）。
 */
@font-face {
  font-family: 'Noto Sans SC';
  src: url('/fonts/xgeo-sans-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans SC';
  src: url('/fonts/xgeo-sans-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans SC';
  src: url('/fonts/xgeo-sans-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans SC';
  src: url('/fonts/xgeo-sans-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
