.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border-radius: var(--radius-pill);
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
}

.lang-switch__btn {
    appearance: none;
    background: transparent;
    border: none;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font: inherit;
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    color: var(--color-text-muted);
    cursor: pointer;
    line-height: 1;
    letter-spacing: 0.04em;
    transition: background var(--dur-fast) var(--ease-out),
                color var(--dur-fast) var(--ease-out);
}

.lang-switch__btn:hover {
    color: var(--color-text);
}

.lang-switch__btn.is-active {
    background: var(--color-text);
    color: var(--color-text-inverse);
    cursor: default;
}

.lang-switch--md .lang-switch__btn {
    padding: 6px 14px;
    font-size: var(--fs-sm);
}
