/**
 * APX utilities — single owner for phone/desktop chrome visibility.
 * Mobile chrome ≤1199.98px (phone + tablet); desktop ≥1200.
 * Replaces apx-responsive-guard.css + apx-sidebar-e2e.css visibility rules.
 * Do not re-add the same display fights in exchange-shell.css / apx-blade-chrome.css.
 */

/* ---- Base visibility (desktop-first; media below flips for ≤1199) ---- */
.apx-phone-only {
  display: none !important;
}

.apx-desktop-only {
  display: block;
}

/* Drive .logo-header i — 20px bars, me-2 (8px) */
#apx-mobile-menu-toggle,
.apx-topbar .apx-sidebar-toggle,
.logo-header .apx-sidebar-toggle,
.logo-header a.d-xl-none {
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 20px;
  padding: 0;
  margin: 0 8px 0 0;
  cursor: pointer;
  text-decoration: none;
  line-height: 20px;
}

/* ---- Global overflow ---- */
html.apx-phone,
html.apx-tablet,
body.apx-exchange.apx-phone,
body.apx-exchange.apx-tablet {
  overflow-x: hidden;
  max-width: 100%;
}

body.apx-exchange img,
body.apx-exchange video,
body.apx-exchange iframe,
body.apx-exchange svg,
body.apx-exchange canvas {
  max-width: 100%;
}

body.apx-exchange .apx-content,
body.apx-exchange .center-container,
body.apx-exchange main,
body.apx-exchange .apx-shell {
  min-width: 0;
  max-width: 100%;
}

