/* ============ Japanese (2026-11-26) =============
   Loaded by shell_view.php and shared/head.php when the page is in Japanese (html lang="ja"), like zh.css.
   Archivo has no Japanese characters: the faces below give the name 'Archivo' the system's Japanese fonts for the
   kana and kanji ranges only (Hiragino Sans on Apple, Yu Gothic / Meiryo on Windows, Noto / Source Han Sans
   elsewhere), so every rule that names Archivo draws Japanese in a matching sans, in two weights.
   Latin letters keep Archivo. Nothing is downloaded.
   ================================================ */
@font-face { font-family: 'Archivo'; font-weight: 100 550; font-display: swap;
    src: local('Hiragino Sans W3'), local('HiraginoSans-W3'), local('Hiragino Kaku Gothic ProN W3'), local('HiraKakuProN-W3'), local('Yu Gothic Medium'), local('YuGothic-Medium'), local('Meiryo'), local('Noto Sans CJK JP'), local('NotoSansCJKjp-Regular'), local('Source Han Sans JP'), local('SourceHanSansJP-Regular');
    unicode-range: U+2E80-2FFF, U+3000-303F, U+3040-30FF, U+31F0-31FF, U+3200-32FF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FE30-FE4F, U+FF00-FFEF; }
@font-face { font-family: 'Archivo'; font-weight: 551 1000; font-display: swap;
    src: local('Hiragino Sans W6'), local('HiraginoSans-W6'), local('Hiragino Kaku Gothic ProN W6'), local('HiraKakuProN-W6'), local('Yu Gothic Bold'), local('YuGothic-Bold'), local('Meiryo Bold'), local('Meiryo-Bold'), local('Noto Sans CJK JP Bold'), local('NotoSansCJKjp-Bold'), local('Source Han Sans JP Bold'), local('SourceHanSansJP-Bold');
    unicode-range: U+2E80-2FFF, U+3000-303F, U+3040-30FF, U+31F0-31FF, U+3200-32FF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FE30-FE4F, U+FF00-FFEF; }

/* the spaced small capitals and the tight display headings are Latin habits: Japanese reads at normal spacing */
html[lang="ja"] body, html[lang="ja"] body * { letter-spacing: 0 !important; }
html[lang="ja"] body { line-break: strict; word-break: normal; overflow-wrap: anywhere; }
html[lang="ja"] em, html[lang="ja"] i { font-style: normal; }
