/*
 * Noto Sans SC, self-hosted: a hub may have no internet, and a page must not
 * wait on a font CDN it can't reach. The endpoint serves this directory at
 * /core/fonts, as the hub's does.
 *
 * The files are cut down to GB2312's 6,763 common hanzi, CJK punctuation and
 * fullwidth forms by scripts/subset_noto_sans_sc.py (about 1 MB a weight
 * instead of 8). A rarer character falls back to the system's Chinese font.
 * The unicode-range means a browser fetches them only for a page with
 * Chinese on it. Licence: OFL.txt, next to this file.
 */
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("noto-sans-sc-400.woff2") format("woff2");
  unicode-range: U+3000-303F, U+4E00-9FFF, U+FF00-FFEF;
}

@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("noto-sans-sc-700.woff2") format("woff2");
  unicode-range: U+3000-303F, U+4E00-9FFF, U+FF00-FFEF;
}

/* No font-family rule here. pos_ui's stack is "Inter", "Noto Sans SC", ...,
   and the unicode-ranges decide: Inter draws Latin text and digits, these
   files draw hanzi, on a Chinese page and in an English one alike ("中文" on
   the switcher). A rule here would load after app.css and take Inter away. */
