/**
 * Betika-style dark sportsbook shell — FlashBet green/gold accents.
 * Applies to public sportsbook pages (not game-page).
 */

body.sp-theme:not(.game-page):not(.page-auth) {
  --sp-page: #12151c;
  --sp-surface: #1a1f2e;
  --sp-surface-2: #222836;
  --sp-surface-3: #2a3142;
  --sp-ink: #eef1f6;
  --sp-ink-muted: #8b95a8;
  --sp-border: #2d3548;
  --sp-chrome-h: 108px;
  --sp-green-soft: rgba(0, 150, 57, 0.14);
  --gradient-hero: linear-gradient(135deg, #007a32 0%, #009639 55%, #00b347 100%);
  --gradient-gold: linear-gradient(135deg, #ffb81c 0%, #f7941d 100%);
  background: var(--sp-page);
  color: var(--sp-ink);
}

/* ---- Top chrome — executive sports artwork + green fade (sportbook + games) ---- */
body.sp-theme:not(.page-auth) .site-top-chrome {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  background-color: #005e26;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

body.sp-theme:not(.page-auth) .site-top-chrome::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(
      102deg,
      rgba(0, 62, 28, 0.96) 0%,
      rgba(0, 82, 38, 0.9) 30%,
      rgba(0, 96, 44, 0.76) 50%,
      rgba(0, 88, 40, 0.58) 68%,
      rgba(0, 70, 32, 0.42) 100%
    ),
    url('../img/header-sports-bg.png') 72% 40% / cover no-repeat;
  pointer-events: none;
}

body.sp-theme:not(.page-auth) .site-top-chrome::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(255, 184, 28, 0.4), transparent);
  pointer-events: none;
}

body.sp-theme:not(.page-auth) .site-top-chrome > header,
body.sp-theme:not(.page-auth) .site-top-chrome > nav {
  position: relative;
  z-index: 2;
}

/* Fallback / auth / game pages — flat green gradient */
body.sp-theme .site-top-chrome {
  width: 100%;
  max-width: none;
  background: var(--gradient-hero);
  box-shadow: 0 4px 20px rgba(0, 94, 38, 0.28);
}

body.sp-theme .site-top-chrome header {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

body.sp-theme .site-top-chrome header a.logo {
  color: #fff;
}

body.sp-theme .site-top-chrome header a.logo.logo--image {
  background: #000;
  padding: 3px 8px;
  border-radius: 8px;
}

body.sp-theme .site-top-chrome header a.logo .site-logo-img {
  height: 30px;
  max-width: 108px;
}

body.sp-theme .site-top-chrome header a.logo span {
  color: var(--sp-gold);
}

body.sp-theme .site-top-chrome .user-info,
body.sp-theme .site-top-chrome .user-info strong {
  color: #fff;
}

body.sp-theme .site-top-chrome .balance {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 184, 28, 0.45);
}

body.sp-theme .site-top-chrome .guest-header-actions .guest-tagline {
  color: rgba(255, 255, 255, 0.75);
}

body.sp-theme .site-top-chrome .guest-header-actions .btn-login {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
}

