/* Copyright (c) 2026 Ascent. All rights reserved. PRIVATE TABLE — https://poker.ascent-web.jp/terms */
/* Body faces for the languages the self-hosted subsets do not cover.
 *
 * tokens.css sets --font-jp to Zen Kaku Gothic New, a Japanese face: it has
 * no Hangul at all, and its Han glyphs are the JIS set in Japanese shapes,
 * so Traditional Chinese loses characters outside JIS (們, 這, 裡 …) to the
 * fallback and draws the rest with Japanese strokes. Rather than ship more
 * woff2, a page in one of these languages switches the two body tokens to
 * the fonts every phone already has for it. Cinzel (headings, numbers, the
 * table code) is shared by every language and is not touched here.
 *
 * Loaded only by the zh-Hant and ko pages; ja and en do not reference it.
 * (INTL_EN_SPEC §12, fable-intl 2026-09-18.)
 */

html[lang="zh-Hant"] {
  --font: -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Noto Sans CJK TC", sans-serif;
  --font-jp: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Noto Sans CJK TC", var(--font);
}

html[lang="ko"] {
  --font: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR", sans-serif;
  --font-jp: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR", var(--font);
}

/* Korean breaks between words, not syllables: keep-all wraps at the spaces
   the copy already has, and overflow-wrap catches the one long URL or code
   that would otherwise push the column. Chinese wraps per character and
   needs nothing. */
html[lang="ko"] :is(h1, h2, h3, h4, p, li, dt, dd, figcaption, blockquote, summary) {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* The door's note is the money negation in one breath ("免費 · 免註冊 · 免安裝 ·
   不涉及金錢", "무료 · 가입 없음 · 앱 없음 · 돈 없음"). Beside the brand it wraps
   inside a phrase (不 / 涉及金錢, 돈 / 없음 — seen on production 2026-09-18
   10:5x), so these doors stack it under the logotype the way the English
   door does (door.css, html[lang="en"] .play-head). */
html[lang="zh-Hant"] .play-head,
html[lang="ko"] .play-head { flex-direction: column; align-items: flex-start; gap: 6px; }
