.micro-app-messenger-container-flex {
    display: none
}

.top-bar {
    position: fixed;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 48px;
    padding-left: 52px;
    padding-right: 16px;
    background-color: var(--gray-900);
    z-index: var(--top-bar)
}

@media (max-width: 1139px) {
    .profile-page .top-bar {
        display: none
    }
}

@media (min-width: 1140px) {
    .top-bar {
        height: 52px;
        padding-left: 60px;
        padding-right: 20px
    }
}

@media (min-width: 1628px) {
    .top-bar {
        height: 60px;
        width: 100%;
        max-width: 1920px;
        padding-left: 24px;
        padding-right: 24px;
        z-index: 16
    }

    .sport-page .top-bar {
        padding-left: 60px
    }
}

.top-bar--cashout {
    z-index: var(--top-bar-hidden)
}

@media (min-width: 1140px) {
    .top-bar--opened {
        width: calc(100% - var(--menu-burger-width));
        transform: translateX(var(--menu-burger-width));
        margin: 0 auto
    }
}

@media (min-width: 1920px) {
    .top-bar--opened {
        width: calc(1920px - var(--menu-burger-width))
    }
}

.top-bar__left {
    display: flex;
    align-items: center;
    flex-grow: 1
}

@media (min-width: 1140px) {
    .top-bar__left {
        gap: 20px
    }
}

@media (min-width: 1628px) {
    .top-bar__left {
        gap: 24px
    }
}

.top-bar__logo {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-grow: 1;
    max-width: 60px;
    border-bottom: 0 none;
    cursor: pointer
}

@media (max-width: 639px) {
    .top-bar--opened.top-bar--player-auth .top-bar__logo {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate3d(-50%, -50%, 0)
    }
}

@media (min-width: 1140px) {
    .top-bar__logo {
        height: 44px;
        max-width: 70px
    }
}

@media (min-width: 1628px) {
    .top-bar__logo {
        height: 60px
    }
}

@media (min-width: 1628px) {
    .top-bar__logo:not(.sport-page .top-bar__logo) {
        max-width: 240px;
        margin-left: -24px;
        padding-left: 24px;
        background-color: var(--cool-gray-850)
    }

    .top-bar--fixed .top-bar__logo:not(.sport-page .top-bar__logo) {
        background-color: var(--gray-900)
    }
}

.top-bar__logo-img {
    width: 100%;
    height: 24px
}

@media (min-width: 1140px) {
    .top-bar__logo-img {
        height: 28px
    }
}

@media (min-width: 1628px) {
    .top-bar__logo-img {
        max-width: 70px
    }
}

.top-bar__search-btn {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100vw;
    height: 40px;
    max-width: 193px;
    padding: 10px 22px 10px 8px;
    background-color: transparent;
    background-image: none;
    color: var(--gray-400);
    border-radius: 8px;
    font-size: 14px;
    line-height: 20px;
    border: 1px solid var(--gray-400);
    text-transform: inherit;
    cursor: pointer
}

.no-touch .top-bar__search-btn:hover {
    background-image: none;
    background-color: var(--cool-gray-850);
    cursor: text
}

.top-bar__search-btn:active {
    background-image: none;
    background-color: var(--gray-700)
}

@media (min-width: 1628px) {
    .top-bar__search-btn {
        height: 44px;
        padding: 12px 18px 12px 12px
    }
}

.top-bar__search-icon {
    width: 17px;
    height: auto;
    flex-shrink: 0;
    color: var(--gray-400);
    transition: all .2s ease-out
}

.top-bar__search-btn-text {
    max-width: 100%;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-left: 10px;
    letter-spacing: normal
}

.top-bar__right {
    display: flex;
    transition: all .2s ease-out
}

@media (max-width: 639px) {
    .top-bar--opened.top-bar--player-auth .top-bar__right {
        opacity: 0
    }
}

.top-bar__menu {
    display: flex;
    align-items: center;
    gap: 12px
}

.top-bar__menu-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    color: var(--gray-300);
    border-radius: 8px;
    background-color: transparent;
    cursor: pointer
}

@media (min-width: 1628px) {
    .top-bar__menu-link {
        padding: 12px 28px
    }
}

.no-touch .top-bar__menu-link:hover, .top-bar__menu-link .top-bar__menu-link--active {
    background-color: var(--cool-gray-850)
}

.top-bar__menu-link.top-bar__menu-link--active {
    color: var(--white);
    background-color: var(--gray-700)
}

.top-bar__menu-icon {
    width: 24px;
    height: 24px;
    padding: 2px;
    color: var(--gray-300)
}

.top-bar__menu-link--active .top-bar__menu-icon, .top-bar__menu-link:hover .top-bar__menu-icon {
    color: var(--cuprum-50)
}

@media (max-width: 500px) {

   .top-bar{
       padding-left: 16px;
   }


}