body.sp-theme .site-top-chrome .guest-header-actions .btn-register {
  background: linear-gradient(135deg, #ffb81c, #f7941d) !important;
  color: #1a1f2e !important;
}

body.sp-theme .site-top-chrome .header-utilities {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

body.sp-theme .site-top-chrome .header-util {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 10px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.625rem;
  font-weight: 600;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s, background 0.15s;
}

body.sp-theme .site-top-chrome .header-util i {
  font-size: 1.0625rem;
  color: #fff;
}

body.sp-theme .site-top-chrome .header-util:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

body.sp-theme .site-top-chrome .btn-deposit-header {
  background: linear-gradient(135deg, #ffb81c 0%, #f7941d 100%);
  color: #1a1f2e;
  font-weight: 800;
  font-size: 0.8125rem;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-left: 6px;
  box-shadow: 0 4px 14px rgba(255, 184, 28, 0.3);
  font-family: inherit;
  white-space: nowrap;
}

body.sp-theme .site-top-chrome .btn-deposit-header:hover {
  filter: brightness(1.05);
}

body.sp-theme .site-top-chrome .top-actions {
  display: none;
}

body.sp-theme .site-top-chrome .user-info > span:first-child {
  display: none;
}

/* Main nav — glass over artwork (sportbook + games) */
body.sp-theme:not(.page-auth) .site-top-chrome nav {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.06) 100%);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-bottom: 3px solid var(--sp-gold);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  padding: 0 10px;
  gap: 4px;
}

body.sp-theme .site-top-chrome nav {
  background: var(--gradient-hero);
  border-bottom: 3px solid var(--sp-gold);
  box-shadow: 0 4px 16px rgba(0, 94, 38, 0.15);
  padding: 0 10px;
  gap: 4px;
}

body.sp-theme .site-top-chrome nav a {
  position: relative;
  border-radius: 10px 10px 0 0;
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8125rem;
  font-weight: 500;
  gap: 0;
  margin-top: 4px;
}

body.sp-theme .site-top-chrome nav a .nav-link-icon {
  display: none;
}

body.sp-theme .site-top-chrome nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

body.sp-theme:not(.page-auth) .site-top-chrome nav a.active {
  color: #fff;
  background: rgba(26, 31, 46, 0.92);
  font-weight: 700;
  box-shadow: 0 -2px 0 var(--sp-gold) inset;
  backdrop-filter: blur(6px);
}

body.sp-theme .site-top-chrome nav a.active {
  color: #fff;
  background: #1a1f2e;
  font-weight: 700;
  box-shadow: 0 -2px 0 var(--sp-gold) inset;
}

body.sp-theme .site-top-chrome nav a.active::after {
  display: none;
}

body.sp-theme .site-top-chrome .nav-badge--float {
  position: absolute;
  top: 4px;
  right: 2px;
  background: #e53935;
  color: #fff;
  font-size: 0.5rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

body.sp-theme .site-top-chrome .nav-link-text .nav-badge:not(.nav-badge--float) {
  display: none;
}

/* ---- Sports sidebar — dark panel (match betslip, not green nav) ---- */
body.sp-theme:not(.game-page) aside.sports-sidebar {
  background: var(--sp-surface, #1a1f2e) !important;
  border: none;
  top: 0;
  max-height: calc(100vh - 120px);
  border-radius: 0;
  box-shadow: none;
}

body.sp-theme:not(.game-page) aside.sports-sidebar .sports-sidebar-nav {
  background: var(--sp-surface, #1a1f2e) !important;
}

/* ---- Content area — match betslip panel ---- */
body.sp-theme:not(.game-page) .content {
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  box-shadow: none;
  border-radius: 8px;
  padding: 12px 16px 20px;
}

body.sp-theme:not(.game-page) .content-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

body.sp-theme:not(.game-page) .content-toolbar-tabs {
  flex: 1;
  min-width: 0;
}

body.sp-theme:not(.game-page) .content-toolbar-tabs .tabs {
  margin-bottom: 0;
}

body.sp-theme:not(.game-page) .content-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

body.sp-theme:not(.game-page) .btn-print-matches {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--sp-gold);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

body.sp-theme:not(.game-page) .btn-print-matches i {
  font-size: 0.875rem;
}

body.sp-theme:not(.game-page) .btn-print-matches:hover {
  background: rgba(255, 184, 28, 0.12);
  color: #fff;
}

body.sp-theme:not(.game-page) .content-search-wrap {
  position: relative;
  flex: 0 1 220px;
  min-width: 160px;
}

body.sp-theme:not(.game-page) .content-search-wrap i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sp-ink-muted);
  font-size: 0.8125rem;
  pointer-events: none;
}

body.sp-theme:not(.game-page) .content-search {
  width: 100%;
  padding: 9px 12px 9px 34px;
  background: var(--sp-surface-2);
  border: 1px solid var(--sp-border);
  border-radius: 6px;
  color: var(--sp-ink);
  font-size: 0.8125rem;
  font-family: inherit;
}

body.sp-theme:not(.game-page) .content-search:focus {
  outline: none;
  border-color: var(--sp-gold);
}

body.sp-theme:not(.game-page) .featured-wrapper {
  display: none;
}

body.sp-theme:not(.game-page) .tabs {
  border-bottom: 1px solid var(--sp-border);
  gap: 0;
  margin-bottom: 0;
  flex: 1;
}

body.sp-theme:not(.game-page) .tabs span {
  color: var(--sp-ink-muted);
  padding: 10px 16px;
  border-radius: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}

body.sp-theme:not(.game-page) .tabs span:hover {
  color: #fff;
  background: transparent;
}

body.sp-theme:not(.game-page) .tabs span.active {
  color: #fff;
  background: transparent !important;
  border-bottom-color: var(--sp-gold);
  font-weight: 700;
}

body.sp-theme:not(.game-page) .filters button {
  background: var(--sp-surface-2);
  border-color: var(--sp-border);
  color: var(--sp-ink-muted);
}

body.sp-theme:not(.game-page) .filters button.active,
body.sp-theme:not(.game-page) .filters button:hover {
  background: var(--sp-surface-3);
  border-color: var(--sp-gold);
  color: #fff;
}

body.sp-theme:not(.game-page) .banner-slider {
  border: none;
  border-radius: 8px;
  margin-top: 12px;
}

/* ---- Odds table (Betika layout) ---- */
body.sp-theme:not(.game-page) .odds-table {
  width: 100%;
}

body.sp-theme:not(.game-page) .odds-table-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(3, 72px) 100px;
  gap: 8px;
  padding: 8px 12px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--sp-ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--sp-border);
  align-items: center;
}

body.sp-theme:not(.game-page) .odds-table-head .col-games {
  min-width: 0;
}

body.sp-theme:not(.game-page) .odds-table-head .col-odd {
  text-align: center;
  justify-self: center;
  width: 72px;
}

body.sp-theme:not(.game-page) .odds-table-head .col-markets {
  text-align: right;
  justify-self: end;
}

body.sp-theme:not(.game-page) .league-group-header {
  font-size: 0.75rem;
  color: var(--sp-ink-muted);
  padding: 14px 12px 8px;
  font-weight: 600;
  background: var(--sp-surface-2) !important;
  border-radius: 0;
}

body.sp-theme:not(.game-page) .league-group-header .league-hash {
  color: var(--sp-gold);
  margin-right: 4px;
}

body.sp-theme:not(.game-page) .match-row.betika-match {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(3, 72px) 100px;
  gap: 8px;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid var(--sp-border);
  padding: 12px;
  border-radius: 0;
}

body.sp-theme:not(.game-page) .match-row.betika-match .match-left {
  min-width: 0;
  grid-column: 1;
}

body.sp-theme:not(.game-page) .match-row.betika-match .match-odds {
  display: contents;
}

body.sp-theme:not(.game-page) .match-row.betika-match .match-odds > div {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  width: 72px;
  min-width: 72px;
  max-width: 72px;
}

