/* 菲码源库 feicode-fonts.css（v20261124v5）
 * 拉丁与等宽：本地自托管 Ubuntu / Ubuntu Mono WOFF2（unicode-range 仅覆盖拉丁与符号）
 * 中文声部：自有文风 CDN（wenfeng-mkwxy 展示标题 + wenfeng-wqywmh 文泉驿微米黑正文 UI）。
 */
@font-face {
    font-family: "Ubuntu";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/ubuntu-400.woff2") 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;
}

@font-face {
    font-family: "Ubuntu";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/assets/fonts/ubuntu-500.woff2") 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;
}

@font-face {
    font-family: "Ubuntu Mono";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/ubuntu-mono-400.woff2") 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;
}

@font-face {
    font-family: "Ubuntu Mono";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/assets/fonts/ubuntu-mono-700.woff2") 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;
}

:root {
    --feicode-font-display: "Ubuntu", "wenfeng-mkwxy", -apple-system, "PingFang SC", "Noto Sans SC", sans-serif;
    --feicode-font-sans: "Ubuntu", "wenfeng-wqywmh", -apple-system, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
    --feicode-font-mono: "Ubuntu Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --fonts-regular: var(--feicode-font-sans);
    --fonts-monospace: var(--feicode-font-mono);
}

html, body {
    font-synthesis: none;
    font-synthesis-weight: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
