/* Instrument Serif (Instrument/Google Fonts, OFL) has genuine Roman and italic faces.
   Its single design weight stays consistent on titles, buttons, and mixed-script lines. */
@font-face {
  font-family: "Instrument Serif";
  src: url("./assets/type/instrument-serif-regular.woff2?v=b340b55c839be61c") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  size-adjust: 110%;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("./assets/type/instrument-serif-italic.woff2?v=b340b55c839be61c") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  size-adjust: 110%;
}

/* Subsets of Spoqa Han Sans Neo v3.3.0 (github.com/spoqa/spoqa-han-sans).
   The OFL reserves the original family name. These web subsets have new internal
   names; their source glyph outlines, advances, and three real weights are retained.
   UI Hangul loads first. The other syllables and Jamo load on demand for track names. */
@font-face {
  font-family: "Tayst Hangul UI";
  src: url("./assets/type/hangul-regular-ui.woff2?v=b340b55c839be61c") format("woff2");
  font-weight: 100 449;
  font-display: swap;
  unicode-range: U+AC00-D7A3;
}
@font-face {
  font-family: "Tayst Hangul UI";
  src: url("./assets/type/hangul-medium-ui.woff2?v=b340b55c839be61c") format("woff2");
  font-weight: 450 599;
  font-display: swap;
  unicode-range: U+AC00-D7A3;
}
@font-face {
  font-family: "Tayst Hangul UI";
  src: url("./assets/type/hangul-bold-ui.woff2?v=b340b55c839be61c") format("woff2");
  font-weight: 600 900;
  font-display: swap;
  unicode-range: U+AC00-D7A3;
}
@font-face {
  font-family: "Tayst Hangul";
  src: url("./assets/type/hangul-regular-a.woff2?v=b340b55c839be61c") format("woff2");
  font-weight: 100 449;
  font-display: swap;
  unicode-range: U+1100-11FF, U+3130-318F, U+A960-A97F, U+AC00-B9FF, U+D7B0-D7FF, U+FFA0-FFDC;
}
@font-face {
  font-family: "Tayst Hangul";
  src: url("./assets/type/hangul-medium-a.woff2?v=b340b55c839be61c") format("woff2");
  font-weight: 450 599;
  font-display: swap;
  unicode-range: U+1100-11FF, U+3130-318F, U+A960-A97F, U+AC00-B9FF, U+D7B0-D7FF, U+FFA0-FFDC;
}
@font-face {
  font-family: "Tayst Hangul";
  src: url("./assets/type/hangul-bold-a.woff2?v=b340b55c839be61c") format("woff2");
  font-weight: 600 900;
  font-display: swap;
  unicode-range: U+1100-11FF, U+3130-318F, U+A960-A97F, U+AC00-B9FF, U+D7B0-D7FF, U+FFA0-FFDC;
}
@font-face {
  font-family: "Tayst Hangul";
  src: url("./assets/type/hangul-regular-b.woff2?v=b340b55c839be61c") format("woff2");
  font-weight: 100 449;
  font-display: swap;
  unicode-range: U+BA00-C7FF;
}
@font-face {
  font-family: "Tayst Hangul";
  src: url("./assets/type/hangul-medium-b.woff2?v=b340b55c839be61c") format("woff2");
  font-weight: 450 599;
  font-display: swap;
  unicode-range: U+BA00-C7FF;
}
@font-face {
  font-family: "Tayst Hangul";
  src: url("./assets/type/hangul-bold-b.woff2?v=b340b55c839be61c") format("woff2");
  font-weight: 600 900;
  font-display: swap;
  unicode-range: U+BA00-C7FF;
}
@font-face {
  font-family: "Tayst Hangul";
  src: url("./assets/type/hangul-regular-c.woff2?v=b340b55c839be61c") format("woff2");
  font-weight: 100 449;
  font-display: swap;
  unicode-range: U+C800-D7A3;
}
@font-face {
  font-family: "Tayst Hangul";
  src: url("./assets/type/hangul-medium-c.woff2?v=b340b55c839be61c") format("woff2");
  font-weight: 450 599;
  font-display: swap;
  unicode-range: U+C800-D7A3;
}
@font-face {
  font-family: "Tayst Hangul";
  src: url("./assets/type/hangul-bold-c.woff2?v=b340b55c839be61c") format("woff2");
  font-weight: 600 900;
  font-display: swap;
  unicode-range: U+C800-D7A3;
}

:root {
  --local-script-fallback: "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --sans: "Instrument Serif", "Tayst Hangul UI", "Tayst Hangul", var(--local-script-fallback);
  --mono: var(--sans);
  font-family: var(--sans);
}
:root:lang(ja) {
  --local-script-fallback: "Hiragino Sans", "Yu Gothic", Meiryo, system-ui, sans-serif;
}
textarea, option { font-family: inherit; }
