/* ===========================================================
   思源宋体（Noto Serif SC）子集版
   -----------------------------------------------------------
   为什么要自带字体：
     手机（尤其鸿蒙、多数安卓）系统里没有中文衬线字体，
     只靠 font-family 列表会一路回落到黑体，和电脑上看到的宋体差很远。

   体积：
     用 GB2312 一级常用字 3755 个 + ASCII 做子集，
     每个字重约 680KB。原始完整字库是 1.5MB/字重。

   注意：
     以后如果文案里出现生僻字（超出这 3755 个常用字 + 现有文案），
     那个字会回落到系统字体，和周围的字不一致。
     真遇到了就重新跑一次 scripts/build-font.mjs 再生成。
   =========================================================== */

@font-face {
  font-family: 'Noto Serif SC';
  font-style: normal;
  font-weight: 400;
  /* swap：先用系统字体显示，字体到了再替换，避免白屏等字 */
  font-display: swap;
  src: url('./serif-400.min.woff2') format('woff2');
}

@font-face {
  font-family: 'Noto Serif SC';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./serif-600.min.woff2') format('woff2');
}
