.pa-language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.pa-language-option {
    min-width: 34px;
    min-height: 28px;
    padding: 0 9px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #555;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
    touch-action: manipulation;
}

.pa-language-option:hover,
.pa-language-option:focus-visible {
    color: #000;
    background: rgba(0, 0, 0, 0.06);
    outline: none;
}

.pa-language-option:active {
    transform: scale(0.96);
}

.pa-language-option.is-active {
    background: #000;
    color: #fff;
}

.pa-language-separator {
    width: 1px;
    height: 14px;
    background: rgba(0, 0, 0, 0.14);
}

.landing-language-slot {
    position: absolute;
    top: 34px;
    right: 20px;
    z-index: 999;
}

.auth-language-slot {
    display: flex;
    justify-content: center;
    margin: 12px 0 2px;
}

.profile-language-field .field-val {
    display: flex;
    justify-content: flex-end;
    overflow: visible;
}

.profile-language-field .pa-language-switcher {
    box-shadow: none;
    background: #fff;
}

@media (max-width: 640px) {
    .pa-language-option {
        min-width: 32px;
        min-height: 28px;
        padding: 0 8px;
        font-size: 0.7rem;
    }

    .landing-language-slot {
        position: static;
        display: flex;
        justify-content: center;
        margin-top: 12px;
    }

    .auth-language-slot {
        margin-top: 10px;
    }

    .profile-language-field {
        align-items: center;
    }
}
