/* ==========================================================================
   BB-Bet — Diamond theme (KIXO9-style home, BB-Bet brand)
   Mobile-first: base = phone, min-width queries scale up.
   Palette: blue #2563EB / #1D4ED8, bg #F1F5F9, borders #E2E8F0,
   ink #0F172A, muted #64748B. White cards, radius 12-16px.
   Loaded AFTER main.css / bb-polish.css / bb-premium.css, so these win.
   ========================================================================== */

:root {
    --dm-blue: #2563EB;
    --dm-blue-dark: #1D4ED8;
    --dm-navy: #0F172A;
    --dm-bg: #F1F5F9;
    --dm-border: #E2E8F0;
    --dm-muted: #64748B;
    --dm-back: #BFDBFE;
    --dm-lay: #FECACA;
    --dm-empty: #E5E7EB;
    --dm-radius: 14px;
}

/* Page surface: Diamond is a light theme home regardless of dark toggle. */
body.bb-page-surface {
    background: var(--dm-bg);
    padding-bottom: 64px; /* room for the fixed bottom nav */
}

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

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

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

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

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

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

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

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

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

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

.dm-header__nav-link:hover,
.dm-header__nav-link.active {
    color: var(--dm-blue);
    background: #EFF6FF;
}

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

.dm-btn-login,
.dm-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);
}

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

.dm-btn-login {
    color: var(--dm-navy);
    background: #fff;
    border: 1.5px solid var(--dm-navy);
}

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

.dm-btn-signup {
    color: #fff;
    background: var(--dm-blue);
    border: 1.5px solid var(--dm-blue);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.dm-btn-signup:hover { background: var(--dm-blue-dark); color: #fff; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.dm-rail__item.active {
    background: var(--dm-blue);
    color: #fff;
}

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

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

.dm-tile-card__img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #1E40AF;
}

.dm-tile-card__img--all {
    background: linear-gradient(135deg, #2563EB, #1E40AF);
}

.dm-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(15, 23, 42, 0.55), rgba(15, 23, 42, 0) 55%);
}

.dm-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;
}

.dm-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);
}

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

.dm-tile-card--all .dm-tile-card__overlay {
    justify-content: center;
    background: rgba(15, 23, 42, 0.25);
}

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

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

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

