body .topbar #language-toggle{width:36px;height:40px;min-width:36px;min-height:40px;display:grid;place-items:center;padding:7px 4px;border:0;border-radius:10px;flex:none;background:transparent;color:var(--hud-text)}
#language-toggle svg{width:25px;height:17px;display:block;border:1px solid #ffffff40;border-radius:3px;box-sizing:content-box}
body .language-settings{position:fixed;top:66px;bottom:auto;left:auto;right:max(12px,env(safe-area-inset-right));margin:0;width:min(340px,calc(100vw - 24px));max-height:calc(100dvh - 86px);overflow:auto;box-sizing:border-box;padding:20px;border:1px solid var(--hud-edge);border-radius:20px;background:#242a27ed;color:var(--hud-text);box-shadow:0 12px 36px #0003;font-family:var(--ui-font);backdrop-filter:var(--hud-blur);-webkit-backdrop-filter:var(--hud-blur)}
.language-settings::backdrop{background:#11181238}.language-settings header{display:flex;align-items:center;justify-content:space-between;gap:10px}.language-settings h2{font-size:18px;font-weight:600;margin:0}.language-settings p{font-size:12px;line-height:1.7;color:var(--hud-muted);margin:10px 0 18px;word-break:keep-all}
body .language-settings .language-close{width:36px;height:36px;min-height:36px;padding:0;border-radius:10px;font-size:25px;flex:none;backdrop-filter:none;-webkit-backdrop-filter:none}.language-options{display:grid;gap:8px}body .language-options button{display:flex;align-items:center;gap:12px;min-height:48px;padding:10px 13px;border:1px solid #ffffff25;border-radius:12px;text-align:left;background:#ffffff08!important;color:var(--hud-text);font-size:14px;backdrop-filter:none;-webkit-backdrop-filter:none}.language-options button[aria-pressed=true]{border-color:#dfd8caa0;background:#dfd8ca14!important}.language-options svg{width:30px;height:20px;flex:none;border-radius:2px}.language-selected{margin-left:auto;color:#dfd8ca}
@media(max-width:600px){body .topbar{gap:1px}body .topbar #language-toggle{width:32px;min-width:32px;height:38px;min-height:38px;padding:4px 3px}body .topbar :is(#account-button,#help){width:34px;min-width:34px;height:40px;min-height:40px;padding:6px}body .topbar .brand{font-size:16px;margin:0 2px}body .topbar .brand svg{width:21px}body .topbar .presence-button{min-width:0;font-size:10px;gap:4px;padding:4px 2px}body .topbar #zones{font-size:10px;padding:4px}body .language-settings{top:65px;right:10px;width:calc(100vw - 20px);max-width:340px}}
@media(max-width:380px){body .topbar #zones{display:none}}
@media(max-width:600px){html:not([lang=ko]) body .dock button{grid-template-rows:22px 22px;gap:2px;padding:4px 2px;height:56px;min-height:56px;font-size:9px}html:not([lang=ko]) body .dock button>span:last-child{width:100%;max-width:100%;white-space:normal;line-height:1.15;overflow-wrap:normal;align-self:center}html:not([lang=ko]) body :is(#go-baby,#tree-entry,#pebble-zone,#constellation-entry)>span:last-child{white-space:normal;max-width:100%;font-size:8px;line-height:1.05}}
@media(max-width:600px){body[data-scene=snow] #allocation-launcher{bottom:calc(150px + env(safe-area-inset-bottom))}}

.language-settings p.language-source{margin:14px 0 0;font-size:10px;line-height:1.5}.language-source a{color:inherit;text-underline-offset:2px}
