/*
 * 衬线展示体(Noto Serif SC,自托管单文件 GB2312 子集:400/700/900)。
 * 与 fonts.css(脚本生成,勿手改)分文件维护:本文件手写,供衬线展示场景
 * 使用——消费方是 var(--site-font-serif-display)(demo 组件大标题等);
 * 注意 --site-font-heading 是 sans 栈(Poppins/Noto Sans SC),与本文件无关。
 * 正文仍用 Noto Sans SC。700/900 为重字重预留:当前消费点均显式
 * font-weight: 400 防伪粗,派生项目重字重标题可 font-weight: 700/900 直接
 * 命中。字重源自 google/fonts 官方仓 variable font 实例化 + 子集化
 * (字符域与 400 完全一致,7403 字);授权见 fonts/noto-serif-sc/OFL.txt。
 */
@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: 700;
  font-display: swap;
  src: url(../../fonts/noto-serif-sc/700.woff2) format('woff2');
}
@font-face {
  font-family: 'Noto Serif SC';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../../fonts/noto-serif-sc/900.woff2) format('woff2');
}

/* icomoon 图标字体(2026-10-20 从 layout.css 挪回独立 css):fonts 库整体
   preprocess: false 后不进聚合器——聚合 CSS 会把 url() 重写为根绝对路径
   (不感知 /procurement base_path),前缀形态下 woff 裸路径 404;不聚合的
   css 由 HTML link 带前缀直出,相对 url 随之带前缀。2026-10-12 坑 33 的
   「聚合丢 @font-face」前提同步消失。 */
@font-face {
  font-family: 'coc-icomoon';
  src: url(../../fonts/icomoon.woff) format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: block; /* 图标字形缺失时短隐防豆腐 */
}
