/* HUG languages: base links remain usable without JavaScript. */
#hug-language-v1{position:relative;z-index:8;box-sizing:border-box;display:flex;justify-content:flex-end;align-items:center;gap:.25rem;padding:0 max(1rem,env(safe-area-inset-right));font:650 14px/1.25 system-ui,sans-serif}
#hug-language-v1>a{display:inline-grid;place-items:center;min-width:44px;min-height:44px;color:#fff;background:#151e34;border-radius:50%;text-decoration:none}
#hug-language-v1>a[aria-current=page]{color:#d9ff9f}
#hug-language-v1.hug-lang-enhanced{--hug-lang-accent:#bceafa;--hug-lang-edge:#394861;--hug-lang-ink:#e9f0fc;--hug-lang-bg:#121a2d;flex:none;justify-content:flex-end}
#hug-language-v1.hug-lang-enhanced:has(+header .navigation),
#hug-language-v1.hug-lang-enhanced.hug-lang-inline:where(.navigation *){--hug-lang-accent:#ccf887}
#hug-language-v1.hug-lang-inline{padding:0;margin-inline-start:clamp(4px,1vw,14px);isolation:isolate}
#hug-language-v1.hug-lang-inline:has(+button){margin-inline-start:auto;margin-inline-end:clamp(4px,2vw,10px)}
#hug-language-v1.hug-lang-enhanced>span{display:none!important}
#hug-language-v1 .hug-lang-trigger{appearance:none;display:flex;align-items:center;justify-content:center;gap:5px;box-sizing:border-box;min-height:44px;min-width:68px;padding:0 8px;background:var(--hug-lang-bg);border:1px solid var(--hug-lang-edge);border-radius:24px;color:var(--hug-lang-accent);font:700 14px/1.1 system-ui,sans-serif;letter-spacing:.03em;cursor:pointer;white-space:nowrap}
#hug-language-v1 .hug-lang-trigger svg{display:block;width:16px;height:16px;flex:none}
#hug-language-v1 .hug-lang-trigger .hug-lang-chevron{width:11px;height:11px;opacity:.82}
#hug-language-v1 .hug-lang-trigger[aria-expanded=true]{border-color:var(--hug-lang-accent)}
#hug-language-v1 .hug-lang-trigger[aria-expanded=true] .hug-lang-chevron{transform:rotate(180deg)}
#hug-language-v1 #hug-lang-options{box-sizing:border-box;position:absolute;z-index:1;top:calc(100% + 6px);inset-inline-end:0;min-width:166px;max-width:calc(100vw - 24px);padding:5px;border:1px solid var(--hug-lang-edge);border-radius:15px;background:#10182c;box-shadow:0 12px 30px #060a17a8}
#hug-language-v1:not(.hug-lang-inline) #hug-lang-options{inset-inline-end:max(1rem,env(safe-area-inset-right))}
#hug-language-v1 #hug-lang-options[hidden]{display:none!important}
#hug-language-v1 #hug-lang-options a{display:flex;align-items:center;justify-content:space-between;gap:.65rem;min-height:44px;padding:0 12px;border-radius:10px;text-decoration:none;color:var(--hug-lang-ink);white-space:nowrap;letter-spacing:normal;font:650 14px/1.25 system-ui,sans-serif}
#hug-language-v1 #hug-lang-options a[aria-current=page]{background:#1f2c43;color:var(--hug-lang-accent)}
#hug-language-v1 #hug-lang-options a[aria-current=page]::after{content:'✓';color:var(--hug-lang-accent);font-weight:800}
#hug-language-v1 #hug-lang-options a:hover{background:#23324d}
#hug-language-v1 :is(a,button):focus-visible{outline:2px solid var(--hug-lang-accent,#a4efff);outline-offset:2px}
/* Keep the Games desktop header on one row at tablet widths. */
@media (min-width:801px) and (max-width:1200px){
 .navigation:has(> #hug-language-v1) > .nav-links{gap:clamp(6px,1.25vw,15px);min-width:0}
 .navigation:has(> #hug-language-v1) > .nav-links .nav-cta{padding-inline:10px}
}
