.language-bar {
    position: fixed;
    right: clamp(14px, 2vw, 28px);
    bottom: clamp(58px, 8vh, 82px);
    z-index: 2000;
    display: flex;
    gap: 4px;
    padding: 5px;
    border: 1px solid rgba(184, 135, 18, .28);
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 10px 30px rgba(9, 15, 24, .16);
    backdrop-filter: blur(12px);
}

.language-bar button {
    min-width: 38px;
    min-height: 34px;
    padding: 0 9px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #5c5d5f;
    font: 500 .72rem/1 'Albert Sans', sans-serif;
    letter-spacing: .08em;
    cursor: pointer;
}

.language-bar button.active {
    background: #181a1d;
    color: #fff;
}

.language-bar button:focus-visible {
    outline: 2px solid #b88712;
    outline-offset: 2px;
}

/* Home has a fixed HUD footer, so keep its language switch above that footer. */
.home-language-bar {
    bottom: calc(var(--hud-h, 60px) + 14px);
}
