/**
 * Inter 字体本地化（对齐 iconfont 本地化模式 MYA-400：同域 + 离线可用，替代 fonts.loli.net 外链 CDN）
 * 文件源自 @fontsource/inter@4.5.15，仅保留 woff2（兼容基线 Chrome>=83 / iOS>=14 均支持）。
 * 子集按 11 个语言包裁剪：latin + latin-ext（西/中欧语言）+ greek（el-GR）；中文跟随系统字体，不打包。
 * 600 为过渡字重：存量 font-weight:600 保持现状，待按设计角色归位后可移除对应 4 个文件。
 * 版本锁定 Inter 3.19（与 Figma 一致），不要升级到 @fontsource/inter 5.x（Inter 4.x 字形不同）。
 * woff2 带 ?v=：SWA 对 *.woff2 是一年 immutable 缓存，换版本不换 URL 老设备拿不到新字形。
 * 更新方式：改 @fontsource/inter 版本后重跑生成脚本：node scripts/gen-inter-fonts.cjs。
 */

/* inter-latin-400-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('./inter-latin-400-normal.woff2?v=4.5.15') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* inter-latin-ext-400-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('./inter-latin-ext-400-normal.woff2?v=4.5.15') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* inter-greek-400-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('./inter-greek-400-normal.woff2?v=4.5.15') format('woff2');
  unicode-range: U+0370-03FF;
}

/* inter-latin-500-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('./inter-latin-500-normal.woff2?v=4.5.15') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* inter-latin-ext-500-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('./inter-latin-ext-500-normal.woff2?v=4.5.15') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* inter-greek-500-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('./inter-greek-500-normal.woff2?v=4.5.15') format('woff2');
  unicode-range: U+0370-03FF;
}

/* inter-latin-600-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('./inter-latin-600-normal.woff2?v=4.5.15') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* inter-latin-ext-600-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('./inter-latin-ext-600-normal.woff2?v=4.5.15') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* inter-greek-600-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('./inter-greek-600-normal.woff2?v=4.5.15') format('woff2');
  unicode-range: U+0370-03FF;
}

/* inter-latin-700-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('./inter-latin-700-normal.woff2?v=4.5.15') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* inter-latin-ext-700-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('./inter-latin-ext-700-normal.woff2?v=4.5.15') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* inter-greek-700-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('./inter-greek-700-normal.woff2?v=4.5.15') format('woff2');
  unicode-range: U+0370-03FF;
}
