/* Fleep — мобильная шапка, баланс, нижняя навигация (owner ≤767px) */

@media (max-width: 767px) {
    body.fleep-ui {
        --fleep-header-h: 56px;
        --fleep-header-inner-h: 36px;
        --fleep-header-pad-y: 8px;
        --fleep-header-guest: 56px;
        --fleep-header-auth: 56px;
        --fleep-content-pad: 16px;
        --fleep-bg: #08090D;
    }

    html[data-theme="dark"] body.fleep-ui,
    html[data-theme="dark"] body.fleep-ui.cosmic-bg-disabled {
        background-color: #08090D !important;
        background-image: none !important;
    }

    html,
    html body.fleep-ui:not(.play-page-active) {
        overflow-x: hidden !important;
        overflow-y: auto !important;
        height: auto !important;
        min-height: 100% !important;
        max-height: none !important;
        touch-action: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    body.fleep-ui:not(.play-page-active) #casinoApp,
    body.fleep-ui:not(.play-page-active) .fleep-main-column,
    body.fleep-ui:not(.play-page-active) .casino-layout,
    body.fleep-ui:not(.play-page-active) #casinoMain,
    body.fleep-ui:not(.play-page-active) .casino-main {
        overflow: visible !important;
        overflow-x: hidden !important;
        overflow-y: visible !important;
        height: auto !important;
        max-height: none !important;
        min-height: 0 !important;
        touch-action: auto !important;
        -webkit-overflow-scrolling: auto !important;
        transform: none !important;
        filter: none !important;
        contain: none !important;
    }

    body.fleep-ui:not(.play-page-active) #casinoApp {
        display: block !important;
        min-height: 100% !important;
    }

    body.fleep-ui #casinoApp,
    body.fleep-ui .casino-main,
    body.fleep-ui #casinoMain,
    body.fleep-ui #pageHome,
    body.fleep-ui .fleep-home,
    body.fleep-ui .fleep-home__inner,
    body.fleep-ui .casino-footer.fleep-footer {
        background: transparent !important;
        background-image: none !important;
    }

    body.fleep-ui .casino-header.fleep-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        padding: env(safe-area-inset-top, 0px) 12px 0 !important;
        min-height: calc(56px + env(safe-area-inset-top, 0px)) !important;
        height: calc(56px + env(safe-area-inset-top, 0px)) !important;
        background: var(--fleep-bg, #08090D) !important;
        border-bottom: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 50 !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    body.fleep-ui .header-left,
    body.fleep-ui .fleep-header__start,
    body.fleep-ui .casino-header.fleep-header .header-left {
        flex: 0 0 auto !important;
        min-width: 0 !important;
        max-width: none !important;
        overflow: visible !important;
    }

    body.fleep-ui .header-brand-logo,
    body.fleep-ui .header-brand-logo.logo,
    body.fleep-ui .fleep-header__brand,
    body.fleep-ui .casino-header.fleep-header .header-brand-logo,
    body.fleep-ui .casino-header.fleep-header .logo.header-brand-logo {
        display: flex !important;
        align-items: center !important;
        flex: 0 0 auto !important;
        flex-shrink: 0 !important;
        min-width: 0 !important;
        max-width: none !important;
        width: auto !important;
        height: auto !important;
        min-height: 0 !important;
    }

    body.fleep-ui .fleep-header__logo-wrap,
    body.fleep-ui .casino-header.fleep-header .fleep-header__logo-wrap {
        width: auto !important;
        height: 28px !important;
        max-width: none !important;
    }

    body.fleep-ui .header-brand-logo .logo-img,
    body.fleep-ui .fleep-header__logo,
    body.fleep-ui .casino-header.fleep-header .fleep-header__logo,
    body.fleep-ui .casino-header.fleep-header .header-brand-logo .logo-img,
    body.fleep-ui .casino-header.fleep-header .logo.header-brand-logo .logo-img {
        display: block !important;
        flex-shrink: 0 !important;
        width: 126px !important;
        height: 28px !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: contain !important;
        object-position: left center !important;
    }

    body.fleep-ui .header-center,
    body.fleep-ui .fleep-header__end {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        display: flex !important;
        justify-content: flex-end !important;
        overflow: visible !important;
        max-width: 100% !important;
    }

    body.fleep-ui .header-center-dock {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex-wrap: nowrap !important;
        flex: 0 1 auto !important;
        gap: 6px !important;
        width: auto !important;
        max-width: 100% !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        overflow: visible !important;
    }

    body.fleep-ui .header-center-dock .header-buttons.hidden {
        display: none !important;
    }

    body.fleep-ui .header-center-dock #headerGuest.header-buttons:not(.hidden),
    body.fleep-ui .header-center-dock #headerAuth.header-buttons:not(.hidden) {
        display: inline-flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex: 0 1 auto !important;
        gap: 6px !important;
        min-width: 0 !important;
        width: auto !important;
        max-width: 100% !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    body.fleep-ui .header-balance-slot,
    body.fleep-ui .header-balance-slot.header-balance-slot--multi {
        min-width: 0 !important;
        flex: 0 1 auto !important;
        width: auto !important;
        max-width: 100% !important;
        display: flex !important;
        justify-content: flex-end !important;
        overflow: visible !important;
    }

    body.fleep-ui .header-balance-cluster {
        display: inline-flex !important;
        align-items: stretch !important;
        gap: 0 !important;
        min-width: 0 !important;
        width: auto !important;
        max-width: 100% !important;
        flex: 0 1 auto !important;
        height: 36px !important;
        overflow: hidden !important;
        background: var(--fleep-elevated, #1C1E22) !important;
        border-radius: 12px !important;
    }

    body.fleep-ui .header-balance-trigger,
    body.fleep-ui .header-center-dock .header-balance-trigger,
    body.fleep-ui .header-balance-slot--multi .header-balance-trigger {
        display: inline-flex !important;
        align-items: center !important;
        gap: 2px !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        min-height: 36px !important;
        height: 36px !important;
        padding: 0 8px 0 10px !important;
        border-radius: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        color: #fff !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        flex: 0 0 auto !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    body.fleep-ui .header-balance-trigger-icon {
        display: none !important;
    }

    body.fleep-ui .header-balance-trigger .header-balance-chevron {
        display: inline-flex !important;
        color: var(--fleep-text-muted, #9AA0A6) !important;
    }

    body.fleep-ui .header-balance-currency {
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #fff !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
    }

    body.fleep-ui .header-balance-amount,
    body.fleep-ui .header-balance-amount .balance-main {
        overflow: visible !important;
        text-overflow: clip !important;
        white-space: nowrap !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        font-variant-numeric: tabular-nums;
        color: #fff !important;
        line-height: 1 !important;
    }

    body.fleep-ui .header-balance-amount {
        display: inline-flex !important;
        align-items: baseline !important;
        gap: 3px !important;
    }

    body.fleep-ui .header-balance-trigger[data-currency="USD"] .header-balance-currency {
        order: -1;
    }

    body.fleep-ui .header-btn-deposit,
    body.fleep-ui .header-balance-cluster .header-btn-deposit {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 36px !important;
        height: 36px !important;
        width: 36px !important;
        min-width: 36px !important;
        padding: 0 !important;
        border-radius: 0 !important;
        background: var(--fleep-brand, #EF3F49) !important;
        border: none !important;
        color: #fff !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        box-shadow: none !important;
        filter: none !important;
        text-shadow: none !important;
    }

    body.fleep-ui .header-btn-deposit__text {
        display: none !important;
    }

    body.fleep-ui .header-btn-deposit__plus {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        font-weight: 700;
        line-height: 1;
        color: #fff;
    }

    body.fleep-ui #btnOpenLogin .fleep-icon-img {
        display: none !important;
    }

    body.fleep-ui #btnOpenLogin .fleep-header-login__label {
        display: inline !important;
    }

    body.fleep-ui #btnOpenLogin {
        min-height: 36px !important;
        height: 36px !important;
        padding: 0 14px !important;
        border-radius: 12px !important;
        background: var(--fleep-elevated, #1C1E22) !important;
        color: #fff !important;
        min-width: 0 !important;
        box-shadow: none !important;
        text-transform: none !important;
    }

    body.fleep-ui #btnOpenRegister,
    body.fleep-ui .fleep-header-signup {
        min-height: 36px !important;
        height: 36px !important;
        min-width: 0 !important;
        padding: 0 14px !important;
        font-size: 13px !important;
        border-radius: 12px !important;
        background: var(--fleep-brand, #EF3F49) !important;
        color: #fff !important;
        text-transform: none !important;
        font-weight: 700 !important;
        box-shadow: none !important;
    }

    body.fleep-ui .header-right--desktop-menu {
        display: none !important;
    }

    body.fleep-ui .fleep-header .header-icon-tools,
    body.fleep-ui .fleep-header .header-btn-profile,
    body.fleep-ui .fleep-header .header-btn-profile--desktop,
    body.fleep-ui .fleep-header #headerBtnProfile,
    body.fleep-ui .fleep-header .header-btn-notify,
    body.fleep-ui .header-center-dock .header-boost-indicator,
    body.fleep-ui .header-center-dock .header-btn-chat,
    body.fleep-ui .fleep-header #headerBtnPlayerChat {
        display: none !important;
    }

    body.fleep-ui .mobile-guest-bar {
        display: none !important;
    }

    html body.fleep-ui.fleep-is-guest #mobileTabBar,
    html body.fleep-ui.fleep-is-auth #mobileTabBar,
    html body.fleep-ui #mobileTabBar {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        align-items: start !important;
        gap: 0 !important;
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        top: auto !important;
        width: 100% !important;
        margin: 0 !important;
        transform: none !important;
        z-index: 520 !important;
        min-height: 0 !important;
        height: auto !important;
        padding: 10px 8px calc(22px + env(safe-area-inset-bottom, 0px)) !important;
        background: #10131a !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    body.fleep-ui.play-page-active #mobileTabBar,
    body.fleep-ui.play-page-active .mobile-tab-bar {
        display: none !important;
    }

    body.fleep-ui.play-page-active .casino-main,
    body.fleep-ui.play-page-active .fleep-main-column,
    body.fleep-ui.play-page-active #casinoApp {
        padding-bottom: 0 !important;
    }

    body.fleep-ui #casinoMain,
    body.fleep-ui .casino-main {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        min-height: 0 !important;
        height: auto !important;
    }

    body.fleep-ui.fleep-is-guest #casinoApp,
    body.fleep-ui.fleep-is-auth #casinoApp {
        padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important;
    }

    body.fleep-ui .fleep-home-menu {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    html body.fleep-ui.sidebar-open .casino-layout .sidebar-backdrop,
    html body.fleep-ui .sidebar-backdrop.open,
    html body.fleep-ui.fleep-mobile-menu-open .casino-layout .sidebar-backdrop {
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        left: 0 !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        background: rgba(0, 0, 0, 0.55) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
        opacity: 1 !important;
        z-index: 540 !important;
        pointer-events: auto !important;
    }

    html body.fleep-ui.fleep-mobile-menu-open .casino-sidebar.fleep-sidebar,
    html body.fleep-ui.sidebar-open .casino-sidebar.fleep-sidebar,
    html body.fleep-ui .casino-sidebar.fleep-sidebar.open {
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        bottom: 0 !important;
        width: min(312px, calc(100vw - 56px)) !important;
        min-width: 0 !important;
        max-width: min(312px, calc(100vw - 56px)) !important;
        height: auto !important;
        max-height: none !important;
        padding: 16px 14px calc(14px + env(safe-area-inset-bottom, 0px)) !important;
        margin: 0 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        transform: none !important;
        translate: none !important;
        filter: none !important;
        contain: none !important;
        isolation: isolate !important;
        background: #12151c !important;
        background-image: none !important;
        border: none !important;
        border-right: none !important;
        border-radius: 0 !important;
        box-shadow: 16px 0 40px rgba(0, 0, 0, 0.35) !important;
        z-index: 560 !important;
    }

    body.fleep-ui.sidebar-open .casino-header.fleep-header,
    body.fleep-ui.fleep-mobile-menu-open .casino-header.fleep-header {
        z-index: 505 !important;
    }

    body.fleep-ui.sidebar-open .fleep-slider-b,
    body.fleep-ui.sidebar-open .fleep-promo-card,
    body.fleep-ui.sidebar-open .casino-main {
        z-index: 1 !important;
    }

    html body.fleep-ui.sidebar-open,
    html body.fleep-ui.sidebar-open #casinoApp,
    html body.fleep-ui.sidebar-open .casino-layout,
    html body.fleep-ui.sidebar-open .casino-main {
        overflow: hidden !important;
        overscroll-behavior: none !important;
    }

    body.fleep-ui .casino-sidebar.fleep-sidebar .sidebar-brand-shell {
        display: none !important;
    }

    body.fleep-ui .casino-sidebar.fleep-sidebar .sidebar-mobile-header {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: absolute !important;
        top: 16px !important;
        right: 14px !important;
        z-index: 2 !important;
        flex-shrink: 0 !important;
        gap: 0 !important;
        width: 42px !important;
        min-height: 0 !important;
        height: 48px !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    body.fleep-ui .casino-sidebar.fleep-sidebar .sidebar-mobile-title {
        display: none !important;
    }

    body.fleep-ui .casino-sidebar.fleep-sidebar .fleep-sidebar-search {
        margin-right: 50px !important;
    }

    body.fleep-ui .casino-sidebar.fleep-sidebar .sidebar-mobile-close {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 42px !important;
        height: 42px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        border-radius: 14px !important;
        background: #1c212b !important;
        color: #fff !important;
        box-shadow: none !important;
    }

    body.fleep-ui .casino-sidebar.fleep-sidebar .sidebar-mobile-close svg {
        width: 18px !important;
        height: 18px !important;
    }

    body.fleep-ui .casino-sidebar.fleep-sidebar .sidebar-mobile-scroll {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        padding-bottom: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body.fleep-ui .casino-sidebar.fleep-sidebar .fleep-sidebar-panel {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        padding: 16px 16px 12px !important;
        margin: 0 !important;
        gap: 12px !important;
        background: transparent !important;
    }

    body.fleep-ui .casino-sidebar.fleep-sidebar .fleep-sidebar-search__input {
        height: 48px !important;
        border-radius: 14px !important;
        background: #1c212b !important;
        box-shadow: none !important;
        border: 0 !important;
        color: #fff !important;
        font-size: 14px !important;
    }

    body.fleep-ui .casino-sidebar.fleep-sidebar .fleep-sidebar-search__icon {
        color: #9AA0A6 !important;
    }

    body.fleep-ui .casino-sidebar.fleep-sidebar .fleep-sb-nav__label {
        color: #7A8088 !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        letter-spacing: 0.06em !important;
        margin: 0 0 8px 4px !important;
    }

    body.fleep-ui .casino-sidebar.fleep-sidebar .fleep-sb-link,
    body.fleep-ui .casino-sidebar.fleep-sidebar .fleep-sb-providers {
        min-height: 48px !important;
        padding: 8px 10px !important;
        border-radius: 14px !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }

    body.fleep-ui .casino-sidebar.fleep-sidebar .fleep-sb-link:hover,
    body.fleep-ui .casino-sidebar.fleep-sidebar .fleep-sb-link.active,
    body.fleep-ui .casino-sidebar.fleep-sidebar .fleep-sb-providers:hover {
        background: #1a1e28 !important;
        box-shadow: none !important;
    }

    body.fleep-ui .casino-sidebar.fleep-sidebar .fleep-sb-link__icon,
    body.fleep-ui .casino-sidebar.fleep-sidebar .fleep-sb-link:hover .fleep-sb-link__icon,
    body.fleep-ui .casino-sidebar.fleep-sidebar .fleep-sb-link.active .fleep-sb-link__icon {
        width: 32px !important;
        height: 32px !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body.fleep-ui .casino-sidebar.fleep-sidebar .fleep-sb-nav--sections {
        border-top-color: rgba(255, 255, 255, 0.06) !important;
    }

    body.fleep-ui .casino-sidebar.fleep-sidebar .fleep-sidebar-controls .sidebar-bottom-card,
    body.fleep-ui .casino-sidebar.fleep-sidebar .fleep-sidebar-controls .sidebar-lang-btn,
    body.fleep-ui .casino-sidebar.fleep-sidebar .fleep-sidebar-controls .fleep-sidebar-lang.sidebar-lang-btn {
        min-height: 48px !important;
        border-radius: 16px !important;
        background: #1c212b !important;
        box-shadow: none !important;
        border: 0 !important;
    }

    body.fleep-ui .casino-sidebar.fleep-sidebar .fleep-sidebar-social .sidebar-social-btn {
        background: #1c212b !important;
        box-shadow: none !important;
        border: 0 !important;
        color: #dce4ef !important;
    }

    body.fleep-ui #pageHome .fleep-home__inner {
        padding: 8px 14px 16px !important;
        gap: 0 !important;
        min-width: 0;
        max-width: 100%;
    }

    body.fleep-ui .mob-tab {
        border-radius: 0 !important;
        color: #8B9198 !important;
        background: transparent !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.fleep-ui .mob-tab-inner {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;
        min-height: 52px !important;
        padding: 6px 2px 4px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    body.fleep-ui .mob-tab-icon svg {
        width: 22px !important;
        height: 22px !important;
        stroke: currentColor !important;
    }

    body.fleep-ui .mob-tab-icon img {
        width: 26px !important;
        height: 26px !important;
        object-fit: contain !important;
        display: block !important;
    }

    body.fleep-ui .mob-tab-label {
        font-family: var(--fleep-font, Roboto, sans-serif) !important;
        font-size: 10px !important;
        font-weight: 500 !important;
        line-height: 1.1 !important;
        color: inherit !important;
        letter-spacing: 0 !important;
    }

    body.fleep-ui #mobileTabBar .mob-tab.active,
    body.fleep-ui #mobileTabBar .mob-tab--menu.mob-tab--menu-open {
        color: #ef3f49 !important;
        background: transparent !important;
    }

    body.fleep-ui .mob-tab.active .mob-tab-inner::before,
    body.fleep-ui .mob-tab--menu-open .mob-tab-inner::before {
        display: none !important;
        content: none !important;
    }

    body.fleep-ui .mob-tab-badge {
        background: var(--fleep-red, #E5484D) !important;
        color: #fff !important;
        box-shadow: none !important;
        font-size: 0.6rem !important;
    }

    body.fleep-ui .mob-tab:active {
        transform: none !important;
        opacity: 0.85;
    }

    body.fleep-ui .fleep-categories-a__nav,
    body.fleep-ui .fleep-strip-nav,
    body.fleep-ui .home-strip-nav-btn {
        display: none !important;
    }

    body.fleep-ui #pageHome .fleep-slider-b__rail.home-desktop-dual-promo,
    body.fleep-ui .fleep-slider-b__rail.home-desktop-dual-promo,
    body.fleep-ui .home-desktop-dual-promo {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        gap: 0 !important;
        grid-template-columns: none !important;
        scrollbar-width: none;
    }

    body.fleep-ui #pageHome .fleep-slider-b__rail.home-desktop-dual-promo::-webkit-scrollbar,
    body.fleep-ui .fleep-slider-b__rail.home-desktop-dual-promo::-webkit-scrollbar {
        display: none;
    }

    body.fleep-ui #pageHome .fleep-promo-card,
    body.fleep-ui .fleep-promo-card {
        flex: 0 0 100% !important;
        width: 100% !important;
        min-height: 168px !important;
        height: 168px !important;
        border-radius: 20px !important;
    }

    body.fleep-ui #pageHome .fleep-categories-a--nv {
        display: block !important;
    }

    body.fleep-ui .fleep-categories-a:not(.fleep-categories-a--nv) {
        display: none !important;
    }

    body.fleep-ui #pageHome .home-slots-section.fleep-home-grid .home-slots-grid,
    body.fleep-ui #pageHome .home-slots-section.fleep-game-group-d .home-slots-grid,
    body.fleep-ui #pageHome .fleep-mosaic.home-slots-grid,
    body.fleep-ui #pageHome .fleep-mosaic.home-slots-grid.games-grid--pinko,
    body.fleep-ui #guestGamesSlots,
    body.fleep-ui #lobbyGamesSlots {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px !important;
        width: 100% !important;
        overflow: visible !important;
    }

    body.fleep-ui #pageHome .fleep-mosaic.home-slots-grid > .game-card,
    body.fleep-ui #pageHome .home-slots-grid > .game-card,
    body.fleep-ui #guestGamesSlots > .game-card,
    body.fleep-ui #lobbyGamesSlots > .game-card {
        flex: none !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        border-radius: 16px !important;
    }

    body.fleep-ui #pageHome .fleep-mosaic.home-slots-grid .game-card-img,
    body.fleep-ui #guestGamesSlots .game-card-img,
    body.fleep-ui #lobbyGamesSlots .game-card-img {
        aspect-ratio: 3 / 4 !important;
    }

    body.fleep-ui .home-slots-load-more-wrap {
        display: none !important;
    }

    body.fleep-ui .fleep-slider-b__pager {
        display: flex !important;
        pointer-events: none;
        z-index: 3;
        margin-top: -20px;
        margin-bottom: 8px;
    }

    /* --- Casino catalog (/games) — search + providers + category chips --- */
    body.fleep-ui #pageGames {
        padding: 8px 12px 16px !important;
        max-width: none !important;
    }

    body.fleep-ui #pageGames .games-page-head {
        position: sticky;
        top: 0;
        z-index: 8;
        margin: 0 0 12px !important;
        padding: 0 0 4px !important;
        background: #08090D;
    }

    body.fleep-ui #pageGames .lobby-catalog-banners,
    body.fleep-ui #pageGames .games-catalog-banner,
    body.fleep-ui #pageGames .lobby-hero-banner,
    body.fleep-ui #pageGames .games-catalog-seo-wrap {
        display: none !important;
    }

    body.fleep-ui #pageGames .games-nav-block {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.fleep-ui #pageGames .games-nav-row--actions,
    body.fleep-ui #pageGames .games-toolbar-actions-wrap {
        display: flex;
        align-items: center;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        overflow: visible;
        padding: 0;
    }

    body.fleep-ui #pageGames .games-toolbar {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100%;
        max-width: 100%;
        margin: 0 !important;
        min-width: 0;
        overflow: visible !important;
    }

    body.fleep-ui #pageGames .games-search-btn,
    body.fleep-ui #pageGames .games-provider-btn {
        min-height: 44px !important;
        height: 44px !important;
        border: none !important;
        box-shadow: none !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
    }

    body.fleep-ui #pageGames .games-search-btn {
        display: inline-flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 10px !important;
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        padding: 0 16px 0 14px !important;
        border-radius: 14px !important;
        background: #15171b !important;
        border: 1px solid #272D38 !important;
        color: #7A8088 !important;
        font-size: 14px !important;
        font-weight: 500 !important;
    }

    body.fleep-ui #pageGames .games-search-btn-icon {
        width: 18px !important;
        height: 18px !important;
        flex-shrink: 0;
        display: block;
        background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef3f49' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E");
    }

    body.fleep-ui #pageGames .games-search-btn-icon svg {
        display: none !important;
    }

    body.fleep-ui #pageGames .games-search-btn-label,
    body.fleep-ui #pageGames .games-search-btn .games-toolbar-btn-label {
        display: inline !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: #7A8088 !important;
        font-weight: 500 !important;
        font-size: 14px !important;
    }

    body.fleep-ui #pageGames .games-provider-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 44px !important;
        width: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
        padding: 0 !important;
        border-radius: 14px !important;
        background: #15171b !important;
        border: 1px solid #272D38 !important;
        color: #fff !important;
        overflow: hidden !important;
        position: relative !important;
        gap: 0 !important;
    }

    body.fleep-ui #pageGames .games-provider-btn-label,
    body.fleep-ui #pageGames .games-provider-btn .games-toolbar-btn-label {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        font-size: 0 !important;
    }

    body.fleep-ui #pageGames .games-provider-icon,
    body.fleep-ui #pageGames .games-provider-icon svg,
    body.fleep-ui #pageGames .games-provider-icon img {
        width: 20px !important;
        height: 20px !important;
        display: block;
        object-fit: contain;
        color: #fff !important;
    }

    body.fleep-ui #pageGames .games-provider-icon svg {
        display: none !important;
    }

    body.fleep-ui #pageGames .games-nav-row--categories {
        overflow: hidden !important;
        min-width: 0;
        width: 100%;
    }

    body.fleep-ui #pageGames .games-nav-row--categories::before,
    body.fleep-ui #pageGames .games-nav-row--categories::after {
        display: none !important;
        content: none !important;
    }

    body.fleep-ui #pageGames .catalog-tabs-scroll {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin: 0 !important;
        padding: 0 !important;
        min-width: 0;
        width: 100%;
    }

    body.fleep-ui #pageGames .catalog-tabs-scroll::-webkit-scrollbar {
        display: none;
    }

    body.fleep-ui #pageGames .catalog-tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        flex-direction: row !important;
        gap: 8px !important;
        width: max-content;
        min-width: 0;
        align-items: center !important;
    }

    body.fleep-ui #pageGames .catalog-tab {
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        flex: 0 0 auto !important;
        min-width: 0 !important;
        max-width: none !important;
        width: auto !important;
        height: 36px !important;
        min-height: 36px !important;
        padding: 0 12px 0 10px !important;
        border-radius: 999px !important;
        background: #15171b !important;
        border: none !important;
        box-shadow: none !important;
        color: #9AA0A6 !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        text-align: left;
        overflow: hidden;
        word-break: normal;
    }

    body.fleep-ui #pageGames .catalog-tab-icon {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 18px !important;
        height: 18px !important;
        flex-shrink: 0;
        border-radius: 0;
        background: transparent !important;
        color: inherit;
        box-shadow: none !important;
    }

    body.fleep-ui #pageGames .catalog-tab-icon .svg-icon,
    body.fleep-ui #pageGames .catalog-tab-icon svg,
    body.fleep-ui #pageGames .catalog-tab-icon img {
        width: 22px !important;
        height: 22px !important;
        display: block;
        object-fit: contain;
        flex-shrink: 0;
    }

    body.fleep-ui #pageGames .catalog-tab-label {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
    }

    body.fleep-ui #pageGames .catalog-tab.active {
        background: #1C1E22 !important;
        color: #fff !important;
        border: none !important;
        box-shadow: none !important;
    }

    body.fleep-ui #pageGames .catalog-tab.active .catalog-tab-icon {
        background: transparent !important;
        color: #1ED760 !important;
        box-shadow: none !important;
    }

    body.fleep-ui #pageGames .catalog-tab.active .catalog-tab-icon svg {
        stroke: #1ED760;
    }

    body.fleep-ui #pageGames #gamesThematicStrips {
        margin: 0 0 12px;
    }

    body.fleep-ui #pageGames #gamesCatalogList.games-grid,
    body.fleep-ui #pageGames #gamesCatalogList.games-grid--pinko,
    body.fleep-ui #pageGames #gamesCatalogList.games-grid--slots {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
        padding: 0 !important;
        width: 100% !important;
        flex-wrap: unset !important;
        overflow: visible !important;
    }

    body.fleep-ui #pageGames #gamesCatalogList .game-card,
    body.fleep-ui #pageGames #gamesCatalogList .slot-card {
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        flex: unset !important;
        border-radius: 14px !important;
        border: none !important;
    }

    body.fleep-ui #pageGames #gamesCatalogList .game-card-img,
    body.fleep-ui #pageGames #gamesCatalogList .slot-card img {
        aspect-ratio: 3 / 4 !important;
        border-radius: 14px !important;
        object-fit: cover;
    }

    body.fleep-ui #pageGames #gamesCatalogHint {
        padding: 16px 8px;
        font-size: 13px;
    }

    body.fleep-ui .fleep-quick-promos {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    body.fleep-ui .fleep-quick-promo {
        display: flex !important;
        align-items: flex-end;
        min-height: 118px;
        padding: 14px 12px 14px 14px;
        border-radius: 20px;
        overflow: hidden;
        position: relative;
        isolation: isolate;
        text-decoration: none !important;
        color: #fff !important;
        box-sizing: border-box;
    }

    body.fleep-ui .fleep-quick-promo::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(115deg, rgba(255, 255, 255, 0.12) 0%, transparent 36%, transparent 100%);
        pointer-events: none;
        z-index: 1;
    }

    body.fleep-ui .fleep-quick-promo__glow {
        position: absolute;
        right: -18%;
        top: -40%;
        width: 78%;
        height: 110%;
        border-radius: 50%;
        filter: blur(28px);
        pointer-events: none;
        z-index: 0;
    }

    body.fleep-ui .fleep-quick-promo--bonus {
        background:
            radial-gradient(90% 80% at 100% 110%, rgba(255, 170, 60, 0.28) 0%, transparent 55%),
            linear-gradient(155deg, #5a3118 0%, #1c100c 52%, #2a1610 100%) !important;
        box-shadow: inset 0 1px 0 rgba(255, 220, 160, 0.22);
        border: 1px solid rgba(255, 196, 110, 0.16);
    }

    body.fleep-ui .fleep-quick-promo--bonus .fleep-quick-promo__glow {
        background: #ffb347;
        opacity: 0.5;
    }

    body.fleep-ui .fleep-quick-promo--cups {
        padding-right: 56px;
        background:
            radial-gradient(90% 80% at 100% 110%, rgba(70, 150, 255, 0.28) 0%, transparent 55%),
            linear-gradient(155deg, #1c3358 0%, #0d1524 52%, #152238 100%) !important;
        box-shadow: inset 0 1px 0 rgba(150, 200, 255, 0.2);
        border: 1px solid rgba(110, 170, 255, 0.16);
    }

    body.fleep-ui .fleep-quick-promo--cups .fleep-quick-promo__glow {
        background: #4d9fff;
        opacity: 0.45;
    }

    body.fleep-ui .fleep-quick-promo__copy {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
        position: relative;
        z-index: 2;
        max-width: 62%;
    }

    body.fleep-ui .fleep-quick-promo__kicker {
        display: inline-flex;
        align-items: center;
        height: 18px;
        padding: 0 8px;
        margin-bottom: 4px;
        border-radius: 999px;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        background: rgba(255, 255, 255, 0.14);
        color: rgba(255, 255, 255, 0.9);
    }

    body.fleep-ui .fleep-quick-promo__title {
        font-size: 18px;
        font-weight: 800;
        line-height: 1.15;
        color: #fff;
        letter-spacing: -0.02em;
    }

    body.fleep-ui .fleep-quick-promo__sub {
        font-size: 12px;
        color: rgba(255, 255, 255, 0.72);
        line-height: 1.3;
    }

    body.fleep-ui .fleep-quick-promo__art {
        position: absolute;
        right: -6px;
        bottom: -12px;
        width: 98px;
        height: 98px;
        object-fit: contain;
        z-index: 1;
        pointer-events: none;
        filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.4));
    }

    body.fleep-ui .fleep-quick-promo--cups .fleep-quick-promo__copy {
        max-width: 100%;
        padding-right: 4px;
        z-index: 3;
    }

    body.fleep-ui .fleep-quick-promo--cups .fleep-quick-promo__title {
        font-size: 16px;
    }

    body.fleep-ui .fleep-quick-promo--cups .fleep-quick-promo__art {
        width: 68px;
        height: 68px;
        right: -8px;
        bottom: -8px;
        z-index: 1;
    }
}

@media (max-width: 359px) {
    body.fleep-ui .header-brand-logo .logo-img,
    body.fleep-ui .fleep-header__logo {
        max-width: 88px !important;
        max-height: 24px !important;
        height: 24px !important;
    }

    body.fleep-ui .header-left,
    body.fleep-ui .fleep-header__start,
    body.fleep-ui .header-brand-logo {
        max-width: 88px !important;
    }

    body.fleep-ui .header-btn-deposit {
        width: 36px !important;
        min-width: 36px !important;
        padding: 0 !important;
    }

    body.fleep-ui .header-btn-deposit__text {
        display: none !important;
    }

    body.fleep-ui .header-btn-deposit__plus {
        display: inline !important;
        font-size: 20px;
        font-weight: 700;
        line-height: 1;
    }

    body.fleep-ui .header-balance-amount .balance-main {
        font-size: 13px !important;
    }

    body.fleep-ui .mob-tab-label {
        font-size: 9px !important;
    }
}
