/* Locale typography: keep the original Chinese edition and dark artwork intact. */
html[lang="en"]{--locale-serif:Georgia,"Times New Roman",serif;--locale-sans:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
html[lang="ja"]{--locale-serif:"Hiragino Mincho ProN","Yu Mincho","Noto Serif CJK JP",serif;--locale-sans:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic","Noto Sans CJK JP",sans-serif}
html:is([lang="en"],[lang="ja"]) :is(.archive-case,.street-quick,.moor-quick,.signal-quick,.skywalk-quick,.fairy-quick,.murdle-page,.linked-lab,.linked-library){--archive-serif:var(--locale-serif);--moor-serif:var(--locale-serif);--signal-serif:var(--locale-serif);--sky-serif:var(--locale-serif);--fairy-serif:var(--locale-serif);font-family:var(--locale-sans)}
html:is([lang="en"],[lang="ja"]) :is(h1,h2,h3,.murdle-answer-key strong,.backlot-note-words){font-family:var(--locale-serif);overflow-wrap:break-word}
html[lang="en"] :is(.murdle-heading h1,.murdle-ending h1,.murdle-feature h2){letter-spacing:.015em}
html:is([lang="en"],[lang="ja"]) .murdle-grid :is(th,caption){overflow-wrap:anywhere;hyphens:auto}
html:is([lang="en"],[lang="ja"]) .murdle-grid :is(thead td,tbody th){width:70px}
html:is([lang="en"],[lang="ja"]) .murdle-grid tbody th{font-size:.8125rem;line-height:1.5}
html:is([lang="en"],[lang="ja"]) .backlot-note-words{letter-spacing:.04em;line-height:1.85}
html:is([lang="en"],[lang="ja"]) .backlot-note-words span{min-width:0;max-width:100%;overflow-wrap:anywhere;white-space:normal}
/* SVG labels retain their original coordinates and stay clear of structural lines. */
html[lang="en"] .sky-drawing .sky-floor{font-size:20px}
html[lang="en"] .sky-hall-graphic .hall-third-label{font-size:25px}
html[lang="en"] .sky-hall-graphic .hall-ground-label{font-size:26px}
html[lang="en"] .connection-callouts text{font-size:20px}
html[lang="en"] .sky-follow-labels text{font-size:20px}
html[lang="en"] .sky-follow-callout-label{font-size:20px}
html[lang="ja"] .sky-hall-graphic .hall-third-label{font-size:28px}
html[lang="ja"] .sky-follow-callout-label{font-size:23px}
@media(max-width:680px){
 html:is([lang="en"],[lang="ja"]) .murdle-grid :is(thead td,tbody th){width:58px}
 html:is([lang="en"],[lang="ja"]) .murdle-grid thead th{font-size:.8125rem;line-height:1.5;padding:0 3px 8px}
 html:is([lang="en"],[lang="ja"]) .backlot-note-words{font-size:1rem}
 html[lang="en"] .murdle-page .murdle-progress button{font-size:.8125rem;overflow-wrap:break-word}
}
