/*
  自托管字体（2026-07-26 起，替掉原来五条 jsdelivr <link>）。

  以前四个字体全走 cdn.jsdelivr.net，别人的服务器一抽风或者手机没网，
  字就掉回系统宋体。现在全在自己家里，sw.js precache 之后彻底离线可用。

  · Cormorant Garamond / Pinyon Script：拉丁全量，四个文件合起来 106KB，没子集，不需要。
  · Noto Serif SC：源字体 24MB，子集成 GB2312 6763 汉字 + 页面实际用字 + 常用标点
    = 7220 字形、每个字重 1.2MB。**故意不写 unicode-range**——写了就得精确列举
    几千个离散区间，而且缺字时浏览器不会回退。现在的行为是：子集里没有的生僻字
    直接落 font-family 里的 Songti SC / SimSun，同为宋体，几乎看不出接缝。

  重打子集：cd ~/lan/Tidal_Echo/tools/fontwork && ./venv/bin/python build.py static
  改动这里之后必须 bump sw.js 的 CACHE 版本号，否则她手机 PWA 吃旧缓存。
*/

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/cormorant-garamond-400.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/cormorant-garamond-500.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/cormorant-garamond-400-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Pinyon Script";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/pinyon-script-400.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Serif SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/noto-serif-sc-400.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Serif SC";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/noto-serif-sc-500.woff2") format("woff2");
}
