.bk-translate {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 100000;
    min-width: 44px;
    text-align: center;
    background: rgba(157,157,157,.3);
    background: transparent;
    perspective: 700px
}

.bk-translate__current,.bk-translate__link {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
    width: 100%;
    min-height: 30px;
    padding: 0 8px;
    border: 0;
    background: transparent;
    color: #27c148;
    font: inherit;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box
}

.bk-translate__current {
    justify-content: center
}

.bk-translate__link[hidden] {
    /*display: none!important*/
}

.bk-translate img {
    display: block;
    width: 30px;
    height: 20px;
    object-fit: cover;
    flex: 0 0 auto
}

.bk-translate__current .bk-translate__label {
    display: none
}

.bk-translate__list {
    position: absolute;
    bottom: 100%;
    right: 0;
    display: flex;
    visibility: hidden;
    opacity: 0;
    transform: rotateX(-90deg);
    transform-origin: center top;
    flex-direction: column;
    min-width: 170px;
    max-height: 360px;
    overflow: auto;
    padding: 4px;
    background: #fff;
    background: var(--card_bg_black,#fff);
    box-shadow: 0 5px 20px rgba(0,0,0,.15);
    transition: .3s;
    box-sizing: border-box
}

.bk-translate:hover .bk-translate__list,.bk-translate:focus-within .bk-translate__list {
    visibility: visible;
    opacity: 1;
    transform: rotateX(0)
}

.bk-translate__link:hover,.bk-translate__link:focus {
    background: rgba(127,127,127,.15)
}
