.jary-language-switcher {
    position: fixed;
    top: 50%;
    right: 12px;
    z-index: 10050;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 7px;
    border: 1px solid rgba(24, 36, 45, 0.22);
    border-radius: 999px;
    background: rgba(247, 243, 234, 0.94);
    box-shadow: 0 8px 26px rgba(20, 25, 28, 0.16);
    transform: translateY(-50%);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.jary-language-switcher button {
    display: grid;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(24, 36, 45, 0.2);
    border-radius: 50%;
    background: transparent;
    color: #1c252b;
    cursor: pointer;
    font: 700 10px/1 "PingFang SC", "Songti SC", sans-serif;
    letter-spacing: 0;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.jary-language-switcher button:hover {
    border-color: #173e58;
    transform: scale(1.05);
}

.jary-language-switcher button.is-active {
    border-color: #9c3027;
    background: #9c3027;
    color: #fff8e9;
}

.jary-language-switcher button[data-lang="en"] {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 9px;
}

html[lang="en"] .jary-language-switcher button {
    letter-spacing: 0;
}

@media (max-width: 720px) {
    .jary-language-switcher {
        right: 6px;
        gap: 5px;
        padding: 5px;
    }

    .jary-language-switcher button {
        width: 29px;
        height: 29px;
        font-size: 9px;
    }
}

@media print {
    .jary-language-switcher {
        display: none !important;
    }
}
