/* Self-hosted fonts for the 'pixel' theme.
   Ark Pixel 12px proportional, simplified Chinese build (SIL OFL 1.1,
   https://github.com/TakWolf/ark-pixel-font, licence in ark-pixel/OFL.txt).
   Used only at 12px and 24px so every glyph sits on the pixel grid.
   JetBrains Mono for code blocks; CJK prose uses the system sans. */

/* The deployed site carries a subset cut to the characters it uses (about
   80 KB, made at deploy time by _pixel/subset_font.py). The full font stands
   behind it under its own name and is only fetched for a character the
   subset lacks, or locally, where the subset is never built. */
@font-face {
  font-family: 'Ark Pixel';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("ark-pixel/ark-pixel-subset.woff2") format('woff2');
}

@font-face {
  font-family: 'Ark Pixel Full';
  unicode-range: U+0-8, U+B-D, U+F-258, U+25A-2FF, U+302-647, U+649-E50, U+E52-200A, U+200C-21FF, U+2201-2206, U+2208-2219, U+221B-2247, U+2249-2726, U+2728-273E, U+2740-2743, U+2745-5237, U+523A-52BE, U+52C0-5372, U+5374-5471, U+5473-54A7, U+54A9-54BA, U+54BC-5569, U+556B-55E0, U+55E2-57AA, U+57AC-584C, U+584E-5850, U+5852-58D0, U+58D2-5954, U+5957-59FE, U+5A00-5B7C, U+5B7E-5CFA, U+5CFC-5D46, U+5D48-5D4B, U+5D4D-5E17, U+5E19-5EC9, U+5ECB-5F09, U+5F0B-5FBC, U+5FBE-601F, U+6021-604A, U+604C-604F, U+6051-609F, U+60A1-60D0, U+60D2-6107, U+6109-6167, U+6169-618A, U+618C-61BD, U+61BF-6266, U+6268-62D5, U+62D7-62F2, U+62F4-6319, U+631B-642B, U+642D-6446, U+6448-6486, U+6488-64CD, U+64CF-655C, U+655E-6590, U+6592-659B, U+659D-65BC, U+65BE-65C4, U+65C6-65CA, U+65CC-65E1, U+65E3-6713, U+6715-6718, U+671A-673F, U+6741-67F3, U+67F5-6867, U+6869-6880, U+6882-68AC, U+68AE-6981, U+6983-6BC0, U+6BC2-6C4F, U+6C51-6D45, U+6D47-6DA8, U+6DAA-6EA9, U+6EAB-6EAE, U+6EB0-6ED4, U+6ED6-6ED9, U+6EDB-6F08, U+6F0A-6F79, U+6F7B-70EC, U+70EE-7135, U+7137-71C2, U+71C4-7280, U+7282-73EC, U+73EE-74ED, U+74EF-75A2, U+75A4-75B4, U+75B6-7621, U+7623-7655, U+7657-7681, U+7683-7736, U+7738-7765, U+7767-777E, U+7780-77A4, U+77A6-77AB, U+77AD-788B, U+788D-7A36, U+7A38-7A3C, U+7A3E-7A96, U+7A99-7AE2, U+7AE4-7B1D, U+7B1F-7B50, U+7B52-7C06, U+7C08-7C29, U+7C2B-7CA4, U+7CA6-7D26, U+7D28-7D2A, U+7D2C-7EB4, U+7EB6-7F17, U+7F19-7FA0, U+7FA2-7FC0, U+7FC2-7FC9, U+7FCB-8045, U+8047-8051, U+8053-8059, U+805B-8069, U+806B-8070, U+8072-81B9, U+81BB-81C2, U+81C4-82D3, U+82D5-836E, U+8370-8470, U+8472-853C, U+853E-8598, U+859A-85E3, U+85E5-8610, U+8612-86ED, U+86EF, U+86F1-87D1, U+87D3-8B65, U+8B67-8B6B, U+8B6D-8C22, U+8C24-8D37, U+8D39-8D57, U+8D59-8E46, U+8E48-8E75, U+8E77-8F97, U+8F99-8FA7, U+8FA9-8FAA, U+8FAC-8FE3, U+8FE5-903D, U+903F-9064, U+9066-907E, U+9080-90CD, U+90CF-9170, U+9172-9177, U+9179-9273, U+9275-9698, U+969A-96A6, U+96A8-96BF, U+96C1-96CC, U+96CE-96FD, U+96FF-990F, U+9911-9AA3, U+9AA5-9B30, U+9B32-9CAA, U+9CAC-9E6C, U+9E6E-1F319, U+1F31B-1F31E, U+1F320-1F380, U+1F382-1F383, U+1F386-1F3B5, U+1F3B7-1F469, U+1F46B-1F513, U+1F515-1F524, U+1F526-1F630, U+1F632-10FFFF;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("ark-pixel/ark-pixel-12px-proportional-zh_hans.otf.woff2") format('woff2');
}

/* JetBrains Mono · latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("jetbrains-mono/jetbrains-mono-latin-ext-76306ee8.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* JetBrains Mono · latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("jetbrains-mono/jetbrains-mono-latin-1cd702cd.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* JetBrains Mono · latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("jetbrains-mono/jetbrains-mono-latin-ext-76306ee8.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* JetBrains Mono · latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("jetbrains-mono/jetbrains-mono-latin-1cd702cd.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
