/* ==========================================================================
   BB-Bet — Future theme (dark exchange, BB-Bet brand)
   Mobile-first: base = phone, min-width queries scale up.
   Palette: lime-olive header #74921A, nav dark olive #495906,
   bg near-black #010100, cards dark slate-navy #0E1721,
   lime accent #AFC638, Back #A5D9FE (best #72BBEF),
   Lay #F8D0CE (best #FAA9BA), ink #EDF1E2. Dark throughout.
   Loaded AFTER main.css / bb-polish.css / bb-premium.css, so these win.
   ========================================================================== */

:root {
    --ft-blue: #AFC638;
    --ft-blue-dark: #74921A;
    --ft-navy: #EDF1E2;
    --ft-bg: #010100;
    --ft-border: #2C3A12;
    --ft-muted: #A8B294;
    --ft-back: #A5D9FE;
    --ft-lay: #F8D0CE;
    --ft-empty: #232A16;
    --ft-radius: 14px;
}

/* Page surface: Future is a dark theme throughout. */
body.bb-page-surface {
    background: var(--ft-bg);
    padding-bottom: 64px; /* room for the fixed bottom nav */
}

/* ------------------------------------------------------------------ header */
.ft-header-wrap {
    background: #74921A;
    border-bottom: 1px solid var(--ft-border);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.ft-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 8px 12px;
    background: #74921A;
}

.ft-header__left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.ft-header__burger {
    border: 0;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--ft-navy);
    padding: 4px;
}

.ft-header__logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.ft-header__logo-img {
    max-height: 34px;
    width: auto;
    display: block;
}

.ft-header__logo-text {
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.5px;
    color: var(--ft-navy);
    font-style: italic;
}

.ft-header__logo-text span { color: var(--ft-blue); }

.ft-header__nav {
    align-items: center;
    gap: 4px;
}

.ft-header__nav-link {
    color: var(--ft-navy);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
}

.ft-header__nav-link:hover,
.ft-header__nav-link.active {
    color: var(--ft-blue);
    background: #14202E;
}

.ft-header__right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ft-btn-login,
.ft-btn-signup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.4px;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transform: skewX(-8deg);
}

.ft-btn-login span,
.ft-btn-signup span { transform: skewX(8deg); }

.ft-btn-login {
    color: var(--ft-navy);
    background: #0E1721;
    border: 1.5px solid var(--ft-navy);
}

.ft-btn-login:hover { color: var(--ft-blue); border-color: var(--ft-blue); }

.ft-btn-signup {
    color: #131A05;
    background: var(--ft-blue);
    border: 1.5px solid var(--ft-blue);
    box-shadow: 0 2px 8px rgba(175, 198, 56, 0.35);
}

.ft-btn-signup:hover { background: var(--ft-blue-dark); color: #0E1721; }

.ft-header__balance {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ft-navy);
    text-decoration: none;
    font-size: 0.85rem;
    background: var(--ft-bg);
    border: 1px solid var(--ft-border);
    border-radius: 20px;
    padding: 5px 10px;
    white-space: nowrap;
}

/* ------------------------------------------------------------------ announce */
.ft-announce {
    background: #2A2F05;
    color: var(--ft-navy);
    font-size: 0.82rem;
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* ------------------------------------------------------------- category row */
.ft-category-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 12px 0 4px;
}

.ft-category-tile {
    background: #0E1721;
    border: 1px solid var(--ft-border);
    border-radius: var(--ft-radius);
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(1, 1, 0, 0.06);
}

.ft-category-tile__img {
    display: block;
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: center;
    background-color: #26330B;
}

.ft-category-tile__name {
    display: block;
    text-align: center;
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--ft-navy);
    padding: 7px 4px 9px;
}

/* ------------------------------------------------------------------ hero */
.ft-hero {
    margin-top: 10px;
}

.ft-hero .slider,
.ft-hero img {
    border-radius: var(--ft-radius);
}

/* ------------------------------------------------------- rail + tile grid */
.ft-games {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    align-items: flex-start;
}

.ft-rail {
    flex: 0 0 86px;
    background: #0E1721;
    border: 1px solid var(--ft-border);
    border-radius: var(--ft-radius);
    overflow: hidden;
    position: sticky;
    top: 64px;
    box-shadow: 0 1px 3px rgba(1, 1, 0, 0.06);
}

.ft-rail__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
    padding: 12px 4px 10px;
    background: #0E1721;
    border: 0;
    border-bottom: 1px solid var(--ft-border);
    color: var(--ft-navy);
    font-size: 0.72rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.ft-rail__item:last-child { border-bottom: 0; }

.ft-rail__item img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.ft-rail__item:hover { color: var(--ft-blue); }

.ft-rail__item.active {
    background: var(--ft-blue);
    color: #131A05;
}

.ft-tiles {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.ft-tile-card {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    text-decoration: none;
    background: var(--ft-blue);
    box-shadow: 0 2px 8px rgba(1, 1, 0, 0.12);
}

.ft-tile-card__img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #495906;
}

.ft-tile-card__img--all {
    background: linear-gradient(135deg, #AFC638, #495906);
}

.ft-tile-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 2px;
    padding: 10px 6px;
    background: linear-gradient(to top, rgba(1, 1, 0, 0.55), rgba(1, 1, 0, 0) 55%);
}

.ft-tile-card__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #F59E0B;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: 20px;
}