body.sp-theme:not(.game-page) .match-row.betika-match .match-right {
  grid-column: 5;
  justify-self: end;
  text-align: right;
  min-width: 0;
}

body.sp-theme:not(.game-page) .match-row.betika-match:hover {
  background: rgba(255, 255, 255, 0.03);
}

body.sp-theme:not(.game-page) .match-row.betika-match .match-left .league {
  color: var(--sp-ink-muted);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

body.sp-theme:not(.game-page) .match-row.betika-match .match-left .teams {
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.45;
}

body.sp-theme:not(.game-page) .match-row.betika-match .odds-label {
  display: none;
}

body.sp-theme:not(.game-page) .match-odds .odds,
body.sp-theme:not(.game-page) .match-odds a.odds {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 72px;
  max-width: 72px;
  box-sizing: border-box;
  background: var(--sp-surface-3);
  color: #fff;
  border: 1px solid transparent;
  font-weight: 700;
  border-radius: 6px;
  padding: 11px 4px;
  text-align: center;
  text-decoration: none;
}

body.sp-theme:not(.game-page) .match-odds .odds:hover {
  background: #343d52;
  border-color: var(--sp-border);
}

body.sp-theme:not(.game-page) .match-odds .odds.selected {
  background: var(--sp-gold);
  border-color: var(--sp-gold);
  color: #1a1f2e;
}

body.sp-theme:not(.game-page) .match-odds .odds.is-suspended {
  opacity: 0.45;
  cursor: not-allowed;
  background: var(--sp-surface-2);
}

body.sp-theme:not(.game-page) .match-odds .odds.is-suspended:hover {
  background: var(--sp-surface-2);
  border-color: transparent;
}

body.sp-theme:not(.game-page) .match-row.betika-match .teams--stacked {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

body.sp-theme:not(.game-page) .match-row.betika-match .team-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

body.sp-theme:not(.game-page) .match-row.betika-match .team-logo-sm {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

body.sp-theme:not(.game-page) .match-row.betika-match .team-logo-fallback {
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  opacity: 0.7;
}

body.sp-theme:not(.game-page) .match-row.betika-match .match-score {
  color: var(--sp-gold);
  font-weight: 700;
  margin-left: 6px;
}

body.sp-theme:not(.game-page) .match-odds.match-odds--two {
  grid-template-columns: repeat(3, 1fr);
}

body.sp-theme:not(.game-page) .match-odds .odds-spacer {
  display: none;
}

body.sp-theme .full-markets .market-section + .market-section {
  margin-top: 12px;
}

body.sp-theme:not(.game-page) .match-right .markets,
body.sp-theme:not(.game-page) .match-right .markets-btn {
  color: var(--sp-gold);
  font-size: 0.75rem;
  font-weight: 600;
  text-align: right;
}

body.sp-theme:not(.game-page) .match-right .markets-btn {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.sp-theme:not(.game-page) .match-right .markets-btn:hover {
  color: #fff;
}

body.sp-theme:not(.game-page) .match-left {
  cursor: pointer;
}

body.sp-theme:not(.game-page) .match-right .time {
  display: none;
}

body.sp-theme:not(.game-page) .match-kickoff {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 6px;
  font-size: 0.6875rem;
  line-height: 1.3;
  color: var(--sp-ink-muted);
}

body.sp-theme:not(.game-page) .match-kickoff__date {
  font-weight: 600;
  color: #cbd5e1;
}

body.sp-theme:not(.game-page) .match-kickoff__time {
  font-weight: 700;
  color: var(--sp-gold);
}

body.sp-theme:not(.game-page) .match-kickoff--side {
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  margin: 0 0 6px;
}

body.sp-theme:not(.game-page) .match-row.betika-match .match-left .match-kickoff {
  margin-bottom: 8px;
}

body.sp-theme:not(.game-page) .match-row.betika-match .match-left .match-kickoff:not(.match-kickoff--side) {
  display: none;
}

body.sp-theme:not(.game-page) .match-kickoff--side {
  display: flex;
}

body.sp-theme:not(.game-page) .live-pill {
  color: #ff5252;
  font-weight: 700;
  font-size: 0.6875rem;
}

body.sp-theme:not(.game-page) .see-all-link {
  display: block;
  text-align: center;
  padding: 16px;
  color: var(--sp-gold);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

body.sp-theme:not(.game-page) .see-all-link:hover {
  text-decoration: underline;
}

/* ---- Betslip panel ---- */
body.sp-theme:not(.game-page) .betslip {
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  top: 12px;
  height: auto;
  max-height: calc(100vh - 24px);
}

body.sp-theme:not(.game-page) .betslip-tabs {
  display: flex;
  border-bottom: 1px solid var(--sp-border);
  background: var(--sp-surface-2);
}

body.sp-theme:not(.game-page) .betslip-tab {
  flex: 1;
  padding: 12px 8px;
  border: none;
  background: transparent;
  color: var(--sp-ink-muted);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}

body.sp-theme:not(.game-page) .betslip-tab.active {
  color: #fff;
  border-bottom-color: var(--sp-gold);
  background: var(--sp-surface);
}

body.sp-theme:not(.game-page) .betslip-tab:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

body.sp-theme:not(.game-page) .betslip-body {
  padding: 14px;
}

body.sp-theme:not(.game-page) .betslip-share {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

body.sp-theme:not(.game-page) .betslip-code-input {
  width: 100%;
  padding: 11px 12px;
  background: var(--sp-surface-2);
  border: 1px solid var(--sp-border);
  border-radius: 6px;
  color: var(--sp-ink);
  font-size: 0.8125rem;
  font-family: inherit;
}

body.sp-theme:not(.game-page) .betslip-code-input::placeholder {
  color: var(--sp-ink-muted);
}

body.sp-theme:not(.game-page) .btn-load-betslip {
  width: 100%;
  padding: 12px;
  background: var(--gradient-gold);
  color: #1a1f2e;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  font-family: inherit;
}

body.sp-theme:not(.game-page) .btn-load-betslip:hover {
  filter: brightness(1.05);
}

body.sp-theme:not(.game-page) .betslip h4 {
  display: none;
}

body.sp-theme:not(.game-page) .bet-item {
  background: var(--sp-surface-2);
  border-color: var(--sp-border);
}

body.sp-theme:not(.game-page) .bet-item .odd {
  color: var(--sp-gold);
}

body.sp-theme:not(.game-page) .bet-item--changed {
  border-color: rgba(255, 184, 28, 0.45);
  box-shadow: inset 0 0 0 1px rgba(255, 184, 28, 0.2);
}

body.sp-theme:not(.game-page) .bet-item .odd--changed s {
  opacity: 0.65;
  margin-right: 6px;
}

body.sp-theme:not(.game-page) .bet-item .odd--changed strong {
  color: #ffb81c;
}

body.sp-theme:not(.game-page) .betslip-accept-odds {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0 8px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 184, 28, 0.1);
  border: 1px solid rgba(255, 184, 28, 0.35);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--sp-ink);
  cursor: pointer;
}

body.sp-theme:not(.game-page) .betslip-accept-odds input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--sp-gold);
  flex-shrink: 0;
}

body.sp-theme:not(.game-page) .betslip-odds-note {
  font-size: 0.75rem;
  color: #b45309;
  margin: 0 0 10px;
  line-height: 1.4;
}

body.sp-theme:not(.game-page) .stake-input {
  background: var(--sp-surface-2);
  border-color: var(--sp-border);
  color: var(--sp-ink);
}

body.sp-theme:not(.game-page) .stake-input:focus {
  box-shadow: 0 0 0 2px rgba(255, 184, 28, 0.35);
}

body.sp-theme:not(.game-page) .text-muted-soft {
  color: var(--sp-ink-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

body.sp-theme:not(.game-page) footer {
  background: #0f1218;
  border-top: 1px solid var(--sp-border);
}

body.sp-theme:not(.game-page) .loading,
body.sp-theme:not(.game-page) .error-message {
  color: var(--sp-ink-muted);
}

body.sp-theme:not(.game-page) .spinner {
  border-color: var(--sp-border);
  border-top-color: var(--sp-gold);
}

body.sp-theme:not(.game-page) .betslip-drawer {
  background: var(--sp-surface);
  border-color: var(--sp-border);
  color: var(--sp-ink);
}

@media (max-width: 768px) {
  body.sp-theme:not(.game-page) .odds-table-head {
    display: none;
  }

  body.sp-theme:not(.game-page) .match-row.betika-match {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body.sp-theme:not(.game-page) .match-row.betika-match .match-left {
    grid-column: 1;
  }

  body.sp-theme:not(.game-page) .match-row.betika-match .match-odds {
    display: grid;
    grid-column: 1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }

  body.sp-theme:not(.game-page) .match-row.betika-match .match-odds > div {
    width: auto;
    min-width: 0;
    max-width: none;
  }

  body.sp-theme:not(.game-page) .match-row.betika-match .match-odds .odds,
  body.sp-theme:not(.game-page) .match-row.betika-match .match-odds a.odds {
    min-width: 0;
    max-width: none;
    width: 100%;
  }

  body.sp-theme:not(.game-page) .match-row.betika-match .match-odds.match-odds--two {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.sp-theme:not(.game-page) .match-row.betika-match .match-odds .odds-label {
    display: block;
    font-size: 0.625rem;
    text-align: center;
    color: var(--sp-ink-muted);
    margin-bottom: 4px;
  }

  body.sp-theme:not(.game-page) .match-row.betika-match .match-right {
    grid-column: 1;
    justify-self: stretch;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  body.sp-theme:not(.game-page) .match-row.betika-match .match-left .match-kickoff:not(.match-kickoff--side) {
    display: flex;
  }

  body.sp-theme:not(.game-page) .match-kickoff--side {
    display: none;
  }

  body.sp-theme:not(.game-page) .content-search-wrap {
    flex: 1 1 100%;
    order: 3;
  }
}

/* Left sports sidebar — dark panel, no green from generic nav rule */
body.sp-theme:not(.game-page) aside.sports-sidebar,
body.sp-theme:not(.game-page) aside.sports-sidebar .sports-sidebar-nav {
  background: var(--sp-surface, #1a1f2e) !important;
}

body.sp-theme:not(.game-page) aside.sports-sidebar .sport-icon-wrap {
  background: transparent !important;
  box-shadow: none !important;
}

body.sp-theme:not(.game-page) aside.sports-sidebar .sport-icon-wrap svg,
body.sp-theme:not(.game-page) aside.sports-sidebar .sport-icon-wrap i {
  color: #8b96a2 !important;
}

body.sp-theme:not(.game-page) aside.sports-sidebar .sport:hover .sport-icon-wrap svg,
body.sp-theme:not(.game-page) aside.sports-sidebar .sport:hover .sport-icon-wrap i,
body.sp-theme:not(.game-page) aside.sports-sidebar .sport.active .sport-icon-wrap svg,
body.sp-theme:not(.game-page) aside.sports-sidebar .sport.active .sport-icon-wrap i {
  color: #fff !important;
}

body.sp-theme:not(.game-page) aside.sports-sidebar .sport:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #fff !important;
}

body.sp-theme:not(.game-page) aside.sports-sidebar .sport.active {
  background: transparent !important;
  border-left-color: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
}

/* ---- Desktop: full-screen sportsbook shell ---- */
@media (min-width: 1024px) {
  html,
  body.sp-theme:not(.game-page):not(.page-auth) {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body.sp-theme:not(.game-page) > .main {
    width: 100%;
    max-width: none;
    padding: 0 !important;
    gap: 0 !important;
    align-items: stretch !important;
    min-height: calc(100dvh - var(--sp-chrome-h));
  }

  body.sp-theme:not(.game-page) aside.sports-sidebar {
    position: sticky;
    top: var(--sp-chrome-h);
    align-self: start;
    width: 100%;
    min-height: calc(100dvh - var(--sp-chrome-h));
    max-height: calc(100dvh - var(--sp-chrome-h));
    height: calc(100dvh - var(--sp-chrome-h));
    border-radius: 0 !important;
    border: none !important;
    border-right: 1px solid var(--sp-border) !important;
    overflow-y: auto;
  }

  body.sp-theme:not(.game-page) .content {
    min-height: calc(100dvh - var(--sp-chrome-h));
    border-radius: 0 !important;
    border: none !important;
    border-right: 1px solid var(--sp-border) !important;
    box-shadow: none !important;
  }

  body.sp-theme:not(.game-page) .betslip {
    position: sticky;
    top: var(--sp-chrome-h);
    align-self: start;
    width: 100%;
    min-height: calc(100dvh - var(--sp-chrome-h));
    max-height: calc(100dvh - var(--sp-chrome-h));
    height: calc(100dvh - var(--sp-chrome-h));
    border-radius: 0 !important;
    border: none !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  body.sp-theme:not(.game-page) .betslip-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
  }

  body.sp-theme:not(.game-page) footer {
    margin-top: 0;
  }
}

/* ========== Betika-style mobile shell ========== */
.mobile-menu-btn,
.header-icon-btn {
  display: none;
}

.mobile-hub {
  display: none;
}

body.sp-theme:not(.game-page) .tabs .tab-link {
  color: var(--sp-ink-muted);
  padding: 10px 16px;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

body.sp-theme:not(.game-page) .tabs .tab-link:hover {
  color: #fff;
}

@media (max-width: 768px) {
  body.sp-theme:not(.game-page):not(.page-auth) {
    --sp-chrome-h: 52px;
    background: var(--sp-page);
  }

  body.sp-theme:not(.game-page) .site-top-chrome {
    position: sticky;
    top: 0;
    z-index: 1100;
  }

  body.sp-theme:not(.page-auth) .site-top-chrome::before {
    background:
      linear-gradient(
        180deg,
        rgba(0, 62, 28, 0.95) 0%,
        rgba(0, 82, 38, 0.88) 55%,
        rgba(0, 70, 32, 0.72) 100%
      ),
      url('../img/header-sports-bg.png') 65% 35% / cover no-repeat;
  }

  body.sp-theme:not(.game-page) .site-top-chrome header,
  body.sp-theme.game-page .site-top-chrome header {
    padding: 8px 12px;
    gap: 10px;
    min-height: 52px;
  }

  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.125rem;
    cursor: pointer;
  }

  body.sp-theme:not(.game-page) .header-greeting,
  body.sp-theme:not(.game-page) .balance,
  body.sp-theme:not(.game-page) .header-util--desktop {
    display: none !important;
  }

  body.sp-theme:not(.game-page) .header-utilities {
    margin-left: auto;
    gap: 4px;
  }

  .header-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    font-size: 1.0625rem;
    cursor: pointer;
    text-decoration: none;
  }

  body.sp-theme:not(.game-page) .btn-deposit-header {
    padding: 8px 14px;
    font-size: 0.75rem;
    margin-left: 2px;
  }

  /* Icon hub strip */
  body.sp-theme:not(.game-page) .mobile-hub {
    display: block;
    background: var(--sp-surface);
    border-bottom: 1px solid var(--sp-border);
    position: sticky;
    top: calc(env(safe-area-inset-top, 0px) + var(--sp-chrome-h, 52px));
    z-index: 1090;
  }

  body.sp-theme.game-page .mobile-hub {
    display: none !important;
  }

  .mobile-hub-scroll {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 10px 12px 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .mobile-hub-scroll::-webkit-scrollbar {
    display: none;
  }

  .mobile-hub-item {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    min-width: 64px;
    max-width: 72px;
    padding: 4px 6px;
    border: none;
    background: transparent;
    color: var(--sp-ink-muted);
    text-decoration: none;
    font-family: inherit;
    cursor: pointer;
    position: relative;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-hub-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-hub-icon svg {
    width: 26px;
    height: 26px;
    color: #fff;
    stroke: #fff;
    flex-shrink: 0;
  }

  .mobile-hub-icon--aviator { background: linear-gradient(145deg, #1e3a5f, #2d4a6f); border-color: rgba(96, 165, 250, 0.35); }
  .mobile-hub-icon--crash { background: linear-gradient(145deg, #3d2814, #5c3d1e); border-color: rgba(255, 184, 28, 0.4); }
  .mobile-hub-icon--casino { background: linear-gradient(145deg, #2d1f4e, #3d2a6b); border-color: rgba(167, 139, 250, 0.35); }
  .mobile-hub-icon--jackpots { background: linear-gradient(145deg, #4a3a0a, #6b5520); border-color: rgba(255, 215, 0, 0.45); }
  .mobile-hub-icon--soccer { background: linear-gradient(145deg, #0d3320, #145a32); border-color: rgba(74, 222, 128, 0.3); }
  .mobile-hub-icon--virtuals { background: linear-gradient(145deg, #1a2e4a, #243b55); border-color: rgba(56, 189, 248, 0.35); }
  .mobile-hub-icon--more { background: var(--sp-surface-2); }

  .mobile-hub-label {
    font-size: 0.625rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    color: var(--sp-ink-muted);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-hub-item.active .mobile-hub-icon {
    background: rgba(0, 150, 57, 0.25);
    box-shadow: inset 0 0 0 1px rgba(0, 150, 57, 0.45);
  }

  .mobile-hub-item.active .mobile-hub-label {
    color: #fff;
  }

  .mobile-hub-badge {
    position: absolute;
    top: 0;
    right: 4px;
    font-style: normal;
    font-size: 0.5rem;
    font-weight: 800;
    text-transform: uppercase;
    background: #e53935;
    color: #fff;
    padding: 2px 5px;
    border-radius: 4px;
    line-height: 1.2;
  }

  /* Hide legacy mobile sports chips — hub replaces them */
  body.sp-theme:not(.game-page) .mobile-sports-bar {
    display: none !important;
  }

  body.sp-theme:not(.game-page) aside.sports-sidebar {
    display: none !important;
  }

  body.sp-theme:not(.game-page) > .main {
    display: block;
    padding: 0;
    gap: 0;
    max-width: 100%;
  }

  body.sp-theme:not(.game-page) .content {
    border: none;
    border-radius: 0;
    padding: 0 0 16px;
    background: var(--sp-page);
  }

  body.sp-theme:not(.game-page) .content-toolbar {
    padding: 0 12px;
    margin-bottom: 0;
    border-bottom: 1px solid var(--sp-border);
    background: var(--sp-surface);
  }

  body.sp-theme:not(.game-page) .content-toolbar-actions {
    display: none;
  }

  body.sp-theme:not(.game-page) .content-toolbar-tabs .tabs {
    padding: 0 4px;
  }

  body.sp-theme:not(.game-page) .banner-slider {
    margin: 12px 12px 0;
    border-radius: 8px;
    --banner-height: 120px;
  }

  body.sp-theme:not(.game-page) .filters {
    padding: 10px 12px;
    margin: 0;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    border-bottom: 1px solid var(--sp-border);
    background: var(--sp-surface);
  }

  body.sp-theme:not(.game-page) .filters::-webkit-scrollbar {
    display: none;
  }

  body.sp-theme:not(.game-page) #matchesContainer,
  body.sp-theme:not(.game-page) .odds-table-head,
  body.sp-theme:not(.game-page) .league-group-header,
  body.sp-theme:not(.game-page) .match-row.betika-match {
    margin-left: 0;
    margin-right: 0;
  }

  body.sp-theme:not(.game-page) footer {
    display: none;
  }

  /* Bottom nav + center betslip FAB */
  body.sp-theme.has-mobile-nav .mobile-bottom-nav {
    align-items: flex-end;
    padding: 0 6px calc(8px + env(safe-area-inset-bottom, 0px));
    background: var(--sp-surface);
    border-top: 1px solid var(--sp-border);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.35);
  }

  .mobile-betslip-fab {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    margin-top: -22px;
    border: 3px solid var(--sp-surface);
    border-radius: 50%;
    background: linear-gradient(135deg, #ffb81c 0%, #f7941d 100%);
    color: #1a1f2e;
    box-shadow: 0 6px 20px rgba(255, 184, 28, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    font-size: 1.25rem;
  }

  .mobile-nav-badge--fab {
    top: 2px;
    right: 2px;
  }

  .mobile-nav-live-count {
    font-style: normal;
    font-size: 0.5625rem;
    font-weight: 700;
    color: var(--sp-green);
    margin-left: 2px;
  }

  body.sp-theme.has-mobile-nav {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  body.sp-theme .mobile-bottom-nav-item {
    color: var(--sp-ink-muted);
  }

  body.sp-theme .mobile-bottom-nav-item.active {
    color: var(--sp-green);
  }

  body.sp-theme .mobile-bottom-nav-item.active .mobile-nav-icon-wrap i {
    color: var(--sp-green);
  }
}

/* PWA install prompt */
.pwa-install-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  z-index: 1200;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
}

.pwa-install-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.pwa-install-banner__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--sp-surface, #1a1f2e);
  border: 1px solid var(--sp-border, #2d3548);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.pwa-install-banner__inner img {
  border-radius: 10px;
  flex-shrink: 0;
}

.pwa-install-banner__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.75rem;
  color: var(--sp-ink-muted, #8b95a8);
}

.pwa-install-banner__text strong {
  color: var(--sp-ink, #eef1f6);
  font-size: 0.8125rem;
}

.pwa-install-banner__btn {
  flex-shrink: 0;
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #007a32, #009639);
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  cursor: pointer;
  font-family: inherit;
}

.pwa-install-banner__btn[hidden] {
  display: none;
}

.pwa-install-banner__close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--sp-ink-muted, #8b95a8);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.pwa-install-banner__ios {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 150, 57, 0.12);
  border: 1px solid rgba(0, 150, 57, 0.28);
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--sp-ink-soft, #c5cdd9);
}

.pwa-install-banner__ios[hidden] {
  display: none;
}

.pwa-install-banner__ios strong {
  color: var(--sp-ink, #eef1f6);
}

@media (min-width: 769px) {
  .pwa-install-banner {
    left: auto;
    right: 20px;
    bottom: 20px;
    max-width: 380px;
  }
}

/* ========================================================================
   EXECUTIVE MOBILE REFINEMENT (SportPesa-style polish)
   Loaded last so it refines the existing mobile shell without !important
   wars. Scoped to phones; desktop/tablet untouched.
   ======================================================================== */
@media (max-width: 768px) {
  /* Smooth, native-app feel */
  body.sp-theme {
    -webkit-tap-highlight-color: transparent;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
  }

  body.sp-theme .mobile-hub-scroll,
  body.sp-theme .filters,
  body.sp-theme .tabs,
  body.sp-theme .featured-scroll {
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
  }

  /* ---- Header: single compact row (override 540px column stacking) ---- */
  body.sp-theme:not(.game-page) .site-top-chrome header,
  body.sp-theme.game-page .site-top-chrome header {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    padding: 8px 12px;
    min-height: 50px;
    gap: 8px;
  }

  body.sp-theme:not(.page-auth) .user-info {
    flex-direction: row;
    align-items: center;
    width: auto;
    gap: 8px;
    margin-left: auto;
  }

  body.sp-theme header a.logo {
    align-self: center;
  }

  body.sp-theme:not(.page-auth) .balance {
    align-self: center;
  }

  body.sp-theme:not(.page-auth) .mobile-menu-btn {
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  body.sp-theme header a.logo.logo--image .site-logo-img {
    height: 26px;
    max-width: 96px;
  }

  /* Guest auth: compact inline buttons (no bulky full-width stack) */
  body.sp-theme:not(.page-auth) .guest-header-actions {
    width: auto;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    margin-left: auto;
  }

  body.sp-theme:not(.page-auth) .guest-header-actions .btn-login,
  body.sp-theme:not(.page-auth) .guest-header-actions .btn-register {
    width: auto;
    min-height: 34px;
    padding: 6px 12px;
    font-size: 0.72rem;
    font-weight: 800;
    border-radius: 8px;
    white-space: nowrap;
    letter-spacing: 0;
  }

  body.sp-theme:not(.page-auth) .guest-header-actions .btn-login {
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.42) !important;
    color: #fff !important;
  }

  body.sp-theme:not(.page-auth) .guest-header-actions .btn-register {
    background: linear-gradient(135deg, #ffc73a 0%, #f7941d 100%) !important;
    border: none !important;
    color: #1a1f2e !important;
    box-shadow: 0 4px 14px rgba(255, 184, 28, 0.35);
  }

  /* Logged-in: compact balance chip beside deposit (declutter icons) */
  body.sp-theme:not(.game-page) .balance {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 800;
    font-size: 0.68rem;
    padding: 5px 9px;
    border-radius: 999px;
    white-space: nowrap;
  }

  body.sp-theme:not(.game-page) #mobileSearchBtn {
    display: none;
  }

  body.sp-theme:not(.game-page) .btn-deposit-header {
    padding: 6px 12px;
    font-size: 0.72rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(255, 184, 28, 0.28);
  }

  body.sp-theme:not(.page-auth) .mobile-menu-btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  /* ---- Mobile hub: compact tiles, single-line labels ---- */
  body.sp-theme:not(.game-page) .mobile-hub {
    background: linear-gradient(180deg, #161c28 0%, var(--sp-surface) 100%);
    border-bottom: 1px solid var(--sp-border);
  }

  body.sp-theme:not(.game-page) .mobile-hub-scroll {
    gap: 4px;
    padding: 8px 10px 9px;
  }

  body.sp-theme:not(.game-page) .mobile-hub-item {
    scroll-snap-align: start;
    min-width: 58px;
    max-width: 64px;
    gap: 4px;
    padding: 2px 4px;
    transition: transform 0.12s ease;
  }

  body.sp-theme:not(.game-page) .mobile-hub-item:active {
    transform: scale(0.94);
  }

  body.sp-theme:not(.game-page) .mobile-hub-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.25);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
  }

  body.sp-theme:not(.game-page) .mobile-hub-icon svg {
    width: 22px;
    height: 22px;
  }

  body.sp-theme:not(.game-page) .mobile-hub-item.active .mobile-hub-icon {
    box-shadow: inset 0 0 0 2px var(--sp-green), 0 5px 13px rgba(0, 150, 57, 0.35);
  }

  body.sp-theme:not(.game-page) .mobile-hub-label {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  /* ---- Tabs & filters: tighter ---- */
  body.sp-theme:not(.game-page) .tabs .tab-link {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 10px 12px;
  }

  body.sp-theme:not(.game-page) .content-toolbar-tabs .tabs {
    padding: 0 2px;
  }

  body.sp-theme:not(.game-page) .filters {
    gap: 6px;
    padding: 8px 10px;
  }

  body.sp-theme:not(.game-page) .filters button {
    scroll-snap-align: start;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.7rem;
    padding: 6px 12px;
    min-height: 32px;
    transition: transform 0.1s ease;
  }

  body.sp-theme:not(.game-page) .banner-slider {
    margin: 8px 10px 0;
    --banner-height: 96px;
    border-radius: 8px;
  }

  body.sp-theme:not(.game-page) .featured-card {
    min-width: 76px;
    height: 76px;
    border-radius: 10px;
  }

  body.sp-theme:not(.game-page) .featured-scroll {
    gap: 8px;
    padding: 8px 10px;
  }

  /* ---- Match cards: compact, tight ---- */
  body.sp-theme:not(.game-page) .league-group-header {
    background: transparent !important;
    padding: 10px 12px 4px;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--sp-ink-muted);
    line-height: 1.3;
  }

  body.sp-theme:not(.game-page) .match-row.betika-match {
    background: var(--sp-surface);
    margin: 0 8px 6px;
    padding: 8px 10px 10px;
    border: 1px solid var(--sp-border);
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.14);
    gap: 6px;
  }

  body.sp-theme:not(.game-page) .match-row.betika-match .match-left .teams,
  body.sp-theme:not(.game-page) .match-row.betika-match .team-line {
    font-size: 0.78rem;
    gap: 5px;
  }

  body.sp-theme:not(.game-page) .match-row.betika-match .teams--stacked {
    gap: 3px;
  }

  body.sp-theme:not(.game-page) .match-row.betika-match .match-left .league,
  body.sp-theme:not(.game-page) .match-row.betika-match .match-left .match-kickoff {
    font-size: 0.62rem;
  }

  body.sp-theme:not(.game-page) .match-row.betika-match .team-logo-sm {
    width: 16px;
    height: 16px;
  }

  body.sp-theme:not(.game-page) .match-row.betika-match .match-odds {
    gap: 5px;
    margin-top: 2px;
  }

  body.sp-theme:not(.game-page) .match-row.betika-match .match-odds .odds,
  body.sp-theme:not(.game-page) .match-row.betika-match .match-odds a.odds {
    flex-direction: column;
    gap: 1px;
    min-height: 40px;
    padding: 5px 2px;
    border-radius: 8px;
    background: var(--sp-surface-2);
    border: 1px solid var(--sp-border);
    font-size: 0.82rem;
    font-weight: 800;
  }

  body.sp-theme:not(.game-page) .match-row.betika-match .match-odds .odds-label {
    display: block;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--sp-ink-muted);
    margin: 0;
  }

  body.sp-theme:not(.game-page) .match-row.betika-match .match-right a,
  body.sp-theme:not(.game-page) .match-row.betika-match .more-markets {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--sp-gold);
  }

  body.sp-theme:not(.game-page) .match-row.betika-match .match-right {
    margin-top: 2px;
  }

  body.sp-theme:not(.game-page) .match-row.betika-match .match-odds .odds.selected {
    background: linear-gradient(135deg, #ffc73a 0%, #f7941d 100%);
    border-color: transparent;
    color: #1a1f2e;
    box-shadow: 0 2px 8px rgba(255, 184, 28, 0.35);
  }

  body.sp-theme:not(.game-page) .match-row.betika-match .match-odds .odds.selected .odds-label {
    color: rgba(26, 31, 46, 0.65);
  }

  /* ---- Bottom nav: compact ---- */
  body.sp-theme.has-mobile-nav {
    padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px));
  }

  body.sp-theme.has-mobile-nav .mobile-bottom-nav {
    align-items: flex-end;
    padding: 0 4px calc(4px + env(safe-area-inset-bottom, 0px));
    background: rgba(20, 25, 36, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
  }

  body.sp-theme .mobile-bottom-nav-item {
    color: #8b95a8;
    gap: 2px;
    padding: 4px 2px;
    min-height: 46px;
    font-size: 0.58rem;
  }

  body.sp-theme .mobile-bottom-nav-item .mobile-nav-icon-wrap i {
    font-size: 1rem;
  }

  body.sp-theme .mobile-bottom-nav-item.active {
    color: #fff;
  }

  body.sp-theme .mobile-bottom-nav-item.active .mobile-nav-icon-wrap i {
    color: #2fd06a;
  }

  body.sp-theme .mobile-bottom-nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 2px;
    border-radius: 0 0 2px 2px;
    background: linear-gradient(90deg, #009639, #2fd06a);
  }

  body.sp-theme .mobile-betslip-fab {
    width: 50px;
    height: 50px;
    margin-top: -18px;
    border: 2px solid rgba(20, 25, 36, 0.96);
    font-size: 1.1rem;
    box-shadow: 0 6px 16px rgba(255, 184, 28, 0.45);
  }

  body.sp-theme:not(.game-page) .content {
    padding: 0 0 10px;
  }

  body.sp-theme:not(.game-page) .content-toolbar {
    padding: 0 8px;
  }

  /* ---- Betslip drawer: grabber + rounded ---- */
  body.sp-theme .betslip-drawer {
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
  }

  body.sp-theme .betslip-drawer::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
  }

  body.sp-theme:not(.game-page):not(.page-auth) {
    --sp-chrome-h: 50px;
  }

  /* Kill 540px column stacking from sportpesa-theme */
  body.sp-theme:not(.page-auth) header {
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    padding: 8px 12px !important;
  }

  body.sp-theme:not(.page-auth) .guest-header-actions {
    flex-direction: row !important;
    width: auto !important;
    align-items: center !important;
    gap: 6px !important;
  }

  body.sp-theme:not(.page-auth) .guest-header-actions .btn-login,
  body.sp-theme:not(.page-auth) .guest-header-actions .btn-register {
    width: auto !important;
    min-height: 34px !important;
  }

  body.sp-theme:not(.page-auth) .user-info {
    flex-direction: row !important;
    width: auto !important;
    align-items: center !important;
    gap: 6px !important;
  }
}
