/**
 * 英文站轻量字体：仅加载拉丁子集（思源 / Noto Sans SC）
 * 避免拉取约 1MB 中文汉字包，显著加快 /en 首屏
 * 许可：SIL Open Font License 1.1
 */
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/noto-sans-sc/noto-sans-sc-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/noto-sans-sc/noto-sans-sc-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url("../fonts/noto-sans-sc/noto-sans-sc-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url("../fonts/noto-sans-sc/noto-sans-sc-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Han Sans SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/noto-sans-sc/noto-sans-sc-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Han Sans SC";
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url("../fonts/noto-sans-sc/noto-sans-sc-latin-700-normal.woff2") format("woff2");
}

:root {
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "Source Han Sans", sans-serif;
}

html,
body {
  font-family: var(--font-sans);
}

body.lang-en,
body.lang-en button,
body.lang-en input,
body.lang-en textarea,
body.lang-en select,
body.lang-en optgroup {
  font-family: var(--font-sans) !important;
}
body.lang-en *:not(i):not(svg):not(path):not([class*="icon"]):not([class*="fa-"]) {
  font-family: inherit !important;
}
