/* 1. 常规体 (Regular / Normal) - 对应 weight 400 */
@font-face {
    font-family: 'Source Han Sans SC';
    src: url('../NotoSerifSC-VariableFont_wght/SourceHanSansSC-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap; /* 关键：字体加载期间先用默认字体显示，避免白屏 */
}

/* 2. 粗体 (Bold) - 对应 weight 700 */
@font-face {
    font-family: 'Source Han Sans SC';
    src: url('../NotoSerifSC-VariableFont_wght/SourceHanSansSC-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* 3. 细体 (Light) - 对应 weight 300 */
@font-face {
    font-family: 'Source Han Sans SC';
    src: url('../NotoSerifSC-VariableFont_wght/SourceHanSansSC-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* 4. 中等 (Medium) - 对应 weight 500 */
@font-face {
    font-family: 'Source Han Sans SC';
    src: url('../NotoSerifSC-VariableFont_wght/SourceHanSansSC-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* 5. 特粗 (Heavy) - 对应 weight 900 */
@font-face {
    font-family: 'Source Han Sans SC';
    src: url('../NotoSerifSC-VariableFont_wght/SourceHanSansSC-Heavy.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* 按需添加 ExtraLight (200) 等，但通常网页用不到这么多字重，挑常用的即可 */