.ft-tile-card__name {
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.ft-tile-card__tag {
    color: rgba(242, 245, 233, 0.85);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.ft-tile-card--all .ft-tile-card__overlay {
    justify-content: center;
    background: rgba(1, 1, 0, 0.25);
}

/* -------------------------------------------------------------- live games */
.ft-live {
    margin-top: 18px;
}

.ft-live .live-now-rail {
    margin-bottom: 0;
}

.ft-live .sports-visual-rail__title {
    color: var(--ft-navy);
    font-weight: 800;
}

.ft-live .live-now-card {
    background: #0E1721;
    border: 1px solid var(--ft-border);
    border-radius: var(--ft-radius);
    box-shadow: 0 1px 3px rgba(1, 1, 0, 0.06);
}

.ft-live .live-now-card__name,
.ft-live .live-now-card__league {
    color: var(--ft-navy);
}

/* -------------------------------------------------------------- match feed */
.ft-match-feed .match-filter-toolbar {
    background: #0E1721;
    border: 1px solid var(--ft-border);
    border-radius: var(--ft-radius);
}

.ft-match-feed .match-tab-btn {
    border: 1px solid var(--ft-border);
    background: #0E1721;
    color: var(--ft-navy);
    border-radius: 8px;
    font-weight: 600;
}

.ft-match-feed .match-tab-btn.active {
    background: var(--ft-blue);
    border-color: var(--ft-blue);
    color: #131A05;
}

.ft-category-head {
    background: #0E1721;
    border: 1px solid var(--ft-border);
    border-left: 4px solid var(--ft-blue);
    border-radius: 10px;
    padding: 8px 12px;
}

.ft-league-head {
    background: #0E1721;
    border: 1px solid var(--ft-border);
    border-radius: 10px;
}

/* Team-name row: left dark navy, right blue (via the shared summary block). */
.ft-match-row .sports-card {
    background: #0E1721;
    border: 1px solid var(--ft-border);
    border-radius: var(--ft-radius);
    box-shadow: 0 1px 3px rgba(1, 1, 0, 0.06);
    overflow: hidden;
}

/* Match-team band — KIXO9 style: light blue band, team names split left
   (dark navy) / right (blue), league + meta in slate. The old navy-gradient
   band never painted (a theme rule reset its background) and left white
   text on a white background — unreadable. The !important flags below are
   deliberate: they beat the competing theme rules that bleached this band. */
.home-page .ft-match-row .exchange-fixture-summary,
.ft-match-row .exchange-fixture-summary {
    background: #26330B !important;
    background-image: none !important;
    border-radius: 10px 10px 0 0;
    padding: 9px 12px;
}

.home-page .ft-match-row .exchange-fixture-summary__teams,
.ft-match-row .exchange-fixture-summary__teams {
    display: flex !important;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    text-transform: none !important;
    font-size: .92rem;
}

.home-page .ft-match-row .exchange-fixture-summary__teams span,
.ft-match-row .exchange-fixture-summary__teams span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-page .ft-match-row .exchange-fixture-summary__teams span:first-child,
.ft-match-row .exchange-fixture-summary__teams span:first-child {
    color: #EDF1E2 !important;
    text-align: left;
}

.home-page .ft-match-row .exchange-fixture-summary__teams span:last-child,
.ft-match-row .exchange-fixture-summary__teams span:last-child {
    color: #AFC638 !important;
    text-align: right;
}

.home-page .ft-match-row .exchange-fixture-summary__versus,
.ft-match-row .exchange-fixture-summary__versus {
    display: none !important;
}

.home-page .ft-match-row .exchange-fixture-summary__league,
.ft-match-row .exchange-fixture-summary__league,
.home-page .ft-match-row .exchange-fixture-summary__meta,
.ft-match-row .exchange-fixture-summary__meta {
    color: #B9C4A3 !important;
}

.home-page .ft-match-row .btn-pin-game,
.ft-match-row .btn-pin-game {
    color: #7C8A6D !important;
}

.ft-match-row .btn-pin-game.active .pin-star-icon {
    color: #F59E0B !important;
}

/* Odds boxes: back = light blue, lay = light pink, empty = grey. */
.ft-match-row .oddBtn,
.ft-match-row .btn-back,
.ft-odds-box {
    border-radius: 8px;
    font-weight: 700;
}

.ft-match-row .oddBtn.btn-back,
.ft-match-row .btn-back,
.ft-odds-box.ft-back {
    background: var(--ft-back);
    border-color: #72BBEF;
    color: var(--ft-navy);
}

.ft-match-row .oddBtn.btn-back:hover {
    background: #72BBEF;
}

.ft-match-row .oddBtn.btn-lay,
.ft-odds-box.ft-lay {
    background: var(--ft-lay);
    border-color: #FAA9BA;
    color: var(--ft-navy);
}

.ft-match-row .oddBtn:disabled,
.ft-match-row .oddBtn.disabled,
.ft-odds-box.ft-empty {
    background: var(--ft-empty);
    border-color: #4A5540;
    color: var(--ft-muted);
}

.ft-match-row .exchange-depth-placeholder {
    background: var(--ft-empty);
    border-radius: 8px;
    color: var(--ft-muted);
}

.ft-match-row .exchange-market-grid__column--back { color: var(--ft-blue-dark); }
.ft-match-row .exchange-market-grid__column--lay { color: #DC2626; }

/* ==========================================================================
   KIXO9 match rows (shared by home + in-play list). Moved here from
   live_matches.blade.php so both pages use one definition.
   - Light-blue band, sport icon, teams split left navy / right blue.
   - The whole band is a link to the markets page (no separate "All
     Markets" line); the star sits inline left of the odds.
   - Odds: back = light blue, lay = light pink, empty = grey. The
     !important flags beat the theme rule that bleached .oddBtn white.
   - Volumes: none shown — the feed carries no real volume data.
   ========================================================================== */
.ft-match-list { display: flex; flex-direction: column; gap: 10px; }
.ft-match { background: #0E1721; border: 1px solid #2C3A12; border-radius: 12px; overflow: hidden; }
a.ft-match__head {
    display: grid;
    grid-template-columns: 28px 1fr auto 1fr;
    align-items: center;
    gap: 6px;
    background: #26330B;
    padding: 9px 12px;
    text-decoration: none;
    color: inherit;
}
.ft-match__head:hover { text-decoration: none; }
.ft-match__sport { color: #AFC638; font-size: 1.1rem; display: inline-flex; align-items: center; justify-content: center; }
.ft-match__team { font-weight: 700; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ft-match__team--home { color: #EDF1E2; text-align: left; }
.ft-match__team--away { color: #AFC638; text-align: right; }
.ft-match__league { color: #A8B294; font-size: .7rem; font-weight: 600; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 110px; }
.ft-match__body { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px; padding: 10px 12px; }
.ft-match__body .ft-pin { background: none; border: 0; padding: 4px; color: #7C8A6D; font-size: 1.15rem; line-height: 1; cursor: pointer; }
.ft-match__body .ft-pin.active { color: #F59E0B; }
.ft-match__body .ft-pin.active .pin-star-icon { font-weight: 900; }
.ft-pinned-badge { grid-column: 1 / -1; justify-self: start; font-size: .62rem; }
.ft-odds { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; min-width: 0; }
.ft-odd {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 0;
    border-radius: 6px;
    font-size: .95rem;
    font-weight: 800;
    color: #0F172A;
    cursor: pointer;
    padding: 4px 2px;
}
.ft-odd .odd-rate { font-size: .95rem; }
html[data-theme="light"] .ft-match .ft-odd--back,
html[data-theme="dark"] .ft-match .ft-odd--back {
    background: #A5D9FE !important;
    border-color: #72BBEF !important;
    color: #0F172A !important;
}
html[data-theme="light"] .ft-match .ft-odd--lay,
html[data-theme="dark"] .ft-match .ft-odd--lay {
    background: #F8D0CE !important;
    border-color: #FAA9BA !important;
    color: #0F172A !important;
}
.ft-odd--empty { background: #232A16 !important; color: #7C8A6D !important; cursor: default; }

/* Popular / tabs helpers (shared with other Future pages). */
.ft-popular {
    background: #0E1721;
    border: 1px solid var(--ft-border);
    border-radius: var(--ft-radius);
}

.ft-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.ft-tabs .match-tab-btn { flex: 0 0 auto; }

/* -------------------------------------------------------------- bottom nav */
.ft-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    display: flex;
    background: #0E1721;
    border-top: 1px solid var(--ft-border);
    box-shadow: 0 -2px 10px rgba(1, 1, 0, 0.08);
    padding-bottom: env(safe-area-inset-bottom);
}

.ft-bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    padding: 7px 0 6px;
    background: transparent;
    border: 0;
    color: var(--ft-muted);
    font-size: 0.68rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.ft-bottom-nav__item i {
    font-size: 1.35rem;
    line-height: 1;
}

.ft-bottom-nav__item:hover { color: var(--ft-blue); }

.ft-bottom-nav__item--active,
.ft-bottom-nav__item.is-active {
    color: #131A05;
    background: var(--ft-blue);
    border-radius: 10px 10px 0 0;
}

/* Hide the basic bottom app-nav while Future's nav is in use. */
.ft-bottom-nav ~ .app-nav,
body:has(.ft-bottom-nav) .app-nav {
    display: none;
}

/* ------------------------------------------------------------------ desktop */
@media (min-width: 768px) {
    .ft-header { padding: 10px 20px; }

    .ft-header__logo-img { max-height: 40px; }

    .ft-category-row { gap: 12px; }

    .ft-rail { flex-basis: 110px; }

    .ft-rail__item { font-size: 0.8rem; padding: 14px 6px 12px; }

    .ft-rail__item img { width: 42px; height: 42px; }

    .ft-tiles { grid-template-columns: repeat(3, 1fr); gap: 12px; }

    .ft-tile-card__name { font-size: 1.05rem; }
}

@media (min-width: 1024px) {
    .ft-tiles { grid-template-columns: repeat(4, 1fr); }

    .ft-bottom-nav { display: none; }

    body.bb-page-surface { padding-bottom: 0; }
}

/* ------------------------------------------------------- event-page nav */
/* Event-page bottom nav (reference layout): IN-PLAY / MULTI / HOME / ALL
   CASINO, dark bar, active tab blue. Rendered ONLY on the markets page
   (see layouts/bet.blade.php); every other page keeps ft-bottom-nav. */
.ft-event-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    display: flex;
    background: #495906;
    border-top: 1px solid #2C3A12;
    padding-bottom: env(safe-area-inset-bottom);
}

.ft-event-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    padding: 7px 0 6px;
    background: transparent;
    border: 0;
    color: #4A5540;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}

.ft-event-nav__item i {
    font-size: 1.35rem;
    line-height: 1;
}

.ft-event-nav__item:hover { color: #131A05; }

.ft-event-nav__item--active {
    color: #131A05;
    background: var(--ft-blue);
    border-radius: 10px 10px 0 0;
}

/* Hide the basic bottom app-nav while the event nav is in use. */
.ft-event-nav ~ .app-nav,
body:has(.ft-event-nav) .app-nav {
    display: none;
}

@media (min-width: 1024px) {
    .ft-event-nav { display: none; }
}

/* ==========================================================================
   FIX 2026-11-10 (founder review) — mobile polish, KIXO9 spacing.
   ========================================================================== */

/* KIXO9 rows on phones: league hidden, head 3 columns, odds ~48px tall
   with 4–6px gaps, 10px between rows (ft-match-list gap). */
@media (max-width: 575.98px) {
    .ft-match__league { display: none; }
    a.ft-match__head { grid-template-columns: 26px 1fr 1fr; padding: 9px 12px; }
    .ft-match__body { padding: 8px 10px; gap: 6px; }
    .ft-odds { gap: 4px; }
    .ft-odd { min-height: 44px; font-size: .85rem; }
    .ft-odd .odd-rate { font-size: .85rem; }
}

/* Hero slider: show the artwork at its natural aspect instead of cropping
   the baked-in copy off (bb-premium forces 150px height + object-fit cover
   at .home-page specificity — the override below must match that
   specificity to win). */
.home-page #bbHeroShowcase .hero-banner-image {
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    height: auto !important;
    max-height: none !important;
    background: #010100 !important;
}
.home-page #bbHeroShowcase .hero-slides-wrapper,
.home-page #bbHeroShowcase .hero-slide,
.home-page #bbHeroShowcase .hero-slide-link {
    height: auto !important;
    max-height: none !important;
}

/* Game tiles: stronger bottom scrim so the label never fights the artwork's
   baked-in game name; slightly smaller label. */
.ft-tile-card__overlay {
    background: linear-gradient(to top, rgba(1, 1, 0, 0.88) 0%, rgba(1, 1, 0, 0.45) 55%, rgba(1, 1, 0, 0) 100%) !important;
}
.ft-tile-card__name { font-size: 0.88rem; }

/* Cookie banner: a full-width bottom sheet covered the bottom nav. Future
   restyle — floats above the nav, inset from the edges, compact, dismissible. */
.cookies-card {
    left: 12px !important;
    right: 12px !important;
    bottom: 78px !important;
    width: auto !important;
    max-width: 560px;
    margin: 0 auto;
    padding: 14px 16px !important;
    border-radius: 12px !important;
}
.cookies-card .cookies-card__content { font-size: 12.5px !important; }
.cookies-card .cookies-card__icon { display: none !important; }

/* Chatbot FAB: shrunk to a 44px circle on phones so it never overlaps
   team names or banner text while scrolling. While the cookie card is up,
   lift it above the card (the card sits at bottom: 78px, ~140px tall). */
@media (max-width: 767.98px) {
    .bb-chatbot-container { bottom: 76px !important; right: 12px !important; }
    .bb-chatbot-btn {
        padding: 0 !important;
        width: 44px;
        height: 44px;
        min-height: 44px !important;
        border-radius: 50% !important;
        justify-content: center;
    }
    .bb-chatbot-btn-inner { gap: 0 !important; justify-content: center; }
    .bb-chatbot-btn .bb-chatbot-avatar { margin: 0 !important; }
    body:has(.cookies-card:not(.d-none):not(.hide)) .bb-chatbot-container {
        bottom: 226px !important;
    }
}

/* Bet Slip FAB: icon + count only on phones so the floating pill covers
   as little content as possible while scrolling. */
@media (max-width: 575.98px) {
    .bb-betslip-fab {
        height: 40px !important;
        padding: 0 12px !important;
        gap: 6px !important;
        bottom: 140px !important;
    }
    .bb-betslip-fab > span:not(.bb-betslip-fab__count) { display: none !important; }
}

/* ==========================================================================
   ROUND 2 — 2026-11-10: scrolling game-category bar + desktop column.
   ========================================================================== */

/* Category bar above the in-play list (mobile + desktop): horizontal
   scroll row of all sport categories, tap a chip to filter the list. */
.ft-catbar { display: flex; align-items: center; gap: 6px; margin: 2px 0 12px; }
.ft-catbar__scroll {
    display: flex; gap: 8px; overflow-x: auto; flex: 1 1 auto; min-width: 0;
    padding: 2px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth; scroll-snap-type: x proximity;
}
.ft-catbar__scroll::-webkit-scrollbar { display: none; }
.ft-cat-chip {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
    background: #0E1721; border: 1px solid var(--ft-border); border-radius: 999px;
    padding: 7px 13px; font-weight: 700; font-size: .83rem; color: var(--ft-navy);
    cursor: pointer; white-space: nowrap; scroll-snap-align: start;
}
.ft-cat-chip__icon { color: var(--ft-blue); font-size: 1.05rem; display: inline-flex; line-height: 1; }
.ft-cat-chip:hover { border-color: var(--ft-blue); }
.ft-cat-chip.is-active { background: var(--ft-blue); border-color: var(--ft-blue); color: #0E1721; }
.ft-cat-chip.is-active .ft-cat-chip__icon { color: #131A05; }
.ft-catbar__arrow {
    flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid var(--ft-border); background: #0E1721; color: var(--ft-blue);
    font-size: 1rem; line-height: 1; cursor: pointer; display: none;
    align-items: center; justify-content: center;
}
.ft-catbar__arrow:disabled { opacity: .35; cursor: default; }
.ft-catbar-empty { background: #0E1721; border: 1px solid var(--ft-border); border-radius: 12px; text-align: center; padding: 28px 20px; color: #A8B294; margin-bottom: 12px; }
.ft-catbar-empty i { font-size: 2rem; opacity: .5; display: block; margin-bottom: 6px; }
.ft-catbar-empty p { margin: 0 0 12px; }

/* Desktop: category arrows on; content column centred at ~1080px.
   (bb-premium caps .sports-body flex at 992-1199px, so this binds at
   >=1200px where the free space exceeds 1080px. At 1280px nothing
   changes — the column already fits. The bet-slip drawer keeps its
   330px; the bottom nav stays hidden >=1024px, header nav serves desktop.) */
@media (min-width: 1024px) {
    .ft-catbar__arrow { display: inline-flex; }
}
@media (min-width: 1200px) {
    .home-page > .sports-body {
        max-width: 1080px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* ==========================================================================
   FUTURE additions — second nav, ticker, 3-column shell, dark overrides.
   Palette sampled from the reference captures (see FUTURE-THEME.md).
   ========================================================================== */

/* 3-column shell: left sports sidebar ~200px, centre feed, right
   BETSLIP ~300px (base main.css already docks .sports-category left and
   .betslip right at >=992px via these vars; Future widens both). */
:root {
    --left-side: 200px;
    --right-side: 300px;
}

/* Second nav bar (reference): EXCHANGE / LIVE CASINO / CRASH GAMES /
   VIRTUAL GAME / SLOT GAMES / LOTTERY / POKER / SPORTS BOOK. Dark olive,
   scrolls on phones, active tab lime. */
.ft-second-nav {
    display: flex;
    align-items: stretch;
    gap: 2px;
    background: #495906;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 8px;
    position: sticky;
    top: 51px;
    z-index: 1020;
}
.ft-second-nav::-webkit-scrollbar { display: none; }
.ft-second-nav__link {
    flex: 0 0 auto;
    color: #DDE5C8;
    font-weight: 800;
    font-size: .78rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 9px 12px;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}
.ft-second-nav__link:hover { color: #fff; text-decoration: none; }
.ft-second-nav__link.is-active {
    color: #AFC638;
    border-bottom-color: #AFC638;
}

/* Top ticker: the announcement strip scrolls (same real announcement copy,
   repeated for a seamless loop). */
.ft-ticker { overflow: hidden; }
.ft-ticker .announcement-text {
    display: inline-block;
    white-space: nowrap;
    animation: ft-ticker-scroll 36s linear infinite;
}
@keyframes ft-ticker-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .ft-ticker .announcement-text { animation: none; }
}

/* 1 / X / 2 header above the in-play odds boxes (reference list view). */
.ft-odds-head {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
    padding: 2px 12px 6px 58px;
    color: #A8B294;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
}
.ft-odds-head span { text-align: center; }
@media (max-width: 575.98px) {
    .ft-odds-head { padding-left: 50px; gap: 4px; padding-right: 10px; }
}

/* bb-premium forces .market-accordion .accordion-button blue (#0A5FBF
   !important) — the same conflict Jack fixed. Future's market bar must stay
   dark olive; this 4-class rule (theme CSS loads last) wins. */
.home-page .market-accordion .accordion-button.ft-mkt-bar {
    background: #495906 !important;
    color: #F2F5E9 !important;
}
.home-page .market-accordion .accordion-button.ft-mkt-bar i,
.home-page .market-accordion .accordion-button.ft-mkt-bar .ft-mkt-star {
    color: #AFC638 !important;
}

/* Dark overrides for inherited Basic components (footer, bet slip,
   left sports sidebar, cookie card, modals, login modal). Future-only:
   basic/ is untouched. */
body.bb-page-surface .footer,
body.bb-page-surface .footer-bottom {
    background: #0E1721 !important;
    color: #A8B294 !important;
    border-color: #2C3A12 !important;
}
body.bb-page-surface .footer a { color: #DDE5C8 !important; }
body.bb-page-surface .sports-category {
    background: #0E1721 !important;
    border-right-color: #2C3A12 !important;
}
body.bb-page-surface .sports-category__link { color: #DDE5C8 !important; }
body.bb-page-surface .sports-category__link.active {
    background: #26330B !important;
    color: #AFC638 !important;
}
body.bb-page-surface .betslip {
    background: #0E1721 !important;
    color: #EDF1E2 !important;
}
body.bb-page-surface .cookies-card {
    background: #0E1721 !important;
    color: #EDF1E2 !important;
    border: 1px solid #2C3A12 !important;
}
body.bb-page-surface .cookies-card .cookies-card__content { color: #A8B294 !important; }
body.bb-page-surface .modal-content {
    background: #0E1721 !important;
    color: #EDF1E2 !important;
    border: 1px solid #2C3A12 !important;
}
body.bb-page-surface .modal-content .form--control,
body.bb-page-surface .modal-content input,
body.bb-page-surface .modal-content select {
    background: #010100 !important;
    color: #EDF1E2 !important;
    border-color: #2C3A12 !important;
}
body.bb-page-surface .modal-content .text-muted { color: #A8B294 !important; }
body.bb-page-surface .modal-content .btn-close { filter: invert(1); }

/* Login modal: lime Demo button (the Basic login partial already ships a
   one-click demo login form posting to user.demo.login). */
/* Login modal, fully dark: the Basic partial ships a white .modal-content,
   and the near-white heading above would vanish on white without this. */
html[data-theme="light"] #loginModal .modal-content,
html[data-theme="dark"] #loginModal .modal-content,
.ft-login-modal .modal-content {
    background: #0E1721 !important;
    color: #EDF1E2 !important;
    border: 1px solid #2C3A12 !important;
} /* custom.css paints html[data-theme="light"] #loginModal .modal-content
   white !important (1,2,1) — the #loginModal selectors tie it and win
   because future.css loads last. */
.ft-login-modal .modal-body {
    background: transparent !important;
    color: #EDF1E2 !important;
}
.ft-login-modal .close {
    color: #EDF1E2 !important;
}
.ft-login-modal label,
.ft-login-modal .form-label {
    color: #EDF1E2 !important;
}
.ft-login-modal .form-control {
    background: #010100 !important;
    color: #EDF1E2 !important;
    border-color: #2C3A12 !important;
}
.ft-login-modal .form-control::placeholder {
    color: #7C8A6D !important;
}
.ft-login-modal input[type="checkbox"] {
    accent-color: #AFC638;
}
.ft-login-modal .bb-demo-login-btn {
    background: #74921A !important;
    border-color: #74921A !important;
    color: #fff !important;
    font-weight: 800;
}
.ft-login-modal .bb-demo-login-btn:hover { background: #495906 !important; }
.ft-login-modal .modal-content .btn--base {
    background: #AFC638 !important;
    border-color: #AFC638 !important;
    color: #131A05 !important;
}


/* Bet slip inner cards: base custom.css paints .betslip__body and the
   balance bar light with !important (via --bb-home-surface vars), and
   bb-polish paints .live-now-card white under html[data-theme="light"].
   These Future rules match/beat that specificity so the slip and the
   Live Now rail stay dark like the rest of the theme. */
html[data-theme="light"] .ft-live .live-now-card,
html[data-theme="dark"] .ft-live .live-now-card {
    background: #0E1721 !important;
    border-color: #2C3A12 !important;
}
html[data-theme="light"] .ft-live .live-now-card__name,
html[data-theme="dark"] .ft-live .live-now-card__name,
html[data-theme="light"] .ft-live .live-now-card__league,
html[data-theme="dark"] .ft-live .live-now-card__league,
html[data-theme="light"] .ft-live .live-now-card__vs,
html[data-theme="dark"] .ft-live .live-now-card__vs {
    color: #EDF1E2 !important;
}
body.bb-page-surface .home-page .betslip__body {
    background: #0E1721 !important;
    color: #EDF1E2 !important;
}
body.bb-page-surface .home-page .betslip-balance-bar {
    background: #141C04 !important;
    border-color: #2C3A12 !important;
    color: #EDF1E2 !important;
}
body.bb-page-surface .betslip__footer,
body.bb-page-surface .betslip__footer-list,
body.bb-page-surface .betslip-topup-action,
body.bb-page-surface .empty-slip-message {
    background: transparent !important;
    color: #EDF1E2 !important;
    border-color: #2C3A12 !important;
}
body.bb-page-surface .betslip .betslip-add-points-btn {
    background: #141C04 !important;
    color: #AFC638 !important;
    border: 1px solid #2C3A12 !important;
}
body.bb-page-surface .betslip .quick-stake-btn {
    background: #141C04 !important;
    color: #EDF1E2 !important;
    border: 1px solid #2C3A12 !important;
}
body.bb-page-surface .betslip .quick-stake-btn.active {
    background: #AFC638 !important;
    color: #131A05 !important;
    border-color: #AFC638 !important;
}
body.bb-page-surface .betslip input.amount,
body.bb-page-surface .betslip select.form-select {
    background: #010100 !important;
    color: #EDF1E2 !important;
    border-color: #2C3A12 !important;
}
body.bb-page-surface .betslip .bet-place-btn {
    background: #AFC638 !important;
    border-color: #AFC638 !important;
    color: #131A05 !important;
}


/* Bet-slip labels: bb-premium paints .betslip__list-ratio .fw-bold,
   .betslip__list-match and .betslip-balance-pts (amber) with !important,
   and custom.css paints .bet-type__btn / .betslip-header light. These
   Future rules beat them so every slip label reads on the dark slip. */
body.bb-page-surface .betslip .betslip-balance-pts,
body.bb-page-surface .betslip .betslip-balance-pts strong {
    color: #EDF1E2 !important;
}
body.bb-page-surface .betslip .text-muted {
    color: #A8B294 !important;
}
body.bb-page-surface .betslip .betslip__list-ratio .fw-bold {
    color: #EDF1E2 !important;
}
body.bb-page-surface .betslip .betslip__list-match {
    color: #A8B294 !important;
}
body.bb-page-surface .betslip .bet-return {
    color: #EDF1E2 !important;
}
body.bb-page-surface .home-page .betslip-header,
body.bb-page-surface .betslip-header {
    background: #0E1721 !important;
    border-color: #2C3A12 !important;
}
body.bb-page-surface .bet-type__btn {
    background: #141C04 !important;
    color: #A8B294 !important;
    border-color: #2C3A12 !important;
}
body.bb-page-surface .bet-type__btn:hover {
    background: #26330B !important;
    color: #EDF1E2 !important;
    border-color: #AFC638 !important;
}
body.bb-page-surface .bet-type__btn:has(input:checked) {
    background: #AFC638 !important;
    color: #131A05 !important;
    border-color: #AFC638 !important;
}
body.bb-page-surface .bet-type__btn input:checked + span {
    color: #131A05 !important;
    border-bottom-color: transparent !important;
}
body.bb-page-surface .betslip .betslip-form {
    background: #010100 !important;
    color: #EDF1E2 !important;
    border-color: #2C3A12 !important;
}
body.bb-page-surface .betslip .delete-btn {
    background: #141C04 !important;
    color: #EDF1E2 !important;
    border: 1px solid #2C3A12 !important;
}
body.bb-page-surface .betslip .freeplay-disclaimer-pill {
    background: #141C04 !important;
    color: #A8B294 !important;
    border: 1px solid #2C3A12 !important;
}
/* Sidebar active item: custom.css paints it azure (0,3,1, !important);
   this selector is (0,4,2) so the lime active state wins. Also kills the
   bb-polish blue inset bar on the active link. */
html[data-theme="light"] body.bb-page-surface .sports-category__link.active,
html[data-theme="dark"] body.bb-page-surface .sports-category__link.active {
    background: #26330B !important;
    color: #AFC638 !important;
    box-shadow: none !important;
}
html[data-theme="light"] body.bb-page-surface .sports-category__link.active .sports-category__icon,
html[data-theme="light"] body.bb-page-surface .sports-category__link.active .sports-category__text,
html[data-theme="dark"] body.bb-page-surface .sports-category__link.active .sports-category__icon,
html[data-theme="dark"] body.bb-page-surface .sports-category__link.active .sports-category__text {
    color: #AFC638 !important;
}
/* Login modal heading: custom.css paints html[data-theme="light"] h4
   (0,1,2) !important — this (0,2,1) selector beats it. */
html[data-theme="light"] .ft-login-modal h4,
html[data-theme="dark"] .ft-login-modal h4 {
    color: #EDF1E2 !important;
}

/* Header auth buttons on the lime header. */
.ft-btn-login {
    color: #131A05 !important;
    background: transparent !important;
    border: 1.5px solid #131A05 !important;
}
.ft-btn-login:hover { color: #131A05 !important; border-color: #131A05 !important; }
.ft-btn-signup {
    color: #F2F5E9 !important;
    background: #495906 !important;
    border: 1.5px solid #495906 !important;
    box-shadow: 0 2px 8px rgba(1, 1, 0, 0.45) !important;
}
.ft-btn-signup:hover { background: #2C3A12 !important; color: #F2F5E9 !important; }
.ft-header__burger { color: #131A05 !important; }
.ft-header__logo-text { color: #131A05 !important; }
.ft-header__nav-link { color: #131A05 !important; }
.ft-header__nav-link:hover,
.ft-header__nav-link.active {
    color: #131A05 !important;
    background: rgba(1, 1, 0, 0.12) !important;
}
.ft-header__balance {
    background: rgba(1, 1, 0, 0.12) !important;
    border-color: rgba(1, 1, 0, 0.25) !important;
    color: #131A05 !important;
}

/* Match rows on the dark surface: band dark olive, teams light / lime,
   odds cells light blue / pink with dark prices (best column stronger). */
a.ft-match__head { background: #26330B !important; }
.ft-match__team--home { color: #F2F5E9 !important; }
.ft-match__team--away { color: #AFC638 !important; }
.ft-match__league { color: #A8B294 !important; }
.ft-match__sport { color: #AFC638 !important; }
html[data-theme="light"] .ft-match .ft-odd--back,
html[data-theme="dark"] .ft-match .ft-odd--back {
    background: #A5D9FE !important;
    border-color: #72BBEF !important;
    color: #0F172A !important;
}
html[data-theme="light"] .ft-match .ft-odd--lay,
html[data-theme="dark"] .ft-match .ft-odd--lay {
    background: #F8D0CE !important;
    border-color: #FAA9BA !important;
    color: #0F172A !important;
}
.ft-odd--empty { background: #232A16 !important; color: #7C8A6D !important; }

/* Event-page bottom nav: dark olive bar, lime active tab. */
.ft-event-nav { background: #495906 !important; border-top-color: #2C3A12 !important; }
.ft-event-nav__item { color: #DDE5C8 !important; }
.ft-event-nav__item:hover { color: #fff !important; }
.ft-event-nav__item--active {
    color: #131A05 !important;
    background: #AFC638 !important;
}

/* ==========================================================================
   FUTURE fidelity (2026-11-11): future-diff.md P1s + minors.
   Future-scoped only; shared CSS (custom.css, bb-premium.css) untouched.
   future.css loads last (layouts/app.blade.php:50), so equal-specificity
   rules below win ties.
   ========================================================================== */

/* #3 Live Now rail: both card prices are BACK prices — the second must
   never render in lay pink (bb-premium.css:4676 styles it as a back/lay
   pair). Same fix class as the diff's proposal, both themes. */
.home-page .live-now-card__odd:nth-child(2) {
    background: #A5D9FE !important;
    color: #0B4F9C !important;
    border-color: #A5D9FE !important;
}
html[data-theme="dark"] .home-page .live-now-card__odd:nth-child(2) {
    background: #1B3A5F !important;
    color: #B8DBFF !important;
    border-color: #1B3A5F !important;
}

/* #15 Page background: near-black #010100 with a faint CSS-only suit
   watermark (3% opacity). No reference art copied. */
html[data-theme="light"] body.bb-page-surface,
html[data-theme="dark"] body.bb-page-surface {
    background-color: #010100 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Ctext x='8' y='34' font-size='30' fill='%23AFC638' fill-opacity='0.035'%3E%E2%99%A0%3C/text%3E%3Ctext x='78' y='34' font-size='30' fill='%23AFC638' fill-opacity='0.035'%3E%E2%99%A5%3C/text%3E%3Ctext x='8' y='104' font-size='30' fill='%23AFC638' fill-opacity='0.035'%3E%E2%99%A6%3C/text%3E%3Ctext x='78' y='104' font-size='30' fill='%23AFC638' fill-opacity='0.035'%3E%E2%99%A3%3C/text%3E%3C/svg%3E") !important;
}

/* #13 Betslip panel: header bar #4E6007, "BETSLIP" label (uppercase via
   the Blade label change in layouts/bet.blade.php), balance red. */
body.bb-page-surface .home-page .betslip-header,
body.bb-page-surface .betslip-header {
    background: #4E6007 !important;
    border-color: #4E6007 !important;
}
body.bb-page-surface .betslip .betslip-balance-pts,
body.bb-page-surface .betslip .betslip-balance-pts strong {
    color: #DC2626 !important;
}

/* #12 Header: LOGIN green-filled (lime on the olive header). */
.ft-btn-login {
    background: #AFC638 !important;
    color: #131A05 !important;
    border-color: #AFC638 !important;
}
.ft-btn-login:hover { background: #8FA82E !important; color: #131A05 !important; border-color: #8FA82E !important; }
.ft-btn-demo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.4px;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transform: skewX(-8deg);
    background: #fff;
    color: #131A05;
    border: 1.5px solid #fff;
    cursor: pointer;
}
.ft-btn-demo:hover { background: #EDF1E2; color: #131A05; }

/* #4 Highlights schedule strip (home + in-play). */
.ft-highlights { background: #0E1721; border: 1px solid #2C3A12; border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; }
.ft-highlights__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ft-highlights__title { color: #AFC638; font-weight: 800; font-size: .85rem; letter-spacing: .06em; }
.ft-highlights__all { color: #AFC638; font-weight: 700; font-size: .8rem; text-decoration: none; white-space: nowrap; }
.ft-highlights__all:hover { color: #EDF1E2; }
.ft-highlights__chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.ft-hi-chip { display: inline-flex; align-items: center; gap: 6px; background: #141C04; border: 1px solid #2C3A12; color: #EDF1E2; font-size: .78rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; text-decoration: none; }
a.ft-hi-chip:hover { border-color: #AFC638; color: #AFC638; }
.ft-hi-chip__count { background: #74921A; color: #fff; font-size: .65rem; font-weight: 800; padding: 1px 7px; border-radius: 999px; }

/* #10 Match-row meta: LIVE badge / start time under the team head. */
.ft-match__meta { display: flex; gap: 8px; align-items: center; padding: 6px 12px 0; font-size: .68rem; }
.ft-match__live { color: #F87171; font-weight: 800; letter-spacing: .05em; display: inline-flex; align-items: center; gap: 4px; }
.ft-match__time { color: #A8B294; font-weight: 600; }

/* #5 PREMIUM SPORTS BOOK right-column panel (under the bet slip). */
.ft-premium-sportsbook { background: #0E1721; border: 1px solid #2C3A12; border-radius: 12px; padding: 12px; margin-top: 12px; flex-shrink: 0; }
.ft-premium-sportsbook__title { color: #AFC638; font-weight: 800; font-size: .85rem; letter-spacing: .06em; margin: 0 0 8px; }
html[data-theme="light"] .ft-premium-sportsbook__title, html[data-theme="dark"] .ft-premium-sportsbook__title { color: #AFC638 !important; } /* custom.css paints light-theme h3 (0,1,1) !important — this is (0,2,1) */
.ft-premium-sportsbook__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ft-premium-sportsbook__list a { display: flex; align-items: center; gap: 8px; color: #DDE5C8; font-size: .85rem; font-weight: 600; padding: 7px 4px; border-bottom: 1px solid #1A2405; text-decoration: none; }
.ft-premium-sportsbook__list a:last-child { border-bottom: 0; }
.ft-premium-sportsbook__list a:hover { color: #AFC638; }
.ft-premium-sportsbook__list .ft-premium-sportsbook__icon { color: #AFC638; font-size: 1rem; display: inline-flex; }

/* ===== Theme separation 2026-11-12: moved out of the Blade @push("style")
   block in templates/future/live_matches.blade.php so Future's CSS lives in
   one Future-owned stylesheet (future.css loads last in the layout). ===== */
/* Future in-play list — .ft-* only; future.css untouched. */

        .ft-inplay-head { display: flex; align-items: center; gap: 10px; padding: 10px 2px 12px; flex-wrap: wrap; }

        .ft-inplay-head__title { color: #2563EB; font-weight: 800; font-size: 1.05rem; letter-spacing: .04em; }

        .ft-inplay-head__boost { margin-left: auto; margin-right: auto; background: #2563EB; color: #fff; font-weight: 700; font-size: .85rem; padding: 7px 22px; transform: skewX(-18deg); display: inline-block; }

        .ft-inplay-head__hint { color: #2563EB; font-weight: 600; font-size: .85rem; }

        .ft-sport-title { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 800; color: #0F172A; margin: 14px 0 8px; }

        .ft-sport-title__icon { color: #2563EB; font-size: 1.15rem; display: inline-flex; }

        .ft-sport-title__count { margin-left: auto; background: #2563EB; color: #fff; font-size: .68rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }

        /* .ft-match rows moved to future.css 2026-11-10 (shared with home). */

        .ft-popular-head { margin: 22px 0 10px; }

        .ft-popular-head span { display: inline-block; background: #2563EB; color: #fff; font-weight: 800; letter-spacing: .06em; font-size: 1rem; padding: 8px 34px 8px 18px; clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }

        .ft-popular-tabs { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }

        .ft-popular-tab { border: 1px solid #E2E8F0; background: #fff; color: #0F172A; font-weight: 800; font-size: .82rem; letter-spacing: .03em; padding: 8px 18px; border-radius: 6px; cursor: pointer; transform: skewX(-12deg); }

        .ft-popular-tab.active { background: #2563EB; border-color: #2563EB; color: #fff; }

        .ft-empty { background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; text-align: center; padding: 36px 20px; color: #64748B; }

        .ft-empty i { font-size: 2.2rem; opacity: .5; display: block; margin-bottom: 8px; }

        .ft-empty p { margin: 0 0 14px; }

        .ft-btn { display: inline-block; background: #2563EB; color: #fff; font-weight: 700; font-size: .85rem; padding: 8px 18px; border-radius: 8px; text-decoration: none; }

        .ft-btn:hover { background: #1D4ED8; color: #fff; }

        @media (max-width: 575.98px) {

            .ft-inplay-head__boost { order: 3; margin: 0; }

            .ft-inplay-head__hint { margin-left: auto; }

        }

/* ===== Theme separation 2026-11-12: moved out of markets.blade.php.
   The scoreboard background {{ asset(...) }} became a root-relative URL
   (/assets/templates/future/images/match-cricket-bg-bright.webp). ===== */
/* Future markets (reference depth tables) — .ft-* only; future.css untouched. */

        .ft-scoreboard { background: #0E1721; border: 1px solid #2C3A12; border-radius: 12px; }

        .ft-badge-cat { background: #74921A; color: #131A05; }

        .ft-badge-league { background: #26330B; color: #DDE5C8; border: 1px solid #2C3A12; }

        .ft-badge-live { background: #DC2626; color: #fff; }

        .ft-badge-crr { background: #14202E; color: #72BBEF; }

        .ft-badge-rrr { background: #0E1721; color: #AFC638; border: 1px solid #2C3A12; }

        .ft-badge-scheduled { background: #141C04; color: #EDF1E2; border: 1px solid #2C3A12; }

        .ft-badge-fancy { background: #74921A; color: #131A05; }

        .ft-team-logo { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: #141C04; }

        html[data-theme="light"] .ft-team-name, html[data-theme="dark"] .ft-team-name { color: #EDF1E2 !important; font-weight: 800; font-size: 1.1rem !important; } /* custom.css paints html[data-theme="light"] h4 (0,1,2) !important — this is (0,2,1) */

        .ft-vs-badge { background: #141C04; color: #A8B294; border: 1px solid #2C3A12; border-radius: 999px; padding: 4px 10px; font-size: .8rem; }

        .ft-live-strip { background: #0D1520; border: 1px solid #2C3A12; }

        /* Live score runs (2026-11-17): white on the dark live strip
           (#0D1520, verified) with a text-shadow — the old text-primary
           blue was unreadable on the dark board. */
        .ft-live-strip #liveScoreRuns { color: #fff !important; text-shadow: 0 1px 5px rgba(0, 0, 0, 0.75), 0 0 2px rgba(0, 0, 0, 0.55); }

        /* Odd/Even live-parity badge on Fancy rows (2026-11-17). Real live
           total only; the badge is hidden (d-none) when no live total
           exists. */
        .ft-parity-badge { background: #2563EB; color: #fff; font-size: .65rem; font-weight: 800; letter-spacing: .04em; }
        .ft-parity-badge.ft-parity--odd { background: #7C3AED; }
        .ft-parity-badge.ft-parity--even { background: #059669; }

        .ft-strip-team { color: #EDF1E2; }

        .ft-details-box { background: #0E1721; border: 1px solid #2C3A12; border-radius: 12px; padding: 10px 14px; }

        .ft-details-box summary { cursor: pointer; font-weight: 700; color: #EDF1E2; }

        .ft-tracker-box { background: #0D1520; border: 1px solid #2C3A12; }

        .ft-tracker-empty { padding: 8px 4px; }

        .ft-action-banner { background: #14202E; border: 1px solid #2C3A12; border-radius: 8px; padding: 8px 12px; font-size: .85rem; color: #EDF1E2; }

        .ft-oneclick-bar { background: #14202E; border: 1px solid #2C3A12; }

        .ft-ball-running { background: #2A2F05; border: 1px solid #F59E0B; border-radius: 8px; padding: 10px 16px; display: flex; align-items: center; color: #EDF1E2; }

        /* Market header bar: dark olive, star + name + MIN/MAX + BACK/LAY. */

        .ft-mkt-bar { background: #495906 !important; color: #F2F5E9 !important; border-radius: 12px 12px 0 0; }

        .ft-mkt-bar::after { filter: invert(1); }

        .ft-mkt-star { color: #AFC638; font-size: 1rem; line-height: 1; }

        .ft-mkt-min, .ft-mkt-max { color: #DDE5C8; font-size: .7rem; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }

        /* 7-column depth table: runner ~34%, six price columns ~11% each.

           Only the centre-adjacent best columns hold a price button; the

           outer depth cells are honest "—". */

        .ft-market-table { background: #0E1721; color: #EDF1E2; }

        .ft-market-table .col-runner { width: 34%; }

        .ft-market-table .col-prices { width: 11%; }

        .ft-market-table .ft-mkt-head th { background: #1A2405; color: #EDF1E2; border-color: #1A2405; font-size: .8rem; }

        .ft-market-table .col-head-pill { display: inline-block; font-weight: 800; font-size: .75rem; letter-spacing: .06em; padding: 2px 14px; border-radius: 4px; }

        .ft-market-table .col-head-pill--back { background: #72BBEF; color: #0B1520; }

        .ft-market-table .col-head-pill--lay { background: #FAA9BA; color: #2A0E12; }

        .ft-market-table td.cell-back, .ft-market-table td.cell-lay { background: transparent; border-color: #2C3A12; }

        .ft-market-table td.cell-depth { vertical-align: middle; }

        .ft-market-table td.cell-depth .depth-none { color: #7C8A6D !important; font-weight: 700; }

        .ft-market-table .oddBtn { border-radius: 6px; border: 0; padding: 8px 4px; }

        .ft-market-table .oddBtn.odd-back { background: #72BBEF; color: #0F172A; }

        .ft-market-table .oddBtn.odd-lay { background: #FAA9BA; color: #0F172A; }

        .ft-market-table .oddBtn .odd-val { font-weight: 800; font-size: .95rem; display: block; }

        .ft-market-table .cell-empty .depth-none { color: #7C8A6D !important; }

        .ft-market-table .btn-locked { background: #232A16; color: #7C8A6D; border: 0; }

        .ft-market-table tr { border-color: #2C3A12; }

        html[data-theme="light"] .ft-market-table .runner-name, html[data-theme="dark"] .ft-market-table .runner-name { color: #EDF1E2 !important; } /* custom.css paints html:not([data-theme="dark"]) .runner-name (0,2,1) !important — the :not() argument counts, so this is (0,3,1) */

        /* Suspended rows: slate price cells + red SUSPENDED (fancy: mauve). */

        .ft-market-table tr.ft-row-suspended td { background: #232A16; }

        .ft-market-table tr.ft-row-suspended td.cell-back,

        .ft-market-table tr.ft-row-suspended td.cell-lay { background: #395E78; }

        .ft-market-table tr.ft-row-suspended .btn-locked { background: #0D1520; color: #F87171; }

        .ft-suspended-badge { font-size: .65rem; }

        .fancy-state--live { color: #4ADE80; font-weight: 700; font-size: .75rem; }

        .fancy-state__dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; margin-right: 4px; }

        .ft-open-bets { background: #0E1721; border: 1px solid #2C3A12; border-radius: 12px; overflow: hidden; color: #EDF1E2; }

        .ft-open-bets .table { color: #EDF1E2; }

        .ft-open-bets .text-muted { color: #A8B294 !important; }

        .ft-modal { background: #0E1721; color: #EDF1E2; border: 1px solid #2C3A12; }

        .ft-modal-band { background: #0D1520; border: 1px solid #2C3A12; }

        .ft-modal-note { background: #14202E; border: 1px solid #2C3A12; }

        /* Behaviour hooks the copied script relies on. */

        .odd-list__body-content.ball-suspended .oddBtn { opacity: 0.45 !important; pointer-events: none !important; cursor: not-allowed !important; filter: grayscale(40%); }

        .odds-flash-up { outline: 2px solid #4ADE80 !important; }

        .odds-flash-down { outline: 2px solid #DC2626 !important; }

        .btn-submitting { opacity: 0.6; pointer-events: none; position: relative; }

        .quick-stake-pill { background: #141C04; color: #EDF1E2; border: 1px solid #2C3A12; border-radius: 4px; padding: 2px 8px; font-size: 0.75rem; font-weight: 600; transition: all 0.2s; }

        .quick-stake-pill.active { background: #AFC638; color: #131A05; border-color: #AFC638; }

        .bb-inline-bet { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: #14202E; border: 1px solid #2C3A12; border-radius: 8px; padding: 8px 10px; }

        .bb-inline-bet__name { font-weight: 700; color: #EDF1E2; }

        .bb-inline-bet__odds, .bb-inline-bet__side { font-size: .8rem; color: #AFC638; font-weight: 700; }

        .bb-inline-bet__input { flex: 1 1 120px; background: #010100; color: #EDF1E2; border: 1px solid #2C3A12; border-radius: 6px; padding: 6px 8px; }

        .bb-inline-bet__return { font-size: .8rem; color: #A8B294; }

        .bb-inline-bet__place { background: #AFC638; color: #131A05; border: 0; border-radius: 6px; padding: 6px 14px; font-weight: 700; }

        .bb-inline-bet__place:disabled { opacity: .5; }

        .bb-inline-bet__close { background: none; border: 0; font-size: 1.2rem; color: #A8B294; }

        .cricket-ball { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; border-radius: 50%; background: #141C04; border: 1px solid #2C3A12; font-size: .7rem; font-weight: 700; color: #EDF1E2; padding: 0 4px; }

        .cricket-ball.four { background: #14202E; border-color: #72BBEF; color: #72BBEF; }

        .cricket-ball.six { background: #14201A; border-color: #4ADE80; color: #4ADE80; }

        .cricket-ball.wicket { background: #2A1214; border-color: #DC2626; color: #F87171; }

        .cricket-ball.active { outline: 2px solid #AFC638; }

        /* FIX (carried from Diamond): fancy odds must stay blue/pink even

           when a theme !important rule bleaches .oddBtn white; the IN PLAY

           badge must not wrap mid-badge; the 1-click bar must not wrap its

           label; market tabs must not cut off at the right edge; the ball-

           running banner must clear the floating Bet Slip pill; the open-bets

           table must fit all six columns on a 390px screen. */

        .ft-market-table .oddBtn.odd-back { background: #72BBEF !important; border-color: #5DA8E0 !important; color: #0F172A !important; }

        .ft-market-table .oddBtn.odd-lay { background: #FAA9BA !important; border-color: #F08A97 !important; color: #0F172A !important; }

        .fancy-cell__title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }

        .fancy-cell__title .runner-name { font-size: .9rem; }

        .fancy-state--live, .fancy-state { white-space: nowrap; }

        .ft-oneclick-bar .form-check-label { white-space: nowrap; }

        .one-click-stakes { overflow-x: auto; flex-wrap: nowrap !important; scrollbar-width: none; }

        .one-click-stakes::-webkit-scrollbar { display: none; }

        .one-click-stakes .quick-stake-pill { flex-shrink: 0; }

        .market-filter-tabs .market-tab { flex-shrink: 0; }

        .market-filter-tabs { flex-wrap: nowrap !important; }

        @media (max-width: 575.98px) {

            .ft-mkt-min { display: none; }

            .ft-team-name { font-size: .95rem; }

            .ft-ball-running { padding-right: 76px !important; }

            .ft-open-bets table { font-size: .72rem !important; }

            .ft-open-bets th, .ft-open-bets td { padding: 6px 3px !important; }

            .ft-market-table .oddBtn { padding: 6px 2px; }

            .ft-market-table .oddBtn .odd-val { font-size: .85rem; }

        }

        /* Event view (reference): balance bar, title bar, MARKET / SCOREBOARD

           / OPEN BETS tabs, suspended merged cell. One structure for every

           sport and casino game. */

        .ft-ev-balance { background: #495906; color: #F2F5E9; font-size: .8rem; font-weight: 700; display: flex; justify-content: space-between; gap: 8px; padding: 7px 12px; }

        .ft-ev-balance span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

        .ft-ev-title { display: flex; align-items: center; gap: 4px; background: #0E1721; border: 1px solid #2C3A12; border-top: 0; padding: 7px 10px; }

        .ft-ev-title__burger { background: none; border: 0; font-size: 1.25rem; line-height: 1; color: #EDF1E2; padding: 2px 6px; cursor: pointer; }

        .ft-ev-title__name { flex: 1; text-align: center; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #EDF1E2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

        .ft-ev-title__spacer { width: 30px; flex-shrink: 0; }

        .ft-ev-tabs { display: flex; background: #0E1721; border: 1px solid #2C3A12; border-top: 0; }

        .ft-ev-tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 6px; background: #0E1721; border: 0; border-right: 1px solid #2C3A12; color: #A8B294; font-size: .72rem; font-weight: 800; letter-spacing: .05em; cursor: pointer; }

        .ft-ev-tab:last-child { border-right: 0; }

        .ft-ev-tab i { font-size: 1.3rem; line-height: 1; }

        .ft-ev-tab.active { color: #AFC638; box-shadow: inset 0 -3px 0 #AFC638; }

        .ft-suspended-faint { display: block; color: #9CA3AF; font-size: .72rem; font-weight: 600; }

        .ft-suspended-text { display: block; color: #DC2626; font-weight: 800; font-size: .95rem; letter-spacing: .05em; }

        .ft-market-table .oddBtn .odd-vol { display: block; font-size: .68rem; color: #0F172A; }

        @media (max-width: 575.98px) {

            .ft-ev-balance { font-size: .72rem; padding: 6px 8px; }

            .ft-ev-tab { font-size: .65rem; }

        }

        /* Future fidelity (2026-11-11): jackpot event-page structure in

           Future's own lime-olive styling — section bars, MARKET/TV/BETS

           tabs, flat FANCY table. Future-scoped only; shared CSS untouched. */

        .ft-section-bar { background: #26330B; color: #EDF1E2; font-weight: 800; font-size: .95rem; letter-spacing: .03em; text-transform: uppercase; padding: 9px 12px; margin: 14px 0 0; border-radius: 6px; display: flex; justify-content: space-between; align-items: center; gap: 8px; border: 1px solid #2C3A12; }

        .ft-section-bar:first-child { margin-top: 0; }

        .ft-section-bar:has(+ .ft-fancy-table-wrap) { border-radius: 6px 6px 0 0; }

        .ft-section-bar .ft-mkt-max { color: #AFC638; }

        .ft-fancy-filters { background: #26330B; border: 1px solid #2C3A12; border-top: 0; border-radius: 0 0 6px 6px; overflow: hidden; }

        .ft-fancy-filter { flex: 1; background: transparent; border: 0; border-right: 1px solid #2C3A12; color: #A8B294; font-size: .72rem; font-weight: 800; letter-spacing: .05em; padding: 8px 4px; cursor: pointer; }

        .ft-fancy-filter:last-child { border-right: 0; }

        .ft-fancy-filter.active { background: #74921A; color: #131A05; }

        .ft-mkt-info { color: #A8B294; }

        /* #1 Event market tables render dark, not white: the shared

           custom.css `.table tbody td` rule (white, !important, (0,1,2))

           bleaches every cell, so the base rule below is (0,2,2) — it

           must beat (0,1,2) on specificity, and every suspended override

           is raised past it in turn. */

        .ft-market-table.table tbody td { background: #0E1721 !important; color: #EDF1E2 !important; }

        .ft-market-table.table tbody td .text-muted { color: #A8B294 !important; }

        /* FANCY NO / YES fills. The shared `custom.css` `.table tbody td`

           rule (0,1,2) !important bleaches every cell, and the dark base

           above is (0,2,2), so these selectors are (0,3,2) — they win on

           specificity and keep the reference pink (NO) / blue (YES). */

        .ft-market-table.ft-fancy-table tbody td.cell-lay { background: rgb(255, 177, 180) !important; }

        .ft-market-table.ft-fancy-table tbody td.cell-back { background: rgb(178, 231, 255) !important; }

        .ft-market-table.ft-fancy-table tbody td.cell-lay .oddBtn.btn-lay,

        .ft-market-table.ft-fancy-table tbody td.cell-lay .oddBtn.btn-lay:hover:not(:disabled),

        .ft-market-table.ft-fancy-table tbody 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; }

        .ft-market-table.ft-fancy-table tbody td.cell-back .oddBtn.btn-back,

        .ft-market-table.ft-fancy-table tbody td.cell-back .oddBtn.btn-back:hover:not(:disabled),

        .ft-market-table.ft-fancy-table tbody 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; }

        .ft-market-table.ft-fancy-table tbody td.cell-lay .oddBtn.btn-lay .odd-val,

        .ft-market-table.ft-fancy-table tbody td.cell-lay .oddBtn.btn-lay .odd-vol { color: #7F1D1D !important; }

        .ft-market-table.ft-fancy-table tbody td.cell-back .oddBtn.btn-back .odd-val,

        .ft-market-table.ft-fancy-table tbody td.cell-back .oddBtn.btn-back .odd-vol { color: #0C4A6E !important; }

        .ft-market-table .ft-mkt-head th { background: #1A2405 !important; color: #EDF1E2 !important; border-color: #1A2405 !important; }

        .ft-market-table.ft-fancy-table thead th { background: #495906 !important; color: #F2F5E9 !important; border-color: #2C3A12 !important; }

        .ft-market-table.table tbody tr.ft-row-suspended td:not(.ft-suspended-cell) { background: #232A16 !important; }

        .ft-market-table.table tbody tr.ft-row-suspended td.cell-back { background: #395E78 !important; }

        .ft-market-table.table tbody tr.ft-row-suspended td.cell-lay { background: #395E78 !important; }

        /* Suspended merged cell. `.table tbody td.ft-suspended-cell` is (0,2,2)

           and beats the shared `.table tbody td` bleach (0,1,2); the

           `tr`-scoped companions are (0,3,3) so the row-tint rules above

           (also (0,3,3), but earlier) cannot repaint the locked cell. */

        .table tbody td.ft-suspended-cell,

        .ft-market-table.table tbody tr td.ft-suspended-cell { background: rgba(31, 41, 55, 0.92) !important; vertical-align: middle; text-align: center; }

        .table tbody td.ft-suspended-cell--fancy,

        .ft-market-table.table tbody tr td.ft-suspended-cell--fancy { background: rgba(31, 41, 55, 0.92) !important; }

        /* #19 In-play suspended variant (reference): slate #526D7F back, #7C6867 lay. */

        .ft-market-table.table.ft-market-table--inplay tbody tr td.ft-suspended-cell { background: rgba(31, 41, 55, 0.92) !important; }

        .ft-market-table.table.ft-market-table--inplay tbody tr.ft-row-suspended td.cell-back { background: #526D7F !important; }

        .ft-market-table.table.ft-market-table--inplay tbody tr.ft-row-suspended td.cell-lay { background: #7C6867 !important; }

        .ft-open-bets .table td, .ft-open-bets .table th { background: #0E1721 !important; color: #EDF1E2 !important; }

        /* #6 Pre-match countdown boxes. */

        .ft-countdown { background: #0D1520; border: 1px solid #2C3A12; border-radius: 10px; padding: 10px 12px; }

        .ft-countdown__label { font-size: .72rem; font-weight: 800; letter-spacing: .08em; color: #AFC638; margin-bottom: 8px; }

        .ft-countdown__boxes { display: flex; gap: 8px; flex-wrap: wrap; }

        .ft-cd-box { background: #141C04; border: 1px solid #2C3A12; border-radius: 8px; padding: 6px 10px; text-align: center; min-width: 64px; flex: 1; }

        .ft-cd-num { display: block; font-size: 1.25rem; font-weight: 800; color: #AFC638; line-height: 1.1; }

        .ft-cd-label { font-size: .65rem; letter-spacing: .08em; color: #A8B294; font-weight: 700; }

        /* Photo scoreboard (cricket only): our own brightened stadium asset

           under a light overlay so the team names stay legible while the

           panel keeps a genuine photo luminance (>= 50). */

        .ft-scoreboard--photo {

            background-image: linear-gradient(rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)), url('/assets/templates/future/images/match-cricket-bg-bright.webp');

            background-size: cover;

            background-position: center 30%;

            background-repeat: no-repeat;

        }

        .ft-scoreboard--photo .ft-team-name,

        .ft-scoreboard--photo .ft-badge-cat,

        .ft-scoreboard--photo .ft-badge-league,

        .ft-scoreboard--photo .ft-badge-live,

        .ft-scoreboard--photo .ft-badge-crr,

        .ft-scoreboard--photo .ft-badge-rrr {

            text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8), 0 0 2px rgba(0, 0, 0, 0.6);

        }

        /* #18 Odds flash: amber on update (reference), red on down. */

        .odds-flash-up { outline: 2px solid #F59E0B !important; }

        /* §33 (shared bb-premium.css) orders the match page's direct

           children (scoreboard 1 … open-bets card 8). Pin the tabs/panes

           into the same sequence so they can never jump ahead of the

           scoreboard (Basic hit this when its tabs defaulted to order 0). */

        .home-page .odd-list > .row > .col-12 > .ft-scoreboard { order: 1; }

        .home-page .odd-list > .row > .col-12 > .ft-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; }

/* --------------------------------------------------------------------------
   Styles consolidated out of @push('style') <style> blocks in the
   Future-owned auth/user views (theme separation 2026-11-12). Moved
   verbatim; no rule collided with an existing Future rule, so none was
   dropped. future.css loads last, so these keep their original ordering
   strength relative to the shared sheets.
   -------------------------------------------------------------------------- */

/* from partials/login.blade.php */
.form-check-input {
    margin-top: 0px;
}

/* from partials/register.blade.php */
.form-group {
    margin: 8px 0;
}

/* from partials/social_login.blade.php */
.social-login-btn {
    border: 1px solid #cbc4c4;
}

.social-login-btn:hover {
    border: 1px solid hsl(var(--base));
}

/* from user/transactions.blade.php */
.select2-container {
    width: 100% !important;
}

/* from user/auth/register.blade.php */
.form-disabled {
    overflow: hidden;
    position: relative;
}

.form-disabled::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    top: 0;
    left: 0;
    backdrop-filter: blur(2px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    z-index: 99;
}

.form-disabled-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 991;
    font-size: 24px;
    height: auto;
    width: 100%;
    text-align: center;
    color: hsl(var(--dark-600));
    font-weight: 800;
    line-height: 1.2;
}

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

/* ==========================================================================
   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: var(--ft-blue-dark, #74921A), 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(--ft-blue-dark, #74921A);
    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(--ft-blue-dark, #74921A) !important;
    border-color: var(--ft-blue-dark, #74921A) !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.ft-suspended-cell { background: #7F1D1D !important; }
#marketsContainer td.ft-suspended-cell--fancy { background: #7F1D1D !important; }
#marketsContainer .ft-suspended-text { color: #FF6B6B !important; font-size: 1.05rem !important; letter-spacing: .08em !important; }
#marketsContainer .ft-suspended-faint { color: #FECACA !important; font-size: .75rem !important; }
#marketsContainer .ft-ball-running-overlay { background: #7F1D1D !important; color: #FF6B6B !important; font-size: 1.05rem !important; letter-spacing: .08em !important; }
#marketsContainer .ft-ball-running-overlay span { color: #FF6B6B !important; }
#marketsContainer .ft-ball-running-overlay .ft-suspended-text { color: #FF6B6B !important; }
#marketsContainer .ft-mkt-max { font-size: .78rem !important; }
#marketsContainer .oddBtn .odd-val { font-size: 1.1rem !important; }
#marketsContainer .oddBtn { padding-top: 10px !important; padding-bottom: 10px !important; }
@media (max-width: 575.98px) {
    #marketsContainer .oddBtn .odd-val { font-size: 1rem !important; }
}
.ft-obm-band { flex: 0 1 200px; background: #7F1D1D; border-radius: 4px; padding: 6px 8px; text-align: center; }
.ft-obm-band__faint { display: block; color: #FECACA; font-size: .72rem; font-weight: 600; }
.ft-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 nav shows) and use the chrome that
   already exists — the bottom-nav Bet Slip button and the event-nav MULTI
   button open the bet slip (with a live selection-count badge), and the
   drawer HELP & SUPPORT item opens the chatbot. Desktop (>=1024px) keeps
   the floating FABs. */
@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; }
}
/* Nav selection-count badges (2026-11-16 mobile fix): mirror the floating
   bet-slip FAB's count on the bottom-nav Bet Slip / event-nav MULTI
   buttons. They reuse .bb-betslip-fab__count so the existing bet-slip JS
   updates them; hidden when the count is 0 (JS toggles them). */
.ft-bottom-nav__icon-wrap, .ft-event-nav__icon-wrap { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.ft-bottom-nav__count, .ft-event-nav__count {
    position: absolute;
    top: -6px;
    right: -14px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    background: #74921A;
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 17px;
    text-align: center;
}
.ft-bottom-nav__count:empty, .ft-event-nav__count:empty { display: none; }

/* ==========================================================================
   BUG FIXES 2026-11-16 (REA-FULL-TEST + founder screenshot 14:02 IST)
   ========================================================================== */

/* BUG 4 — Ticker flex fix on the LAYOUT strip (home/live pages). The event
   page has its own copy in future/markets.blade.php (also slowed to 36s).
   Same proven pattern: flex:1 + min-width:0 on the viewport + right-edge
   fade mask. Duration already 36s (ft-ticker-scroll, above). */
.announcement-strip > .badge { flex-shrink: 0 !important; }
.announcement-strip > div.overflow-hidden.w-100 { flex: 1 1 auto; min-width: 0; -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%); }

/* NEW BUG — Odds number unreadable on BACK/LAY cells. Root cause: shared
   custom.css dark-mode rule `html[data-theme="dark"] .oddBtn .odd-val {
   color: #FFFFFF !important; }` forces the number white, while Future's
   own market-table rules force LIGHT fills (#72BBEF / #FAA9BA) in both
   modes — the button-level dark colour never reaches the span. Fix:
   explicit dark .odd-val on light BACK/LAY cells. :not(.active)
   preserves the selected state (dark accent bg + white text). */
.ft-market-table .oddBtn.odd-back:not(.active) .odd-val,
.ft-market-table .oddBtn.odd-lay:not(.active) .odd-val,
.ft-market-table .oddBtn.btn-back:not(.active) .odd-val,
.ft-market-table .oddBtn.btn-lay:not(.active) .odd-val { color: #0F172A !important; }
