/* 自托管字体 —— 由 _tools/ 下的脚本生成，勿手改
   ---------------------------------------------------------------
   为什么自托管：fonts.googleapis.com 和 fonts.gstatic.com 在国内被墙，
   访客没梯子的话字体全部掉回系统兜底，中式排版直接垮掉。

   三款字体都已按「页面实际用到的字」裁成子集：
     马善政毛笔楷书  5.59 MB → 355 KB   (_tools/subset_mashanzheng.py)
     霞鹜文楷        1.81 MB → 199 KB   (合并分片后重裁)
     思源宋体 ×3     4.31 MB → 144 KB   (_tools/subset_notoserif.py)

   各字重实际用字由浏览器侧统计（_tools/chars_by_font.js）得出，
   所以字重 300 只保留 12 KB —— 它全站只用于大数字。
   --------------------------------------------------------------- */

/* 马善政毛笔楷书 —— 站名 / 章节名 / 序号 / 联语 / 印章 */
@font-face {
  font-family: 'Ma Shan Zheng';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("mashanzheng-subset.woff2") format('woff2');
}

/* 霞鹜文楷 —— 导语 / 小节标题 / 题签 */
@font-face {
  font-family: 'LXGW WenKai';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("lxgwwenkai-400-subset.woff2") format('woff2');
}

/* 思源宋体 —— 正文 / 数据 / 图注 */
@font-face {
  font-family: 'Noto Serif SC';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("notoserifsc-300-subset.woff2") format('woff2');
}
@font-face {
  font-family: 'Noto Serif SC';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("notoserifsc-400-subset.woff2") format('woff2');
}
@font-face {
  font-family: 'Noto Serif SC';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("notoserifsc-500-subset.woff2") format('woff2');
}
