/* ==========================================================================
   GASTERUS v3 — PROFESSIONAL ASIAN SPORTSBOOK (SBOBET / WAM STYLE)
   Design: Decimal Odds Sportsbook
   Colors: Decimal odds in black, market lines in blue, Deep Navy Header, Light Sports Matrix
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@500;700;800&family=Bebas+Neue&display=swap');

[hidden] { display: none !important; }

:root {
  --sb-navy-dark:     #081d3d;
  --sb-navy-header:   #0b2854;
  --sb-navy-accent:   #123e7a;
  --sb-blue-tab:      #1976d2;
  --sb-blue-active:   #2563eb;
  --sb-blue-pill:     #1d72b8;
  --sb-page-bg:       #eef2f7;
  --sb-card-bg:       #ffffff;
  --sb-border-light:  #e2e8f0;
  --sb-border-cell:   #cbd5e1;
  --sb-text-dark:     #0f172a;
  --sb-text-muted:    #64748b;
  --sb-text-dim:      #94a3b8;
  
  /* Odds and market-line colors */
  --sb-odd-blue:      #0284c7; /* Lines / spreads / voor (0.00, -0.25, 2.75) */
  --sb-odd-red:       #dc2626;
  --sb-odd-black:     #111827;
  --sb-fav-red:       #dc2626; /* Favorite team giving handicap */
  
  --sb-live-orange:   #ea580c;
  --sb-cell-hover:    #f0f7ff;
  --sb-cell-selected: #dbeafe;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.sb-page {
  min-height: 100dvh;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-size: 13px;
  line-height: 1.4;
  padding-bottom: 70px; /* space for fixed bottom nav */
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   1. TOP BAR (IDR Balance, Coin, Profile, Hamburger)
   ========================================================================== */
.sb-header {
  position: sticky;
  top: 0;
  z-index: 100;
}
.sb-header-inner {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.sb-logo-center { display: flex; align-items: center; pointer-events: none; position: static; transform: none; margin-right: auto; margin-left: 2px; }
.sb-logo-img {
  height: 30px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  background: transparent;
  filter: none;
  pointer-events: auto;
  image-rendering: auto;
}

@media (max-width: 480px) {
  .sb-logo-img {
    height: 26px;
    max-width: 120px;
  }
}
/* LOGO GASTERUS kiri-atas: override ukuran agar jernih & jelas */
.sb-logo-img.sb-logo-v2 { height: 42px; max-width: 170px; object-position: left center; image-rendering: auto; filter: none; }
@media (max-width: 480px) { .sb-logo-img.sb-logo-v2 { height: 34px; max-width: 135px; } }
.sb-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.menu-toggle {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}
.sb-balance-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 20px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.sb-eye-icon {
  cursor: pointer;
  font-size: 13px;
  opacity: 0.85;
}
.sb-eye-icon:hover { opacity: 1; }
.sb-curr {
  font-size: 11px;
  color: #93c5fd;
  font-weight: 700;
}
.sb-balance-val {
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.3px;
}

.sb-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sb-coin-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 20px;
  color: #facc15;
  font-size: 12px;
  font-weight: 600;
}
.sb-mail-icon {
  margin-left: 4px;
  color: #93c5fd;
  font-size: 13px;
}
.sb-user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   2. SUB-HEADER (Sport Selector & Mix Parlay Pill)
   ========================================================================== */
.sb-subheader-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sb-sport-selector {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 13px;
  user-select: none;
}
.sb-breadcrumb strong {
  font-weight: 700;
}
.sb-chevron-down {
  font-size: 11px;
  color: #93c5fd;
}
.sb-sport-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 200;
  min-width: 180px;
  overflow: hidden;
  border: 1px solid var(--sb-border-light);
}
.sb-sport-opt {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  border: none;
  background: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--sb-text-dark);
  cursor: pointer;
}
.sb-sport-opt:hover, .sb-sport-opt.active {
  background: #eff6ff;
  color: var(--sb-blue-active);
}

.sb-parlay-pill {
  padding: 5px 16px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.sb-parlay-pill.active {
  background: #facc15;
  color: #000000;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.5);
}

/* ==========================================================================
   3. CATEGORY TABS (Langsung, Hari Ini, Pasar Awal, Outright)
   ========================================================================== */
.sb-category-bar {
  overflow-x: auto;
  scrollbar-width: none;
}
.sb-category-bar::-webkit-scrollbar { display: none; }
.sb-category-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
}
.sb-cat-tab {
  background: none;
  border: none;
  font-size: 12px;
  font-weight: 600;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color 0.15s ease;
}
.sb-cat-tab:hover { color: #ffffff; }
.sb-cat-tab.active {
  color: #ffffff;
  font-weight: 700;
  border-bottom: 3px solid #60a5fa;
}
/* ==========================================================================
   4. ACTION BAR (Tampilkan Liga, Filter, Search)
   ========================================================================== */
.sb-action-bar {
  border-bottom: 1px solid var(--sb-border-light);
}
.sb-action-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.sb-btn-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}
.sb-btn-action:hover { background: #1d4ed8; }
.sb-btn-filter {
  padding: 6px 10px;
  background: #1e40af;
}
.sb-btn-filter.active {
  background: #f59e0b;
  color: #172554;
}
.sb-icon-arrows {
  font-size: 13px;
  font-weight: 800;
}
.sb-search-wrap {
  flex: 1;
  min-width: 160px;
}
.sb-search-wrap input {
  width: 100%;
  padding: 6px 12px;
  border: 1px solid var(--sb-border-cell);
  font-size: 12px;
  outline: none;
}
.sb-search-wrap input:focus {
  background: #ffffff;
}
.sb-odds-format {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  color: var(--sb-text-muted);
  font-size: 11px;
  font-weight: 700;
}
.sb-odds-format select {
  min-height: 30px;
  padding: 3px 22px 3px 8px;
  border: 1px solid var(--sb-border-cell);
  border-radius: 3px;
  background: #fff;
  color: var(--sb-text-dark);
  font: inherit;
}
.sb-odds-policy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--sb-text-muted);
  font-size: 11px;
  font-weight: 700;
  margin: 8px 0;
}
.sb-odds-policy select {
  min-height: 34px;
  padding: 5px 8px;
  border: 1px solid var(--sb-border-cell);
  border-radius: 3px;
  background: #fff;
  color: var(--sb-text-dark);
  font: inherit;
}
.sb-rt-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--sb-text-muted);
}
.sb-rt-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #94a3b8;
}

/* ==========================================================================
   5. FEATURED LIVE CAROUSEL ("Pantau Pertandingan Live")
   ========================================================================== */
.sb-live-featured-section {
  margin: 12px 14px 4px;
}
.sb-section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--sb-text-dark);
  margin-bottom: 8px;
}
.sb-live-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 6px;
}
.sb-live-carousel::-webkit-scrollbar { display: none; }
.sb-live-card {
  flex: 0 0 290px;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--sb-border-light);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}
