﻿

:root {
    --b7-bg:       #0a0f0c;
    --b7-bg-2:     #0d130f;
    --b7-panel:    #121a15;
    --b7-panel-2:  #18221c;
    --b7-panel-3:  #1d2922;
    --b7-border:   #203027;
    --b7-border-s: #213029;
    --b7-green:    #34D92B;
    --b7-green-2:  #2bbd50;
    --b7-green-sh: rgba(55, 211, 95, .35);
    --b7-text:     #e7f1ea;
    --b7-muted:    #8aa194;
    --b7-muted-2:  #6f877a;
}


html, body, #root, .main, .main.rows {
    background: var(--b7-bg) !important;
    color: var(--b7-text) !important;
}
.right-main, .glavpanel, .content, .content.cards {
    background: var(--b7-bg) !important;
    color: var(--b7-text) !important;
}
.logo-loader { background: var(--b7-bg) !important; }

h1, h2, h3, h4, h5, p, span, a, div, label, button, input, select {
    color: inherit;
}
a { color: var(--b7-text); }


.left-main,
.left-main.cards {
    background: var(--b7-bg-2) !important;
}
.left-main__logo {
    
    filter: brightness(0) invert(1);
}
.left-main__show--icon path { fill: var(--b7-muted) !important; }

.games-menu .games-item,
.left-main .games-item {
    color: var(--b7-muted) !important;
    border-radius: 12px !important;
    transition: background .15s ease, color .15s ease;
}
.games-item span { color: var(--b7-muted) !important; }
.games-item svg path { fill: var(--b7-muted) !important; transition: fill .15s ease; }

.games-item:hover {
    background: var(--b7-panel) !important;
}
.games-item:hover span { color: var(--b7-text) !important; }
.games-item:hover svg path { fill: var(--b7-green) !important; }

.games-item.isActive {
    background: linear-gradient(90deg, rgba(55,211,95,.18), rgba(55,211,95,.04)) !important;
    box-shadow: inset 3px 0 0 var(--b7-green);
}
.games-item.isActive span { color: var(--b7-green) !important; }
.games-item.isActive svg path { fill: var(--b7-green) !important; }

.left-main-bottom { border-top: 1px solid var(--b7-border-s) !important; }
.left-main-lang,
.left-menu-currency {
    background: var(--b7-panel) !important;
    color: var(--b7-text) !important;
    border: 1px solid var(--b7-border-s) !important;
    border-radius: 10px !important;
}
.left-main-lang option { background: var(--b7-panel-2); color: var(--b7-text); }


.header { background: var(--b7-bg) !important; }

.header__search-toggle svg path { fill: var(--b7-muted) !important; }
.header__menu-toggle svg path  { stroke: var(--b7-muted) !important; }

.header__search-panel,
.header__search {
    background: var(--b7-panel) !important;
    color: var(--b7-text) !important;
    border: 1px solid var(--b7-border-s) !important;
    border-radius: 12px !important;
}
.header__search::placeholder { color: var(--b7-muted-2) !important; }
.header__search-result { background: var(--b7-panel-2) !important; border-radius: 10px; }
.header__search-result--title { color: var(--b7-text) !important; }


.header__nav-link {
    color: var(--b7-muted) !important;
    border-radius: 10px !important;
}
.header__nav-link span { color: var(--b7-muted) !important; }
.header__nav-icon path { fill: var(--b7-muted) !important; }
.header__nav-link:hover { background: var(--b7-panel) !important; }
.header__nav-link:hover span,
.header__nav-link:hover .header__nav-icon path { color: var(--b7-text) !important; fill: var(--b7-green) !important; }
.header__nav-link--active span { color: var(--b7-green) !important; }
.header__nav-link--active .header__nav-icon path { fill: var(--b7-green) !important; }


.header__guest-btn--login {
    background: transparent !important;
    color: var(--b7-text) !important;
    border: 1px solid var(--b7-border-s) !important;
    border-radius: 10px !important;
}
.header__guest-btn--login:hover { background: var(--b7-panel) !important; }
.header__guest-btn--register {
    background: var(--b7-green) !important;
    color: #06210f !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 10px !important;
    box-shadow: 0 6px 18px var(--b7-green-sh);
}
.header__guest-btn--register:hover { background: var(--b7-green-2) !important; }


.header__right .profile,
.profile__balance,
.profile-balance,
.header__right > div {
    color: var(--b7-text) !important;
}


.promo-banner {
    border-radius: 18px !important;
    overflow: hidden;
    border: 1px solid var(--b7-border-s);
    box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
.promo-banner__title { color: #fff !important; }
.promo-banner__description {     color: var(--b7-green) !important; }
.promo-banner__button {
    background: #FFF !important;
    color: #06210f !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 10px !important;
    box-shadow: 0 6px 18px var(--b7-green-sh);
}
.swiper-pagination-bullet { background: rgba(255,255,255,.4) !important; }
.swiper-pagination-bullet-active { background: var(--b7-green) !important; }


.provider-card {
    background: var(--b7-panel) !important;
    border: 1px solid var(--b7-border-s) !important;
    border-radius: 14px !important;
    transition: border-color .15s ease, transform .15s ease;
}
.provider-card:hover {
    border-color: var(--b7-green) !important;
    transform: translateY(-2px);
}
.provider-card:hover .provider-card__bg { opacity: 1; }


.Header-text { color: var(--b7-text) !important; }
.Header-text::before {
    content: "";
    display: inline-block;
    width: 6px; height: 18px;
    margin-right: 10px;
    border-radius: 3px;
    background: var(--b7-green);
    vertical-align: -3px;
}
.Header-btn {
    color: #929397 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    font-weight: 600;
    text-decoration: none !important;
    transition: color .15s ease;
}
.Header-btn:hover { background: transparent !important; color: var(--b7-text) !important; }


.b7-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 18px 0 6px;
}
.b7-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    background: var(--b7-panel) !important;
    color: var(--b7-muted) !important;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all .15s ease;
}
.b7-tab:hover { color: var(--b7-text) !important;  }
.b7-tab.is-active {
    background: var(--b7-green) !important;
    color: #06210f !important;
    box-shadow: 0 6px 18px var(--b7-green-sh);
}


.slot-card { background: transparent !important; }
.slot-card__image-wrapper {
    border-radius: 14px !important;
    overflow: hidden;
    border: 1px solid var(--b7-border-s);
    aspect-ratio: 100 / 145 !important; 
}
.slot-card__bg { border-radius: 14px !important; }
.slot-card__title { color: var(--b7-text) !important; }
.slot-card__description { color: var(--b7-muted) !important; }
.slot-card__play {
    background: var(--b7-green) !important;
    color: #06210f !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
}
.slot-card__play:hover { background: var(--b7-green-2) !important; }
.slot-card__demo {
    background: rgba(255,255,255,.08) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    border-radius: 10px !important;
}
.slot-card__favorite--icon { fill: var(--b7-muted) !important; transition: fill .15s ease; }
.slot-card__favorite:hover .slot-card__favorite--icon { fill: var(--b7-green) !important; }


.slots-history,
.slots-history-table,
.slots-history-wrapper { background: transparent !important; }
.slots-history__title { color: var(--b7-text) !important; }

.slots-history__item,
.slots-history-table__row {
    background: var(--b7-panel) !important;
    border: 1px solid var(--b7-border-s) !important;
    border-radius: 12px !important;
}
.slots-history-table__row--ghost { background: var(--b7-bg-2) !important; }
.slots-history-table__th { color: var(--b7-muted) !important; }
.slots-history-table__td,
.slots-history__item--slot,
.slots-history__item--username { color: var(--b7-text) !important; }
.slots-history__item--win,
.slots-history-table__win,
.slots-history-table__td--mult { color: var(--b7-green) !important; font-weight: 700; }
.slots-history__item--image,
.slots-history__item-icon { border-radius: 10px !important; }


.footers,
.footer-v2 {
    background: #171717 !important;
    border-radius: 18px 18px 0 0;
    margin-bottom: 50px;
}
.footer-v2__logo { filter: brightness(0) invert(1); }
.footer-v2__link { color: var(--b7-muted) !important; }
.footer-v2__link:hover { color: var(--b7-green) !important; }
.footer-v2__description,
.footer-v2__copy { color: var(--b7-muted-2) !important; }
.footer-v2__tg-card {
    background: var(--b7-panel) !important;
    border: 1px solid var(--b7-border-s) !important;
    border-radius: 12px !important;
}
.footer-v2__tg-text { color: var(--b7-text) !important; }
.footer-v2__tg-icon-wrap { background: var(--b7-green) !important; border-radius: 8px; }
.footer-currency__item-wrapper {
    background: var(--b7-panel) !important;
    border: 1px solid var(--b7-border-s) !important;
    border-radius: 10px !important;
}


.header-menu { background: var(--b7-bg-2) !important; }
.header-menu .item { color: var(--b7-muted) !important; }
.header-menu .item.isActive,
.header-menu .item:hover { color: var(--b7-green) !important; }

::-webkit-scrollbar { width: 4px; height: 1px; }
::-webkit-scrollbar-track { background: var(--b7-bg); }
::-webkit-scrollbar-thumb { background: #2EDD27; border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--b7-green-2); }

::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
::-webkit-scrollbar-corner { background: transparent; }


.notification-popup { background: var(--b7-panel) !important; color: var(--b7-text) !important; border: 1px solid var(--b7-border-s); }


.left-main.b7-sidebar {
    width: 310px !important;
    min-width: 310px !important;
    max-width: 310px !important;
    position: sticky !important;
    top: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #0F0F0F !important;
    overflow: hidden !important;
    transform: none !important;
}

/* Десктоп: сайдбар закреплён к верху экрана (sticky top:0), внутри — свой скролл.
   height:100vh + align-self:flex-start обязательны, иначе он растягивается на всю
   высоту страницы и sticky не срабатывает. */
@media (min-width: 993px) {
    .left-main.b7-sidebar {
        position: sticky !important;
        top: 0 !important;
        height: 100vh !important;
        max-height: 100vh !important;
        align-self: flex-start !important;
        overflow: hidden !important;
    }
    .left-main.b7-sidebar .b7-sidebar__scroll {
        flex: 1 1 auto !important;
        overflow-y: auto !important;
    }
}

.b7-sidebar__logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 22px 14px;
    cursor: pointer;
}
.b7-logo {
    font-family: 'Rubik', sans-serif;
    font-style: italic;
    font-weight: 800;
    font-size: 30px;
    line-height: 1;
    color: #fff;
    letter-spacing: -.5px;
}
.b7-logo__accent { color: var(--b7-green); }
.b7-sidebar__close {
    display: none;
    background: none; border: none;
    color: var(--b7-muted); font-size: 20px; cursor: pointer;
}

.b7-sidebar__scroll {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 6px 14px 14px;
    display: flex;
    flex-direction: column;
}
.b7-sidebar__scroll > .b7-nav { order: 1; }
.b7-sidebar__scroll > .b7-group { order: 2; }
.b7-sidebar__scroll > .b7-nav--secondary { order: 3; }
.b7-sidebar__scroll > .b7-promo { order: 4; }

.b7-nav { display: flex; flex-direction: column; gap: 2px; }
.b7-nav--secondary { margin-top: 10px; }

.b7-item {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 12px 14px;
    border: none;
    background: transparent;
    color: var(--b7-muted);
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    text-decoration: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
    line-height: 1.25;
}
.b7-item:hover { background: var(--b7-panel); color: var(--b7-text); }
.b7-item.is-active {
    background: rgba(55, 211, 95, .16);
    color: var(--b7-green);
}
.b7-ico {
    width: 22px; height: 22px;
    flex: 0 0 22px;
    color: inherit;
}


.b7-group { margin-top: 10px; }
.b7-group__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 14px;
    background: transparent;
    border: none;
    color: var(--b7-green);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.b7-chev { width: 18px; height: 18px; color: var(--b7-muted); transition: transform .2s ease; }
.b7-chev.is-open { transform: rotate(180deg); }
.b7-group__body { display: flex; flex-direction: column; gap: 2px; }

.b7-collapse-enter-active,
.b7-collapse-leave-active {
    transition: height .28s ease;
    overflow: hidden;
}


.b7-promo {
    position: relative;
    margin: 18px 4px 6px;
    border-radius: 14px;
    padding: 16px;
    min-height: 172px;
    cursor: pointer;
    background:
        linear-gradient(180deg, rgba(6,12,8,.74) 0%, rgba(6,12,8,.22) 50%, rgba(6,12,8,.6) 100%),
        url('/assets/image/sidebar_banner.png') center / cover no-repeat,
        var(--b7-panel-2);
    border: 1px solid var(--b7-border-s);
    overflow: hidden;
    display: flex;
    text-decoration: none !important;
}
.b7-promo, .b7-promo * { text-decoration: none !important; }
.b7-promo__body { position: relative; z-index: 1; display: flex; flex-direction: column; flex: 1; }
.b7-promo__title { font-size: 15px; font-weight: 800; color: #fff; margin: 0 0 4px; }
.b7-promo__desc { font-size: 13px; color: rgba(255,255,255,.85); margin: 0 0 16px; }
.b7-promo__btn { margin-top: auto; align-self: flex-start; }
.b7-promo__btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 9px;
    background: var(--b7-green);
    color: #06210f;
    font-weight: 700;
    font-size: 13px;
}


.b7-sidebar__bottom {
    flex: 0 0 auto;
    padding: 12px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #0F0F0F;
}
.b7-logout {
    display: flex; align-items: center; gap: 12px;
    width: 100%; padding: 10px 12px;
    background: transparent; border: none;
    color: #ff5b6a; font-size: 14px; font-weight: 600;
    border-radius: 10px; cursor: pointer;
}
.b7-logout:hover { background: rgba(255,91,106,.1); }

.b7-bottom-row { display: flex; align-items: stretch; gap: 8px; }
.b7-tg-half {
    flex: 1 1 0; min-width: 0;
    display: inline-flex; align-items: center; justify-content: center;
    height: 44px;
    border-radius: 11px;
    background: var(--b7-green); color: #06210f;
    box-shadow: 0 6px 16px var(--b7-green-sh);
}


