.lang-switch {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 30;
    margin: 0;
    font-family: inherit;
}

.lang-switch-current {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 72px;
    box-sizing: border-box;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.8);
    font-size: 14px;
    letter-spacing: 0.08em;
    line-height: 1;
}

.lang-switch-current::-webkit-details-marker {
    display: none;
}

.lang-switch-current::marker {
    content: "";
}

.lang-switch-chevron {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #ffffff;
}

.lang-switch[open] .lang-switch-chevron {
    transform: rotate(180deg);
}

.lang-switch-menu {
    margin: 6px 0 0;
    padding: 4px;
    list-style: none;
    background: rgba(0, 0, 0, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    min-width: 88px;
}

.lang-switch-menu a {
    display: block;
    padding: 8px 12px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    letter-spacing: 0.08em;
}

.lang-switch-menu a[aria-current="true"] {
    background: #f4c3cb;
    color: #1a1a1a;
}

.lang-switch-menu a:hover,
.lang-switch-menu a:focus {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.lang-switch-menu a[aria-current="true"]:hover,
.lang-switch-menu a[aria-current="true"]:focus {
    background: #f4c3cb;
    color: #1a1a1a;
}

@media only screen and (max-width: 667px) {
    .lang-switch {
        top: 12px;
        right: 12px;
    }
}
