/* A quiet utility control, separate from the centered English navigation. */
.language-switcher{position:fixed;right:24px;bottom:30px;z-index:60;font:12px/1.2 'DM Sans',Arial,sans-serif;color:#fff;letter-spacing:0}
.language-switcher button{font:inherit;color:inherit;cursor:pointer;background:#0e0e0e;border:0;border-radius:0;box-sizing:border-box}
#language-toggle{display:flex;align-items:center;justify-content:center;gap:8px;min-width:84px;min-height:44px;padding:8px 10px;border:1px solid rgb(255 255 255 / 50%)}
#language-toggle svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1}
.language-chevron{font-size:13px;line-height:1}
#language-toggle:is(:hover,[aria-expanded=true]),.language-switcher button:focus-visible{color:#00ff18;border-color:#00ff18}
.language-switcher button:focus-visible{outline:1px solid #00ff18;outline-offset:3px}
#language-options{position:absolute;right:0;bottom:calc(100% + 8px);min-width:150px;max-height:calc(100dvh - 150px - env(safe-area-inset-bottom,0px));overflow-y:auto;padding:5px;background:#0e0e0e;border:1px solid #ffffff80;box-shadow:0 6px 24px #0008}
#language-options[hidden]{display:none}
#language-options button{display:flex;justify-content:space-between;gap:22px;text-align:left;width:100%;min-height:44px;padding:12px;font-family:Arial,'Microsoft JhengHei','Yu Gothic','Malgun Gothic',sans-serif;white-space:nowrap}
#language-options button span{visibility:hidden}
#language-options button[aria-checked=true]{color:#00ff18}
#language-options button[aria-checked=true] span{visibility:visible}
#language-options button:hover{color:#00ff18;background:#ffffff0a}
@media(max-width:900px){.language-switcher{right:10px;bottom:calc(76px + env(safe-area-inset-bottom,0px));font-size:11px}#language-toggle{min-width:78px}#language-options{min-width:150px}}
html[lang=zh-TW] main{font-family:'DM Sans','Noto Sans TC','Microsoft JhengHei',sans-serif}
html[lang=ja] main{font-family:'DM Sans','Yu Gothic','Hiragino Kaku Gothic ProN','Meiryo',sans-serif}
html[lang=ko] main{font-family:'DM Sans','Malgun Gothic','Apple SD Gothic Neo',sans-serif}
.game-page main{padding-bottom:110px}

/* Reading language above, ABOUT below; share the previous utility positions. */
body:not(.game-page) .language-switcher{top:20px;bottom:auto}
body:not(.game-page) #language-options{top:calc(100% + 8px);bottom:auto}
body[data-theme=cinema] .about-option{top:auto!important;bottom:30px!important;right:24px!important}
@media(max-width:900px){body[data-theme=cinema] .about-option{right:10px!important;bottom:calc(76px + env(safe-area-inset-bottom,0px))!important}}
@media(max-width:650px){body:not(.game-page) .language-switcher{top:18px}}

.nav-mobile-break{display:none}
@media(max-width:900px){body[data-theme=cinema] header #navigation{left:10px!important;right:86px!important;bottom:calc(16px + env(safe-area-inset-bottom,0px))!important;transform:none!important;width:auto!important;max-width:none!important;height:44px;display:grid!important;grid-template-columns:1fr 1.65fr 1.4fr .6fr;gap:10px!important;align-items:center}body[data-theme=cinema] header #navigation a{display:flex;align-items:center;justify-content:center;height:44px;padding:0!important;font-size:10px!important;line-height:1.2!important;text-align:center;white-space:normal}body[data-theme=cinema] .about-option{bottom:calc(16px + env(safe-area-inset-bottom,0px))!important;right:10px!important;width:64px;height:44px!important;padding:0!important;box-sizing:border-box;display:flex;justify-content:center;align-items:center;font-size:10px;line-height:1.2}.nav-mobile-break{display:block}}
.lynzi-work-return:is(:hover,:focus-visible) svg path,
:is(a,button):is(:hover,:focus-visible) svg path:is([d="M5 19L19 5M5 5h14v14"],[d="M12 3v18M4 13l8 8 8-8"],[d="M19 12H5M11 6l-6 6 6 6"]){stroke:#00ff18!important}
body .row:is(:hover,:focus-visible) .arrow{color:#00ff18!important}