.b7-lang2 { flex: 1 1 0; min-width: 0; position: relative; }
.b7-lang2__btn {
    display: flex; align-items: center; gap: 8px;
    width: 100%; height: 44px;
    padding: 0 10px;
    border-radius: 11px;
    background: var(--b7-panel); border: 1px solid var(--b7-border-s);
    color: var(--b7-text); font-size: 13px; font-weight: 600;
    cursor: pointer;
}
.b7-lang2__btn:hover { border-color: var(--b7-green); }
.b7-lang2__code { flex: 1 1 auto; text-align: left; }
.b7-lang2__chev { color: var(--b7-muted); transition: transform .2s ease; flex: 0 0 14px; }
.b7-lang2.is-open .b7-lang2__chev { transform: rotate(180deg); }
.b7-flag {
    width: 20px; height: 14px; flex: 0 0 20px;
    border-radius: 3px; overflow: hidden;
    display: inline-flex;
}
.b7-flag svg { width: 100%; height: 100%; display: block; }
.b7-lang2__menu {
    position: absolute;
    bottom: calc(100% + 6px); left: 0; right: 0;
    background: var(--b7-panel-2); border: 1px solid var(--b7-border-s);
    border-radius: 10px; padding: 6px; z-index: 60;
    display: flex; flex-direction: column; gap: 2px;
    box-shadow: 0 10px 24px rgba(0,0,0,.5);
}
.b7-lang2__opt {
    display: flex; align-items: center; gap: 8px;
    width: 100%; padding: 8px 10px;
    background: transparent; border: none; cursor: pointer;
    color: var(--b7-muted); font-size: 13px; font-weight: 600;
    border-radius: 8px; text-align: left;
}
.b7-lang2__opt:hover { background: var(--b7-panel); color: var(--b7-text); }
.b7-lang2__opt.is-active { color: var(--b7-green); }
.b7-tg-button {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; height: 48px;
    border-radius: 12px;
    background: #2AABEE; color: #fff;
    font-weight: 700; font-size: 15px;
    text-decoration: none;
}
.b7-tg-button:hover { background: #2196d4; color: #fff; }


.header.b7-header {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 16px 0 !important;
    background: var(--b7-bg) !important;
    min-height: 80px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}
.header__burger {
    display: none;
    background: none; border: none;
    color: var(--b7-muted); cursor: pointer;
    padding: 6px;
}
.header__search-full {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    height: 52px;
    padding: 0 18px;
    background: var(--b7-panel) !important;
    border: 1px solid var(--b7-border-s);
    border-radius: 14px;
    max-width: 720px;
}
.header__search-full-icon { color: var(--b7-muted); margin-right: 12px; flex: 0 0 20px; }
.header__search-full-input {
    flex: 1 1 auto;
    height: 100%;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: var(--b7-text) !important;
    font-size: 15px;
}
.header__search-full-input::placeholder { color: var(--b7-muted-2) !important; }
.header__search-full .header__search-result-wrapper {
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    background: var(--b7-panel-2);
    border: 1px solid var(--b7-border-s);
    border-radius: 12px;
    padding: 8px;
    max-height: 380px;
    overflow-y: auto;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.header__search-result {
    display: flex; align-items: center; gap: 10px;
    padding: 8px; border-radius: 10px; cursor: pointer;
}
.header__search-result:hover { background: var(--b7-panel-3); }
.header__search-result--image { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.header__search-result--title { color: var(--b7-text); font-size: 14px; }

.header__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.header__guest { display: flex; gap: 10px; }
.header__guest-btn {
    padding: 12px 20px; border-radius: 11px; font-size: 14px; font-weight: 600; cursor: pointer;
}


@media (max-width: 992px) {
    .left-main.b7-sidebar {
        position: fixed !important;
        left: 0; top: 0;
        z-index: 1000;
        transform: translateX(-100%) !important;
        transition: transform .25s ease;
        box-shadow: 0 0 40px rgba(0,0,0,.6);
    }
    .left-main.b7-sidebar.b7-sidebar--open { transform: translateX(0) !important; }
    .b7-sidebar__close { display: block; }
    .header__burger { display: inline-flex; }
}


/* Мобильный нижний бар-редиректор (Настройки · Игры · Бонус · Меню) */
.b7mnav { display: none; }
@media (max-width: 992px) {
    .b7mnav {
        position: fixed;
        left: 50%;
        bottom: calc(12px + env(safe-area-inset-bottom));
        transform: translateX(-50%);
        z-index: 900;
        display: flex;
        align-items: center;
        justify-content: space-around;
        gap: 6px;
        width: calc(100% - 24px);
        max-width: 440px;
        padding: 8px 12px;
        background: #141414;
        border: 1px solid var(--b7-border-s);
        border-radius: 22px;
        box-shadow: 0 12px 34px rgba(0, 0, 0, .55);
    }
    .b7mnav__btn {
        flex: 1 1 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 46px;
        border: none;
        background: transparent;
        color: var(--b7-muted);
        cursor: pointer;
        border-radius: 14px;
        transition: color .15s ease, background .15s ease;
    }
    .b7mnav__btn svg { width: 24px; height: 24px; display: block; }
    .b7mnav__btn:hover,
    .b7mnav__btn.is-active { color: #34D92B; background: rgba(255, 255, 255, .06); }
    .b7mnav__btn--primary,
    .b7mnav__btn--primary.is-active { color: var(--b7-green); }
    .b7mnav__btn--primary.is-active { background: rgba(52, 217, 43, .14); }

    /* Отступ под бар — только когда он есть (на главной, класс ставит MobileNav) */
    body.has-bottom-nav .glavpanel { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
}


/* overflow-x: clip (а не hidden) — прячет горизонтальное переполнение, но НЕ создаёт
   контекст прокрутки, иначе ломается position: sticky у сайдбара. */
html, body { overflow-x: clip; max-width: 100vw; }
.main.rows { width: 100%; max-width: 100vw; overflow-x: clip; align-items: stretch; }

.right-main {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;          
    padding: 18px 28px 0 !important;
    
    overflow-x: clip !important;
}
.glavpanel { overflow-x: clip !important; min-width: 0; max-width: 1400px; margin-left: auto; margin-right: auto; }
.content, .content.cards { width: 100% !important; max-width: 100% !important; min-width: 0; }


.swiper { width: 100% !important; overflow: visible !important; }
.swiper-wrapper, .swiper-slide { overflow: visible !important; }
.promo-banner { width: 100% !important; }


.provider-cards {
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
}
.provider-card {
    flex: 1 1 110px !important;
    max-width: 150px;
    min-width: 100px;
}


.slots-row {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
    gap: 14px !important;
    width: 100% !important;
}
.slot-card { width: auto !important; flex: none !important; min-width: 0 !important; }


.slots-history,
.slots-history-wrapper { max-width: 100%; overflow-x: auto; margin-top: 28px; }


.header__wallet {
    background: var(--b7-panel) !important;
    border: 1px solid var(--b7-border-s) !important;
    border-radius: 12px !important;
    color: var(--b7-text) !important;
    box-shadow: none !important;
}
.header__wallet--amount,
.header__wallet--amount .iOdometer { color: var(--b7-green) !important; }
.header__wallet--icon { filter: none; }

.notifications,
.notification__item--button {
    background: var(--b7-panel) !important;
    border: 1px solid var(--b7-border-s) !important;
    border-radius: 12px !important;
    color: var(--b7-text) !important;
}
.notifications svg path { fill: var(--b7-muted) !important; }
.notification__counter {
    background: var(--b7-green) !important;
    color: #06210f !important;
}
.notifications-list,
.notification__item {
    background: var(--b7-panel-2) !important;
    border: 1px solid var(--b7-border-s) !important;
    color: var(--b7-text) !important;
}
.users-photo, .users-box { border-color: var(--b7-border-s) !important; }


.Header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 20px 0 12px; flex-wrap: wrap; }
.Header-text { display: inline-flex; align-items: center; }




.promo-banner {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    aspect-ratio: 1480 / 360;
    /* Контент (логотип/бейдж/заголовок/кнопка) лежит в абсолютном .promo-banner-info,
       поэтому высоту баннера держит только aspect-ratio. На узком десктопе (≤~1150)
       он давал ~160px, и «Welcome Bonus» + кнопка не влезали (обрезались снизу).
       min-height — пол, чтобы контент помещался; на широких работает aspect-ratio. */
    min-height: 250px;
    overflow: visible !important;
    border: none !important;
    box-shadow: none !important;
}
.promo-banner__bg {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    object-fit: cover;
    border-radius: 18px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,.4);
    display: block;
}
.promo-banner__bg.mobile { display: none !important; }
.promo-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 18px;
    background: linear-gradient(90deg, rgba(7,15,9,.92) 0%, rgba(7,15,9,.55) 42%, rgba(7,15,9,0) 72%);
    pointer-events: none;
}
.promo-banner-info {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: none !important;
    padding: clamp(20px, 5vw, 52px) !important;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    z-index: 2 !important;
}
.promo-banner-col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.promo-banner__logo { height: clamp(26px, 2.6vw, 40px); width: auto; display: block; margin: 0 0 6px; }
@media (min-width: 992px) {
    /* Левый отступ был жёстким 252px — на узком десктопе заталкивал текст вправо,
       он налезал на скелет-персонажа. Делаем отступы текучими: слева до 252px, но
       не больше 18% ширины баннера (на узком схлопывается и коллизия уходит);
       вертикальные — тоже текучие, чтобы контент помещался в min-height. */
    .promo-banner-info {
        padding: clamp(16px, 2.4vw, 52px) clamp(16px, 3vw, 52px) clamp(16px, 2.4vw, 52px) clamp(20px, 18%, 252px) !important;
    }
}
.promo-banner__badge {
    color: var(--b7-green) !important;
    font-weight: 800;
    font-size: clamp(13px, 1.4vw, 20px);
    margin: 0;
}
.promo-banner__title {
    color: #fff !important;
    font-weight: 800 !important;
    font-size: clamp(24px, 3.6vw, 52px) !important;
    line-height: 1.04 !important;
    margin: 0 !important;
}
.promo-banner__button {
    min-width: 150px;
    height: clamp(42px, 4vw, 52px) !important;
    padding: 0 24px !important;
    cursor: pointer;
}
.promo-banner__sceletone {
    position: absolute;
    right: 40px;
    bottom: 0;
    height: 122%;
    width: auto;
    max-width: 46%;
    object-fit: contain;
    object-position: bottom right;
    z-index: 3;
    pointer-events: none;
    filter: drop-shadow(0 16px 26px rgba(0,0,0,.5));
}

@media (max-width: 760px) {
    .promo-banner { aspect-ratio: auto !important; min-height: 200px; }
    .promo-banner__sceletone { display: none; }
    .promo-banner-info { width: 100% !important; max-width: none !important; padding: 18px !important; }
    .promo-banner::after { background: linear-gradient(180deg, rgba(7,15,9,.25) 0%, rgba(7,15,9,.5) 45%, rgba(7,15,9,.88) 100%) !important; }
    .promo-banner__title { font-size: 26px !important; }
    .promo-banner__badge { font-size: 14px; }
    .promo-banner__button { min-width: 140px; }
}




.b7-tabs--wide { gap: 12px; }
.b7-tabs--wide .b7-tab {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    padding: 14px 12px;
    font-size: 14px;
}
.b7-tab__ico { width: 18px; height: 18px; flex: 0 0 18px; color: inherit; }
.b7-tabs--wide .b7-tab span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }


.slots-row.slots-row--single {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    gap: 14px !important;
    width: 100% !important;
}
.slots-row--single .slot-card {
    flex: none !important;
    min-width: 0 !important;
    width: auto !important;
}


.slots-row.slots-row--grid {
    display: grid !important;
    
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    gap: 14px !important;
    width: 100% !important;
}


.b7-cta {
    position: relative;
    display: block;
    width: 100%;
    margin: 22px 0;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    line-height: 0;
    background: var(--b7-panel);
}
.b7-cta__bg {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}
.b7-cta__bg--mobile { display: none; }

.b7-cta__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    /* Верх/низ — масштабируемые, минимум 35px (на 1920 ≈ 58px, на 2K больше); слева ~160px на 1920 */
    padding: clamp(35px, 3vw, 80px) clamp(28px, 2.08vw, 60px) clamp(35px, 3vw, 80px) clamp(90px, 8.33vw, 300px);
    line-height: normal;
}
/* Верхняя группа (лого+текст) — сверху, ограничена по ширине, чтобы не налезать на арт справа */
.b7-cta__top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(6px, 0.9vw, 12px);
    max-width: 54%;
}
.b7-cta__logo { height: clamp(26px, 2.8vw, 42px); width: auto; display: block; margin-bottom: 2px; }
.b7-cta__title { font-size: clamp(20px, 3vw, 40px); font-weight: 800; color: #fff; margin: 0; line-height: 1.08; }
.b7-cta__desc { font-size: clamp(12px, 1.4vw, 18px); color: rgba(255, 255, 255, .85); margin: 0; line-height: 1.35; }
.b7-cta__btn {
    display: inline-block;
    background: #fff;
    color: #06210f;
    border: none;
    border-radius: 10px;
    padding: clamp(10px, 1vw, 13px) clamp(20px, 2vw, 32px);
    font-weight: 700;
    font-size: clamp(13px, 1vw, 16px);
    cursor: pointer;
    white-space: nowrap;
    transition: filter .15s ease;
}
.b7-cta:hover .b7-cta__btn { filter: brightness(.93); }

@media (max-width: 760px) {
    .b7-cta__bg--pc { display: none; }
    .b7-cta__bg--mobile { display: block; }
    .b7-cta__content { padding: clamp(18px, 6vw, 30px); }
    .b7-cta__top { max-width: 45%; }
    .b7-cta__title { font-size: clamp(18px, 5vw, 28px); }
    .b7-cta__desc { font-size: clamp(12px, 3.2vw, 15px); }
    .b7-cta__btn { font-size: 14px; padding: 11px 24px; }
}


.b7-scroll { width: 100%; overflow-x: auto; padding-bottom: 10px; }
.b7-scroll .provider-cards {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    width: 100%;
}

.b7-scroll .provider-card {
    flex: 1 1 0 !important;
    min-width: 120px;
    max-width: none;
    padding: 24px;
}

.b7-scroll::-webkit-scrollbar { height: 1px; }
.b7-scroll::-webkit-scrollbar-track { background: var(--b7-panel); border-radius: 8px; }
.b7-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--b7-green), var(--b7-green-2));
    border-radius: 8px;
}
.b7-scroll { scrollbar-width: thin; scrollbar-color: var(--b7-green) var(--b7-panel); }


.slots-history-table { width: 100% !important; }


.users-photo__placeholder {
    color: var(--b7-green);
    background: var(--b7-panel);
    border-radius: 50%;
    object-fit: cover;
}


