/* ==========================================================================
   BB-Bet — Ky theme (gold/black exchange, BB-Bet brand)
   Mobile-first: base = phone, min-width queries scale up.
   Palette: gold #FFC107 / #EEBF20 on pure black #000000, sidebar
   #0A0A0B, rows #272727, back cyan #43CEED, lay pink #F796FF.
   Dark cards, radius 12-16px.
   Loaded AFTER main.css / bb-polish.css / bb-premium.css, so these win.
   ========================================================================== */

:root {
    --ky-blue: #FFC107;
    --ky-blue-dark: #EEBF20;
    --ky-navy: #FFFFFF;
    --ky-bg: #000000;
    --ky-border: #272727;
    --ky-muted: #A1A1AA;
    --ky-back: #43CEED;
    --ky-lay: #F796FF;
    --ky-empty: #272727;
    --ky-radius: 14px;
}

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

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

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

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

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

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

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

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

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

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

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

.ky-header__nav-link:hover,
.ky-header__nav-link.active {
    color: var(--ky-blue);
    background: #0A0A0B;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.home-page .ky-match-row .btn-pin-game,
.ky-match-row .btn-pin-game {
    color: #71717A !important;
}

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

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

.ky-match-row .oddBtn.btn-back,
.ky-match-row .btn-back,
.ky-odds-box.ky-back {
    background: var(--ky-back);
    border-color: #2AA7C4;
    color: var(--ky-navy);
}

.ky-match-row .oddBtn.btn-back:hover {
    background: #2AA7C4;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Ky rows on phones: league hidden, head 3 columns, odds ~48px tall
   with 4–6px gaps, 10px between rows (ky-match-list gap). */
@media (max-width: 575.98px) {
    .ky-match__league { display: none; }
    a.ky-match__head { grid-template-columns: 26px 1fr 1fr; padding: 9px 12px; }
    .ky-match__body { padding: 8px 10px; gap: 6px; }
    .ky-odds { gap: 4px; }
    .ky-odd { min-height: 44px; font-size: .85rem; }
    .ky-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: #0A0A0B !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. */
.ky-tile-card__overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0) 100%) !important;
}
.ky-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. */
.ky-catbar { display: flex; align-items: center; gap: 6px; margin: 2px 0 12px; }
.ky-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;
}
.ky-catbar__scroll::-webkit-scrollbar { display: none; }
.ky-cat-chip {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
    background: #0A0A0B; border: 1px solid var(--ky-border); border-radius: 999px;
    padding: 7px 13px; font-weight: 700; font-size: .83rem; color: var(--ky-navy);
    cursor: pointer; white-space: nowrap; scroll-snap-align: start;
}
.ky-cat-chip__icon { color: var(--ky-blue); font-size: 1.05rem; display: inline-flex; line-height: 1; }
.ky-cat-chip:hover { border-color: var(--ky-blue); }
.ky-cat-chip.is-active { background: var(--ky-blue); border-color: var(--ky-blue); color: #fff; }
.ky-cat-chip.is-active .ky-cat-chip__icon { color: #fff; }
.ky-catbar__arrow {
    flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid var(--ky-border); background: #0A0A0B; color: var(--ky-blue);
    font-size: 1rem; line-height: 1; cursor: pointer; display: none;
    align-items: center; justify-content: center;
}
.ky-catbar__arrow:disabled { opacity: .35; cursor: default; }
.ky-catbar-empty { background: #0A0A0B; border: 1px solid var(--ky-border); border-radius: 12px; text-align: center; padding: 28px 20px; color: #A1A1AA; margin-bottom: 12px; }
.ky-catbar-empty i { font-size: 2rem; opacity: .5; display: block; margin-bottom: 6px; }
.ky-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) {
    .ky-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;
    }
}

/* ==========================================================================
   KY ADDITIONS — gold/black exchange. Appended after the mapped Diamond
   base; these rules win on equal specificity (later in the file).
   Palette: black #000000, sidebar #0A0A0B, input/row #272727, gold
   #FFC107 / #EEBF20, gold bar #F0C71E, back cyan #43CEED, lay pink
   #F796FF, deeper back #293335, deeper lay #352D36, unavailable
   teal #216777 / purple #7C4B80, flash #FFC107, in-play #2DA669,
   cashout #13FF6F, tile purple #9432F1 / cyan #42BDD9 / orange #ED8A32.
   ========================================================================== */

/* ---- black header, gold logo + gold accents ---- */
.ky-header-wrap { background: #000000 !important; border-bottom: 2px solid #FFC107; }
.ky-header { background: #000000 !important; }
.ky-header__burger { color: #FFC107 !important; }
.ky-header__logo-text { color: #FFC107 !important; font-weight: 800; letter-spacing: .06em; }
.ky-header__logo-text span { color: #FFC107 !important; }
.ky-header__nav-link { color: #E4E4E7 !important; }
.ky-header__nav-link:hover, .ky-header__nav-link.active { color: #FFC107 !important; }
.ky-header .btn-theme-toggle { color: #FFC107 !important; }
.ky-header__balance { background: #272727 !important; color: #fff !important; border: 1px solid #FFC107 !important; }
.ky-header__balance strong { color: #FFC107 !important; }
.ky-btn-login { color: #FFC107 !important; border-color: #FFC107 !important; background: transparent !important; }
.ky-btn-login:hover { background: #FFC107 !important; color: #000 !important; }
.ky-btn-signup { background: #FFC107 !important; color: #000 !important; border-color: #FFC107 !important; }
.ky-btn-signup:hover { background: #EEBF20 !important; color: #000 !important; }
.ky-header .user-wallet-btn { background: #272727 !important; color: #fff !important; border: 1px solid #3F3F46 !important; }
.ky-header .user-profile-btn { color: #fff !important; }
.ky-header .dropdown-menu { background: #0A0A0B !important; border: 1px solid #272727 !important; }
.ky-header .dropdown-menu .dropdown-item { color: #E4E4E7 !important; }
.ky-header .dropdown-menu .dropdown-item:hover { background: #272727 !important; color: #FFC107 !important; }

/* ---- theme preset bar (very top) ---- */
.ky-themebar { background: #000000; border-bottom: 1px solid #272727; display: flex; align-items: center; gap: 2px; overflow-x: auto; padding: 6px 10px; scrollbar-width: none; }
.ky-themebar::-webkit-scrollbar { display: none; }
.ky-themebar__label { color: #71717A; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-right: 6px; white-space: nowrap; }
.ky-themebar__item { flex: 0 0 auto; color: #A1A1AA; font-size: .8rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; text-decoration: none; border: 1px solid transparent; white-space: nowrap; }
.ky-themebar__item:hover { color: #FFC107; text-decoration: none; }
.ky-themebar__item.is-active { background: #FFC107; color: #000; border-color: #FFC107; }
.ky-themebar__soon { font-size: .6rem; font-weight: 800; color: #71717A; border: 1px solid #3F3F46; border-radius: 999px; padding: 0 5px; margin-left: 4px; text-transform: uppercase; }

/* ---- sport nav (scrollable, gold-dot separators) ---- */
.ky-sportnav { background: #000000; display: flex; align-items: center; overflow-x: auto; padding: 8px 10px; gap: 0; scrollbar-width: none; border-bottom: 1px solid #272727; }
.ky-sportnav::-webkit-scrollbar { display: none; }
.ky-sportnav__item { flex: 0 0 auto; color: #E4E4E7; font-size: .85rem; font-weight: 700; padding: 4px 10px; text-decoration: none; white-space: nowrap; }
.ky-sportnav__item:hover { color: #FFC107; text-decoration: none; }
.ky-sportnav__item.is-active { color: #FFC107; box-shadow: inset 0 -2px 0 #FFC107; }
.ky-sportnav__dot { flex: 0 0 auto; color: #FFC107; font-size: .6rem; padding: 0 2px; }

/* ---- scrolling announcement marquee ---- */
.announcement-strip { background: #000000 !important; border-bottom: 1px solid #272727; }
.announcement-strip .badge-brand { background: #FFC107 !important; color: #000 !important; }
.announcement-strip .announcement-text { display: inline-block; color: #FFC107 !important; padding-left: 100%; animation: ky-marquee 36s linear infinite; will-change: transform; }
@keyframes ky-marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .announcement-strip .announcement-text { animation: none; padding-left: 0; } }

/* ---- odds cells: black text on cyan / pink (beats the mapped white) ---- */
html[data-theme="light"] .ky-match .ky-odd--back,
html[data-theme="dark"] .ky-match .ky-odd--back,
.ky-match-row .oddBtn.btn-back { background: #43CEED !important; border-color: #2AA7C4 !important; color: #000 !important; }
html[data-theme="light"] .ky-match .ky-odd--lay,
html[data-theme="dark"] .ky-match .ky-odd--lay,
.ky-match-row .oddBtn.btn-lay { background: #F796FF !important; border-color: #C97BD1 !important; color: #000 !important; }
.ky-odd { color: #000 !important; }
.ky-odd--empty { background: #272727 !important; color: #71717A !important; }
.ky-match-row .oddBtn.btn-back:hover { background: #2AA7C4 !important; }
.ky-match-row .oddBtn.btn-lay:hover { background: #E07BE8 !important; }
/* deeper shades (fancy / depth rows reuse these when present) */
.ky-odd--back-deep { background: #293335 !important; color: #43CEED !important; }
.ky-odd--lay-deep { background: #352D36 !important; color: #F796FF !important; }
.ky-odd--unavailable { background: #216777 !important; color: #A1A1AA !important; }
.ky-odd--unavailable-lay { background: #7C4B80 !important; color: #D4D4D8 !important; }
/* price-change flash: amber-yellow with black text */
.odds-flash-up, .odds-flash-down { background: #FFC107 !important; color: #000 !important; }
.odds-flash-up .odd-rate, .odds-flash-down .odd-rate { color: #000 !important; }

/* ---- match band: dark row, gold away team ---- */
a.ky-match__head { background: #272727 !important; }
.ky-match { background: #0A0A0B !important; border-color: #272727 !important; }
.ky-match__team--home { color: #FFFFFF !important; }
.ky-match__team--away { color: #FFC107 !important; }
.ky-match__league { color: #A1A1AA !important; }
.ky-match__sport { color: #FFC107 !important; }
.ky-match__body .ky-pin { color: #71717A !important; }
.ky-match__body .ky-pin.active, .ky-match-row .btn-pin-game.active .pin-star-icon { color: #FFC107 !important; }
.ky-match-row .sports-card { background: #0A0A0B !important; border-color: #272727 !important; }
.ky-category-head, .ky-league-head { background: #0A0A0B !important; border-color: #272727 !important; color: #fff !important; }
.ky-category-head { border-left-color: #FFC107 !important; }
.ky-match-feed .match-filter-toolbar { background: #0A0A0B !important; border-color: #272727 !important; }
.ky-match-feed .match-tab-btn { background: #272727 !important; border-color: #272727 !important; color: #fff !important; }
.ky-match-feed .match-tab-btn.active { background: #FFC107 !important; border-color: #FFC107 !important; color: #000 !important; }
.ky-match-feed .match-search-input { background: #272727 !important; border-color: #272727 !important; color: #fff !important; }
.ky-match-feed .match-search-input::placeholder { color: #A1A1AA !important; }

/* ---- gradient category tile grid (CSS-built, no photos) ---- */
.ky-gradtiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.ky-gradtile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 92px; border-radius: 14px; color: #fff !important; text-decoration: none; font-weight: 800; font-size: .9rem; text-align: center; padding: 12px 6px; }
.ky-gradtile:hover { color: #fff !important; text-decoration: none; filter: brightness(1.15); }
.ky-gradtile i { font-size: 1.7rem; line-height: 1; }
.ky-gradtile--purple { background: linear-gradient(135deg, #9432F1, #6D28D9); }
.ky-gradtile--cyan { background: linear-gradient(135deg, #42BDD9, #0E7490); }
.ky-gradtile--orange { background: linear-gradient(135deg, #ED8A32, #C2410C); }
.ky-gradtile--gold { background: linear-gradient(135deg, #F0C71E, #976E01); color: #000 !important; }
.ky-gradtile--gold:hover { color: #000 !important; }
.ky-gradtile--green { background: linear-gradient(135deg, #2DA669, #14532D); }
.ky-gradtile--pink { background: linear-gradient(135deg, #F796FF, #9432F1); }
@media (max-width: 767.98px) { .ky-gradtiles { grid-template-columns: repeat(5, 1fr); gap: 6px; } .ky-gradtile { min-height: 74px; font-size: .72rem; } .ky-gradtile i { font-size: 1.35rem; } }

/* ---- racing strip ---- */
.ky-racing { display: flex; align-items: center; gap: 10px; background: #0A0A0B; border: 1px solid #272727; border-radius: 14px; padding: 10px 12px; overflow-x: auto; scrollbar-width: none; }
.ky-racing::-webkit-scrollbar { display: none; }
.ky-racing__label { flex: 0 0 auto; color: #FFC107; font-weight: 800; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; }
.ky-racing__race { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; background: #272727; color: #fff; border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: .82rem; text-decoration: none; }
.ky-racing__race:hover { color: #FFC107; text-decoration: none; }
.ky-racing__flag { font-size: 1rem; line-height: 1; }
.ky-racing__all { flex: 0 0 auto; margin-left: auto; color: #FFC107; font-weight: 700; font-size: .82rem; white-space: nowrap; }

/* ---- category chips: active = yellow pill, black text ---- */
.ky-cat-chip { background: #272727 !important; border-color: #272727 !important; color: #fff !important; }
.ky-cat-chip__icon { color: #FFC107 !important; }
.ky-cat-chip:hover { border-color: #FFC107 !important; }
.ky-cat-chip.is-active { background: #FFC107 !important; border-color: #FFC107 !important; color: #000 !important; }
.ky-cat-chip.is-active .ky-cat-chip__icon { color: #000 !important; }
.ky-catbar__arrow { background: #272727 !important; border-color: #272727 !important; color: #FFC107 !important; }
.ky-catbar-empty { background: #0A0A0B !important; border-color: #272727 !important; color: #A1A1AA !important; }

/* ---- in-play header / popular ---- */
.ky-inplay-head__title { color: #FFC107 !important; }
.ky-inplay-head__boost { background: #FFC107 !important; color: #000 !important; }
.ky-inplay-head__hint { color: #FFC107 !important; }
.ky-sport-title { color: #fff !important; }
.ky-sport-title__icon { color: #FFC107 !important; }
.ky-sport-title__count { background: #2DA669 !important; color: #fff !important; }
.ky-popular-head span { background: #FFC107 !important; color: #000 !important; }
.ky-popular-tab { background: #272727 !important; border-color: #272727 !important; color: #fff !important; }
.ky-popular-tab.active { background: #FFC107 !important; border-color: #FFC107 !important; color: #000 !important; }
.ky-empty { background: #0A0A0B !important; border-color: #272727 !important; color: #A1A1AA !important; }
.ky-btn { background: #FFC107 !important; color: #000 !important; }
.ky-btn:hover { background: #EEBF20 !important; color: #000 !important; }

/* ---- floating bottom nav: dark grey rounded bar, WhatsApp centre ---- */
.ky-bottom-nav { left: 12px !important; right: 12px !important; bottom: 12px !important; background: #262626 !important; border: 1px solid #3F3F46 !important; border-radius: 999px !important; box-shadow: 0 6px 24px rgba(0,0,0,.55) !important; padding: 4px 6px !important; }
.ky-bottom-nav__item { color: #A1A1AA !important; }
.ky-bottom-nav__item:hover { color: #FFC107 !important; }
.ky-bottom-nav__item--active, .ky-bottom-nav__item.is-active { color: #FFC107 !important; background: transparent !important; border-radius: 999px !important; }
.ky-bottom-nav__wa { flex: 0 0 auto !important; width: 52px; height: 52px; margin-top: -26px; border-radius: 50% !important; background: #25D366 !important; color: #fff !important; border: 3px solid #262626 !important; box-shadow: 0 4px 14px rgba(0,0,0,.5); align-items: center; justify-content: center; padding: 0 !important; }
.ky-bottom-nav__wa i { font-size: 1.7rem !important; }
.ky-bottom-nav__wa:hover { color: #fff !important; background: #1EBE5B !important; }
@media (min-width: 1024px) { .ky-bottom-nav { display: none !important; } }

/* ---- floating chrome sits above the floating nav ---- */
.cookies-card { background: #0A0A0B !important; color: #E4E4E7 !important; border: 1px solid #FFC107 !important; bottom: 92px !important; }
.cookies-card .cookies-card__content { color: #E4E4E7 !important; }
@media (max-width: 767.98px) {
    .bb-chatbot-container { bottom: 92px !important; }
    body:has(.cookies-card:not(.d-none):not(.hide)) .bb-chatbot-container { bottom: 240px !important; }
}
@media (max-width: 575.98px) { .bb-betslip-fab { bottom: 140px !important; } }

/* ---- Ky footer ---- */
.ky-footer { background: #000000; border-top: 2px solid #FFC107; color: #E4E4E7; padding: 26px 16px 12px; }
.ky-footer__logo img { max-height: 44px; }
.ky-footer__logo-text { color: #FFC107; font-weight: 800; font-size: 1.4rem; letter-spacing: .06em; }
.ky-footer__about { color: #A1A1AA; font-size: .85rem; }
.ky-footer__title { color: #FFC107; font-weight: 800; letter-spacing: .06em; font-size: .85rem; text-transform: uppercase; margin-bottom: 12px; }
.ky-footer__link { color: #E4E4E7; font-size: .88rem; text-decoration: none; display: block; padding: 3px 0; }
.ky-footer__link:hover { color: #FFC107; text-decoration: none; }
.ky-footer .social-list__icon { background: #272727; color: #FFC107; }
.ky-footer-bottom { background: #000000; color: #71717A; border-top: 1px solid #272727; padding: 12px 16px 100px; font-size: .78rem; }
@media (min-width: 1024px) { .ky-footer-bottom { padding-bottom: 16px; } }

/* ---- desktop column cap (same as Diamond) ---- */
@media (min-width: 1200px) {
    .home-page > .sports-body { max-width: 1080px; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
}

/* ---- live-now rail on dark ---- */
.ky-live .live-now-card { background: #0A0A0B !important; border: 1px solid #272727 !important; }
.ky-live .live-now-card__name, .ky-live .live-now-card__league { color: #fff !important; }
.ky-live .sports-visual-rail__title { color: #fff !important; }
.ky-live .live-now-card__odd { background: #272727 !important; color: #FFC107 !important; }

/* ==========================================================================
   FIX 2026-11-11 — beat the base theme's light-theme rules (live QC).
   The blade @push('style') block loads BEFORE bb-premium/custom.css, so
   equal-specificity rules there lose; these live in ky.css (loads last)
   with equal-or-higher specificity. Same defect class Jack hit on the
   market bar (bb-premium forced #0A5FBF). The page also sits on
   data-theme="light" by default, so html[data-theme="light"] rules in
   custom.css must be matched selector-for-selector.
   ========================================================================== */
html[data-theme="light"] body.bb-page-surface,
html[data-theme="dark"] body.bb-page-surface { background: #000000 !important; }
html[data-theme="light"] .home-page,
html[data-theme="dark"] .home-page { background: #000000 !important; }
html[data-theme="light"] .home-page .sports-body,
html[data-theme="dark"] .home-page .sports-body { background: #000000 !important; }
html[data-theme="light"] .announcement-strip,
html[data-theme="dark"] .announcement-strip,
html:not([data-theme="dark"]) .announcement-strip { background: #000000 !important; border-bottom: 1px solid #272727 !important; }
html[data-theme="light"] .announcement-strip .announcement-text,
html[data-theme="dark"] .announcement-strip .announcement-text,
html:not([data-theme="dark"]) .announcement-strip .announcement-text { color: #FFC107 !important; }
html[data-theme="light"] .announcement-strip .badge-brand,
html[data-theme="dark"] .announcement-strip .badge-brand { background: #FFC107 !important; color: #000 !important; }
/* Market header bar: beat bb-premium .home-page .market-accordion .accordion-button (#0A5FBF). */
.home-page .market-accordion .accordion-button.ky-mkt-bar { background: linear-gradient(90deg, #976E01, #D3872F) !important; color: #000 !important; }
.home-page .market-accordion .accordion-button.ky-mkt-bar::after { filter: none !important; }
.ky-mkt-bar .badge { background: #000 !important; color: #FFC107 !important; border: 1px solid #FFC107 !important; }
/* Market table: beat bb-premium .home-page .col-head-pill--* (#A5D9FE / #F8D0CE). */
.home-page .col-head-pill--back { background: #43CEED !important; color: #000 !important; }
.home-page .col-head-pill--lay { background: #F796FF !important; color: #000 !important; }
.home-page .ky-market-table td.cell-back,
.home-page .ky-market-table td.cell-lay { background: #272727 !important; }
.home-page .ky-market-table .ky-mkt-head th { background: #272727 !important; color: #fff !important; border-color: #272727 !important; }
html[data-theme="light"] .ky-market-table .runner-name,
html[data-theme="dark"] .ky-market-table .runner-name { color: #fff !important; }
/* Scoreboard team names: beat custom.css html:not([data-theme="dark"]) h4. */
html[data-theme="light"] .ky-scoreboard h4.ky-team-name,
html[data-theme="dark"] .ky-scoreboard h4.ky-team-name { color: #fff !important; }
/* Scoreboard blue (Bootstrap text-primary) labels -> gold. */
.ky-scoreboard .text-primary, .ky-live-strip .text-primary { color: #FFC107 !important; }
/* League + category headers: dark strip, white text, gold count. */
.ky-league-head, .ky-category-head { background: #0A0A0B !important; border-color: #272727 !important; }
.ky-league-head .exchange-league-header__sport,
.ky-league-head .league-group-heading__name,
.ky-category-head .exchange-category-header__name { color: #fff !important; }
.ky-league-head .league-group-heading__count,
.ky-category-head .exchange-category-header__count { background: #FFC107 !important; color: #000 !important; }
.ky-category-head .exchange-category-header__all { color: #FFC107 !important; }
/* In-play sport titles: white on black (blade rule lost to base h5). */
.ky-sport-title { color: #fff !important; }
/* 1-click bar + market filter tabs: dark, active = gold pill. */
.ky-oneclick-bar { background: #0A0A0B !important; border-color: #272727 !important; }
.ky-oneclick-bar .form-check-label { color: #fff !important; }
.market-filter-tabs .market-tab { background: #272727 !important; color: #fff !important; border-color: #272727 !important; }
.market-filter-tabs .market-tab.active { background: #FFC107 !important; color: #000 !important; border-color: #FFC107 !important; }
/* Open-bets / tracker cards: dark, light text. */
.ky-open-bets { background: #0A0A0B !important; border-color: #272727 !important; color: #E4E4E7 !important; }
.ky-open-bets td, .ky-open-bets th { color: #E4E4E7 !important; }
.ky-tracker-box, .ky-details-box { background: #0A0A0B !important; border-color: #272727 !important; }

/* FIX 2026-11-11 (round 2) — two stragglers from the re-QC: the scoreboard
   live labels and the market filter tabs still showed the base theme's
   colours. Escalated selectors below. */
html[data-theme="light"] .ky-scoreboard .text-primary,
html[data-theme="dark"] .ky-scoreboard .text-primary,
html[data-theme="light"] .ky-live-strip .text-primary,
html[data-theme="dark"] .ky-live-strip .text-primary,
#liveScoreSituation { color: #FFC107 !important; }
.home-page .market-filter-tabs .market-tab { background: #272727 !important; color: #fff !important; border-color: #272727 !important; }
.home-page .market-filter-tabs .market-tab.active { background: #FFC107 !important; color: #000 !important; border-color: #FFC107 !important; }

/* FIX 2026-11-11 (round 3) — filter tabs: the competitor is bb-premium
   html[data-theme="light"] .home-page .market-tab.active (0,4,1). Match
   the selector shape so ky.css (loads last) wins the tie. */
html[data-theme="light"] .home-page .market-filter-tabs .market-tab,
html[data-theme="dark"] .home-page .market-filter-tabs .market-tab { background: #272727 !important; color: #fff !important; border-color: #272727 !important; }
html[data-theme="light"] .home-page .market-filter-tabs .market-tab.active,
html[data-theme="dark"] .home-page .market-filter-tabs .market-tab.active { background: #FFC107 !important; color: #000 !important; border-color: #FFC107 !important; }

/* FIX 2026-11-11 (round 4) — CDP cascade diagnosis:
   - badge: bb-premium `.home-page .market-accordion .accordion-button .badge`
     (0,4,0) beat ky.css `.ky-mkt-bar .badge` (0,2,0); both !important.
   - runner td: bb-premium `.table tbody td` sets
     `background: var(--bb-table-td-bg) !important` (white in light theme);
     ky.css only overrode td.cell-back / td.cell-lay, leaving the runner
     column white with white text.
   - stake pill: bb-polish light rule (#F1F5F9) and bb-premium active rule
     (#0A5FBF) beat the blade's `.quick-stake-pill` rules. */
.home-page .market-accordion .accordion-button.ky-mkt-bar .badge { background: #000 !important; color: #FFC107 !important; border: 1px solid #FFC107 !important; }
.home-page .ky-market-table tbody td { background: #272727 !important; color: #fff !important; }
.home-page .ky-market-table tbody td.ky-suspended-cell { background: rgba(0,0,0,0.92) !important; }
html[data-theme="light"] .quick-stake-pill,
html[data-theme="dark"] .quick-stake-pill { background: #272727 !important; color: #fff !important; border-color: #272727 !important; }
html[data-theme="light"] .quick-stake-pill.active,
html[data-theme="dark"] .quick-stake-pill.active { background: #FFC107 !important; color: #000 !important; border-color: #FFC107 !important; }

/* ==========================================================================
   FIX 2026-11-11 (Ky round) — reference-fidelity appendix, ky-diff.md.
   All rules Ky-owned in ky.css (loads last). No shared file touched.
   ========================================================================== */

/* #2 Desktop left sports sidebar: near-black, white text, gold active.
   Competitor: bb-premium.css:124-129 `.home-page .sports-category,
   .sports-category { background: var(--bbp-surface) !important; }`
   (0,2,0) — same specificity, ky.css loads last so this wins. */
.home-page .sports-category { background: #0A0A0B !important; }
.home-page .sports-category .sports-category__link { color: #fff !important; }
.home-page .sports-category .sports-category__link:hover { background: #272727 !important; color: #fff !important; }
.home-page .sports-category .sports-category__link.active { background: #FFC107 !important; color: #000 !important; }
.home-page .sports-category .sports-category__link.active .sports-category__icon { color: #000 !important; }

/* #3 Desktop right Bet Slip column: dark, gold tab + Place Bet.
   Competitor: bb-premium `.bb-page-surface .btn--base
   { background: var(--bbp-accent) !important; }` (0,2,0). */
body .betslip { background: #0A0A0B !important; }
body .betslip .betslip-header { background: #000 !important; }
body .betslip .bet-type__btn span { background: #272727 !important; color: #fff !important; }
body .betslip .bet-type__btn:has(input:checked) span,
body .betslip .bet-type__btn input:checked + span { background: #FFC107 !important; color: #000 !important; }
body .betslip .btn--base { background: #FFC107 !important; border-color: #FFC107 !important; color: #000 !important; }
body .betslip .quick-stake-btn { background: #272727 !important; color: #fff !important; border-color: #272727 !important; }
body .betslip .quick-stake-btn.active { background: #FFC107 !important; color: #000 !important; border-color: #FFC107 !important; }
body .betslip .betslip-balance-bar { background: #0A0A0B !important; color: #fff !important; }
body .betslip .betslip-add-points-btn { background: #272727 !important; color: #FFC107 !important; }

/* #4 Home sport section headers: dark, never the shared blue bar.
   Competitor: bb-premium.css:4836 `.home-page .exchange-category-header
   { background: #0A5FBF !important; }` (0,2,0) — (0,3,0) here wins. */
.home-page .exchange-category-header.ky-category-head { background: #0A0A0B !important; border: 1px solid #272727 !important; }
.home-page .exchange-category-header.ky-category-head .exchange-category-header__name { color: #fff !important; }
.home-page .exchange-category-header.ky-category-head .exchange-category-header__count { background: #FFC107 !important; color: #000 !important; }
.home-page .exchange-category-header.ky-category-head .exchange-category-header__all { color: #FFC107 !important; }

/* #14 Footer: the `.footer--light` wrapper rendered a white card around
   the already black/gold Ky footer. */
body .footer.footer--light { background: #000000 !important; }
body .footer .footer-bottom { background: #000000 !important; }

/* #16 Active-tab guard: bb-premium.css:4658 forces blue on
   `.home-page .match-tab-btn.active, .home-page .market-tab.active`. */
html[data-theme="light"] .home-page .match-tab-btn.active,
html[data-theme="dark"] .home-page .match-tab-btn.active,
html[data-theme="light"] .home-page .market-tab.active,
html[data-theme="dark"] .home-page .market-tab.active { background: #FFC107 !important; border-color: #FFC107 !important; color: #000 !important; }

/* #17 Blue accent leaks on the casino lobby (Basic fallback view):
   LIVE ARENA pill (cyan gradient), Launch Crash Games (btn-primary blue),
   Help & Guide FAB (blue gradient). Gold/black instead. */
.casino-live-badge { background: #FFC107 !important; background-image: none !important; color: #000 !important; box-shadow: none !important; }
.casino-hero-cta.btn-primary { background: #FFC107 !important; border-color: #FFC107 !important; color: #000 !important; }
.bb-chatbot-btn { background: #FFC107 !important; background-image: none !important; color: #000 !important; box-shadow: 0 6px 18px rgba(255, 193, 7, 0.28) !important; }
.bb-chatbot-btn .bb-chatbot-btn-text { color: #000 !important; }

/* #6 Empty/unavailable odds cells: back teal #216777, lay purple #7C4B80
   (reference colours; the .ky-odd--unavailable* classes at ky.css:890-891
   were defined but never emitted). Home/live rows carry the side class on
   the empty button; market tables get it from the cell context. */
.ky-odd--back.ky-odd--empty { background: #216777 !important; color: #A1A1AA !important; }
.ky-odd--lay.ky-odd--empty { background: #7C4B80 !important; color: #D4D4D8 !important; }
.home-page .ky-market-table tbody td.cell-back .ky-odd--empty { background: #216777 !important; }
.home-page .ky-market-table tbody td.cell-lay .ky-odd--empty { background: #7C4B80 !important; }
.home-page .ky-market-table tbody td.ky-depth-empty { background: #0A0A0B !important; }
/* FANCY BALL RUNNING cell must keep its red tint: ky.css round-4
   `td.ky-suspended-cell` (0,3,1) ties the pushed-style ballrunning rule
   and loads last, so re-assert it here at higher specificity. */
.home-page .ky-market-table tbody td.ky-suspended-cell.ky-fancy-ballrunning { background: rgba(24, 8, 10, 0.88) !important; }
.home-page .ky-market-table tbody td.ky-suspended-cell.ky-fancy-ballrunning .ky-suspended-faint { color: #FCA5A5 !important; }
.home-page .ky-market-table tbody td.ky-suspended-cell.ky-fancy-ballrunning .ky-suspended-text { color: #FF3B30 !important; }

/* Event breadcrumb (ky-diff #9) + header Liability/Balance pills (#22). */
.ky-breadcrumb { display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: center; font-size: .8rem; color: #A1A1AA; padding: 2px 2px 10px; }
.ky-breadcrumb a { color: #FFC107; font-weight: 700; text-decoration: none; }
.ky-breadcrumb__start { margin-left: auto; color: #fff; font-weight: 600; }
@media (max-width: 575.98px) {
    .ky-breadcrumb { font-size: .72rem; }
    .ky-breadcrumb__start { margin-left: 0; }
}
.ky-header__pill { background: #0A0A0B; border: 1px solid #FFC107; color: #fff; border-radius: 999px; padding: 3px 10px; font-size: .75rem; font-weight: 700; display: inline-flex; gap: 4px; align-items: center; white-space: nowrap; }
.ky-header__pill strong { color: #FFC107; }

/* Section-bar / market-bar stars sit on the gold gradient: black, not gold
   (the gold star only reads on the dark fancy rows). */
.ky-section-bar .ky-mkt-star,
.ky-mkt-bar .ky-mkt-star { color: #000 !important; }

/* FIX 2026-11-11 (Ky round, specificity round 2) — CDP cascade diagnosis:
   the diff's assumed competitors were wrong; the live winners are
   `html[data-theme="light"] ...` rules at (0,2,1) and
   `.bb-page-surface .btn.btn--base` at (0,3,0). Match those shapes here
   (ky.css loads last, so ties go to Ky). */
html:not([data-theme="dark"]) .sports-category,
html[data-theme="light"] .sports-category,
html[data-theme="dark"] .sports-category { background: #0A0A0B !important; }
html[data-theme="light"] .betslip,
html[data-theme="dark"] .betslip { background: #0A0A0B !important; }
html[data-theme="light"] .bb-page-surface .betslip .btn--base,
html[data-theme="dark"] .bb-page-surface .betslip .btn--base { background: #FFC107 !important; border-color: #FFC107 !important; color: #000 !important; }
html[data-theme="light"] .betslip .quick-stake-btn,
html[data-theme="dark"] .betslip .quick-stake-btn { background: #272727 !important; color: #fff !important; border-color: #272727 !important; }
html[data-theme="light"] .ky-match .ky-odd--back.ky-odd--empty,
html[data-theme="dark"] .ky-match .ky-odd--back.ky-odd--empty { background: #216777 !important; color: #A1A1AA !important; }
html[data-theme="light"] .ky-match .ky-odd--lay.ky-odd--empty,
html[data-theme="dark"] .ky-match .ky-odd--lay.ky-odd--empty { background: #7C4B80 !important; color: #D4D4D8 !important; }

/* Racing countdown chips (ky-diff #23): real next-fixture times only. */
.ky-racing__chip { display: inline-flex; align-items: center; gap: 4px; background: #272727 !important; color: #FFC107 !important; border: 1px solid #272727; border-radius: 999px; padding: 3px 10px; font-size: .75rem; font-weight: 700; white-space: nowrap; text-decoration: none; }
.ky-racing__chip:hover { border-color: #FFC107; color: #FFC107 !important; }

/* ==========================================================================
   FIX 2026-11-11 (Ky exact-match round) — event-page gaps.
   Ky-owned rules; ky.css loads last, so equal-specificity ties go to Ky.
   ========================================================================== */

/* CRR/RRR badge pairs under BOTH scoreboard sides. The blade renders the
   honest "CRR: 0.0" / "RRR: 0.0" placeholders (the feed supplies no run
   rates in this build); the /api/live-stream poll overwrites them only
   when real values arrive. Gold on black = Ky's palette. */
.ky-scoreboard .ky-score-rates { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ky-scoreboard .ky-score-rates--end { justify-content: flex-end; }
.ky-scoreboard .ky-badge-crr,
.ky-scoreboard .ky-badge-rrr {
    background: #111111 !important;
    color: #FFC107 !important;
    border: 1px solid #FFC107 !important;
    font-weight: 800;
    font-size: .72rem;
    letter-spacing: .02em;
}

/* Fancy NO / YES cells: reference pink / blue. Scoped as
   `.table tbody td.ky-fancy-*` (0,2,2) and `.home-page ...` (0,3,2) to
   beat the shared `.table tbody td` bleach (0,1,2) AND Ky's own
   `.home-page .ky-market-table td.cell-back/cell-lay` (0,3,1). The
   price buttons inside are recoloured to match so the whole cell reads
   as NO/YES, not just a coloured border. */
.table tbody td.ky-fancy-no,
.home-page .ky-market-table tbody td.ky-fancy-no { background: rgb(255, 177, 180) !important; }
.table tbody td.ky-fancy-yes,
.home-page .ky-market-table tbody td.ky-fancy-yes { background: rgb(178, 231, 255) !important; }
.home-page .ky-market-table tbody td.ky-fancy-no .oddBtn,
.home-page .ky-market-table tbody td.ky-fancy-no .oddBtn:hover,
.home-page .ky-market-table tbody td.ky-fancy-no .oddBtn.active { background: rgb(255, 177, 180) !important; border-color: rgb(255, 177, 180) !important; color: #7F1D1D !important; text-shadow: none !important; }
.home-page .ky-market-table tbody td.ky-fancy-yes .oddBtn,
.home-page .ky-market-table tbody td.ky-fancy-yes .oddBtn:hover,
.home-page .ky-market-table tbody td.ky-fancy-yes .oddBtn.active { background: rgb(178, 231, 255) !important; border-color: rgb(178, 231, 255) !important; color: #0C4A6E !important; text-shadow: none !important; }
.home-page .ky-market-table tbody td.ky-fancy-no .oddBtn .odd-val,
.home-page .ky-market-table tbody td.ky-fancy-no .oddBtn .odd-vol { color: #7F1D1D !important; }
.home-page .ky-market-table tbody td.ky-fancy-yes .oddBtn .odd-val,
.home-page .ky-market-table tbody td.ky-fancy-yes .oddBtn .odd-vol { color: #0C4A6E !important; }

/* Display-only CASH OUT pills (one in MATCH ODDS, one in BOOKMAKER):
   black + gold, no pointer, no action. */
.ky-section-bar .ky-cashout-pill,
.ky-cashout-pill.ky-cashout-pill--display {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    background: #000000 !important;
    color: #FFC107 !important;
    border: 1px solid #FFC107 !important;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .03em;
    padding: 3px 10px;
    cursor: default;
    white-space: nowrap;
}

/* SUSPENDED / BALL RUNNING merged overlay cells. The shared
   `.table tbody td` bleach is (0,1,2); these (0,2,2)/(0,3,2) win. */
.table tbody td.ky-suspended-cell,
.home-page .ky-market-table tbody td.ky-suspended-cell {
    background: rgba(31, 41, 55, 0.92) !important;
    vertical-align: middle;
    text-align: center;
}
.home-page .ky-market-table tbody td.ky-suspended-cell.ky-fancy-ballrunning {
    background: rgba(31, 41, 55, 0.92) !important;
}
.ky-suspended-text {
    display: block;
    color: #DC2626 !important;
    font-weight: 800;
}
.home-page .ky-market-table tbody td.ky-suspended-cell.ky-fancy-ballrunning .ky-suspended-text {
    color: #DC2626 !important;
}
.ky-suspended-faint { display: block; color: #A1A1AA; font-size: .72rem; font-weight: 600; }

/* ==== moved from templates/ky/live_matches.blade.php (theme separation 2026-11-12) ==== */
        /* Ky in-play list — .ky-* only; ky.css untouched. */
        .ky-inplay-head { display: flex; align-items: center; gap: 10px; padding: 10px 2px 12px; flex-wrap: wrap; }
        .ky-inplay-head__title { color: #FFC107; font-weight: 800; font-size: 1.05rem; letter-spacing: .04em; }
        .ky-inplay-head__boost { margin-left: auto; margin-right: auto; background: #FFC107; color: #000; font-weight: 700; font-size: .85rem; padding: 7px 22px; transform: skewX(-18deg); display: inline-block; }
        .ky-inplay-head__hint { color: #FFC107; font-weight: 600; font-size: .85rem; }
        .ky-sport-title { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 800; color: #fff; margin: 14px 0 8px; }
        .ky-sport-title__icon { color: #FFC107; font-size: 1.15rem; display: inline-flex; }
        .ky-sport-title__count { margin-left: auto; background: #2DA669; color: #fff; font-size: .68rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
        /* .ky-match rows moved to ky.css 2026-11-10 (shared with home). */
        .ky-popular-head { margin: 22px 0 10px; }
        .ky-popular-head span { display: inline-block; background: #FFC107; color: #000; 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%); }
        .ky-popular-tabs { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
        .ky-popular-tab { border: 1px solid #272727; background: #272727; color: #fff; font-weight: 800; font-size: .82rem; letter-spacing: .03em; padding: 8px 18px; border-radius: 6px; cursor: pointer; transform: skewX(-12deg); }
        .ky-popular-tab.active { background: #FFC107; border-color: #FFC107; color: #000; }
        .ky-empty { background: #0A0A0B; border: 1px solid #272727; border-radius: 12px; text-align: center; padding: 36px 20px; color: #A1A1AA; }
        .ky-empty i { font-size: 2.2rem; opacity: .5; display: block; margin-bottom: 8px; }
        .ky-empty p { margin: 0 0 14px; }
        .ky-btn { display: inline-block; background: #FFC107; color: #000; font-weight: 700; font-size: .85rem; padding: 8px 18px; border-radius: 8px; text-decoration: none; }
        .ky-btn:hover { background: #EEBF20; color: #000; }
        @media (max-width: 575.98px) {
            .ky-inplay-head__boost { order: 3; margin: 0; }
            .ky-inplay-head__hint { margin-left: auto; }
        }
    

/* ==== moved from templates/ky/markets.blade.php (theme separation 2026-11-12) ==== */
        /* Ky markets (exchange-style tables) — .ky-* only; ky.css untouched. */
        .ky-scoreboard { background: #000000; border: 1px solid #272727; border-radius: 12px; }
        .ky-badge-cat { background: #FFC107; color: #000; }
        .ky-badge-league { background: #272727; color: #fff; border: 1px solid #272727; }
        .ky-badge-live { background: #2DA669; color: #fff; }
        .ky-badge-crr { background: #272727; color: #FFC107; }
        .ky-badge-rrr { background: #272727; color: #43CEED; border: 1px solid #272727; }
        .ky-badge-scheduled { background: #272727; color: #fff; border: 1px solid #272727; }
        .ky-badge-fancy { background: #FFC107; color: #000; }
        .ky-team-logo { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: #272727; }
        /* !important: custom.css sets html:not([data-theme="dark"]) h4
           (0,1,2) to near-black, which beats a plain class rule — the
           team names were unreadable on the dark-navy scoreboard. */
        .ky-scoreboard .ky-team-name { color: #FFFFFF !important; font-weight: 800; font-size: 1.1rem; }
        .ky-vs-badge { background: #272727; color: #A1A1AA; border: 1px solid #272727; border-radius: 999px; padding: 4px 10px; font-size: .8rem; }
        .ky-live-strip { background: #0A0A0B; border: 1px solid #272727; }
        .ky-strip-team { color: #FFFFFF; }
        .ky-details-box { background: #0A0A0B; border: 1px solid #272727; border-radius: 12px; padding: 10px 14px; }
        .ky-details-box summary { cursor: pointer; font-weight: 700; color: #fff; }
        .ky-tracker-box { background: #0A0A0B; border: 1px solid #272727; }
        .ky-tracker-empty { padding: 8px 4px; }
        .ky-action-banner { background: #272727; border: 1px solid #43CEED; border-radius: 8px; padding: 8px 12px; font-size: .85rem; color: #fff; }
        .ky-oneclick-bar { background: #0A0A0B; border: 1px solid #272727; flex-wrap: wrap; gap: 8px; }
        .ky-oneclick-bar .xsm-text { white-space: nowrap; }
        .ky-ball-running { background: #3A2E00; border: 1px solid #FFC107; border-radius: 8px; padding: 10px 16px; display: flex; align-items: center; color: #fff; }
        /* Market header bar: dark grey, star + name + MAX + BACK/LAY.
           gap: long titles + justify-content-between left the Min/Max
           text touching the title (no space between the flex groups). */
        .ky-mkt-bar { background: linear-gradient(90deg, #976E01, #D3872F) !important; color: #000 !important; border-radius: 12px 12px 0 0; gap: 12px; }
        .ky-mkt-bar::after { filter: none; }
        .ky-mkt-star { color: #FFC107; font-size: 1rem; line-height: 1; }
        .ky-mkt-max { color: #C7CDD3; font-size: .7rem; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
        .ky-market-table { background: #0A0A0B; }
        .ky-market-table .ky-mkt-head th { background: #272727; color: #fff; border-color: #272727; font-size: .8rem; }
        .ky-market-table .col-head-pill { display: inline-block; font-weight: 800; font-size: .75rem; letter-spacing: .06em; padding: 2px 14px; border-radius: 4px; }
        .ky-market-table .col-head-pill--back { background: #43CEED; color: #000; }
        .ky-market-table .col-head-pill--lay { background: #F796FF; color: #000; }
        .ky-market-table td.cell-back { background: #272727; }
        .ky-market-table td.cell-lay { background: #272727; }
        .ky-market-table .oddBtn { border-radius: 6px; border: 0; padding: 8px 4px; }
        .ky-market-table .oddBtn.odd-back { background: #43CEED; color: #000; }
        .ky-market-table .oddBtn.odd-lay { background: #F796FF; color: #000; }
        .ky-market-table .oddBtn .odd-val { font-weight: 800; font-size: .95rem; display: block; }
        .ky-market-table .cell-empty .depth-none { color: #52525B; }
        .ky-market-table .btn-locked { background: #272727; color: #A1A1AA; border: 0; }
        /* Suspended rows: dark price cells + red SUSPENDED badge on the runner. */
        .ky-market-table tr.ky-row-suspended td { background: #272727; }
        .ky-market-table tr.ky-row-suspended td.cell-back,
        .ky-market-table tr.ky-row-suspended td.cell-lay { background: #1F2937; }
        .ky-market-table tr.ky-row-suspended .btn-locked { background: #1F2937; color: #F87171; }
        .ky-suspended-badge { font-size: .65rem; }
        .fancy-state--live { color: #2DA669; font-weight: 700; font-size: .75rem; }
        .fancy-state__dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2DA669; margin-right: 4px; }
        .ky-open-bets { background: #0A0A0B; border: 1px solid #272727; border-radius: 12px; overflow: hidden; }
        .ky-modal { background: #0A0A0B; color: #fff; border: 1px solid #272727; }
        .ky-modal-band { background: #272727; border: 1px solid #272727; }
        .ky-modal-note { background: #0A0A0B; border: 1px solid #43CEED; }
        /* 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 { background: #FFC107 !important; color: #000 !important; outline: 2px solid #FFC107 !important; }
        .odds-flash-down { background: #FFC107 !important; color: #000 !important; outline: 2px solid #FFC107 !important; }
        .btn-submitting { opacity: 0.6; pointer-events: none; position: relative; }
        .quick-stake-pill { background: #272727; color: #fff; border: 1px solid #272727; border-radius: 4px; padding: 2px 8px; font-size: 0.75rem; font-weight: 600; transition: all 0.2s; }
        .quick-stake-pill.active { background: #FFC107; color: #000; border-color: #FFC107; }
        .bb-inline-bet { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: #0A0A0B; border: 1px solid #43CEED; border-radius: 8px; padding: 8px 10px; }
        .bb-inline-bet__name { font-weight: 700; color: #FFFFFF; }
        .bb-inline-bet__odds, .bb-inline-bet__side { font-size: .8rem; color: #FFC107; font-weight: 700; }
        .bb-inline-bet__input { flex: 1 1 120px; border: 1px solid #272727; border-radius: 6px; padding: 6px 8px; background: #272727; color: #fff; }
        .bb-inline-bet__return { font-size: .8rem; color: #A1A1AA; }
        .bb-inline-bet__place { background: #FFC107; color: #000; 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: #A1A1AA; }
        .cricket-ball { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; border-radius: 50%; background: #272727; border: 1px solid #272727; font-size: .7rem; font-weight: 700; color: #fff; padding: 0 4px; }
        .cricket-ball.four { background: #272727; border-color: #43CEED; color: #43CEED; }
        .cricket-ball.six { background: #14532D; border-color: #2DA669; color: #4ADE80; }
        .cricket-ball.wicket { background: #450A0A; border-color: #DC2626; color: #F87171; }
        .cricket-ball.active { outline: 2px solid #FFC107; }
        /* 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. */
        .ky-market-table .oddBtn.odd-back { background: #43CEED !important; border-color: #2AA7C4 !important; color: #000 !important; }
        .ky-market-table .oddBtn.odd-lay { background: #F796FF !important; border-color: #C97BD1 !important; color: #000 !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; }
        .ky-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) {
            .ky-team-name { font-size: .95rem; }
            .ky-ev-title__name { font-size: .72rem; letter-spacing: .02em; }
            .ky-ball-running { padding-right: 92px !important; }
            .ky-open-bets table { font-size: .72rem !important; }
            .ky-open-bets th, .ky-open-bets td { padding: 6px 3px !important; }
            .ky-market-table .oddBtn { padding: 6px 2px; }
            .ky-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. */
        .ky-ev-balance { background: #000000; color: #fff; font-size: .8rem; font-weight: 700; display: flex; justify-content: space-between; gap: 8px; padding: 7px 12px; border: 1px solid #272727; border-bottom: 0; }
        .ky-ev-balance span:first-child { color: #FFC107; }
        .ky-ev-balance span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .ky-ev-title { display: flex; align-items: center; gap: 4px; background: #000000; border: 1px solid #272727; border-top: 0; padding: 7px 10px; }
        .ky-ev-title__burger { background: none; border: 0; font-size: 1.25rem; line-height: 1; color: #FFC107; padding: 2px 6px; cursor: pointer; }
        .ky-ev-title__name { flex: 1; text-align: center; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .ky-ev-title__spacer { width: 30px; flex-shrink: 0; }
        .ky-ev-tabs { display: flex; background: #000000; border: 1px solid #272727; border-top: 0; }
        .ky-ev-tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 6px; background: #000000; border: 0; border-right: 1px solid #272727; color: #A1A1AA; font-size: .72rem; font-weight: 800; letter-spacing: .05em; cursor: pointer; }
        .ky-ev-tab:last-child { border-right: 0; }
        .ky-ev-tab i { font-size: 1.3rem; line-height: 1; }
        .ky-ev-tab.active { color: #FFC107; box-shadow: inset 0 -3px 0 #FFC107; }
        .ky-market-table td.ky-suspended-cell { background: rgba(0, 0, 0, 0.92); vertical-align: middle; text-align: center; }
        .ky-suspended-faint { display: block; color: #71717A; font-size: .72rem; font-weight: 600; }
        .ky-suspended-text { display: block; color: #DC2626; font-weight: 800; font-size: .95rem; letter-spacing: .05em; }
        .ky-market-table .oddBtn .odd-vol { display: block; font-size: .68rem; color: #A1A1AA; }
        @media (max-width: 575.98px) {
            .ky-ev-balance { font-size: .72rem; padding: 6px 8px; }
            .ky-ev-tab { font-size: .65rem; }
        }
        /* Event refinement 2026-11-11 (reference = jackpotexch client
           event page): section bars, CASH OUT pills, flat FANCY table,
           BALL RUNNING overlay, photo scoreboard, position line. */
        .ky-section-bar { background: linear-gradient(90deg, #976E01, #D3872F) !important; color: #000; 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; }
        .ky-section-bar:first-child { margin-top: 0; }
        .ky-section-bar:has(+ .ky-fancy-table-wrap) { border-radius: 10px 10px 0 0; margin-bottom: 0; }
        .ky-section-bar .ky-mkt-max { color: #000; font-size: .75rem; font-weight: 800; letter-spacing: .04em; white-space: nowrap; }
        .ky-section-bar .ky-cashout-pill { margin-left: auto; }
        .ky-cashout-pill { background: #13FF6F; color: #000; 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); }
        .ky-cashout-pill:hover { filter: brightness(.95); }
        .ky-cashout-pill:disabled { opacity: .6; cursor: wait; }
        .ky-cashout-pill .ky-cashout-val { font-weight: 700; }
        .ky-sec-empty { color: #A1A1AA; font-size: .85rem; }
        .bb-announcement-line + .ky-section-bar { margin-top: 0; }
        .ky-fancy-filters { background: #0A0A0B; border-radius: 0 0 10px 10px; overflow: hidden; }
        .ky-fancy-filter { flex: 1; background: #0A0A0B; color: #fff; border: 0; border-right: 1px solid #272727; padding: 9px 4px; font-size: .8rem; font-weight: 800; letter-spacing: .04em; cursor: pointer; white-space: nowrap; }
        .ky-fancy-filter:last-child { border-right: 0; }
        .ky-fancy-filter.active { background: #FFC107; color: #000; }
        .ky-fancy-filter:hover { background: #272727; }
        .ky-fancy-filter.active:hover { background: #FFC107; }
        .ky-market-table.ky-fancy-table thead th { background: #272727 !important; color: #fff !important; border-color: #272727 !important; font-size: .8rem; font-weight: 800; letter-spacing: .05em; }
        .ky-fancy-table col.col-fancy-name { width: 52%; }
        .ky-fancy-table col.col-fancy-info { width: 30px; }
        .ky-fancy-table col.col-fancy-side { width: 22%; }
        .ky-fancy-table .ky-fancy-info { width: 30px; text-align: center; }
        .ky-fancy-table thead th.ky-fancy-info-head { width: 30px; }
        .ky-fancy-table .fancy-cell__title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
        button.ky-mkt-ladder { background: none; border: 0; padding: 0; cursor: pointer; color: #43CEED; }
        .ky-mkt-info { color: #A1A1AA; }
        .ky-mkt-b { display: inline-flex; align-items: center; justify-content: center; min-width: 16px; height: 16px; padding: 0 3px; background: #272727; color: #FFC107; font-size: .62rem; font-weight: 800; line-height: 1; border-radius: 4px; }
        .ky-mkt-gear { color: #A1A1AA; font-size: .95rem; line-height: 1; }
        .ky-fancy-empty { background: #0A0A0B; border: 1px solid #272727; border-top: 0; border-radius: 0 0 10px 10px; }
        td.ky-suspended-cell.ky-fancy-ballrunning { background: rgba(24, 8, 10, 0.88) !important; }
        td.ky-suspended-cell.ky-fancy-ballrunning .ky-suspended-faint { color: #FCA5A5 !important; }
        td.ky-suspended-cell.ky-fancy-ballrunning .ky-suspended-text { color: #FF3B30 !important; font-weight: 800; letter-spacing: .08em; }
        .ky-scoreboard--photo { background: linear-gradient(rgba(8, 12, 18, 0.16), rgba(8, 12, 18, 0.28)), url('/assets/templates/ky/images/match-cricket-bg-bright.webp') center 30%/cover no-repeat #0B1220 !important; }
        /* TV pane: shared bb-premium hides .match-details-box entirely, so
           the TV tab rendered as an empty 0-height pane. The tracker
           disclosure carries only honest empty states (no invented
           commentary/scores), so it must be visible. */
        #evPaneTv .match-details-box { display: block !important; }
        .ky-scoreboard .ky-team-name { text-shadow: 0 1px 5px rgba(0, 0, 0, 0.75), 0 0 2px rgba(0, 0, 0, 0.55); }
        .ky-scoreboard .text-muted { color: #BDBDBD !important; }
        .ky-position-line { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 2px 2px 10px; font-size: .92rem; color: #fff; }
        .ky-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; }
        .ky-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); }
        .ky-score-overs { color: #E5E7EB; font-size: .85rem; }
        .ky-score-line:empty { display: none; }
        .ky-badge-crr:empty, .ky-badge-rrr:empty { display: none; }
        .ky-market-table .ky-odd--empty { background: #272727 !important; color: #71717A !important; }
        .ky-market-table td.ky-depth-empty { background: #0A0A0B; }
        .ky-market-table col.col-prices { width: 9%; }
        .ky-market-table col.col-runner { width: 40%; }
        .ky-market-table .ky-mkt-head th { white-space: nowrap; }
        @media (max-width: 575.98px) {
            .ky-section-bar { font-size: .82rem; padding: 8px 10px; }
            .ky-fancy-filter { font-size: .68rem; padding: 8px 2px; }
            .ky-market-table .oddBtn .odd-val { font-size: .8rem; }
        }
    

/* ==== moved from templates/ky/partials/login.blade.php (theme separation 2026-11-12) ==== */
        .form-check-input {
            margin-top: 0px;
        }
    

/* ==== moved from templates/ky/partials/register.blade.php (theme separation 2026-11-12) ==== */
        .form-group {
            margin: 8px 0;
        }
    

/* ==== moved from templates/ky/partials/social_login.blade.php (theme separation 2026-11-12) ==== */
    .social-login-btn{
        border: 1px solid #cbc4c4;
    }
    .social-login-btn:hover{
        border: 1px solid hsl(var(--base));
    }

/* ==== moved from templates/ky/user/transactions.blade.php (theme separation 2026-11-12) ==== */
        .select2-container {
            width: 100% !important;
        }
    

/* ==== moved from templates/ky/user/auth/register.blade.php (theme separation 2026-11-12) ==== */
        .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;
        }

/* ==========================================================================
   KY EVENT FIX 2026-11-12 — Jack-model single BACK/LAY, fancy no-wrap,
   BALL RUNNING overlay, FAB left, cookie clearance.
   Appended last so these win on equal specificity over the earlier Ky
   event-refinement rules and over bb-premium.css / bb-polish.css.
   Ky palette unchanged: black #000000, gold #FFC107 / #EEBF20, gold bar
   gradient #976E01 -> #D3872F, back cyan #43CEED, lay pink #F796FF, rows
   #272727 / #0A0A0B, green #2DA669, red #FF3B30 / #DC2626.
   ========================================================================== */

/* 1. Fancy row: icon row never wraps; market name clamps to 2 lines. */
.ky-fancy-table .fancy-cell__title {
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px 6px;
}
.ky-fancy-table .fancy-cell__title .runner-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-width: 0;
    flex: 1 1 auto;
}
.ky-fancy-table .fancy-cell__title > span:not(.runner-name),
.ky-fancy-table .fancy-cell__title > button {
    flex: 0 0 auto;
    white-space: nowrap;
}

/* 2. Fancy header: FANCY at the left edge, MARKET towards the name column's
   right. Background/text stay the existing #272727 / white. */
.ky-market-table.ky-fancy-table thead th:first-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.ky-fancy-head__fancy,
.ky-fancy-head__market { white-space: nowrap; }

/* 3. Market accordion bar: black B badge, black gear/ladder icons, the name
   truncates in one line and the bar groups never wrap. The Bootstrap
   collapse chevron (::after) stays visible. */
.home-page .market-accordion .accordion-button.ky-mkt-bar .ky-mkt-b {
    background: #000 !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .45);
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    font-size: .68rem;
    font-weight: 800;
    line-height: 1;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}
.home-page .market-accordion .accordion-button.ky-mkt-bar .ky-mkt-gear,
.home-page .market-accordion .accordion-button.ky-mkt-bar .ky-mkt-ladder {
    color: #000;
    font-size: 1rem;
    line-height: 1;
    flex: 0 0 auto;
}
.ky-mkt-bar .ky-mkt-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}
.home-page .market-accordion .accordion-button.ky-mkt-bar > .d-flex {
    min-width: 0;
    flex: 1 1 auto;
    flex-wrap: nowrap;
}

/* 4. Regular 3-column table: runner + back + lay (was the 6-box 40/9/9). */
.ky-market-table col.col-prices { width: 22%; }
.ky-market-table col.col-runner { width: 56%; }
.ky-market-table .cell-back .oddBtn,
.ky-market-table .cell-lay .oddBtn { min-height: 44px; }

/* 5. Fancy NO/YES small label may hold an outcome name (wraps to 2 lines). */
.ky-fancy-table .fancy-side-cell .oddBtn .odd-vol {
    display: block;
    font-size: .68rem;
    line-height: 1.25;
    white-space: normal;
}
.ky-fancy-table .fancy-side-cell .oddBtn .odd-val {
    display: block;
    font-size: .95rem;
    line-height: 1.2;
}

/* 6. BALL RUNNING merged cell (fancy): faint disabled prices behind an
   absolutely-positioned overlay. Old td.ky-suspended-cell rules for regular
   markets are untouched. */
td.ky-fancy-overlay-cell,
.home-page .ky-market-table tbody td.ky-fancy-overlay-cell {
    position: relative !important;
    padding: 0 !important;
    background: rgba(24, 8, 10, 0.88) !important;
}
.ky-ballrunning-faint { display: flex; }
.ky-ballrunning-faint .oddBtn { opacity: .35; min-height: 44px; }
.ky-ballrunning-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 0, 0, 0.55);
    color: #FF3B30;
    font-weight: 800;
    font-size: .95rem;
    letter-spacing: .08em;
    text-align: center;
    pointer-events: none;
}
.ky-ballrunning-overlay .ky-suspended-text { color: #FF3B30 !important; }

/* 7. Bet-slip FAB: left gutter on phones so it never covers an odds cell;
   lifted while the cookie card is up. Desktop is untouched. */
@media (max-width: 767.98px) {
    .bb-betslip-fab.has-selections {
        left: 14px !important;
        right: auto !important;
        bottom: 140px !important;
    }
    body:has(.cookies-card:not(.d-none):not(.hide)) .bb-betslip-fab {
        bottom: 240px !important;
    }
}

/* 8. Fixed-chrome clearance for the floating bottom nav + cookie banner. */
@media (max-width: 1023.98px) {
    main.home-page,
    .home-page { padding-bottom: 96px !important; }
    body:has(.cookies-card:not(.d-none):not(.hide)) .home-page {
        padding-bottom: 200px !important;
    }
}

/* 9. Announcement strip: badge holds its width, clip never widens it. */
.announcement-strip .ky-announce-badge { flex-shrink: 0; }
.announcement-strip .ky-announce-clip {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
}
.announcement-strip .announcement-text { white-space: nowrap; }
/* 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 ky-marquee animation + nowrap 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; }

/* 10. Header at 390px: logo fully visible, no wrap/overflow, readable
    LOGIN / SIGN UP / theme toggle. */
@media (max-width: 575.98px) {
    .ky-header {
        gap: 6px !important;
        padding: 8px 8px !important;
        flex-wrap: nowrap !important;
        overflow-x: hidden;
    }
    .ky-header__left,
    .ky-header__right { flex-wrap: nowrap !important; }
    .ky-header__right { flex: 0 0 auto; gap: 6px !important; }
    .ky-header__logo { min-width: 0; }
    .ky-header__logo-img { max-height: 30px !important; max-width: 100%; }
    .ky-header__burger { padding: 0 4px !important; }
    .ky-header .btn-theme-toggle {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
    }
    .ky-btn-login,
    .ky-btn-signup,
    .ky-btn-demo {
        padding: 6px 8px !important;
        font-size: .75rem !important;
        white-space: nowrap !important;
    }
}

/* 11. Scoreboard placeholder until a real live feed supplies scores. */
#liveScorePlaceholder.ky-scoreboard__placeholder {
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px dashed rgba(255, 255, 255, .3);
    border-radius: 8px;
    color: #E5E7EB;
    font-size: .85rem;
    text-align: center;
    background: rgba(0, 0, 0, .25);
}

/* 12. Guest Demo button: compact gold-outline twin of .ky-btn-login. */
form:has(> .ky-btn-demo) {
    display: inline-flex;
    margin: 0;
}
.ky-btn-demo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.4px;
    line-height: 1.2;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1.5px solid #FFC107;
    background: transparent;
    color: #FFC107;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
}
.ky-btn-demo:hover {
    background: #FFC107;
    color: #000;
}

/* 13. Desktop clearance for the fixed cookie card (380x185 at bottom: 92px). */
@media (min-width: 1024px) {
    body:has(.cookies-card:not(.d-none):not(.hide)) .home-page {
        padding-bottom: 280px !important;
    }
}


/* ==========================================================================
   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(--ky-blue, #FFC107), 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(--ky-blue, #FFC107);
    /* Ky contrast fix (coordinator, 2026-11-16): white on bright amber
       #FFC107 is ~1.6:1 — unreadable. Ky is a gold/black theme, so the
       header uses DARK text on the gold bar (high contrast, on-brand). */
    color: #111111;
    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: #111111;
    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(0, 0, 0, .35);
    border-radius: 6px;
    background: transparent;
    color: #111111;
    cursor: pointer;
}
.betslip .betslip-panel-header .betslip-close-btn:hover,
.betslip .betslip-panel-header .betslip-close-btn:focus-visible {
    background: rgba(0, 0, 0, .08);
    color: #111111;
    border-color: rgba(0, 0, 0, .5);
}
/* 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(--ky-blue, #FFC107) !important;
    border-color: var(--ky-blue, #FFC107) !important;
    /* Ky contrast fix (coordinator, 2026-11-16): dark text on gold, same
       reason as the header above — white on #FFC107 is ~1.6:1. */
    color: #111111 !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.ky-suspended-cell { background: #7F1D1D !important; }
#marketsContainer .ky-suspended-text { color: #FF6B6B !important; font-size: 1.05rem !important; letter-spacing: .08em !important; }
#marketsContainer .ky-suspended-faint { color: #FECACA !important; font-size: .75rem !important; }
#marketsContainer .ky-ballrunning-overlay { background: #7F1D1D !important; color: #FF6B6B !important; font-size: 1.05rem !important; letter-spacing: .08em !important; }
#marketsContainer .ky-ballrunning-overlay span { color: #FF6B6B !important; }
#marketsContainer .ky-ballrunning-overlay .ky-suspended-text { color: #FF6B6B !important; }
#marketsContainer .ky-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; }
}
.ky-obm-band { flex: 0 1 200px; background: #7F1D1D; border-radius: 4px; padding: 6px 8px; text-align: center; }
.ky-obm-band__faint { display: block; color: #FECACA; font-size: .72rem; font-weight: 600; }
.ky-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 opens 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). */
.ky-bottom-nav__icon-wrap { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.ky-bottom-nav__count {
    position: absolute;
    top: -6px;
    right: -14px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--ky-blue);
    color: #111111;
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 17px;
    text-align: center;
}
.ky-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 .ky-announce-
   clip class existed but was only wired on the event page; the layout
   strip viewport is a plain w-100 div. Both get flex:1 + min-width:0 so
   the viewport takes only the width left after the LIVE UPDATE badge,
   plus the right-edge fade mask. Duration already 36s (ky-marquee). */
.announcement-strip > .badge { flex-shrink: 0 !important; }
.announcement-strip .ky-announce-clip { 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 Ky's own
   market-table rules force LIGHT fills (#43CEED / #F796FF) 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). */
.ky-market-table .oddBtn.odd-back:not(.active) .odd-val,
.ky-market-table .oddBtn.odd-lay:not(.active) .odd-val,
.ky-market-table .oddBtn.btn-back:not(.active) .odd-val,
.ky-market-table .oddBtn.btn-lay:not(.active) .odd-val { color: #000 !important; }
