/**
 * 自托管 Web 字体 — 全站 typography
 * 来源：Fontsource（SIL Open Font License）
 * 字体文件目录：style/fonts/
 */

/* ========== Noto Sans SC — 中文正文 ========== */

/* 拉丁字母 / 数字（体积小，优先加载） */
@font-face {
    font-family: 'Noto Sans SC';
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url('./fonts/noto-sans-sc-latin-400-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Noto Sans SC';
    font-style: normal;
    font-display: swap;
    font-weight: 500;
    src: url('./fonts/noto-sans-sc-latin-500-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Noto Sans SC';
    font-style: normal;
    font-display: swap;
    font-weight: 600;
    src: url('./fonts/noto-sans-sc-latin-600-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Noto Sans SC';
    font-style: normal;
    font-display: swap;
    font-weight: 700;
    src: url('./fonts/noto-sans-sc-latin-700-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 简体中文（按 unicode-range 与 latin 分包，浏览器只下载当前页面需要的子集） */
@font-face {
    font-family: 'Noto Sans SC';
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url('./fonts/noto-sans-sc-chinese-simplified-400-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Noto Sans SC';
    font-style: normal;
    font-display: swap;
    font-weight: 500;
    src: url('./fonts/noto-sans-sc-chinese-simplified-500-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Noto Sans SC';
    font-style: normal;
    font-display: swap;
    font-weight: 600;
    src: url('./fonts/noto-sans-sc-chinese-simplified-600-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Noto Sans SC';
    font-style: normal;
    font-display: swap;
    font-weight: 700;
    src: url('./fonts/noto-sans-sc-chinese-simplified-700-normal.woff2') format('woff2');
}

/* ========== Syne — 展示标题 / 统计大数字 ========== */

@font-face {
    font-family: 'Syne';
    font-style: normal;
    font-display: swap;
    font-weight: 500;
    src: url('./fonts/syne-latin-500-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Syne';
    font-style: normal;
    font-display: swap;
    font-weight: 600;
    src: url('./fonts/syne-latin-600-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Syne';
    font-style: normal;
    font-display: swap;
    font-weight: 700;
    src: url('./fonts/syne-latin-700-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ========== DM Mono — 价格 / 涨跌幅 / 排名等宽数字 ========== */

@font-face {
    font-family: 'DM Mono';
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url('./fonts/dm-mono-latin-400-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'DM Mono';
    font-style: italic;
    font-display: swap;
    font-weight: 400;
    src: url('./fonts/dm-mono-latin-400-italic.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
