/* Simplified Chinese: the CJK characters of the two families the browser would otherwise fill from its
   monospace and serif fonts (MS Gothic, NSimSun, SimSun: thin bitmap-like strokes), taken from the
   system's sans-serif font of the language instead; never a download. Linked with cjk.css on the
   zh pages only (Base.astro). Each face repeats the weight and style of the site's own face of
   that family (site.css), so the browser treats the two as one font and looks here first for the
   characters of unicode-range. Plus Jakarta Sans and IBM Plex Sans need nothing: the browser's
   fallback for the page's language already takes the system's sans-serif with its bold. */

@font-face {
  font-family: 'JetBrains Mono';
  src: local('PingFang SC Regular'),
       local('PingFangSC-Regular'),
       local('Microsoft YaHei UI'),
       local('MicrosoftYaHeiUI'),
       local('Microsoft YaHei'),
       local('MicrosoftYaHei'),
       local('Noto Sans CJK SC Regular'),
       local('NotoSansCJKsc-Regular'),
       local('Source Han Sans SC Regular'),
       local('SourceHanSansSC-Regular');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+2E80-2FDF, U+3000-30FF, U+3100-312F, U+31F0-31FF, U+3200-33FF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FE30-FE4F, U+FF00-FFEF;
}

@font-face {
  font-family: 'Lora';
  src: local('PingFang SC Regular'),
       local('PingFangSC-Regular'),
       local('Microsoft YaHei UI'),
       local('MicrosoftYaHeiUI'),
       local('Microsoft YaHei'),
       local('MicrosoftYaHei'),
       local('Noto Sans CJK SC Regular'),
       local('NotoSansCJKsc-Regular'),
       local('Source Han Sans SC Regular'),
       local('SourceHanSansSC-Regular');
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
  unicode-range: U+2E80-2FDF, U+3000-30FF, U+3100-312F, U+31F0-31FF, U+3200-33FF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FE30-FE4F, U+FF00-FFEF;
}
