/* ==========================================================================
   BB-Bet — Radhe theme (bright teal, white page)
   Mobile-first: base = phone, min-width queries scale up.
   Palette: blue #0F7F97 / #074E65, 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 {
    --rd-teal: #0F7F97;
    --rd-teal-dark: #074E65;
    --rd-navy: #0F172A;
    --rd-bg: #FFFFFF;
    --rd-border: #E2E8F0;
    --rd-muted: #64748B;
    --rd-back: #72BBEF;
    --rd-back-pale: #D7E8F4;
    --rd-lay: #FAA9BA;
    --rd-lay-pale: #EFD3D9;
    --rd-empty: #E5E7EB;
    --rd-radius: 14px;
    --rd-cyan: #28A8C7;
    --rd-tv: #3899AC;
    --rd-marquee: #1498B0;
    --rd-susp: #467494;
    --rd-cashout: #959595;
    --rd-panel: #ECECED;
}

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

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

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

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

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

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

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

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

.rd-header__logo-text span { color: var(--rd-teal); }

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

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

.rd-header__nav-link:hover,
.rd-header__nav-link.active {
    color: var(--rd-teal);
    background: #EAF6F9;
}

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

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

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

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

.rd-btn-login:hover { color: var(--rd-teal); border-color: var(--rd-teal); }

.rd-btn-signup {
    color: #fff;
    background: var(--rd-teal);
    border: 1.5px solid var(--rd-teal);
    box-shadow: 0 2px 8px rgba(15, 127, 151, 0.35);
}

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

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

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

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

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

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

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

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

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

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

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

.rd-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(--rd-border);
    color: var(--rd-navy);
    font-size: 0.72rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

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

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

.rd-rail__item:hover { color: var(--rd-teal); }

.rd-rail__item.active {
    background: var(--rd-teal);
    color: #fff;
}

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

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

.rd-tile-card__img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #074E65;
}

.rd-tile-card__img--all {
    background: linear-gradient(135deg, #0F7F97, #074E65);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.rd-match-row .oddBtn.btn-back,
.rd-match-row .btn-back,
.rd-odds-box.rd-back {
    background: var(--rd-back);
    border-color: #5FA8D3;
    color: var(--rd-navy);
}

.rd-match-row .oddBtn.btn-back:hover {
    background: #5FA8D3;
}

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

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

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

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

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

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

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

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

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

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

.rd-bottom-nav__item:hover { color: var(--rd-teal); }

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

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

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

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

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

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

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

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

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

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

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

    .rd-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 rd-bottom-nav. */
.rd-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);
}

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

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

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

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

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

