diff --git a/styles.css b/styles.css index 8f2f61e..1e7c23c 100644 --- a/styles.css +++ b/styles.css @@ -5698,6 +5698,11 @@ input:checked + .slider::before { container-name: sidepanel; } +/* Force Japanese font shaping so kanji like 刀 render as Japanese glyphs, not simplified Chinese */ +am-lyrics { + font-language-override: 'JA'; +} + @container sidepanel (min-width: 500px) { .panel-content am-lyrics { --lyplus-font-size-base: 36px; @@ -10982,6 +10987,9 @@ body:has(#side-panel.active) #close-fullscreen-cover-btn { 'Noto Sans Malayalam', 'Noto Sans Sinhala', 'Noto Sans Khmer', 'Noto Sans Lao', 'Noto Sans Myanmar', 'Noto Sans Georgian', 'Noto Sans Armenian', 'Noto Sans Ethiopic', system-ui, sans-serif; + /* Force Japanese font shaping so kanji like 刀 render as Japanese, not simplified Chinese */ + font-language-override: 'JA'; + --lyplus-font-size-base: clamp(34px, 3vw, 52px); --lyplus-padding-line: 8px; --lyplus-text-color: rgb(246, 244, 239, 0.08);