/* Shared language control for standalone games; detached from game-specific layout. */
.site-lang-picker {position:fixed;top:calc(76px + env(safe-area-inset-top,0px));right:max(12px,env(safe-area-inset-right,0px));z-index:1000;width:max-content;max-width:calc(100vw - 24px);font:600 12px/1.4 system-ui,'Apple SD Gothic Neo',sans-serif;color:#ecf5e6;isolation:isolate}
.site-lang-picker summary {display:flex;align-items:center;justify-content:center;gap:7px;list-style:none;cursor:pointer;user-select:none;min-height:36px;padding:7px 11px;border-radius:10px;border:1px solid #6c8e84;background:#142e35f2;box-shadow:0 4px 14px #07172199}
.site-lang-picker summary::-webkit-details-marker{display:none}.site-lang-picker summary:focus-visible,.site-lang-picker button:focus-visible{outline:2px solid #d4ee9b;outline-offset:2px}
.site-lang-chevron{font-size:15px;opacity:.8}.site-lang-picker[open] .site-lang-chevron{transform:rotate(180deg)}
.site-lang-choices{position:absolute;top:calc(100% + 6px);right:0;min-width:134px;padding:5px;border-radius:11px;background:#152b32;border:1px solid #5a7a72;box-shadow:0 10px 26px #06131ac7}
.site-lang-choices button{display:block;width:100%;min-height:39px;text-align:left;padding:8px 12px;border:0;border-radius:7px;background:transparent;color:#e0ecdd;cursor:pointer;font:inherit}
.site-lang-choices button[aria-pressed="true"]{background:#d6ec9e;color:#19372e}.site-lang-choices button:hover:not([aria-pressed="true"]){background:#2f4a49}
@media(max-width:480px){.site-lang-picker{top:calc(69px + env(safe-area-inset-top,0px));right:9px}.site-lang-picker summary{min-height:33px;padding:6px 9px}.site-lang-choices{min-width:120px}}