@media (min-width: 1024px) {
    .rd-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 (rd-match-list gap). */
@media (max-width: 575.98px) {
    .rd-match__league { display: none; }
    a.rd-match__head { grid-template-columns: 26px 1fr 1fr; padding: 9px 12px; }
    .rd-match__body { padding: 8px 10px; gap: 6px; }
    .rd-odds { gap: 4px; }
    .rd-odd { min-height: 44px; font-size: .85rem; }
    .rd-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. */
.rd-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;
}
.rd-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. */
.rd-catbar { display: flex; align-items: center; gap: 6px; margin: 2px 0 12px; }
.rd-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;
}
.rd-catbar__scroll::-webkit-scrollbar { display: none; }
.rd-cat-chip {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
    background: #fff; border: 1px solid var(--rd-border); border-radius: 999px;
    padding: 7px 13px; font-weight: 700; font-size: .83rem; color: var(--rd-navy);
    cursor: pointer; white-space: nowrap; scroll-snap-align: start;
}
.rd-cat-chip__icon { color: var(--rd-teal); font-size: 1.05rem; display: inline-flex; line-height: 1; }
.rd-cat-chip:hover { border-color: var(--rd-teal); }
.rd-cat-chip.is-active { background: var(--rd-teal); border-color: var(--rd-teal); color: #fff; }
.rd-cat-chip.is-active .rd-cat-chip__icon { color: #fff; }
.rd-catbar__arrow {
    flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid var(--rd-border); background: #fff; color: var(--rd-teal);
    font-size: 1rem; line-height: 1; cursor: pointer; display: none;
    align-items: center; justify-content: center;
}
.rd-catbar__arrow:disabled { opacity: .35; cursor: default; }
.rd-catbar-empty { background: #fff; border: 1px solid var(--rd-border); border-radius: 12px; text-align: center; padding: 28px 20px; color: #64748B; margin-bottom: 12px; }
.rd-catbar-empty i { font-size: 2rem; opacity: .5; display: block; margin-bottom: 6px; }
.rd-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) {
    .rd-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;
    }
}

/* ==========================================================================
   RADHE additions (Theme 5) — everything below is new in Radhe.
   ========================================================================== */

/* Page surface: bright white page; room for the fixed bottom nav (mobile)
   PLUS the fixed bottom marquee (30px) underneath it. */
body.bb-page-surface { padding-bottom: 96px; }
@media (min-width: 1024px) {
    body.bb-page-surface { padding-bottom: 30px; }
}

/* ------------------------------------------------------------------ header */
/* Dark teal gradient header (reference): white logo / icons / buttons. */
.rd-header-wrap {
    background: linear-gradient(90deg, #074E65 0%, #0F7F97 100%);
    border-bottom: 1px solid #074E65;
}
.rd-header { background: transparent; }
.rd-header__burger { color: #fff; }
.rd-header__logo-text { color: #fff; }
.rd-header .btn-theme-toggle { color: #fff; }
.rd-header .user-wallet-btn,
.rd-header .user-profile-btn { color: #fff; }
.rd-header .user-wallet-btn .text-muted { color: rgba(255, 255, 255, 0.75) !important; }
.rd-header__balance {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}
.rd-btn-login {
    color: #fff;
    background: transparent;
    border: 1.5px solid #fff;
}
.rd-btn-login:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, 0.12); }
.rd-btn-signup {
    color: #074E65;
    background: #fff;
    border: 1.5px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.rd-btn-signup:hover { background: #EAF6F9; color: #074E65; }

/* Red "Demo Account" pill (reference top bar): shown only when the
   signed-in user is on the demo wallet. */
.rd-demo-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #DC2626;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}
.rd-demo-pill i { font-size: 0.85rem; }

/* ------------------------------------------------------- top nav (reference) */
/* Dark teal horizontal nav under the header: Home, In-Play, sports,
   casino, Blogs. Scrolls horizontally on phones; full bar on desktop.
   Items link only to real routes (see header partial): the reference's
   RV Games / Chicken Road / Ezugi / Evolution have no destination in
   this build, so they are omitted rather than linked to a dead page. */
.rd-topnav {
    background: linear-gradient(90deg, #074E65 0%, #0F7F97 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.rd-topnav__scroll {
    display: flex;
    align-items: stretch;
    gap: 2px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 8px;
    overflow-x: auto;
    scrollbar-width: none;
}
.rd-topnav__scroll::-webkit-scrollbar { display: none; }
.rd-topnav__link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    padding: 9px 11px;
    border-bottom: 3px solid transparent;
}
.rd-topnav__link i { font-size: 1rem; line-height: 1; }
.rd-topnav__link:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.rd-topnav__link.active {
    color: #fff;
    border-bottom-color: #fff;
    background: rgba(255, 255, 255, 0.10);
}
.rd-topnav__link .pulse-dot { background: #22C55E; }

/* Announcement strip: pale teal tint (same site announcement string). */
.announcement-strip {
    background: #EAF6F9;
    border-bottom: 1px solid #BFE3EC;
}

/* ------------------------------------------------------------- marquee */
/* Fixed bottom scrolling marquee (reference) — white on teal #1498B0.
   It REPLACES the conventional footer in Radhe (the bet layout omits
   footer_top/footer_bottom). Content is the site's own announcement
   string, repeated for a seamless loop — never the reference's copy. */
.rd-marquee {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1045;
    height: 30px;
    background: #1498B0;
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.rd-marquee__track {
    display: flex;
    flex-shrink: 0;
    min-width: 100%;
    white-space: nowrap;
    animation: rd-marquee-scroll 28s linear infinite;
}
.rd-marquee:hover .rd-marquee__track { animation-play-state: paused; }
.rd-marquee__track span {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    padding-right: 48px;
}
@keyframes rd-marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Bottom navs sit ABOVE the marquee on mobile (30px), not under it. */
.rd-bottom-nav,
.rd-event-nav { bottom: 30px; }

/* Cookie banner + floating buttons lift above nav + marquee. */
.cookies-card { bottom: 100px !important; }
@media (max-width: 767.98px) {
    .bb-chatbot-container { bottom: 100px !important; }
    body:has(.cookies-card:not(.d-none):not(.hide)) .bb-chatbot-container {
        bottom: 250px !important;
    }
}
@media (max-width: 575.98px) {
    .bb-betslip-fab { bottom: 140px !important; }
}

/* ---------------------------------------------------------- feature cards */
/* Home feature cards (reference): CSS-gradient cards, no photos — the
   reference used photo banners; Radhe builds them from gradients + icons. */
.rd-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 12px 0 4px;
}
.rd-feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 2px;
    min-height: 108px;
    border-radius: 14px;
    overflow: hidden;
    padding: 14px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(7, 78, 101, 0.22);
}
.rd-feature-card:hover { color: #fff; text-decoration: none; }
.rd-feature-card--cricket { background: linear-gradient(135deg, #074E65 0%, #0F7F97 55%, #28A8C7 100%); }
.rd-feature-card--slots { background: linear-gradient(135deg, #0F766E 0%, #1498B0 60%, #28A8C7 100%); }
.rd-feature-card--tennis { background: linear-gradient(135deg, #155E75 0%, #0E7490 55%, #3899AC 100%); }
.rd-feature-card__icon { font-size: 1.9rem; line-height: 1; opacity: 0.95; }
.rd-feature-card__name {
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.rd-feature-card__sub { font-size: 0.78rem; font-weight: 600; opacity: 0.9; }
.rd-feature-card__go {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 3px 9px;
}
@media (max-width: 575.98px) {
    .rd-feature-card { min-height: 92px; padding: 10px; }
    .rd-feature-card__icon { font-size: 1.5rem; }
    .rd-feature-card__name { font-size: 0.85rem; }
    .rd-feature-card__sub { display: none; }
}

/* ------------------------------------------------------------- login modal */
/* Centred login modal (reference): the Demo ID button is the prominent
   teal action — it posts to the app's real one-click demo login. */
.rd-login-modal .modal-content { border-radius: 16px; overflow: hidden; }
.rd-demo-id-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(90deg, #074E65 0%, #0F7F97 100%);
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(7, 78, 101, 0.35);
}
.rd-demo-id-btn:hover { color: #fff; filter: brightness(1.08); }
.rd-demo-id-btn i { font-size: 1.25rem; }
.rd-login-modal .btn--base { background: #0F7F97; border-color: #0F7F97; }

/* ------------------------------------------------------- category rail (left) */
/* The Basic category rail is Radhe's left sidebar. Teal active states. */
.rd-rail-teal .sports-category__link.active,
html body .sports-category__list .sports-category__link.active {
    background: #EAF6F9 !important;
}
html body .sports-category__list .sports-category__link.active i,
html body .sports-category__list .sports-category__link.active .sports-category__text {
    color: #0F7F97 !important;
}

/* ------------------------------------------- event page: 3-column shell */
/* Desktop event layout (reference): left sidebar (the Basic category rail,
   widened to ~280px on event pages) + fluid centre + 300px right column
   (TV panel + Matched Bets + P&L). Below 1200px the MARKET / TV / BETS
   tabs work exactly as in Diamond; at >=1200px all three panes show at
   once and the tabs row hides. */
@media (min-width: 1200px) {
    body:has(.rd-ev-shell) .home-page > .sports-body {
        max-width: 1440px;
    }
    .rd-ev-panes {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 16px;
        align-items: start;
    }
    .rd-ev-panes .ev-pane--market { grid-column: 1; grid-row: 1; min-width: 0; }
    /* Right rail: TV + BETS stacked in one grid item so both sit at the
       top of the right column. (Previously the market pane spanned two
       rows, which pushed the BETS pane ~1150px down the page.) */
    .rd-ev-panes .rd-ev-rail {
        grid-column: 2; grid-row: 1; min-width: 0;
        display: flex; flex-direction: column; gap: 16px;
    }
    /* The tab JS toggles .d-none; on desktop the panes stay visible. */
    .rd-ev-panes .ev-pane--tv.d-none,
    .rd-ev-panes .ev-pane--bets.d-none { display: block !important; }
    .rd-ev-tabs { display: none !important; }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .rd-ev-panes { grid-template-columns: minmax(0, 1fr) 280px; }
}
@media (min-width: 1600px) {
    /* Widen the left rail only where there is room: at 1280px a 280px
       rail would squeeze the market column below ~350px. */
    body:has(.rd-ev-shell) .home-page .sports-category,
    body:has(.rd-ev-shell) .sports-category {
        width: 280px !important;
        min-width: 280px !important;
    }
}
/* Below 1200px the rail wrapper disappears from layout so the MARKET /
   TV / BETS tabs toggle the panes exactly as in Diamond. */
.rd-ev-rail { display: contents; }
/* Market accordion header: on the ~410px market column the title +
   Matched/Min/Max pills cannot share one line — let the pills wrap onto
   their own row instead of crushing the title into 3-4 lines. */
.rd-ev-panes .rd-mkt-bar { flex-wrap: wrap; row-gap: 4px; }
.rd-ev-panes .rd-mkt-bar > span:last-child { flex: 1 1 100%; justify-content: flex-end; }
/* Later override: the sub-header (star + title + B badge + gear + ladder +
   chevron) must fit on ONE line even at 390px. The title ellipsises. */
.rd-ev-panes .rd-mkt-bar { flex-wrap: nowrap; }
.rd-ev-panes .rd-mkt-bar > span:last-child { flex: 0 0 auto; }
.rd-mkt-bar > div.d-flex { min-width: 0; flex: 1 1 auto; }
.rd-mkt-bar .rd-mkt-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.rd-mkt-bar .rd-mkt-b,
.rd-mkt-bar .rd-mkt-gear,
.rd-mkt-bar .rd-mkt-ladder { flex: 0 0 auto; }
@media (max-width: 575.98px) {
    .rd-mkt-bar .rd-mkt-title { font-size: .82rem; }
}

/* TV panel header (right column, desktop): teal panel #3899AC. */
.rd-tv-head {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #3899AC;
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 9px 12px;
    border-radius: 10px 10px 0 0;
}
.rd-tv-head i { font-size: 1.15rem; }
.rd-tv-head .rd-tv-head__live {
    margin-left: auto;
    background: #DC2626;
    border-radius: 999px;
    font-size: 0.65rem;
    padding: 2px 8px;
}
.rd-tv-pane .rd-details-box { border-radius: 0 0 10px 10px; border-top: 0; }

/* Position / P&L box (right column): per-runner net P&L from the real
   open bets ($userExposureByOutcome — potential win minus market stake,
   per outcome, only where the user has pending bets on this fixture). */
.rd-position {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
}
.rd-position__head {
    background: #0F7F97;
    color: #fff;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 9px 12px;
}
.rd-position__body { padding: 6px 12px 10px; }
.rd-position__row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 0;
    border-bottom: 1px solid #F1F5F9;
    font-size: 0.85rem;
}
.rd-position__row:last-child { border-bottom: 0; }
.rd-position__name { font-weight: 600; color: #0F172A; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-position__val { font-weight: 800; white-space: nowrap; }
.rd-position__val--pos { color: #16A34A; }
.rd-position__val--neg { color: #DC2626; }
.rd-position__empty { color: #64748B; font-size: 0.85rem; padding: 8px 0 4px; margin: 0; }

/* Market header pills: Matched / Min / Max (no such fields exist in the
   data, so all three honestly show —). */
.rd-mkt-pills { display: inline-flex; gap: 6px; align-items: center; }
.rd-mkt-pill {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 2px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

/* Blanked lay cells (lay honesty): when the feed carries no real lay
   price, the refresh loop blanks the lay button to "–" and greys it.
   These rules must beat the pink lay rules on equal specificity — they
   sit later in this file, so they win the tie. The same grey covers the
   server-rendered disabled "–" lay buttons on the markets page. */
html[data-theme="light"] .rd-match .rd-odd--empty,
html[data-theme="dark"] .rd-match .rd-odd--empty {
    background: #E5E7EB !important;
    border-color: #D1D5DB !important;
    color: #9CA3AF !important;
}
.rd-market-table .rd-odd--empty,
.rd-market-table .oddBtn.rd-odd--empty {
    background: #E5E7EB !important;
    border-color: #D1D5DB !important;
    color: #9CA3AF !important;
    border-radius: 6px;
    padding: 8px 4px;
}

/* Back / Lay depth colours (reference): best Back #72BBEF, palest
   #D7E8F4; best Lay #FAA9BA, palest #EFD3D9. Single-price cells use the
   best colour; the row tint uses the palest. */
.rd-market-table td.cell-back { background: #D7E8F4 !important; }
.rd-market-table td.cell-lay { background: #EFD3D9 !important; }

/* Scoreboard: teal accents on the white card. */
.rd-scoreboard .rd-badge-cat { background: #0F7F97; }
.rd-scoreboard .rd-strip-team { color: #074E65; }
/* CRR / RRR pair under each team name (reference scoreboard layout). */
.rd-score-rates { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.rd-score-rates--end { justify-content: flex-end; }

/* ================================================================
   Radhe fidelity fixes (2026-11-11, radhe-diff.md)
   All overrides live in this Radhe-owned file (loads last, after
   bb-premium.css / custom.css). Shared files are never edited: the
   shared `!important` rules are beaten on SPECIFICITY, not order.
   ================================================================ */

/* #4 page background: white #ffffff (spec). The #F8FAFC came from the
   shared `--home-canvas` on `.home-page .sports-body`. */
html[data-theme] body.bb-page-surface { background: #FFFFFF !important; }
html[data-theme] .home-page .sports-body { background: #FFFFFF !important; }

/* #3a home section headers: white card + teal left border (spec).
   Shared `.home-page .exchange-category-header` is (0,2,0) !important
   (#0A5FBF); the dark variant is (0,3,1). These are (0,4,1) / (0,5,1)
   and win in both modes. Children need the same treatment: the shared
   rules paint the name white, the count chip white/blue, the link white. */
html[data-theme] .home-page .exchange-category-header.rd-category-head {
    background: #fff !important;
    border: 1px solid var(--rd-border) !important;
    border-left: 4px solid var(--rd-teal) !important;
}
html[data-theme] .home-page .exchange-category-header.rd-category-head .exchange-category-header__name {
    color: #0F172A !important;
}
html[data-theme] .home-page .exchange-category-header.rd-category-head .exchange-category-header__count {
    background: #28A8C7 !important;
    color: #fff !important;
}
html[data-theme] .home-page .exchange-category-header.rd-category-head .exchange-category-header__all,
html[data-theme] .home-page .exchange-category-header.rd-category-head .exchange-category-header__all i {
    color: #0F7F97 !important;
}

/* #3b event market bars: teal #28A8C7 (spec). Shared
   `.home-page .market-accordion .accordion-button[:not(.collapsed)]`
   is (0,3,0)/(0,3,1) !important (#0A5FBF); dark variants (0,4,1)/(0,5,1).
   These are (0,5,1)/(0,6,1) and win in both modes. */
html[data-theme] .home-page .market-accordion .accordion-button.rd-mkt-bar {
    background: #28A8C7 !important;
    color: #fff !important;
    border-color: #28A8C7 !important;
}
html[data-theme] .home-page .market-accordion .accordion-button.rd-mkt-bar:not(.collapsed) {
    background: #28A8C7 !important;
    color: #fff !important;
    border-color: #28A8C7 !important;
}
/* #3c badges inside the market bar: the shared
   `.accordion-button .badge` rule (0,4,0) !important bleaches every badge
   white/blue — including the red SUSPENDED badge. Restored here with
   (0,7,1). */
html[data-theme] .home-page .market-accordion .accordion-button.rd-mkt-bar .badge.rd-badge-fancy {
    background: #0F7F97 !important;
    color: #fff !important;
}
html[data-theme] .home-page .market-accordion .accordion-button.rd-mkt-bar .badge.rd-badge-h2h {
    background: #074E65 !important;
    color: #fff !important;
}
html[data-theme] .home-page .market-accordion .accordion-button.rd-mkt-bar .badge.rd-badge-bm {
    background: #059669 !important;
    color: #fff !important;
}
html[data-theme] .home-page .market-accordion .accordion-button.rd-mkt-bar .badge.bg-danger {
    background: #DC2626 !important;
    color: #fff !important;
}

/* Jackpot structure: section bars (teal, Radhe's own styling). */
.rd-section-bar {
    background: #28A8C7;
    color: #fff;
    font-weight: 800;
    font-size: .95rem;
    letter-spacing: .03em;
    text-transform: uppercase;
    padding: 9px 12px;
    margin: 14px 0 10px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.rd-section-bar:first-child { margin-top: 0; }
.rd-section-bar:has(+ .rd-fancy-table-wrap) { border-radius: 10px 10px 0 0; margin-bottom: 0; }
.rd-section-bar .rd-mkt-max {
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .04em;
    white-space: nowrap;
}

/* Jackpot structure: fancy filter tabs (dark teal bar, teal active). */
.rd-fancy-filters {
    background: #0F7F97;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
}
.rd-fancy-filter {
    flex: 1;
    background: #0F7F97;
    color: #fff;
    border: 0;
    border-right: 1px solid #12809A;
    padding: 9px 4px;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .04em;
    cursor: pointer;
    white-space: nowrap;
}
.rd-fancy-filter:last-child { border-right: 0; }
.rd-fancy-filter.active { background: #28A8C7; }
.rd-fancy-filter:hover { background: #12809A; }
.rd-fancy-filter.active:hover { background: #28A8C7; }

/* Jackpot structure: flat fancy table. The thead needs the doubled class
   + !important: shared `.table thead th` is (0,1,2) !important and loads
   after the pushed style, so the plain rule loses on order (Jack's fix). */
.rd-market-table.rd-fancy-table thead th {
    background: #0F7F97 !important;
    color: #fff !important;
    border-color: #0B6B80 !important;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .05em;
}
.rd-fancy-table col.col-fancy-name { width: 56%; }
.rd-fancy-table col.col-fancy-side { width: 22%; }
.rd-market-table.rd-fancy-table { table-layout: fixed; }
.rd-fancy-table .fancy-cell__title { display: flex; flex-wrap: nowrap; align-items: center; gap: 4px 8px; }
/* Market name may wrap to at most 2 lines; the icon row never wraps. */
.rd-fancy-table .fancy-cell__title .runner-name {
    min-width: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.rd-fancy-table .fancy-cell__title .rd-mkt-star,
.rd-fancy-table .fancy-cell__title .rd-mkt-ladder { flex: 0 0 auto; }
/* Reference NO/YES fills on the fancy rows: NO pink, YES blue. The shared
   `.table tbody td { background: var(--bb-table-td-bg) !important; }` is
   (0,1,2), so the selector stays at (0,2,2) and the price button inside the
   cell is forced to the same fill. */
.table tbody td.rd-fancy-no { background: rgb(255, 177, 180) !important; }
.table tbody td.rd-fancy-yes { background: rgb(178, 231, 255) !important; }
.table tbody td.rd-fancy-no .oddBtn,
.table tbody td.rd-fancy-no .oddBtn:hover,
.table tbody td.rd-fancy-no .oddBtn.active { background: rgb(255, 177, 180) !important; border-color: rgb(255, 177, 180) !important; color: #7F1D1D !important; text-shadow: none !important; }
.table tbody td.rd-fancy-yes .oddBtn,
.table tbody td.rd-fancy-yes .oddBtn:hover,
.table tbody td.rd-fancy-yes .oddBtn.active { background: rgb(178, 231, 255) !important; border-color: rgb(178, 231, 255) !important; color: #0C4A6E !important; text-shadow: none !important; }
.table tbody td.rd-fancy-no .oddBtn .odd-val,
.table tbody td.rd-fancy-no .oddBtn .odd-vol { color: #7F1D1D !important; }
.table tbody td.rd-fancy-yes .oddBtn .odd-val,
.table tbody td.rd-fancy-yes .oddBtn .odd-vol { color: #0C4A6E !important; }
button.rd-mkt-ladder { background: none; border: 0; padding: 0; cursor: pointer; color: #0F7F97; }
.rd-mkt-info { color: #0F7F97; }
.rd-fancy-empty {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-top: 0;
    border-radius: 0 0 10px 10px;
}

/* #6 filter pills: wrap at <=575px so no pill is cut at the right edge.
   The shared `.market-filter-tabs { flex-wrap: nowrap !important; }`
   (bb-premium.css, (0,1,0) !important) beats a plain rule, so this
   carries !important too — (0,2,0) !important wins. */
@media (max-width: 575.98px) {
    .market-filter-tabs.rd-filter-scroll { flex-wrap: wrap !important; }
}

/* #10 LIVE UPDATE strip: Radhe teal theme + scrolling (fixes the
   truncated static line). Pale teal #D9EFF5 / dark teal text matches
   Radhe's own action-banner; the shared pale-blue rule is (0,2,1)
   !important and radhe.css loads after custom.css, so equal
   specificity wins on order here. */
html[data-theme] .announcement-strip {
    background: #D9EFF5 !important;
    border-color: #72BBEF !important;
}
html[data-theme] .announcement-strip .announcement-text {
    color: #074E65 !important;
    display: inline-block;
    animation: rd-marquee 36s linear infinite;
}
html[data-theme] .announcement-strip .badge-brand {
    background: #0F7F97 !important;
    color: #fff !important;
}
@keyframes rd-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

/* Seamless in-page ticker (markets announcement): the track holds the
   announcement twice and slides exactly -50%, so the loop has no gap.
   The shared strip animation is switched off for these spans. */
.rd-ticker { overflow: hidden; }
.rd-ticker__track {
    display: inline-flex;
    white-space: nowrap;
    animation: rd-marquee-track 36s linear infinite;
}
.rd-ticker__track .announcement-text {
    animation: none !important;
    padding-right: 48px;
}
@keyframes rd-marquee-track {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
/* Static wrapped announcement strip (2026-11-17): the event page and the
   bet layout render the strip as plain two-line text, not a clipped
   marquee — overrides the rd-marquee animation above. */
.announcement-strip--static .announcement-text { animation: none !important; padding-left: 0 !important; padding-right: 0 !important; white-space: normal !important; display: inline !important; }
.announcement-strip--static > div { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; -webkit-mask-image: none !important; mask-image: none !important; }

/* #8 chatbot FAB: lift clear of the odds table on event pages only
   (Jack #14 class). Home/live overlap is a residual founder call. */
body:has(.rd-ev-shell) .bb-chatbot-container { bottom: 150px !important; right: 20px !important; }
@media (min-width: 768px) {
    body:has(.rd-ev-shell) .bb-chatbot-container { bottom: 120px !important; right: 24px !important; }
}

/* Round 2 (2026-11-11, reference-capture update): section CASH OUT pills,
   "No match" empty sections, per-side row above the scoreboard, fancy icon
   order (star / B / gear / ladder / (i)) and BALL RUNNING overlay. */
.rd-section-bar .rd-cashout-pill { margin-left: auto; }
.rd-cashout-pill {
    background: #FFD60A;
    color: #1F2937;
    border: 0;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .03em;
    padding: 3px 10px;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(0,0,0,.18);
}
.rd-cashout-pill:hover { filter: brightness(.95); }
.rd-cashout-pill:disabled { opacity: .6; cursor: wait; }
.rd-cashout-pill .rd-cashout-val { font-weight: 700; }
.rd-sec-empty {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    color: #64748B;
}
.rd-side-row { font-size: .92rem; }
.rd-side-row__name { font-weight: 600; color: #0F172A; }
.rd-side-row__val { font-weight: 700; }
/* Fancy icon order (reference): star, dark "B" badge, gear, ladder, and the
   (i) info icon in its own narrow centre column. */
.rd-fancy-table col.col-fancy-info { width: 30px; }
.rd-fancy-table .rd-fancy-info { width: 30px; text-align: center; }
.rd-fancy-table thead th.rd-fancy-info-head { width: 30px; }
.rd-mkt-b {
    display: inline-flex; align-items: center; justify-content: center;
    flex: 0 0 auto;
    min-width: 16px; height: 16px; padding: 0 3px;
    background: #1F2937 !important; color: #fff !important;
    font-size: .62rem; font-weight: 800; line-height: 1;
    border-radius: 4px;
}
.rd-mkt-gear { color: #64748B; font-size: .95rem; line-height: 1; }
/* Locked market overlay: SUSPENDED (bookmaker / h2h runners) and BALL
   RUNNING (fancy sessions) share one merged cell covering the price
   columns, with the faint underlying rates still visible. The shared
   `.table tbody td { background: var(--bb-table-td-bg) !important; }` is
   (0,1,2), so the selector is `.table tbody td.rd-suspended-cell` (0,2,2)
   — the bare class never lands. */
.table tbody td.rd-suspended-cell { background: rgba(31, 41, 55, 0.92) !important; vertical-align: middle; text-align: center; }


/* ============================================================
   Theme separation 2026-11-11: @push('style') blocks consolidated
   from the Radhe Blades. radhe.css loads last, so these keep winning.
   ============================================================ */

/* Radhe login partial (.form-check-input) — moved from @push('style'). */
        .form-check-input {
            margin-top: 0px;
        }

/* Radhe live/in-play list (.rd-inplay-head, .rd-sport-title, .rd-popular-*, .rd-empty, .rd-btn) — moved from @push('style'). */
        /* Radhe in-play list — .rd-* only; radhe.css untouched. */
        .rd-inplay-head { display: flex; align-items: center; gap: 10px; padding: 10px 2px 12px; flex-wrap: wrap; }
        .rd-inplay-head__title { color: #0F7F97; font-weight: 800; font-size: 1.05rem; letter-spacing: .04em; }
        .rd-inplay-head__boost { margin-left: auto; margin-right: auto; background: #0F7F97; color: #fff; font-weight: 700; font-size: .85rem; padding: 7px 22px; transform: skewX(-18deg); display: inline-block; }
        .rd-inplay-head__hint { color: #0F7F97; font-weight: 600; font-size: .85rem; }
        .rd-sport-title { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 800; color: #0F172A; margin: 14px 0 8px; }
        .rd-sport-title__icon { color: #0F7F97; font-size: 1.15rem; display: inline-flex; }
        .rd-sport-title__count { margin-left: auto; background: #0F7F97; color: #fff; font-size: .68rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
        /* .rd-match rows moved to radhe.css 2026-11-10 (shared with home). */
        .rd-popular-head { margin: 22px 0 10px; }
        .rd-popular-head span { display: inline-block; background: #0F7F97; 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%); }
        .rd-popular-tabs { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
        .rd-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); }
        .rd-popular-tab.active { background: #0F7F97; border-color: #0F7F97; color: #fff; }
        .rd-empty { background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; text-align: center; padding: 36px 20px; color: #64748B; }
        .rd-empty i { font-size: 2.2rem; opacity: .5; display: block; margin-bottom: 8px; }
        .rd-empty p { margin: 0 0 14px; }
        .rd-btn { display: inline-block; background: #0F7F97; color: #fff; font-weight: 700; font-size: .85rem; padding: 8px 18px; border-radius: 8px; text-decoration: none; }
        .rd-btn:hover { background: #074E65; color: #fff; }
        @media (max-width: 575.98px) {
            .rd-inplay-head__boost { order: 3; margin: 0; }
            .rd-inplay-head__hint { margin-left: auto; }
        }

/* Radhe event page (.rd-scoreboard, .rd-market-table, .rd-ev-*, .rd-open-bets, inline bet strip) — moved from @push('style'). */
        /* Radhe markets (jackpotexch-style tables) — .rd-* only; radhe.css untouched. */
        .rd-scoreboard { background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; }
        /* Photo scoreboard (cricket only): our own stadium asset under a
           LIGHT overlay, so the dark Radhe text stays readable — the bright
           Radhe treatment of Jack's dark photo scoreboard. */
        .rd-scoreboard--photo { background: linear-gradient(rgba(255,255,255,0.82), rgba(255,255,255,0.88)), url('/assets/images/matches/match-cricket-bg.webp') center 30%/cover no-repeat #fff; }
        .rd-badge-cat { background: #0F7F97; color: #fff; }
        .rd-badge-league { background: #F1F5F9; color: #0F172A; border: 1px solid #E2E8F0; }
        .rd-badge-live { background: #DC2626; color: #fff; }
        .rd-badge-crr { background: #D9EFF5; color: #074E65; }
        .rd-badge-rrr { background: #F1F5F9; color: #0F7F97; border: 1px solid #E2E8F0; }
        .rd-badge-scheduled { background: #F1F5F9; color: #0F172A; border: 1px solid #E2E8F0; }
        .rd-badge-fancy { background: #0F7F97; color: #fff; }
        .rd-team-logo { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: #F1F5F9; }
        .rd-team-name { color: #0F172A; font-weight: 800; font-size: 1.1rem; }
        .rd-vs-badge { background: #F1F5F9; color: #64748B; border: 1px solid #E2E8F0; border-radius: 999px; padding: 4px 10px; font-size: .8rem; }
        .rd-live-strip { background: #F8FAFC; border: 1px solid #E2E8F0; }
        .rd-strip-team { color: #0F172A; }
        .rd-details-box { background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; padding: 10px 14px; }
        .rd-details-box summary { cursor: pointer; font-weight: 700; color: #0F172A; }
        .rd-tracker-box { background: #F8FAFC; border: 1px solid #E2E8F0; }
        .rd-tracker-empty { padding: 8px 4px; }
        .rd-action-banner { background: #D9EFF5; border: 1px solid #72BBEF; border-radius: 8px; padding: 8px 12px; font-size: .85rem; color: #0F172A; }
        .rd-oneclick-bar { background: #EAF6F9; border: 1px solid #72BBEF; }
        .rd-ball-running { background: #FEF2F2; border: 1px solid #DC2626; color: #991B1B; border-radius: 8px; padding: 10px 16px; display: flex; align-items: center; color: #0F172A; }
        /* Market header bar: dark grey, star + name + MAX + BACK/LAY. */
        .rd-mkt-bar { background: #28A8C7 !important; color: #fff !important; border-radius: 12px 12px 0 0; }
        .rd-mkt-bar::after { filter: invert(1); }
        .rd-mkt-star { color: #FBBF24; font-size: 1rem; line-height: 1; }
        .rd-mkt-max { color: #D1D5DB; font-size: .7rem; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
        .rd-market-table { background: #fff; }
        .rd-market-table .rd-mkt-head th { background: #0F7F97; color: #fff; border-color: #4B5563; font-size: .8rem; }
        .rd-market-table .col-head-pill { display: inline-block; font-weight: 800; font-size: .75rem; letter-spacing: .06em; padding: 2px 14px; border-radius: 4px; }
        .rd-market-table .col-head-pill--back { background: #0F7F97; color: #fff; }
        .rd-market-table .col-head-pill--lay { background: #DC2626; color: #fff; }
        .rd-market-table td.cell-back { background: #EAF6F9; }
        .rd-market-table td.cell-lay { background: #FEF2F2; }
        .rd-market-table .oddBtn { border-radius: 6px; border: 0; padding: 8px 4px; }
        .rd-market-table .oddBtn.odd-back { background: #72BBEF; color: #0F172A; }
        .rd-market-table .oddBtn.odd-lay { background: #FAA9BA; color: #0F172A; }
        .rd-market-table .oddBtn .odd-val { font-weight: 800; font-size: .95rem; display: block; }
        /* Odds text stays dark on the pale BACK/LAY cells (2026-11-17):
           the shared dark-mode rule forces .odd-val white, and the flash
           keyframes used to recolour it mid-flash — both are neutralised
           for non-selected buttons. Fancy cells carry their own dark
           .odd-val colours above. */
        .rd-market-table .oddBtn:not(.active) .odd-val { color: #0F172A !important; }
        .rd-market-table .cell-empty .depth-none { color: #CBD5E1; }
        .rd-market-table .btn-locked { background: #E5E7EB; color: #6B7280; border: 0; }
        /* Suspended rows: dark price cells + red SUSPENDED badge on the runner. */
        .rd-market-table tr.rd-row-suspended td { background: #E5E7EB; }
        .rd-market-table tr.rd-row-suspended td.cell-back,
        .rd-market-table tr.rd-row-suspended td.cell-lay { background: #467494; }
        .rd-market-table tr.rd-row-suspended .btn-locked { background: #1F2937; color: #F87171; }
        .rd-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; }
        .rd-open-bets { background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; overflow: hidden; }
        .rd-modal { background: #fff; color: #0F172A; border: 1px solid #E2E8F0; }
        .rd-modal-band { background: #F8FAFC; border: 1px solid #E2E8F0; }
        .rd-modal-note { background: #EAF6F9; border: 1px solid #72BBEF; }
        /* 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%); }
        /* Transient ball-running suspension on the event page (2026-11-17):
           the JS adds .ball-suspended to #marketsContainer for ~30s after a
           score change, then removes it — never permanent. Covers fancy rows too. */
        #marketsContainer.ball-suspended .oddBtn { opacity: .45 !important; pointer-events: none !important; cursor: not-allowed !important; }
        .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: #0F7F97; color: #fff; border-color: #0F7F97; }
        .bb-inline-bet { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: #EAF6F9; border: 1px solid #72BBEF; 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: #0F7F97; 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: #0F7F97; 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; }
        .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: #D9EFF5; border-color: #0F7F97; color: #074E65; }
        .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 #0F7F97; }
        /* 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. */
        .rd-market-table .oddBtn.odd-back { background: #72BBEF !important; border-color: #5FA8D3 !important; color: #0F172A !important; }
        .rd-market-table .oddBtn.odd-lay { background: #FAA9BA !important; border-color: #F08CA0 !important; color: #0F172A !important; }
        .fancy-cell__title { display: flex; flex-wrap: nowrap; align-items: center; gap: 4px 8px; }
        .fancy-cell__title .runner-name { font-size: .9rem; }
        .fancy-state--live, .fancy-state { white-space: nowrap; }
        .rd-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; }
        @media (max-width: 480px) {
            .one-click-stakes { flex-wrap: wrap !important; overflow-x: visible !important; }
            .one-click-stakes .quick-stake-pill { padding: 1px 5px; font-size: 0.66rem; }
        }
        .market-filter-tabs .market-tab { flex-shrink: 0; }
        .market-filter-tabs { flex-wrap: nowrap !important; }
        @media (max-width: 575.98px) {
            .rd-mkt-pills { display: none; }
            .rd-team-name { font-size: .95rem; }
            .rd-ball-running { padding-right: 76px !important; }
            .rd-open-bets table { font-size: .72rem !important; }
            .rd-open-bets th, .rd-open-bets td { padding: 6px 3px !important; }
            .rd-market-table .oddBtn { padding: 6px 2px; }
            .rd-market-table .oddBtn .odd-val { font-size: .85rem; }
        }
        /* Event view (reference): balance bar, title bar, MARKET/TV/BETS tabs,
           suspended merged cell. One structure for every sport and casino game. */
        .rd-ev-balance { background: #4B5563; color: #fff; font-size: .8rem; font-weight: 700; display: flex; justify-content: space-between; gap: 8px; padding: 7px 12px; }
        .rd-ev-balance span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .rd-ev-title { display: flex; align-items: center; gap: 4px; background: #fff; border: 1px solid #E2E8F0; border-top: 0; padding: 7px 10px; }
        .rd-ev-title__burger { background: none; border: 0; font-size: 1.25rem; line-height: 1; color: #0F172A; padding: 2px 6px; cursor: pointer; }
        .rd-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; }
        .rd-ev-title__spacer { width: 30px; flex-shrink: 0; }
        .rd-ev-tabs { display: flex; background: #fff; border: 1px solid #E2E8F0; border-top: 0; }
        .rd-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; }
        .rd-ev-tab:last-child { border-right: 0; }
        .rd-ev-tab i { font-size: 1.3rem; line-height: 1; }
        .rd-ev-tab.active { color: #0F7F97; box-shadow: inset 0 -3px 0 #0F7F97; }
        .rd-suspended-faint { display: block; color: #9CA3AF; font-size: .72rem; font-weight: 600; }
        .rd-suspended-text { display: block; color: #DC2626; font-weight: 800; font-size: .95rem; letter-spacing: .05em; }
        .rd-market-table .oddBtn .odd-vol { display: block; font-size: .68rem; color: #475569; }
        @media (max-width: 575.98px) {
            .rd-ev-balance { font-size: .72rem; padding: 6px 8px; }
            .rd-ev-tab { font-size: .65rem; }
        }

/* ------------------------------------------------------------------
   Moved from @push('style') blocks during theme separation 2026-11-11.
   Each block was lifted verbatim out of its Blade (which now carries a
   comment noting the move) so Radhe's styles live in its own sheet.
   ------------------------------------------------------------------ */

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

/* from partials/social_login.blade.php (.social-login-btn) */
.social-login-btn{
    border: 1px solid #cbc4c4;
}
.social-login-btn:hover{
    border: 1px solid hsl(var(--base));
}

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

/* from user/auth/register.blade.php (.form-disabled / .form-disabled-text) */
.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;
}

/* =====================================================================
   Radhe — 2026-11-12 pass (odds-safe FAB, cookie clearance, BALL
   RUNNING overlay, score placeholder, Demo button, header compaction).
   These sit last so they beat the earlier fixed-bottom rules.
   ===================================================================== */

/* 4) BET SLIP FAB — bottom-LEFT. The right-hand side of every market
   table is the BACK / LAY / NO / YES odds column, so the pill must never
   float over it. Phones: bottom 100px clears the 96px bottom-nav+marquee
   stack; tablets keep the left edge too. The chatbot FAB is untouched. */
@media (max-width: 767.98px) {
    .bb-betslip-fab { left: 14px !important; right: auto !important; bottom: 100px !important; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .bb-betslip-fab { left: 18px !important; right: auto !important; }
}

/* 5) COOKIE PAGES — extra bottom room on phones so page content can scroll
   fully above the visible consent card. */
@media (max-width: 767.98px) {
    body.bb-page-surface:has(.cookies-card:not(.d-none):not(.hide)) { padding-bottom: 172px; }
}

/* 6) Scoreboard placeholder chip (scores stay blank until a real feed). */
.rd-badge-noscore {
    background: #F1F5F9;
    color: #64748B;
    border: 1px solid #E2E8F0;
    font-size: .72rem;
    font-weight: 700;
}

/* 7) BALL RUNNING merged cell: faint NO/YES values stay visible under a
   translucent overlay. Markup: .rd-br-cells > .rd-br-cell > .odd-val +
   .odd-vol (the faint line uses .odd-vol.rd-fancy-name). */
.table tbody td.rd-fancy-ballrunning { position: relative; padding: 0 !important; background: #fff !important; }
.rd-br-cells { display: grid; grid-template-columns: 1fr 1fr; }
.rd-br-cell { padding: 6px 4px; text-align: center; }
.rd-br-cell--no { background: rgb(255, 177, 180); }
.rd-br-cell--yes { background: rgb(178, 231, 255); }
.rd-br-cell .rd-br-line,
.rd-br-cell .rd-br-big,
.rd-br-cell .odd-val { display: block; font-weight: 800; font-size: .95rem; }
.home-page .odd-list .market-table .rd-br-cell .odd-val { font-size: .95rem !important; }
.rd-br-cell--no .rd-br-line,
.rd-br-cell--no .rd-br-big,
.rd-br-cell--no .odd-val { color: rgba(127, 29, 29, .55); }
.rd-br-cell--yes .rd-br-line,
.rd-br-cell--yes .rd-br-big,
.rd-br-cell--yes .odd-val { color: rgba(12, 74, 110, .55); }
.rd-br-cell .rd-br-rate,
.rd-br-cell .rd-br-small,
.rd-br-cell .odd-vol { display: block; font-size: .68rem; font-weight: 600; }
.home-page .odd-list .market-table .rd-br-cell .odd-vol { font-size: .68rem !important; }
.rd-br-cell--no .rd-br-rate,
.rd-br-cell--no .rd-br-small,
.rd-br-cell--no .odd-vol { color: rgba(127, 29, 29, .45); }
.rd-br-cell--yes .rd-br-rate,
.rd-br-cell--yes .rd-br-small,
.rd-br-cell--yes .odd-vol { color: rgba(12, 74, 110, .45); }
.rd-br-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, .72);
    pointer-events: none;
}
.rd-br-overlay span { color: #F87171; font-weight: 800; font-size: .95rem; letter-spacing: .05em; }
.rd-market-table .oddBtn .odd-vol.rd-fancy-name { font-size: .68rem; font-weight: 600; }
/* Non-numeric sessions render the line in .odd-vol.rd-fancy-name — give it
   the primary (big) weight so both variants read the same. */
.rd-br-cell .odd-vol.rd-fancy-name { font-size: .68rem; font-weight: 600; }
.home-page .odd-list .market-table .rd-br-cell .odd-vol.rd-fancy-name { font-size: .68rem !important; }

/* 8) Demo button + header compaction (logo, burger, theme toggle, demo,
   LOGIN, SIGN UP all fit inside 390px). */
.rd-btn-demo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .4px;
    padding: 8px 14px;
    border-radius: 8px;
    background: #fff;
    color: #074E65;
    border: 1.5px solid #fff;
    white-space: nowrap;
    cursor: pointer;
}
.rd-header__demo-form { margin: 0; display: inline-flex; }
@media (max-width: 575.98px) {
    .rd-header { padding: 8px; gap: 6px; }
    .rd-header__left { gap: 4px; }
    .rd-header__burger { font-size: 1.25rem; padding: 2px; }
    .rd-header__logo-img { max-height: 28px; }
    .rd-header__right { gap: 6px; }
    .rd-btn-login,
    .rd-btn-signup,
    .rd-btn-demo { padding: 6px 10px; font-size: .75rem; }
    .rd-header .btn-theme-toggle { width: 32px !important; min-width: 32px !important; height: 32px !important; padding: 0 !important; }
}

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

/* ==========================================================================
   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(--rd-teal, #0F7F97), 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(--rd-teal, #0F7F97);
    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(--rd-teal, #0F7F97) !important;
    border-color: var(--rd-teal, #0F7F97) !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.rd-suspended-cell { background: #7F1D1D !important; }
#marketsContainer .rd-suspended-text { color: #FF6B6B !important; font-size: 1.05rem !important; letter-spacing: .08em !important; }
#marketsContainer .rd-suspended-faint { color: #FECACA !important; font-size: .75rem !important; }
#marketsContainer .rd-br-overlay { background: #7F1D1D !important; color: #FF6B6B !important; font-size: 1.05rem !important; letter-spacing: .08em !important; }
#marketsContainer .rd-br-overlay span { color: #FF6B6B !important; }
#marketsContainer .rd-br-overlay .rd-suspended-text { color: #FF6B6B !important; }
#marketsContainer .rd-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; }
}
.rd-obm-band { flex: 0 1 200px; background: #7F1D1D; border-radius: 4px; padding: 6px 8px; text-align: center; }
.rd-obm-band__faint { display: block; color: #FECACA; font-size: .72rem; font-weight: 600; }
.rd-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). */
.rd-bottom-nav__icon-wrap, .rd-event-nav__icon-wrap { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.rd-bottom-nav__count, .rd-event-nav__count {
    position: absolute;
    top: -6px;
    right: -14px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--rd-teal);
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 17px;
    text-align: center;
}
.rd-bottom-nav__count:empty, .rd-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). The .rd-ticker
   viewport is a w-100 div in a flex row with the LIVE UPDATE badge;
   flex:1 + min-width:0 takes only the width left after the badge, and the
   right-edge fade mask makes the marquee cut-off look intentional.
   Durations already 36s (rd-marquee / rd-marquee-track, above). */
.announcement-strip > .badge { flex-shrink: 0 !important; }
.announcement-strip .rd-ticker { 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%); }
.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 Radhe'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). */
.rd-market-table .oddBtn.odd-back:not(.active) .odd-val,
.rd-market-table .oddBtn.odd-lay:not(.active) .odd-val,
.rd-market-table .oddBtn.btn-back:not(.active) .odd-val,
.rd-market-table .oddBtn.btn-lay:not(.active) .odd-val { color: #0F172A !important; }
