.sb-language-toolbar {
    position: relative;
    z-index: 10010;
    display: flex;
    justify-content: flex-end;
    padding: 7px max(18px, calc((100% - 1140px) / 2));
    min-height: 52px;
    background: #101116;
    border-bottom: 1px solid #252833;
}
.sb-languages { position: relative; width: 200px; color: #f4f5f8; font-family: inherit; }
.sb-languages summary {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 7px 11px;
    background: #20242e;
    border: 1px solid #3c4350;
    border-left: 3px solid #dd163b;
    border-radius: 0;
    cursor: pointer;
    list-style: none;
    transition: background .15s, border-color .15s;
}
.sb-languages summary::-webkit-details-marker { display: none; }
.sb-languages summary:hover, .sb-languages[open] summary { background: #292e3a; border-color: #dd163b; }
.sb-language-globe { flex: 0 0 19px; width: 19px; height: 19px; color: #ff4467; }
.sb-language-current { flex: 1; font-size: 12px; font-weight: 700; line-height: 1.5; }
.sb-language-code { color: #b6becd; font-size: 10px; font-weight: 700; letter-spacing: 1px; }
.sb-language-chevron { width: 13px; height: 13px; flex: 0 0 13px; transition: transform .15s; }
.sb-languages[open] .sb-language-chevron { transform: rotate(180deg); }
.sb-languages ul {
    position: absolute;
    right: 0;
    top: 100%;
    width: 246px;
    max-width: calc(100vw - 30px);
    margin: 7px 0 0;
    padding: 5px;
    list-style: none;
    background: #1c2029;
    border: 1px solid #3c4350;
    border-top: 3px solid #dd163b;
    box-shadow: 0 12px 30px #0009;
}
.sb-languages li { margin: 0; padding: 0; }
.sb-languages a {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 44px;
    padding: 9px 11px;
    border-left: 2px solid transparent;
    color: #e6e9ef;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}
.sb-language-option-code { min-width: 24px; color: #909bad; font-size: 10px; font-weight: 700; letter-spacing: 1px; }
.sb-languages a:hover, .sb-languages a:focus-visible { color: white; background: #303644; }
.sb-languages a[aria-current] { border-left-color: #dd163b; color: white; background: #292f3c; }
.sb-languages a[aria-current] .sb-language-option-code { color: #ff4467; }
.sb-language-check { width: 17px; height: 17px; margin-left: auto; color: #ff4467; visibility: hidden; }
.sb-languages a[aria-current] .sb-language-check { visibility: visible; }
.sb-languages summary:focus-visible, .sb-languages a:focus-visible { outline: 2px solid #ff4467; outline-offset: 2px; }
.nk-nav-table .nk-nav > li > a { padding-left: 15px; padding-right: 15px; }
@media (max-width: 600px) {
    .sb-language-toolbar { padding: 6px 15px; min-height: 50px; }
    .sb-languages { width: 188px; }
}
@media (prefers-reduced-motion: reduce) {
    .sb-languages summary, .sb-language-chevron { transition: none; }
}
