.zhineng-lang {
    position: relative;
    z-index: 1000000;
}

.zhineng-lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 34px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #f4f7fb;
    padding: 0 4px;
    font-size: 13px;
    line-height: 1;
    font-weight: 850;
    box-shadow: none;
}

.zhineng-lang-toggle:hover,
.zhineng-lang.open .zhineng-lang-toggle {
    color: #8fb9ff;
    background: transparent;
    box-shadow: none;
}

.zhineng-lang-code {
    min-width: 18px;
    text-align: left;
    font-size: 12px;
    letter-spacing: 0;
}

.zhineng-lang-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 150px;
    display: none;
    padding: 10px;
    border: 1px solid #3d3d42;
    border-radius: 9px;
    background: #1f1f21;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .42);
}

.zhineng-lang.open .zhineng-lang-menu {
    display: block;
}

.zhineng-lang-title {
    margin: 0 0 8px;
    padding: 0 0 9px;
    border-bottom: 1px solid #414148;
    color: #9a9aa2;
    font-size: 10px;
    line-height: 1;
    font-weight: 750;
}

.zhineng-lang-list {
    display: grid;
    gap: 2px;
}

.zhineng-lang-item {
    display: grid;
    grid-template-columns: 1fr 8px;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 30px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #f5f5f7;
    padding: 0 6px;
    text-align: left;
    font-size: 12px;
    font-weight: 800;
}

.zhineng-lang-item:hover {
    background: #292a2f;
    color: #fff;
}

.zhineng-lang-item.active {
    color: #1683ff;
}

.zhineng-lang-item .native {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.zhineng-lang-item .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
}

.zhineng-lang-item.active .dot {
    background: #1683ff;
}

html[dir="rtl"] .zhineng-lang-menu {
    left: 0;
    right: auto;
}

#google_translate_element,
.goog-te-banner-frame,
.goog-te-balloon-frame,
.goog-te-gadget,
iframe.skiptranslate {
    display: none !important;
}

body {
    top: 0 !important;
}

font {
    background: transparent !important;
    box-shadow: none !important;
}

@media (max-width: 767.98px) {
    .zhineng-lang-menu {
        right: 0;
    }
}
