/**
 * Locale-scoped Simplified Chinese UI font (self-hosted subset).
 * Linked only from the zh locale layout — do not import into the shared
 * Next.js CSS graph (that reintroduces a global stylesheet on en/ru/uk).
 *
 * Weight 400 is eager (body, calculator labels). Weight 600–700 is deferred
 * via /fonts/zh-700.css + NotoScBoldLazy (IntersectionObserver → idle fetch).
 * Until then, font-synthesis: weight paints headings from the 400 face (no FOIT).
 */
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/noto-sans-sc-subset-400.woff2") format("woff2");
}

html[lang="zh"] {
  --font-noto-sc: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  --font-display: var(--font-manrope, "Manrope"), "Manrope", var(--font-noto-sc),
    system-ui, sans-serif;
  --font-ui: var(--font-manrope, "Manrope"), "Manrope", var(--font-noto-sc),
    system-ui, sans-serif;
  font-synthesis: weight;
}
