/* Self-hosted fonts, so games look right offline (see sw.js).
   Link from a page in games/ with <link rel="stylesheet" href="../fonts/fonts.css">.
   Latin subsets from Google Fonts; licenses in OFL.txt. Nunito and Fredoka are
   variable fonts, so any weight inside the listed range works. */

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(nunito.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;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(nunito-ext.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;
}
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(fredoka.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;
}
@font-face {
  font-family: 'Bungee';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(bungee.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;
}
@font-face {
  font-family: 'Andika';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(andika-400.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;
}
@font-face {
  font-family: 'Andika';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(andika-700.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;
}

/* The long vowels of Hawaiian words (ā ē ī ō ū, for Lighthouse Detectives' Hawai‘i files) and the rest of Latin
   Extended: Andika's latin-ext subsets from Google Fonts, as they come (Andika's name is reserved for unmodified
   copies, OFL.txt). Fredoka has none of those letters (without them a browser stacks its combining macron on the plain
   letter, misplaced), so Nunito's long vowels draw them in Fredoka's text: fredoka-macron.woff2 is Nunito's latin-ext
   cut to those ten letters (fontTools pyftsubset) at weight 800 (varLib.instancer), about as heavy as Fredoka's 600. */
@font-face {
  font-family: 'Andika';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(andika-400-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Andika';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(andika-700-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(fredoka-macron.woff2) format('woff2');
  unicode-range: U+0100-0101, U+0112-0113, U+012A-012B, U+014C-014D, U+016A-016B;
}

/* Our own drawings of the emoji newer than Emoji 12.0 (made by tools/emoji/build.py), which Windows 10
   and older tablets draw as an empty box. Each family gets them with exactly the descriptors of its own
   faces, so the browser takes them as part of that font; a different weight range would make it pick one
   or the other. unicode-range keeps the file from loading on a page that doesn't use them. To add one,
   see tools/emoji/README.md. */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(emoji-1.woff2) format('woff2');
  unicode-range: U+1F6DE, U+1F7F0, U+1F9AD, U+1FA99, U+1FA9F, U+1FAA2, U+1FAA3, U+1FAA8, U+1FAB0-1FAB2, U+1FAB5-1FAB8, U+1FAD7, U+1FAD9, U+1FAE7;
}
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(emoji-1.woff2) format('woff2');
  unicode-range: U+1F6DE, U+1F7F0, U+1F9AD, U+1FA99, U+1FA9F, U+1FAA2, U+1FAA3, U+1FAA8, U+1FAB0-1FAB2, U+1FAB5-1FAB8, U+1FAD7, U+1FAD9, U+1FAE7;
}
@font-face {
  font-family: 'Bungee';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(emoji-1.woff2) format('woff2');
  unicode-range: U+1F6DE, U+1F7F0, U+1F9AD, U+1FA99, U+1FA9F, U+1FAA2, U+1FAA3, U+1FAA8, U+1FAB0-1FAB2, U+1FAB5-1FAB8, U+1FAD7, U+1FAD9, U+1FAE7;
}
@font-face {
  font-family: 'Andika';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(emoji-1.woff2) format('woff2');
  unicode-range: U+1F6DE, U+1F7F0, U+1F9AD, U+1FA99, U+1FA9F, U+1FAA2, U+1FAA3, U+1FAA8, U+1FAB0-1FAB2, U+1FAB5-1FAB8, U+1FAD7, U+1FAD9, U+1FAE7;
}
@font-face {
  font-family: 'Andika';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(emoji-1.woff2) format('woff2');
  unicode-range: U+1F6DE, U+1F7F0, U+1F9AD, U+1FA99, U+1FA9F, U+1FAA2, U+1FAA3, U+1FAA8, U+1FAB0-1FAB2, U+1FAB5-1FAB8, U+1FAD7, U+1FAD9, U+1FAE7;
}
