/* Font faces for the archive. Noto Sans JP sets reading text in both languages; Nunito
   (Latin) and UD Marugo (Japanese) set game-style labels, titles and controls.
   UD Marugo exists only in a prepared local preview; elsewhere labels fall back to Noto. */

@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0250-02FF, U+0370-1FFF, U+2070-218F, U+2200-24FF, U+2E80-9FFF, U+AC00-D7AF, U+F900-FAFF, U+FE10-FE6F, U+FF00-FFEF, U+20000-323AF;
  src: url("fonts/noto-sans-jp-400-600.woff2") format("woff2");
}

/* Disjoint ranges keep English-only pages on the 30 KB Latin subset. */
@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0000-024F, U+0300-036F, U+2000-206F, U+2190-21FF, U+2500-257F;
  src: url("fonts/noto-sans-latin-400-600.woff2") format("woff2");
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/nunito-bold.woff2") format("woff2");
}

/* Japanese only, so Latin in a mixed label stays in Nunito. 92% matches Nunito's scale. */
@font-face {
  font-family: "UD Marugo";
  size-adjust: 92%;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+3000-30FF, U+3400-9FFF, U+F900-FAFF, U+FF00-FFEF;
  src: url("assets/fonts/ud-marugo-large-pro-b.otf") format("opentype");
}

:root { font-synthesis: none; }
