/**
 * Ocean7777 SoT parity layer — loaded LAST so Tailwind/globals cannot hide the board.
 * Scoped overrides only — do NOT paint bare .back/.lay (breaks .casino-detail borders).
 */
html,
html.dark {
  color-scheme: light;
  background-color: var(--bg-body, #ffffff) !important;
}

body,
body.min-h-screen,
body.bg-\[\#ffffff\],
body[class*="bg-["] {
  background-color: var(--bg-body, #ffffff) !important;
  color: var(--text-body, #1a2330) !important;
  font-family: Roboto Condensed, Noto Sans, Hind, system-ui, sans-serif !important;
}

/* Neutralize Next/Tailwind dark wrapper fighting SoT shells */
.ocean-sot-root,
.ocean-sot-sport-page,
.home-new,
.home-container,
.casino-table,
.detail-page-container,
.wrapper {
  background-color: var(--bg-body, #ffffff) !important;
  color: var(--text-body, #1a2330) !important;
}

/* Light header: pts/exp must be dark, never white-on-pale */
header.header .bal-point,
header.header .bal-point span,
header.header .balance-value,
header.header .username {
  color: #1a2330 !important;
}

/* In-play ticker titles on cyan strip — white is correct here */
.ocean-sot-sport .new-event .ocean-ticker-title,
.home-container .new-event .ocean-ticker-title {
  color: #ffffff !important;
}

header.header {
  background-color: var(--bg-sidebar, #f3f6f8) !important;
}

/*
 * Dead CSS fix: .header-top is position:fixed + width:100% but inherits a
 * static “left” from sitting inside .header (left≈220/302 beside sidebar).
 * That yields left+100vw past the viewport and clips under overflow-x:hidden.
 * Pin full-bleed top strip to the viewport like SoT intends.
 */
.header-top,
.header-top.d-none-mobile {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}

.news-bar .marquee-wrapper,
.marquee-wrapper {
  min-width: 0 !important;
  overflow: hidden !important;
}

/* Casino + sports shells — never let nested grids push horizontal scroll */
html,
body,
.ocean-sot-root,
.casino-container,
.casino-list-container,
.home-new,
.main-container {
  max-width: 100vw;
  overflow-x: hidden;
}

.bet-table,
.home-container .bet-table,
.detail-page-container .bet-table,
.casino-place-bet .bet-table {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Sports exchange + place-bet sidebar only — not .casino-detail .back borders */
.bl-box.back,
.home-container .bl-box.back,
.detail-page-container .bl-box.back,
.casino-place-bet .bl-box.back,
.back-border {
  background-color: #72bbef !important;
}

.bl-box.lay,
.home-container .bl-box.lay,
.detail-page-container .bl-box.lay,
.casino-place-bet .bl-box.lay,
.lay-border {
  background-color: #f994ba !important;
}

.casino-bl-box-item.back {
  background-color: #72bbef40 !important;
  border: 2px solid var(--back, #72bbef) !important;
  color: #d7d7d7 !important;
}

.casino-bl-box-item.lay {
  background-color: #f994ba40 !important;
  border: 2px solid var(--lay, #f994ba) !important;
  color: #d7d7d7 !important;
}

.d-icon {
  font-family: "dfont" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}

/* Keep SoT carousel / fixtures visible */
.upcoming-fixure,
.carousel.vert.slide,
.carousel.slide,
.carousel-item.carousal-23 {
  visibility: visible !important;
}

/* ——— Casino table shell depth ——— */
/* SoT ocean7777.com/casino/pokert20: .casino-table is display:block (not flex) */
.casino-table {
  display: block !important;
  min-height: 0 !important;
  width: 100% !important;
  position: relative !important;
  padding-top: 0 !important;
  box-sizing: border-box !important;
}

/*
 * Theme: BLU777 light stays in blu777-light-theme.css.
 * Do NOT re-apply ocean7777 dark (#23292e / #2e3439) here — layout parity only.
 */
.casino-page .casino-video-last-results span.resulta {
  color: #fc4242 !important;
}
.casino-page .casino-video-last-results span.resultb {
  color: #c9a000 !important;
}
.casino-page .casino-video-last-results span.resulttie {
  color: #1a2330 !important;
}

.casino-table > .header.header-top {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 6px 10px !important;
  min-height: 44px !important;
  height: 60px !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1100 !important;
}

/* KBR777 layout aliases — structure/responsive only (no theme colors) */
.report-page .center-main-content {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* SoT header news: speaker must not overlap marquee text */
header.header .news-bar {
  position: relative !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  padding-right: 40px !important;
}
header.header .news-bar .news-title {
  position: absolute !important;
  right: 4px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 2 !important;
  margin: 0 !important;
}
header.header .news-bar .marquee-wrapper {
  width: 100% !important;
  max-width: 100% !important;
}

.report-box .report-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.report-box .report-name {
  font-weight: 700;
  font-size: 1.1rem;
}

.special-menu .sport-name,
.menu-box .sport-name {
  margin-left: 6px;
}

@media (max-width: 991.98px) {
  .special-menu,
  .sidebar-left.d-none-mobile {
    /* keep SoT mobile hide; hamburger owns menu */
  }
}

/* SoT: .casino-center + .casino-right-sidebar are siblings under .center-main-content */
.center-main-content:has(.casino-center) {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
}

/* Default (mobile/tablet): full-bleed center — desktop split only ≥1280 */
.center-main-content > .casino-center {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  flex: 1 1 100% !important;
  padding-top: 0 !important;
}

.casino-table > .casino-video,
.casino-table > .casino-detail {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  display: block !important;
}

.casino-table .casino-video {
  position: relative !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  overflow: visible !important;
}

/* Mobile/tablet: full-width video (SoT responsive.css) */
.casino-table .casino-video .video-box-container {
  max-width: 100% !important;
  margin-left: auto !important;
}

.casino-table .casino-video .video-box {
  position: relative !important;
  width: 100% !important;
  padding-bottom: 56.25% !important;
}

.casino-table .casino-video .video-box > iframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  background: #000 !important;
}

.casino-table .casino-timer {
  top: auto !important;
  bottom: 5px !important;
  right: 5px !important;
  left: auto !important;
}

.casino-table .casino-detail {
  display: block !important;
  visibility: visible !important;
  padding: 4px !important;
  width: 100% !important;
}

.casino-table .casino-box-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
}

.casino-table .casino-nation-name {
  width: calc(100% - 148px) !important;
}

.casino-table .casino-bl-box {
  display: flex !important;
  align-items: center !important;
}

.casino-place-bet-title {
  padding: 8px 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  font-size: 12px !important;
  background: var(--bg-table-header-new, #00a0d8) !important;
  color: var(--text-table-header-new, #fff) !important;
}

/* ——— Sport event detail ——— */
.detail-page-container {
  display: flex !important;
  flex-wrap: wrap !important;
  width: 100% !important;
}

.detail-page-container .banner.scorecard-banner {
  width: 100% !important;
  height: auto !important;
  min-height: 148px !important;
  display: block !important;
  overflow: visible !important;
  visibility: visible !important;
}

.detail-page-container .market-12,
.detail-page-container .market-1 {
  min-width: calc(100% - 6px) !important;
  margin: 3px !important;
  flex: 1 !important;
}

.detail-page-container .bet-table-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: normal !important;
  gap: 0 !important;
  padding: 2px 8px !important;
}

/*
 * SoT mobile: .bet-table-row.d-none-mobile (Back/Lay column titles) must stay hidden.
 * Parity `display:flex !important` above tied specificity with globals
 * `.ocean-sot-sport-page .d-none-mobile { display:none !important }` and won by
 * stylesheet order — leaking "Back"/"Lay" text on phones (SoT has h=0).
 */
.detail-page-container .bet-table-row.d-none-mobile {
  display: none !important;
}
@media only screen and (min-width: 1280px) {
  .detail-page-container .bet-table-row.d-none-mobile {
    display: flex !important;
  }
}

/* Dev provenance chip — hidden for SoT visual parity (data still in DOM for audits) */
.ocean-manage90-badge {
  display: none !important;
}
.ocean-manage90-badge--visible {
  display: flex !important;
  gap: 8px !important;
  align-items: center !important;
  width: 100% !important;
  padding: 8px 12px !important;
  font-size: 12px !important;
  background: rgba(114, 187, 239, 0.12) !important;
  border-bottom: 1px solid rgba(114, 187, 239, 0.25) !important;
  color: #cfe7ff !important;
}

.ocean-manage90-badge .status-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 99px !important;
  background: #f59e0b !important;
}

.ocean-manage90-badge .status-dot.ok {
  background: #22c55e !important;
}

/* SoT ≤1279: hide place-bet right rail; center is 100% */
@media only screen and (max-width: 1279px) {
  .center-main-content > .casino-center {
    width: 100% !important;
    margin: 0 !important;
    flex: 1 1 100% !important;
  }
  .center-main-content > .right-sidebar.casino-right-sidebar {
    display: none !important;
  }
  .casino-page.ocean-sot-root > .center-main-content,
  .ocean-sot-root.main-container.casino-page > .center-main-content,
  .wrapper.main-container.casino-page > .center-main-content {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Fixed SoT .header — clear content when classic header is fixed.
   Pre-login home uses in-flow sticky .home-new-header — no extra offset. */
.ocean-sot-sport-page > main.center-main,
.main-container > main.center-main {
  margin-top: 60px;
}
.wrapper.home-new > main.center-main,
.ocean-sot-root.wrapper.home-new > main.center-main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* SoT Bootstrap-Vue mobile left drawer (post-Demo hamburger) */
.b-sidebar-outer {
  position: relative;
  z-index: 1100;
}

.b-sidebar.d-none-desktop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  height: 100vh !important;
  max-width: 80vw !important;
  z-index: 1102 !important;
  overflow: auto !important;
  background: var(--bg-sidebar, #f3f6f8) !important;
  color: var(--text-sidebar, #1a2330) !important;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.18);
}

/* Mobile drawer: never inherit desktop fixed sidebar (top:34px) — that
   pulled search over the All Sports header (homepage + after Demo). */
.b-sidebar .sidebar-left,
.b-sidebar #sidebar-left-mo.sidebar-left {
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  min-height: 100% !important;
  height: auto !important;
  max-height: none !important;
  background: transparent !important;
  z-index: auto !important;
}

.b-sidebar .menu-scrolable {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  max-height: 100vh !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}

.b-sidebar .search-box {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 10px 12px !important;
  margin: 0 !important;
  min-height: 52px !important;
  border-bottom: 1px solid #d0d7de !important;
  background: #f3f6f8 !important;
}

.b-sidebar .search-box .form-group {
  flex: 1 1 auto !important;
  position: relative !important;
  display: block !important;
  width: auto !important;
  max-width: calc(100% - 44px) !important;
  margin: 0 !important;
  padding: 0 !important;
}

.b-sidebar .search-box .form-control {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  border: 1px solid #d0d7de !important;
  border-radius: 4px !important;
  color: #1a2330 !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  line-height: 34px !important;
  padding: 0 32px 0 10px !important;
  margin: 0 !important;
  font-size: 13px !important;
}

.b-sidebar .search-box .search-icon {
  position: absolute !important;
  right: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #5a6570 !important;
  pointer-events: none !important;
  z-index: 1;
}

.b-sidebar .search-box .menu-button-mobile {
  flex: 0 0 36px !important;
  width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  position: relative !important;
  top: auto !important;
  right: auto !important;
}

/* All Sports header must sit BELOW search — never under it */
.b-sidebar .menu-box {
  position: relative !important;
  z-index: 1 !important;
  flex: 1 1 auto !important;
  padding: 0 0 24px !important;
  margin: 0 !important;
  clear: both !important;
}

.b-sidebar .menu-box .text-yellow,
.b-sidebar .menu-box h5 {
  display: block !important;
  position: relative !important;
  z-index: 1 !important;
  margin: 0 !important;
  padding: 8px 12px !important;
  background: var(--bg-table-header-new, #0da1b8) !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.b-sidebar .menu-box .text-yellow u,
.b-sidebar .menu-box h5 u {
  color: inherit !important;
  text-decoration: none !important;
}

.b-sidebar .menu-box .nav-link {
  color: #1a2330 !important;
  padding: 10px 16px;
  display: block;
  border-bottom: 1px solid #e2e8f0;
}

.b-sidebar .menu-box .nav-link:hover {
  background: #e8f6fc;
  color: #0077a8 !important;
}

.b-sidebar-backdrop.bg-dark {
  position: fixed;
  inset: 0;
  z-index: 1101;
  background: rgba(0, 0, 0, 0.55);
}

header.header .menu-button-mobile {
  flex-shrink: 0;
}

/* SoT betslip (right sidebar) — kill Tailwind “cheap card” leftovers */
.ocean-sot-betslip,
.right-sidebar .bet-slip-container {
  background: var(--bg-sidebar, #f3f6f8);
  border: 1px solid #d0d7de;
  border-radius: 0;
  box-shadow: none;
  padding: 6px;
  color: #1a2330;
}

.ocean-sot-betslip .bet-slip-tabs {
  display: flex;
  gap: 0;
  width: 100%;
}

.ocean-sot-betslip .bet-slip-tabs button {
  flex: 1;
  border: 0;
  background: #e8eef2;
  color: #1a2330;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 6px;
  cursor: pointer;
}

.ocean-sot-betslip .bet-slip-tabs button.active {
  background: var(--bg-table-header-new, #0da1b8);
  color: #fff;
}

.ocean-sot-betslip .bet-slip-box {
  background: #fff;
  border: 1px solid #d0d7de;
  margin-top: 6px;
  padding: 8px;
}

.ocean-sot-betslip .bet-slip-box.back {
  border-left: 3px solid var(--back, #72bbef);
}

.ocean-sot-betslip .bet-slip-box.lay {
  border-left: 3px solid var(--lay, #faa9ba);
}

.ocean-sot-betslip .bet-type {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 1px 5px;
  margin-right: 4px;
}

.ocean-sot-betslip .bet-type.back {
  background: var(--back, #72bbef);
  color: #052b47;
}

.ocean-sot-betslip .bet-type.lay {
  background: var(--lay, #faa9ba);
  color: #520917;
}

.ocean-sot-betslip .bet-input .form-control {
  height: 32px !important;
  background: #fff !important;
  border: 1px solid #d0d7de !important;
  color: #1a2330 !important;
  border-radius: 0 !important;
}

.ocean-sot-betslip .place-bet-btn {
  background: var(--bg-table-header-new, #0da1b8) !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #fff !important;
  font-weight: 800;
  text-transform: uppercase;
  padding: 10px;
}

.ocean-sot-betslip .clear-all {
  background: transparent;
  border: 0;
  color: #0077a8;
  font-size: 11px;
  cursor: pointer;
  padding: 0 4px;
}

.ocean-sot-betslip .close {
  background: transparent;
  border: 0;
  font-size: 18px;
  line-height: 1;
  color: #5a6570;
  cursor: pointer;
  padding: 0 4px;
}

/* ——— Sportsbook micro: F / F1 / BM / TV badges (SoT game-icons) ——— */
.ocean-sot-sport .game-icons,
.home-container .game-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  width: 115px;
  max-width: 115px;
  min-height: 22px;
  flex-shrink: 0;
  overflow: hidden;
}

.ocean-sot-sport .game-icon .f-bm-icon,
.home-container .game-icon .f-bm-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 14px;
  height: 16px;
  padding: 0 3px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  color: #9a7209;
  border: 1px solid #d4a017;
  border-radius: 2px;
  background: #fff8e1;
}

.ocean-sot-sport .game-icon.bm-icon .f-bm-icon,
.home-container .game-icon.bm-icon .f-bm-icon {
  color: #0077a8;
  border-color: #00aeef;
  background: #e8f6fc;
}

.ocean-sot-sport .game-icon.tv-icon .d-icon,
.home-container .game-icon.tv-icon .d-icon {
  font-size: 14px;
  color: #3c444b;
  line-height: 22px;
}

/* Scorecard Live TV control */
.scorecard-banner .scorecard {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  position: relative;
}

.scorecard-banner .ocean-live-tv-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  cursor: pointer;
  color: #ddd;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.25);
}

.scorecard-banner .ocean-live-tv-btn.d-none {
  display: none !important;
}

/* Live scoreline (“red life”) — only rendered when manage90 sends score text */
.scorecard-banner .ocean-scoreline {
  width: 100%;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ff4d4f !important;
  line-height: 1.3;
  margin: 2px 0 4px;
}

.banner.scorestats .ocean-live-tv-frame,
.ocean-live-tv-stage .ocean-live-tv-frame {
  display: block;
  width: 100%;
  height: 480px !important;
  min-height: 200px;
  border: 0;
  background: #0a0f18;
}

.banner.scorestats .ocean-live-tv-shell {
  min-height: 180px;
  padding: 1rem;
  text-align: center;
  background: #0a0f18;
  color: #c8cdd2;
}

.banner.scorestats .ocean-live-tv-player,
.banner.scorestats .ocean-live-tv-video {
  display: block;
  width: 100%;
  min-height: 220px;
  max-height: 56vw;
  background: #030309;
  border: 0;
}

.banner.scorestats .ocean-live-tv-err {
  padding: 6px 10px;
  font-size: 12px;
  color: #ff8a8a;
  background: #1a1010;
}

.scorecard-banner .ocean-live-scorecard {
  width: 100%;
  margin-top: 6px;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.scorecard-banner .ocean-live-scorecard .team-name {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.scorecard-banner .ocean-live-scorecard .team-img img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 50%;
}

.scorecard-banner .ocean-live-scorecard .scorecard-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.banner.scorestats {
  display: block !important;
  width: 100%;
}

/* Mobile: keep footer + markets clear of fixed bottom nav */
@media (max-width: 991.98px) {
  .ocean-sot-sport-page,
  .ocean-sot-root.wrapper,
  .main-container.ocean-sot-sport-page {
    padding-bottom: 72px !important;
  }
  .ocean-footer.footer {
    margin-bottom: 56px;
    position: relative;
    z-index: 1;
  }
  .scorecard-banner .ocean-live-tv-btn {
    margin-left: 0;
    margin-top: 4px;
  }
}

.scorecard-banner .ocean-live-tv-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

/*
 * Match Odds / BM Back·Lay chips — SoT style.css `.back-title { color:#eee !important }`.
 * Fancy Yes/No/Odd/Even keep dark ink (higher contrast labels).
 */
.detail-page-container .bet-table .back-title,
.detail-page-container .bet-table .lay-title {
  color: #eee !important;
}
.detail-page-container .fancy-tripple .back-title,
.detail-page-container .fancy-tripple .lay-title,
.detail-page-container .market-6 .back-title,
.detail-page-container .market-6 .lay-title {
  color: #1a2330 !important;
}

/* ——— Home SoT chrome: home-new-header + Matka bar + Upcoming Fixure ——— */

/* Bootstrap-ish row/cols for home-new-header */
.wrapper.home-new .home-new-header .row.row5 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-left: -5px;
  margin-right: -5px;
  height: 100%;
}
.wrapper.home-new .home-new-header .row.row5 > [class*='col-'] {
  padding-left: 5px;
  padding-right: 5px;
  box-sizing: border-box;
}
.wrapper.home-new .home-new-header .col-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}
.wrapper.home-new .home-new-header .col-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}
@media only screen and (min-width: 768px) {
  .wrapper.home-new .home-new-header .col-md-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .wrapper.home-new .home-new-header .col-md-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
}

.wrapper.home-new .home-new-header {
  width: 100%;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
  height: 70px;
  padding-top: 10px;
  padding-bottom: 10px;
  box-sizing: border-box;
  background-color: var(--bg-body, #1a2330);
}
.wrapper.home-new .home-new-header-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  width: 100%;
}
.wrapper.home-new .home-new-header-bottom .navbar {
  display: none;
}
.wrapper.home-new .home-new-header .login-box {
  display: flex;
  align-items: center;
}
.wrapper.home-new .home-new-header .login-box .btn {
  height: 40px;
  border-radius: 0;
  font-weight: 700;
  white-space: nowrap;
}
.wrapper.home-new .home-new-logo {
  display: flex;
  height: 100%;
  align-items: center;
}
.wrapper.home-new .home-new-logo a {
  display: flex;
  align-items: center;
  height: 100%;
}
.wrapper.home-new .home-new-logo img {
  max-height: 50px;
  max-width: 230px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media only screen and (max-width: 1279px) {
  .wrapper.home-new .home-new-header {
    height: 56px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
  }
  .wrapper.home-new .home-new-logo img {
    max-height: 40px !important;
    max-width: 100%;
  }
  .wrapper.home-new .home-new-header .login-box .btn {
    height: 34px;
    font-size: 14px;
    font-weight: bold;
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* Upcoming Fixure strip — SoT uses misspelled fixure-* classes; alias fixture-* too */
.home-new > .upcoming-fixure,
.wrapper.home-new .home-new > .upcoming-fixure {
  width: 100% !important;
  flex: none !important;
  /* SoT live @412: margin-top 5px between mobile-switch-theme and fixure */
  margin: 5px 0 0 0 !important;
  max-width: 100% !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  height: 46px;
  background-color: #444 !important;
  color: #ddd !important;
  border-radius: 0;
  overflow: hidden;
}

.home-new .upcoming-fixure .fixure-title,
.home-new .upcoming-fixure .fixture-title {
  float: none !important;
  flex: 0 0 70px;
  width: 70px;
  margin-right: 25px;
  z-index: 2;
  line-height: 14px;
  font-size: 11px;
  padding: 4px 0 4px 6px;
  color: #fff !important;
  background-color: var(--bg-table-header-new, #00aeef) !important;
  text-align: center;
  font-weight: 700;
  height: 100%;
  position: relative;
  display: flex !important;
  justify-content: center;
  align-items: center;
  border-bottom: none !important;
  box-sizing: border-box;
}

.home-new .upcoming-fixure .fixure-title::after,
.home-new .upcoming-fixure .fixture-title::after {
  content: "";
  position: absolute;
  width: 46px;
  height: 46px;
  border-top: 23px solid transparent;
  border-left: 23px solid var(--bg-table-header-new, #00aeef);
  border-bottom: 23px solid transparent;
  right: -46px;
  top: 0;
  z-index: 1;
}

.home-new .upcoming-fixure .fixure-box-container,
.home-new .upcoming-fixure .fixture-box-container {
  flex: 1 1 auto;
  width: auto !important;
  max-width: none;
  height: 46px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: transparent !important;
}

.home-new .upcoming-fixure .marquee,
.home-new .upcoming-fixure .marquee-inner {
  width: 100%;
  overflow: hidden;
  height: 100%;
}

.home-new .upcoming-fixure .marquee-content {
  display: inline-flex;
  white-space: nowrap;
  padding-left: 0;
  height: 100%;
  align-items: center;
  animation: ocean-login-fixture-scroll linear infinite;
  will-change: transform;
}

.home-new .upcoming-fixure .login-fixture {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  height: 100%;
  align-items: center;
}

.home-new .upcoming-fixure .login-fixture .fixure-box,
.home-new .upcoming-fixure .login-fixture .fixture-box {
  flex-shrink: 0;
  color: #ddd !important;
  background: transparent !important;
  margin-right: 20px;
  padding: 5px;
  font-size: 14px;
  line-height: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.home-new .upcoming-fixure .login-fixture .fixure-box > a > div:last-child,
.home-new .upcoming-fixure .login-fixture .fixture-box > a > div:last-child,
.home-new .upcoming-fixure .login-fixture .fixure-box a div:last-child,
.home-new .upcoming-fixure .login-fixture .fixture-box a div:last-child {
  font-size: 11px;
  margin-top: 3px;
}

.home-new .upcoming-fixure .login-fixture .fixure-box a,
.home-new .upcoming-fixure .login-fixture .fixture-box a {
  color: inherit !important;
  text-decoration: none;
  background: transparent !important;
}

@keyframes ocean-login-fixture-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Matka / Demo / settings — mobile strip (hidden ≥1280 via .d-none-desktop) */
.home-new .mobile-switch-theme {
  display: flex;
  align-items: center;
  width: 100%;
  background-color: var(--bg-table-header-new, #00aeef) !important;
  min-height: 38px;
  box-sizing: border-box;
  overflow: hidden;
}

.home-new .mobile-switch-theme .news-bar {
  background-color: transparent !important;
  color: #fff !important;
  height: 34px;
  min-width: 0;
  width: auto;
  flex: 1 1 auto;
  margin: 0 5px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.home-new .mobile-switch-theme .news-bar .marquee-wrapper {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.home-new .mobile-switch-theme .news-bar .marquee-content {
  display: inline-block;
  white-space: nowrap;
  color: #fff !important;
  animation: ocean-login-fixture-scroll linear infinite;
}

.home-new .mobile-switch-theme .news-title {
  color: #fff !important;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 4px;
  background: transparent !important;
}
.home-new .mobile-switch-theme .news-title img {
  width: 22px;
  height: 22px;
  display: block;
}

.home-new .mobile-switch-theme .btn-demo {
  flex-shrink: 0;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
  white-space: nowrap;
  line-height: 1.2;
  border-radius: 2px;
  height: 28px;
  margin: 0 4px 0 0;
}

.home-new .mobile-switch-theme .setting-box-container {
  flex-shrink: 0;
  margin-right: 0;
  position: relative;
  background: rgba(0, 0, 0, 0.25);
  align-self: stretch;
  display: flex;
  align-items: center;
  top: auto !important;
}

.home-new .mobile-switch-theme .setting-icon {
  color: #ddd !important;
  padding: 8px 10px;
  cursor: pointer;
  background: transparent !important;
}

@media only screen and (min-width: 1280px) {
  .home-new .mobile-switch-theme.d-none-desktop {
    display: none !important;
  }
  /* SoT live @1280: fixure strip stays 46px (not 56) */
  .home-new > .upcoming-fixure,
  .wrapper.home-new .home-new > .upcoming-fixure {
    height: 46px;
  }
  .home-new .upcoming-fixure .fixure-box-container,
  .home-new .upcoming-fixure .fixture-box-container {
    height: 46px;
  }
  .home-new .upcoming-fixure .fixure-title,
  .home-new .upcoming-fixure .fixture-title {
    font-size: 12px;
    line-height: 16px;
  }
  .home-new .upcoming-fixure .fixure-title::after,
  .home-new .upcoming-fixure .fixture-title::after {
    width: 46px;
    height: 46px;
    border-top: 23px solid transparent;
    border-left: 23px solid var(--bg-table-header-new, #00aeef);
    border-bottom: 23px solid transparent;
    right: -46px;
  }
}

@media only screen and (max-width: 1279px) {
  .home-new > .upcoming-fixure,
  .wrapper.home-new .home-new > .upcoming-fixure {
    height: 42px;
  }
  .home-new .upcoming-fixure .fixure-box-container,
  .home-new .upcoming-fixure .fixture-box-container {
    height: 42px;
  }
  .home-new .upcoming-fixure .fixure-title::after,
  .home-new .upcoming-fixure .fixture-title::after {
    width: 42px;
    height: 42px;
    border-top: 21px solid transparent;
    border-left: 21px solid var(--bg-table-header-new, #00aeef);
    border-bottom: 21px solid transparent;
    right: -42px;
  }
}


/* ——— SoT modal-login-new (Login / Request a Demo) ——— */
.modal-login-outer {
  position: fixed;
  inset: 0;
  z-index: 1060;
  pointer-events: none;
}
.modal-login-outer .modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1060;
  background: rgba(0, 0, 0, 0.75);
  pointer-events: auto;
}
.modal-login-outer .modal.modal-login-new {
  position: fixed;
  inset: 0;
  z-index: 1070;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
  pointer-events: none;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.modal-login-outer .modal-login-new .modal-dialog {
  position: relative;
  width: auto;
  max-width: 420px;
  margin: 1rem;
  pointer-events: auto;
  width: 100%;
}
.modal-login-outer .modal-login-new .modal-content {
  border-radius: 0;
  background-color: #333;
  border: 1px solid transparent;
  color: #fff;
}
.modal-login-outer .modal-login-new .modal-header {
  justify-content: flex-end;
  padding: 10px 16px;
  background: #000;
  border-bottom: 0;
  border-radius: 0;
  color: #fff;
}
.modal-login-outer .close-login-modal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  cursor: pointer;
}
.modal-login-outer .close-login-modal h5 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}
.modal-login-outer .close-login-x {
  height: 30px;
  width: 30px;
  border-radius: 50%;
  background: transparent;
  padding: 0;
  border: 2px solid #f00;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: pointer;
}
.modal-login-outer .modal-login-new .modal-body {
  padding: 16px;
}
.modal-login-outer .modal-login-new .login-form {
  background: #000;
  color: #fff;
  padding: 16px;
  border-radius: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.modal-login-outer .modal-login-new .login-form .form-group {
  width: 100%;
  margin-bottom: 20px;
}
.modal-login-outer .modal-login-new .login-form label,
.modal-login-outer .modal-login-new .user-email-text {
  color: #fff;
  font-size: 16px;
  display: block;
  margin-bottom: 6px;
}
.modal-login-outer .modal-login-new .form-control {
  border: 1px solid #777;
  color: #fff;
  height: 56px;
  background-color: #444;
  width: 100%;
  padding: 0 12px;
  border-radius: 0;
}
.modal-login-outer .modal-login-new .form-control:focus {
  outline: none;
  background-color: transparent;
  border-color: var(--bg-table-header-new, #00aeef);
}
.modal-login-outer .modal-login-new .input-group {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  width: 100%;
}
.modal-login-outer .modal-login-new .input-group .form-control {
  flex: 1 1 auto !important;
  width: 1% !important;
  min-width: 0 !important;
  border-right: 0 !important;
}
.modal-login-outer .modal-login-new .input-group-append {
  display: flex !important;
  flex-shrink: 0;
}
.modal-login-outer .modal-login-new .input-group-append .btn {
  height: 56px;
  border-radius: 0;
  border: 1px solid #777;
  background: #444;
  color: #fff;
  min-width: 48px;
  margin: 0;
}
.modal-login-outer .modal-login-new .btn-primary.btn-block {
  width: 100%;
  height: 56px;
  border-radius: 0;
  font-weight: 700;
}
.modal-login-outer .login-btn-devider {
  width: 100%;
  text-align: center;
  margin: 10px 0;
  position: relative;
  color: #aaa;
  font-size: 13px;
}
.modal-login-outer .login-form .error {
  color: #ff6b6b;
  font-size: 13px;
}

/* Settings dropdown above chrome */
.setting-box-container {
  position: relative;
  z-index: 1100;
}
.setting-box-container .setting-box,
.setting-box-container .setting-box.collapse.show {
  z-index: 1200;
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  overflow: visible !important;
}
.setting-box-container.hide > .setting-box {
  display: none !important;
}
.home-new .mobile-switch-theme {
  overflow: visible;
}
.home-new .mobile-switch-theme .setting-box-container {
  position: relative;
  overflow: visible;
}
.home-new .mobile-switch-theme .setting-box-container .setting-box {
  top: 38px;
  right: 0;
  position: absolute;
  width: min(300px, 92vw);
}


/* Setting option rows must stay visible (Bootstrap .collapse was blanking them) */
.setting-box-container .setting-sub-box {
  display: block !important;
  visibility: visible !important;
  color: #fff !important;
}
.setting-box-container .switch-theme div,
.setting-box-container .language-list div {
  color: #fff !important;
  visibility: visible !important;
}
.setting-box-container .switch-theme div.selected,
.setting-box-container .language-list div.selected {
  color: var(--text-yellow, #ffc107) !important;
  font-weight: 700;
}


/* Classic header guest Login/Demo — same SoT buttons as home-new-header */
.header .header-guest-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-right: 8px;
}
.header .header-guest-actions .login-box .btn {
  height: 34px;
  border-radius: 0;
  font-weight: 700;
  white-space: nowrap;
}
.header .header-right .setting-box-container.d-none-mobile {
  position: relative;
  margin-right: 6px;
}


/* Classic header — mobile post-login settings gear tap target */
.header .header-right .setting-box-container.d-none-desktop {
  position: relative;
  display: flex !important;
  align-items: center;
  height: 40px;
  min-width: 36px;
}
.header .header-right .setting-box-container.d-none-desktop .setting-icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 18px;
  color: var(--bg-table-header-new, #00aeef);
}
.header .header-right .bal-point {
  font-size: 12px;
  font-weight: 700;
  margin-right: 6px;
  white-space: nowrap;
}


/*
 * Sport/game Match Odds + Bookmaker ladder — measured SoT ocean7777.com @390:
 *   .bl-box = width 15% (~54px) + margin-right 2% (~7.2px) + height 34
 *   flex: 0 1 auto; float: left; row gap: none; justify: normal; padding: 2px 8px
 * Do NOT force 57px/gap/flex-end — that overflowed first cell to x≈-13.
 * Scope to .market-4 ONLY — .market-6 fancy stays SoT 35% / min-max 26%.
 */
.detail-page-container .market-4 .bet-table-row .bl-box {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
@media only screen and (max-width: 1279px) {
  /* Undo any Tailwind/parity fights; mirror responsive.css detail-page 15%/2% */
  .detail-page-container .market-4 .bet-table-row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: normal !important;
    gap: 0 !important;
    padding: 2px 8px !important;
  }
  .detail-page-container .market-4 .bet-table-row .bl-box {
    flex: 0 1 auto !important;
    float: left;
    width: 15% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 34px !important;
    min-height: 34px !important;
    margin-top: 0 !important;
    margin-right: 2% !important;
    padding: 3px 0 !important;
  }
  .detail-page-container .market-4 .bet-table-row .bl-box:last-child {
    margin-right: 0 !important;
  }
  /* SoT cricket Bookmaker is also 6×15% (class is plain market-4). Never 49%. */
  .detail-page-container .market-4.bm-market .bet-table-row .bl-box,
  .detail-page-container .bm-market .bl-box,
  .detail-page-container .bm-market .bl-title {
    width: 15% !important;
    max-width: none !important;
    min-width: 0 !important;
  }
  .detail-page-container .market-4.bm-market .bet-table-row .bl-box:last-child,
  .detail-page-container .bm-market .bet-table-row .bl-box:last-child {
    margin-right: 0 !important;
  }
  .detail-page-container .market-4 .bet-table-row .bl-box .odds {
    font-size: 12px;
    line-height: 1.1;
  }
  .detail-page-container .market-4 .bet-table-row .bl-box .d-block:not(.odds) {
    font-size: 9px;
    line-height: 1;
    opacity: 0.9;
  }
  /* SoT: .market-6 .bl-box { width: 35% } + .fancy-min-max { width: 26% } */
  .detail-page-container .market-6 .fancy-tripple .bl-box,
  .detail-page-container .fancy-market .bl-box {
    flex: 0 1 auto !important;
    float: left;
    width: 35% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 34px !important;
    min-height: 34px !important;
    margin-right: 2% !important;
  }
  .detail-page-container .market-6 .fancy-min-max,
  .detail-page-container .fancy-market .fancy-min-max {
    width: 26% !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: 0 1 auto !important;
  }
  .detail-page-container .market-6 .fancy-tripple .bet-table-row,
  .detail-page-container .fancy-market .bet-table-row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: normal !important;
    gap: 0 !important;
    padding: 2px 8px !important;
  }
  .detail-page-container .bet-table-mobile-row {
    display: block !important;
    width: 100%;
    padding: 4px 8px 0;
  }
  .detail-page-container .bet-table-mobile-team-name {
    font-weight: 700;
    font-size: 13px;
  }
  .detail-page-container .bet-table-header .nation-name {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    width: 100%;
  }
  .detail-page-container .bet-table-header .btn-sm {
    padding: 2px 8px;
    font-size: 11px;
  }
  /* SoT mobile: compact 118px scoreboard embed, not 280–500px banner stack */
  .detail-page-container .scoreboard-embed-container {
    display: block;
    width: 100%;
    height: 118px;
    overflow: hidden;
  }
  .detail-page-container .scoreboard-embed-container .scoreboard-embed-frame,
  .detail-page-container .scoreboard-embed-container iframe {
    width: 100% !important;
    height: 118px !important;
    border: 0;
    display: block;
  }
  .detail-page-container.has-scoreboard-embed .banner.scorecard-banner .scorecard-new,
  .detail-page-container.has-scoreboard-embed .banner.scorecard-banner .ocean-scoreboard-embed {
    display: none !important;
  }
  .detail-page-container.has-scoreboard-embed .banner.scorecard-banner {
    min-height: 0;
    padding: 0 !important;
  }
}

/* CloudFront scoreboard only — hide native twin at all breakpoints */
.detail-page-container.has-scoreboard-embed .banner.scorecard-banner .scorecard-new,
.detail-page-container.has-scoreboard-embed .banner.scorecard-banner .ocean-live-scorecard,
.detail-page-container.has-scoreboard-embed .ocean-scoreboard-embed,
.detail-page-container.has-scoreboard-embed iframe.ocean-scoreboard-iframe {
  display: none !important;
}
.detail-page-container .scoreboard-embed-container {
  display: block;
  width: 100%;
  height: 118px;
  overflow: hidden;
  background: #0b1220;
}
.detail-page-container .scoreboard-embed-skeleton {
  width: 100%;
  height: 118px;
  background: linear-gradient(90deg, #0b1220 0%, #152038 50%, #0b1220 100%);
  background-size: 200% 100%;
  animation: ocean-cf-skel 1.1s ease-in-out infinite;
}
@keyframes ocean-cf-skel {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.detail-page-container .scoreboard-embed-container .scoreboard-embed-frame,
.detail-page-container .scoreboard-embed-container iframe.scoreboard-embed-frame {
  width: 100% !important;
  height: 118px !important;
  border: 0;
  display: block;
}

/* ——— Sports home-container depth (layout only) ——— */
.ocean-sot-sport-page .sport-tabs {
  display: flex;
  align-items: center;
  position: relative;
}
.ocean-sot-sport-page #home_sports_list.nav-tabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
  min-width: 0;
  scrollbar-width: none;
}
.ocean-sot-sport-page #home_sports_list.nav-tabs::-webkit-scrollbar {
  display: none;
}
.ocean-sot-sport-page #home_sports_list .nav-item {
  flex: 0 0 auto;
}
.ocean-sot-sport-page .arrow-tabs {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  cursor: pointer;
}
.ocean-sot-sport-page .arrow-tabs img {
  width: 14px;
  height: 14px;
  display: block;
}
.ocean-sot-sport-page .arrow-tabs.arrow-left img {
  transform: rotate(90deg);
}
.ocean-sot-sport-page .arrow-tabs.arrow-right img {
  transform: rotate(-90deg);
}
/* SoT Our Casino / New Games — hooper + .carousal-63 (not img scroll row) */
.ocean-sot-sport-page .home-casiono-icons {
  margin-top: 5px;
  padding: 5px 0 0;
  width: 100%;
}
.ocean-sot-sport-page .home-casiono-icons > a.w-100,
.ocean-sot-sport-page .home-casiono-icons > a {
  display: block;
  width: 100%;
  text-decoration: none;
  color: inherit;
}
.ocean-sot-sport-page .home-casiono-icons h4 {
  margin: 0 0 0;
  padding: 5px;
  font-size: 16px;
  font-weight: 700;
  width: 100%;
  background-color: var(--bg-table-header-new, #14805e);
  color: var(--text-table-header-new, #fff);
}
.ocean-sot-sport-page .home-casiono-icons h4 span {
  animation: ocean-casino-new-launch 1s linear infinite;
}
@keyframes ocean-casino-new-launch {
  50% {
    opacity: 0;
  }
}
.ocean-sot-sport-page .home-casiono-icons .hooper {
  position: relative;
  width: 100%;
  height: auto !important;
  overflow: hidden;
  outline: none;
}
.ocean-sot-sport-page .home-casiono-icons .hooper-list {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ocean-sot-sport-page .home-casiono-icons .hooper-list::-webkit-scrollbar {
  display: none;
}
.ocean-sot-sport-page .home-casiono-icons .hooper-track {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  width: max-content;
}
/* 3 tiles across mobile viewport (SoT ~412 → ~137px; strip h≈115 with h4) */
.ocean-sot-sport-page .home-casiono-icons .hooper-slide {
  flex: 0 0 calc(100vw / 3);
  width: calc(100vw / 3);
  padding: 0 5px;
  box-sizing: border-box;
}
@media (min-width: 768px) and (max-width: 1279px) {
  .ocean-sot-sport-page .home-casiono-icons .hooper-slide {
    flex: 0 0 160px;
    width: 160px;
  }
}
.ocean-sot-sport-page .home-casiono-icons .carousal-63 {
  width: 100%;
  padding-top: 63.59% !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-color: #000;
}
.ocean-sot-sport-page .home-casiono-icons.d-none-mobile .hooper-slide {
  padding: 5px 0;
  flex: 0 0 180px;
  width: 180px;
  max-width: none;
}
/* legacy img-scroll fallback (if any remnant) */
.ocean-sot-sport-page .home-casiono-icons .scroll-home-icon {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 8px 12px;
  -webkit-overflow-scrolling: touch;
}
.ocean-sot-sport-page .home-casiono-icons .home-casino-icon-item {
  flex: 0 0 140px;
}
.ocean-sot-sport-page .home-casiono-icons .home-casino-icon-item img {
  width: 100%;
  display: block;
  border-radius: 4px;
}
.ocean-sot-sport-page .right-sidebar.home-right-sidebar {
  display: block;
}
@media only screen and (max-width: 1279px) {
  .ocean-sot-sport-page .right-sidebar.home-right-sidebar.d-none-mobile {
    display: none !important;
  }
}
/* Sports home: betslip is sibling of .center-container under flex .center-main-content */
@media only screen and (min-width: 1280px) {
  .ocean-sot-sport-page > .center-main-content.center-home-content {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    flex-wrap: nowrap !important;
  }
  .ocean-sot-sport-page > .center-main-content.center-home-content > .center-container {
    width: calc(100% - 358px) !important;
    max-width: calc(100% - 358px) !important;
    margin-right: 4px !important;
    margin-left: 4px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  .ocean-sot-sport-page > .center-main-content.center-home-content > .right-sidebar.home-right-sidebar {
    display: block !important;
    visibility: visible !important;
    width: 350px !important;
    max-width: 350px !important;
    flex: 0 0 350px !important;
    position: sticky !important;
    top: 94px !important;
    align-self: flex-start !important;
    height: calc(100vh - 100px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    padding-top: 4px !important;
  }
}

/* ——— HEADER LAYOUT/SIZING ONLY (SoT multipage mechanism — no color) ——— */

/* Desktop sidebar logo + sports menu (SoT: sibling to main-container header) */
@media only screen and (min-width: 1280px) {
  /* SoT header-top: full-bleed 34px product strip above header */
  .ocean-sot-root > .header-top.d-none-mobile,
  .ocean-sot-sport-page > .header-top.d-none-mobile,
  .main-container > .header-top.d-none-mobile {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 34px !important;
    z-index: 1002 !important;
    justify-content: center;
    align-items: center;
  }

  .ocean-sot-desktop-sidebar.sidebar-left.d-none-mobile,
  .sidebar-left.d-none-mobile {
    display: block !important;
    position: fixed !important;
    top: 34px !important;
    left: 0 !important;
    width: 220px !important;
    height: calc(100vh - 34px) !important;
    min-height: calc(100vh - 34px) !important;
    z-index: 101 !important;
    overflow-y: auto;
  }

  /* Kill leftover SoT 302 gutters (banner / sibling rules in style.css) */
  .sidebar-left ~ .main-container {
    width: calc(100% - 220px) !important;
    margin-left: 220px !important;
  }
  .banner-iframe {
    left: 220px !important;
    width: calc(100% - 220px) !important;
  }

  .ocean-sot-desktop-sidebar .logo-box {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-align: center;
    padding: 10px 8px 6px;
  }

  .ocean-sot-desktop-sidebar .logo img {
    display: block !important;
    margin: 0 auto;
    max-height: 65px !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
  }

  .ocean-sot-desktop-sidebar .search-box {
    padding: 0 16px 8px;
  }

  .ocean-sot-desktop-sidebar .search-box .search-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 16px;
    height: 16px;
  }

  /* Header fixed beside sidebar, below header-top — logo NOT in header */
  .ocean-sot-root > header.header,
  .ocean-sot-sport-page > header.header,
  .main-container > header.header,
  .wrapper > header.header {
    width: calc(100% - 220px) !important;
    left: auto !important;
    right: 0 !important;
    top: 34px !important;
    margin-left: 0 !important;
  }

  .ocean-sot-sport-page > .center-main,
  .ocean-sot-root.main-container > .center-main,
  .ocean-sot-root > main.center-main,
  /* Casino + reports: same desktop offset as sport (SoT center starts after sidebar) */
  .ocean-sot-root.main-container > .center-main-content,
  .wrapper.main-container > .center-main-content,
  .report-page > .center-main-content {
    padding-top: 94px !important; /* header-top 34 + header 60 */
    margin-left: 220px !important;
    width: calc(100% - 220px) !important;
    max-width: calc(100% - 220px) !important;
    box-sizing: border-box !important;
  }

  /*
   * Casino table pages: .center-main-content already starts below header-top (~y:60).
   * SoT table y≈94 — only clear the sticky header with 34px pad (60+34=94).
   * Must beat .ocean-sot-root.main-container > .center-main-content { padding-top:94px }.
   */
  .ocean-sot-root.main-container.casino-page > .center-main-content,
  .wrapper.main-container.casino-page > .center-main-content,
  .casino-page.ocean-sot-root > .center-main-content {
    padding-top: 34px !important;
  }

  /* Casino split fills the offset main column (desktop only) */
  .center-main-content:has(.casino-center) {
    width: calc(100% - 220px) !important;
    max-width: calc(100% - 220px) !important;
    margin-left: 220px !important;
  }
  /* SoT @1440: table ~824; main − 370 sidebar − 26 gutter */
  .center-main-content:has(.casino-center) > .casino-center,
  .center-main-content > .casino-center {
    width: calc(100% - 396px) !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
  }
  .center-main-content:has(.casino-center) > .right-sidebar.casino-right-sidebar,
  .center-main-content > .right-sidebar.casino-right-sidebar {
    display: block !important;
    visibility: visible !important;
    width: 370px !important;
    max-width: 100% !important;
    flex: 0 0 370px !important;
  }
  /* Desktop video band leaves ~190px for cards/icons */
  .casino-table .casino-video .video-box-container {
    max-width: calc(100% - 190px) !important;
    margin-left: auto !important;
  }

  /* Mobile news-box under header — hide on desktop */
  .news-box.d-none-desktop {
    display: none !important;
  }
}

@media only screen and (max-width: 1279px) {
  .ocean-sot-desktop-sidebar.sidebar-left.d-none-mobile {
    display: none !important;
  }

  /* SoT logged-in demo: header.header is position:fixed @412 */
  header.header {
    height: 60px !important;
    padding: 5px !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: fixed !important;
    top: 0 !important;
    z-index: 1000;
    width: 100% !important;
    right: 0 !important;
    left: 0 !important;
    margin-left: 0 !important;
  }

  /* Fixed header is out of flow — keep news-box below it */
  .news-box.d-none-desktop {
    margin-top: 60px !important;
  }

  header.header .menu-button-mobile {
    flex: 0 0 auto;
    margin-right: 8px;
  }

  /* Mobile: logo in header (d-none-desktop is inactive below 1280) */
  header.header .logo-box {
    flex: 1 1 auto;
    min-width: 0;
    display: inline-flex !important;
    align-items: center;
  }

  header.header .logo img {
    max-height: 35px !important;
    width: auto;
    height: auto;
  }

  /* Guest + authed actions INSIDE the 60px row — flex column + gear on right */
  header.header .header-right {
    flex: 0 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: center !important;
    text-align: right !important;
    padding: 0 34px 0 0 !important; /* gutter for absolute gear */
    margin: 0 0 0 4px !important;
    position: relative !important;
    float: none !important;
    max-width: 62%;
    min-height: 48px;
    gap: 2px;
    overflow: visible !important;
  }

  header.header .header-right .login-box {
    display: inline-flex !important;
    align-items: center;
    vertical-align: middle;
  }

  header.header .header-right .login-box .btn {
    height: 32px !important;
    width: auto !important;
    min-width: 72px;
    margin-left: 8px !important;
    padding: 0 12px !important;
    border-radius: 0;
    font-weight: 700;
  }

  header.header .header-right .bal-point,
  header.header .header-right .text-center.bal-point {
    display: block !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: right !important;
    white-space: nowrap !important;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  header.header .header-right .username-info {
    display: inline-flex !important;
    align-items: center !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    position: relative;
    max-width: 100%;
  }

  header.header .header-right .username-info .user-icon {
    height: 20px !important;
    width: 20px !important;
    padding: 0 !important;
    border-radius: 50%;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  header.header .header-right .username-info .user-icon i {
    font-size: 11px !important;
    line-height: 1 !important;
  }

  header.header .header-right .username-info .username {
    font-size: 12px !important;
    margin: 0 4px !important;
    height: auto !important;
    line-height: 1.2 !important;
    max-width: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  header.header .header-right .username-info .user-arrow,
  header.header .header-right .username-info .user-arrow-fa {
    width: 10px;
    height: 10px;
    margin-left: 2px;
    font-size: 10px;
    flex-shrink: 0;
  }

  header.header .header-right .username-info .user-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    min-width: 180px;
    z-index: 1300;
    text-align: left;
  }

  header.header .header-right .username-info .user-dropdown a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    font-size: 13px;
  }

  /* One gear, vertically centered — never over pts / Demo */
  header.header .header-right .setting-box-container {
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 28px !important;
    height: 28px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 6;
  }

  header.header .header-right .setting-box-container.hide > .setting-box {
    display: none !important;
  }

  header.header .header-right .setting-box-container .setting-icon {
    font-size: 16px !important;
    width: 28px;
    height: 28px;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  header.header .header-right .setting-box {
    top: 32px !important;
    right: 0 !important;
  }

  /* Guest: gear beside Login/Demo */
  header.header .header-right--guest {
    flex-direction: row !important;
    align-items: center !important;
    padding-right: 34px !important;
  }

  header.header .header-right--guest .setting-box-container {
    top: 50% !important;
    transform: translateY(-50%) !important;
    right: 0 !important;
  }

  header.header .header-right--guest .login-box {
    margin-right: 0;
  }

  header.header .header-right--authed .setting-box-container {
    top: 50% !important;
    transform: translateY(-50%) !important;
  }

  /* Mobile logo always visible in header chrome */
  header.header .logo-box.d-none-desktop,
  header.header .logo-box {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  header.header .logo-box .logo img {
    display: block !important;
    max-height: 32px !important;
    width: auto !important;
    height: auto !important;
  }

  /* Mobile news under header — layout only */
  .news-box.d-none-desktop {
    display: flex !important;
    width: 100%;
    position: sticky;
    top: 60px;
    z-index: 900;
    padding: 0;
  }

  .news-box.d-none-desktop .news-bar {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    height: 28px;
    display: flex;
    align-items: center;
  }

  .news-box.d-none-desktop .news-bar .marquee-wrapper {
    flex: 1;
    overflow: hidden;
    min-width: 0;
  }

  .news-box.d-none-desktop .news-title {
    flex-shrink: 0;
    padding: 0 8px;
  }

  .news-box.d-none-desktop .news-title img {
    width: 16px;
    height: 16px;
  }
}

@media only screen and (min-width: 1280px) {
  header.header {
    /* SoT desktop: fixed beside sidebar; logo is d-none-desktop */
    height: 60px;
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap;
    position: fixed;
    z-index: 1001;
  }

  /* Critical: do NOT force logo visible — SoT hides it on desktop */
  header.header .logo-box.d-none-desktop {
    display: none !important;
  }

  header.header .upcoming-fixure.d-none-mobile,
  header.header .news-bar.d-none-mobile {
    display: flex !important;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
  }

  header.header .header-right {
    display: flex !important;
    align-items: center;
    margin-left: auto;
    position: relative;
    flex: 0 0 auto;
  }

  header.header .header-right .bal-point {
    display: none !important;
  }

  header.header .header-right .setting-box-container {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    width: auto !important;
    height: auto !important;
  }
}

/* Beat vendored custom.css `.hooper { height: auto !important }` — SoT home trending */
.home-new section.hooper,
.wrapper.home-new .hooper {
  height: 108px !important;
  overflow: hidden !important;
}
.home-new section.hooper .hooper-slide,
.wrapper.home-new .hooper-slide {
  flex: 0 0 206px !important;
  width: 206px !important;
  height: 108px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
@media (min-width: 1280px) {
  .home-new section.hooper,
  .wrapper.home-new .hooper {
    height: 134px !important;
  }
  .home-new section.hooper .hooper-slide,
  .wrapper.home-new .hooper-slide {
    flex: 0 0 256px !important;
    width: 256px !important;
    height: 134px !important;
  }
}

/* /uichampion — honor reduced motion (marquees / hooper loops) */
@media (prefers-reduced-motion: reduce) {
  .marquee-content,
  .home-new .upcoming-fixure .marquee-content,
  .home-new .mobile-switch-theme .news-bar .marquee-content,
  .hooper-track,
  .slick-track {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* sport-tabs: button.nav-link / arrow-tabs keep SoT look */
.sport-tabs button.nav-link,
.sport-tabs button.arrow-tabs {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  padding: 0;
}

.facncy-provider button.nav-link,
.casino-menu button.nav-link {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

/*
 * Live odds flash + suspended overlays (detail board)
 * SoT paints flash on .bl-box:before at z-index:-1 — invisible once we force
 * opaque .bl-box.back/.lay backgrounds. Lift flash above cell bg, below text.
 */
.detail-page-container .bl-box.odds-up:before,
.detail-page-container .bl-box.odds-down:before,
.home-container .bl-box.odds-up:before,
.home-container .bl-box.odds-down:before {
  z-index: 1 !important;
  pointer-events: none;
}
.detail-page-container .bl-box.odds-up > *,
.detail-page-container .bl-box.odds-down > *,
.home-container .bl-box.odds-up > *,
.home-container .bl-box.odds-down > * {
  position: relative;
  z-index: 2;
}

/* Mobile: suspended label covers the odds strip, not a desktop 452px slab */
@media only screen and (max-width: 1279px) {
  .detail-page-container .market-4 .suspendedtext:after,
  .detail-page-container .market-4 .suspendedfull:after {
    width: calc(100% - 16px) !important;
    max-width: none !important;
    right: 8px !important;
    left: auto !important;
    height: 34px !important;
    top: 2px !important;
    z-index: 5;
    font-size: 13px;
  }
  .detail-page-container .market-6 .suspendedtext:after,
  .detail-page-container .market-6 .suspendedfull:after {
    right: calc(26% + 2px) !important;
    width: calc(74% - 10px) !important;
    height: 34px !important;
    top: 2px !important;
    z-index: 5;
    font-size: 12px;
  }
  /* Empty cell-level .suspended:before (no content) must not sit above row label */
  .detail-page-container .bl-box.suspended:before {
    z-index: 0 !important;
    background: transparent !important;
  }
}

/* Prefer reduced-motion: still allow instant class, skip scale anim */
@media (prefers-reduced-motion: reduce) {
  .bl-box.odds-up:before,
  .bl-box.odds-down:before {
    animation: none !important;
    transform: none !important;
    opacity: 0.55;
  }
}
