/* ============================================================================
 * 檔案名稱：lc-lang.css
 * 相對路徑：assets/css/lc-lang.css
 * 建立時間：2026-10-11 (UTC+8)　建立人員：Claude（良陳吉時 第二波 u1_ui_residual 項目 C）
 * 功能說明：非中文介面的 body 字型堆疊（系統字型優先，不引外部字型 CDN）。
 *   由 MemberI18n::head() 在「非 zh-TW／zh-CN」時引入；zh 介面不輸出本檔、零位元組差異。
 *   選擇器同時支援 body.lang-xx（SiteLanguage::bodyClass()）與 html.lc-lang-xx（head() 注入的 <html> class），
 *   所以不論該頁有沒有把 bodyClass() 印在 <body>，字型都會生效。
 * 語種：ja ko th vi fr de ms（en 沿用站內預設堆疊，不覆寫）
 * ========================================================================== */
body.lang-ja, html.lc-lang-ja body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans JP", "Segoe UI", sans-serif;
  line-break: strict; overflow-wrap: anywhere;
}
body.lang-ko, html.lc-lang-ko body {
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Segoe UI", sans-serif;
  word-break: keep-all; overflow-wrap: break-word;
}
body.lang-th, html.lc-lang-th body {
  font-family: -apple-system, BlinkMacSystemFont, "Thonburi", "Sukhumvit Set", "Leelawadee UI", Tahoma, "Noto Sans Thai", "Segoe UI", sans-serif;
  line-height: 1.7; overflow-wrap: anywhere;
}
body.lang-vi, html.lc-lang-vi body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  line-height: 1.6;
}
body.lang-fr, html.lc-lang-fr body,
body.lang-de, html.lc-lang-de body,
body.lang-ms, html.lc-lang-ms body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
body.lang-de, html.lc-lang-de body { hyphens: auto; overflow-wrap: break-word; }
/* 表單控制項預設不繼承 body 字型：非中文介面一併繼承，避免輸入框／按鈕退回中文字型 */
body.lang-ja :is(button, input, select, textarea), html.lc-lang-ja body :is(button, input, select, textarea),
body.lang-ko :is(button, input, select, textarea), html.lc-lang-ko body :is(button, input, select, textarea),
body.lang-th :is(button, input, select, textarea), html.lc-lang-th body :is(button, input, select, textarea),
body.lang-vi :is(button, input, select, textarea), html.lc-lang-vi body :is(button, input, select, textarea),
body.lang-fr :is(button, input, select, textarea), html.lc-lang-fr body :is(button, input, select, textarea),
body.lang-de :is(button, input, select, textarea), html.lc-lang-de body :is(button, input, select, textarea),
body.lang-ms :is(button, input, select, textarea), html.lc-lang-ms body :is(button, input, select, textarea) { font-family: inherit; }
