.vaph-language-switcher {
    --vaph-gold: #be9f56;
    --vaph-ink: #152d3d;
    --vaph-wine: #5b1224;
    position: fixed;
    z-index: 9997;
    right: 18px;
    bottom: 18px;
    font-family: inherit;
    font-size: 12px;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}

.vaph-language-switcher__desktop {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 4px 5px;
    border: 1px solid rgba(190, 159, 86, .8);
    border-radius: 999px;
    background: rgba(21, 45, 61, .94);
    box-shadow: 0 9px 26px rgba(20, 15, 17, .24), inset 0 1px 0 rgba(255, 255, 255, .08);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.vaph-language-switcher__spark {
    display: grid;
    width: 24px;
    height: 28px;
    place-items: center;
    color: #e4ca78;
    font-size: 14px;
    text-shadow: 0 0 10px rgba(228, 202, 120, .72);
}

.vaph-language-switcher__item {
    box-sizing: border-box;
    display: inline-flex;
    min-width: 31px;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border: 0;
    border-radius: 999px;
    color: rgba(255, 255, 255, .82);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.vaph-language-switcher a.vaph-language-switcher__item:hover,
.vaph-language-switcher a.vaph-language-switcher__item:focus-visible {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    outline: 1px solid rgba(228, 202, 120, .6);
    outline-offset: 1px;
    transform: translateY(-1px);
}

.vaph-language-switcher__item.is-active {
    background: linear-gradient(135deg, #d2b969, var(--vaph-gold));
    color: #142b39;
    box-shadow: 0 3px 10px rgba(190, 159, 86, .28), inset 0 1px 0 rgba(255, 255, 255, .45);
}

.vaph-language-switcher__mobile {
    display: none;
    position: relative;
}

.vaph-language-switcher__mobile summary {
    box-sizing: border-box;
    display: flex;
    min-width: 74px;
    height: 42px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 4px 9px 4px 5px;
    border: 1px solid rgba(190, 159, 86, .86);
    border-radius: 999px;
    background: rgba(21, 45, 61, .96);
    box-shadow: 0 8px 22px rgba(20, 15, 17, .25), inset 0 1px 0 rgba(255, 255, 255, .08);
    color: #fff;
    cursor: pointer;
    list-style: none;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.vaph-language-switcher__mobile summary::-webkit-details-marker {
    display: none;
}

.vaph-language-switcher__mobile summary:focus-visible {
    outline: 2px solid #e4ca78;
    outline-offset: 3px;
}

.vaph-language-switcher__mobile summary .vaph-language-switcher__spark {
    width: 20px;
    height: 28px;
}

.vaph-language-switcher__mobile summary strong {
    font-size: 12px;
    letter-spacing: .08em;
}

.vaph-language-switcher__chevron {
    width: 6px;
    height: 6px;
    border-right: 1.5px solid var(--vaph-gold);
    border-bottom: 1.5px solid var(--vaph-gold);
    transform: translateY(2px) rotate(225deg);
    transition: transform .2s ease;
}

.vaph-language-switcher__mobile[open] .vaph-language-switcher__chevron {
    transform: translateY(-2px) rotate(45deg);
}

.vaph-language-switcher__panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 9px);
    display: grid;
    width: 190px;
    gap: 3px;
    padding: 12px;
    border: 1px solid rgba(190, 159, 86, .76);
    border-radius: 17px;
    background: linear-gradient(145deg, rgba(21, 45, 61, .98), rgba(68, 23, 36, .98));
    box-shadow: 0 18px 38px rgba(20, 15, 17, .34), inset 0 1px 0 rgba(255, 255, 255, .08);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.vaph-language-switcher__panel small {
    padding: 2px 10px 7px;
    color: #d8bc68;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .18em;
}

.vaph-language-switcher__panel .vaph-language-switcher__item {
    width: 100%;
    min-height: 38px;
    justify-content: flex-start;
    padding: 0 11px;
    font-size: 12px;
    letter-spacing: .03em;
    text-transform: none;
}

.vaph-language-switcher__panel .vaph-language-switcher__item.is-active {
    color: #142b39;
}

@media (max-width: 989px) {
    .vaph-language-switcher {
        right: 10px;
        bottom: 18px;
    }

    .vaph-language-switcher__desktop {
        display: none;
    }

    .vaph-language-switcher__mobile {
        display: block;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vaph-language-switcher *,
    .vaph-language-switcher *::before,
    .vaph-language-switcher *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