.dm-live .live-now-card {
    background: #fff;
    border: 1px solid var(--dm-border);
    border-radius: var(--dm-radius);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

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

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

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

.dm-match-feed .match-tab-btn.active {
    background: var(--dm-blue);
    border-color: var(--dm-blue);
    color: #fff;
}

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

.dm-league-head {
    background: #fff;
    border: 1px solid var(--dm-border);
    border-radius: 10px;
}

/* Team-name row: left dark navy, right blue (via the shared summary block). */
.dm-match-row .sports-card {
    background: #fff;
    border: 1px solid var(--dm-border);
    border-radius: var(--dm-radius);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 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 .dm-match-row .exchange-fixture-summary,
.dm-match-row .exchange-fixture-summary {
    background: #DBEAFE !important;
    background-image: none !important;
    border-radius: 10px 10px 0 0;
    padding: 9px 12px;
}

.home-page .dm-match-row .exchange-fixture-summary__teams,
.dm-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 .dm-match-row .exchange-fixture-summary__teams span,
.dm-match-row .exchange-fixture-summary__teams span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

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

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

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

.home-page .dm-match-row .btn-pin-game,
.dm-match-row .btn-pin-game {
    color: #94A3B8 !important;
}

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

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

.dm-match-row .oddBtn.btn-back,
.dm-match-row .btn-back,
.dm-odds-box.dm-back {
    background: var(--dm-back);
    border-color: #93C5FD;
    color: var(--dm-navy);
}

.dm-match-row .oddBtn.btn-back:hover {
    background: #93C5FD;
}

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

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

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

.dm-match-row .exchange-market-grid__column--back { color: var(--dm-blue-dark); }
.dm-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.
   ========================================================================== */
.dm-match-list { display: flex; flex-direction: column; gap: 10px; }
.dm-match { background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; overflow: hidden; }
a.dm-match__head {
    display: grid;
    grid-template-columns: 28px 1fr auto 1fr;
    align-items: center;
    gap: 6px;
    background: #DBEAFE;
    padding: 9px 12px;
    text-decoration: none;
    color: inherit;
}
.dm-match__head:hover { text-decoration: none; }
.dm-match__sport { color: #2563EB; font-size: 1.1rem; display: inline-flex; align-items: center; justify-content: center; }
.dm-match__team { font-weight: 700; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.dm-match__team--home { color: #0F172A; text-align: left; }
.dm-match__team--away { color: #2563EB; text-align: right; }
.dm-match__league { color: #64748B; font-size: .7rem; font-weight: 600; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 110px; }
.dm-match__body { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px; padding: 10px 12px; }
.dm-match__body .dm-pin { background: none; border: 0; padding: 4px; color: #94A3B8; font-size: 1.15rem; line-height: 1; cursor: pointer; }
.dm-match__body .dm-pin.active { color: #F59E0B; }
.dm-match__body .dm-pin.active .pin-star-icon { font-weight: 900; }
.dm-pinned-badge { grid-column: 1 / -1; justify-self: start; font-size: .62rem; }
.dm-odds { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; min-width: 0; }
.dm-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;
}
.dm-odd .odd-rate { font-size: .95rem; }
html[data-theme="light"] .dm-match .dm-odd--back,
html[data-theme="dark"] .dm-match .dm-odd--back {
    background: #BFDBFE !important;
    border-color: #93C5FD !important;
    color: #0F172A !important;
}
html[data-theme="light"] .dm-match .dm-odd--lay,
html[data-theme="dark"] .dm-match .dm-odd--lay {
    background: #FECACA !important;
    border-color: #FCA5A5 !important;
    color: #0F172A !important;
}
.dm-odd--empty { background: #E5E7EB !important; color: #9CA3AF !important; cursor: default; }

/* Popular / tabs helpers (shared with other Diamond pages). */
.dm-popular {
    background: #fff;
    border: 1px solid var(--dm-border);
    border-radius: var(--dm-radius);
}

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

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

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

.dm-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(--dm-muted);
    font-size: 0.68rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

    .dm-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 diamond/layouts/bet.blade.php); every other page keeps dm-bottom-nav. */
.dm-event-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    display: flex;
    background: #1F2937;
    border-top: 1px solid #111827;
    padding-bottom: env(safe-area-inset-bottom);
}

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

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

.dm-event-nav__item:hover { color: #fff; }

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

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

@media (min-width: 1024px) {
    .dm-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 (dm-match-list gap). */
@media (max-width: 575.98px) {
    .dm-match__league { display: none; }
    a.dm-match__head { grid-template-columns: 26px 1fr 1fr; padding: 9px 12px; }
    .dm-match__body { padding: 8px 10px; gap: 6px; }
    .dm-odds { gap: 4px; }
    .dm-odd { min-height: 44px; font-size: .85rem; }
    .dm-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: #0F172A !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. */
.dm-tile-card__overlay {
    background: linear-gradient(to top, rgba(2, 6, 23, 0.88) 0%, rgba(2, 6, 23, 0.45) 55%, rgba(2, 6, 23, 0) 100%) !important;
}
.dm-tile-card__name { font-size: 0.88rem; }

/* Cookie banner: a full-width bottom sheet covered the bottom nav. Diamond
   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: 78px !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. */
.dm-catbar { display: flex; align-items: center; gap: 6px; margin: 2px 0 12px; }
.dm-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;
}
.dm-catbar__scroll::-webkit-scrollbar { display: none; }
.dm-cat-chip {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
    background: #fff; border: 1px solid var(--dm-border); border-radius: 999px;
    padding: 7px 13px; font-weight: 700; font-size: .83rem; color: var(--dm-navy);
    cursor: pointer; white-space: nowrap; scroll-snap-align: start;
}
.dm-cat-chip__icon { color: var(--dm-blue); font-size: 1.05rem; display: inline-flex; line-height: 1; }
.dm-cat-chip:hover { border-color: var(--dm-blue); }
.dm-cat-chip.is-active { background: var(--dm-blue); border-color: var(--dm-blue); color: #fff; }
.dm-cat-chip.is-active .dm-cat-chip__icon { color: #fff; }
.dm-catbar__arrow {
    flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid var(--dm-border); background: #fff; color: var(--dm-blue);
    font-size: 1rem; line-height: 1; cursor: pointer; display: none;
    align-items: center; justify-content: center;
}
.dm-catbar__arrow:disabled { opacity: .35; cursor: default; }
.dm-catbar-empty { background: #fff; border: 1px solid var(--dm-border); border-radius: 12px; text-align: center; padding: 28px 20px; color: #64748B; margin-bottom: 12px; }
.dm-catbar-empty i { font-size: 2rem; opacity: .5; display: block; margin-bottom: 6px; }
.dm-catbar-empty p { margin: 0 0 12px; }

/* Desktop: category arrows on; content column centred at ~1080px.
   NOTE 2026-11-11 (measured live at 1280px): this cap does NOT bind — the
   sports-body flex track is only 730px wide (220px sidebar + 330px bet-slip
   drawer fill the 1280px viewport), so max-width:1080px never engages.
   Widening the feed would mean narrowing/removing the sidebar or the
   bet-slip drawer — a structural change, not a CSS tweak — so the cap is
   left as-is. The old claim that it "binds at >=1200px" was wrong. */
@media (min-width: 1024px) {
    .dm-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;
    }
}

/* ------------------------------------------------------------------ fidelity fixes 2026-11-11 (Diamond vs KIXO9) — theme-owned overrides only; never edit shared custom.css / bb-premium.css */
/* Announcement strip: pale-yellow scrolling ticker (was pale blue #F0F9FF from custom.css:2192). Same specificity as the losing rule; diamond.css loads last, so this wins. */
html:not([data-theme="dark"]) .announcement-strip,
html[data-theme="light"] .announcement-strip {
    background: #FEF9C3 !important;
    border-bottom: 1px solid #FDE68A !important;
}
html:not([data-theme="dark"]) .announcement-text,
html[data-theme="light"] .announcement-text {
    color: var(--dm-navy) !important;
    display: inline-block;
    padding-left: 100%;
    animation: dm-ticker 36s linear infinite;
}
.announcement-strip .overflow-hidden {
    text-overflow: clip;
}
@keyframes dm-ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}
/* Event market bar: dark grey #374151 (was blue #0A5FBF from bb-premium.css:4853). Higher specificity wins. */
.home-page .market-accordion .accordion-button.dm-mkt-bar {
    background: #374151 !important;
    color: #fff !important;
}
/* MAX gap: Bootstrap's .accordion-button::after margin-left:auto absorbs all free space and glues MAX to the title. Restore spacing. */
.dm-mkt-bar {
    gap: 12px;
}
.dm-mkt-bar::after {
    margin-left: 8px !important;
}
/* In-play header: one row at 390px (was wrapping — the Blade style block forces .dm-inplay-head__boost { order:3 }). Keep it on one row with tighter sizes. */
@media (max-width: 575.98px) {
    .dm-inplay-head { gap: 6px !important; }
    .dm-inplay-head__boost { order: 0 !important; margin: 0 !important; padding: 7px 12px !important; font-size: .78rem !important; }
    .dm-inplay-head__hint { font-size: .78rem !important; }
}
/* League inside the match band: hidden at all widths (already shown as the section subhead above the rows). */
.dm-match__league { display: none; }
/* VIEW ALL tile: blue like the reference (was dark navy). */
.dm-tile-card--all .dm-tile-card__overlay { background: #2563EB !important; }
/* Sidebar "In-Play" active state: blue like every other active item (was a
   deliberate red tint in shared CSS — custom.css:1341-1346 + 3369-3376 and
   bb-polish.css:231-233 — and a pink banner from bb-premium.css:211-217).
   Theme-owned override only; shared files untouched. diamond.css loads last. */
html:not([data-theme="dark"]) .sports-category__link.live-btn.active,
html[data-theme="light"] .sports-category__link.live-btn.active,
.sports-category__link.live-btn.active {
    background: rgba(37, 99, 235, 0.12) !important;
    color: #2563EB !important;
    border-left: 3px solid #2563EB !important;
    box-shadow: inset 3px 0 0 #2563EB !important;
}
html:not([data-theme="dark"]) .sports-category__link.live-btn.active .sports-category__text,
html[data-theme="light"] .sports-category__link.live-btn.active .sports-category__text,
.sports-category__link.live-btn.active .sports-category__text {
    color: #2563EB !important;
}
/* Event refinement 2026-11-11 (reference scoreboard): team names white on
   the dark #303030 board. The colour override lives here, not in the
   Blade's pushed <style>: shared custom.css
   `html:not([data-theme="dark"]) h4 { color: #0F172A !important; }` beats
   the pushed style, but diamond.css loads last (same fix class as Jack #2).
   .dm-team-name is used only by the Diamond event scoreboard. */
body h4.dm-team-name { color: #fff !important; }

/* ==========================================================================
   THEME SEPARATION (2026-11-11) — consolidated Diamond stylesheet.
   The @push('style') blocks that used to live in live_matches.blade.php
   and markets.blade.php now live HERE, in the one Diamond-owned
   stylesheet. diamond.css loads LAST (after custom.css / bb-polish.css /
   bb-premium.css), so moving the rules here only strengthens them:
   every rule below used to load BEFORE the shared sheets at
   @stack('style'). Nothing about the values changed, except:
   - the live block's stale `.dm-inplay-head__boost { order: 3 }` line was
     dropped: the fidelity rule above already forces order: 0 !important.
   - the scoreboard photo `{{ asset(...) }}` became the root-relative URL
     (a .css file has no Blade).
   New Diamond CSS goes here, never in a Blade @push('style') block.
   ========================================================================== */

/* --- consolidated from live_matches.blade.php @push('style') --- */
        /* Diamond in-play list — .dm-* only; diamond.css untouched. */
        .dm-inplay-head { display: flex; align-items: center; gap: 10px; padding: 10px 2px 12px; flex-wrap: wrap; }
        .dm-inplay-head__title { color: #2563EB; font-weight: 800; font-size: 1.05rem; letter-spacing: .04em; }
        .dm-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; }
        .dm-inplay-head__hint { color: #2563EB; font-weight: 600; font-size: .85rem; }
        .dm-sport-title { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 800; color: #0F172A; margin: 14px 0 8px; }
        .dm-sport-title__icon { color: #2563EB; font-size: 1.15rem; display: inline-flex; }
        .dm-sport-title__count { margin-left: auto; background: #2563EB; color: #fff; font-size: .68rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
        /* .dm-match rows moved to diamond.css 2026-11-10 (shared with home). */
        .dm-popular-head { margin: 22px 0 10px; }
        .dm-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%); }
        .dm-popular-tabs { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
        .dm-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); }
        .dm-popular-tab.active { background: #2563EB; border-color: #2563EB; color: #fff; }
        .dm-empty { background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; text-align: center; padding: 36px 20px; color: #64748B; }
        .dm-empty i { font-size: 2.2rem; opacity: .5; display: block; margin-bottom: 8px; }
        .dm-empty p { margin: 0 0 14px; }
        .dm-btn { display: inline-block; background: #2563EB; color: #fff; font-weight: 700; font-size: .85rem; padding: 8px 18px; border-radius: 8px; text-decoration: none; }
        .dm-btn:hover { background: #1D4ED8; color: #fff; }
        @media (max-width: 575.98px) {
            .dm-inplay-head__hint { margin-left: auto; }
        }
/* --- consolidated from markets.blade.php @push('style') --- */
        /* Diamond markets (jackpotexch-style tables) — .dm-* only; diamond.css untouched. */
        /* Scoreboard (reference, event refinement 2026-11-11): dark board,
           white names, stadium-photo background on cricket (our own asset),
           dark overlay so the names stay legible. Team-name colour lives in
           diamond.css (loads last) — see the fidelity section there.
           GT-RR fix 2026-11-11: the shipped photo is a near-black night
           shot (mean luminance 28/255), so the old 0.62/0.78 overlay
           buried it completely — the board read as flat dark grey. Now a
           Diamond-scoped brightened copy of the same asset
           (templates/diamond/images/match-cricket-bg-bright.webp, 2.6x
           brightness, same stadium photo, no new artwork) under a much
           lighter 0.28/0.42 overlay, so the floodlights/stands/outfield
           plainly read while white names stay legible (text-shadow below). */
        .dm-scoreboard { background: #303030; border: 0; border-radius: 12px; color: #fff; }
        .dm-scoreboard--photo { background: linear-gradient(rgba(8, 12, 18, 0.28), rgba(8, 12, 18, 0.42)), url('/assets/templates/diamond/images/match-cricket-bg-bright.webp') center 30%/cover no-repeat #0B1220; }
        .dm-scoreboard .dm-team-name { text-shadow: 0 1px 5px rgba(0, 0, 0, 0.75), 0 0 2px rgba(0, 0, 0, 0.55); }
        .dm-scoreboard .text-muted { color: #BDBDBD !important; }
        .dm-badge-cat { background: #2563EB; color: #fff; }
        .dm-badge-league { background: #F1F5F9; color: #0F172A; border: 1px solid #E2E8F0; }
        .dm-scoreboard .dm-badge-league { background: #555555; color: #fff; border: 0; }
        .dm-badge-live { background: #DC2626; color: #fff; }
        .dm-badge-crr { background: #16A34A; color: #fff; }
        .dm-badge-rrr { background: #555555; color: #fff; border: 0; }
        /* Odd/Even live-parity badge (founder requirement 2026-11-17):
           marks which side the real live total currently favours. */
        .dm-badge-parity { background: #2563EB; color: #fff; font-size: .68rem; }
        .dm-badge-scheduled { background: #555555; color: #fff; border: 0; }
        .dm-scoreboard__time { color: #BDBDBD; font-size: .8rem; }
        .dm-scoreboard__note { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: .85rem; color: #E5E7EB; }
        .dm-position-line { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 2px 2px 10px; font-size: .92rem; color: #0F172A; }
        .dm-position-line strong { font-weight: 800; }
        .dm-score-team { min-width: 0; }
        .dm-score-line { margin-top: 6px; line-height: 1.15; }
        /* Score is WHITE + text-shadow (founder requirement 2026-11-17):
           the old green #22C55E on the dark stadium photo was unreadable.
           White bold text with the same shadow as the team names reads on
           any background image. Overs keep their light grey + shadow. */
        .dm-score-runs { color: #FFFFFF; font-weight: 800; font-size: 1.25rem; text-shadow: 0 1px 5px rgba(0, 0, 0, 0.75), 0 0 2px rgba(0, 0, 0, 0.55); }
        .dm-score-overs { color: #E5E7EB; font-weight: 600; font-size: .9rem; margin-left: 6px; text-shadow: 0 1px 5px rgba(0, 0, 0, 0.75), 0 0 2px rgba(0, 0, 0, 0.55); }
        .dm-score-runs:empty, .dm-score-overs:empty { display: none; }
        .dm-score-rates { margin-top: 4px; }
        .dm-score-rates .badge:empty { display: none; }
        .dm-score-recent { flex: 0 0 auto; align-self: center; }
        .dm-scoreboard .cricket-ball { background: #444444; border-color: #555555; color: #fff; }
        .dm-scoreboard .cricket-ball.four { background: #1D4ED8; border-color: #2563EB; color: #fff; }
        .dm-scoreboard .cricket-ball.six { background: #15803D; border-color: #16A34A; color: #fff; }
        .dm-scoreboard .cricket-ball.wicket { background: #7F1D1D; border-color: #DC2626; color: #fff; }
        .dm-scoreboard .cricket-ball.active { outline-color: #FBBF24; }
        .dm-badge-fancy { background: #2563EB; color: #fff; }
        .dm-team-logo { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: #F1F5F9; }
        .dm-team-name { color: #0F172A; font-weight: 800; font-size: 1.1rem; }
        .dm-vs-badge { background: #F1F5F9; color: #64748B; border: 1px solid #E2E8F0; border-radius: 999px; padding: 4px 10px; font-size: .8rem; }
        .dm-live-strip { background: #F8FAFC; border: 1px solid #E2E8F0; }
        .dm-strip-team { color: #0F172A; }
        .dm-details-box { background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; padding: 10px 14px; }
        .dm-details-box summary { cursor: pointer; font-weight: 700; color: #0F172A; }
        /* TV pane (visual verification 2026-11-11): shared bb-premium.css
           hides `.match-details-box`, `#matchTrackerSection` and
           `.match-center-tabs` with `display: none !important` ("remove the
           simulated tracker"). The fabrication that motivated that rule is
           gone — the Diamond TV pane now holds ONLY honest empty states
           ("Live coverage is not available…", "A visual field tracker is
           not available…") — so the tab rendered as a blank 0px pane.
           Un-hide all three INSIDE #evPaneTv only; the home-page hiding
           and the scoreboard #toggleTrackerBtn stay hidden. */
        #evPaneTv .match-details-box { display: block !important; }
        #evPaneTv #matchTrackerSection { display: block !important; }
        #evPaneTv .match-center-tabs { display: flex !important; }
        .dm-tracker-box { background: #F8FAFC; border: 1px solid #E2E8F0; }
        .dm-tracker-empty { padding: 8px 4px; }
        .dm-action-banner { background: #DBEAFE; border: 1px solid #BFDBFE; border-radius: 8px; padding: 8px 12px; font-size: .85rem; color: #0F172A; }
        /* Fidelity #20 (2026-11-11): at 390px the 1-click bar wrapped its
           label into the active stake pill (no gap). Let the bar wrap onto a
           second row with a gap instead of crowding one row. */
        /* 1-CLICK BAR CONTRAST FIX 2026-11-16 (Jack pattern): the bar was
           light blue #EFF6FF with a muted "Stake:" label and the FAST
           EXECUTION badge hidden below 576px, so it read washed out on
           phones. Fix: dark navy bar (#0F172A, Diamond's own navy) so the
           white label and light Stake label read clearly in both toggle
           states. The stake pills keep Diamond's own light-chip style
           (dark text on light grey), which reads on dark. */
        .dm-oneclick-bar { background: #0F172A !important; border: 1px solid #334155 !important; flex-wrap: wrap; gap: 8px; }
        .dm-oneclick-bar .form-check-label { color: #ffffff !important; }
        .dm-oneclick-bar .one-click-stakes .text-muted { color: #D1D5DB !important; }
        .dm-ball-running { background: #FEF3C7; border: 1px solid #F59E0B; border-radius: 8px; padding: 10px 16px; display: flex; align-items: center; color: #0F172A; }
        /* Market header bar: dark grey, star + name + MAX + BACK/LAY. */
        .dm-mkt-bar { background: #374151 !important; color: #fff !important; border-radius: 12px 12px 0 0; }
        .dm-mkt-bar::after { filter: invert(1); }
        .dm-mkt-star { color: #FBBF24; font-size: 1rem; line-height: 1; }
        .dm-mkt-max { color: #D1D5DB; font-size: .7rem; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
        .dm-market-table { background: #fff; }
        .dm-market-table .dm-mkt-head th { background: #4B5563; color: #fff; border-color: #4B5563; font-size: .8rem; }
        .dm-market-table .col-head-pill { display: inline-block; font-weight: 800; font-size: .75rem; letter-spacing: .06em; padding: 2px 14px; border-radius: 4px; }
        .dm-market-table .col-head-pill--back { background: #2563EB; color: #fff; }
        .dm-market-table .col-head-pill--lay { background: #DC2626; color: #fff; }
        .dm-market-table td.cell-back { background: #EFF6FF !important; }
        .dm-market-table td.cell-lay { background: #FEF2F2 !important; }
        /* (Founder checklist 2026-11-11, item 4: the !important above is
           load-bearing — shared custom.css bleaches every `.table tbody td`
           white with its own !important, so without it the lay column
           (no price button to paint it) reads white instead of pink. Same
           fix class as the suspended-cell rule below and the fancy table.) */
        .dm-market-table .oddBtn { border-radius: 6px; border: 0; padding: 8px 4px; }
        /* Odds text is ALWAYS dark on the pale BACK/LAY boxes (founder
           requirement 2026-11-17: Bookmaker 15.04 rendered white). The
           !important beats any theme rule that bleaches .oddBtn white
           and survives the odds-flash animation (which no longer touches
           colour). Applies to active and inactive buttons alike. */
        .dm-market-table .oddBtn .odd-val { color: #0F172A !important; }
        .dm-market-table .oddBtn.odd-back { background: #BFDBFE; color: #0F172A; }
        .dm-market-table .oddBtn.odd-lay { background: #FECACA; color: #0F172A; }
        .dm-market-table .oddBtn .odd-val { font-weight: 800; font-size: .95rem; display: block; }
        .dm-market-table .cell-empty .depth-none { color: #CBD5E1; }
        .dm-market-table .btn-locked { background: #E5E7EB; color: #6B7280; border: 0; }
        /* Suspended rows: dark price cells + red SUSPENDED badge on the runner.
           The !important is load-bearing: shared custom.css bleaches every
           `.table tbody td` white with its own !important (same fix class as
           Jack's cell-colour issue — without it the dark overlay never paints). */
        .dm-market-table tr.dm-row-suspended td { background: #E5E7EB !important; }
        .dm-market-table tr.dm-row-suspended td.cell-back,
        .dm-market-table tr.dm-row-suspended td.cell-lay { background: #374151 !important; }
        .dm-market-table tr.dm-row-suspended .btn-locked { background: #1F2937; color: #F87171; }
        .dm-suspended-badge { font-size: .65rem; }
        .fancy-state--live { color: #16A34A; font-weight: 700; font-size: .75rem; }
        .fancy-state__dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #16A34A; margin-right: 4px; }
        .dm-open-bets { background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; overflow: hidden; }
        .dm-modal { background: #fff; color: #0F172A; border: 1px solid #E2E8F0; }
        .dm-modal-band { background: #F8FAFC; border: 1px solid #E2E8F0; }
        .dm-modal-note { background: #EFF6FF; border: 1px solid #BFDBFE; }
        /* 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 #16A34A !important; }
        .odds-flash-down { outline: 2px solid #DC2626 !important; }
        .btn-submitting { opacity: 0.6; pointer-events: none; position: relative; }
        .quick-stake-pill { background: #F1F5F9; color: #0F172A; border: 1px solid #E2E8F0; border-radius: 4px; padding: 2px 8px; font-size: 0.75rem; font-weight: 600; transition: all 0.2s; }
        .quick-stake-pill.active { background: #2563EB; color: #fff; border-color: #2563EB; }
        .bb-inline-bet { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: #EFF6FF; border: 1px solid #BFDBFE; border-radius: 8px; padding: 8px 10px; }
        .bb-inline-bet__name { font-weight: 700; color: #0F172A; }
        .bb-inline-bet__odds, .bb-inline-bet__side { font-size: .8rem; color: #2563EB; font-weight: 700; }
        .bb-inline-bet__input { flex: 1 1 120px; border: 1px solid #E2E8F0; border-radius: 6px; padding: 6px 8px; }
        .bb-inline-bet__return { font-size: .8rem; color: #64748B; }
        .bb-inline-bet__place { background: #2563EB; color: #fff; 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: #64748B; }
        /* Founder checklist 2026-11-11 (follow-up): quick stake chips in
           the inline bet strip — number only, chip sets the stake. */
        .bb-inline-bet__chips { display: flex; flex-wrap: wrap; gap: 6px; flex-basis: 100%; }
        .bb-inline-bet__chip { background: #F1F5F9; color: #0F172A; border: 1px solid #E2E8F0; border-radius: 4px; padding: 2px 10px; font-size: .75rem; font-weight: 700; cursor: pointer; }
        .bb-inline-bet__chip.active { background: #2563EB; color: #fff; border-color: #2563EB; }
        .cricket-ball { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; border-radius: 50%; background: #F1F5F9; border: 1px solid #E2E8F0; font-size: .7rem; font-weight: 700; color: #0F172A; padding: 0 4px; }
        .cricket-ball.four { background: #DBEAFE; border-color: #2563EB; color: #1D4ED8; }
        .cricket-ball.six { background: #DCFCE7; border-color: #16A34A; color: #15803D; }
        .cricket-ball.wicket { background: #FEE2E2; border-color: #DC2626; color: #B91C1C; }
        .cricket-ball.active { outline: 2px solid #2563EB; }
        /* FIX 2026-11-10 (founder review): 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. */
        .dm-market-table .oddBtn.odd-back { background: #BFDBFE !important; border-color: #93C5FD !important; color: #0F172A !important; }
        .dm-market-table .oddBtn.odd-lay { background: #FECACA !important; border-color: #FCA5A5 !important; color: #0F172A !important; }
        /* Founder checklist 2026-11-11 (item 5): a clicked BACK/LAY cell
           must show a CLEAR selected/hover colour. No .oddBtn.active or
           :hover rule existed, so a selection was invisible until reload.
           Selected = deep blue (back) / deep red (lay), white text.
           The html[data-theme] qualifier is load-bearing: shared CSS has
           `html[data-theme="light"] .oddBtn:hover:not(:disabled)` (0,4,1)
           and `.oddBtn.active` rules that beat a bare .dm-market-table
           selector — without it the shared pale-blue hover (#EFF6FF)
           wins while the mouse is still over the clicked cell. */
        html[data-theme="light"] .dm-market-table .oddBtn.odd-back:hover,
        html:not([data-theme="dark"]) .dm-market-table .oddBtn.odd-back:hover { background: #93C5FD !important; border-color: #60A5FA !important; }
        html[data-theme="light"] .dm-market-table .oddBtn.odd-lay:hover,
        html:not([data-theme="dark"]) .dm-market-table .oddBtn.odd-lay:hover { background: #FCA5A5 !important; border-color: #F87171 !important; }
        html[data-theme="light"] .dm-market-table .oddBtn.odd-back.active,
        html:not([data-theme="dark"]) .dm-market-table .oddBtn.odd-back.active,
        html[data-theme="light"] .dm-market-table .oddBtn.odd-back.active:hover,
        html:not([data-theme="dark"]) .dm-market-table .oddBtn.odd-back.active:hover { background: #2563EB !important; border-color: #1D4ED8 !important; color: #fff !important; }
        html[data-theme="light"] .dm-market-table .oddBtn.odd-lay.active,
        html:not([data-theme="dark"]) .dm-market-table .oddBtn.odd-lay.active,
        html[data-theme="light"] .dm-market-table .oddBtn.odd-lay.active:hover,
        html:not([data-theme="dark"]) .dm-market-table .oddBtn.odd-lay.active:hover { background: #DC2626 !important; border-color: #B91C1C !important; color: #fff !important; }
        .dm-market-table .oddBtn.active .odd-val,
        .dm-market-table .oddBtn.active .odd-vol { color: #fff !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; }
        .dm-oneclick-bar .form-check-label { white-space: nowrap; }
        .one-click-stakes { overflow-x: auto; flex-wrap: nowrap !important; scrollbar-width: none; min-width: 0; }
        .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) {
            /* Event refinement 2026-11-11: MAX stays visible at 390px (the
               reference shows it on phones) — the old hide rule is gone. */
            /* Fidelity #20: the market-tab row scrolls but gave no hint that
               more tabs sit off-screen ("Bookmaker" was cut at the edge).
               Fade the right edge on phones so the scroll is discoverable. */
            .market-filter-tabs {
                -webkit-mask-image: linear-gradient(to right, #000 85%, transparent 100%);
                mask-image: linear-gradient(to right, #000 85%, transparent 100%);
            }
            .dm-team-name { font-size: .95rem; }
            .dm-ball-running { padding-right: 76px !important; }
            .dm-open-bets table { font-size: .72rem !important; }
            .dm-open-bets th, .dm-open-bets td { padding: 6px 3px !important; }
            .dm-market-table .oddBtn { padding: 6px 2px; }
            .dm-market-table .oddBtn .odd-val { font-size: .85rem; }
            /* Founder checklist 2026-11-11 (item 6): with 6 stake chips the
               stakes row no longer fits on one line at 390px — the 10,000
               chip was cut at the right edge (scrollable row, hidden
               scrollbar). Let the chips wrap onto a second line on phones
               so all six are fully visible with no scrolling. */
            .one-click-stakes { flex-wrap: wrap !important; overflow-x: visible !important; }
        }
        /* Event view (reference): balance bar, title bar, MARKET/TV/BETS tabs,
           suspended merged cell. One structure for every sport and casino game. */
        .dm-ev-balance { background: #4B5563; color: #fff; font-size: .8rem; font-weight: 700; display: flex; justify-content: space-between; gap: 8px; padding: 7px 12px; }
        .dm-ev-balance span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .dm-ev-title { display: flex; align-items: center; gap: 4px; background: #fff; border: 1px solid #E2E8F0; border-top: 0; padding: 7px 10px; }
        .dm-ev-title__burger { background: none; border: 0; font-size: 1.25rem; line-height: 1; color: #0F172A; padding: 2px 6px; cursor: pointer; }
        .dm-ev-title__name { flex: 1; text-align: center; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #0F172A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .dm-ev-title__spacer { width: 30px; flex-shrink: 0; }
        .dm-ev-tabs { display: flex; background: #fff; border: 1px solid #E2E8F0; border-top: 0; }
        .dm-ev-tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 6px; background: #fff; border: 0; border-right: 1px solid #E2E8F0; color: #64748B; font-size: .72rem; font-weight: 800; letter-spacing: .05em; cursor: pointer; }
        .dm-ev-tab:last-child { border-right: 0; }
        .dm-ev-tab i { font-size: 1.3rem; line-height: 1; }
        .dm-ev-tab.active { color: #2563EB; box-shadow: inset 0 -3px 0 #2563EB; }
        .dm-market-table td.dm-suspended-cell { background: rgba(31, 41, 55, 0.92) !important; vertical-align: middle; text-align: center; }
        /* Specificity race (found 2026-11-11 exact-match pass): the
           suspended-ROW rule above (`.dm-market-table tr.dm-row-suspended td`,
           0,2,2) beats this cell rule (0,2,1), so the merged cell painted
           light grey #E5E7EB instead of the dark overlay — the red
           SUSPENDED text rendered, the dark panel did not. This qualified
           rule (0,3,2) wins over the row rule; the unqualified rule stays
           as fallback for cells outside a suspended row. */
        .dm-market-table tr.dm-row-suspended td.dm-suspended-cell { background: rgba(31, 41, 55, 0.92) !important; vertical-align: middle; text-align: center; }
        .dm-suspended-faint { display: block; color: #9CA3AF; font-size: .72rem; font-weight: 600; }
        .dm-suspended-text { display: block; color: #DC2626; font-weight: 800; font-size: .95rem; letter-spacing: .05em; }
        .dm-market-table .oddBtn .odd-vol { display: block; font-size: .68rem; color: #475569; }
        @media (max-width: 575.98px) {
            .dm-ev-balance { font-size: .72rem; padding: 6px 8px; }
            .dm-ev-tab { font-size: .65rem; }
        }
        /* Event refinement 2026-11-11 (reference): section bars, CASH OUT
           pill, "No match" empty sections, flat FANCY table. */
        .dm-section-bar { background: #374151; color: #fff; 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; }
        .dm-section-bar:first-child { margin-top: 0; }
        /* Red alert lines (announcements, 2026-11-11): a section bar
           directly under a line loses its 14px top margin, so the line
           sits immediately above the bar exactly as in the reference. */
        .bb-announcement-line + .dm-section-bar { margin-top: 0; }
        .dm-section-bar:has(+ .dm-fancy-table-wrap) { border-radius: 6px 6px 0 0; }
        .dm-cashout-pill { background: #FACC15; color: #111111; font-weight: 800; font-size: .72rem; letter-spacing: .04em; border: 0; border-radius: 4px; padding: 4px 10px; cursor: pointer; white-space: nowrap; }
        .dm-cashout-pill__val { font-weight: 800; margin-left: 4px; }
        .dm-section-empty { background: #fff; color: #6B7280; font-size: .85rem; text-align: center; padding: 10px 12px; }
        .dm-fancy-filters { background: #374151; border-radius: 0 0 6px 6px; overflow: hidden; }
        .dm-fancy-filter { flex: 1; background: #374151; color: #fff; border: 0; border-right: 1px solid #4B5563; padding: 9px 4px; font-size: .8rem; font-weight: 800; letter-spacing: .04em; cursor: pointer; white-space: nowrap; }
        .dm-fancy-filter:last-child { border-right: 0; }
        .dm-fancy-filter.active { background: #16A34A; }
        /* Doubled class beats shared custom.css `.table thead th` (same
           !important, equal specificity — the shared sheet loads after
           this pushed style, so a plain selector loses on order). */
        .dm-market-table.dm-fancy-table thead th { background: #374151 !important; color: #fff !important; border-color: #4B5563 !important; font-size: .8rem; font-weight: 800; letter-spacing: .05em; }
        .dm-fancy-table col.col-fancy-name { width: 56%; }
        .dm-fancy-table col.col-fancy-side { width: 22%; }
        /* Flat-fancy title: icons stay on one row (star, name, B, gear,
           ladder, (i) — the reference's order); the name takes the
           remaining space and wraps internally instead of orphaning an
           icon onto a second line. */
        .dm-fancy-table .fancy-cell__title { flex-wrap: nowrap; }
        .dm-fancy-table .fancy-cell__title .runner-name { flex: 1 1 auto; min-width: 0; }
        .dm-fancy-table .fancy-cell__title .dm-mkt-star,
        .dm-fancy-table .fancy-cell__title .dm-mkt-b,
        .dm-fancy-table .fancy-cell__title .dm-mkt-gear,
        .dm-fancy-table .fancy-cell__title .dm-mkt-ladder,
        .dm-fancy-table .fancy-cell__title .dm-mkt-info { flex-shrink: 0; }
        .dm-market-table.dm-fancy-table td.cell-back { background: #BFDBFE !important; }
        .dm-market-table.dm-fancy-table td.cell-lay { background: #FECACA !important; }
        .dm-mkt-b { background: #000; color: #fff; font-weight: 800; font-size: .68rem; line-height: 1; padding: 3px 6px; border-radius: 3px; }
        .dm-mkt-gear { color: #D1D5DB; font-size: .95rem; line-height: 1; }
        .dm-mkt-ladder { color: #FBBF24; font-size: .95rem; line-height: 1; }
        .dm-mkt-info { color: #9CA3AF; font-size: .95rem; line-height: 1; }
        button.dm-mkt-ladder { background: none; border: 0; padding: 0; cursor: pointer; }
        button.dm-mkt-ladder:hover { color: #FDE047; }
        .dm-fancy-empty { background: #fff; border: 1px solid #E5E7EB; border-top: 0; border-radius: 0 0 6px 6px; }
        /* BALL RUNNING (reference): dark red/black semi-transparent panel
           across both NO/YES cells, faint figures beneath, BALL RUNNING in
           bold red capitals. Renders only when the market/outcome is locked
           in the data — never faked on live markets. */
        .dm-market-table td.dm-ballrunning-cell { background: linear-gradient(rgba(69, 10, 10, 0.92), rgba(20, 0, 0, 0.95)) !important; vertical-align: middle; text-align: center; }
        /* Same specificity race as the suspended cell: the suspended-row
           rule (0,2,2) beat this cell rule (0,2,1), so the BALL RUNNING
           panel painted light grey and its faint figures were unreadable.
           Qualified rule (0,3,2) restores the dark red/black panel. */
        .dm-market-table tr.dm-row-suspended td.dm-ballrunning-cell { background: linear-gradient(rgba(69, 10, 10, 0.92), rgba(20, 0, 0, 0.95)) !important; vertical-align: middle; text-align: center; }
        .dm-ballrunning-faint { display: block; color: rgba(255, 255, 255, 0.45); font-size: .72rem; font-weight: 600; }
        .dm-ballrunning-text { display: block; color: #FF072F; font-weight: 800; font-size: .95rem; letter-spacing: .05em; }
        @media (max-width: 575.98px) {
            .dm-position-line { font-size: .85rem; }
            .dm-cashout-pill { font-size: .65rem; padding: 3px 7px; }
            /* Long fixture titles ("GUJARAT TITANS V RAJASTHAN ROYALS")
               truncated at 390px — shrink so the full title fits. */
            .dm-ev-title__name { font-size: .82rem; letter-spacing: .03em; }
        }
/* --- drawer heading guard (theme separation 2026-11-11) ---
   The shared main.css `h1..h6 { margin: 1.5rem 0 1rem }` rule puts a 24px
   top margin on every heading, including the nav drawer's h6 title and
   h2 accordion headers. Measured 0px live before this change (Bootstrap's
   own rules already win there), but this Diamond-owned guard makes the
   drawer immune to load-order changes. Shared main.css untouched. */
.sports-drawer-offcanvas h2,
.sports-drawer-offcanvas h6 { margin-top: 0 !important; }

/* --- consolidated small @push('style') blocks (auth/user partials) --- */
/* --- from login partial (partials/login.blade.php) --- */
.form-check-input {
            margin-top: 0px;
        }
/* --- from register partial (partials/register.blade.php) --- */
.form-group {
            margin: 8px 0;
        }
/* --- from social-login partial (partials/social_login.blade.php) --- */
.social-login-btn{
        border: 1px solid #cbc4c4;
    }
    .social-login-btn:hover{
        border: 1px solid hsl(var(--base));
    }
/* --- from register view (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;
        }
/* --- from transactions view (user/transactions.blade.php) --- */
.select2-container {
            width: 100% !important;
        }

/* FAB column (phones): the bet-slip pill sits at 140px so it clears the
   cookie consent bar (bottom 84px, ~46px tall). While that bar is up the
   chatbot FAB lifts to 242px; back-to-top stays at 190px. */
@media (max-width: 767.98px) {
    .bb-betslip-fab { bottom: 140px !important; left: 14px !important; right: auto !important; }
    .bb-chatbot-container { bottom: 132px !important; right: 12px !important; }
    .back-to-top { right: 14px !important; bottom: 190px !important; }
    body:has(.cookies-card:not(.d-none):not(.hide)) .bb-chatbot-container { bottom: 242px !important; }
}

/* =====================================================================
   Diamond event-page fixes 2026-11-12
   Diamond-owned overrides only. Shared stylesheets untouched.
   ===================================================================== */

/* 1) COOKIE BANNER — in-flow, never overlapping content.
   The inline <style> in diamond/layouts/app.blade.php uses
   `.cookies-card.cookies-card:not(.hide)`; `body ...` here wins. */
body .cookies-card.cookies-card:not(.hide) {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    top: auto !important;
    width: auto !important;
    max-width: none !important;
    margin: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 40px 10px 14px !important;
    box-sizing: border-box;
}
body .cookies-card.hide { display: none !important; }
body .cookies-card.cookies-card .cookies-card__content {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
body .cookies-card.cookies-card .cookies-card__btn {
    flex: 0 0 auto !important;
    margin: 0 !important;
}
body .cookies-card.cookies-card .cookies-card__btn .btn,
body .cookies-card.cookies-card .cookies-card__btn .policy {
    width: auto !important;
    min-height: 0 !important;
    padding: 6px 14px !important;
    white-space: nowrap !important;
}
body .cookies-card.cookies-card .cookies-card__close {
    position: absolute !important;
    top: 50% !important;
    right: 6px !important;
    transform: translateY(-50%) !important;
}
body .cookies-card.cookies-card .cookies-card__icon { display: none !important; }

/* 2) BET-SLIP FAB — tablet left-edge rule (phones handled in the
   end-of-file FAB block above). Odds sit on the right half of the table,
   so a left-edge pill can never cover an odds cell. */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .bb-betslip-fab { left: 18px !important; right: auto !important; }
}

/* 3) BALL RUNNING OVERLAY (fancy rows) — dark translucent so the disabled
   NO/YES numbers stay faintly visible; covers both cells without layout
   shift. Old .dm-ballrunning-cell rules left untouched. */
.dm-fancy-table td.fancy-side-cell { position: relative; }
.dm-ballrunning-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 200%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 0, 0, 0.78);
    color: #FF072F;
    font-weight: 800;
    font-size: .95rem;
    letter-spacing: .05em;
    text-align: center;
}

/* 4) FANCY NON-NUMERIC LINES — outcome name above the big rate. */
.dm-market-table .oddBtn .odd-name {
    display: block;
    font-size: .68rem;
    color: #64748B;
    font-weight: 600;
    line-height: 1.25;
}
.dm-market-table .oddBtn.active .odd-name { color: #fff !important; }
.dm-fancy-table .fancy-cell__title .runner-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 5) FANCY HEADER FANCY/MARKET */
.dm-fancy-head__name { display: flex; align-items: center; gap: 8px; }
.dm-fancy-head__market { flex: 1; text-align: center; }

/* 6) SCOREBOARD PLACEHOLDER */
.dm-score-placeholder {
    display: block;
    color: #E5E7EB;
    font-size: .82rem;
    font-weight: 600;
    margin-top: 6px;
}

/* 7) HEADER — Demo button + 390px fit.
   Goal: burger + logo + theme toggle + Demo + LOGIN + SIGN UP all fit
   inside 390px with the logo fully visible and nothing overlapping. */
.dm-demo-form { display: inline-flex; margin: 0; }
.dm-btn-demo { cursor: pointer; font-family: inherit; }
@media (max-width: 575.98px) {
    .dm-header { gap: 6px; padding: 8px 8px; }
    .dm-header__left { gap: 4px; }
    .dm-header__right { gap: 6px; }
    .dm-header__logo-img { max-height: 30px; }
    .dm-header__burger { padding: 2px; font-size: 1.3rem; }
    .btn-theme-toggle { width: 30px !important; height: 30px !important; }
    .dm-btn-login, .dm-btn-signup { font-size: .72rem; padding: 7px 10px; }
}

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

/* ==========================================================================
   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(--dm-blue, #2563EB), 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(--dm-blue, #2563EB);
    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(--dm-blue, #2563EB) !important;
    border-color: var(--dm-blue, #2563EB) !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.dm-suspended-cell { background: #7F1D1D !important; }
#marketsContainer .dm-suspended-text { color: #FF6B6B !important; font-size: 1.05rem !important; letter-spacing: .08em !important; }
#marketsContainer .dm-suspended-faint { color: #FECACA !important; font-size: .75rem !important; }
#marketsContainer .dm-ballrunning-overlay { background: #7F1D1D !important; color: #FF6B6B !important; font-size: 1.05rem !important; letter-spacing: .08em !important; }
#marketsContainer .dm-ballrunning-overlay span { color: #FF6B6B !important; }
#marketsContainer .dm-ballrunning-overlay .dm-suspended-text { color: #FF6B6B !important; }
#marketsContainer .dm-mkt-max { color: #FFFFFF !important; 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; }
}
.dm-obm-band { flex: 0 1 200px; background: #7F1D1D; border-radius: 4px; padding: 6px 8px; text-align: center; }
.dm-obm-band__faint { display: block; color: #FECACA; font-size: .72rem; font-weight: 600; }
.dm-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). */
.dm-bottom-nav__icon-wrap, .dm-event-nav__icon-wrap { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.dm-bottom-nav__count, .dm-event-nav__count {
    position: absolute;
    top: -6px;
    right: -14px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--dm-blue);
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 17px;
    text-align: center;
}
.dm-bottom-nav__count:empty, .dm-event-nav__count:empty { display: none; }

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

/* BUG 4 — Ticker flex fix (proven on Jack's event page, jack/markets
   2026-11-16): the viewport is a w-100 div inside a flex row that also
   holds the LIVE UPDATE badge, so badge width + 100% overflowed and the
   text was cut at the right edge. flex:1 + min-width:0 takes only the
   width LEFT after the badge; the right-edge fade mask makes the marquee
   cut-off look intentional. Duration already 36s (dm-ticker, 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 (founder screenshot:
   BACK 6.50 white on light-blue #B2E7FF). Root cause: shared custom.css
   dark-mode rule `html[data-theme="dark"] .oddBtn .odd-val { color:
   #FFFFFF !important; }` forces the number white, while Diamond's own
   market-table rules force LIGHT fills (#BFDBFE / #FECACA) 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 blue/red bg + white text, diamond.css ~1148-1160). */
.dm-market-table .oddBtn.odd-back:not(.active) .odd-val,
.dm-market-table .oddBtn.odd-lay:not(.active) .odd-val,
.dm-market-table .oddBtn.btn-back:not(.active) .odd-val,
.dm-market-table .oddBtn.btn-lay:not(.active) .odd-val { color: #0F172A !important; }
