/*
 * iModel AI — fonts.css
 * 本地字体声明，字体文件放在 assets/fonts/ 目录下
 *
 * 字体文件下载地址（免费可商用）：
 *
 * 霞鹜文楷 SC（标题用）：
 *   https://github.com/lxgw/LxgwWenKai/releases
 *   下载 LXGWWenKaiScreen.ttf，用工具转成 woff2
 *   或直接下载社区转换好的 woff2 版本：
 *   https://github.com/chawyehsu/lxgw-wenkai-webfont/releases
 *   需要的文件：lxgw-wenkai-screen.woff2（约 5MB，建议用 Screen 版，针对屏幕优化）
 *
 * 思源黑体 SC（正文用）：
 *   https://github.com/adobe-fonts/source-han-sans/releases
 *   下载 SourceHanSansCN-Regular.otf 和 SourceHanSansCN-Bold.otf
 *   转成 woff2 后放入 assets/fonts/ 目录
 *   或使用已打包的 woff2：
 *   https://github.com/KonghaYao/cn-font-split 按需切片（推荐，体积小 10 倍）
 */

/* ── 霞鹜文楷 SC（标题字体）─────────────────────── */
@font-face {
    font-family: 'LXGW WenKai Screen';
    src: url('../fonts/lxgw-wenkai-screen.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;   /* 先用系统字体显示，加载完后替换，不阻塞渲染 */
    unicode-range: U+4E00-9FFF, U+3400-4DBF, U+F900-FAFF,  /* 常用汉字 */
                   U+2000-206F, U+3000-303F, U+FF00-FFEF,  /* 标点 */
                   U+0020-007E;                              /* ASCII */
}

/* ── 思源黑体 SC Regular（正文字体）────────────────── */
@font-face {
    font-family: 'Source Han Sans SC';
    src: url('../fonts/SourceHanSansSC-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ── 思源黑体 SC Medium（小标题）────────────────────── */
@font-face {
    font-family: 'Source Han Sans SC';
    src: url('../fonts/SourceHanSansSC-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* ── 思源黑体 SC Bold（加粗）────────────────────────── */
@font-face {
    font-family: 'Source Han Sans SC';
    src: url('../fonts/SourceHanSansSC-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