/* ---- Mobile chrome: phone + tablet ≤1199 ---- */
@media (max-width: 1199.98px) {
  .apx-desktop-only,
  body.apx-exchange .apx-desktop-only,
  body.apx-exchange .apx-desktop-featured,
  body.apx-exchange .apx-desktop-sports-tab {
    display: none !important;
  }

  /* Product strip / sport icons: flex only off game-details (ref ODDS|MATCHED chrome). */
  .apx-phone-only:not(ul.menu-tabs):not(ul.sports-tab),
  body.apx-exchange .apx-phone-only:not(ul.menu-tabs):not(ul.sports-tab),
  body.apx-exchange:not(.apx-sport-detail-page):not(.apx-detail-page) ul.apx-phone-only.menu-tabs,
  body.apx-exchange:not(.apx-sport-detail-page):not(.apx-detail-page) ul.apx-phone-only.sports-tab,
  body.apx-exchange .apx-mobile-featured {
    display: flex !important;
  }

  body.apx-exchange .apx-mobile-featured {
    display: block !important;
  }

  body.apx-exchange #apx-mobile-menu-toggle,
  body.apx-exchange .apx-topbar .apx-sidebar-toggle,
  body.apx-exchange .logo-header .apx-sidebar-toggle,
  body.apx-exchange .logo-header a.d-xl-none {
    display: inline-flex !important;
  }

  /* Sidebar Search Events — markup d-xl-none; flex layout only (no Bootstrap fight) */
  body.apx-exchange .sidebar-search.search-box-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  body.apx-exchange .apx-shell {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.apx-exchange .apx-sidebar,
  body.apx-exchange aside.apx-sidebar.sidebar.left-sidebar {
    display: block !important;
    position: fixed !important;
    top: 0;
    left: 0;
    bottom: 0;
    width: 80% !important;
    max-width: 80% !important;
    height: 100% !important;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    animation: none;
    z-index: 1300;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--bg-sidebar, #cccccc);
    box-shadow: none;
    pointer-events: none;
  }

  body.apx-exchange .apx-sidebar.apx-open,
  body.apx-exchange .apx-sidebar.apx-mobile-sidebar-open,
  body.apx-exchange aside.apx-sidebar.apx-open,
  body.apx-exchange aside.apx-sidebar.apx-mobile-sidebar-open,
  body.apx-exchange aside.apx-sidebar.visible {
    transform: translateX(0) !important;
    pointer-events: auto !important;
    visibility: visible !important;
    z-index: 9995 !important;
  }

  body.apx-exchange .header-bottom,
  body.apx-exchange .apx-desktop-nav.header-bottom {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  body.apx-exchange .apx-content,
  body.apx-exchange .apx-content.center-container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 4px;
  }
  body.apx-exchange.apx-sport-detail-page .apx-content,
  body.apx-exchange.apx-sport-detail-page .apx-content.center-container,
  body.apx-exchange.apx-live-page .apx-content,
  body.apx-exchange.apx-live-page .apx-content.center-container {
    padding: 0 !important;
  }
  body.apx-exchange.apx-sport-detail-page .apx-page-content.wrapper,
  body.apx-exchange.apx-sport-detail-page .apx-game-details,
  body.apx-exchange.apx-sport-detail-page #scoreCard,
  body.apx-exchange.apx-sport-detail-page #scoreCard > .col-12,
  body.apx-exchange.apx-sport-detail-page .apx-score-strip-host,
  body.apx-exchange.apx-sport-detail-page .apx-score-strip,
  body.apx-exchange.apx-sport-detail-page .open-bets-panel,
  body.apx-exchange.apx-sport-detail-page .apx-open-bets,
  body.apx-exchange.apx-sport-detail-page #apx-open-bets {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
  }
  /* Open bets on sport detail: flush, no card inset gutters */
  body.apx-exchange.apx-sport-detail-page section[id^="open-bets-"],
  body.apx-exchange.apx-sport-detail-page section[id^="open-bets-"] > div {
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.apx-exchange ul.apx-phone-only.menu-tabs {
    flex-wrap: nowrap !important;
    overflow-x: hidden !important;
    scrollbar-width: none;
  }

  /* Odds/home lists: clip page scroll. Account tables scroll inside wrap. */
  body.apx-exchange .game-list-area.table-responsive,
  body.apx-exchange .bet-table.game-list-area {
    overflow-x: hidden !important;
    max-width: 100% !important;
  }

  /* Home bet-table flush — no side gutter waste vs Drive .bet-table */
  body.apx-exchange.apx-home-page .apx-content,
  body.apx-exchange.apx-home-page .apx-content.center-container,
  body.apx-exchange.home-page .apx-content,
  body.apx-exchange.home-page .apx-content.center-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  body.apx-exchange.apx-home-page .apx-page-content,
  body.apx-exchange.home-page .apx-page-content {
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Sports listing + game-details: edge-to-edge like Drive (no white side gutters) */
  body.apx-exchange.apx-sport-detail-page .apx-content,
  body.apx-exchange.apx-sport-detail-page .apx-content.center-container,
  body.apx-exchange.apx-detail-page .apx-content,
  body.apx-exchange.apx-detail-page .apx-content.center-container,
  body.apx-exchange.apx-sport-page .apx-content,
  body.apx-exchange.apx-sport-page .apx-content.center-container,
  body.apx-exchange.list-page .apx-content,
  body.apx-exchange.list-page .apx-content.center-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  body.apx-exchange.apx-sport-detail-page .apx-page-content,
  body.apx-exchange.apx-detail-page .apx-page-content,
  body.apx-exchange.apx-sport-page .apx-page-content,
  body.apx-exchange.apx-sport-detail-page .wrapper-inner,
  body.apx-exchange.apx-sport-detail-page .wrapper-inner.detail_screen,
  body.apx-exchange.apx-detail-page .wrapper-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  body.apx-exchange.apx-sport-detail-page .detail_screen .row,
  body.apx-exchange.apx-sport-detail-page #apx-odds-pane .row {
    --bs-gutter-x: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  body.apx-exchange.apx-sport-detail-page .detail_screen [class*='col-'],
  body.apx-exchange.apx-sport-detail-page #apx-markets,
  body.apx-exchange.apx-sport-detail-page .game-market,
  body.apx-exchange.apx-sport-detail-page .apx-market-wrap {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
  }
  body.apx-exchange.apx-sport-detail-page .apx-footer,
  body.apx-exchange.apx-sport-detail-page footer,
  body.apx-exchange.apx-sport-detail-page .footer {
    padding-left: 8px !important;
    padding-right: 8px !important;
    max-width: 100% !important;
  }
  body.apx-exchange.apx-sport-detail-page #scoreCard,
  body.apx-exchange.apx-sport-detail-page .scorecard-banner,
  body.apx-exchange.apx-sport-detail-page #apx-tv-pane-mobile {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.apx-exchange.apx-sport-detail-page,
  body.apx-exchange.apx-detail-page,
  body.apx-exchange.apx-sport-page {
    background: #2c3e50 !important;
  }
  body.apx-exchange.apx-sport-detail-page .apx-page-content,
  body.apx-exchange.apx-sport-detail-page .detail_screen,
  body.apx-exchange.apx-sport-detail-page #apx-odds-pane,
  body.apx-exchange.apx-sport-detail-page #apx-markets,
  body.apx-exchange.apx-sport-detail-page .game-market,
  body.apx-exchange.apx-sport-page .bet-table,
  body.apx-exchange.apx-sport-page .game-list-area {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 0 !important;
  }
  body.apx-exchange.apx-sport-detail-page .game-header.event-title,
  body.apx-exchange.apx-sport-detail-page .odds_matched_tv.tab-container {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }

  body.apx-exchange .apx-account-page .table-responsive,
  body.apx-exchange .apx-account-table-wrap,
  body.apx-exchange .mybets-table-wrap {
    display: block !important;
    overflow-x: auto !important;
    max-width: 100% !important;
    width: 100% !important;
    -webkit-overflow-scrolling: touch;
  }

  body.apx-exchange .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
  }

  body.apx-exchange [class*='col-'] {
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

/* ---- Compact tablet: 431–767px (NOT phone) ---- */
@media (min-width: 431px) and (max-width: 767px) {
  body.apx-exchange .apx-shell {
    display: block !important;
    width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.apx-exchange .apx-desktop-featured {
    display: none !important;
  }

  body.apx-exchange .apx-mobile-featured {
    display: block !important;
  }

  body.apx-exchange #apx-mobile-menu-toggle,
  body.apx-exchange .apx-topbar .apx-sidebar-toggle {
    display: inline-flex !important;
  }

  body.apx-exchange .apx-sidebar,
  body.apx-exchange aside.apx-sidebar.sidebar.left-sidebar {
    position: fixed !important;
    transform: translateX(-100%);
    width: 80% !important;
    max-width: 80% !important;
    z-index: 1300;
  }

  body.apx-exchange .apx-sidebar.apx-open,
  body.apx-exchange aside.apx-sidebar.apx-open {
    transform: translateX(0) !important;
    z-index: 9995 !important;
  }

  body.apx-exchange .header-bottom {
    display: none !important;
  }

  body.apx-exchange ul.apx-phone-only.menu-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: hidden !important;
  }
}

/* ---- Desktop: 1200px+ (tablet keeps phone chrome) ---- */
@media (min-width: 1200px) {
  .apx-phone-only {
    display: none !important;
  }

  .apx-desktop-only {
    display: block !important;
  }

  body.apx-exchange .apx-desktop-featured {
    display: block !important;
  }

  #apx-mobile-menu-toggle,
  .apx-sidebar-toggle,
  #apx-mobile-header-stack,
  #apx-mobile-search-row,
  .logo-header a.d-xl-none {
    display: none !important;
  }
}

/* ---- Sidebar ref9 light gray ---- */
body.apx-exchange .apx-sidebar,
body.apx-exchange aside.apx-sidebar.sidebar.left-sidebar {
  background: var(--bg-sidebar, #cccccc) !important;
  color: var(--text-sidebar, #000);
}

/* === ownership cleanup 20260714: phone/chrome rules (same declarations, was apx-blade-chrome) === */

/* was chrome: ice */
/* apx-hardcoded-ui-v91-folded from IceHtmlTransformer (single owner: chrome) */

/* was chrome: /* v56 mobile header ref match */ */
/* v56 mobile header ref match */
@media (max-width: 1199.98px) {
  body.apx-phone .header,
  body.apx-ui-guard-mobile .header {
    display: flex !important;
    flex-direction: column !important;
    background: var(--bg-primary, #0088cc) !important;
  }
  /* Drive .header-top @≤1199 — height 82, pad 5 5 10 (do not clamp / hide search) */
  body.apx-phone .header-top,
  body.apx-ui-guard-mobile .header-top,
  body.apx-phone .apx-topbar,
  body.apx-ui-guard-mobile .apx-topbar {
    background: var(--bg-primary, #0088cc) !important;
    min-height: 82px !important;
    height: 82px !important;
    max-height: 82px !important;
    padding: 5px 5px 10px !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    border-bottom: 0 !important;
    box-sizing: border-box !important;
    font-size: 12px !important;
    line-height: 18px !important;
  }
  body.apx-phone .header-top .search-box-container.d-xl-none,
  body.apx-ui-guard-mobile .header-top .search-box-container.d-xl-none,
  body.apx-phone .apx-topbar .search-box-container.d-xl-none,
  body.apx-ui-guard-mobile .apx-topbar .search-box-container.d-xl-none {
    display: flex !important;
    width: 100% !important;
    z-index: 2 !important;
  }
  body.apx-phone .header-top .user-details .header-rules,
  body.apx-ui-guard-mobile .header-top .user-details .header-rules {
    display: none !important;
  }
  body.apx-phone .header-top .logo-header,
  body.apx-ui-guard-mobile .header-top .logo-header,
  body.apx-phone .apx-topbar .logo-header,
  body.apx-ui-guard-mobile .apx-topbar .logo-header {
    flex: 0 0 auto !important;
    justify-content: flex-start !important;
    max-width: none !important;
  }
  body.apx-phone .header-top .logo-header img,
  body.apx-ui-guard-mobile .header-top .logo-header img,
  body.apx-phone .apx-topbar .logo-header img,
  body.apx-ui-guard-mobile .apx-topbar .logo-header img {
    max-height: 35px !important;
    height: 35px !important;
    max-width: 120px !important;
  }
  body.apx-phone .header-top .user-details,
  body.apx-ui-guard-mobile .header-top .user-details,
  body.apx-phone .apx-topbar .user-details,
  body.apx-ui-guard-mobile .apx-topbar .user-details {
    flex: 0 0 auto !important;
    margin-left: auto !important;
    font-size: 12px !important;
  }
  body.apx-phone .header-top .user-balance,
  body.apx-ui-guard-mobile .header-top .user-balance {
    color: #fff !important;
  }
  body.apx-phone .header-top .user-balance .apx-balance-line span,
  body.apx-phone .header-top .user-balance .apx-balance-line b,
  body.apx-phone .header-top .user-balance .apx-exp-line > span,
  body.apx-phone .header-top .user-balance .apx-exp-line > b,
  body.apx-ui-guard-mobile .header-top .user-balance .apx-balance-line span,
  body.apx-ui-guard-mobile .header-top .user-balance .apx-balance-line b,
  body.apx-ui-guard-mobile .header-top .user-balance .apx-exp-line > span,
  body.apx-ui-guard-mobile .header-top .user-balance .apx-exp-line > b {
    color: #fff !important;
  }
  /* Drive dropdown items — charcoal; keep !important so header white text does not cascade */
  body.apx-phone .user-balance .apx-account-menu span,
  body.apx-phone .user-balance .apx-account-menu a,
  body.apx-phone .apx-balance-block .apx-account-menu span,
  body.apx-phone .apx-balance-block .apx-account-menu a,
  body.apx-ui-guard-mobile .user-balance .apx-account-menu span,
  body.apx-ui-guard-mobile .user-balance .apx-account-menu a,
  body.apx-ui-guard-mobile .apx-balance-block .apx-account-menu span,
  body.apx-ui-guard-mobile .apx-balance-block .apx-account-menu a {
    color: #212529 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    font-family: "Roboto Condensed", sans-serif !important;
  }
  body.apx-phone .user-balance .apx-account-menu a:hover,
  body.apx-phone .apx-balance-block .apx-account-menu a:hover,
  body.apx-ui-guard-mobile .user-balance .apx-account-menu a:hover,
  body.apx-ui-guard-mobile .apx-balance-block .apx-account-menu a:hover {
    color: #666 !important;
  }
  body.apx-phone .user-balance .apx-account-menu .apx-account-check-item:hover,
  body.apx-phone .apx-balance-block .apx-account-menu .apx-account-check-item:hover,
  body.apx-ui-guard-mobile .user-balance .apx-account-menu .apx-account-check-item:hover,
  body.apx-ui-guard-mobile .apx-balance-block .apx-account-menu .apx-account-check-item:hover {
    color: #212529 !important;
  }
  body.apx-phone #apx-mobile-header-stack,
  body.apx-ui-guard-mobile #apx-mobile-header-stack {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }
  body.apx-phone #apx-mobile-search-row,
  body.apx-ui-guard-mobile #apx-mobile-search-row {
    display: block !important;
    width: 100% !important;
    background: var(--bg-primary, #0088cc) !important;
    padding: 0 8px 6px !important;
    margin: 0 !important;
  }
  body.apx-phone #apx-mobile-search-row .apx-mobile-search-field,
  body.apx-ui-guard-mobile #apx-mobile-search-row .apx-mobile-search-field {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    background: rgba(255, 255, 255, 0.18) !important;
    border-radius: 2px !important;
    /* Drive search strip — slim field under logo row */
    min-height: 26px !important;
    height: 26px !important;
    padding: 0 8px 0 28px !important;
  }
  body.apx-phone #apx-mobile-search-row .apx-mobile-search-field i,
  body.apx-ui-guard-mobile #apx-mobile-search-row .apx-mobile-search-field i {
    position: absolute !important;
    left: 8px !important;
    color: #fff !important;
    font-size: 12px !important;
  }
  body.apx-phone #apx-mobile-search-row .apx-mobile-search-input,
  body.apx-ui-guard-mobile #apx-mobile-search-row .apx-mobile-search-input {
    width: 100% !important;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 12px !important;
    font-style: italic !important;
    outline: none !important;
    box-shadow: none !important;
    height: 26px !important;
    line-height: 26px !important;
    padding: 0 !important;
  }
  body.apx-phone #apx-mobile-search-row .apx-mobile-search-input::placeholder,
  body.apx-ui-guard-mobile #apx-mobile-search-row .apx-mobile-search-input::placeholder {
    color: rgba(255, 255, 255, 0.92) !important;
    font-style: italic !important;
  }
  /* Ref allpanelexch9.co: latest-event rail = primary gaps, chips = secondary navy */
  body.apx-phone #apx-mobile-header-stack .latest-event,
  body.apx-ui-guard-mobile #apx-mobile-header-stack .latest-event,
  body.apx-phone .apx-mobile-featured .latest-event,
  body.apx-ui-guard-mobile .apx-mobile-featured .latest-event,
  body.apx-phone .main-container > .latest-event.d-xl-none,
  body.apx-ui-guard-mobile .main-container > .latest-event.d-xl-none {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    width: 100% !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    margin: 0 !important;
    padding: 0 5px 5px !important;
    background: var(--bg-primary, #0088cc) !important;
    gap: 0 !important;
    box-sizing: border-box !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  body.apx-phone #apx-mobile-header-stack .latest-event::-webkit-scrollbar,
  body.apx-ui-guard-mobile #apx-mobile-header-stack .latest-event::-webkit-scrollbar {
    display: none !important;
  }
  body.apx-phone .latest-event-item,
  body.apx-ui-guard-mobile .latest-event-item {
    flex: 0 0 auto !important;
    max-width: 100% !important;
    min-width: 50% !important;
    width: auto !important;
    background: var(--bg-secondary, #2c3e50) !important;
    border-right: 0 !important;
    margin: 0 4px 0 0 !important;
    padding: 0 !important;
  }
  body.apx-phone .latest-event-item:last-child,
  body.apx-ui-guard-mobile .latest-event-item:last-child {
    border-right: 0 !important;
  }
  body.apx-phone .latest-event-item a,
  body.apx-ui-guard-mobile .latest-event-item a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    color: #fff !important;
    background: transparent !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    /* Drive chips fill 34px rail — no extra vertical pad */
    padding: 0 4px !important;
    height: 100% !important;
    min-height: 0 !important;
    line-height: 1.15 !important;
    text-decoration: none !important;
    border-bottom: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  body.apx-phone .latest-event-item a.active,
  body.apx-phone .latest-event-item:first-child a,
  body.apx-ui-guard-mobile .latest-event-item a.active,
  body.apx-ui-guard-mobile .latest-event-item:first-child a {
    border-bottom: 0 !important;
    background: transparent !important;
    color: #fff !important;
  }
body.apx-phone:not(.apx-sport-detail-page):not(.apx-detail-page) #apx-mobile-header-stack .menu-tabs,
  body.apx-ui-guard-mobile:not(.apx-sport-detail-page):not(.apx-detail-page) #apx-mobile-header-stack .menu-tabs,
  body.apx-phone:not(.apx-sport-detail-page):not(.apx-detail-page) .main-container > .menu-tabs,
  body.apx-ui-guard-mobile:not(.apx-sport-detail-page):not(.apx-detail-page) .main-container > .menu-tabs,
  body.apx-phone:not(.apx-sport-detail-page):not(.apx-detail-page) header .menu-tabs,
  body.apx-ui-guard-mobile:not(.apx-sport-detail-page):not(.apx-detail-page) header .menu-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: auto !important;
    overscroll-behavior-x: none !important;
    width: 100% !important;
    /* Drive product strip: SPORTS + full row = 43px */
    height: 43px !important;
    min-height: 43px !important;
    max-height: 43px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: var(--bg-primary, #0088CC) !important;
    box-shadow: 0px -5px 5px -5px rgba(0, 0, 0, 0.5) !important;
    align-items: stretch !important;
    scrollbar-width: none !important;
  }
  body.apx-phone #apx-mobile-header-stack .menu-tabs::-webkit-scrollbar,
  body.apx-ui-guard-mobile #apx-mobile-header-stack .menu-tabs::-webkit-scrollbar,
  body.apx-phone .menu-tabs::-webkit-scrollbar,
  body.apx-ui-guard-mobile .menu-tabs::-webkit-scrollbar {
    display: none !important;
    height: 0 !important;
  }
  /* Drive .main-container .nav-tabs — sizing owned by exchange-shell.css. */
  body.apx-phone .menu-tabs:not(.apx-detail-tabs) .nav-item:last-child,
  body.apx-ui-guard-mobile .menu-tabs:not(.apx-detail-tabs) .nav-item:last-child {
    border-right: 0;
  }
  /* Drive .nav-link::before — 1×20 vertical separators (shell also sets; keep parity) */
  body.apx-phone .menu-tabs:not(.apx-detail-tabs) .nav-link::before,
  body.apx-ui-guard-mobile .menu-tabs:not(.apx-detail-tabs) .nav-link::before {
    content: "";
    background-color: var(--text-primary, #fff);
    width: 1px;
    height: 20px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: block;
  }
  body.apx-phone .menu-tabs:not(.apx-detail-tabs) .nav-item:last-child .nav-link::before,
  body.apx-ui-guard-mobile .menu-tabs:not(.apx-detail-tabs) .nav-item:last-child .nav-link::before {
    display: none;
    content: none;
  }
  body.apx-phone .menu-tabs:not(.apx-detail-tabs) .nav-link.active,
  body.apx-ui-guard-mobile .menu-tabs:not(.apx-detail-tabs) .nav-link.active {
    background: transparent;
    color: var(--text-primary, #fff);
    box-shadow: none;
  }
  /* Drive .nav-link.active::after — top active bar */
  body.apx-phone .menu-tabs:not(.apx-detail-tabs) .nav-link.active::after,
  body.apx-ui-guard-mobile .menu-tabs:not(.apx-detail-tabs) .nav-link.active::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--bg-sidebar, #cccccc);
    top: -12px;
    left: 0;
    display: block;
  }
  /* Drive .nav-tabs .nav-link svg { height: 24px; rotate 10deg; margin 0 } */
  body.apx-phone .menu-tabs:not(.apx-detail-tabs) .nav-link svg,
  body.apx-phone .menu-tabs:not(.apx-detail-tabs) .nav-link .apx-aviator-plane,
  body.apx-ui-guard-mobile .menu-tabs:not(.apx-detail-tabs) .nav-link svg,
  body.apx-ui-guard-mobile .menu-tabs:not(.apx-detail-tabs) .nav-link .apx-aviator-plane {
    height: 24px;
    width: auto;
    max-width: none;
    max-height: 24px;
    margin: 0;
    vertical-align: middle;
    transform: rotate(10deg);
    display: block;
    flex: 0 0 auto;
    position: static;
    opacity: 1;
  }

  /* sports-tab chrome owned by exchange-shell.css — utilities only ensures flex display */
  body.apx-phone header ul.nav.nav-pills.sports-tab,
  body.apx-ui-guard-mobile header ul.nav.nav-pills.sports-tab {
    display: flex;
  }
  body.apx-phone .main-container > .latest-event.d-xl-none,
  body.apx-phone .main-container > .menu-tabs,
  body.apx-ui-guard-mobile .main-container > .latest-event.d-xl-none,
  body.apx-ui-guard-mobile .main-container > .menu-tabs {
    display: none !important;
  }
  /* Phone: hide desktop content sports-tab (header owns the icon rail) */
  body.apx-phone .center-main-container > .sports-tab,
  body.apx-ui-guard-mobile .center-main-container > .sports-tab,
  body.apx-phone .apx-content > .sports-tab,
  body.apx-ui-guard-mobile .apx-content > .sports-tab {
    display: none !important;
  }
}


/* was chrome: /* v56c mobile header exact */ */
/* v56c mobile header exact */
@media (max-width: 1199.98px) {
  /* Drive header-top sizing — keep 82px stack (logo+balance+search/news) */
  body.apx-phone .header-top,
  body.apx-ui-guard-mobile .header-top,
  body.apx-phone .apx-topbar,
  body.apx-ui-guard-mobile .apx-topbar {
    min-height: 82px !important;
    height: 82px !important;
    max-height: 82px !important;
    padding: 5px 5px 10px !important;
    gap: 0 !important;
  }
  body.apx-phone #apx-mobile-menu-toggle,
  body.apx-ui-guard-mobile #apx-mobile-menu-toggle {
    order: 0 !important;
    flex: 0 0 auto !important;
    padding: 0 !important;
    margin: 0 8px 0 0 !important;
    font-size: 20px !important;
    line-height: 20px !important;
  }
  body.apx-phone .header-top .logo-header,
  body.apx-ui-guard-mobile .header-top .logo-header,
  body.apx-phone .apx-topbar .logo-header,
  body.apx-ui-guard-mobile .apx-topbar .logo-header {
    order: 0 !important;
    flex: 0 0 auto !important;
    justify-content: flex-start !important;
    margin: 0 !important;
  }
  body.apx-phone .header-top .user-details,
  body.apx-ui-guard-mobile .header-top .user-details,
  body.apx-phone .apx-topbar .user-details,
  body.apx-ui-guard-mobile .apx-topbar .user-details {
    order: 0 !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
    font-size: 12px !important;
    line-height: normal !important;
    gap: 0 !important;
  }
  body.apx-phone .header-top .user-balance,
  body.apx-ui-guard-mobile .header-top .user-balance {
    align-items: flex-end !important;
    text-align: right !important;
    flex-wrap: nowrap !important;
    width: auto !important;
    min-width: 91px !important;
    height: 43px !important;
    min-height: 43px !important;
    max-height: 43px !important;
    margin-left: 4px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }
  body.apx-phone .header-top .user-balance > div:first-child,
  body.apx-ui-guard-mobile .header-top .user-balance > div:first-child {
    width: 100% !important;
    text-align: right !important;
    margin-bottom: 5px !important;
    padding: 2px 4px !important;
  }
  body.apx-phone .header-top .user-balance > div:last-child,
  body.apx-ui-guard-mobile .header-top .user-balance > div:last-child {
    padding: 2px 4px !important;
  }
  body.apx-phone .header-top .user-balance .dropdown .user-name.d-xl-none,
  body.apx-ui-guard-mobile .header-top .user-balance .dropdown .user-name.d-xl-none,
  body.apx-phone .header-top .user-balance .dropdown .user-name,
  body.apx-ui-guard-mobile .header-top .user-balance .dropdown .user-name {
    display: inline-block !important;
    align-items: center !important;
    font-size: 14px !important;
    line-height: normal !important;
    margin-top: 0 !important;
  }
  body.apx-phone .header-top .user-balance .user-name i,
  body.apx-ui-guard-mobile .header-top .user-balance .user-name i {
    font-size: 14px !important;
    line-height: 14px !important;
  }
  body.apx-phone .header-top .user-balance .apx-balance-line,
  body.apx-phone .header-top .user-balance .apx-exp-line,
  body.apx-phone .header-top .user-balance .apx-balance-line span,
  body.apx-phone .header-top .user-balance .apx-balance-line b,
  body.apx-phone .header-top .user-balance .apx-exp-line > span,
  body.apx-phone .header-top .user-balance .apx-exp-line > b,
  body.apx-ui-guard-mobile .header-top .user-balance .apx-balance-line,
  body.apx-ui-guard-mobile .header-top .user-balance .apx-exp-line,
  body.apx-ui-guard-mobile .header-top .user-balance .apx-balance-line span,
  body.apx-ui-guard-mobile .header-top .user-balance .apx-balance-line b,
  body.apx-ui-guard-mobile .header-top .user-balance .apx-exp-line > span,
  body.apx-ui-guard-mobile .header-top .user-balance .apx-exp-line > b {
    font-size: 12px !important;
    line-height: normal !important;
  }
  /* Drive keeps mobile search/news inside .header-top — never hide it */
  body.apx-phone .header-top .search-box-container.d-xl-none,
  body.apx-ui-guard-mobile .header-top .search-box-container.d-xl-none,
  body.apx-phone .apx-topbar .search-box-container.d-xl-none,
  body.apx-ui-guard-mobile .apx-topbar .search-box-container.d-xl-none {
    display: flex !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  body.apx-phone .header-top li.search,
  body.apx-ui-guard-mobile .header-top li.search {
    display: none !important;
  }
  body.apx-phone #apx-mobile-header-stack,
  body.apx-ui-guard-mobile #apx-mobile-header-stack {
    order: 10 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }
  body.apx-phone #apx-mobile-search-row,
  body.apx-ui-guard-mobile #apx-mobile-search-row {
    order: 1 !important;
    background: var(--bg-primary, #0088cc) !important;
    padding: 0 8px 6px !important;
  }
  body.apx-phone #apx-mobile-header-stack .latest-event,
  body.apx-ui-guard-mobile #apx-mobile-header-stack .latest-event {
    order: 2 !important;
    background: var(--bg-primary, #0088cc) !important;
  }
  body.apx-phone #apx-mobile-header-stack .menu-tabs,
  body.apx-ui-guard-mobile #apx-mobile-header-stack .menu-tabs,
  body.apx-phone header .menu-tabs,
  body.apx-ui-guard-mobile header .menu-tabs {
    order: 3 !important;
    background: var(--bg-primary, #0088cc) !important;
  }
  body.apx-phone header ul.nav.nav-pills.sports-tab,
  body.apx-ui-guard-mobile header ul.nav.nav-pills.sports-tab {
    order: 4;
  }
  body.apx-phone .latest-event-item a.active,
  body.apx-phone .latest-event-item:first-child a,
  body.apx-ui-guard-mobile .latest-event-item a.active,
  body.apx-ui-guard-mobile .latest-event-item:first-child a {
    border-bottom: 0 !important;
    background: transparent !important;
  }
  body.apx-phone .menu-tabs .nav-link.active,
  body.apx-ui-guard-mobile .menu-tabs .nav-link.active {
    background: transparent !important;
    box-shadow: none !important;
  }
}
/* v67: never hide an explicitly shown home popup on mobile; keep above .apx-header (1100) */
body.apx-phone #home_poup.apx-home-popup-show,
body.apx-phone #home_poup.show.apx-home-popup-show{
  display:block!important;pointer-events:auto!important;
  position:fixed!important;z-index:10050!important}
#home_poup.apx-home-popup-show .modal-dialog{margin:1.75rem auto;max-width:min(96vw,1140px)}
#home_poup.apx-home-popup-show .modal-body img{width:100%;height:auto;display:block}


/* ---- Fix: remove empty right-side white space on /home (sports home has no right sidebar) ---- */
@media (min-width: 1200px) {
  body.apx-home-page.apx-sport-page .center-main-container.home-page {
    width: calc(100% - 250px) !important;
    max-width: calc(100% - 250px) !important;
  }
}


/* ---- Fix: right sidebar (bet slip) alignment on detail pages ---- */
/* Detail center was calc(100% - 550px), leaving ~300px empty on the far right, and     */
/* .center-container had a fixed width, so the 300px right sidebar floated mid-page.     */
/* Reserve only the 250px left sidebar, keep the row on one line, and let the content    */
/* grow so the sticky right sidebar aligns flush to the right edge (no wrap, no gap).    */
@media (min-width: 1200px) {
  body.apx-detail-page .center-main-container.detail-page {
    width: calc(100% - 250px) !important;
    max-width: calc(100% - 250px) !important;
    flex-wrap: nowrap !important;
  }
  body.apx-detail-page .center-main-container.detail-page > .center-container {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
  }
}


/* was chrome: header-cats */
/* Header categories ≤1199: Drive share-width + wrap (no horizontal scrollbar) */
@media (max-width: 1199.98px) {
  body.apx-tablet:not(.apx-sport-detail-page):not(.apx-detail-page) header .menu-tabs,
  body.apx-ui-guard-mobile:not(.apx-sport-detail-page):not(.apx-detail-page) header .menu-tabs,
  body.apx-tablet:not(.apx-sport-detail-page):not(.apx-detail-page) ul.apx-phone-only.menu-tabs,
  body.apx-ui-guard-mobile:not(.apx-sport-detail-page):not(.apx-detail-page) ul.apx-phone-only.menu-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: auto !important;
    overscroll-behavior-x: none !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  body.apx-tablet header .menu-tabs::-webkit-scrollbar,
  body.apx-ui-guard-mobile header .menu-tabs::-webkit-scrollbar,
  body.apx-tablet .menu-tabs::-webkit-scrollbar,
  body.apx-ui-guard-mobile .menu-tabs::-webkit-scrollbar {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
  }

  body.apx-tablet .menu-tabs:not(.apx-detail-tabs) .nav-item,
  body.apx-ui-guard-mobile .menu-tabs:not(.apx-detail-tabs) .nav-item {
    flex: 1 1 auto;
    width: auto;
    min-width: auto;
    max-width: none;
  }

  body.apx-tablet .menu-tabs:not(.apx-detail-tabs) .nav-link,
  body.apx-ui-guard-mobile .menu-tabs:not(.apx-detail-tabs) .nav-link {
    overflow: hidden;
    text-overflow: clip;
    white-space: nowrap;
    width: 100%;
    min-width: auto;
    max-width: none;
    flex: 0 1 auto;
    flex-wrap: nowrap;
  }

  body.apx-tablet .menu-tabs:not(.apx-detail-tabs) .nav-link > span,
  body.apx-ui-guard-mobile .menu-tabs:not(.apx-detail-tabs) .nav-link > span {
    overflow: hidden;
    text-overflow: clip;
    white-space: nowrap;
    width: auto;
    min-width: 0;
    max-width: 100%;
  }

  body.apx-tablet .menu-tabs:not(.apx-detail-tabs) .nav-item.aviator .nav-link,
  body.apx-ui-guard-mobile .menu-tabs:not(.apx-detail-tabs) .nav-item.aviator .nav-link {
    flex-wrap: nowrap;
    white-space: nowrap;
  }
}



/* apx-hardcoded-ui-v91-folded (from IceHtmlTransformer) */
/* apx-hardcoded-ui-v81b */
.left-sidebar .dropdown-toggle::after,
.sidebar.left-sidebar .dropdown-toggle::after{display:none!important}
/* Drive sidebar: .blink_me opacity fade on Our Casino…Our Virtual — do not disable */
/* apx-hardcoded-ui-v84: apx-blade-chrome.css forces .bet-table-row{height:17px!important} which
   is fine on desktop (>=1200px, row never wraps) but on tablet/narrow-desktop (<1200px) Bootstrap's
   d-xl-none "1/X/2" mobile labels become visible alongside the real back/lay odd-boxes, forcing the
   row to wrap onto a 2nd line — the hardcoded 17px height then clips that 2nd line off entirely,
   hiding every real odds value while only the "1/X/2" labels (on line 1) remain visible. */
@media (max-width: 1199.98px){
  .bet-table-row{height:auto!important;min-height:auto!important}
}
/* apx-hardcoded-ui-v85: apx-blade-chrome.css's own mobile (<=767px) rules on .logo-header conflict
   with each other (four cascading declarations), and the last one wins: flex:1 1 auto + justify-
   content:center. That makes .logo-header (which wraps BOTH the hamburger toggle and the logo img)
   grow to fill the header width and center its two children as a group — pushing the logo away
   from the hamburger instead of sitting right beside it on the left. */
@media (max-width: 1199.98px){
  .logo-header{flex:0 0 auto!important;justify-content:flex-start!important;gap:6px}
}
/* apx-hardcoded-ui-v86: latest-event chips + sports-tab strip = ref secondary navy (#2c3e50).
   Active sport tab stays transparent with top underline only (no primary blue pill). */
@media (max-width: 1199.98px){
  body.apx-phone #apx-mobile-header-stack .latest-event,
  body.apx-ui-guard-mobile #apx-mobile-header-stack .latest-event,
  body.apx-phone .apx-mobile-featured .latest-event,
  body.apx-ui-guard-mobile .apx-mobile-featured .latest-event,
  body.apx-phone .main-container > .latest-event.d-xl-none,
  body.apx-ui-guard-mobile .main-container > .latest-event.d-xl-none{
    background:var(--bg-primary,#0088cc)!important;
    gap:0!important;
    padding:0 5px 5px!important;
  }
  body.apx-phone .latest-event-item,
  body.apx-ui-guard-mobile .latest-event-item{
    background:var(--bg-secondary,#2c3e50)!important;
    border-right:0!important;
  }
  body.apx-phone .latest-event-item a,
  body.apx-phone .latest-event-item a.active,
  body.apx-phone .latest-event-item:first-child a,
  body.apx-ui-guard-mobile .latest-event-item a,
  body.apx-ui-guard-mobile .latest-event-item a.active,
  body.apx-ui-guard-mobile .latest-event-item:first-child a{
    background:transparent!important;
    border-bottom:0!important;
    color:#fff!important;
  }
  /* sports-tab chrome: owned by exchange-shell.css (Drive pad/height/icons) */
}
/* apx-hardcoded-ui-v91: login chrome lives in layouts/auth (Blade login is self-contained).
   Keep only hide legacy footer shells if they appear in ice captures. */
.login-footer,
.login-footer-main{display:none!important}


/* Mobile hamburger — display owned above; dedupe only */
.apx-sidebar-toggle .fa-bars,.logo-header .fa-bars{display:inline-block}
.logo-header .apx-sidebar-toggle~.apx-sidebar-toggle,
.logo-header a.d-xl-none~.apx-sidebar-toggle,
.logo-header a.d-xl-none~a.d-xl-none{display:none}
body.apx-phone .header-bottom .navbar-toggler,
body.apx-casino-hub .header-bottom .navbar-toggler,
body.apx-our-casino .header-bottom .navbar-toggler{display:none}

@media (max-width: 1199.98px){
  body.apx-phone .header-bottom,body.apx-tablet .header-bottom,body.apx-ui-guard-mobile .header-bottom{display:none!important}
  body.apx-phone .header-top-menu,body.apx-ui-guard-mobile .header-top-menu{flex:1 1 100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  /* Keep LEFT drawer in DOM (translateX) so open/close can animate — no display:none.
     Must NOT match .apx-gd-rail.right-sidebar (game-details My Bet column): that
     wrongly forced display:block+translateX and left a tall empty grey gap above the footer. */
  body.apx-phone .sidebar.left-sidebar:not(.apx-mobile-sidebar-open):not(.apx-open):not(.visible),
  body.apx-phone aside.apx-sidebar.sidebar.left-sidebar:not(.apx-mobile-sidebar-open):not(.apx-open):not(.visible),
  body.apx-ui-guard-mobile .sidebar.left-sidebar:not(.apx-mobile-sidebar-open):not(.apx-open):not(.visible),
  body.apx-ui-guard-mobile aside.apx-sidebar.sidebar.left-sidebar:not(.apx-mobile-sidebar-open):not(.apx-open):not(.visible){
    display:block!important;transform:translateX(-100%)!important;transition:transform .25s ease!important;animation:none!important;pointer-events:none!important;box-shadow:none!important}
  body.apx-tablet .sidebar.left-sidebar:not(.apx-mobile-sidebar-open):not(.apx-open):not(.visible),
  body.apx-tablet aside.apx-sidebar.sidebar.left-sidebar:not(.apx-mobile-sidebar-open):not(.apx-open):not(.visible),
  body.apx-ui-guard-mobile .sidebar.left-sidebar:not(.apx-mobile-sidebar-open):not(.apx-open):not(.visible),
  body.apx-ui-guard-mobile aside.apx-sidebar.sidebar.left-sidebar:not(.apx-mobile-sidebar-open):not(.apx-open):not(.visible){
    pointer-events:none!important;transform:translateX(-100%)!important;transition:transform .25s ease!important
  }
  aside.apx-sidebar.sidebar.left-sidebar.apx-open,
  aside.apx-sidebar.sidebar.left-sidebar.apx-mobile-sidebar-open,
  aside.apx-sidebar.sidebar.left-sidebar.visible,
  .sidebar.apx-mobile-sidebar-open,.sidebar.left-sidebar.apx-open,.sidebar.left-sidebar.visible{
    display:block!important;position:fixed!important;top:0;left:0;bottom:0;width:80%!important;max-width:80%!important;z-index:9995!important;overflow-y:auto!important;background:var(--bg-sidebar,#ccc)!important;transform:translateX(0)!important;transition:transform .25s ease!important;animation:none!important;pointer-events:auto!important;box-shadow:none!important}
  #apx-mobile-sidebar-backdrop.show{display:block!important;position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:9990;transition:opacity .25s ease}
}

/* Blade layout — moved from inline overrides */
body{font-family:'Roboto Condensed',sans-serif;margin:0;padding:0}
.btn-grp-cs button{border:none;padding:8px 0;width:100%}
.empty.betting-disabled,.odds-empty{background:#e0e0e0;color:#999}
.top-nav-event{background:#1a5684;scrollbar-width:none}
.top-nav-event::-webkit-scrollbar{width:0;background:transparent;display:none}
b{font-weight:400}
.dash_casino h2{display:block;padding-left:10px;text-align:left}
.listing_screen h2{background:transparent}
.coupon-card{margin-bottom:16px;border-radius:0 0 2px 2px}
.table-bordered{border:1px solid #dee2e6}
.coupon-table{margin-bottom:0}
.text-dark{color:#343a40}
.coupon-table tr td:first-child{padding-left:15px;vertical-align:middle;padding-right:15px}
.coupon-table tr td{padding:0;vertical-align:middle;font-size:14px;word-wrap:break-word}
.horse-time-detail{display:flex;flex-wrap:wrap;padding:5px 5px 0}
.horse-time-detail a{display:flex}
.horse-time-detail span{font-size:12px;background:#2c3e50;color:#fff;padding:5px 10px;border-radius:4px;margin-right:5px;margin-bottom:5px;cursor:pointer;position:relative}
.horse-time-detail span.active:before{content:"";position:absolute;left:0;top:0;border-right:10px solid transparent;border-top:10px solid green}
.bet-table.horse-table .row{border:1px solid #ddd}
.bet-table.horse-table .row .col-12{border-left:1px solid #ddd}
.casinoicons{position:relative;border-radius:4px;margin-bottom:25px;margin-right:5px;cursor:pointer;box-shadow:none}
.casinoicons img{width:130px;height:auto;display:block}
/* Hub tile caption only — never fight Drive live-table .casino-header .casino-name */
.casinoicons .casino-name,
.home-products-container .casino-name,
.apx-casino-grid .casino-name{background-image:linear-gradient(var(--theme1-bg,#0088cc),var(--theme2-bg,#2c3e50));color:var(--primary-color,#fff);padding:5px;position:absolute;width:100%;bottom:-15px;left:0;text-align:center;text-transform:uppercase;font-weight:bold;font-size:11px}
/* Neutralize legacy absolute hub rule if any leftover selector hits live boards */
body.apx-live-page .casino-header .casino-name,
body.apx-exchange .apx-live-table-page .casino-header .casino-name{position:static;background:transparent;background-image:none;width:auto;bottom:auto;left:auto;padding:0;font-size:inherit;font-weight:700;text-align:left;text-transform:uppercase;color:inherit}
.home-products-container .row5{display:flex;flex-wrap:wrap}
.img-fluid{border-radius:4px 4px 0 0}
.cursor{cursor:pointer}
/* Sidebar nav (from side_bar inline) */
.nav-menu ul li>a{background-color:#0088CC;color:#fff;font-weight:bold;padding:8px 10px;display:block;border-bottom:1px solid rgba(255,255,255,.2)}
.nav-menu ul li .collapse ul li a{background-color:#f1f1f1;color:#333;padding:6px 20px;border-bottom:1px solid #ddd;font-weight:normal}
.nav-menu ul li .collapse ul li a:hover{background-color:#e0e0e0}
/* Casino mobile layout (replaces ice-bridge inline styles) */
@media (max-width: 1199.98px){
  .bet-table.horse-table .row .col-12{border-left:none}
  .horse-time-detail span{background:#092844;color:#fff;padding:4px 6px}
  .horse-time-detail{padding:0}
  .video-container,.casino-video,.casino-video-box,#video-box{width:100%;max-width:100%;margin:0}
  .casino-table,.casino-detail,.casino-container{width:100%;max-width:100%}
  .casino-table-box{display:flex;flex-wrap:wrap;width:100%}
  .casino-table-left-box,.casino-table-right-box{flex:1 1 48%;max-width:50%}
  .casino-table .casino-odds,.casino-odds-box{min-height:42px}
}


/* Bet slip dock (from chrome) */
/* Bet slip */
#apx-sports-betslip{box-sizing:border-box}
@media(min-width:1200px){#apx-sports-betslip{left:auto!important;right:16px!important;bottom:16px!important;width:360px!important;border-radius:8px!important}}
@media (max-width: 1199.98px){#apx-sports-betslip{left:0!important;right:0!important;bottom:0!important;width:100%!important;border-radius:10px 10px 0 0!important}}