.sb-live-card-head {
  background: var(--sb-live-orange);
  color: #ffffff;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
}
.sb-live-league-label {
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
}
.sb-live-card-body {
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 8px;
  align-items: center;
}
.sb-live-badge-sm {
  display: inline-block;
  background: #f97316;
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  font-style: italic;
  padding: 2px 5px;
  border-radius: 4px;
  margin-bottom: 4px;
  animation: sbLivePulse 2s ease-in-out infinite;
  will-change: opacity;
}
.sb-live-clock-sm {
  font-size: 10px;
  color: #64748b;
  margin-left: 4px;
}
.sb-live-team-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 3px;
}
.sb-live-quick-odds {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sb-quick-odd-btn {
  background: #ffffff;
  border: 1px solid var(--sb-border-cell);
  border-radius: 6px;
  padding: 4px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  cursor: pointer;
  text-align: right;
}
.sb-quick-odd-btn:hover {
  background: var(--sb-cell-hover);
}

/* ==========================================================================
   6. MAIN LAYOUT (Sidebar Desktop, Main Content, Desktop Betslip)
   ========================================================================== */
.sb-main {
  margin: 0 auto;
}
.sb-feed-overview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 12px;
}
.sb-feed-overview > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #64748b;
  font-size: 10px;
}
.sb-feed-overview > div:first-child {
  min-width: 0;
  margin-right: auto;
}
.sb-feed-overview strong {
  font-size: 12px;
  font-weight: 800;
}
#sb-feed-status {
  color: #15803d;
}
#sb-feed-updated {
  font-size: 9px;
  white-space: nowrap;
}
.sb-layout {
  display: grid;
  align-items: start;
}

@media (max-width: 1120px) {
  .sb-sidebar {
    display: none;
  }
}
@media (max-width: 860px) {
  @media (max-width: 480px) {
    .sb-feed-overview {
      gap: 8px;
      padding: 9px 10px;
    }
    .sb-feed-overview > div {
      font-size: 9px;
    }
    .sb-feed-overview strong {
      font-size: 11px;
    }
    #sb-feed-updated {
      max-width: 150px;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
}

/* Sidebar Desktop */
.sb-sidebar {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid var(--sb-border-light);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.sb-sidebar-title {
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.sb-sidebar-sub {
  margin-top: 14px;
}
.sb-sport-nav, .sb-league-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sb-nav-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 7px 10px;
  background: none;
  border: none;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.12s ease;
}
.sb-nav-item.active {
  font-weight: 700;
}
.sb-sidebar-group-title {
  margin: 10px 6px 4px;
  color: #64748b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.sb-country-group {
  border-top: 1px solid #f1f5f9;
  padding-top: 3px;
}
.sb-country-nav-item,
.sb-league-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.sb-league-nav-item {
  margin-left: 8px;
  width: calc(100% - 8px);
  padding-top: 5px;
  padding-bottom: 5px;
  color: #475569;
  font-size: 10px;
}
.sb-nav-count {
  flex: 0 0 auto;
  color: #94a3b8;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
}
.sb-nav-count i {
  color: #dc2626;
  font-style: normal;
  font-weight: 800;
}
.sb-sidebar-status {
  font-size: 10px;
  color: var(--sb-text-dim);
  margin-top: 12px;
  text-align: center;
}

/* ==========================================================================
   7. LEAGUE GROUP BANNER (Collapsible, Blue Gradient)
   ========================================================================== */
.sb-league-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  user-select: none;
}
.sb-league-head:focus-visible,
.sb-events-load-more button:focus-visible {
  outline: 3px solid #60a5fa;
  outline-offset: 2px;
}
.sb-league-title {
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
  font-weight: 800;
  text-transform: uppercase;
}
.sb-league-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sb-league-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 12px;
  font-family: 'JetBrains Mono', monospace;
}
.sb-league-toggle {
  font-size: 12px;
  color: #103b75;
  font-weight: 800;
  transition: transform 0.2s ease;
}
.sb-league-head.collapsed .sb-league-toggle {
  transform: rotate(180deg);
}

/* ==========================================================================
   8. MATCH CARD — THE 3-COLUMN ASIAN MATRIX (CRITICAL MASTERPIECE)
   ========================================================================== */
.sb-match-card {
  border-top: none;
  margin-bottom: 12px;
}

/* Slanted Banner: LANGSUNG + League + Refresh */
.sb-card-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}
.sb-banner-left {
  display: flex;
  align-items: center;
  height: 100%;
}
.sb-badge-slanted-live {
  background: #ef4444;
  color: #ffffff;
  font-weight: 900;
  font-style: italic;
  font-size: 11px;
  padding: 4px 14px;
  transform: skewX(-14deg);
  margin-left: -8px;
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.5px;
}
.sb-badge-slanted-live span {
  transform: skewX(14deg);
}
.sb-badge-slanted-live:not([style]) {
  animation: sbLivePulse 2s ease-in-out infinite;
  will-change: opacity;
}

