@font-face {
    font-family: "Tarkov Harmony";
    src: url("/assets/fonts/www.eftarkov.com.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

:root {
    --tarkov-font: "Tarkov Harmony", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
    /* 覆盖 Tailwind 的 font-sans / 默认 sans 变量。 */
    --font-sans: var(--tarkov-font);
    --default-font-family: var(--tarkov-font);
}

html,
body,
button,
input,
select,
textarea,
optgroup,
option {
    font-family: var(--tarkov-font) !important;
    font-variant-numeric: tabular-nums;
}

/* Tailwind 的 font-sans 会单独写 font-family，必须显式覆盖。 */
.font-sans {
    font-family: var(--tarkov-font) !important;
}

/* 用户要求全站文字统一；代码/ID 区域也使用同一字体。 */
.font-mono,
code,
pre,
kbd,
samp {
    font-family: var(--tarkov-font) !important;
}

/* 不覆盖 Font Awesome 自己的图标字体。 */
.fa,
.fas,
.far,
.fab,
.fa-solid,
.fa-regular,
.fa-brands {
    font-family: var(--fa-style-family, "Font Awesome 6 Free") !important;
}
.fa-brands,
.fab {
    font-family: "Font Awesome 6 Brands" !important;
}
