/* Basic-owned theme stylesheet (theme separation 2026-11-11).
   Moved verbatim from templates/basic/markets.blade.php's <style>
   block. basic/markets renders ONLY under Basic (every other theme
   owns its own markets.blade.php), so this file is Basic-only.
   Loaded last in basic/layouts/app.blade.php, after bb-premium.css.
   The remaining @push('style') blocks in basic/ stay in place: they
   live in fallback files (login/register/social_login partials,
   user/* views) rendered under the other themes' own layouts,
   which never load basic.css. They move in each theme's own
   separation round, as Diamond did for its copies. */
        .ball-running-banner {
            background: linear-gradient(90deg, rgba(245, 158, 11, 0.25) 0%, rgba(220, 38, 38, 0.2) 100%);
            border: 1px solid rgba(245, 158, 11, 0.5);
            border-radius: 8px;
            padding: 10px 16px;
            display: flex;
            align-items: center;
            animation: bannerPulse 1.5s infinite ease-in-out;
        }
        @keyframes bannerPulse {
            0%, 100% { box-shadow: 0 0 8px rgba(245, 158, 11, 0.2); }
            50% { box-shadow: 0 0 16px rgba(245, 158, 11, 0.5); }
        }
        .odd-list__body-content.ball-suspended .oddBtn {
            opacity: 0.45 !important;
            pointer-events: none !important;
            cursor: not-allowed !important;
            filter: grayscale(40%);
        }
        /* BUG 3 FIX 2026-11-16 (REA-FULL-TEST): the old 12%-alpha light
           gradient over a light page left the white "1-Click Bet" label and
           pale pills unreadable. Dark bar — Basic's own slate #1E293B (same
           as its cookie bar), Diamond #0F172A / Jack #262626 pattern.
           !important beats bb-premium's surface-2 !important. */
        .one-click-bet-bar {
            background: #1E293B !important;
            border: 1px solid #334155 !important;
            color: #fff !important;
        }
        .one-click-bet-bar .form-check-label { color: #fff !important; }
        .one-click-bet-bar .one-click-stakes .text-muted { color: #D1D5DB !important; }
        .quick-stake-pill {
            background: rgba(255, 255, 255, 0.14);
            color: #F1F5F9;
            border: 1px solid rgba(255, 255, 255, 0.30);
            border-radius: 4px;
            padding: 2px 8px;
            font-size: 0.75rem;
            font-weight: 600;
            transition: all 0.2s;
        }
        .quick-stake-pill.active {
            background: #0E97FB;
            color: #fff;
            border-color: #0E97FB;
            box-shadow: 0 0 8px rgba(14, 151, 251, 0.4);
        }
        @media (max-width: 480px) {
            .one-click-stakes { flex-wrap: wrap !important; overflow-x: visible !important; }
            .quick-stake-pill { padding: 1px 5px; font-size: 0.66rem; }
        }
        .btn-submitting {
            opacity: 0.6;
            pointer-events: none;
            position: relative;
        }

        /* Basic fidelity (2026-11-11): jackpot event-page structure in
           Basic's own dark styling — section bars, MARKET/TV/BETS tabs,
           flat FANCY table. Basic-scoped only; shared CSS untouched. */
        .bs-section-row { background: #1E293B; color: #fff; padding: 9px 12px; margin: 14px 0 0; border-radius: 6px; display: flex; justify-content: space-between; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,0.08); }
        .bs-section-row:first-child { margin-top: 0; }
        .bs-section-row:has(+ .bs-fancy-table-wrap) { border-radius: 6px 6px 0 0; }
        .bs-section-bar { color: inherit; font-weight: 800; font-size: .95rem; letter-spacing: .03em; text-transform: uppercase; padding: 0; margin: 0; border: 0; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex: 1 1 auto; min-width: 0; }
        .bs-mkt-max { color: #94A3B8; font-size: .7rem; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
        .bs-fancy-filters { background: #1E293B; border: 1px solid rgba(255,255,255,0.08); border-top: 0; border-radius: 0 0 6px 6px; overflow: hidden; }
        .bs-fancy-filter { flex: 1; background: transparent; border: 0; border-right: 1px solid rgba(255,255,255,0.08); color: #94A3B8; font-size: .72rem; font-weight: 800; letter-spacing: .05em; padding: 8px 4px; cursor: pointer; }
        .bs-fancy-filter:last-child { border-right: 0; }
        .bs-fancy-filter.active { background: #0E97FB; color: #fff; }
        .bs-fancy-table col.col-fancy-name { width: 56%; }
        .bs-fancy-table col.col-fancy-side { width: 22%; }
        .bs-fancy-table .fancy-cell__title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
        .bs-mkt-star { color: #FACC15; }
        .bs-mkt-info { color: #94A3B8; }
        .bs-ev-tabs { display: flex; background: #1E293B; border: 1px solid rgba(255,255,255,0.08); border-radius: 8px 8px 0 0; overflow: hidden; }
        .bs-ev-tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 6px; background: #1E293B; border: 0; border-right: 1px solid rgba(255,255,255,0.08); color: #94A3B8; font-size: .72rem; font-weight: 800; letter-spacing: .05em; cursor: pointer; }
        .bs-ev-tab:last-child { border-right: 0; }
        .bs-ev-tab i { font-size: 1.3rem; line-height: 1; color: #38BDF8; }
        .bs-ev-tab[data-ev-tab="bets"] i { color: #F87171; }
        .bs-ev-tab.active { color: #fff; box-shadow: inset 0 -3px 0 #0E97FB; }
        .table tbody td.bs-suspended-cell { background: rgba(31, 41, 55, 0.92) !important; vertical-align: middle; text-align: center; }
        .bs-suspended-faint { display: block; color: #9CA3AF; font-size: .72rem; font-weight: 600; }
        .bs-suspended-text { display: block; color: #DC2626; font-weight: 800; font-size: .95rem; letter-spacing: .05em; }
        @media (max-width: 575.98px) { .bs-ev-tab { font-size: .65rem; } }
        /* §33 (shared bb-premium.css) orders the match page's direct
           children (scoreboard 1 … open-bets card 8). The new tab/pane
           siblings default to order 0 and would jump ahead of the
           scoreboard — pin them into the same sequence: tabs right after
           the scoreboard, MARKET pane with the betting content, TV pane
           where the stats disclosure sat, BETS pane where the open-bets
           card sat. */
        .home-page .odd-list > .row > .col-12 > .bs-ev-tabs { order: 2; }
        .home-page .odd-list > .row > .col-12 > .ev-pane--market { order: 3; }
        .home-page .odd-list > .row > .col-12 > .ev-pane--tv { order: 6; }
        .home-page .odd-list > .row > .col-12 > .ev-pane--bets { order: 8; }
        /* Event page fidelity 2026-11-11 (jackpot reference, Basic palette):
           balance bar, photo scoreboard, CRR/RRR badges, cash-out pills,
           fancy row icons and forced NO/YES fills. Basic-only file. */
        .bs-ev-balance { background: #1E293B; color: #fff; font-size: .8rem; font-weight: 700; display: flex; justify-content: space-between; gap: 8px; padding: 7px 12px; border-radius: 8px; }
        .bs-ev-balance span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .home-page .odd-list .match-center-head {
            background: linear-gradient(rgba(8, 12, 18, 0.28), rgba(8, 12, 18, 0.42)), url('/assets/templates/basic/images/match-cricket-bg-bright.webp') center 30% / cover no-repeat #0B1220 !important;
        }
        .home-page .odd-list .match-center-head .match-team-name,
        .home-page .odd-list .match-center-head .score-team-name {
            text-shadow: 0 1px 5px rgba(0, 0, 0, 0.75), 0 0 2px rgba(0, 0, 0, 0.55);
        }
        .bs-score-rates { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
        .bs-badge-crr { background: #10B981 !important; color: #fff !important; border: 0 !important; font-size: .7rem; }
        .bs-badge-rrr { background: #475569 !important; color: #fff !important; border: 0 !important; font-size: .7rem; }
        .bs-cashout-pill { background: #0E97FB; color: #fff; font-weight: 800; font-size: .72rem; letter-spacing: .04em; border: 0; border-radius: 4px; padding: 4px 10px; white-space: nowrap; flex-shrink: 0; }
        .bs-fancy-table .fancy-cell__title { flex-wrap: nowrap; }
        .bs-fancy-table .fancy-cell__title .runner-name { flex: 1 1 auto; min-width: 0; }
        .bs-fancy-table .fancy-cell__title .bs-mkt-star,
        .bs-fancy-table .fancy-cell__title .bs-mkt-b,
        .bs-fancy-table .fancy-cell__title .bs-mkt-gear,
        .bs-fancy-table .fancy-cell__title .bs-mkt-ladder,
        .bs-fancy-table .fancy-cell__title .bs-mkt-info { flex-shrink: 0; }
        .bs-mkt-b { background: #1E293B; color: #fff; font-weight: 800; font-size: .68rem; line-height: 1; padding: 3px 6px; border-radius: 3px; }
        .bs-mkt-gear { color: #94A3B8; font-size: .95rem; line-height: 1; }
        .bs-mkt-ladder { color: #0E97FB; font-size: .95rem; line-height: 1; }
        button.bs-mkt-ladder { background: none; border: 0; padding: 0; cursor: pointer; }
        button.bs-mkt-ladder:hover { color: #38BDF8; }
        /* Shared custom.css bleaches every `.table tbody td` white with its own
           !important. Force the reference NO/YES fills on Basic's flat fancy
           table (td + its price button) so the sides stay pink/blue. */
        .market-table.bs-fancy-table td.cell-lay { background: rgb(255, 177, 180) !important; }
        .market-table.bs-fancy-table td.cell-back { background: rgb(178, 231, 255) !important; }
        .home-page .market-table.bs-fancy-table td.cell-lay .oddBtn.btn-lay,
        .home-page .market-table.bs-fancy-table td.cell-lay .oddBtn.btn-lay:hover:not(:disabled),
        .home-page .market-table.bs-fancy-table td.cell-lay .oddBtn.btn-lay.active { background: rgb(255, 177, 180) !important; border-color: rgb(255, 177, 180) !important; color: #7F1D1D !important; text-shadow: none !important; }
        .home-page .market-table.bs-fancy-table td.cell-back .oddBtn.btn-back,
        .home-page .market-table.bs-fancy-table td.cell-back .oddBtn.btn-back:hover:not(:disabled),
        .home-page .market-table.bs-fancy-table td.cell-back .oddBtn.btn-back.active { background: rgb(178, 231, 255) !important; border-color: rgb(178, 231, 255) !important; color: #0C4A6E !important; text-shadow: none !important; }
        .home-page .market-table.bs-fancy-table td.cell-lay .oddBtn.btn-lay .odd-val,
        .home-page .market-table.bs-fancy-table td.cell-lay .oddBtn.btn-lay .odd-vol { color: #7F1D1D !important; }
        .home-page .market-table.bs-fancy-table td.cell-back .oddBtn.btn-back .odd-val,
        .home-page .market-table.bs-fancy-table td.cell-back .oddBtn.btn-back .odd-vol { color: #0C4A6E !important; }
        @media (max-width: 575.98px) {
            .bs-ev-balance { font-size: .72rem; padding: 6px 8px; }
            .bs-cashout-pill { font-size: .65rem; padding: 3px 7px; }
        }

/* Basic REA 2026-11-12 — defects found live at 390px/1280px, guest + authed (demo123). Basic-only file; shared CSS untouched. */
.announcement-strip { overflow: hidden !important; flex-wrap: nowrap !important; align-items: center !important; }
.announcement-strip > .badge { flex-shrink: 0 !important; white-space: nowrap; }
.announcement-strip > div.overflow-hidden.w-100 { flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; -webkit-mask-image: linear-gradient(to right, #000 0%, #000 88%, transparent 100%); mask-image: linear-gradient(to right, #000 0%, #000 88%, transparent 100%); }
.announcement-strip .announcement-text { display: inline-flex !important; white-space: nowrap; animation: bs-ticker-scroll 36s linear infinite; will-change: transform; }
.announcement-strip .bs-ticker-chunk { display: inline-block; white-space: nowrap; }
@keyframes bs-ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .announcement-strip .announcement-text { animation: none; } }
.home-page .odd-list .match-center-head .match-team-name,
.home-page .odd-list .match-center-head .score-team-name { color: #fff !important; }
.home-page .odd-list .match-center-head .text-muted.sm-text { white-space: nowrap; }
@media (max-width: 575.98px) { .home-page .odd-list .match-center-head .text-muted.sm-text { font-size: .7rem; } }
.one-click-bet-bar .form-check-label[for='oneClickBetToggle'] { white-space: nowrap; }
@media (max-width: 480px) { .one-click-bet-bar .form-check-label[for='oneClickBetToggle'] { font-size: .78rem; } }
@media (max-width: 767.98px) {
  body:has(.cookies-card:not(.d-none):not(.hide)) #bbChatbotWidget.bb-chatbot-container { bottom: 76px !important; right: 12px !important; }
}
@media (min-width: 992px) {
  body:has(.odd-list) #bbChatbotWidget.bb-chatbot-container { right: 20px !important; bottom: 120px !important; }
}
@media (min-width: 1200px) and (max-width: 1400px) {
  .primary-menu-container { gap: 8px !important; }
  .primary-menu-container ul { gap: 5px !important; flex-wrap: nowrap !important; }
  .header-nav-link.sm-text { font-size: 11.5px !important; padding: 0 1px !important; white-space: nowrap !important; }
  .header-nav-link.sm-text .badge { font-size: .6rem !important; }
  .right-side-nav { gap: 5px !important; flex-wrap: nowrap !important; }
  .user-wallet-btn { font-size: 11.5px !important; padding: 4px 9px !important; }
}
@media (min-width: 1200px) and (max-width: 1279.98px) {
  .header-nav-link.sm-text { font-size: 11px !important; }
  .user-wallet-btn { padding: 3px 7px !important; }
}
.bs-fancy-table .fancy-cell__title .runner-name { white-space: normal !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; }
/* Basic REA 2026-11-12 — authed intermediate widths. Measured at 1280px authed:
   nav <ul> clientWidth 461px vs scrollWidth 649px, so "Bonuses 700%"/"Leaderboard"
   are clipped. The 8 links + gaps need 663px and the balance/user cluster takes
   623px (+14px gap) inside a nav that is viewport-260px, so all 8 only fit at
   >=1560px (measured: clientWidth == scrollWidth == 663 at exactly 1560px).
   Below that, hide only Fantasy 11 and Leaderboard. Bonuses STAYS in the top
   nav (it is linked nowhere else at desktop widths) — only its "700%" promo
   badge is hidden to recover width. Scoped to authed only via
   .user-wallet-btn (balance chip, authed branch only) — guest header keeps all 8. */
@media (max-width: 1559.98px) {
  .primary-menu-container:has(.user-wallet-btn) > ul.d-lg-flex > li:has(> a.header-nav-link[href$="/fantasy"]),
  .primary-menu-container:has(.user-wallet-btn) > ul.d-lg-flex > li:has(> a.header-nav-link[href$="/leaderboard"]) {
    display: none !important;
  }
  .primary-menu-container:has(.user-wallet-btn) > ul.d-lg-flex > li > a.header-nav-link[href$="/bonuses"] .badge {
    display: none !important;
  }
}
@media (min-width: 1200px) and (max-width: 1279.98px) {
  .primary-menu-container:has(.user-wallet-btn) > ul.d-lg-flex > li > a.header-nav-link.sm-text {
    font-size: 11px !important;
  }
}

/* ---- theme preset bar (very top): 9-theme switcher ---- */
.bs-theme-bar { background: #0B1B31; border-bottom: 1px solid #1B2C45; display: flex; align-items: center; gap: 2px; overflow-x: auto; padding: 6px 10px; scrollbar-width: none; }
.bs-theme-bar::-webkit-scrollbar { display: none; }
.bs-theme-bar__label { color: #94A3B8; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-right: 6px; white-space: nowrap; }
.bs-theme-bar__item { flex: 0 0 auto; color: #C7D2E0; font-size: .8rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; text-decoration: none; border: 1px solid transparent; white-space: nowrap; }
.bs-theme-bar__item:hover { color: #FFFFFF; background: rgba(255,255,255,.08); text-decoration: none; }
.bs-theme-bar__item.is-active { background: #0A5FBF; color: #FFFFFF; border-color: #0A5FBF; }

/* ==========================================================================
   Bet-slip reshape 2026-11-16 (founder reference panel)
   Accent header ("Bet Slip" + X), full-width Amount, additive + chips with
   Clear, full-width Place Bet. This file loads last, so these win over
   bb-premium.css (which also uses !important — matched below).
   Accent: --bb-blue-600 #0878E8, white text.
   ========================================================================== */
.betslip .betslip-panel-header {
    flex: 0 0 auto;
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: var(--bb-blue-600, #0878E8);
    color: #fff;
    padding: 10px 12px;
}
.betslip .betslip-panel-header__title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .02em;
    color: #fff;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.betslip .betslip-panel-header .betslip-close-btn {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 6px;
    background: transparent;
    color: #fff;
    cursor: pointer;
}
.betslip .betslip-panel-header .betslip-close-btn:hover,
.betslip .betslip-panel-header .betslip-close-btn:focus-visible {
    background: rgba(255, 255, 255, .18);
    color: #fff;
    border-color: rgba(255, 255, 255, .7);
}
/* Amount input: full-width, readable. */
.betslip .betslip__footer input.amount {
    width: 100% !important;
}
/* Clear chip: outlined red, distinct from the value chips. */
.betslip .quick-stake-btn.quick-stake-clear-btn {
    border-color: #DC2626 !important;
    color: #DC2626 !important;
}
.betslip .quick-stake-btn.quick-stake-clear-btn:hover {
    background: #DC2626 !important;
    color: #fff !important;
    border-color: #DC2626 !important;
}
/* Footer: stake row on top, Place Bet full-width below. */
.betslip .betslip__footer-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    justify-content: flex-start !important;
}
.betslip.is-single .betslip__footer-bottom {
    justify-content: flex-start !important;
}
.betslip .betslip__footer-bottom-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
}
.betslip .betslip__footer-bottom-row .form-control {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}
.betslip .betslip__footer-bottom .delete-btn.deleteAll {
    flex: 0 0 auto !important;
    width: auto !important;
    height: 42px !important;
    padding: 0 12px !important;
    gap: 6px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}
.betslip .betslip__footer-btn.bet-place-btn.betslip-place-bet--full {
    flex: 1 1 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 46px !important;
    font-size: 15px !important;
    background: var(--bb-blue-600, #0878E8) !important;
    border-color: var(--bb-blue-600, #0878E8) !important;
    color: #fff !important;
}
/* Selection rows: event / market / selection / rate never clip. */
.betslip .betslip-item-market__label {
    min-width: 0 !important;
    overflow-wrap: break-word !important;
}
.betslip .betslip-item-market__score {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
}
.betslip .betslip-item-team__name {
    overflow-wrap: anywhere !important;
}
@media (max-width: 767.98px) {
    .betslip .betslip-panel-header { padding: 10px 12px; }
    .betslip .quick-stake-btn { min-width: 44px !important; }
}

/* ==========================================================================
   SUSPENDED BAND + section Min/Max + odds boxes (2026-11-16).
   Founder reference pattern: a suspended row/market shows a FULL-WIDTH
   maroon band across both odds columns with bold bright-red SUSPENDED text
   centred and large. Section-bar Min/Max are the REAL general_settings
   single-bet limits (markets.blade.php $evBetMin/$evBetMax) - never
   reference numbers. Scoped to #marketsContainer (event page only); the
   home page is untouched. No volumes, no reference branding, no logic
   changes. Appended last: the #marketsContainer ID beats the theme's own
   suspended rules on equal !important.
   ========================================================================== */
#marketsContainer td.bs-suspended-cell { background: #7F1D1D !important; }
#marketsContainer .bs-suspended-text { color: #FF6B6B !important; font-size: 1.05rem !important; letter-spacing: .08em !important; }
#marketsContainer .bs-suspended-faint { color: #FECACA !important; font-size: .75rem !important; }
#marketsContainer .bs-mkt-max { color: #E2E8F0 !important; font-size: .78rem !important; }
#marketsContainer .oddBtn .odd-val { font-size: 1.1rem !important; }
/* Odds text is ALWAYS dark on the pale BACK/LAY boxes (founder
   requirement 2026-11-17: Bookmaker 15.04 rendered white). Scoped to
   non-Fancy market tables — the Fancy table keeps its own dark
   red/blue .odd-val colours above. */
#marketsContainer .market-table:not(.bs-fancy-table) .oddBtn .odd-val { color: #0F172A !important; }
#marketsContainer .oddBtn { padding-top: 10px !important; padding-bottom: 10px !important; }
@media (max-width: 575.98px) {
    #marketsContainer .oddBtn .odd-val { font-size: 1rem !important; }
}
.bs-obm-band { flex: 0 1 200px; background: #7F1D1D; border-radius: 4px; padding: 6px 8px; text-align: center; }
.bs-obm-band__faint { display: block; color: #FECACA; font-size: .72rem; font-weight: 600; }
.bs-obm-band__text { display: block; color: #FF6B6B; font-weight: 800; font-size: .95rem; letter-spacing: .06em; }

/* MOBILE VISIBILITY FIX 2026-11-16 (founder screenshots, Jack pattern
   replicated): the floating chatbot FAB and bet-slip FAB overlap content
   on phones — the chatbot covered team names/market headers and the
   bet-slip FAB covered BACK/LAY cells. Fix: hide BOTH floating FABs on
   mobile (<1024px, where the bottom app-nav shows) and use the chrome
   that already exists — the app-nav centre Bet Slip button opens the
   bet slip (with its live .bet-count badge), and the drawer HELP &
   SUPPORT item opens the chatbot. Desktop (>=1024px) keeps the floating
   FABs (the app-nav is hidden there). */
@media (max-width: 1023.98px) {
    .bb-betslip-fab.bb-betslip-fab { display: none !important; }
    /* Hide ONLY the floating trigger button, NOT the whole container:
       the chat window lives inside this container, and the drawer HELP &
       SUPPORT item opens it by clicking the (hidden) toggle. Hiding the
       container would make the window unreachable on mobile. */
    #bbChatbotWidget #bbChatbotToggle { display: none !important; }
}
