/* Local fonts: pinyin never depends on a device's Latin font coverage. */
@font-face {
  font-family: "Taiji Serif";
  src: url("/fonts/noto-serif-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Taiji Han";
  src: url("/fonts/taiji-han.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+3400-9FFF, U+F900-FAFF, U+20000-323AF;
}
@font-face {
  font-family: "Taiji Rare";
  src: url("/fonts/taiji-rare.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+20000-323AF;
}

/* Keep pinyin headings out of the edition-specific Chinese font stacks. */
.reader-pinyin,
.reader-heading.reader-pinyin[data-edition],
.pinyin-syllable,
#reader-pronunciation,
.reader-text[data-edition="english"],
.reader-heading[data-edition="english"],
.card-content h1,
.card-name,
.alternate,
.classification,
.card-pagination span {
  font-family: "Taiji Serif", "Taiji Han", "Taiji Rare", serif;
}