@keyframes sbLivePulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.76;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sb-badge-slanted-live:not([style]),
  .sb-live-badge-sm {
    animation: none;
  }
}
.sb-badge-slanted-league {
  background: #1d72b8;
  color: #ffffff;
  font-weight: 800;
  font-style: italic;
  font-size: 11px;
  padding: 4px 14px;
  transform: skewX(-14deg);
  margin-left: 2px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.sb-badge-slanted-league span {
  transform: skewX(14deg);
}
.sb-banner-refresh {
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}
.sb-banner-refresh:hover { color: #ffffff; }

.sb-fav-match-btn {
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  font-size: 15px;
  color: #cbd5e1;
  padding: 0 2px;
  transition: color 0.15s ease, transform 0.15s ease;
}
.sb-fav-match-btn:hover { color: #facc15; transform: scale(1.15); }
.sb-fav-match-btn.is-fav { color: #facc15; }
.sb-search-mark {
  background: #fde68a;
  color: #78350f;
  border-radius: 2px;
  padding: 0 1px;
}

/* Teams and Date/Score Row */
.sb-teams-row {
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.sb-team-col {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--sb-text-dark);
  min-width: 0;
}
.sb-team-col.away {
  justify-content: flex-end;
  text-align: right;
}
.sb-team-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}
.sb-team-name {
  overflow: hidden;
  text-overflow: ellipsis;
}
.sb-match-date {
  font-size: 10px;
  color: #64748b;
  display: block;
}
.sb-match-kickoff {
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
}
.sb-match-live-score {
  font-size: 15px;
  font-weight: 900;
  font-family: 'JetBrains Mono', monospace;
  color: #dc2626;
}
.sb-match-live-clock {
  font-weight: 700;
  display: block;
}

/* Match market summary */
.sb-match-market-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}
.sb-match-market-head span:first-child {
  font-weight: 800;
}

.sb-match-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px 0;
}

.sb-match-league {
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.sb-provider-stack {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.sb-provider-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 7px;
  border: 1px solid rgba(37, 99, 235, 0.25);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.sb-provider-chip-muted {
  background: rgba(148, 163, 184, 0.1);
  border-color: rgba(148, 163, 184, 0.25);
  color: #475569;
}

.sb-market-summary-text {
  color: #475569;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* ==========================================================================
   9. THE 3-COLUMN TABLE GRID (BP Handicap | BP Atas/Bawah | BP 1X2)
   ========================================================================== */
.sb-matrix-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}
.sb-market-grid {
  display: grid;
}
.sb-market-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--sb-border-light);
  background: #ffffff;
}
.sb-market-card-title {
  border-bottom: 1px solid var(--sb-border-light);
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}
.sb-market-outcomes {
  display: grid;
  grid-template-columns: repeat(var(--outcome-count), minmax(0, 1fr));
}
.sb-market-outcome {
  display: flex;
  min-width: 0;
  flex-direction: column;
}
.sb-market-outcome-label {
  overflow: hidden;
  font-weight: 800;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sb-market-outcome .sb-odd-cell {
  width: 100%;
  min-width: 0;
}
.sb-market-period {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #dbeafe;
  font-weight: 800;
}
.sb-market-period-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 6px 8px;
  border-bottom: 1px solid var(--sb-border-light);
  background: #ffffff;
  scrollbar-width: thin;
}
.sb-market-period-tab {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid #dbe3ed;
  border-radius: 4px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.sb-market-period-tab:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.sb-no-primary-odds {
  padding: 14px 12px;
  color: #64748b;
  font-size: 12px;
  text-align: center;
}

/* Headers */
.sb-mth-row {
  background: #f8fafc;
  border-bottom: 1px solid var(--sb-border-light);
}
.sb-mth {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  text-align: center;
  padding: 6px 4px;
  border-right: 1px solid #f1f5f9;
}
.sb-mth:last-child { border-right: none; }

/* Subheader for Half Time (B1) */
.sb-mth-sub {
  background: #f1f5f9;
  font-size: 10px;
  font-weight: 800;
  color: #334155;
  padding: 4px;
  text-align: center;
  border-top: 1px solid var(--sb-border-light);
  border-bottom: 1px solid var(--sb-border-light);
}

/* Matrix Body Rows */
.sb-matrix-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 6px 8px;
  gap: 8px;
  border-bottom: 1px solid #f1f5f9;
}
.sb-mcol {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sb-mrow-item {
  display: flex;
  align-items: center;
  gap: 4px;
}
.sb-mletter {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  width: 12px;
  text-align: center;
  flex-shrink: 0;
}

/* The Odds Box (Interactive Cell) */
.sb-odd-cell {
  flex: 1;
  border: 1px solid var(--sb-border-cell);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3px 4px;
  cursor: pointer;
  transition: all 0.12s ease;
  user-select: none;
}
.sb-odd-cell:hover {
  background: var(--sb-cell-hover);
  border-color: #93c5fd;
}
.sb-odd-cell.disabled, .sb-odd-cell.locked {
  background: #f8fafc;
  cursor: not-allowed;
  opacity: 0.6;
}
.sb-odd-cell.disabled .sb-cell-odds,
.sb-odd-cell.locked .sb-cell-odds {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  text-align: center;
  overflow-wrap: anywhere;
}

/* Asian handicap and total lines use the same sign-aware color convention as Asian odds. */
.sb-cell-line {
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  line-height: 1.1;
}
.sb-cell-line.kei-negative {
  color: #dc2626;
}
.sb-cell-line.kei-positive {
  color: #0284c7;
}

/* Asian negative odds are red; rising odds flash green and falling odds flash red. */
.sb-cell-odds {
  display: inline-block;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  line-height: 1.1;
  margin-top: 2px;
}
.sb-cell-odds.odds-red {
  color: #dc2626;
}
.sb-cell-odds.odds-blue {
  color: #2563eb;
}
.sb-cell-odds.odds-green {
  color: #16a34a;
}
.sb-cell-odds.odds-black {
  color: var(--sb-odd-black);
}

/* ==========================================================================
   Visual Odds Movement Indicators (Up: Green Flash, Down: Red Flash)
   ========================================================================== */

@keyframes sbOddFlashGreen {
  0% {
    background-color: #dcfce7;
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.35);
  }
  40% {
    background-color: #f0fdf4;
    border-color: #4ade80;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.22);
  }
  75% {
    background-color: #f7fef9;
    border-color: #bbf7d0;
    box-shadow: 0 0 0 1px rgba(22, 163, 74, 0.12);
  }
  100% {
    background-color: #ffffff;
    border-color: var(--sb-border-cell, #cbd5e1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  }
}

@keyframes sbOddFlashRed {
  0% {
    background-color: #fee2e2;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.35);
  }
  40% {
    background-color: #fef2f2;
    border-color: #f87171;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.22);
  }
  75% {
    background-color: #fffafa;
    border-color: #fecaca;
    box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.12);
  }
  100% {
    background-color: #ffffff;
    border-color: var(--sb-border-cell, #cbd5e1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  }
}

@keyframes sbOddArrowFade {
  0% {
    opacity: 1;
    transform: scale(1.2);
  }
  70% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.85);
  }
}

.sb-odd-cell.sb-odd-movement-up {
  animation: sbOddFlashGreen 1800ms ease-out forwards;
}

.sb-odd-cell.sb-odd-movement-down {
  animation: sbOddFlashRed 1800ms ease-out forwards;
}

.sb-odd-cell.chosen.sb-odd-movement-up {
  border-color: #22c55e;
}

.sb-odd-cell.chosen.sb-odd-movement-down {
  border-color: #ef4444;
}

.sb-odd-movement-arrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 900;
  margin-left: 2px;
  line-height: 1;
  vertical-align: middle;
  animation: sbOddArrowFade 1800ms ease-out forwards;
}

.sb-odd-movement-arrow.up {
  color: #16a34a;
}

.sb-odd-movement-arrow.down {
  color: #dc2626;
}

@media (prefers-reduced-motion: reduce) {
  .sb-odd-cell.sb-odd-movement-up,
  .sb-odd-cell.sb-odd-movement-down {
    animation: none !important;
  }
  .sb-odd-movement-arrow {
    animation: none !important;
  }
}


/* Card Footer (Soccer Field Icon + More Markets Badge) */
.sb-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sb-events-load-more {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin: 12px 0 22px;
  padding: 14px;
  border: 1px solid var(--sb-border-light);
  border-radius: 8px;
  background: #ffffff;
  text-align: center;
}
.sb-events-load-more p {
  color: #64748b;
  font-size: 11px;
}
.sb-events-load-more button {
  min-height: 40px;
  padding: 8px 18px;
  border: 1px solid #1d4ed8;
  border-radius: 6px;
  background: #1d4ed8;
  color: #ffffff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.sb-events-load-more button:hover {
  background: #1e40af;
}
.sb-market-help {
  color: #64748b;
  font-size: 10px;
}
.sb-live-market-label {
  color: #475569;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}
.sb-live-no-odds {
  padding: 6px;
  color: #64748b;
  font-size: 10px;
  text-align: center;
}
.sb-pitch-icon {
  font-size: 15px;
  color: #1d72b8;
}
.sb-more-pill {
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.sb-more-pill:hover { background: #1d4ed8; }

/* ==========================================================================
   10. EXTRA MARKETS ACCORDION (Screenshot 2)
   ========================================================================== */
.sb-accordion-wrapper {
  background: #ffffff;
  border-top: 1px solid var(--sb-border-light);
}
.sb-accordion-top-tab {
  background: #3b82f6;
  color: #ffffff;
  text-align: center;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.sb-accordion-list {
  display: flex;
  flex-direction: column;
}
.sb-detail-markets-wrapper {
  border-top: 1px solid var(--sb-border-light);
}
.sb-detail-markets-toggle {
  width: 100%;
  border: 0;
  font: inherit;
}
.sb-detail-markets {
  max-height: 70vh;
  overflow-y: auto;
  background: #f8fafc;
  border-top: 1px solid var(--sb-border-light);
}
.sb-market-browser-toolbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #dce4ee;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.04);
}
.sb-market-browser-search {
  display: grid;
  gap: 4px;
  color: #53647b;
  font-size: 10px;
  font-weight: 700;
}
.sb-market-browser-search input {
  width: 100%;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid #d7e0eb;
  border-radius: 5px;
  color: #172033;
  font: inherit;
  font-size: 12px;
}
.sb-market-browser-search input:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 1px;
}
.sb-market-browser-filters {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 1px 1px 3px;
  scrollbar-width: thin;
}
.sb-market-browser-filter-group {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.sb-market-browser-filter-label {
  color: #53647b;
  font-size: 10px;
  font-weight: 700;
}
.sb-market-browser-chip {
  flex: 0 0 auto;
  min-height: 31px;
  padding: 5px 10px;
  border: 1px solid #d9e1eb;
  border-radius: 5px;
  background: #fff;
  color: #53647b;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
.sb-market-browser-chip span {
  margin-left: 3px;
  color: #7b8798;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
}
.sb-market-browser-chip:hover {
  border-color: #8aafea;
  color: #174ea6;
}
.sb-market-browser-chip.active {
  border-color: #245fbd;
  background: #e9f0ff;
  color: #174ea6;
}
.sb-market-browser-chip.active span {
  color: #174ea6;
}
.sb-market-browser-summary {
  padding: 7px 12px 2px;
  color: #718096;
  font-size: 10px;
  font-weight: 600;
}
.sb-detail-market[hidden],
.sb-market-browser-empty[hidden] {
  display: none !important;
}
.sb-market-browser-empty {
  padding: 18px 12px;
  color: #64748b;
  font-size: 12px;
  text-align: center;
}
.sb-detail-market-list {
  display: flex;
  flex-direction: column;
}
.sb-detail-market {
  padding: 10px 12px;
  border-bottom: 1px solid var(--sb-border-light);
}
.sb-detail-market-heading {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 8px;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}
.sb-detail-market-heading span:last-child {
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
}
.sb-detail-market-selection {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  color: #64748b;
  font-size: 10px;
  text-align: center;
}
.sb-detail-markets-status {
  padding: 14px;
  color: #64748b;
  font-size: 12px;
  text-align: center;
}
@media (max-width: 480px) {
  .sb-market-browser-toolbar {
    padding: 8px;
  }
  .sb-market-browser-filters {
    margin-right: -8px;
  }
}
.sb-detail-markets-retry {
  margin-left: 6px;
  padding: 3px 8px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #1d4ed8;
  cursor: pointer;
}
.sb-accordion-row {
  border-bottom: 1px solid var(--sb-border-light);
}
.sb-accordion-row:nth-child(even) {
  background: #f8fafc;
}
.sb-accordion-header {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  transition: background 0.12s ease;
}
.sb-accordion-header:hover {
  background: #f1f5f9;
}
.sb-accordion-arrow {
  color: #94a3b8;
  font-size: 11px;
  transition: transform 0.2s ease;
}
.sb-accordion-row.open .sb-accordion-arrow {
  transform: rotate(180deg);
}
.sb-accordion-body {
  padding: 10px 14px;
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
}
.sb-accordion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 6px;
}

/* ==========================================================================
   11. FIXED BOTTOM NAVIGATION BAR (SBOBET / WAM Style)
   ========================================================================== */
.sb-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: 58px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-around;
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.2);
}
@media (min-width: 861px) {
  .sb-bottom-nav {
    display: none;
  }
  body.sb-page {
    padding-bottom: 0;
  }
}

/* ==========================================================================
   1.1. BETSLIP OVERLAP FIX & 3D UI COMPONENTS
   ========================================================================== */

/* Pastikan konten paling bawah tidak tertutup floating betslip / gesture nav HP */
body,
.main-content-container {
  padding-bottom: calc(100px + env(safe-area-inset-bottom)) !important;
}

/* Floating betslip bar di bagian bawah layar (ramah gesture navigation bar) */
.betslip-floating-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Tombol Odds dengan efek 3D timbul (idle) */
.odds-button {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  box-shadow: 0 4px 0 #cbd5e1, 0 6px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(-2px);
}

/* Tombol Odds saat diklik / dipilih (selected) */
.odds-button:active,
.odds-button.selected {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #94a3b8, 0 2px 4px rgba(0, 0, 0, 0.1);
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
}

/* Betslip bottom bar dengan efek 3D Floating Dock */
.betslip-bottom-bar {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sb-bnav-item {
  flex: 1;
  height: 100%;
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #93c5fd;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s ease;
  padding: 0 4px;
}
.sb-bnav-item:hover, .sb-bnav-item.active {
  color: #ffffff;
}
.sb-bnav-item.active .sb-bnav-svg {
  stroke: #facc15;
}
.sb-bnav-svg {
  stroke: #93c5fd;
  transition: stroke 0.15s ease;
  flex-shrink: 0;
}
.sb-bnav-item:hover .sb-bnav-svg { stroke: #ffffff; }
.sb-bnav-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sb-bnav-badge {
  position: absolute;
  top: -5px;
  right: -9px;
  background: #ef4444;
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  border-radius: 10px;
  padding: 1px 5px;
  min-width: 14px;
  text-align: center;
  line-height: 1.4;
  border: 1px solid var(--sb-navy-dark);
}
.sb-bnav-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2px;
  line-height: 1;
  text-align: center;
}

/* ==========================================================================
   12. BETSLIP PANEL (Desktop Sidebar & Mobile Sheet)
   ========================================================================== */
.sb-betslip {
  background: #ffffff;
  border: 1px solid var(--sb-border-light);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}
/* Desktop betslip tabs (Single / Mix Parlay) */
.sb-betslip-tabs {
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 2px;
}
.sb-bs-tab {
  background: none;
  border: none;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.sb-bs-tab.active, .sb-bs-tab:hover {
  color: #ffffff;
  border-bottom-color: #facc15;
}
.sb-betslip-mode {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  padding-right: 4px;
}
.sb-betslip-body {
  padding: 12px;
  flex: 1;
}
.sb-slip-empty {
  padding: 24px 12px;
  text-align: center;
  color: #64748b;
  font-size: 12px;
}
.sb-slip-legs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.sb-slip-leg {
  border: 1px solid var(--sb-border-light);
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
}
.sb-slip-event {
  font-size: 11px;
  font-weight: 700;
  color: #1e293b;
  display: block;
}
.sb-slip-pick {
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
  display: block;
}
.sb-slip-pick b {
  color: #0f172a;
}
.sb-slip-market {
  font-size: 10px;
  color: #64748b;
  display: block;
}
.sb-slip-remove {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 16px;
  cursor: pointer;
  line-height: 1;
}
.sb-slip-remove:hover { color: #ef4444; }

.sb-slip-summary {
  padding: 10px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
}
.sb-slip-row {
  display: flex;
  justify-content: space-between;
  color: #475569;
}
.sb-slip-row b {
  color: #0f172a;
  font-family: 'JetBrains Mono', monospace;
}
.sb-slip-row b.sb-win {
  color: #16a34a;
  font-weight: 800;
}
.sb-slip-stake {
  margin-bottom: 12px;
}
.sb-slip-stake input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid var(--sb-border-cell);
  font-size: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  outline: none;
  margin-top: 4px;
}
.sb-quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 6px;
}
.sb-quick-btn {
  background: #ffffff;
  border: 1px solid var(--sb-border-cell);
  padding: 4px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
.sb-quick-max { color: #15803d; border-color: #bbf7d0; background: #f0fdf4; }
.sb-quick-clear { color: #b91c1c; border-color: #fecaca; background: #fef2f2; }
.sb-slip-hint {
  font-size: 10px;
  color: #64748b;
  margin-top: 6px;
}
.sb-btn-place {
  width: 100%;
  color: #ffffff;
  border: none;
  padding: 10px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.3);
  transition: background 0.15s ease;
}
.sb-btn-place:disabled { opacity: 0.6; cursor: not-allowed; }
.sb-btn-ghost {
  width: 100%;
  background: none;
  border: 1px solid var(--sb-border-light);
  border-radius: 6px;
  padding: 6px;
  font-size: 11px;
  color: #64748b;
  cursor: pointer;
  margin-top: 6px;
}


/* ==========================================================================
   MOBILE BETSLIP SLIDE-UP SHEET — SBOBET/WAM Style
   ========================================================================== */

/* Overlay backdrop */
.sb-slip-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.sb-slip-overlay.active { display: block; animation: sbFadeIn 0.2s ease; }

/* Slide-up sheet container */
.sb-slip-sheet {
  position: fixed;
  bottom: 58px; /* always sit above bottom nav */
  left: 0;
  right: 0;
  max-height: 88vh;
  background: #0f172a;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  transform: translateY(110%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.sb-slip-sheet.open {
  transform: translateY(0);
}

/* Handle bar (drag indicator) */
.sb-slip-handle-bar {
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,0.25);
  border-radius: 2px;
  margin: 10px auto 0;
  flex-shrink: 0;
}

/* Sheet header */
.sb-slip-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 0;
  flex-shrink: 0;
}

/* Sheet tabs (Single / Mix Parlay) */
.sb-slip-sheet-tabs {
  display: flex;
  gap: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 3px;
}
.sb-slip-tab {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  color: #93c5fd;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.sb-slip-tab.active {
  color: #ffffff;
}
.sb-slip-tab svg { flex-shrink: 0; }

/* Sheet right side (count badge + close btn) */
.sb-slip-sheet-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sb-slip-count-badge {
  background: #ef4444;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  border-radius: 10px;
  padding: 2px 8px;
  min-width: 20px;
  text-align: center;
}
.sb-slip-sheet-close {
  background: rgba(255,255,255,0.1);
  border: none;
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.sb-slip-sheet-close:hover { background: rgba(255,255,255,0.2); }

/* Sheet body — scrollable content area */
.sb-slip-sheet-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px 16px;
  /* Dark theme overrides for sheet body */
  --slip-bg: #1e293b;
  --slip-border: rgba(255,255,255,0.1);
  --slip-text: #e2e8f0;
  --slip-muted: #94a3b8;
}

/* Override betslip styles inside dark sheet */
.sb-slip-sheet-body .sb-slip-empty {
  color: #94a3b8;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 32px 16px;
  text-align: center;
  font-size: 13px;
}
.sb-slip-sheet-body .sb-slip-leg {
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 10px 12px;
}
.sb-slip-sheet-body .sb-slip-event { color: #f1f5f9; }
.sb-slip-sheet-body .sb-slip-pick { color: #60a5fa; }
.sb-slip-sheet-body .sb-slip-pick b { color: #facc15; }
.sb-slip-sheet-body .sb-slip-market { color: #64748b; }
.sb-slip-sheet-body .sb-slip-remove { color: #64748b; }
.sb-slip-sheet-body .sb-slip-remove:hover { color: #ef4444; }
.sb-slip-sheet-body .sb-slip-summary {
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
}
.sb-slip-sheet-body .sb-slip-row { color: #94a3b8; }
.sb-slip-sheet-body .sb-slip-row b { color: #e2e8f0; }
.sb-slip-sheet-body .sb-slip-row b.sb-win { color: #4ade80; }
.sb-slip-sheet-body .sb-label { color: #94a3b8; font-size: 11px; }
.sb-slip-sheet-body .sb-slip-stake input {
  background: #1e293b;
  color: #f1f5f9;
  border: 1px solid rgba(255,255,255,0.15);
}
.sb-slip-sheet-body .sb-quick-btn {
  background: #1e293b;
  color: #93c5fd;
  border-color: rgba(255,255,255,0.12);
}
.sb-slip-sheet-body .sb-quick-btn:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}
.sb-slip-sheet-body .sb-slip-hint { color: #64748b; }
.sb-slip-sheet-body .sb-btn-place {
  background: linear-gradient(135deg, #16a34a, #15803d);
  box-shadow: 0 3px 12px rgba(22, 163, 74, 0.4);
  font-size: 14px;
  padding: 12px;
  border-radius: 8px;
  letter-spacing: 0.3px;
}
.sb-slip-sheet-body .sb-btn-ghost {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: #94a3b8;
}

/* Mix Parlay info panel (shown in parlay tab) */
.sb-parlay-info {
  background: rgba(250,204,21,0.08);
  border: 1px solid rgba(250,204,21,0.2);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 11px;
  color: #fde68a;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.sb-parlay-info::before {
  content: '';
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m13 2-9 12h7l-1 8 10-13h-7z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m13 2-9 12h7l-1 8 10-13h-7z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Single bet mode: stake per leg */
.sb-single-mode-label {
  font-size: 11px;
  color: #94a3b8;
  background: rgba(37,99,235,0.1);
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: 6px;
  padding: 6px 10px;
  margin-bottom: 10px;
}

/* P0 anti-timpa (additive, 2026-10-04): cegah kartu/karosel meluap ke kolom
   tetangga di grid 210px 1fr 300px tanpa mengubah layout utama. */
.sb-content,
.sb-match-card,
.sb-live-card,
.sb-league-group,
.sb-events { min-width: 0; overflow: clip; }
.sb-card-banner { isolation: isolate; }
.sb-slip-overlay { z-index: 1001; }
.sb-slip-sheet { z-index: 1002; }

@keyframes sbFadeIn { from { opacity:0 } to { opacity:1 } }

/* ==========================================================================
   13. LEAGUE SELECTOR MODAL
   ========================================================================== */
.sb-league-modal-backdrop, .sb-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.sb-league-modal, .sb-modal {
  background: #ffffff;
  border-radius: 10px;
  width: 100%;
  max-width: 460px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
.sb-league-modal-head, .sb-modal-head {
  background: var(--sb-navy-header);
  color: #ffffff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
}
.sb-close-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
}
.sb-league-modal-search {
  padding: 10px 14px;
  border-bottom: 1px solid var(--sb-border-light);
}
.sb-league-modal-search input {
  width: 100%;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid var(--sb-border-cell);
  font-size: 13px;
}
.sb-league-modal-list {
  flex: 1;
  overflow-y: auto;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sb-league-modal-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
}
.sb-league-modal-item:hover {
  background: #f1f5f9;
}
.sb-league-modal-actions {
  padding: 10px 14px;
  border-top: 1px solid var(--sb-border-light);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.sb-btn {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}
.sb-btn-primary {
  background: #2563eb;
  color: #ffffff;
}

/* Skeleton loader */
.sb-sk-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid var(--sb-border-light);
}
.sb-sk-line {
  height: 14px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: sb-sk-anim 1.5s infinite;
  border-radius: 4px;
  margin-bottom: 8px;
}
@keyframes sb-sk-anim {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Toast Region */
#sb-toast-region {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.sb-toast {
  background: #1e293b;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  pointer-events: auto;
  animation: sb-toast-in 0.25s ease;
}
.sb-toast-success { background: #15803d; }
.sb-toast-warning { background: #b45309; }
.sb-toast-danger  { background: #b91c1c; }
@keyframes sb-toast-in {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Sportsbook board layout */
body.sb-page {
  background: #f3f5f8;
}

.sb-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.sb-main {
  padding-top: 18px;
}

.sb-board-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}

.sb-board-eyebrow {
  font-size: 9px;
  font-weight: 800;
}

.sb-board-heading h1 {
  margin: 2px 0 0;
  font-weight: 800;
}

.sb-board-timezone {
  padding-bottom: 2px;
  font-size: 10px;
  white-space: nowrap;
}

.sb-board-heading-right {
  display: flex;
  align-items: end;
  gap: 12px;
}

.sb-odds-format-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 2px;
}

.sb-odds-format-label {
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
}

.sb-odds-format-select {
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border: 1px solid var(--sb-border-cell, #d7e1d8);
  border-radius: 6px;
  background: #ffffff;
  color: #17231d;
  cursor: pointer;
}

.sb-odds-format-select:hover { border-color: #94a3b8; }

@media (max-width: 480px) {
  .sb-board-heading { flex-direction: column; align-items: flex-start; }
  .sb-board-heading-right { width: 100%; justify-content: space-between; }
}

.sb-feed-overview {
  border-color: #e0e6ee;
}

.sb-sidebar {
  position: sticky;
}

.sb-league-group {
  overflow: hidden;
  border: 1px solid #dce2ea;
  background: #fff;
}

.sb-league-head {
  padding: 8px 12px;
  border: 0;
  border-bottom: 1px solid #dce2ea;
  border-radius: 0;
}

.sb-league-title {
  font-size: 11px;
  letter-spacing: 0.35px;
}

.sb-match-card {
  display: grid;
  grid-template-columns: minmax(176px, 0.72fr) minmax(0, 1.7fr);
  grid-template-rows: auto 1fr auto;
  align-items: stretch;
  margin: 0;
  overflow: visible;
  border: 0;
  border-bottom: 1px solid #e5eaf0;
  border-radius: 0;
  box-shadow: none;
}

.sb-match-list .sb-match-card:last-child {
  border-bottom: 0;
}

.sb-match-info {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 10px 12px;
  border-right: 1px solid #e8edf3;
}

.sb-card-banner {
  height: auto;
  min-height: 22px;
  padding: 0 0 6px;
  background: transparent;
}

.sb-match-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
}

.sb-match-status.is-live {
  color: #d14343;
}

.sb-match-status.is-live > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.sb-banner-refresh {
  color: #8491a4;
  font-size: 16px;
}

.sb-teams-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 3px 0 5px;
}

.sb-team-col,
.sb-team-col.away {
  justify-content: flex-start;
  gap: 7px;
  color: #26354b;
  font-size: 12px;
  text-align: left;
}

.sb-team-col.away {
  flex-direction: row;
}

.sb-team-col.is-fav {
  color: #26354b;
}

.sb-team-name {
  flex: 1;
  min-width: 0;
}

.sb-team-score {
  color: #172033;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 800;
}

.sb-score-col {
  min-width: 0;
  padding-top: 3px;
  text-align: left;
}

.sb-match-kickoff {
  color: #174ea6;
  font-size: 11px;
}

.sb-match-live-clock {
  color: #d14343;
  font-size: 10px;
}

.sb-match-market-head {
  grid-column: 2;
  grid-row: 1;
  min-height: 31px;
  padding: 7px 10px;
  border-bottom: 1px solid #e8edf3;
  font-size: 9px;
}

.sb-match-market-head span:first-child {
  font-size: 9px;
  letter-spacing: 0.5px;
}

.sb-matrix-table {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
}

.sb-market-period {
  min-height: 0;
  padding: 5px 10px 0;
  background: #fff;
  border: 0;
  color: #8290a3;
  font-size: 8px;
  letter-spacing: 0.6px;
}

.sb-market-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 6px 8px 9px;
}

.sb-market-card-title {
  min-height: 27px;
  padding: 6px 4px;
  font-size: 8px;
  letter-spacing: 0.2px;
}

.sb-market-outcomes {
  gap: 4px;
  padding: 5px;
}

.sb-market-outcome {
  gap: 3px;
}

.sb-market-outcome-label {
  font-size: 9px;
}

.sb-odd-cell {
  min-height: 36px;
  border-radius: 4px;
}

.sb-cell-line {
  font-size: 9px;
}

.sb-cell-odds {
  font-size: 11px;
}

.sb-detail-markets-wrapper,
.sb-card-footer {
  grid-column: 1 / -1;
}

.sb-detail-markets-toggle {
  min-height: 31px;
  font-size: 10px;
}

.sb-card-footer {
  min-height: 25px;
  padding: 5px 10px;
  border-top: 1px solid #edf0f4;
  background: #fff;
}

.sb-match-quick-time {
  display: none;
  color: #64748b;
  font-size: 9px;
}

.sb-betslip {
  position: sticky;
  max-height: calc(100vh - 86px);
}

.sb-betslip-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

@media (max-width: 1120px) {
  .sb-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}

@media (max-width: 860px) {

  .sb-board-heading h1 {
    font-size: 18px;
  }

  .sb-match-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
  }

  .sb-match-info {
    grid-column: 1;
    grid-row: auto;
    padding: 10px 12px 7px;
    border-right: 0;
  }

  .sb-match-market-head {
    grid-column: 1;
    grid-row: auto;
    min-height: 27px;
    padding: 6px 10px;
  }

  .sb-matrix-table {
    grid-column: 1;
    grid-row: auto;
  }

  .sb-detail-markets-wrapper,
  .sb-card-footer {
    grid-column: 1;
  }

  .sb-match-quick-time {
    display: inline;
  }
}

@media (max-width: 480px) {
  .sb-board-timezone {
    font-size: 9px;
  }

  .sb-market-grid {
    gap: 5px;
    padding: 6px;
  }

  .sb-market-card-title {
    min-height: 30px;
    font-size: 7px;
  }

  .sb-market-outcomes {
    gap: 3px;
    padding: 4px;
  }

  .sb-market-outcome-label {
    font-size: 8px;
  }

  .sb-odd-cell {
    min-height: 38px;
  }
}

/* Sportsbook board refresh */
:root {
  --sb-navy-dark: #17231d;
  --sb-navy-header: #20352a;
  --sb-navy-accent: #2c4838;
  --sb-blue-tab: #277451;
  --sb-blue-active: #17734c;
  --sb-blue-pill: #276b4b;
  --sb-page-bg: #eef2ee;
  --sb-border-light: #dfe6df;
  --sb-border-cell: #d3ddd4;
  --sb-text-dark: #1d2a22;
  --sb-text-muted: #68776d;
  --sb-text-dim: #849087;
  --sb-odd-blue: #17734c;
  --sb-odd-red: #b84639;
  --sb-odd-black: #17231d;
  --sb-fav-red: #b84639;
  --sb-live-orange: #db593e;
  --sb-cell-hover: #eef7f0;
  --sb-cell-selected: #d9f0df;
}

body.sb-page {
  background-color: #eef2ee;
  background-image: radial-gradient(ellipse at 50% -20%, #fbfcfa 0, #eef2ee 65%, #e8ede8 100%);
  color: #1d2a22;
  font-family: Inter, 'Segoe UI', sans-serif;
}

.sb-header {
  background: #17231d;
  border-bottom: 1px solid #34483b;
}

.sb-header-inner {
  max-width: 1560px;
  min-height: 58px;
  padding: 7px 18px;
}

.sb-logo-center {
  order: -1;
  margin: 0 auto 0 0;
}

.sb-header-left {
  order: 0;
  margin-left: auto;
}

.sb-header-right {
  order: 1;
  margin-left: 14px;
}

.sb-balance-box,
.sb-coin-badge {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.07);
}

.sb-subheader {
  background: #20352a;
  border-bottom: 1px solid #33483a;
}

.sb-subheader-inner,
.sb-category-inner,
.sb-action-inner {
  max-width: 1560px;
}

.sb-subheader-inner {
  min-height: 42px;
  padding: 5px 18px;
}

.sb-sport-selector {
  min-height: 32px;
  color: #eef5ef;
}

.sb-breadcrumb {
  color: #d2dfd5;
}

.sb-breadcrumb strong {
  color: #ffffff;
}

.sb-parlay-pill {
  min-height: 32px;
  border: 1px solid #59816a;
  border-radius: 5px;
  background: #294b37;
  color: #f4fff6;
  box-shadow: none;
}

.sb-parlay-pill.active,
.sb-parlay-pill:hover {
  border-color: #a7d4ad;
  background: #36704c;
  color: #ffffff;
  box-shadow: none;
}

.sb-category-bar {
  background: #ffffff;
  border-bottom: 1px solid #dfe6df;
}

.sb-category-inner {
  gap: 2px;
  padding: 0 18px;
}

.sb-cat-tab {
  min-height: 42px;
  color: #657369;
}

.sb-cat-tab:hover,
.sb-cat-tab.active {
  color: #176a46;
}

.sb-cat-tab.active {
  border-bottom-color: #218052;
}

.sb-action-bar {
  background: #f8faf8;
  border-bottom-color: #dfe6df;
  box-shadow: none;
}

.sb-action-inner {
  min-height: 46px;
  padding: 6px 18px;
  gap: 8px;
}

.sb-btn-action {
  min-height: 34px;
  border-color: #d5dfd6;
  border-radius: 5px;
  background: #ffffff;
  color: #425349;
}

.sb-btn-action:hover,
.sb-btn-action[aria-pressed='true'] {
  border-color: #83b494;
  background: #edf6ef;
  color: #176a46;
}

.sb-search-wrap input {
  min-height: 34px;
  border-color: #d5dfd6;
  border-radius: 5px;
  background: #ffffff;
}

.sb-search-wrap input:focus {
  border-color: #4d9a68;
  box-shadow: 0 0 0 2px rgba(55, 133, 81, 0.12);
}

.sb-rt-dot.on {
  background: #24945b;
  box-shadow: 0 0 0 3px #dff2e4;
}

.sb-main {
  max-width: 1560px;
  padding: 16px 18px 28px;
}

.sb-layout {
  grid-template-columns: 204px minmax(0, 1fr) 318px;
  gap: 14px;
}

.sb-board-heading {
  margin-bottom: 10px;
}

.sb-board-eyebrow {
  color: #278154;
  letter-spacing: 0.7px;
}

.sb-board-heading h1 {
  color: #1d2a22;
  font-family: 'Bebas Neue', Inter, sans-serif;
  font-size: 28px;
  letter-spacing: 0;
  line-height: 1;
}

.sb-board-timezone {
  color: #738076;
}

.sb-feed-overview {
  min-height: 58px;
  margin-bottom: 10px;
  padding: 9px 13px;
  border: 1px solid #dfe6df;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: none;
}

.sb-feed-overview strong {
  color: #213128;
  font-variant-numeric: tabular-nums;
}

.sb-feed-overview > div:not(:first-child) {
  min-width: 82px;
  padding-left: 13px;
  border-left: 1px solid #e6ebe6;
}

.sb-sidebar,
.sb-betslip {
  border-color: #dfe6df;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(25, 45, 32, 0.045);
}

.sb-sidebar {
  top: 70px;
  padding: 10px;
  max-height: calc(100vh - 86px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.sb-sidebar-title {
  color: #6f7d72;
  font-size: 10px;
  letter-spacing: 0.65px;
}

.sb-nav-item {
  min-height: 34px;
  border-radius: 4px;
  color: #34453a;
}

.sb-nav-item:hover {
  background: #f1f6f2;
  color: #176a46;
}

.sb-nav-item.active {
  background: #e8f3ea;
  color: #176a46;
  box-shadow: inset 3px 0 #248153;
}

.sb-league-group {
  margin-bottom: 10px;
  border-color: #dfe6df;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(25, 45, 32, 0.035);
}

.sb-league-head {
  min-height: 38px;
  background: #e9f0ea;
  border-color: #dfe6df;
}

.sb-league-title {
  color: #344c3b;
}

.sb-league-pill {
  background: #d7e9da;
  color: #376344;
}

.sb-match-card {
  background: #ffffff;
  border-bottom-color: #e8ede8;
  transition: background-color 120ms ease;
}

.sb-match-card:hover {
  background: #fcfdfc;
}

.sb-match-info {
  background: #fbfcfb;
  border-right-color: #e8ede8;
}

.sb-match-status.is-live,
.sb-match-live-clock {
  color: #bd4937;
}

.sb-match-status.is-live > span {
  background: #d9513c;
  box-shadow: 0 0 0 3px #f9e8e4;
}

.sb-match-league {
  color: #637267;
}

.sb-provider-chip {
  border-color: #dce9df;
  border-radius: 3px;
  background: #f1f6f2;
  color: #477052;
}

.sb-match-market-head {
  background: #ffffff;
  border-bottom-color: #e8ede8;
}

.sb-match-market-head span:first-child {
  color: #526258;
}

.sb-market-period-tabs {
  border-bottom-color: #e8ede8;
}

.sb-market-period-tab {
  border-color: #dce4dd;
  background: #f7f9f7;
  color: #5e6e62;
}

.sb-market-period-tab:hover,
.sb-market-period-tab.active {
  border-color: #7fb18d;
  background: #eaf4ec;
  color: #176a46;
}

.sb-market-card {
  border-color: #e0e7e1;
  border-radius: 4px;
}

.sb-market-card-title {
  background: #f5f8f5;
  color: #536257;
}

.sb-market-outcome-label {
  color: #78857a;
}

.sb-odd-cell {
  border-color: #dbe4dc;
  background: #f5f8f5;
  box-shadow: none;
}

.sb-odd-cell:hover:not(.disabled):not(.locked) {
  border-color: #71aa82;
  background: #e9f5ec;
}

.sb-odd-cell.chosen {
  border-color: #268052;
  background: #dff1e3;
  box-shadow: inset 0 0 0 1px #268052;
}

.sb-cell-line {
  color: #19734d;
}

.sb-cell-odds {
  color: #20342a;
  font-variant-numeric: tabular-nums;
}

.sb-detail-markets-toggle {
  background: #f4f8f4;
  color: #236d45;
}

.sb-detail-markets-toggle:hover {
  background: #e7f2e9;
}

.sb-card-footer {
  color: #768278;
}

.sb-betslip {
  top: 70px;
  border-radius: 5px;
}

.sb-betslip-tabs {
  min-height: 42px;
  background: #20352a;
}

.sb-system-size {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 10px;
  color: #536257;
  font-size: 11px;
  font-weight: 700;
}

.sb-system-size select {
  min-height: 34px;
  max-width: 68%;
  padding: 5px 8px;
  border: 1px solid #d5dfd6;
  border-radius: 4px;
  background: #ffffff;
  color: #20342a;
  font: inherit;
  font-size: 11px;
}

.sb-system-size select:focus-visible {
  border-color: #4c9a67;
  outline: 2px solid rgba(55, 133, 81, 0.13);
}

.sb-bs-tab {
  color: #c3d5c7;
}

.sb-bs-tab.active,
.sb-bs-tab:hover {
  color: #ffffff;
  border-bottom-color: #70ba83;
}

.sb-betslip-mode {
  color: #c9e5cf;
}

.sb-slip-leg {
  border-color: #e0e7e1;
  border-radius: 4px;
  background: #f7f9f7;
}

.sb-slip-pick {
  color: #176a46;
}

.sb-slip-tab.active {
  background: #36704c;
  box-shadow: none;
}

.sb-slip-summary {
  border: 1px solid #e3e9e3;
  border-radius: 4px;
  background: #f7f9f7;
}

.sb-slip-stake input:focus-visible {
  border-color: #4c9a67;
  outline: 2px solid rgba(55, 133, 81, 0.13);
}

.sb-quick-btn {
  border-color: #d7e1d8;
  border-radius: 4px;
  color: #435448;
}

.sb-quick-btn:hover {
  border-color: #7fb18d;
  background: #edf6ef;
}

.sb-btn-place {
  border-radius: 4px;
  background: #21804f;
}

.sb-btn-place:hover:not(:disabled) {
  background: #176a40;
}

.sb-bottom-nav {
  background: #17231d;
  border-top-color: #34483b;
}

@media (max-width: 1240px) and (min-width: 861px) {
  .sb-layout {
    grid-template-columns: 190px minmax(0, 1fr) 292px;
    gap: 10px;
  }
}

@media (max-width: 1080px) and (min-width: 861px) {
  .sb-layout {
    grid-template-columns: minmax(0, 1fr) 292px;
  }

  .sb-sidebar {
    display: none;
  }
}

@media (max-width: 860px) {
  .sb-header-inner {
    min-height: 52px;
    padding: 6px 10px;
  }

  .sb-logo-img.sb-logo-v2 {
    height: 32px;
    max-width: 122px;
  }

  .sb-header-left {
    gap: 6px;
  }

  .sb-header-right {
    gap: 6px;
    margin-left: 7px;
  }

  .sb-coin-badge {
    display: none;
  }

  .sb-balance-box {
    gap: 4px;
    padding: 4px 7px;
    font-size: 10px;
  }

  .sb-subheader-inner,
  .sb-category-inner,
  .sb-action-inner {
    padding-right: 10px;
    padding-left: 10px;
  }

  .sb-action-inner {
    flex-wrap: wrap;
  }

  .sb-search-wrap {
    flex: 1 1 150px;
  }

  .sb-rt-status {
    margin-left: auto;
  }

  .sb-main {
    padding: 12px 10px 20px;
  }

  .sb-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .sb-betslip {
    display: none;
  }

  .sb-match-info {
    background: #ffffff;
  }

  .sb-match-card:hover {
    background: #ffffff;
  }
}

@media (max-width: 480px) {
  .sb-main {
    padding-right: 7px;
    padding-left: 7px;
  }

  .sb-feed-overview > div:not(:first-child) {
    min-width: 65px;
    padding-left: 8px;
  }

  .sb-feed-overview > div:first-child {
    margin-right: 0;
  }

  .sb-board-heading h1 {
    font-size: 24px;
  }

  .sb-board-timezone {
    max-width: 118px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sb-team-col,
  .sb-team-col.away {
    font-size: 11px;
  }

  .sb-market-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}