/*
 * 本地字体声明（内网离线版）
 * ---------------------------------------------------------------
 * 原方案通过 Google Fonts 公网 CDN 加载 Inter + Noto Sans SC，
 * 内网/离线环境下不可达会导致字体回退。此文件将 Inter（西文/UI 字体）
 * 6 个字重本地化；中文（Noto Sans SC）体积过大（全量 ~52MB），
 * 改为回退到操作系统自带的中文字体，兼顾观感与产物体积。
 *
 * 字体栈顺序见 index.html 中 tailwind.config.fontFamily.sans。
 */

/* ===== Inter（西文 / 数字 / UI）本地 @font-face ===== */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('./Inter-300.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./Inter-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./Inter-500.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./Inter-600.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./Inter-700.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('./Inter-800.ttf') format('truetype');
}

/*
 * ===== 中文回退说明 =====
 * 不在此内嵌 Noto Sans SC（体积原因）。若目标内网机器已本地安装
 * Noto Sans SC / 思源黑体，浏览器会自动命中同名系统字体；否则按
 * index.html 字体栈继续回退到 PingFang SC / Microsoft YaHei 等系统字体。
 */
