.sb_logo_block {
    position: absolute;
    height: 72px;
    width: 100%;
    z-index: 1;
}

.sb_logo_block .header_logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
}

.header__burger-wrapper {
    z-index: 1;
}

.store__card-top {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 501px;
}

.sb_mobi_ver {
    display: none;
}

.burger-menu__card-add-link {
    z-index: 100;
}

@media (max-width: 769px) {
    .store__card-top {

        height: 430px;
    }

    .crew__card-info {
        max-width: 335px;
        top: 300px;
        /*left: 27px;*/
    }

    .crew__card-number {
        opacity: 1;
    }

    .history-tabs__top-background.sb_mobi_ver {
        height: 100%;
        left: 0;
        -o-object-fit: cover;
        object-fit: cover;
        -o-object-position: 50% 0;
        object-position: 50% 0;
        position: absolute;
        top: 0;
        width: 100%;
    }

    .history-tabs .history-tabs__top {
        min-height: 589px;
    }


    .crew__card-info {
        position: relative;
        overflow: hidden;
    }

    .crew__card-info::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 140px; /* Высота градиента */
        background: linear-gradient(
                0deg, black, transparent);

    rgba(0, 0, 0, 0.8) 100 %,
    z-index: 1;
    }

    /* Чтобы содержимое было выше градиента */
    .crew__card-info > * {
        position: relative;
        z-index: 2;
    }

    .crew__background {
        display: none;
    }

    .crew__cards-arrow {
        top: 100px;
    }

    .crew__text-box {
        margin-bottom: 0px;
    }

    .burger-menu__social-item img {
        max-width: 24px;
    }
}

@media (max-width: 460px) {
    .sb_pc_ver {
        display: none;
    }

    .sb_mobi_ver {
        display: block;
    }

    .crew__card-profile {
        position: absolute;
        /*left: 35px;*/
    }

    .history-tabs__top {
        position: relative;
        overflow: hidden; /* Чтобы градиенты не выходили за пределы блока */
    }

    .history-tabs__top-background {
        width: 100%;
        height: auto;
        display: block;
    }

    /* Затемнение сверху */
    .history-tabs__top::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 150px;
        background: linear-gradient(to bottom,
        rgba(0, 0, 0, 1), rgba(0, 0, 0, 0)
        );
        pointer-events: none;
        z-index: 1;
    }

    /* Затемнение снизу */
    .history-tabs__top::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 150px;
        background: linear-gradient(to top,
        rgba(0, 0, 0, 1), rgba(0, 0, 0, 0)
        );
        pointer-events: none;
        z-index: 1;
    }
}

@media (max-width: 376px) {
    .store__card {
        max-width: 340px;
        min-width: 340px;
    }

    .crew__card-achievements-box {
        border-top: 1px solid #333333;
    }
}

@media (max-width: 599px) {
    .standings__content.standings__content_active {
        overflow: scroll;
    }

    .standings__content.standings__content_active .standings__table {
        width: 615px;
    }

    .standings__cell-img.sb_scroll {
        position: absolute;
    }

    /* Фиксация второго столбца (команда) */
    .standings__cell.sb_scroll_second {
        position: sticky !important;
        left: 40px !important;
        z-index: 5 !important;
    }

    .standings__column.sb_scroll_second,
    .standings__cell.sb_scroll_second,
    .standings__cell.sb_scroll_second .standings__cell-name {
        background: #151515 !important;
    }

    .football-player-form__bottom-input.football-player-form__input-box .football-player-form__error-message{
        bottom: -50px;
    }
}

.gallery-sliders__slider-main-wrapper.swiper-wrapper,
.gallery-sliders__img {
    height: 100%;
}

.standings__row.torpedo .standings__cell-name {
    background: rgb(0 41 4) !important;
}

.burger-menu__card-heading {
    z-index: 100;
}

.crew__arrow {
    height: 100%;
    width: 30px;
}

.academy-tabs__button {
    text-decoration: none;
}

.history-tabs__button {
    text-decoration: none;
}

.matches-page.matches-swiper-container:not(.swiper-initialized),
.calendar-swiper:not(.swiper-initialized) {
    opacity: 0;
}

.matches-page.matches-swiper-container.swiper-initialized,
.calendar-swiper.swiper-initialized {
    opacity: 1;
}

@media (max-width: 1024px) {
    .burger-menu {
        height: 100vh;
        height: 100svh;
        height: 100dvh;
        height: var(--app-height, 100dvh);
        max-height: 100vh;
        max-height: 100svh;
        max-height: 100dvh;
        max-height: var(--app-height, 100dvh);
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .burger-menu__container {
        min-height: 100%;
    }

    .burger-menu__cards {
        min-height: 100%;
        padding-bottom: 0;
    }

    .burger-menu__social-wrap {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

@supports (-webkit-touch-callout: none) {
    .gallery-sliders {
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
        height: 100vh;
        height: 100svh;
        height: 100dvh;
        height: var(--app-height, 100dvh);
    }

    .gallery-sliders__img,
    .gallery-sliders__slider-main-slide-wrapper {
        -webkit-mask-image: none;
        mask-image: none;
    }
}