:root { --b7-grad: linear-gradient(180deg, #34D92B 0%, #1B7317 100%); }

.mines-page { color: var(--b7-text); }
.mines-page .game__title { font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 16px; }


.mines-page .mines-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 20px;
    align-items: stretch;
    width: 100%;
    max-width: 2000px;   
    margin: 0 auto;
}


.mines-game-block {
    display: flex;
    gap: 20px;
    background-color: #1C1C1C;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 18px;
    
    min-width: 0;
}
.mines-page .mines-layout__left { flex: 0 0 320px; max-width: 320px; min-width: 0;     padding: 20px;
    background: #1c1c1c;
    border-radius: 18px; }
.mines-page .mines-layout__right { flex: 1 1 auto; min-width: 0; display: flex; padding: 28px;}
.mines-page .mines-playzone { width: 100%; max-width: 820px; margin: 0 auto; }


.mines-page .mines-panel-card { background: transparent; border-radius: 16px; }
.mines-page .mines-bet-card { padding: 0; }
.mines-page .mines-panel-card__title { font-size: 17px; font-weight: 700; color: #fff; margin: 0 0 12px; }
.mines-page .b7m-label { font-size: 13px; }
.mines-page .mines-history-card {
    background: #1C1C1C;
    border-radius: 18px;
    padding: 20px;
    max-height: 690px;
}
.mines-page .mines-history-card .slots-history__title { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 16px; }


.b7m-panel { display: flex; flex-direction: column; gap: 14px; }
.b7m-label { color: var(--b7-muted); font-size: 14px; font-weight: 500; }
.b7m-label--mt { margin-top: 4px; }
.b7m-bet__row { display: flex; gap: 10px; align-items: stretch; }
.b7m-input {
    flex: 1 1 auto; min-width: 0; height: 56px; padding: 0 16px;
    background: #141414; border: 1px solid #2a2a2a; border-radius: 12px;
    color: #fff; font-size: 18px; font-weight: 600; outline: none;
}
.b7m-input:focus { border-color: var(--b7-green); }
.b7m-chip {
    flex: 0 0 auto; padding: 0 20px; min-width: 64px;
    background: #1e1e1e; border: 1px solid #2c2c2c; border-radius: 10px;
    color: #fff; font-weight: 700; font-size: 14px; cursor: pointer;
    transition: color .15s ease, border-color .15s ease;
}
.b7m-chip:hover:not(:disabled) { color: var(--b7-green); border-color: var(--b7-green); }
.b7m-half { display: flex; gap: 14px; }
.b7m-half__btn {
    flex: 1 1 0; height: 64px; border-radius: 14px;
    background: #1e1e1e; border: none; color: #fff;
    font-weight: 800; font-size: 20px; cursor: pointer; transition: filter .15s ease;
}
.b7m-half__btn--green { background: var(--b7-grad); }
.b7m-half__btn:hover:not(:disabled) { filter: brightness(1.08); }
.b7m-mines {
    display: flex; align-items: center; gap: 10px;
    background: #141414; border: 1px solid #2a2a2a; border-radius: 12px; padding: 8px;
}
.b7m-arrow {
    flex: 0 0 auto; width: 44px; height: 44px; border-radius: 10px;
    background: #1e1e1e; border: none; color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.b7m-arrow:hover { background: #2a2a2a; }
.b7m-mines__list {
    flex: 1 1 auto; min-width: 0; display: flex; gap: 6px;
    overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
    justify-content: space-around;
}
.b7m-mines__list::-webkit-scrollbar { display: none; }
.b7m-mine {
    flex: 0 0 auto; min-width: 40px; height: 40px; padding: 0 10px;
    background: transparent; border: none; border-radius: 10px;
    color: var(--b7-muted); font-weight: 700; font-size: 18px; cursor: pointer;
    transition: color .15s ease, background .15s ease;
}
.b7m-mine:hover:not(.active):not(:disabled) { color: #fff; }
.b7m-mine.active { background: var(--b7-grad); color: #fff; }
.b7m-submit {
    height: 60px; border-radius: 14px; background: var(--b7-grad); color: #fff;
    font-weight: 800; font-size: 18px; border: none; cursor: pointer;
    box-shadow: 0 8px 20px var(--b7-green-sh);
    display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 6px;
}
.b7m-submit:hover { filter: brightness(1.08); }
.b7m-panel button:disabled { opacity: .55; cursor: default; }


.mines-page .mines__steps { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.mines-page .mines__steps--prev,
.mines-page .mines__steps--next {
    flex: 0 0 auto; width: 44px; height: 44px; border-radius: 10px;
    background: #1e1e1e; border: 1px solid #2a2a2a; cursor: pointer;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
}
.mines-page .mines__steps--prev svg,
.mines-page .mines__steps--next svg,
.b7m-arrow svg { display: block; }
.mines-page .stepsCoffBox { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.mines-page .stepsCoffs {
    background: #161616; border: 1px solid #2a2a2a; border-radius: 10px;
    padding: 8px 4px; margin: 0 5px; text-align: center;
}
.mines-page .step-number { color: var(--b7-muted); font-size: 12px; }
.mines-page .step-coff { color: #fff; font-weight: 700; font-size: 14px; }
.mines-page .stepsCoffs.active { background: var(--b7-grad); border-color: transparent; }
.mines-page .stepsCoffs.active .step-number,
.mines-page .stepsCoffs.active .step-coff { color: #fff; }
.mines-page .stepsCoffs.win .step-coff { color: var(--b7-green); }
.mines-page .stepsCoffs.lose .step-coff { color: #ff5b5b; }


.mines-page .minefields-row { display: flex; align-items: stretch; gap: 16px; width: 100%; }
.mines-page .minefields-col {
    flex: 0 0 18%; display: flex; flex-direction: column;
    align-items: center; justify-content: space-between;
    background: rgba(20, 26, 22, .6); border: 1px solid var(--b7-border-s);
    border-radius: 16px; padding: 24px 0;
}
.mines-page .minefields__title { color: var(--b7-muted); font-size: 15px; font-weight: 600; }
.mines-page .minefields__value { color: #fff; font-size: 22px; font-weight: 800; }
.mines-page .minefields__image-wrapper { width: 56%; }
.mines-page .minefields__image { width: 100%; height: auto; display: block; }
.mines-page .mines-center { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }


.mines-page .minefields {
    display: grid; grid-template-columns: repeat(5, 1fr);
    gap: clamp(6px, 1vw, 14px); width: 100%; position: relative;
}
.mines-page .cell { position: relative; aspect-ratio: 1 / 1; cursor: pointer; }
.mines-page .cell__img {
    width: 100%; height: 100%; object-fit: contain; display: block;
    transition: transform .12s ease, filter .12s ease;
}
.mines-page .cell:hover .cell__img { transform: translateY(-2px) scale(1.03); }
.mines-page .cell.wait .cell__img { filter: brightness(.7); }
.mines-page .cell.win .cell__img,
.mines-page .cell.lose .cell__img { animation: b7mReveal .3s ease; }
@keyframes b7mReveal {
    0%   { transform: rotateY(80deg) scale(.7); opacity: .25; }
    60%  { transform: rotateY(-8deg) scale(1.06); opacity: 1; }
    100% { transform: none; opacity: 1; }
}


.mines-page .winBox {
    position: absolute; inset: 0; z-index: 5;
    display: flex; align-items: center; justify-content: center;
    background: rgba(10, 14, 10, .82); border-radius: 14px; backdrop-filter: blur(2px);
}
.mines-page .winsum { font-size: 30px; font-weight: 800; color: var(--b7-green); }
.mines-page .wincoff { font-size: 18px; font-weight: 700; color: #fff; }


.mines-page .mines-auto {
    display: flex; align-items: center; justify-content: center; gap: 14px;
    margin-top: 16px; padding: 12px;
    border: 1px dashed var(--b7-border-s); border-radius: 12px; color: var(--b7-muted);
}
.mines-page .mines-auto__button {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--b7-grad); color: #fff; border: none;
    padding: 10px 18px; border-radius: 10px; font-weight: 700; cursor: pointer;
}
.mines-page .mines-auto__button:disabled { opacity: .55; cursor: default; }


.mines-page .mobile-mines__play { display: none; }


@media (min-width: 1700px) {
    .mines-page .mines-layout { grid-template-columns: minmax(0, 1fr) 420px; gap: 26px; }
    .mines-page .mines-playzone { max-width: 880px; }
    .mines-page .game__title { font-size: 30px; }
}
@media (max-width: 1200px) {
    .mines-page .mines-layout { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .mines-game-block { flex-direction: column; }
    .mines-page .mines-layout__left { flex: none; max-width: none; width: 100%; }
    .mines-page .mines-playzone { max-width: none; }
    /* Игровое поле наверх, управление — под ним */
    .mines-page .mines-layout__right { order: -1; padding: 16px; }
}
@media (max-width: 600px) {
    .mines-page .game__title { font-size: 22px; }
    .mines-game-block { padding: 0px; border-radius: 14px; gap: 16px; }
    .mines-page .minefields-col { display: none; }
    .mines-page .minefields { gap: 8px; }
    .mines-page .mines__steps { gap: 6px; }
    .mines-page .mines__steps--prev,
    .mines-page .mines__steps--next { width: 34px; height: 34px; }
    .b7m-half__btn { height: 46px; font-size: 15px; }
    .b7m-input { height: 44px; font-size: 15px; }
    .b7m-submit { height: 48px; font-size: 15px; }
    .b7m-panel { gap: 10px; }
    .mines-page .mines-layout__left { padding: 16px; }
    .mines-page .mines-history-card { padding: 14px; }
    .mines-page .mines-layout__right {
        padding: 10px;
    }
}


.mines-page .mines-game-block,
.mines-page .mines-layout__left,
.mines-page .mines-layout__right,
.mines-page .mines-playzone,
.mines-page .minefields-row,
.mines-page .mines-center,
.mines-page .mines-history-card { max-width: 100%; min-width: 0; }

@media (max-width: 600px) {
    .right-main { padding-left: 12px !important; padding-right: 12px !important; }
    .mines-page .mines-playzone { max-width: 100%; }
    .mines-page .minefields { gap: 6px; }
    .mines-page .stepsCoffs { margin: 0 3px; padding: 6px 3px; }
    .mines-page .step-coff { font-size: 12px; }
    .mines-page .step-number { font-size: 10px; }
}


.b7d-page { color: var(--b7-text); }
.b7d-page .game__title { font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 16px; }

.b7d-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 20px;
    align-items: stretch;
    width: 100%;
    max-width: 100%;     
}
.b7d-block {
    display: flex;
    background-color: #1C1C1C;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: inset 0 0 0 2000px rgba(12, 16, 12, .72);
    border: 1px solid var(--b7-border-s);
    border-radius: 18px;
    padding: 0;          
    overflow: hidden;
    min-width: 0;
}
.b7d-left {
    flex: 0 0 320px; max-width: 320px; min-width: 0;
    background: #1c1c1c;
    padding: 24px;
}
.b7d-card__title { font-size: 17px; font-weight: 700; color: #fff; margin: 0 0 12px; }
.b7d-left .b7m-label { font-size: 15px; font-weight: 600; color: #cdddd3; }
.b7d-right {
    flex: 1 1 auto; min-width: 0;
    display: flex; align-items: center; justify-content: center;
    padding: 28px;
}
.b7d-history {
    background: #1C1C1C; border: 1px solid var(--b7-border-s);
    border-radius: 18px; padding: 20px; min-width: 0; max-width: 100%;
}


.b7d-slider-wrap { padding: 4px 2px; }
.b7d-slider {
    -webkit-appearance: none; appearance: none;
    width: 100%; height: 8px; border-radius: 6px;
    background: linear-gradient(90deg, var(--b7-green), #1B7317);
    outline: none; cursor: pointer;
}
.b7d-slider::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 22px; height: 22px; border-radius: 50%;
    background: #fff; border: 3px solid var(--b7-green); cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.b7d-slider::-moz-range-thumb {
    width: 18px; height: 18px; border-radius: 50%;
    background: #fff; border: 3px solid var(--b7-green); cursor: pointer;
}


.b7d-dirs { display: flex; gap: 12px; }
.b7d-dir {
    flex: 1 1 0; min-width: 0;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 12px 10px; border-radius: 12px;
    border: 1px solid transparent; cursor: pointer;
    color: #fff; font-weight: 700; opacity: .55;
    transition: opacity .15s ease, transform .1s ease, box-shadow .15s ease;
}
.b7d-dir--full { width: 100%; }
.b7d-dir__name { font-size: 15px; }
.b7d-dir__pct { font-size: 12px; opacity: .85; font-weight: 600; }
.b7d-dir--red   { background: #c0392b; }
.b7d-dir--blue  { background: #1f3a8a; }
.b7d-dir--green { background: var(--b7-grad); }
.b7d-dir:hover:not(:disabled) { opacity: .85; }
.b7d-dir.active { opacity: 1; box-shadow: 0 0 0 2px rgba(255,255,255,.55) inset, 0 6px 16px rgba(0,0,0,.4); }
.b7d-dir:disabled { cursor: default; }


.b7d-chance-group { display: flex; flex-direction: column; gap: 10px; }
.b7d-chance-row { display: flex; align-items: center; gap: 8px; justify-content: flex-start; position: relative; }
.b7d-chance-input { flex: 0 0 100%; width: 100%; text-align: center; padding: 0 10px; -moz-appearance: textfield; appearance: textfield; }
.b7d-chance-input::-webkit-outer-spin-button,
.b7d-chance-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.b7d-chance-suffix {
    flex: 0 0 auto; color: var(--b7-text); font-size: 18px; font-weight: 700; pointer-events: none; position: absolute;    right: 14px;
}


.b7d-wheel {
    position: relative;
    width: clamp(230px, 30vw, 460px);
    max-width: 100%;
    aspect-ratio: 1 / 1;
}
.b7d-wheel__svg { width: 100%; height: 100%; display: block; overflow: visible; }
.b7d-wheel__art { width: 100%; height: 100%; display: block; }
.b7d-wheel__disc { stroke: rgba(207,232,208,.7); stroke-width: 1.2; }

.b7d-wheel__arcs { transform: rotate(-90deg); transform-origin: 60px 60px; }
.b7d-arc {
    fill: none; stroke-width: 8; stroke-linecap: round;
    transition: stroke-width .15s ease;
}
.b7d-arc--red   { stroke: #d8342a; }
.b7d-arc--blue  { stroke: #1f3a8a; }
.b7d-arc.active { stroke-width: 10; }


.b7d-lbl {
    position: absolute; color: #fff; font-size: 14px; font-weight: 700;
    letter-spacing: .3px; text-align: center; pointer-events: none;
    text-transform: uppercase; line-height: 1.1; white-space: nowrap;
}
.b7d-lbl--left   { left: 0%;   top: 50%; transform: translateY(-50%) rotate(-90deg); color: #fff; }
.b7d-lbl--right  { right: 0%;  top: 50%; transform: translateY(-50%) rotate(90deg); color: #fff; }
.b7d-lbl--top    { top: 2%;    left: 50%; transform: translateX(-50%); color: #FFF; }
.b7d-lbl--bottom { bottom: 2%; left: 50%; transform: translateX(-50%) rotate(180deg); color: #FFF; }
.b7d-lbl.active  { filter: drop-shadow(0 0 4px rgba(255,255,255,.5)); }


.b7d-mid {
    position: absolute; left: 50%; transform: translateX(-50%);
    background: #2e8b3d; color: #d7f3d8;
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px;
    padding: 6px 16px; border-radius: 9px; white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,.4);
}
.b7d-mid::after {
    content: ""; position: absolute; left: 50%; width: 14px; height: 14px;
    background: inherit; border-radius: 3px; transform: translateX(-50%) rotate(45deg);
}
.b7d-mid--top { top: -2px; }
.b7d-mid--top::after { bottom: -5px; }
.b7d-mid--bottom { bottom: -2px; transform: translateX(-50%) rotate(180deg); }
.b7d-mid--bottom::after { bottom: -5px; }
.b7d-mid.active { background: var(--b7-green); color: #06210f; }


.b7d-wheel__marker-rot {
    position: absolute; inset: 0;
    transform-origin: 50% 50%;
    transition: transform 2.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.b7d-wheel__marker {
    position: absolute;
    top: 14%;
    left: 50%;
    width: 14px;
    height: 14px;
    margin-left: -9px;
    border-radius: 4px;
    background: var(--b7-green);
    box-shadow: 0 0 5px rgba(52, 217, 43, .9);
}
.b7d-wheel__marker.is-lose { background: #ff5b5b; box-shadow: 0 0 12px rgba(255,91,91,.9); }


.b7d-wheel__center {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; pointer-events: none;
}
.b7d-wheel__num { font-size: clamp(28px, 5vw, 44px); font-weight: 800; color: #fff; line-height: 1.1; }
.b7d-wheel__num.is-win { color: var(--b7-green); }
.b7d-wheel__num.is-lose { color: #ff5b5b; }
.b7d-wheel__label { margin-top: 6px; font-size: 14px; color: var(--b7-muted); }



@media (min-width: 1700px) {
    .b7d-layout { grid-template-columns: minmax(0, 1fr) 420px; gap: 26px; }
}

@media (min-width: 2200px) {
    .b7d-layout { max-width: 2000px; margin: 0 auto; }
}

@media (max-width: 1280px) {
    .b7d-layout { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
    .b7d-block { flex-direction: column; }
    .b7d-left { flex: none; max-width: none; width: 100%; }
    /* Игровое поле (колесо) наверх, управление — под ним */
    .b7d-right { padding: 22px; order: -1; }
    .b7d-wheel { width: clamp(240px, 70vw, 440px); }
}

@media (max-width: 600px) {
    .b7d-page .game__title { font-size: 22px; }
    .b7d-left { padding: 16px; }
    .b7d-right { padding: 12px; }
    .b7d-history { padding: 14px; }
    /* Управление компактнее, чтобы поле было крупнее */
    .b7d-wheel { width: clamp(200px, 64vw, 320px); }
    .b7d-lbl { font-size: 10px; }
    .b7d-card__title { font-size: 15px; margin-bottom: 8px; }
    .b7d-left .b7m-label { font-size: 13px; }
    .b7d-dir { padding: 9px 8px; }
    .b7d-dir__name { font-size: 13px; }
    .b7d-dir__pct { font-size: 11px; }
    .b7d-chance-suffix { font-size: 15px; }
}


.b7doc-page { width: 100%; max-width: 100%; }
.b7doc-card {
    background: #161616;
    border: 1px solid #23332a;
    border-radius: 16px;
    padding: 28px 32px;
}
.b7doc-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #23332a;
}
.b7doc-title { color: #fff; font-weight: 800; font-size: 26px; margin: 0; }
.b7doc-date { color: #6f877a; font-size: 13px; white-space: nowrap; padding-top: 8px; }
.b7doc-date b { color: #cfe0d4; font-weight: 700; }


.b7doc { color: #9aa9a0; font-size: 14px; line-height: 1.65; }
.b7doc * { background: transparent !important; }
.b7doc h1, .b7doc h2, .b7doc h3, .b7doc h4, .b7doc h5, .b7doc h6 {
    color: #fff; font-weight: 700; line-height: 1.3; margin: 24px 0 10px;
}
.b7doc h1 { font-size: 22px; }
.b7doc h2 { font-size: 20px; }
.b7doc h3, .b7doc h4 { font-size: 18px; }
.b7doc h5, .b7doc h6 { font-size: 16px; }
.b7doc p, .b7doc div, .b7doc span, .b7doc td, .b7doc li { color: #9aa9a0; }
.b7doc p, .b7doc > div > div > div { margin: 0 0 10px; }
.b7doc b, .b7doc strong { color: #e7f1ea; font-weight: 700; }
.b7doc a { color: var(--b7-green); text-decoration: none; }
.b7doc a:hover { text-decoration: underline; }
.b7doc ul, .b7doc ol { margin: 8px 0 12px; padding-left: 22px; }
.b7doc li { margin-bottom: 6px; }
.b7doc ul li::marker { color: var(--b7-green); }
.b7doc table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.b7doc th, .b7doc td { border: 1px solid #23332a; padding: 8px 10px; text-align: left; }
.b7doc th { color: #fff; }

@media (max-width: 600px) {
    .b7doc-card { padding: 18px; }
    .b7doc-title { font-size: 20px; }
}



.b7doc .ter-n { display: none; }




.content-box.profile {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    color: var(--b7-text);
}


.profile .btn-toggle {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 22px;
    padding: 0 0 0;
    border: none;
}
.profile .btn-toggle .button {
    background: #161616;
    color: var(--b7-muted);
    border: 1px solid var(--b7-border-s);
    border-radius: 12px;
    padding: 11px 26px;
    font-weight: 700;
    cursor: pointer;
    transition: color .15s ease, background .15s ease, border-color .15s ease;
}
.profile .btn-toggle .button:hover { color: var(--b7-text); border-color: #2c4034; }
.profile .btn-toggle .button.primary {
    background: var(--b7-grad, linear-gradient(180deg, #34D92B 0%, #1B7317 100%));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(52, 217, 43, .25);
}


.b7p { color: var(--b7-text); }
.b7p-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 18px;
    align-items: start;
}
.b7p-main, .b7p-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }


.b7p-card {
    background: #1c1c1c;
    border: 1px solid var(--b7-border-s);
    border-radius: 18px;
    padding: 22px;
}
.b7p-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.b7p-card__title { font-size: 16px; font-weight: 700; color: var(--b7-text); }
.b7p-card__head::before {
    content: "";
    width: 5px; height: 18px;
    border-radius: 3px;
    background: var(--b7-green, #34D92B);
}


.b7p-hero {
    display: flex;
    align-items: center;
    gap: 20px;
    background:
        radial-gradient(120% 160% at 0% 0%, rgba(52,217,43,.10), transparent 55%),
        #1c1c1c;
}
.b7p-hero__avatar {
    position: relative;
    width: 86px; height: 86px;
    flex: 0 0 86px;
    border-radius: 20px;
    background: #121212;
    border: 1px solid var(--b7-border-s);
    overflow: visible;
}
.b7p-hero__avatar-img {
    width: 100%; height: 100%;
    border-radius: 19px;
    object-fit: cover;
    display: block;
}
.b7p-hero__avatar-ph {
    color: #3a4d42;
    background: #141414;
    padding: 12px;
}
.b7p-hero__edit {
    position: absolute;
    right: -8px; bottom: -8px;
    width: 30px; height: 30px;
    padding: 0;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--b7-grad, linear-gradient(180deg, #34D92B 0%, #1B7317 100%));
    color: #fff;
    border: 3px solid #1c1c1c;
    cursor: pointer;
    transition: transform .12s ease;
}
.b7p-hero__edit:hover { transform: scale(1.08); }
.b7p-hero__meta { min-width: 0; }
.b7p-hero__id { font-size: 12px; font-weight: 700; color: var(--b7-green, #34D92B); letter-spacing: .3px; }
.b7p-hero__name {
    font-size: 24px; font-weight: 800; color: #fff;
    margin: 4px 0 6px;
    word-break: break-word;
}
.b7p-hero__reg { font-size: 13px; color: var(--b7-muted); }


.b7p-hero__wallet {
    margin-left: auto;
    display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
    flex: 0 0 auto;
}
.b7p-hero__balance-label { font-size: 12px; color: var(--b7-muted); font-weight: 600; }
.b7p-hero__balance { font-size: 26px; font-weight: 900; color: #fff; line-height: 1; }
.b7p-hero__cash { display: flex; gap: 10px; margin-top: 6px; }
.b7p-hero__cash .b7p-btn { padding: 10px 20px; }
.b7p-btn--ghost { background: #1e1e1e; color: var(--b7-text); border: 1px solid var(--b7-border-s); }
.b7p-btn--ghost:hover { border-color: var(--b7-green, #34D92B); color: #fff; }


.b7p-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.b7p-field { display: flex; flex-direction: column; gap: 7px; }
.b7p-field:last-child { grid-column: 1 / -1; }
.b7p-field__label { font-size: 12px; color: var(--b7-muted); font-weight: 600; }
.b7p-input {
    width: 100%;
    background: #141414;
    border: 1px solid var(--b7-border-s);
    border-radius: 12px;
    padding: 12px 14px;
    color: var(--b7-text);
    font-size: 14px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.b7p-input::placeholder { color: var(--b7-muted-2, #6f877a); }
.b7p-input:focus {
    outline: none;
    border-color: var(--b7-green, #34D92B);
    box-shadow: 0 0 0 3px rgba(52,217,43,.14);
}
.b7p-actions { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.b7p-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: none; border-radius: 12px;
    padding: 12px 24px;
    font-weight: 700; font-size: 14px;
    cursor: pointer;
    transition: filter .15s ease, transform .08s ease, background .15s ease;
}
.b7p-btn:active { transform: translateY(1px); }
.b7p-btn--primary {
    background: var(--b7-grad, linear-gradient(180deg, #34D92B 0%, #1B7317 100%));
    color: #fff;
    box-shadow: 0 8px 20px rgba(52,217,43,.25);
}
.b7p-btn--primary:hover { filter: brightness(1.07); }
.b7p-btn--danger {
    background: #2a1414;
    color: #ff6a6a;
    border: 1px solid #4d2424;
}
.b7p-btn--danger:hover { background: #3a1a1a; }


.b7p-table-wrap { overflow-x: auto; border-radius: 12px; }
.b7p-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.b7p-table th {
    text-align: left;
    color: var(--b7-muted);
    font-weight: 600;
    padding: 0 14px 12px;
    border-bottom: 1px solid var(--b7-border-s);
    white-space: nowrap;
}
.b7p-table td {
    padding: 13px 14px;
    border-bottom: 1px solid rgba(33,48,41,.5);
    color: var(--b7-text);
}
.b7p-table th, .b7p-table td { background: transparent; }
.b7p-table tbody tr:last-child td { border-bottom: none; }
.b7p-table tbody tr:hover td { background: rgba(52,217,43,.05); }
.b7p-sys-img { width: 30px; max-height: 22px; object-fit: contain; }
.b7p-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.b7p-badge--ok { background: rgba(52,217,43,.15); color: var(--b7-green, #34D92B); }
.b7p-badge--wait { background: rgba(255,176,32,.14); color: #ffb020; }
.b7p-badge--err { background: rgba(255,106,106,.14); color: #ff6a6a; }
.b7p-code {
    display: inline-block;
    background: #141414;
    border: 1px solid var(--b7-border-s);
    border-radius: 8px;
    padding: 3px 9px;
    font-family: monospace;
    color: var(--b7-green, #34D92B);
}
.b7p-empty {
    text-align: center;
    color: var(--b7-muted);
    padding: 26px 0;
    font-size: 14px;
}


.b7p-int {
    width: 100%;
    display: flex; align-items: center; gap: 14px;
    background: #141414;
    border: 1px solid var(--b7-border-s);
    border-radius: 14px;
    padding: 14px;
    cursor: pointer;
    text-align: left;
    transition: border-color .15s ease, background .15s ease;
}
.b7p-int:hover { border-color: #2c4034; }
.b7p-int__icon {
    width: 46px; height: 46px; flex: 0 0 46px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: linear-gradient(180deg, #38a8e6 0%, #1d82c4 100%);
}
.b7p-int__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.b7p-int__name { font-weight: 700; color: #fff; }
.b7p-int__status { font-size: 12px; color: var(--b7-muted); }
.b7p-int.is-linked .b7p-int__status { color: var(--b7-green, #34D92B); }
.b7p-int__dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: #4a4a4a; flex: 0 0 10px;
}
.b7p-int__dot.is-on {
    background: var(--b7-green, #34D92B);
    box-shadow: 0 0 0 4px rgba(52,217,43,.18);
}


.b7p-status { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.b7p-status__card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--b7-border-s);
    background: #141414;
    aspect-ratio: 1 / 1;
}
.b7p-status__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.b7p-status__card.is-locked .b7p-status__img { filter: grayscale(.7) brightness(.55); }
.b7p-status__card.is-active { border-color: rgba(52,217,43,.5); box-shadow: 0 0 0 1px rgba(52,217,43,.25) inset; }
.b7p-status__badge {
    position: absolute; left: 8px; bottom: 8px;
    display: inline-flex; align-items: center; gap: 5px;
    background: var(--b7-grad, linear-gradient(180deg, #34D92B 0%, #1B7317 100%));
    color: #fff;
    font-size: 11px; font-weight: 700;
    padding: 5px 10px;
    border-radius: 8px;
}
.b7p-status__lock {
    position: absolute; inset: 0;
    display: grid; place-items: center;
    color: rgba(255,255,255,.55);
}


.b7p-file { display: none; }


.profile .content-box,
.profile .content-box.secondary,
.profile .content-box.small {
    background: #1c1c1c !important;
    border: 1px solid var(--b7-border-s) !important;
    box-shadow: none !important;
    color: var(--b7-text) !important;
    border-radius: 16px !important;
}
.profile .content__title,
.profile .cash__title,
.profile .balance__title,
.profile .cash__subtitle,
.profile .profile-promo__title,
.profile .input__label,
.profile .cash__label,
.profile .profile-promo__label,
.profile .profile-promo__points--label,
.profile .profile-promo__points--value { color: var(--b7-text) !important; }
.profile .cash__step,
.profile .profile-promo__required,
.profile .cash__min { color: var(--b7-muted) !important; }


.profile .auth__input {
    background: #141414 !important;
    border: 1px solid var(--b7-border-s) !important;
    color: var(--b7-text) !important;
    border-radius: 12px !important;
}
.profile .auth__input::placeholder { color: var(--b7-muted-2, #6f877a) !important; }
.profile .auth__input:focus {
    border-color: var(--b7-green, #34D92B) !important;
    box-shadow: 0 0 0 3px rgba(52,217,43,.14) !important;
}


.profile .button.primary,
.profile .button.green {
    background: var(--b7-grad, linear-gradient(180deg, #34D92B 0%, #1B7317 100%)) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 20px rgba(52,217,43,.22) !important;
}
.profile .button.error {
    background: #2a1414 !important;
    color: #ff6a6a !important;
    border: 1px solid #4d2424 !important;
    border-radius: 12px !important;
}
.profile .button:not(.primary):not(.green):not(.error) {
    background: #161616 !important;
    color: var(--b7-text) !important;
    border: 1px solid var(--b7-border-s) !important;
    border-radius: 12px !important;
}


.profile .cash__button {
    background: #141414 !important;
    border: 1px solid var(--b7-border-s) !important;
    border-radius: 12px !important;
    color: var(--b7-text) !important;
}
.profile .cash__button:hover { border-color: #2c4034 !important; }
.profile .cash__button.active {
    border-color: var(--b7-green, #34D92B) !important;
    box-shadow: 0 0 0 1px rgba(52,217,43,.3) inset !important;
}
.profile .cash__button--title { color: var(--b7-text) !important; }
.profile .cash__button--amount { color: var(--b7-muted) !important; }


.profile .cash__table th,
.profile .cash__table td { color: var(--b7-text) !important; border-color: rgba(33,48,41,.5) !important; }
.profile .cash__table thead td,
.profile .cash__table thead th { color: var(--b7-muted) !important; }


.profile .promotion__item {
    background: #141414 !important;
    border: 1px solid var(--b7-border-s) !important;
}
.profile .promotion__item:hover,
.profile .promotion__item.active { background: rgba(52,217,43,.06) !important; }
.profile .promotion__item.active { border-color: var(--b7-green, #34D92B) !important; }
.profile .promotion__item-title { background: #1f2b23 !important; color: var(--b7-text) !important; }
.profile .promotion__item.active .promotion__item-title {
    background: var(--b7-green, #34D92B) !important; color: #06210f !important;
}


.profile .profile-promo__bonus {
    background: #141414 !important;
    border: 1px solid var(--b7-border-s) !important;
    color: var(--b7-text) !important;
    border-radius: 16px !important;
}
.profile .profile-promo__bonus--title { color: #fff !important; }
.profile .profile-promo__bonus--description,
.profile .profile-promo__bonus--description a { color: var(--b7-muted) !important; }
.profile .profile-promo__bonus--description a { color: var(--b7-green, #34D92B) !important; }
.profile .profile-promo__bonus--button {
    background: var(--b7-grad, linear-gradient(180deg, #34D92B 0%, #1B7317 100%)) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
}
.profile .profile-promo__bonus--button:disabled {
    background: #232323 !important;
    color: var(--b7-muted) !important;
    box-shadow: none !important;
}


@media (max-width: 1100px) {
    .b7p-grid { grid-template-columns: 1fr; }
    .b7p-side { flex-direction: row; flex-wrap: wrap; }
    .b7p-side > .b7p-card { flex: 1 1 280px; }
}
@media (max-width: 720px) {
    .b7p-fields { grid-template-columns: 1fr; }
    .b7p-card { padding: 18px; }
    .b7p-hero { gap: 14px; flex-wrap: wrap; }
    .b7p-hero__avatar { width: 72px; height: 72px; flex-basis: 72px; }
    .b7p-hero__name { font-size: 20px; }
    .b7p-hero__wallet { margin-left: 0; width: 100%; align-items: flex-start; }
    .b7p-hero__cash { width: 100%; }
    .b7p-hero__cash .b7p-btn { flex: 1; }
    .b7p-side { flex-direction: column; }
    .profile .btn-toggle .button { flex: 1; padding: 11px 14px; }
}
@media (max-width: 480px) {
    .b7p-actions { flex-direction: column; }
    .b7p-actions .b7p-btn { width: 100%; }
    .b7p-status { grid-template-columns: repeat(2, 1fr); }
}


.b7b { display: flex; flex-direction: column; gap: 18px; }


.b7b-btn {
    display: inline-flex; align-items: center; justify-content: center;
    border: none; border-radius: 10px;
    padding: 11px 22px;
    font-weight: 700; font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    transition: filter .15s ease, transform .08s ease, background .15s ease;
}
.b7b-btn:active { transform: translateY(1px); }
.b7b-btn--green {
    background: var(--b7-grad, linear-gradient(180deg, #34D92B 0%, #1B7317 100%));
    color: #fff;
    box-shadow: 0 8px 18px rgba(52,217,43,.28);
}
.b7b-btn--green:hover { filter: brightness(1.08); }
.b7b-btn--green:disabled { background: #232323; color: var(--b7-muted); box-shadow: none; cursor: default; }
.b7b-btn--light { background: #fff; color: #06210f; }
.b7b-btn--light:hover { filter: brightness(.94); }
.b7b-btn--dark { background: #0d1a0f; color: #fff; }
.b7b-btn--dark:hover { background: #122414; }
.b7b-btn--ghost { background: rgba(255,255,255,.06); color: var(--b7-muted); cursor: default; }


.b7b-tcard::before,
.b7b-offer::before,
.b7b-mcard--media::before,
.b7b-mcard--accent::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(5,12,7,.72) 0%, rgba(5,12,7,.32) 45%, transparent 78%);
    z-index: 0;
}


.b7b-top { display: grid; grid-template-columns: 0.62fr 1fr; gap: 18px; align-items: stretch; }


.b7b-depo {
    background: #0f0f0f;
    border: 1px solid var(--b7-border-s);
    border-radius: 18px;
    padding: 14px;
    display: flex; flex-direction: column; gap: 12px;
    min-width: 0;
}
.b7b-depo__track {
    display: flex; gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 2px;
    scrollbar-width: none;
}
.b7b-depo__track::-webkit-scrollbar { height: 0; display: none; }
.b7b-depo__card {
    position: relative;
    
    flex: 0 0 clamp(260px, 42%, 340px);
    scroll-snap-align: start;
    background: #1c1c1c;
    border: 1px solid var(--b7-border-s);
    border-radius: 14px;
    overflow: hidden;
    display: flex; flex-direction: column;
    min-height: 300px;
}
.b7b-depo__media {
    height: 130px;
    background-size: cover;
    background-position: center;
}
.b7b-depo__body { padding: 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.b7b-depo__title { font-weight: 800; color: #fff; font-size: 14px; line-height: 1.25; }
.b7b-depo__title .b7b-depo__hl { color: var(--b7-green, #34D92B); }
.b7b-depo__sub { font-size: 12px; color: var(--b7-muted); }
.b7b-depo__btn { margin-top: auto; }
.b7b-depo__card.is-locked .b7b-depo__media { filter: grayscale(.6) brightness(.5); }
.b7b-depo__card.is-locked .b7b-depo__body { opacity: .45; }
.b7b-depo__lock {
    position: absolute; inset: 0;
    display: grid; place-items: center;
    color: #fff;
    background: rgba(0,0,0,.42);
}
.b7b-depo__bar { height: 4px; border-radius: 2px; background: #1c1c1c; position: relative; }
.b7b-depo__bar span {
    position: absolute; left: 0; top: 0; height: 100%; width: 42%;
    border-radius: 2px;
    background: var(--b7-grad, linear-gradient(180deg, #34D92B 0%, #1B7317 100%));
}


.b7b-timers { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; min-width: 0; }
.b7b-tcard {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    padding: 18px;
    display: flex; flex-direction: column;
    min-height: 210px;
    border: 1px solid var(--b7-border-s);
    background-size: cover;
    background-position: right center;
}
.b7b-tcard__info { position: relative; z-index: 1; }
.b7b-tcard__title { font-weight: 800; color: #fff; font-size: 16px; }
.b7b-tcard__desc { font-size: 12px; color: rgba(255,255,255,.72); margin-top: 6px; max-width: 62%; }
.b7b-tcard__timer {
    position: relative; z-index: 1; margin-top: auto; align-self: flex-start;
    background: rgba(0,0,0,.5);
    border: 1px solid var(--b7-border-s);
    color: #fff; font-weight: 800;
    padding: 8px 14px; border-radius: 8px;
    font-variant-numeric: tabular-nums; letter-spacing: .5px;
}
.b7b-tcard__claim { position: relative; z-index: 1; margin-top: auto; align-self: flex-start; }
.b7b-tcard__big {
    position: relative; z-index: 1;
    margin-top: 12px;
    font-size: 34px; font-weight: 900; line-height: 1;
    color: var(--b7-green, #34D92B);
    text-shadow: 0 2px 12px rgba(0,0,0,.45);
}


.b7b-mid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.b7b-mcard {
    position: relative; overflow: hidden;
    background: #1c1c1c;
    border-radius: 18px;
    padding: 22px;
    aspect-ratio: 5 / 2;
    display: flex; flex-direction: column; gap: 10px;
}
.b7b-mcard__title { font-weight: 800; color: #fff; font-size: 15px; }
.b7b-mcard__desc { font-size: 13px; color: var(--b7-muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.b7b-mcard__btn { margin-top: auto; align-self: flex-start; position: relative; z-index: 1; }

.b7b-mcard--media { background-size: cover; background-position: right center; }
.b7b-mcard--media .b7b-mcard__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; }
.b7b-mcard--media .b7b-mcard__desc { color: rgba(255,255,255,.78); }
.b7b-mcard--accent {
    border-color: transparent;
    background-size: cover; background-position: center;
}
.b7b-mcard--accent .b7b-mcard__title { color: #fff; }
.b7b-promo { display: flex; flex-direction: column; gap: 10px; flex: 1; position: relative; z-index: 1; }
.b7b-promo__title { color: #fff; }
.b7b-promo__input {
    width: 100%;
    background: rgba(0,0,0,.32);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 10px;
    padding: 13px 14px;
    color: #fff; font-weight: 600; font-size: 14px;
}
.b7b-promo__input::placeholder { color: rgba(255,255,255,.7); letter-spacing: .3px; }
.b7b-promo__input:focus { outline: none; border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.18); }
.b7b-promo__btn { margin-top: auto; align-self: stretch; }

.b7b-promo__open { position: relative; z-index: 1; margin: auto; min-width: 210px; padding: 14px 26px; font-size: 14px; }


.b7b-promo-modal { display: flex; flex-direction: column; gap: 14px; }
.b7b-promo-modal__input {
    width: 100%;
    background: #141414;
    border: 1px solid var(--b7-border-s);
    border-radius: 12px;
    padding: 13px 14px;
    color: var(--b7-text);
    font-size: 14px; font-weight: 600;
    letter-spacing: .3px;
}
.b7b-promo-modal__input::placeholder { color: var(--b7-muted-2, #6f877a); }
.b7b-promo-modal__input:focus { outline: none; border-color: var(--b7-green, #34D92B); box-shadow: 0 0 0 3px rgba(52,217,43,.14); }
.b7b-promo-modal__btn { align-self: stretch; padding: 13px; }

.b7-modal__content { background: #161616 !important; color: var(--b7-text); border: 1px solid var(--b7-border-s); border-radius: 16px; }
.b7-modal__header { border-bottom: 1px solid var(--b7-border-s); }
.b7-modal__content .modal-title { color: #fff; font-weight: 800; }
.b7-modal__content .close { color: var(--b7-text); text-shadow: none; opacity: .7; }
.b7-modal__content .close:hover { opacity: 1; color: var(--b7-text); }


.b7b-head { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; color: #fff; margin-top: 4px; }
.b7b-head__star { color: var(--b7-green, #34D92B); display: inline-flex; }
.b7b-offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.b7b-offer {
    --op: 20px; 
    position: relative; overflow: hidden;
    border-radius: 18px;
    padding: var(--op) var(--op) 0;
    display: flex; flex-direction: column;

    aspect-ratio: 5 / 2;
    border: 1px solid var(--b7-border-s);
    background-size: cover;
    background-position: center;
}
.b7b-offer__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.b7b-offer__title { font-weight: 800; color: #fff; font-size: 15px; line-height: 1.1; }
.b7b-offer__desc { font-size: 12px; color: rgba(255,255,255,.82); max-width: 58%; }
.b7b-offer__big { font-size: 30px; font-weight: 900; color: #fff; line-height: 1; margin-top: 2px; }


.b7b-offer__footer {
    position: relative; z-index: 1;
    margin: auto calc(-1 * var(--op)) 0;
    padding: 16px var(--op);
    display: flex;
    background: rgba(255, 255, 255, 0.33);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.b7b-offer__btn { position: relative; z-index: 1; align-self: flex-start; }


@media (min-width: 761px) {
    
    .b7b-offer { --op: 26px; }
    .b7b-offer__body { gap: 8px; }
    .b7b-offer__title { font-size: 20px; }
    .b7b-offer__desc { font-size: 14px; }
    .b7b-offer__big { font-size: 30px; }
    .b7b-offer__footer { padding: 18px var(--op); }
    .b7b-offer__btn { padding: 12px 26px; font-size: 14px; }

    
    .b7b-mcard__title,
    .b7b-tcard__title { font-size: 22px; }
    .b7b-mcard__desc { font-size: 15px; }
    .b7b-tcard__desc { font-size: 14px; }
    .b7b-tcard__big { font-size: 38px; }
    .b7b-depo__title { font-size: 13px; }
    .b7b-depo__sub { font-size: 12px; }
}


@media (min-width: 2001px) {
    .b7b-offer { --op: 36px; }
    .b7b-offer__body { gap: 12px; }
    .b7b-offer__title { font-size: 26px; }
    .b7b-offer__desc { font-size: 17px; }
    .b7b-offer__big { font-size: 42px; }
    .b7b-offer__footer { padding: 24px var(--op); }
    .b7b-offer__btn { padding: 15px 34px; font-size: 16px; }

    .b7b-mcard__title,
    .b7b-tcard__title { font-size: 28px; }
    .b7b-mcard__desc { font-size: 18px; }
    .b7b-tcard__desc { font-size: 17px; }
    .b7b-tcard__big { font-size: 52px; }
    .b7b-depo__title { font-size: 18px; }
    .b7b-depo__sub { font-size: 15px; }
}


.b7b [data-b7="depo"] { 
    background-image: url('/assets/image/bonus_hd.png'), linear-gradient(135deg, #243a16 0%, #0e1c0b 100%);
    background-size: 104px auto, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
}
.b7b-tcard[data-b7="daily"]  { background-image: url('/assets/image/promo_daily.png'); }
.b7b-tcard[data-b7="hourly"] { background-image: url('/assets/image/promo_hour.png'); }
.b7b-mcard[data-b7="tg"]     { background-image: url('/assets/image/promot_tg.png'); }
.b7b-mcard[data-b7="gem"]    { background-image: url('/assets/image/promo_gem.png'); }
.b7b-mcard[data-b7="promo"]  { background-image: url('/assets/image/promo_promo.png'); }
.b7b-offer[data-b7="b1"]     { background-image: url('/assets/image/promo_b1.png'); }
.b7b-offer[data-b7="b2"]     { background-image: url('/assets/image/promo_b2.png'); }



@media (min-width: 1281px) {
    .b7b-depo__card { flex: 1 1 0; min-width: 0; }
}
@media (max-width: 1280px) {
    .b7b-top { grid-template-columns: 1fr; }
    .b7b-mid { grid-template-columns: 1fr 1fr; }
    
    .b7b-mid .b7b-mcard--accent { grid-column: 1 / -1; aspect-ratio: auto; min-height: 200px; }
    .b7b-offers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
    .b7b-mid { grid-template-columns: 1fr; }
    .b7b-timers { grid-template-columns: 1fr; }
    .b7b-offers { grid-template-columns: 1fr; }
    
    .b7b-mcard, .b7b-mid .b7b-mcard--accent { aspect-ratio: auto; min-height: 180px; }
    .b7b-offer { aspect-ratio: auto; min-height: 200px; }
    .b7b-tcard__desc, .b7b-offer__desc { max-width: 78%; }
}

/* Десктоп/планшет: те же карточки в 2–3 колонки при aspect-ratio:5/2 получались
   слишком низкими (~127px в 3-колоночной полосе 1281–1450) и резали контент
   (тело + футер с кнопкой ~250px не влезали в 127). Как и на мобиле — растим
   карточку под контент, aspect-ratio только как минимальная «баннерная» форма. */
@media (min-width: 761px) {
    .b7b-mcard,
    .b7b-offer { aspect-ratio: auto; min-height: 160px; }
}
/* Защита от переполнения колонок: грид-дети должны уметь сжиматься ниже min-content */
.b7b-mcard,
.b7b-offer,
.b7b-tcard { min-width: 0; }



.profile-cash.b7c { display: block; width: 100%; }
.b7c { color: var(--b7-text); }
.b7c-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 18px; align-items: start; width: 100%; }
.b7c-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.b7c-card {
    background: #1c1c1c;
    border: 1px solid var(--b7-border-s);
    border-radius: 18px;
    padding: 22px;
}
.b7c-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.b7c-card__head::before { content: ""; width: 5px; height: 18px; border-radius: 3px; background: var(--b7-green, #34D92B); }
.b7c-card__title { font-size: 16px; font-weight: 700; color: #fff; }


.b7c-seg {
    display: flex; gap: 6px;
    background: #141414;
    border: 1px solid var(--b7-border-s);
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 18px;
}
.b7c-seg__btn {
    flex: 1;
    padding: 11px 12px;
    border: none; background: transparent;
    color: var(--b7-muted);
    font-weight: 700; font-size: 14px;
    border-radius: 9px; cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.b7c-seg__btn:hover { color: var(--b7-text); }
.b7c-seg__btn.is-active { background: var(--b7-grad, linear-gradient(180deg, #34D92B 0%, #1B7317 100%)); color: #fff; box-shadow: 0 6px 16px rgba(52,217,43,.22); }


.b7c-flow__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.b7c-step { color: var(--b7-muted); font-size: 13px; font-weight: 600; }
.b7c-back {
    display: inline-flex; align-items: center; gap: 5px;
    background: #141414; border: 1px solid var(--b7-border-s);
    color: var(--b7-text); border-radius: 9px;
    padding: 7px 12px; font-size: 13px; cursor: pointer;
    transition: border-color .15s ease;
}
.b7c-back:hover { border-color: #2c4034; }
.b7c-hint { color: var(--b7-muted); font-size: 13px; margin: 10px 0 16px; }


.b7c-methods { display: flex; flex-direction: column; gap: 10px; }
.b7c-method {
    display: flex; align-items: center; gap: 14px;
    background: #141414;
    border: 1px solid var(--b7-border-s);
    border-radius: 14px;
    padding: 13px 16px;
    cursor: pointer; text-align: left;
    transition: border-color .15s ease, background .15s ease;
}
.b7c-method:hover { border-color: #2c4034; }
.b7c-method.is-active { border-color: var(--b7-green, #34D92B); box-shadow: 0 0 0 1px rgba(52,217,43,.35) inset; }
.b7c-method__icon {
    width: 50px; height: 50px; flex: 0 0 50px;
    display: grid; place-items: center;
    background: #1c1c1c; border: 1px solid var(--b7-border-s);
    border-radius: 11px; overflow: hidden;
}
.b7c-method__icon img { max-width: 70%; max-height: 70%; object-fit: contain; }
.b7c-method__body { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.b7c-method__name { font-weight: 700; color: #fff; font-size: 14px; }
.b7c-method__badge { font-size: 11px; color: var(--b7-green, #34D92B); font-weight: 700; }
.b7c-method__limit { font-size: 12px; color: var(--b7-muted); }
.b7c-method__chev { color: var(--b7-muted); flex: 0 0 auto; display: inline-flex; }
.b7c-method.is-active .b7c-method__chev { color: var(--b7-green, #34D92B); }


.b7c-form { display: flex; flex-direction: column; gap: 14px; }
.b7c-minnote { margin: 0; color: var(--b7-muted); font-size: 13px; }
.b7c-minnote b { color: var(--b7-green, #34D92B); }
.b7c-field { display: flex; flex-direction: column; gap: 7px; }
.b7c-field__label { font-size: 13px; color: var(--b7-muted); font-weight: 600; }
.b7c-input {
    width: 100%;
    background: #141414;
    border: 1px solid var(--b7-border-s);
    border-radius: 12px;
    padding: 13px 14px;
    color: var(--b7-text); font-size: 14px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.b7c-input::placeholder { color: var(--b7-muted-2, #6f877a); }
.b7c-input:focus { outline: none; border-color: var(--b7-green, #34D92B); box-shadow: 0 0 0 3px rgba(52,217,43,.14); }
.b7c-amount { position: relative; }
.b7c-input--amount { padding-right: 70px; font-size: 18px; font-weight: 700; }
.b7c-amount__cur { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--b7-muted); font-weight: 700; font-size: 13px; }
.b7c-submit {
    margin-top: 4px; padding: 14px;
    border: none; border-radius: 12px;
    font-weight: 800; font-size: 15px; cursor: pointer;
    background: var(--b7-grad, linear-gradient(180deg, #34D92B 0%, #1B7317 100%));
    color: #fff; box-shadow: 0 8px 20px rgba(52,217,43,.25);
    transition: filter .15s ease, transform .08s ease;
}
.b7c-submit:hover { filter: brightness(1.07); }
.b7c-submit:active { transform: translateY(1px); }
.b7c-submit--out { background: #2a1414; color: #ff6a6a; border: 1px solid #4d2424; box-shadow: none; }
.b7c-submit--out:hover { background: #3a1a1a; filter: none; }


.b7c-spins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.b7c-spin {
    display: flex; flex-direction: column; gap: 4px; align-items: flex-start;
    background: #141414; border: 1px solid var(--b7-border-s);
    border-radius: 12px; padding: 12px; cursor: pointer; text-align: left;
    transition: border-color .15s ease, background .15s ease;
}
.b7c-spin:hover { border-color: #2c4034; }
.b7c-spin.is-active { border-color: var(--b7-green, #34D92B); background: rgba(52,217,43,.06); }
.b7c-spin__fs { font-weight: 800; color: #fff; font-size: 15px; }
.b7c-spin.is-active .b7c-spin__fs { color: var(--b7-green, #34D92B); }
.b7c-spin__from { font-size: 11px; color: var(--b7-muted); }


.b7c-balance__row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.b7c-balance__icon {
    width: 46px; height: 46px; flex: 0 0 46px;
    border-radius: 12px; display: grid; place-items: center;
    background: var(--b7-grad, linear-gradient(180deg, #34D92B 0%, #1B7317 100%)); color: #06210f;
}
.b7c-balance__meta { display: flex; flex-direction: column; min-width: 0; }
.b7c-balance__label { font-size: 13px; color: var(--b7-muted); }
.b7c-balance__amount { font-size: 26px; font-weight: 800; color: #fff; line-height: 1.15; }
.b7c-balance__amount .iOdometer, .b7c-balance__amount .odometer { font-size: inherit; color: inherit; }
.b7c-balance__btn { width: 100%; padding: 13px; border: none; border-radius: 12px; font-weight: 700; font-size: 14px; cursor: pointer; transition: filter .15s ease; }
.b7c-balance__btn:hover { filter: brightness(1.06); }
.b7c-balance__btn--in { background: var(--b7-grad, linear-gradient(180deg, #34D92B 0%, #1B7317 100%)); color: #fff; box-shadow: 0 8px 20px rgba(52,217,43,.22); }
.b7c-balance__btn--out { background: #2a1414; color: #ff6a6a; border: 1px solid #4d2424; }


.b7c-table-wrap { overflow-x: auto; overflow-y: auto; max-height: 420px; padding-right: 2px; }
.b7c-table-wrap::-webkit-scrollbar { width: 8px; height: 8px; }
.b7c-table-wrap::-webkit-scrollbar-thumb { background: #28382e; border-radius: 8px; }
.b7c-table-wrap::-webkit-scrollbar-track { background: transparent; }
.b7c-table { width: 100%; border-collapse: separate; border-spacing: 0 8px; font-size: 12px; }
.b7c-table th {
    text-align: left; color: var(--b7-muted); font-weight: 600;
    padding: 2px 12px 8px; white-space: nowrap;
    background: transparent; 
    font-size: 12px;
}
.b7c-table td {
    padding: 13px 12px; color: var(--b7-text); vertical-align: middle;
    background: #141414;
    border-top: 1px solid var(--b7-border-s);
    border-bottom: 1px solid var(--b7-border-s);
}
.b7c-table td:first-child {
    border-left: 1px solid var(--b7-border-s);
    border-top-left-radius: 11px; border-bottom-left-radius: 11px;
}
.b7c-table td:last-child {
    border-right: 1px solid var(--b7-border-s);
    border-top-right-radius: 11px; border-bottom-right-radius: 11px;
}
.b7c-table tbody tr:hover td { background: #18221c; }
.b7c-sys-img { width: 36px; height: auto; max-height: 28px; object-fit: contain; border-radius: 6px; display: block; }
.b7c-wallet { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b7c-date { color: var(--b7-muted); white-space: nowrap; }
.b7c-badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 8px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.b7c-badge--ok   { background: rgba(52,217,43,.15);  color: var(--b7-green, #34D92B); }
.b7c-badge--wait { background: rgba(240,180,40,.15); color: #f0b428; }
.b7c-badge--err  { background: rgba(255,80,80,.15);  color: #ff6a6a; }
.b7c-badge--proc { background: rgba(60,140,230,.18); color: #5aa6e6; }
.b7c-cancel { color: #ff6a6a; cursor: pointer; text-decoration: underline; margin-left: 4px; }


@media (max-width: 1100px) {
    .b7c-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .b7c-card { padding: 18px; }
    .b7c-spins { grid-template-columns: repeat(2, 1fr); }
    .b7c-balance__amount { font-size: 22px; }
}


.modal-backdrop, .modal-backdrop.show { background-color: #040705; }
.modal-backdrop.show { opacity: .75; }

.modal-content {
    background: #161616 !important;
    color: var(--b7-text) !important;
    border: 1px solid var(--b7-border-s) !important;
    border-radius: 16px !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .6);
}
.modal-header {
    border-bottom: 1px solid var(--b7-border-s) !important;
    padding: 18px 22px;
}
.modal-header .modal-title { color: #fff !important; font-weight: 800; font-size: 18px; }
.modal-header .close {
    background: transparent !important;
    border: none !important;
    color: var(--b7-text) !important;
    text-shadow: none !important;
    opacity: .55; font-size: 28px; font-weight: 400; line-height: 1;
    padding: 0 6px !important;
    transition: opacity .15s ease;
}
.modal-header .close:hover { opacity: 1; }
.modal-body { padding: 20px 22px; color: var(--b7-text); }
.modal-footer { border-top: 1px solid var(--b7-border-s) !important; padding: 14px 22px; }


.modal-content label,
.modal-content p,
.modal-content h1, .modal-content h2, .modal-content h3,
.modal-content h4, .modal-content h5, .modal-content h6,
.modal-content li { color: var(--b7-text); }
.modal-content a { color: var(--b7-green, #34D92B); }
.modal-content a:hover { color: var(--b7-green-2, #2bbd50); }
.modal-content b, .modal-content strong { color: #fff; }
.modal-content hr { border-color: var(--b7-border-s); opacity: 1; }


.modal-content .form-control,
.modal-content input[type="text"],
.modal-content input[type="email"],
.modal-content input[type="password"],
.modal-content input[type="number"],
.modal-content select,
.modal-content textarea {
    background: #141414 !important;
    border: 1px solid var(--b7-border-s) !important;
    color: var(--b7-text) !important;
    border-radius: 10px !important;
}
.modal-content .form-control::placeholder,
.modal-content input::placeholder { color: var(--b7-muted-2, #6f877a) !important; }
.modal-content .form-control:focus,
.modal-content input:focus,
.modal-content textarea:focus {
    outline: none;
    border-color: var(--b7-green, #34D92B) !important;
    box-shadow: 0 0 0 3px rgba(52, 217, 43, .14) !important;
}
.modal-content .form-control:disabled,
.modal-content input:disabled { background: #101010 !important; color: var(--b7-muted) !important; cursor: default; }


.modal-content .btn-primary,
.modal-content .button.primary,
.modal-content .button.green,
.modal-content .blue {
    background: var(--b7-grad, linear-gradient(180deg, #34D92B 0%, #1B7317 100%)) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 20px rgba(52, 217, 43, .22);
}
.modal-content .btn-secondary,
.modal-content .button:not(.primary):not(.green):not(.error):not(.blue) {
    background: #1e1e1e !important;
    color: var(--b7-text) !important;
    border: 1px solid var(--b7-border-s) !important;
    border-radius: 10px !important;
}
.modal-content .btn-danger,
.modal-content .button.error {
    background: #2a1414 !important;
    color: #ff6a6a !important;
    border: 1px solid #4d2424 !important;
    border-radius: 10px !important;
}


.welcome-bonus-modal__lead,
.welcome-bonus-modal__code-label { color: #fff !important; }
.welcome-bonus-modal__meta,
.welcome-bonus-modal__hint { color: var(--b7-muted) !important; }
.welcome-bonus-modal__code {
    background: #0f0f0f !important;
    color: var(--b7-green, #34D92B) !important;
    border: 1px solid var(--b7-border-s);
}


#settings .rounded-background,
#settings .common-input { background: #141414 !important; color: var(--b7-text) !important; }


.referal.b7r { color: var(--b7-text); width: 100%; }
.b7r { display: flex; flex-direction: column; gap: 22px; }


.b7r-top { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; align-items: stretch; }


.b7r-hero {
    position: relative; overflow: hidden;
    border-radius: 18px;
    border: 1px solid var(--b7-border-s);
    padding: 36px 40px;
    min-height: 300px;
    display: flex; align-items: center;
    background:
        linear-gradient(90deg, rgba(8,14,9,.82) 0%, rgba(8,14,9,.40) 46%, transparent 70%),
        url('/assets/image/ref_bg.png') center / cover no-repeat,
        #0b160d;
}
.b7r-hero__mascot { display: none; } 
.b7r-hero__inner { position: relative;
    z-index: 2;
    max-width: 70%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between; }
.b7r-hero__title { font-size: 26px; font-weight: 800; color: #fff; margin: 0 0 12px; line-height: 1.15; }
.b7r-hero__sub { font-size: 15px; color: #cfe6d6; line-height: 1.5; margin: 0 0 22px; }
.b7r-hero__sub .b7r-hl { color: #fff; font-weight: 800; }
.b7r-link {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid #FFF;
    border-radius: 12px;
    padding: 6px 6px 6px 16px;
    max-width: 380px;
}
.b7r-link__input {
    flex: 1; min-width: 0;
    background: transparent; border: none; outline: none;
    color: #fff; font-size: 14px;
}
.b7r-link__copy {
    flex: 0 0 38px; width: 38px; height: 38px;
    display: grid; place-items: center;
    border-radius: 9px;
    background: transparent;
    color: #FFF; cursor: pointer;
    transition: color .15s ease, border-color .15s ease;
}
.b7r-link__copy:hover { color: var(--b7-green, #34D92B); border-color: #2c4034; }


.b7r-info {
    background: #161616;
    border: 1px solid var(--b7-border-s);
    border-radius: 18px;
    padding: 28px 30px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
}
.b7r-info__title { font-size: 18px; font-weight: 800; color: #fff; margin: 0 0 14px; }
.b7r-info__text { font-size: 13px; color: var(--b7-muted); line-height: 1.65; margin: 0 0 10px; }
.b7r-info__text:last-child { margin-bottom: 0; }
.b7r-info__text--pre { white-space: pre-line; }


.b7r-stats {
    background: #161616;
    border: 1px solid var(--b7-border-s);
    border-radius: 18px;
    padding: 26px 30px 30px;
}
.b7r-stats__title { font-size: 22px; font-weight: 800; color: #fff; margin: 0 0 22px; }
.b7r-stats__body { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 2.4fr); gap: 40px; align-items: start; }
.b7r-stats__left { display: flex; flex-direction: column; gap: 18px; }
.b7r-stats__list { min-width: 0; }
.b7r-empty { color: var(--b7-muted); padding: 24px 4px; font-size: 14px; }
.b7r-field { display: flex; flex-direction: column; gap: 8px; }
.b7r-field__label { font-size: 13px; color: var(--b7-muted); }
.b7r-field__box {
    display: flex; align-items: center; gap: 10px;
    background: #1d1d1d;
    border: 1px solid var(--b7-border-s);
    border-radius: 12px;
    padding: 10px 10px 10px 16px;
    min-height: 52px;
}
.b7r-field__val { flex: 1; min-width: 0; color: #fff; font-size: 15px; font-weight: 600; }
.b7r-field__btn {
    flex: 0 0 auto;
    background: #2c2c2c;
    border: 1px solid var(--b7-border-s);
    color: var(--b7-text);
    border-radius: 9px;
    padding: 10px 22px; font-weight: 600; font-size: 14px; cursor: pointer;
    transition: background .15s ease;
}
.b7r-field__btn:hover { background: #383838; }


.b7r-stats__levels { display: flex; flex-direction: column; }
.b7r-lvl {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
    padding: 18px 2px;
}
.b7r-lvl:first-child { padding-top: 0; }
.b7r-lvl:not(:first-child) { border-top: 1px solid var(--b7-border-s); }
.b7r-lvl__cell { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.b7r-lvl__label { font-size: 12px; color: var(--b7-muted); }
.b7r-lvl__val { font-size: 15px; font-weight: 700; color: #fff; }
.b7r-lvl__val--income { color: var(--b7-green, #34D92B); }


.b7r-list {
    background: #161616;
    border: 1px solid var(--b7-border-s);
    border-radius: 18px;
    padding: 28px 30px;
}
.b7r-list__title { font-size: 22px; font-weight: 800; color: #fff; margin: 0 0 18px; }
.b7r-table-wrap { overflow-x: auto; }
.b7r-table { width: 100%; border-collapse: separate; border-spacing: 0 8px; font-size: 13px; }
.b7r-table th {
    text-align: left; color: var(--b7-muted); font-weight: 600;
    padding: 2px 14px 10px; white-space: nowrap; background: transparent;
}
.b7r-table td {
    padding: 14px; color: var(--b7-text); vertical-align: middle; white-space: nowrap;
    background: #1d1d1d;
    border-top: 1px solid var(--b7-border-s);
    border-bottom: 1px solid var(--b7-border-s);
}
.b7r-table td:first-child { border-left: 1px solid var(--b7-border-s); border-radius: 11px 0 0 11px; }
.b7r-table td:last-child  { border-right: 1px solid var(--b7-border-s); border-radius: 0 11px 11px 0; }
.b7r-table tbody tr:hover td { background: #222e26; }
.b7r-table .b7r-muted { color: var(--b7-muted); }
.b7r-table .b7r-income { color: var(--b7-green, #34D92B); font-weight: 700; }


@media (max-width: 1100px) {
    .b7r-top { grid-template-columns: 1fr; }
    .b7r-stats__body { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 760px) {
    .b7r-info { grid-template-columns: 1fr; gap: 22px; }
    .b7r-hero { padding: 24px; min-height: auto; }
    .b7r-hero__inner { max-width: 100%; }
    .b7r-hero__mascot { width: 55%; opacity: .22; }
    .b7r-hero__title { font-size: 23px; }
    .b7r-lvl { grid-template-columns: 1fr 1fr; row-gap: 16px; }
}
@media (max-width: 460px) {
    .b7r-field__box { flex-wrap: wrap; }
    .b7r-link { max-width: none; }
}


.b7-banners {
    display: grid;

    grid-template-columns: 800fr 355fr 355fr;
    gap: 14px;
    margin: 14px 0 4px;
    align-items: stretch;
}
/* Промо-баннер живёт в той же сетке, но занимает весь верхний ряд (десктоп) */
.b7-banners > .promo-banner { grid-column: 1 / -1; }

/* КРИТИЧНО: дети .b7-banners/.b7-cbanners — это слайды SPA-карусели (.swipe-row),
   которой скрипт задаёт каждому слайду собственную (макс-контентную) ширину под
   свайп. bets7.css переопределяет контейнер на grid, но дети сохраняли ту ширину
   и вылезали за свою колонку — баннеры наезжали друг на друга и обрезались справа
   (у .glavpanel/.right-main стоит overflow-x:clip, поэтому не скролл, а обрезка).
   Заставляем слайды заполнять грид-ячейку и не распирать её. На мобиле (flex,
   flex-basis:100%) это не мешает — слайд остаётся во всю ширину экрана. */
.b7-banners > *,
.b7-cbanners > * {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
}
.b7-banner {
    position: relative;
    display: flex;
    align-items: stretch;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--b7-border-s);
    background: #0e1a10 center / cover no-repeat;
    text-decoration: none !important;
    /* Пол по высоте: на десктопе (3-колоночная сетка) aspect-ratio давал баннерам
       ~117px, и контент (заголовок + до 2 строк описания + кнопка) не влезал —
       описание обрезалось. Порог с запасом: узкие баннеры (~300px) с 2-строчным
       описанием требуют ~164px даже при максимальном vw-паддинге (зона 1280–1440).
       Проверено на 1101/1280/1365/1440/1920. */
    min-height: 176px;
}
.b7-banner, .b7-banner * { text-decoration: none !important; }

.b7-banner--wide { aspect-ratio: 800 / 200; }
.b7-banner:not(.b7-banner--wide) { aspect-ratio: 355 / 200; }
.b7-banner::before { 
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(6,12,8,.82) 0%, rgba(6,12,8,.45) 42%, transparent 72%);
    z-index: 0;
}
.b7-banner__inner {
    position: relative; z-index: 1;
    padding: clamp(14px, 1.5vw, 26px);
    max-width: 66%;
    display: flex; flex-direction: column; align-items: flex-start;
}
.b7-banner__title { font-size: clamp(16px, 1.3vw, 24px); font-weight: 800; color: #fff; margin: 0 0 clamp(4px, 0.5vw, 9px); line-height: 1.12; }
.b7-banner__desc {
    font-size: clamp(11px, 0.85vw, 14px); color: rgba(255,255,255,.82); line-height: 1.4;
    margin: 0 0 clamp(10px, 1.1vw, 18px);
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.b7-banner__btn {
    display: inline-block;
    margin-top: auto; 
    background: #fff; color: #06210f;
    border: none; border-radius: 10px;
    padding: clamp(8px, 0.7vw, 11px) clamp(16px, 1.5vw, 24px);
    font-weight: 700; font-size: clamp(12px, 0.9vw, 14px);
    cursor: pointer; white-space: nowrap;
    transition: filter .15s ease;
}
.b7-banner__btn:hover { filter: brightness(.93); }

.b7-banner[data-b="gift"] { background-image: url('/assets/image/main_banner_gift.png'); }
.b7-banner[data-b="time"] { background-image: url('/assets/image/main_banner_time.png'); }
.b7-banner[data-b="fast"] { background-image: url('/assets/image/main_banner_fast.png'); }


.b7-banner:not(.b7-banner--wide) .b7-banner__inner { max-width: 74%; }


@media (max-width: 1100px) {
    .b7-banners { grid-template-columns: 1fr 1fr; }
    .b7-banner--wide { grid-column: 1 / -1; aspect-ratio: 900 / 200; }
}
@media (max-width: 760px) {
    /* Карусель в пределах контентной колонки. Фулл-блид через 100vw+calc(50%-50vw)
       НЕ работает: родитель .right-main имеет overflow-x:clip и обрезает вылет,
       из-за чего баннеры «съезжали». Держим трек внутри .right-main — устойчиво. */
    .b7-banners {
        display: flex;
        grid-template-columns: none;
        flex-wrap: nowrap;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 0;
        width: auto;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .b7-banners::-webkit-scrollbar { display: none; }
    /* Один слайд на ширину колонки, снап по левому краю — без «сползания» первого слайда */
    .b7-banners > * {
        flex: 0 0 100%;
        max-width: 100%;
        scroll-snap-align: start;
        border-radius: 16px;
    }
    .b7-banner,
    .b7-banner--wide,
    .b7-banner:not(.b7-banner--wide) {
        aspect-ratio: 375 / 200;
        min-height: 0;
        max-height: 260px;
    }
    .b7-banner__inner { max-width: 82%; }

    /* Промо как фулл-скрин слайд: та же форма, что у остальных */
    .b7-banners > .promo-banner {
        grid-column: auto;
        aspect-ratio: 375 / 200 !important;
        min-height: 0;
        max-height: 260px;
    }
    .b7-banners > .promo-banner { border-radius: 16px; overflow: hidden !important; }
    .b7-banners > .promo-banner .promo-banner__bg { border-radius: 16px !important; }
    .b7-banners > .promo-banner::after { border-radius: 16px; }
    /* Скелетон возвращаем и на мобильном (вписываем в рамку баннера) */
    .b7-banners > .promo-banner .promo-banner__sceletone { display: block !important; right: 4px; height: 100%; }
    .b7-banners > .promo-banner .promo-banner-info { padding: clamp(16px, 5vw, 24px) !important; }
    .b7-banners > .promo-banner .promo-banner__title { font-size: clamp(18px, 5vw, 26px) !important; }
    .b7-banners > .promo-banner .promo-banner__badge { font-size: clamp(11px, 3vw, 14px); }
    .b7-banners > .promo-banner .promo-banner__logo { height: clamp(20px, 5vw, 28px); margin-bottom: 2px; }
    .b7-banners > .promo-banner .promo-banner__button { min-width: 0; height: 40px !important; padding: 0 20px !important; }

    /* Точки возвращаем в поток контента (трек ушёл в 100vw) */
    .swipe-row .b7-dots { margin-top: 12px; }
}


.b7-cbanners {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 14px 0 18px;
}
.b7-cbanner {
    position: relative;
    display: flex;
    align-items: stretch;
    aspect-ratio: 383 / 170;
    min-height: 176px; /* та же защита от схлопывания контента, что и у .b7-banner (тут ещё крупное число) */
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--b7-border-s);
    background: #0e1a10 center / cover no-repeat;
    text-decoration: none !important;
}
.b7-cbanner, .b7-cbanner * { text-decoration: none !important; }
.b7-cbanner::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(6,12,8,.82) 0%, rgba(6,12,8,.42) 44%, transparent 72%);
    z-index: 0;
}
.b7-cbanner__inner {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; align-items: flex-start;
    padding: clamp(18px, 1.8vw, 30px);
    max-width: 62%;
    width: 100%;
}
.b7-cbanner__title { font-size: clamp(17px, 1.3vw, 24px); font-weight: 800; color: #fff; margin: 0 0 clamp(5px, 0.6vw, 10px); line-height: 1.1; }
.b7-cbanner__desc {
    font-size: clamp(12px, 0.85vw, 14px); color: rgba(255,255,255,.82); line-height: 1.4; margin: 0 0 clamp(8px, 1vw, 16px);
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.b7-cbanner__big { font-size: clamp(26px, 2.6vw, 44px); font-weight: 900; color: var(--b7-green, #34D92B); line-height: 1; margin: 0 0 clamp(12px, 1.4vw, 20px); text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.b7-cbanner__btn {
    display: inline-block; margin-top: auto;
    background: #fff; color: #06210f; border: none; border-radius: 10px;
    padding: clamp(9px, 0.8vw, 12px) clamp(18px, 1.6vw, 28px);
    font-weight: 700; font-size: clamp(12px, 0.9vw, 14px); cursor: pointer; white-space: nowrap;
    transition: filter .15s ease;
}
.b7-cbanner__btn:hover { filter: brightness(.93); }
.b7-cbanner[data-cb="fs"]      { background-image: url('/assets/image/category_bg_fs.png'); }
.b7-cbanner[data-cb="percent"] { background-image: url('/assets/image/category_bg_percent.png'); }

@media (max-width: 760px) {
    .b7-cbanners {
        display: flex;
        grid-template-columns: none;
        flex-wrap: nowrap;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 0;
        width: auto;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .b7-cbanners::-webkit-scrollbar { display: none; }
    .b7-cbanner {
        flex: 0 0 100%;
        max-width: 100%;
        scroll-snap-align: start;
        aspect-ratio: 375 / 200;
        min-height: 0;
        max-height: 260px;
        border-radius: 16px;
    }
    .b7-cbanner__inner { max-width: 78%; }
}

/* Точки-индикаторы под свайп-каруселями (как у Swiper): серые = баннеры, белая = текущий. Только мобильный. */
.b7-dots { display: none; }
@media (max-width: 760px) {
    .b7-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 7px;
        margin: 10px 0 2px;
    }
    .b7-dot {
        width: 7px; height: 7px;
        padding: 0;
        border: none;
        border-radius: 50%;
        background: rgba(255, 255, 255, .30);
        cursor: pointer;
        transition: background .2s ease, width .2s ease, border-radius .2s ease;
    }
    .b7-dot.is-active {
        width: 20px;
        border-radius: 4px;
        background: #fff;
    }
    /* Верхний промо-баннер (Swiper.js) — тот же стиль точек */
    .swiper-pagination-bullet {
        width: 7px; height: 7px;
        background: rgba(255, 255, 255, .30);
        opacity: 1;
        transition: background .2s ease, width .2s ease, border-radius .2s ease;
    }
    .swiper-pagination-bullet-active {
        width: 20px;
        border-radius: 4px;
        background: #fff;
    }
}


.slots_p .slot-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    grid-gap: 14px !important;
}


.slot-card-info { display: none !important; }


.slots_p .header__search-wrapper { display: none !important; }

.slots_p .slot-cards-grid .slot-card__image-wrapper { border-radius: 14px !important; }
.slots_p .slot-cards-grid .slot-card-control { border-radius: 14px !important; }


.b7pay {
    position: fixed; inset: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
.b7pay__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.72); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.b7pay__panel {
    position: relative; z-index: 1; box-sizing: border-box;
    width: 100%; max-width: 1080px; max-height: 90vh; overflow-y: auto; overflow-x: hidden;
    background: #161616; border: 1px solid var(--b7-border-s);
    border-radius: 18px; padding: 24px 28px;
    box-shadow: 0 24px 70px rgba(0,0,0,.6);
}
.b7pay__panel * { box-sizing: border-box; }
.b7pay__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.b7pay__title { font-size: 22px; font-weight: 800; color: #fff; }
.b7pay__close {
    background: transparent; border: none; color: var(--b7-muted); cursor: pointer;
    width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px;
    transition: background .15s ease, color .15s ease;
}
.b7pay__close:hover { background: #232323; color: #fff; }

.b7pay__body { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.b7pay__left { display: flex; flex-direction: column; min-width: 0; }
.b7pay__label { font-size: 14px; color: var(--b7-muted); margin: 18px 0 10px; }
.b7pay__left > .b7pay__label:first-child, .b7pay__right > .b7pay__label:first-child { margin-top: 0; }

.b7pay__methods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.b7pay__method {
    display: flex; align-items: center; gap: 12px;
    background: #1c1c1c; min-width: 0;
    border-radius: 12px; padding: 16px 14px; cursor: pointer; text-align: left;
    transition: border-color .15s ease, background .15s ease;
}
.b7pay__method:hover { border-color: #2c4034; }
.b7pay__method.is-active {
    background: var(--b7-grad, linear-gradient(180deg,#34D92B 0%,#1B7317 100%));
    border-color: transparent;
}
.b7pay__method-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; background: #2a2a2a; border-radius: 9px; overflow: hidden; }
.b7pay__method.is-active .b7pay__method-icon { background: rgba(0,0,0,.25); }
.b7pay__method-icon img { max-width: 72%; max-height: 72%; object-fit: contain; }
.b7pay__method-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.b7pay__method-name { font-weight: 700; color: #fff; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.b7pay__method-fee { font-size: 12px; color: var(--b7-muted); }
.b7pay__method.is-active .b7pay__method-fee { color: rgba(255,255,255,.85); }

.b7pay__input {
    width: 100%; background: #1c1c1c; border: none;
    border-radius: 12px; padding: 14px; color: var(--b7-text); font-size: 15px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.b7pay__input::placeholder { color: var(--b7-muted-2, #6f877a); }
.b7pay__input:focus { outline: none; border-color: var(--b7-green, #34D92B); box-shadow: 0 0 0 3px rgba(52,217,43,.14); }

.b7pay__note { display: flex; justify-content: space-between; gap: 10px; color: var(--b7-muted); font-size: 13px; margin-top: 14px; }
.b7pay__note b { color: var(--b7-green, #34D92B); }

.b7pay__submit {
    margin-top: 22px; padding: 16px; border: none; border-radius: 12px;
    background: var(--b7-grad, linear-gradient(180deg,#34D92B 0%,#1B7317 100%));
    color: #fff; font-weight: 800; font-size: 15px; cursor: pointer;
    box-shadow: 0 10px 24px rgba(52,217,43,.28); transition: filter .15s ease;
}
.b7pay__submit:hover { filter: brightness(1.07); }
.b7pay__submit--out { background: #2a1414; color: #ff6a6a; border: 1px solid #4d2424; box-shadow: none; }
.b7pay__submit--out:hover { background: #3a1a1a; filter: none; }


.b7pay__right { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.b7pay__fs {
    position: relative; min-height: 235px; min-width: 0; border-radius: 14px; overflow: hidden;
    padding: 12px; display: flex; flex-direction: column; justify-content: space-between;
    background: #14301a url('/assets/slots/TheDogHouse.jpg') center / cover no-repeat;
    border: 1px solid var(--b7-border-s); cursor: pointer; text-align: left;
}
.b7pay__fs::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,18,10,.45) 0%, rgba(8,18,10,.86) 100%); transition: background .15s ease; }
.b7pay__fs.is-active { border-color: var(--b7-green, #34D92B); }
.b7pay__fs.is-active::before { background: linear-gradient(180deg, rgba(52,217,43,.45) 0%, rgba(20,90,16,.85) 100%); }
.b7pay__fs-badge { position: relative; z-index: 1; align-self: flex-start; background: rgba(0,0,0,.5); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 7px; }
.b7pay__fs.is-active .b7pay__fs-badge { background: var(--b7-green, #34D92B); color: #06210f; }
.b7pay__fs-amount { position: relative; z-index: 1; font-size: 24px; font-weight: 900; color: #fff; line-height: 1; margin-top: auto; }
.b7pay__fs-game { position: relative; z-index: 1; font-size: 11px; font-weight: 700; color: rgba(255,255,255,.72); letter-spacing: .4px; }


.b7pay__right--history { display: block; }
.b7pay__hist { display: flex; flex-direction: column; gap: 8px; }
.b7pay__hist-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #141414; border: 1px solid var(--b7-border-s); border-radius: 10px; padding: 10px 12px; font-size: 12px; }
.b7pay__hist-img { width: 30px; max-height: 22px; object-fit: contain; }
.b7pay__hist-sum { font-weight: 700; color: #fff; }
.b7pay__hist-status { margin-left: auto; color: var(--b7-muted); }
.b7pay__hist-status.is-1 { color: var(--b7-green, #34D92B); }
.b7pay__hist-status.is-2 { color: #ff6a6a; }
.b7pay__hist-date { width: 100%; color: var(--b7-muted-2, #6f877a); }
.b7pay__cancel { color: #ff6a6a; cursor: pointer; text-decoration: underline; }
.b7pay__hist-empty { color: var(--b7-muted); }

@media (max-width: 820px) {
    .b7pay { padding: 12px; align-items: flex-start; }
    .b7pay__body { grid-template-columns: 1fr; }
    .b7pay__panel { padding: 18px; max-height: 94vh; }
}
@media (max-width: 520px) {
    .b7pay__methods { grid-template-columns: 1fr 1fr; gap: 8px; }
    .b7pay__method { padding: 10px; gap: 8px; }
    .b7pay__method-icon { width: 34px; height: 34px; flex-basis: 34px; }
    .b7pay__method-name { font-size: 13px; }
    .b7pay__right { grid-template-columns: 1fr 1fr; }
    .b7pay__title { font-size: 18px; }
}


@media (max-width: 760px) {
    
    .slots-row,
    .slots-row.slots-row--single,
    .slots-row.slots-row--grid,
    .slots_p .slot-cards-grid,
    .slot-cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    
    .b7-tabs,
    .b7-tabs--wide {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-snap-type: x proximity;
        margin: 14px 0 6px;
        padding-bottom: 4px;
    }
    .b7-tabs::-webkit-scrollbar,
    .b7-tabs--wide::-webkit-scrollbar { display: none; }
    .b7-tabs .b7-tab,
    .b7-tabs--wide .b7-tab {
        flex: 0 0 auto !important;
        min-width: max-content !important;
        width: auto !important;
        scroll-snap-align: start;
    }

    
    .right-main { padding: 12px 12px 0 !important; }

    
    .header.b7-header { padding: 10px 12px !important; gap: 10px !important; min-height: 62px; }
    .header__search-full { height: 44px; padding: 0 12px; max-width: none; }
    .header__search-full-icon { margin-right: 8px; }
    .header__right { gap: 8px; }
}

@media (max-width: 360px) {
    
    .slots-row,
    .slots-row.slots-row--single,
    .slots-row.slots-row--grid,
    .slots_p .slot-cards-grid,
    .slot-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .right-main { padding: 10px 8px 0 !important; }
}
.auth-modal { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.auth-modal__bg { position: absolute; inset: 0; z-index: 0; background: rgba(0,0,0,.8); border: none; padding: 0; cursor: pointer; }
.b7auth { position: relative; z-index: 2; box-sizing: border-box; width: 100%; max-width: 460px; max-height: 92vh; overflow-y: auto; background: #161616; border: 1px solid var(--b7-border-s); border-radius: 20px; padding: 30px; box-shadow: 0 24px 70px rgba(0,0,0,.6); }
.b7auth * { box-sizing: border-box; }
.b7auth__close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: none; border-radius: 9px; color: var(--b7-muted); cursor: pointer; z-index: 2; transition: background .15s ease, color .15s ease; }
.b7auth__close:hover { background: rgba(255,255,255,.12); color: #fff; }
.b7auth__promo { position: relative; min-height: 120px; border-radius: 14px; overflow: hidden; background: #122017 url('/assets/image/category_bg_fs.png') center / cover no-repeat; display: flex; flex-direction: column; justify-content: center; padding: 18px 20px; margin-bottom: 22px; }
.b7auth__promo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,16,10,.9) 0%, rgba(8,16,10,.45) 55%, rgba(8,16,10,0) 100%); }
.b7auth__promo-amount { position: relative; z-index: 1; font-size: 28px; font-weight: 900; color: #fff; line-height: 1; margin: 0 0 6px; }
.b7auth__promo-sub { position: relative; z-index: 1; font-size: 13px; color: rgba(255,255,255,.82); margin: 0; max-width: 210px; }
.b7auth__form { display: flex; flex-direction: column; }
.b7auth__title { font-size: 24px; font-weight: 800; color: #fff; margin: 0 0 18px; }
.b7auth__field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.b7auth__label { font-size: 13px; color: var(--b7-muted); }
.b7auth__input { width: 100%; height: 52px; padding: 0 16px; background: #1f1f1f; border: 1px solid transparent; border-radius: 12px; color: var(--b7-text); font-size: 15px; outline: none; transition: border-color .15s ease; }
.b7auth__input::placeholder { color: #6f877a; }
.b7auth__input:focus { border-color: var(--b7-green); }
.b7auth__terms { display: flex; align-items: flex-start; gap: 10px; margin: 2px 0 18px; cursor: pointer; }
.b7auth__terms-text { font-size: 12px; color: var(--b7-muted); line-height: 1.45; }
.b7auth__terms-text a { color: var(--b7-green); }
.b7auth__submit { width: 100%; height: 54px; border: none; border-radius: 12px; background: var(--b7-grad, linear-gradient(180deg,#34D92B 0%,#1B7317 100%)); color: #fff; font-weight: 800; font-size: 16px; cursor: pointer; box-shadow: 0 10px 24px rgba(52,217,43,.28); transition: filter .15s ease; }
.b7auth__submit:hover { filter: brightness(1.07); }
.b7auth__tg { width: 100%; height: 48px; margin-top: 12px; border: none; border-radius: 12px; background: #2AABEE; color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: filter .15s ease; }
.b7auth__tg:hover { filter: brightness(1.06); }
.b7auth__switch { margin: 16px auto 2px; background: none; border: none; cursor: pointer; color: var(--b7-green); font-size: 14px; font-weight: 600; }
.b7auth__switch:hover { text-decoration: underline; }
@media (max-width: 520px) {
    .auth-modal { padding: 12px; }
    .b7auth { padding: 30px; border-radius: 16px; }
    .b7auth__title { font-size: 20px; }
    .b7auth__promo { min-height: 104px; }
}
.b7search { position: relative; flex: 1 1 auto; display: flex; align-items: center; height: 52px; padding: 0 18px; background: var(--b7-panel) !important; border: 1px solid var(--b7-border-s); border-radius: 14px; max-width: 720px; box-sizing: border-box; }
.b7search__icon { color: var(--b7-muted); margin-right: 12px; flex: 0 0 20px; }
.b7search__input { flex: 1 1 auto; min-width: 0; height: 100%; background: transparent !important; border: none !important; outline: none !important; color: var(--b7-text) !important; font-size: 15px; }
.b7search__input::placeholder { color: var(--b7-muted-2) !important; }
.b7search__results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--b7-panel-2); border: 1px solid var(--b7-border-s); border-radius: 12px; padding: 8px; max-height: 380px; overflow-y: auto; z-index: 60; display: flex; flex-direction: column; gap: 4px; }
.b7search__result { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; cursor: pointer; }
.b7search__result:hover { background: var(--b7-panel-3); }
.b7search__result-img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.b7search__result-title { color: var(--b7-text); font-size: 14px; }
.b7search--sidebar { display: none; }
@media (max-width: 992px) {
    .b7search--header { display: none !important; }
    .b7search--sidebar { display: flex; width: 100%; max-width: none; height: 46px; margin: 0 0 14px; }
}
@keyframes b7-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes b7-pop-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes b7-fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.b7pay__overlay, .auth-modal__bg { animation: b7-fade-in .2s ease both; }
.b7pay__panel, .b7auth { animation: b7-pop-in .28s cubic-bezier(.2,.7,.3,1) both; }
.modal.show .modal-content, .b7-modal__content, .welcome-bonus-modal { animation: b7-pop-in .28s cubic-bezier(.2,.7,.3,1) both; }

.slot-card { transition: transform .18s ease, box-shadow .18s ease; }
.slot-card:hover { transform: translateY(-5px); }
.b7-banner, .b7-cbanner, .promo-banner, .b7-promo, .provider-card, .b7pay__fs, .b7pay__method { transition: transform .2s ease, box-shadow .2s ease, border-color .15s ease, background .15s ease; }
.b7-banner:hover, .b7-cbanner:hover, .b7-promo:hover, .provider-card:hover { transform: translateY(-3px); }
.b7pay__fs:hover, .b7pay__method:hover { transform: translateY(-2px); }
.b7-tab, .b7p-btn, .header__guest-btn, .b7d-dir, .b7m-chip, .b7b-btn, .b7c-btn, .b7auth__submit, .b7auth__tg, .b7auth__switch, .b7pay__submit { transition: transform .12s ease, filter .15s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease; }
.b7-tab:active, .b7p-btn:active, .header__guest-btn:active, .b7pay__submit:active, .b7auth__submit:active { transform: translateY(1px); }

.b7p, .b7b, .b7c, .b7r, .b7faq, .b7doc-page, .b7d-page, .mines-page, .slots_p { animation: b7-fade-up .3s ease both; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
