/* Traditional Chinese page: sans body text for reading, the site's serif for headings.
   The serif is its own subset with every character on the page (tools/subset_cjk.py), so no glyph falls
   back to another font, and it is only ever drawn at its real weight (no synthesized bold). */
@font-face {
  font-family: "Sanguo Serif ZH";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/noto-serif-tc-zh.woff2") format("woff2");
}

:root:lang(zh-Hant) {
  --font-cjk: "Sanguo Serif ZH", "Noto Serif TC", "Songti TC", "PMingLiU", serif;
}

:root {
  --font-zh-sans: "Geist", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", "Heiti TC", sans-serif;
}

html:lang(zh-Hant) body {
  font-family: var(--font-zh-sans);
  line-height: 1.75;
  letter-spacing: 0.02em;
}

html:lang(zh-Hant) h1,
html:lang(zh-Hant) h2,
html:lang(zh-Hant) h3,
html:lang(zh-Hant) .hero-lede,
html:lang(zh-Hant) .vision-close,
html:lang(zh-Hant) .cjk {
  font-family: var(--font-cjk);
  font-weight: 500;
  font-synthesis: none;
  letter-spacing: 0.04em;
}

html:lang(zh-Hant) .eyebrow,
html:lang(zh-Hant) .status,
html:lang(zh-Hant) .when {
  letter-spacing: 0.08em;
}

.press-links {
  margin-top: clamp(28px, 4vw, 48px);
}

/* The contrast table's labels on narrow screens (studio.css writes them in English). */
@media (max-width: 760px) {
  html:lang(zh-Hant) .contrast-row span[role="cell"]:nth-child(2)::before {
    content: "大多數遊戲：";
  }

  html:lang(zh-Hant) .contrast-row span[role="cell"]:nth-child(3)::before {
    content: "《生逢三國》：";
  }
}
