/* ═══════════════════════════════════════════════════════════════════════════
   CJK Typography Rules — Chinese, Japanese, Korean
   Loaded only on CJK locale pages via the build script.
   ═══════════════════════════════════════════════════════════════════════════ */

html[lang="ja"] body,
html[lang="ko"] body,
html[lang^="zh"] body {
  word-break: break-all;
  overflow-wrap: break-word;
  line-break: strict;
}

/* Supplementary font stacks — set per locale via the HTML lang attribute */
html[lang="ja"] body {
  font-family: 'Noto Sans JP', 'Comfortaa', sans-serif;
}

html[lang="ko"] body {
  font-family: 'Noto Sans KR', 'Comfortaa', sans-serif;
}

html[lang="zh-Hans"] body,
html[lang="zh-hans"] body {
  font-family: 'Noto Sans SC', 'Comfortaa', sans-serif;
}

html[lang="zh-Hant"] body,
html[lang="zh-hant"] body {
  font-family: 'Noto Sans TC', 'Comfortaa', sans-serif;
}
