@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('./JetBrainsMono-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('./JetBrainsMono-Medium.woff2') format('woff2');
}

@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('./JetBrainsMono-Bold.woff2') format('woff2');
}

/* 中文优先系统字体，避免超大 CJK 与境外 Google Fonts（国内易 520/超时） */
:root {
    --font-sans-local: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
    --font-mono-local: "JetBrains Mono", "Cascadia Code", "Fira Code", Consolas, "Courier New", monospace;
}

body.vs-body.feer-front {
    font-family: var(--font-sans-local);
}

body.vs-body.feer-front .font-mono,
body.vs-body.feer-front code,
body.vs-body.feer-front pre,
body.vs-body.feer-front kbd {
    font-family: var(--font-mono-local);
}
