/* ==========================================================================
   BB-Bet — World theme (World-style home, BB-Bet brand)
   Mobile-first: base = phone, min-width queries scale up.
   Palette: blue #126E51 / #0E684E, bg #23292E, borders #3A4147,
   ink #FFFFFF, muted #AEB6BD. White cards, radius 12-16px.
   Loaded AFTER main.css / bb-polish.css / bb-premium.css, so these win.
   ========================================================================== */

:root {
    --wd-blue: #126E51;
    --wd-blue-dark: #0E684E;
    --wd-navy: #FFFFFF;
    --wd-bg: #23292E;
    --wd-border: #3A4147;
    --wd-muted: #AEB6BD;
    --wd-back: #72BBEF;
    --wd-lay: #FAA9BA;
    --wd-empty: #3A4147;
    --wd-radius: 14px;
}

/* Page surface: World is a dark-charcoal theme (#23292E) per spec.
   Shared bb-premium paints body/main #F8FAFC and beats the plain body
   rule, so this carries the higher-specificity + !important form. */
html[data-theme] body.bb-page-surface,
html[data-theme] body {
    background: #23292E !important;
    padding-bottom: 64px; /* room for the fixed bottom nav */
}
html[data-theme] main.home-page { background: #23292E !important; }
html[data-theme] .home-page .sports-body,
html[data-theme] .home-page > .sports-body { background: #23292E !important; }

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

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

.wd-header__logo { border-bottom: 3px solid #AA7128; padding-bottom: 2px; }
.wd-header__left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

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

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

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

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

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

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

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

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

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

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

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

.wd-btn-login {
    color: var(--wd-navy);
    background: #2E3439;
    border: 1.5px solid var(--wd-navy);
}

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

.wd-btn-signup {
    color: #fff;
    background: var(--wd-blue);
    border: 1.5px solid var(--wd-blue);
    box-shadow: 0 2px 8px rgba(18, 110, 81, 0.35);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.wd-tile-card__img--all {
    background: linear-gradient(135deg, #126E51, #0B4A38);
}

.wd-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(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 55%);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

.wd-league-head {
    background: #2E3439;
    border: 1px solid var(--wd-border);
    border-radius: 10px;
}

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

/* Match-team band — World 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 .wd-match-row .exchange-fixture-summary,
.wd-match-row .exchange-fixture-summary {
    background: #2E3439 !important;
    background-image: none !important;
    border-radius: 10px 10px 0 0;
    padding: 9px 12px;
}

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

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

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

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

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

.home-page .wd-match-row .btn-pin-game,
.wd-match-row .btn-pin-game {
    color: #8A939B !important;
}

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

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

.wd-match-row .oddBtn.btn-back,
.wd-match-row .btn-back,
.wd-odds-box.wd-back {
    background: var(--wd-back);
    border-color: #64A0CA;
    color: var(--wd-navy);
}

.wd-match-row .oddBtn.btn-back:hover {
    background: #64A0CA;
}

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

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

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

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

/* ==========================================================================
   World 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.
   ========================================================================== */
.wd-match-list { display: flex; flex-direction: column; gap: 10px; }
.wd-match { background: #2E3439; border: 1px solid #3A4147; border-radius: 12px; overflow: hidden; }
a.wd-match__head {
    display: grid;
    grid-template-columns: 28px 1fr auto 1fr;
    align-items: center;
    gap: 6px;
    background: #2E3439;
    padding: 9px 12px;
    text-decoration: none;
    color: inherit;
}
.wd-match__head:hover { text-decoration: none; }
.wd-match__sport { color: #126E51; font-size: 1.1rem; display: inline-flex; align-items: center; justify-content: center; }
.wd-match__team { font-weight: 700; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.wd-match__team--home { color: #FFFFFF; text-align: left; }
.wd-match__team--away { color: #126E51; text-align: right; }
.wd-match__league { color: #AEB6BD; font-size: .7rem; font-weight: 600; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 110px; }
.wd-match__body { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px; padding: 10px 12px; }
.wd-match__body .wd-pin { background: none; border: 0; padding: 4px; color: #8A939B; font-size: 1.15rem; line-height: 1; cursor: pointer; }
.wd-match__body .wd-pin.active { color: #F59E0B; }
.wd-match__body .wd-pin.active .pin-star-icon { font-weight: 900; }
.wd-pinned-badge { grid-column: 1 / -1; justify-self: start; font-size: .62rem; }
.wd-odds { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; min-width: 0; }
.wd-odd {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 0;
    border-radius: 6px;
    font-size: .95rem;
    font-weight: 800;
    color: #FFFFFF;
    cursor: pointer;
    padding: 4px 2px;
}
.wd-odd .odd-rate { font-size: .95rem; }
html[data-theme="light"] .wd-match .wd-odd--back,
html[data-theme="dark"] .wd-match .wd-odd--back {
    background: #72BBEF !important;
    border-color: #64A0CA !important;
    color: #FFFFFF !important;
}
html[data-theme="light"] .wd-match .wd-odd--lay,
html[data-theme="dark"] .wd-match .wd-odd--lay {
    background: #FAA9BA !important;
    border-color: #E58AA0 !important;
    color: #FFFFFF !important;
}
.wd-odd--empty { background: #3A4147 !important; color: #8A939B !important; cursor: default; }

/* Popular / tabs helpers (shared with other World pages). */
.wd-popular {
    background: #2E3439;
    border: 1px solid var(--wd-border);
    border-radius: var(--wd-radius);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    .wd-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 world/layouts/bet.blade.php); every other page keeps wd-bottom-nav. */
.wd-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);
}

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

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

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

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

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

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

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

/* World rows on phones: league hidden, head 3 columns, odds ~48px tall
   with 4–6px gaps, 10px between rows (wd-match-list gap). */
@media (max-width: 575.98px) {
    .wd-match__league { display: none; }
    a.wd-match__head { grid-template-columns: 26px 1fr 1fr; padding: 9px 12px; }
    .wd-match__body { padding: 8px 10px; gap: 6px; }
    .wd-odds { gap: 4px; }
    .wd-odd { min-height: 44px; font-size: .85rem; }
    .wd-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: #FFFFFF !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. */
.wd-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;
}
.wd-tile-card__name { font-size: 0.88rem; }

/* Cookie banner: a full-width bottom sheet covered the bottom nav. World
   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(main.wd-page--event) .bb-chatbot-container { bottom: 150px !important; right: 20px !important; }
    @media (min-width: 768px) {
        body:has(main.wd-page--event) .bb-chatbot-container { bottom: 120px !important; right: 24px !important; }
    }
    body:has(.cookies-card:not(.d-none):not(.hide)) .bb-chatbot-container {
        bottom: 226px !important;
    }
}

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

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

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

/* ==========================================================================
   WORLD overrides (hand-written 2026-11-11) — everything the mechanical
   the mechanical pass could not express: black header + inline login,
   emerald top nav, ticker, 300px sidebar / 355px bet-slip shell, dark
   match rows, gold logo accent, market-bar specificity fix.
   world.css loads LAST, so these win over main.css / bb-premium.css.
   ========================================================================== */

:root {
    --wd-emerald: #126E51;
    --wd-emerald-dark: #0E684E;
    --wd-banner: #114932;
    --wd-page: #23292E;
    --wd-row: #2E3439;
    --wd-search: #444444;
    --wd-navy: #0E1823;
    --wd-titlebar: #20327B;
    --wd-mybet: #2C3E50;
    --wd-back-best: #72BBEF;
    --wd-back-next: #64A0CA;
    --wd-lay-best: #FAA9BA;
    --wd-teal: #19A4B6;
    --wd-suspended: #243C4D;
    --wd-gold: #AA7128;
    --wd-border: #3A4147;
    --wd-muted: #AEB6BD;
    /* 3-column shell: left ~300px, right ~355px (Basic vars, overridden). */
    --left-side: 300px;
    --right-side: 355px;
    --header-h: 70px;
}

body.bb-page-surface { background: var(--wd-page); color: #fff; }

/* ------------------------------------------------------------------ header */
/* Black bar (~70px): gold logo left, ticker centre, pts/exp + account right. */
.wd-header-wrap {
    background: #0B0D0F !important;
    border-bottom: 1px solid #000;
}
.wd-header {
    background: #0B0D0F !important;
    max-width: none;
    padding: 8px 16px;
    min-height: 70px;
}
.wd-header__burger { color: #fff; }
.wd-header__logo-text { color: #fff; }
.wd-header__logo-text span { color: var(--wd-gold); }
.wd-header__logo-img { max-height: 44px; }

/* Upcoming-fixture ticker (centre of the black bar; only when the view
   supplies live fixtures — never invented). */
.wd-ticker {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1 1 auto;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wd-ticker:hover { color: #fff; }
.wd-ticker__live {
    color: #22C55E;
    font-weight: 800;
    letter-spacing: .05em;
    flex-shrink: 0;
}
.wd-ticker__text { overflow: hidden; text-overflow: ellipsis; }

/* Inline login (guests): Username / Password + white-outlined LOGIN +
   green DEMO. No separate login page is needed for the header. */
.wd-login-form {
    display: flex;
    align-items: center;
    gap: 6px;
}
.wd-login-form input {
    width: 118px;
    background: #1A1F24;
    border: 1px solid #3A4147;
    border-radius: 4px;
    color: #fff;
    font-size: .8rem;
    padding: 7px 9px;
}
.wd-login-form input::placeholder { color: #8A939B; }
.wd-login-form input:focus { outline: none; border-color: var(--wd-emerald); }
.wd-btn-login-inline {
    background: transparent;
    border: 1.5px solid #fff;
    color: #fff;
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .04em;
    padding: 7px 14px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}
.wd-btn-login-inline:hover { background: rgba(255, 255, 255, .12); }
.wd-btn-demo-inline {
    background: var(--wd-emerald);
    border: 1.5px solid var(--wd-emerald);
    color: #fff;
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .04em;
    padding: 7px 14px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}
.wd-btn-demo-inline:hover { background: var(--wd-emerald-dark); }
@media (max-width: 767.98px) {
    .wd-login-form input { width: 92px; }
    .wd-ticker { display: none; }
}
/* Below 576px the inline form is hidden entirely (see header.blade.php:
   a LOGIN link to the login page is shown instead). Hiding only the
   inputs left a submit button whose required fields were invisible,
   so tapping LOGIN did nothing. !important: world.css also sets
   display:flex on the form, and Bootstrap's d-none must win at xs. */
@media (max-width: 575.98px) {
    .wd-login-form { display: none !important; }
}

/* ------------------------------------------------------- emerald top nav */
/* Thin (~35px) emerald bar: Sport Book, Lottery, Exchange (active),
   Live Casino, Slot, Fantasy Games, Poker, Blogs. Scrolls on phones. */
.wd-topnav {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: var(--wd-emerald);
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 8px;
    margin: 0 -12px;
    height: 35px;
}
.wd-topnav::-webkit-scrollbar { display: none; }
.wd-topnav__link {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    color: rgba(255, 255, 255, .85);
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.wd-topnav__link:hover { color: #fff; background: rgba(0, 0, 0, .12); }
.wd-topnav__link--active {
    color: #fff;
    background: var(--wd-emerald-dark);
    font-weight: 800;
    box-shadow: inset 0 -3px 0 #fff;
}

/* Announcement strip: dark-green ticker bar under the header.
   bb-premium styles it white/blue with html:not([data-theme="dark"])
   selectors (0,2,1) + !important, so this needs to out-specify them.
   top:0 — bb-premium makes the strip sticky with top:var(--header-h),
   but <main> and <body> are scroll containers (shared main.css), so the
   JS-measured --header-h (144px in World) pushes the strip ~97px below
   its flow position, covering the scoreboard team row on event pages
   (the sibling blue theme has the same displacement, +42px, hiding
   only its badges).
   top:0 pins the strip to its flow position; it scrolls with the page,
   like the header does in this build — see WORLD-THEME.md. */
html[data-theme] body .announcement-strip {
    background: var(--wd-banner) !important;
    color: #fff !important;
    top: 0 !important;
}
html[data-theme] body .announcement-strip .announcement-text,
html[data-theme] body .announcement-strip .text-white-90 { color: #fff !important; }
html[data-theme] body .announcement-strip .announcement-text {
    display: inline-block;
    animation: wd-marquee 36s linear infinite;
}
@keyframes wd-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

/* ------------------------------------------------------------- left sidebar */
/* The Basic sports-category drawer becomes World's left sidebar:
   dark search box + green "Racing Sport" / "All Sport" headers + sport
   list with live counts. Same root classes, so the mobile slide-in
   drawer behaviour (hamburger) is unchanged. */
.sports-category {
    background: var(--wd-page) !important;
    border-right: 1px solid var(--wd-border) !important;
}
.wd-side-search {
    padding: 10px 12px 6px;
}
.wd-side-search__box {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--wd-search);
    border-radius: 6px;
    padding: 7px 10px;
}
.wd-side-search__box i { color: #C7CDD3; }
.wd-side-search__box input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: .85rem;
    outline: none;
}
.wd-side-search__box input::placeholder { color: #9AA3AB; }
.wd-side-head {
    background: var(--wd-emerald);
    color: #fff;
    font-weight: 800;
    font-size: .82rem;
    letter-spacing: .04em;
    padding: 8px 14px;
    margin-top: 8px;
}
.sports-category__list {
    display: flex;
    flex-direction: column;
}
.sports-category__link {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px;
    max-height: none !important;
    padding: 10px 14px !important;
    text-align: left !important;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    color: #fff;
}
.sports-category__link:hover { background: rgba(255, 255, 255, .06) !important; }
.sports-category__link.active { background: rgba(18, 110, 81, .35) !important; }
.sports-category__link.active .sports-category__icon,
.sports-category__link.active .sports-category__text { color: #fff !important; }
.sports-category__icon { color: #C7CDD3 !important; font-size: 1.1rem !important; }
.sports-category__text {
    color: #fff !important;
    font-size: .88rem !important;
    margin-top: 0 !important;
    text-align: left !important;
    flex: 1;
}
.wd-side-count {
    background: var(--wd-emerald);
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    border-radius: 999px;
    padding: 2px 8px;
    flex-shrink: 0;
}
.wd-side-count--none { background: #3A4147; color: #AEB6BD; }

/* Category + league headers (#7 class): shared bb-premium paints them
   bright blue #0A5FBF; World spec is emerald #126E51. */
html[data-theme] .home-page .exchange-category-header,
html[data-theme] .home-page .exchange-feed > .exchange-category-header { background: #126E51 !important; border-color: #0E684E !important; color: #fff !important; }
html[data-theme] .home-page .exchange-league-header,
html[data-theme] .home-page .exchange-feed > .exchange-league-header { background: #0B4A38 !important; border-color: #0E684E !important; color: #fff !important; }

/* Sidebar ~300px at desktop (#12): the 220px shell comes from shared
   layout CSS. 300px still leaves the feed + bet-slip room at >=1200px. */
@media (min-width: 1200px) {
    .home-page > .sports-category,
    main.home-page .sports-category {
        width: 300px !important;
        flex: 0 0 300px !important;
        min-width: 300px !important;
    }
}

/* Footer (#9): dark charcoal card (was a white card on a white page) +
   the emerald nav strip repeated at the very bottom of the page. */
html[data-theme="light"] .wd-page .footer, html[data-theme="light"] .wd-page .footer--light,
html[data-theme="light"] .wd-page .footer-bottom { background: #23292E !important; color: #fff !important; }
.wd-page .footer a, .wd-page .footer-bottom a { color: #C7CDD3 !important; }
.wd-footer-nav {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px;
    background: #126E51; padding: 10px 12px;
}
.wd-footer-nav a { color: #fff !important; font-size: .82rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.wd-footer-nav a:hover { text-decoration: underline; }

/* ------------------------------------------------------- home: trending */
/* "Now Trending" green bar above the promo cards (reference home). */
.wd-trending-bar {
    background: var(--wd-emerald);
    color: #fff;
    font-weight: 800;
    font-size: .95rem;
    letter-spacing: .03em;
    padding: 9px 14px;
    border-radius: 6px 6px 0 0;
}
.wd-category-row { margin-top: 0; }
.wd-category-row .wd-category-tile { border-radius: 0 0 10px 10px; }

/* Sport tabs strip (home): icon + name chips from the real categories
   that have fixtures ($categoryGroups) — links to category pages. */
.wd-sport-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 2px 10px;
    scrollbar-width: none;
}
.wd-sport-tabs::-webkit-scrollbar { display: none; }
.wd-sport-tab {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--wd-row);
    border: 1px solid var(--wd-border);
    border-radius: 8px;
    color: #fff;
    font-weight: 700;
    font-size: .83rem;
    padding: 9px 14px;
    text-decoration: none;
    white-space: nowrap;
}
.wd-sport-tab:hover { border-color: var(--wd-emerald); color: #fff; }
.wd-sport-tab__icon { color: var(--wd-teal); font-size: 1.05rem; display: inline-flex; }
.wd-sport-tab__count {
    background: var(--wd-emerald);
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    border-radius: 999px;
    padding: 1px 7px;
}
.wd-sport-tab--active { background: var(--wd-emerald); border-color: var(--wd-emerald); }

/* ------------------------------------------------------------ match rows */
/* Dark charcoal rows: white team names, away team light blue, league
   muted, Back #72BBEF / Lay #FAA9BA, empty grey. F / BM badges are real
   ($jkMarketFlags): BM only with an active bookmaker market, F only with
   an active fancy market. */
a.wd-match__head { background: var(--wd-row); grid-template-columns: 28px 1fr auto 1fr auto; }
.wd-match__sport { color: #fff; }
.wd-match__team--home { color: #fff; }
.wd-match__team--away { color: var(--wd-back-best) !important; }
.wd-match__league { color: var(--wd-muted); }
.wd-match__badges {
    display: inline-flex;
    gap: 4px;
    flex-shrink: 0;
}
.wd-match__badge {
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .03em;
    padding: 2px 6px;
    border-radius: 4px;
    background: #3A4147;
    color: #fff;
}
.wd-match__badge--bm { background: var(--wd-emerald); }
.wd-match__badge--f { background: var(--wd-teal); }
.home-page .wd-match-row .exchange-fixture-summary__teams span:last-child,
.wd-match-row .exchange-fixture-summary__teams span:last-child {
    color: var(--wd-back-best) !important;
}
.home-page .wd-match-row .exchange-fixture-summary__teams span:first-child,
.wd-match-row .exchange-fixture-summary__teams span:first-child {
    color: #fff !important;
}
.home-page .wd-match-row .exchange-fixture-summary,
.wd-match-row .exchange-fixture-summary {
    background: var(--wd-row) !important;
}
html[data-theme="light"] .wd-match .wd-odd--back,
html[data-theme="dark"] .wd-match .wd-odd--back {
    background: var(--wd-back-best) !important;
    border-color: var(--wd-back-next) !important;
    color: #000 !important;
}
html[data-theme="light"] .wd-match .wd-odd--lay,
html[data-theme="dark"] .wd-match .wd-odd--lay {
    background: var(--wd-lay-best) !important;
    border-color: #E58AA0 !important;
    color: #000 !important;
}
.wd-odd--empty { background: #3A4147 !important; color: #8A939B !important; }

/* In-play / popular headers: emerald bars on dark. */
.wd-inplay-head { background: var(--wd-emerald); border-radius: 8px; padding: 10px 14px; }
.wd-inplay-head__title { color: #fff; }
.wd-inplay-head__boost { background: var(--wd-emerald-dark); color: #fff; }
.wd-inplay-head__hint { color: #fff; }
.wd-sport-title { color: #fff; }
.wd-sport-title__icon { color: var(--wd-teal); }
.wd-popular-head span { background: var(--wd-emerald); }
.wd-popular-tab { background: var(--wd-row); border-color: var(--wd-border); color: #fff; }
.wd-popular-tab.active { background: var(--wd-emerald); border-color: var(--wd-emerald); }
.wd-empty { background: var(--wd-row); border-color: var(--wd-border); color: var(--wd-muted); }
.wd-btn { background: var(--wd-emerald); }
.wd-btn:hover { background: var(--wd-emerald-dark); }

/* Category bar (in-play list): dark chips, emerald active. */
.wd-cat-chip { background: var(--wd-row); border-color: var(--wd-border); color: #fff; }
.wd-cat-chip__icon { color: var(--wd-teal); }
.wd-cat-chip:hover { border-color: var(--wd-emerald); }
.wd-cat-chip.is-active { background: var(--wd-emerald); border-color: var(--wd-emerald); }
.wd-catbar__arrow { background: var(--wd-row); border-color: var(--wd-border); color: #fff; }
.wd-catbar-empty { background: var(--wd-row); border-color: var(--wd-border); color: var(--wd-muted); }

/* Live-now cards + tiles: dark cards, white text. */
html[data-theme="light"] .wd-live .live-now-card { background: #2E3439 !important; border-color: #3A4147 !important; }
/* Match filter toolbar (home): shared white card on the dark page. */
html[data-theme] .wd-page .match-filter-toolbar { background: #2E3439 !important; border-color: #3A4147 !important; }
.wd-live .live-now-card__name, .wd-live .live-now-card__league { color: #fff !important; }
.wd-live .live-now-card__vs { color: #AEB6BD !important; }
.wd-category-tile { background: var(--wd-row); border-color: var(--wd-border); }
.wd-category-tile__name { color: #fff; }
.wd-rail { background: var(--wd-row); border-color: var(--wd-border); }
.wd-rail__item { background: var(--wd-row); border-color: var(--wd-border); color: #fff; }
.wd-rail__item.active { background: var(--wd-emerald); }
.wd-tile-card__img--all { background: linear-gradient(135deg, #126E51, #0B4A38); }
.wd-category-head, .wd-league-head { background: var(--wd-row); border-color: var(--wd-border); }
.wd-match-feed .match-filter-toolbar { background: var(--wd-row); border-color: var(--wd-border); }
.wd-match-feed .match-tab-btn { background: var(--wd-row); border-color: var(--wd-border); color: #fff; }
.wd-match-feed .match-tab-btn.active { background: var(--wd-emerald); border-color: var(--wd-emerald); }
.wd-match-feed .match-search-input {
    background: var(--wd-search);
    border-color: var(--wd-search);
    color: #fff;
}
.wd-match-feed .match-search-input::placeholder { color: #9AA3AB; }

/* ------------------------------------------------- market bar (bb-premium) */
/* bb-premium.css forces .home-page .market-accordion .accordion-button to
   #0A5FBF !important (3 classes) — the blade's 1-class .wd-mkt-bar loses
   even with !important. This 4-class rule in world.css (loads last) wins. */
.home-page .market-accordion .accordion-button.wd-mkt-bar {
    background: var(--wd-emerald) !important;
    color: #fff !important;
}
.home-page .market-accordion .accordion-button.wd-mkt-bar .wd-mkt-star { color: #FBBF24 !important; }

/* ------------------------------------------------------------ bottom navs */
.wd-bottom-nav, .wd-event-nav {
    background: var(--wd-page);
    border-top: 1px solid var(--wd-border);
}
.wd-bottom-nav__item, .wd-event-nav__item { color: #C7CDD3; }
.wd-bottom-nav__item--active, .wd-bottom-nav__item.is-active,
.wd-event-nav__item--active {
    color: #fff;
    background: var(--wd-emerald);
}
.wd-bottom-nav ~ .app-nav, body:has(.wd-bottom-nav) .app-nav,
.wd-event-nav ~ .app-nav, body:has(.wd-event-nav) .app-nav { display: none; }

/* ------------------------------------------------------- bet slip (right) */
/* Desktop: the slip is the sticky right column (Basic shell). Dark panel. */
@media screen and (min-width: 992px) {
    .betslip { background: var(--wd-page); color: #fff; }
}
html[data-theme] .home-page .betslip, html[data-theme] .home-page > .betslip { background: var(--wd-page) !important; color: #fff; }
html[data-theme] .home-page .betslip-header { background: #1A1F24 !important; }
.bet-slip-container, .mybet-container { background: var(--wd-page) !important; color: #fff; }
body .betslip .bet-type__btn span { background: var(--wd-row) !important; color: #fff !important; }
body .betslip .bet-type__btn { background: transparent !important; border-color: var(--wd-border) !important; }
body .betslip .bet-type__btn:has(input:checked) span,
body .betslip .bet-type__btn input:checked + span { background: var(--wd-emerald) !important; color: #fff !important; }
.wd-page .bet-place-btn, .wd-page .betslip .bet-place-btn { background: #126E51 !important; border-color: #126E51 !important; color: #fff !important; }
.wd-page .betslip .delete-btn { color: #DC2626 !important; }

/* Cookie card + footer on dark. */
.cookies-card {
    background: var(--wd-row) !important;
    color: #fff !important;
    border: 1px solid var(--wd-border);
}
.cookies-card .cookies-card__content { color: #C7CDD3 !important; }
.footer, .footer--light { background: #1A1F24 !important; color: #C7CDD3; }
.footer-bottom { background: #14181C !important; color: #8A939B; }

/* ------------------------------------------------------------ desktop cap */
/* Centre column ~1200px at wide viewports (the previous theme capped at 1080px). */
@media (min-width: 1200px) {
    .home-page > .sports-body {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 16px;
        padding-right: 16px;
    }
}
@media (max-width: 575.98px) {
    a.wd-match__head { grid-template-columns: 26px 1fr 1fr; }
    .wd-match__league { display: none; }
    .wd-match__badges { display: none; }
}

/* ------------------------------------------------------------
   Consolidated @push('style') blocks (theme separation 2026-11-12).
   Moved verbatim; declarations that duplicate a rule in a
   stylesheet loaded after the old @stack('style') position are
   omitted so the already-verified winner is unchanged.
   ------------------------------------------------------------ */
/* ============================================================
   in-play list moved from live_matches.blade.php
   ============================================================ */
  .wd-inplay-head {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  .wd-inplay-head__title {
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: .04em;
  }
  .wd-inplay-head__boost {
    margin-left: auto;
    margin-right: auto;
    font-weight: 700;
    font-size: .85rem;
    padding: 7px 22px;
    transform: skewX(-18deg);
    display: inline-block;
  }
  .wd-inplay-head__hint {
    font-weight: 600;
    font-size: .85rem;
  }
  .wd-sport-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 800;
    margin: 14px 0 8px;
  }
  .wd-sport-title__icon {
    font-size: 1.15rem;
    display: inline-flex;
  }
  .wd-sport-title__count {
    margin-left: auto;
    background: #126E51;
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
  }
  .wd-popular-head {
    margin: 22px 0 10px;
  }
  .wd-popular-head span {
    display: inline-block;
    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%);
  }
  .wd-popular-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
  }
  .wd-popular-tab {
    border: 1px solid #3A4147;
    font-weight: 800;
    font-size: .82rem;
    letter-spacing: .03em;
    padding: 8px 18px;
    border-radius: 6px;
    cursor: pointer;
    transform: skewX(-12deg);
  }
  .wd-popular-tab.active {
    color: #fff;
  }
  .wd-empty {
    border: 1px solid #3A4147;
    border-radius: 12px;
    text-align: center;
    padding: 36px 20px;
  }
  .wd-empty i {
    font-size: 2.2rem;
    opacity: .5;
    display: block;
    margin-bottom: 8px;
  }
  .wd-empty p {
    margin: 0 0 14px;
  }
  .wd-btn {
    display: inline-block;
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
  }
  .wd-btn:hover {
    color: #fff;
  }
@media (max-width: 575.98px) {
  .wd-inplay-head__boost {
    order: 3;
    margin: 0;
  }
  .wd-inplay-head__hint {
    margin-left: auto;
  }
}

/* ============================================================
   event/markets styles moved from markets.blade.php
   ============================================================ */
  .wd-scoreboard {
    background: #0E1823;
    border: 1px solid #1E2A38;
    border-radius: 12px;
  }
  .wd-badge-cat {
    background: #126E51;
    color: #fff;
  }
  .wd-badge-league {
    background: #23292E;
    color: #FFFFFF;
    border: 1px solid #3A4147;
  }
  .wd-badge-live {
    background: #DC2626;
    color: #fff;
  }
  .wd-badge-crr {
    background: #126E51;
    color: #FFFFFF;
    border: 1px solid #0E684E;
  }
  .wd-badge-rrr {
    background: #0B4A38;
    color: #FFFFFF;
    border: 1px solid #126E51;
  }
  .wd-score-rates {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
  }
  .wd-score-rates--end {
    justify-content: flex-end;
  }
  .wd-badge-scheduled {
    background: #23292E;
    color: #FFFFFF;
    border: 1px solid #3A4147;
  }
  .wd-badge-fancy {
    background: #126E51;
    color: #fff;
  }
  .wd-team-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 8px;
    background: #23292E;
  }
  .wd-scoreboard .wd-team-name {
    color: #FFFFFF !important;
    font-weight: 800;
    font-size: 1.1rem;
  }
  .wd-vs-badge {
    background: #23292E;
    color: #AEB6BD;
    border: 1px solid #3A4147;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: .8rem;
  }
  .wd-live-strip {
    background: #2E3439;
    border: 1px solid #3A4147;
  }
  .wd-strip-team {
    color: #FFFFFF;
  }
  .wd-details-box {
    background: #2E3439;
    border: 1px solid #3A4147;
    border-radius: 12px;
    padding: 10px 14px;
  }
  .wd-details-box summary {
    cursor: pointer;
    font-weight: 700;
    color: #FFFFFF;
  }
  .wd-tracker-box {
    background: #2E3439;
    border: 1px solid #3A4147;
  }
  .wd-tracker-empty {
    padding: 8px 4px;
  }
  .wd-action-banner {
    background: #2E3439;
    border: 1px solid #72BBEF;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: .85rem;
    color: #FFFFFF;
  }
  .wd-oneclick-bar {
    background: #23292E;
    border: 1px solid #72BBEF;
    flex-wrap: wrap;
    gap: 8px;
  }
  .wd-oneclick-bar .xsm-text {
    white-space: nowrap;
  }
  .wd-ball-running {
    background: #243C4D;
    border: 1px solid #F59E0B;
    border-radius: 8px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    color: #FFFFFF;
  }
  .wd-mkt-bar {
    background: #126E51 !important;
    color: #fff !important;
    border-radius: 12px 12px 0 0;
    gap: 12px;
  }
  .wd-mkt-bar::after {
    filter: invert(1);
  }
  .wd-mkt-star {
    color: #FBBF24;
    font-size: 1rem;
    line-height: 1;
  }
  .wd-mkt-max {
    color: #C7CDD3;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .04em;
    white-space: nowrap;
  }
  .wd-market-table {
    background: #2E3439;
  }
  .wd-market-table .wd-mkt-head th {
    background: #2E3439;
    color: #fff;
    border-color: #2E3439;
    font-size: .8rem;
  }
  .wd-market-table .col-head-pill {
    display: inline-block;
    font-weight: 800;
    font-size: .75rem;
    letter-spacing: .06em;
    padding: 2px 14px;
    border-radius: 4px;
  }
  .wd-market-table .col-head-pill--back {
    background: #72BBEF;
    color: #000;
  }
  .wd-market-table .col-head-pill--lay {
    background: #FAA9BA;
    color: #000;
  }
  .wd-market-table td.cell-back {
    background: #23292E;
  }
  .wd-market-table td.cell-lay {
    background: #2E3439;
  }
  .wd-market-table .oddBtn {
    border-radius: 6px;
    border: 0;
    padding: 8px 4px;
  }
  .wd-market-table .oddBtn.odd-back {
    background: #72BBEF;
    color: #0F172A;
  }
  .wd-market-table .oddBtn.odd-lay {
    background: #FAA9BA;
    color: #0F172A;
  }
  .wd-market-table .oddBtn .odd-val {
    font-weight: 800;
    font-size: .95rem;
    display: block;
  }
  .wd-market-table .cell-empty .depth-none {
    color: #5A636B;
  }
  .wd-market-table .btn-locked {
    background: #3A4147;
    color: #8A939B;
    border: 0;
  }
  .wd-market-table tr.wd-row-suspended td {
    background: #3A4147;
  }
  .wd-market-table tr.wd-row-suspended td.cell-back, .wd-market-table tr.wd-row-suspended td.cell-lay {
    background: #243C4D;
  }
  .wd-market-table tr.wd-row-suspended .btn-locked {
    background: #243C4D;
    color: #F87171;
  }
  /* Locked fancy rows keep real line + odds on disabled buttons
     (2026-11-17): dim them so they read as closed, not live. */
  .wd-market-table tr.wd-row-suspended .oddBtn { opacity: .55 !important; }
  .wd-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;
  }
  .wd-open-bets {
    background: #2C3E50;
    border: 1px solid #2C3E50;
    border-radius: 12px;
    overflow: hidden;
  }
  .wd-modal {
    background: #2E3439;
    color: #FFFFFF;
    border: 1px solid #3A4147;
  }
  .wd-modal-band {
    background: #2E3439;
    border: 1px solid #3A4147;
  }
  .wd-modal-note {
    background: #23292E;
    border: 1px solid #72BBEF;
  }
  .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: #23292E;
    color: #FFFFFF;
    border: 1px solid #3A4147;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s;
  }
  .quick-stake-pill.active {
    background: #0E684E;
    color: #fff;
    border-color: #0E684E;
  }
  .bb-inline-bet__odds, .bb-inline-bet__side {
    font-size: .8rem;
    color: #72BBEF;
    font-weight: 700;
  }
  .bb-inline-bet__input {
    flex: 1 1 120px;
  }
  .cricket-ball {
    min-width: 24px;
    padding: 0 4px;
  }
  .cricket-ball.active {
    outline: 2px solid #126E51;
  }
  .table tbody td.wd-fancy-no {
    background: rgb(255, 177, 180) !important;
  }
  .table tbody td.wd-fancy-yes {
    background: rgb(178, 231, 255) !important;
  }
  .table tbody td.wd-fancy-no .oddBtn, .table tbody td.wd-fancy-no .oddBtn:hover, .table tbody td.wd-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.wd-fancy-yes .oddBtn, .table tbody td.wd-fancy-yes .oddBtn:hover, .table tbody td.wd-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.wd-fancy-no .oddBtn .odd-val, .table tbody td.wd-fancy-no .oddBtn .odd-vol {
    color: #7F1D1D !important;
  }
  .table tbody td.wd-fancy-yes .oddBtn .odd-val, .table tbody td.wd-fancy-yes .oddBtn .odd-vol {
    color: #0C4A6E !important;
  }
  .wd-market-table .oddBtn.odd-back {
    background: #72BBEF !important;
    border-color: #64A0CA !important;
    color: #0F172A !important;
  }
  .wd-market-table .oddBtn.odd-lay {
    background: #FAA9BA !important;
    border-color: #E58AA0 !important;
    color: #0F172A !important;
  }
  .fancy-cell__title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
  }
  .fancy-cell__title .runner-name {
    font-size: .9rem;
  }
  .fancy-state--live, .fancy-state {
    white-space: nowrap;
  }
  .wd-oneclick-bar .form-check-label {
    white-space: nowrap;
  }
  .one-click-stakes {
    overflow-x: auto;
    flex-wrap: nowrap !important;
    scrollbar-width: none;
  }
  .one-click-stakes::-webkit-scrollbar {
    display: none;
  }
  .one-click-stakes .quick-stake-pill {
    flex-shrink: 0;
  }
  .market-filter-tabs .market-tab {
    flex-shrink: 0;
  }
  .market-filter-tabs {
    flex-wrap: nowrap !important;
  }
@media (max-width: 575.98px) {
  .wd-team-name {
    font-size: .95rem;
  }
  .wd-ev-title__name {
    font-size: .72rem;
    letter-spacing: .02em;
  }
  .wd-ball-running {
    padding-right: 76px !important;
  }
  .wd-open-bets table {
    font-size: .72rem !important;
  }
  .wd-open-bets th, .wd-open-bets td {
    padding: 6px 3px !important;
  }
  .wd-market-table .oddBtn {
    padding: 6px 2px;
  }
  .wd-market-table .oddBtn .odd-val {
    font-size: .85rem;
  }
}
  .wd-ev-balance {
    background: #2E3439;
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 12px;
  }
  .wd-ev-balance span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .wd-ev-title {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #20327B;
    border: 1px solid #20327B;
    border-top: 0;
    padding: 7px 10px;
  }
  .wd-ev-title__burger {
    background: none;
    border: 0;
    font-size: 1.25rem;
    line-height: 1;
    color: #FFFFFF;
    padding: 2px 6px;
    cursor: pointer;
  }
  .wd-ev-title__name {
    flex: 1;
    text-align: center;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .wd-ev-title__spacer {
    width: 30px;
    flex-shrink: 0;
  }
  .wd-ev-tabs {
    display: flex;
    background: #2E3439;
    border: 1px solid #3A4147;
    border-top: 0;
  }
  .wd-ev-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 0 6px;
    background: #2E3439;
    border: 0;
    border-right: 1px solid #3A4147;
    color: #AEB6BD;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .05em;
    cursor: pointer;
  }
  .wd-ev-tab:last-child {
    border-right: 0;
  }
  .wd-ev-tab i {
    font-size: 1.3rem;
    line-height: 1;
  }
  .wd-ev-tab.active {
    color: #fff;
    box-shadow: inset 0 -3px 0 #126E51;
  }
  .table tbody td.wd-suspended-cell {
    background: rgba(31, 41, 55, 0.92) !important;
    vertical-align: middle;
    text-align: center;
  }
  .wd-suspended-faint {
    display: block;
    color: #8A939B;
    font-size: .72rem;
    font-weight: 600;
  }
  .wd-suspended-text {
    display: block;
    color: #DC2626;
    font-weight: 800;
    font-size: .95rem;
    letter-spacing: .05em;
  }
  .wd-market-table .oddBtn .odd-vol {
    display: block;
    font-size: .68rem;
    color: #C7CDD3;
  }
@media (max-width: 575.98px) {
  .wd-ev-balance {
    font-size: .72rem;
    padding: 6px 8px;
  }
  .wd-ev-tab {
    font-size: .65rem;
  }
}
  .wd-section-bar {
    background: #126E51 !important;
    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;
  }
  .wd-section-bar:first-child {
    margin-top: 0;
  }
  .wd-section-bar:has(+ .wd-fancy-table-wrap) {
    border-radius: 10px 10px 0 0;
    margin-bottom: 0;
  }
  .wd-section-bar .wd-mkt-max {
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .04em;
    white-space: nowrap;
  }
  .wd-section-bar .wd-cashout-pill {
    margin-left: auto;
  }
  .wd-cashout-pill {
    background: #FFFFFF;
    color: #126E51;
    border: 1px solid #126E51;
    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);
  }
  .wd-cashout-pill:hover {
    filter: brightness(.95);
  }
  .wd-cashout-pill:disabled {
    opacity: .6;
    cursor: wait;
  }
  .wd-cashout-pill .wd-cashout-val {
    font-weight: 700;
  }
  .wd-sec-empty {
    color: #AEB6BD;
    font-size: .85rem;
  }
  .bb-announcement-line + .wd-section-bar {
    margin-top: 0;
  }
  .wd-fancy-filters {
    background: #0B4A38;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
  }
  .wd-fancy-filter {
    flex: 1;
    background: #0B4A38;
    color: #fff;
    border: 0;
    border-right: 1px solid #0E684E;
    padding: 9px 4px;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .04em;
    cursor: pointer;
    white-space: nowrap;
  }
  .wd-fancy-filter:last-child {
    border-right: 0;
  }
  .wd-fancy-filter.active {
    background: #126E51;
  }
  .wd-fancy-filter:hover {
    background: #0E684E;
  }
  .wd-fancy-filter.active:hover {
    background: #126E51;
  }
  .wd-market-table.wd-fancy-table thead th {
    background: #0B4A38 !important;
    color: #fff !important;
    border-color: #0E684E !important;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .05em;
  }
  .wd-fancy-table col.col-fancy-name {
    width: 52%;
  }
  .wd-fancy-table col.col-fancy-info {
    width: 30px;
  }
  .wd-fancy-table col.col-fancy-side {
    width: 22%;
  }
  .wd-fancy-table .wd-fancy-info {
    width: 30px;
    text-align: center;
  }
  .wd-fancy-table thead th.wd-fancy-info-head {
    width: 30px;
  }
  .wd-fancy-table .fancy-cell__title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
  }
  button.wd-mkt-ladder {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    color: #72BBEF;
  }
  .wd-mkt-info {
    color: #AEB6BD;
  }
  .wd-mkt-b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    background: #1F2937;
    color: #fff;
    font-size: .62rem;
    font-weight: 800;
    line-height: 1;
    border-radius: 4px;
  }
  .wd-mkt-gear {
    color: #AEB6BD;
    font-size: .95rem;
    line-height: 1;
  }
  .wd-fancy-empty {
    background: #2E3439;
    border: 1px solid #3A4147;
    border-top: 0;
    border-radius: 0 0 10px 10px;
  }
  td.wd-suspended-cell.wd-fancy-ballrunning .wd-suspended-text {
    font-weight: 800;
    letter-spacing: .08em;
  }
  .wd-scoreboard--photo {
    background: linear-gradient(rgba(8, 12, 18, 0.16), rgba(8, 12, 18, 0.28)), url('/assets/templates/world/images/match-cricket-bg-bright.webp') center 30%/cover no-repeat #0B1220 !important;
  }
  #evPaneTv .match-details-box {
    display: block !important;
  }
  .wd-scoreboard .wd-team-name {
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.75), 0 0 2px rgba(0, 0, 0, 0.55);
  }
  .wd-scoreboard .text-muted {
    color: #BDBDBD !important;
  }
  .wd-position-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 2px 2px 10px;
    font-size: .92rem;
    color: #FFFFFF;
  }
  .wd-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;
  }
  .wd-score-runs {
    color: #fff;
    font-weight: 800;
    font-size: 1.25rem;
    text-shadow: 0 1px 5px rgba(0,0,0,.75), 0 0 2px rgba(0,0,0,.55);
  }
  .wd-score-overs {
    color: #E5E7EB;
    font-size: .85rem;
  }
  .wd-score-line:empty {
    display: none;
  }
  .wd-badge-crr:empty, .wd-badge-rrr:empty {
    display: none;
  }
  .wd-market-table .wd-odd--empty {
    background: #3A4147 !important;
    color: #8A939B !important;
  }
  .wd-market-table td.wd-depth-empty {
    background: #2E3439;
  }
  .wd-market-table col.col-prices {
    width: 9%;
  }
  .wd-market-table col.col-runner {
    width: 40%;
  }
  .wd-market-table .wd-mkt-head th {
    white-space: nowrap;
  }
@media (max-width: 575.98px) {
  .wd-section-bar {
    font-size: .82rem;
    padding: 8px 10px;
  }
  .wd-fancy-filter {
    font-size: .68rem;
    padding: 8px 2px;
  }
  .wd-market-table .oddBtn .odd-val {
    font-size: .8rem;
  }
}

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

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

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

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

/* ============================================================
   .form-disabled moved from user/auth/register
   ============================================================ */
  .form-disabled {
    overflow: hidden;
    position: relative;
  }
  .form-disabled::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    top: 0;
    left: 0;
    backdrop-filter: blur(2px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    z-index: 99;
  }
  .form-disabled-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 991;
    font-size: 24px;
    height: auto;
    width: 100%;
    text-align: center;
    color: hsl(var(--dark-600));
    font-weight: 800;
    line-height: 1.2;
  }

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

/* ==========================================================================
   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(--wd-blue, #126E51), 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(--wd-blue, #126E51);
    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(--wd-blue, #126E51) !important;
    border-color: var(--wd-blue, #126E51) !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.wd-suspended-cell { background: #7F1D1D !important; }
#marketsContainer .wd-suspended-text { color: #FF6B6B !important; font-size: 1.05rem !important; letter-spacing: .08em !important; }
#marketsContainer .wd-suspended-faint { color: #FECACA !important; font-size: .75rem !important; }
#marketsContainer .wd-ballrunning-overlay { background: #7F1D1D !important; color: #FF6B6B !important; font-size: 1.05rem !important; letter-spacing: .08em !important; }
#marketsContainer .wd-ballrunning-overlay span { color: #FF6B6B !important; }
#marketsContainer .wd-ballrunning-overlay .wd-suspended-text { color: #FF6B6B !important; }
#marketsContainer .wd-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; }
}
.wd-obm-band { flex: 0 1 200px; background: #7F1D1D; border-radius: 4px; padding: 6px 8px; text-align: center; }
.wd-obm-band__faint { display: block; color: #FECACA; font-size: .72rem; font-weight: 600; }
.wd-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 badge (2026-11-16 mobile fix): mirror the floating
   bet-slip FAB's count on the bottom-nav Bet Slip button. It reuses
   .bb-betslip-fab__count so the existing bet-slip JS updates it; hidden
   when the count is 0 (JS toggles it). The event-nav MULTI badge already
   existed (.wd-nav-slip-count); it only gains the hide-at-0 toggle. */
.wd-bottom-nav__icon-wrap { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.wd-bottom-nav__count {
    position: absolute;
    top: -6px;
    right: -14px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--wd-blue);
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 17px;
    text-align: center;
}
.wd-bottom-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 layout
   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.
   Duration already 36s (wd-marquee, above); the event-page copy
   (wd-marquee2) is slowed to 36s in world/markets.blade.php. */
.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%); }
/* 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 wd-marquee animation above. */
.announcement-strip--static .announcement-text { animation: none !important; padding-left: 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; }

/* 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 World's
   own market-table rules force LIGHT fills (#72BBEF / #FAA9BA) in both
   modes — and the button colour itself was #FFFFFF here, the worst of all
   9 themes (fixed to #0F172A above). Fix: explicit dark .odd-val on light
   BACK/LAY cells. :not(.active) preserves the selected state (dark accent
   bg + white text). */
.wd-market-table .oddBtn.odd-back:not(.active) .odd-val,
.wd-market-table .oddBtn.odd-lay:not(.active) .odd-val,
.wd-market-table .oddBtn.btn-back:not(.active) .odd-val,
.wd-market-table .oddBtn.btn-lay:not(.active) .odd-val { color: #0F172A !important; }
