/* ============================================================
   fonts.css — 自托管字体（替换原 Google Fonts）
   国内直连 fonts.googleapis.com 不可用，所以把三种手写体全部
   下载到本地、按站内用字裁剪成子集后自托管，离线/慢网也能显示。

   字体与授权：
     Ma Shan Zheng（马善政毛笔楷书）标题用 —— SIL OFL 1.1
     Zhi Mang Xing（志莽行书）正文手写用 —— SIL OFL 1.1
     Caveat（英文手写）—— SIL OFL 1.1
   子集只含站内实际用到的字；万一出现未收录的字，会回退到系统
   楷体（Kaiti SC / KaiTi），不影响阅读，也不会出现豆腐块。
   font-display: swap —— 字体没下载完时先用回退字显示，避免白屏。
   ============================================================ */

@font-face {
  font-family: 'Ma Shan Zheng';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/mashanzheng-subset.woff2') format('woff2');
}

@font-face {
  font-family: 'Zhi Mang Xing';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/zhimangxing-subset.woff2') format('woff2');
}

@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/caveat-subset.woff2') format('woff2');
}
