.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.2rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.language-switcher__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.language-switcher__button {
    min-width: 2.6rem;
    padding: 0.3rem 0.55rem;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #cbd5e1;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.language-switcher__button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.language-switcher__button:focus-visible {
    outline: 2px solid #34d399;
    outline-offset: 2px;
}

.language-switcher__button.is-active {
    background: #10b981;
    color: #fff;
}

@media (max-width: 768px) {
    .language-switcher__button {
        min-width: 2.3rem;
        padding-inline: 0.4rem;
    }
}
