/* Fallback type and small fixes for the JA / ZH / AR / KO language versions (loaded only on those pages). */
html:lang(ja){--font-display:"Fraunces","Hiragino Mincho ProN","Yu Mincho","Noto Serif JP",serif;--font-body:"Inter","Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic UI","Yu Gothic","Meiryo","Noto Sans JP",sans-serif}
html:lang(zh-CN){--font-display:"Fraunces","Songti SC","SimSun","Noto Serif SC",serif;--font-body:"Inter","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC",sans-serif}
html:lang(ko){--font-display:"Fraunces","AppleMyungjo","Batang","Noto Serif KR",serif;--font-body:"Inter","Apple SD Gothic Neo","Malgun Gothic","Noto Sans KR",sans-serif}
html:lang(ar){--font-display:"Fraunces","Noto Naskh Arabic","Geeza Pro","Traditional Arabic",serif;--font-body:"Inter","Noto Sans Arabic","Geeza Pro","Segoe UI","Tahoma",sans-serif}
html:lang(ja) em,html:lang(zh-CN) em,html:lang(ko) em,html:lang(ar) em,html:lang(ja) i,html:lang(zh-CN) i,html:lang(ko) i,html:lang(ar) i{font-style:normal}
html:lang(ja) body,html:lang(zh-CN) body{line-break:strict;word-break:normal;overflow-wrap:anywhere}
html:lang(ko) body{word-break:keep-all;overflow-wrap:anywhere}
html[dir="rtl"] *{letter-spacing:0!important}
html[dir="rtl"] .ar{display:inline-block;transform:scaleX(-1)}
html[dir="rtl"] body{text-align:right}
