/* ==========================================================================
   Livesoccer.ug "Two Zones" Design System (blue)
   - Scores zone: neutral surfaces, blue used only as an accent.
     Red = live minute, green = prediction pick.
   - Play zone (html.zone-play): full blue surfaces, gold for stake/win only.
   Both zones follow html[data-theme] light/dark.
   ========================================================================== */
:root {
  /* Scores · light */
  --primary: #1D4ED8;
  --primary-dark: #1E40AF;
  --primary-light: #3B82F6;
  --primary-soft: rgba(29, 78, 216, 0.10);
  --text-on-primary: #FFFFFF;
  --border-primary: rgba(29, 78, 216, 0.35);
  --shadow-primary: rgba(29, 78, 216, 0.16);
  --green: #15803D;
  --green-soft: #DCFCE7;
  --amber: #D97706;
  --amber-soft: rgba(217, 119, 6, 0.14);
  --red: #DC2626;
  --red-soft: #FEE2E2;
  --bg-body: #F7F8FA;
  --bg-card: #FFFFFF;
  --bg-surface: #F1F4F9;
  --bg-subtle: #EEF2F8;
  --border: #E6E8EE;
  --border-subtle: #EEF0F4;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --shadow-card: none;
  --shadow-pop: 0 4px 14px rgba(29, 78, 216, 0.16);
  /* Zone tokens */
  --live: #DC2626;
  --pick: #15803D;
  --pick-soft: #DCFCE7;
  --zone-bar: #1D4ED8;
  --zone-bar-text: #FFFFFF;
  --play-card-bg: #0B2A6B;
  --play-card-text: #EAF1FF;
  --play-card-muted: #9DB4E6;
  --play-card-chip: #14306A;
  --gold: #D97706;
  --gold-text: #FFFFFF;
}

html[data-theme="dark"] {
  /* Scores · dark */
  --primary: #60A5FA;
  --primary-dark: #3B82F6;
  --primary-light: #93C5FD;
  --primary-soft: rgba(96, 165, 250, 0.14);
  --text-on-primary: #0B1220;
  --border-primary: rgba(96, 165, 250, 0.40);
  --shadow-primary: rgba(96, 165, 250, 0.20);
  --green: #4ADE80;
  --green-soft: #14532D;
  --amber: #F59E0B;
  --amber-soft: rgba(245, 158, 11, 0.18);
  --red: #F87171;
  --red-soft: #7F1D1D;
  --bg-body: #0B0F17;
  --bg-card: #131A26;
  --bg-surface: #1B2433;
  --bg-subtle: #101622;
  --border: #222B3A;
  --border-subtle: #1A2230;
  --text-primary: #E8EDF5;
  --text-secondary: #A3B1C4;
  --text-muted: #8090A6;
  --shadow-card: none;
  --shadow-pop: 0 4px 16px rgba(0, 0, 0, 0.45);
  --live: #F87171;
  --pick: #4ADE80;
  --pick-soft: #14532D;
  --zone-bar: #2563EB;
  --zone-bar-text: #FFFFFF;
  --play-card-bg: #0D2350;
  --play-card-text: #EAF1FF;
  --play-card-muted: #9DB4E6;
  --play-card-chip: #14306A;
  --gold: #F59E0B;
  --gold-text: #3B2300;
}

/* Play zone · light (applied on play.php) */
html.zone-play {
  --primary: #1D4ED8;
  --primary-dark: #1E40AF;
  --primary-soft: rgba(29, 78, 216, 0.12);
  --border-primary: rgba(29, 78, 216, 0.40);
  --bg-body: #EEF4FF;
  --bg-card: #FFFFFF;
  --bg-surface: #E1EBFF;
  --bg-subtle: #E8F0FF;
  --border: #D6E2FF;
  --border-subtle: #E1EBFF;
  --text-primary: #0B2A6B;
  --text-secondary: #3B5185;
  --text-muted: #5B6F9E;
}
/* Play zone · dark */
html.zone-play[data-theme="dark"] {
  --primary: #60A5FA;
  --primary-dark: #3B82F6;
  --primary-soft: rgba(96, 165, 250, 0.16);
  --border-primary: rgba(96, 165, 250, 0.45);
  --text-on-primary: #071633;
  --bg-body: #071633;
  --bg-card: #0D2350;
  --bg-surface: #14306A;
  --bg-subtle: #0A1C42;
  --border: #1C3A78;
  --border-subtle: #16306A;
  --text-primary: #EAF1FF;
  --text-secondary: #B8C9EE;
  --text-muted: #9DB4E6;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html {
  font-size: 15px;
}
html, body, button, input, select, textarea, optgroup {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg-body);
  color: var(--text-primary);
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
  letter-spacing: -0.006em;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 10px;
  color: var(--text-secondary);
  line-height: 1.5;
}
p:last-child { margin-bottom: 0; }

small { font-size: 12px; color: var(--text-muted); }
strong, b { font-weight: 700; color: var(--text-primary); }
em, i { font-style: italic; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea, optgroup {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  line-height: inherit;
}
button { cursor: pointer; }
select {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
}
th {
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.4px;
  color: var(--text-muted);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 8px 6px;
}
td {
  padding: 8px 6px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.wrap {
  max-width: 620px;
  margin: 0 auto;
  background: var(--bg-body);
  min-height: 100vh;
  padding-bottom: 74px; /* clearance for mobile bottom bar */
  box-shadow: 0 0 28px rgba(0,0,0,0.06);
  position: relative;
}

/* 1. Seamless Picture-Accurate Head & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-body);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 0 4px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px 10px;
  gap: 8px;
}

.bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.menu-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Three-Dash Menu Drawer & Backdrop */
.ls-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.ls-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.ls-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 310px;
  max-width: 85vw;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  z-index: 210;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(0,0,0,0.3);
}
.ls-drawer.is-open {
  transform: translateX(0);
}

.ls-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 14px;
  border-bottom: 1px solid var(--border-subtle);
}
.ls-drawer-close-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}
.ls-drawer-close-btn:hover {
  color: var(--text-primary);
  border-color: var(--border);
}

.ls-drawer-wallet {
  margin: 12px 14px;
  padding: 10px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ls-dwallet-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ls-dwallet-ico { font-size: 17px; }
.ls-dwallet-title { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: none; letter-spacing: 0.3px; }
.ls-dwallet-amt { font-size: 13px; font-weight: 700; color: var(--primary); }
.ls-dwallet-cta {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--text-on-primary);
  text-decoration: none;
}

.ls-drawer-nav {
  flex: 1;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ls-dnav-section {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 10px 4px;
}
.ls-dnav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}
.ls-dnav-item:hover {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}
.ls-dnav-item.is-active {
  background: var(--primary-soft);
  color: var(--primary);
  border-color: var(--border-primary);
  font-weight: 700;
}
html[data-theme="dark"] .ls-dnav-item.is-active {
  color: var(--primary-light);
  background: rgba(96, 165, 250, 0.14);
  border-color: rgba(96, 165, 250, 0.32);
}
.ls-dnav-ico {
  font-size: 16px;
  width: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: inherit;
}
.ls-dnav-label { flex: 1; }
.ls-dnav-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 9999px;
  background: #EF4444;
  color: #FFFFFF;
  letter-spacing: 0.3px;
}

.ls-drawer-footer {
  padding: 12px 14px 18px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 8px;
  background: var(--bg-surface);
  margin-top: auto;
}
.ls-drawer-foot-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.ls-drawer-foot-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.logo {
  font-weight: 700;
  font-size: 20px;
  color: var(--text-primary);
  letter-spacing: -0.4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  transition: color 0.15s ease;
}
.logo .logo-accent { color: var(--primary); }
.logo .logo-tld { font-size: 13px; font-weight: 700; opacity: 0.65; }

.live-pulse-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 2px;
}

.bar-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* Picture-accurate EC42 / Live Tag Badge */
.ec-tag {
  font-family: 'JetBrains Mono', monospace, inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.2px;
}

/* Quick Coins / Wallet Pill */
.bp-quick-wallet {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.bp-quick-wallet:hover {
  background: var(--primary);
  color: var(--text-on-primary);
  border-color: var(--primary);
}
.bp-coin-amt { font-size: 12px; font-weight: 700; }

.sync-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.85;
  box-shadow: 0 0 5px var(--green);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.sync-dot.is-syncing { opacity: 1; transform: scale(1.35); background: var(--primary); box-shadow: 0 0 7px var(--primary); }

.icon-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
}
.icon-toggle:hover { border-color: var(--primary); color: var(--text-primary); }
.icon-toggle.active { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }

/* Picture-Accurate Capsule Navigation Pills */
.tabs {
  display: flex;
  gap: 8px;
  padding: 2px 14px 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  align-items: center;
}
.tabs::-webkit-scrollbar { display: none; }

.tab {
  flex: 0 0 auto;
  padding: 7px 18px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  white-space: nowrap;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.25;
}
.tab:hover {
  color: var(--text-primary);
  border-color: var(--primary);
}
.tab.active {
  background: var(--primary) !important;
  color: var(--text-on-primary) !important;
  border-color: var(--primary) !important;
  font-weight: 700;
  box-shadow: 0 2px 8px var(--shadow-primary);
}
.tab-live-dot {
  display: inline-block;
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.4s infinite;
}
.tab.active .tab-live-dot {
  background: var(--text-on-primary);
}
.tab.tab-play {
  color: var(--primary);
  background: var(--bg-card);
  border-color: var(--border);
}
.tab.tab-play.active {
  background: var(--primary) !important;
  color: var(--text-on-primary) !important;
  border-color: var(--primary) !important;
}

/* Modern Collapsible Search Bar */
.searchbar {
  display: none;
  padding: 0 12px 8px;
  background: var(--bg-card);
  animation: sbarSlide 0.18s ease forwards;
}
.searchbar.is-open {
  display: flex;
}
@keyframes sbarSlide {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.searchbar form {
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
  margin: 0;
  padding: 0;
  gap: 6px;
}
.searchbar .search-icon {
  position: absolute;
  left: 11px;
  font-size: 13px;
  color: var(--text-muted);
  pointer-events: none;
}
.searchbar input {
  flex: 1;
  font-size: 13px;
  padding: 7px 12px 7px 30px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: var(--bg-surface);
  font-family: inherit;
  outline: none;
  color: var(--text-primary);
  transition: all 0.15s ease;
}
.searchbar input:focus {
  border-color: var(--primary);
  background: var(--bg-card);
  box-shadow: 0 0 0 2px var(--primary-soft);
}
.search-close-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 5px 9px;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
  height: 31px;
}
.search-close-btn:hover {
  color: var(--text-primary);
  border-color: var(--border);
}

/* ==========================================================================
   2. Flashscore-Style League Groups, Hero Cards & Match Rows
   ========================================================================== */
.bp-league-head, .league {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin: 12px 8px 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: none;
  letter-spacing: 0.4px;
}
.league.muted {
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  margin-top: 6px;
  margin-bottom: 6px;
}

.section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  background: transparent;
}

.dash {
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.5px;
  font-variant-numeric: tabular-nums;
}

.flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  vertical-align: middle;
}

.bp-league-title-link {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  flex: 1;
  text-decoration: none;
  color: inherit;
}
.bp-league-title-link:hover { color: var(--primary); }
.bp-badge-img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 2px;
}
.bp-tbl-chip {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--primary);
  text-transform: none;
  text-decoration: none;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.bp-tbl-chip:hover {
  background: var(--primary);
  color: var(--text-on-primary);
  border-color: var(--primary);
}

/* Picture-Accurate Secondary Match Card */
.bp-match-card.fs-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin: 6px 8px;
  padding: 10px 14px;
  box-shadow: var(--shadow-card);
  transition: background-color 0.14s ease, border-color 0.14s ease, transform 0.12s ease;
}
.bp-match-card.fs-row:hover {
  background: var(--bg-surface);
  border-color: var(--border-primary);
}
.bp-match-card.goal-flash {
  background: var(--green-soft) !important;
  border-color: var(--primary) !important;
}

/* Hero Featured Match Card (1:1 from User Reference Picture) */
.bp-hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  margin: 10px 8px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bp-hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}
.bp-hero-league {
  font-weight: 700;
  color: var(--text-secondary);
}
.bp-hero-status {
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.bp-hero-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 700;
}
.bp-hero-team {
  flex: 1;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bp-hero-home { text-align: left; }
.bp-hero-away { text-align: right; }
.bp-hero-score {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  padding: 0 12px;
  font-variant-numeric: tabular-nums;
  font-family: inherit;
}
.bp-hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--text-on-primary);
  font-weight: 700;
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0.4px;
  text-decoration: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.bp-hero-cta:hover { opacity: 0.92; }
.bp-hero-cta:active { transform: scale(0.99); }

/* Column 1: Star & Time/Status */
.fs-status-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  gap: 2px;
  flex-shrink: 0;
  text-align: center;
}
.bp-fav-btn {
  background: none;
  border: none;
  padding: 0 2px;
  font-size: 13px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s ease;
}
.bp-fav-btn.active { color: var(--amber); }

.status {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.status.s-live {
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.3px;
}
.status.s-ht {
  color: var(--amber);
  font-weight: 700;
}
.status.s-ft {
  color: var(--text-muted);
  font-weight: 700;
}
.status.s-wait {
  color: var(--text-secondary);
  font-weight: 700;
}
.status .st-lbl { font-weight: 700; }
.status .s-time { font-weight: 700; }

/* Column 2: Teams & Scores */
.fs-teams-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bp-team-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.bp-team-info {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  flex: 1;
}
.bp-crest {
  width: 17px;
  height: 17px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 2px;
}
.bp-crest-fallback {
  width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-muted);
}
.bp-team-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bp-team-row:hover .bp-team-name { color: var(--primary); }
.bp-score-num {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  min-width: 16px;
  text-align: right;
}
.bp-score-num:empty {
  display: none;
}
html[data-theme="dark"] .status.s-live ~ .fs-teams-col .bp-score-num {
  color: var(--primary);
}

/* Column 3: Odds & Prediction Action Box */
.fs-action-col {
  flex-shrink: 0;
}
.bp-odds-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--primary-soft);
  border: 1px solid var(--border-primary);
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.15s ease;
  text-align: center;
}
.bp-odds-btn:hover {
  background: var(--primary);
  color: var(--text-on-primary);
  border-color: var(--primary);
}
.bp-odds-btn:hover .bp-odds-lbl,
.bp-odds-btn:hover .bp-odds-val {
  color: var(--text-on-primary);
}
.bp-odds-lbl {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.15;
  text-transform: none;
  letter-spacing: 0.2px;
}
html[data-theme="dark"] .bp-odds-lbl {
  color: var(--primary);
}
.bp-odds-val {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-top: 1px;
}
.bp-odds-btn.pred-banker {
  background: var(--primary-soft);
  border-color: var(--primary);
  box-shadow: 0 1px 4px var(--shadow-primary);
}
.bp-odds-btn.pred-banker .bp-odds-lbl { color: var(--primary-dark); }
html[data-theme="dark"] .bp-odds-btn.pred-banker .bp-odds-lbl { color: var(--primary); }

.bp-score-btn {
  text-decoration: none;
  display: block;
}
.bp-score-live-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  min-width: 58px;
  text-align: center;
}
.bp-score-live-pill:hover { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }

/* Column 4: Quick Chevron */
.fs-details-btn {
  color: var(--text-muted);
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
  padding: 0 2px;
  flex-shrink: 0;
  transition: color 0.15s ease;
}
.fs-details-btn:hover {
  color: var(--primary);
}

/* ==========================================================================
   3. Unified Pro Date Navigator & Multi-Market Filter Carousel
   ========================================================================== */
.bp-date-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-subtle);
}
.bp-date-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.bp-date-strip::-webkit-scrollbar { display: none; }

.bp-day-pill {
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
  transition: all 0.15s ease;
  text-decoration: none;
  line-height: 1.35;
}
.bp-day-pill:hover {
  color: var(--text-primary);
  border-color: var(--border);
}
.bp-day-pill.active {
  background: var(--primary) !important;
  color: var(--text-on-primary) !important;
  border-color: var(--primary) !important;
  font-weight: 700;
  box-shadow: 0 1px 4px var(--shadow-primary);
}

.bp-cal-form { margin: 0; padding: 0; display: inline-flex; }
.bp-cal-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 11px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  line-height: 1.35;
}
.bp-cal-btn:hover { border-color: var(--border); color: var(--text-primary); }
.bp-cal-btn.active {
  background: var(--primary);
  color: var(--text-on-primary);
  border-color: var(--primary);
}
.bp-cal-btn input[type="date"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.bp-stats-shortcut {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: none;
  letter-spacing: 0.3px;
  text-decoration: none;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 9999px;
  background: var(--primary-soft);
  transition: all 0.15s ease;
}
.bp-stats-shortcut:hover {
  background: var(--primary);
  color: var(--text-on-primary);
}

.pill-bar {
  display: flex;
  gap: 6px;
  padding: 6px 12px 8px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.pill-bar::-webkit-scrollbar { display: none; }
.m-pill {
  flex: 0 0 auto;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
  transition: all 0.15s ease;
}
.m-pill:hover { border-color: var(--border); color: var(--text-primary); }
.m-pill.active {
  background: var(--primary);
  color: var(--text-on-primary);
  border-color: var(--primary);
  font-weight: 700;
  box-shadow: 0 1px 4px var(--shadow-primary);
}

/* ==========================================================================
   4. Form Pills, Utilities & Empty State
   ========================================================================== */
.form-wrap { display: inline-flex; gap: 2px; align-items: center; }
.form-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.fp-w { background: #0EA554; }
.fp-d { background: #94A3B8; }
.fp-l { background: #EF4444; }

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  margin-right: 3px;
  animation: pulse 1.4s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }

.empty-state {
  padding: 36px 16px;
  text-align: center;
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}

/* Filters & Date Bar */
form.filter-form {
  background: var(--bg-card);
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
form.filter-form label { display: none; }
form.filter-form input[type="date"] {
  padding: 7px 10px;
  border-radius: 9999px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 13px;
  background: var(--bg-surface);
  color: var(--text-primary);
  flex: 1;
  outline: none;
}
form.filter-form input[type="date"]:focus {
  border-color: var(--primary);
}
form.filter-form button {
  background: var(--primary);
  color: var(--text-on-primary);
  border: none;
  border-radius: 9999px;
  font-weight: 700;
  padding: 7px 16px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
}
form.filter-form button:hover { background: var(--primary-dark); }

/* ==========================================================================
   5. Footer & Mobile Bottom App Bar
   ========================================================================== */
.footer {
  text-align: center;
  padding: 24px 16px 20px;
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  margin-top: 20px;
}
.footer-copy { margin-bottom: 12px; font-weight: 700; color: var(--text-primary); }
.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-links a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  padding: 5px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 12px;
  transition: all 0.15s ease;
}
.footer-links a:hover {
  background: var(--primary);
  color: var(--text-on-primary);
  border-color: var(--primary);
}

/* Fixed Mobile App Bar */
.bp-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 7px 0 9px;
  box-shadow: 0 -3px 12px rgba(0,0,0,0.06);
}
@media (min-width: 621px) {
  .bp-bottom-nav {
    max-width: 620px;
    margin: 0 auto;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-radius: 0;
  }
}
.bp-bnav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 0;
  transition: color 0.15s ease;
}
.bp-bnav-item:hover, .bp-bnav-item.is-active {
  color: var(--primary);
}
.bp-bnav-item.is-active .bp-bnav-lbl {
  font-weight: 700;
}
.bp-bnav-ico {
  font-size: 17px;
  line-height: 1;
  position: relative;
}
.bp-bnav-item.is-highlight .bp-bnav-lbl {
  color: var(--primary);
  font-weight: 700;
}
.bp-live-dot {
  position: absolute;
  top: -2px;
  right: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.4s infinite;
}

/* ==========================================================================
   6. "Two Zones" blue restyle — overrides layered on top of the base system
   ========================================================================== */
html, body, button, input, select, textarea, optgroup {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
body { background: var(--bg-body); }
.wrap { box-shadow: none; }

/* Play bar shown on top of every scores page */
.ls-zone-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 14px;
  background: var(--zone-bar);
  color: var(--zone-bar-text);
  font-size: 12px;
  text-decoration: none;
}
.ls-zone-bar b { color: inherit; font-weight: 700; }
.ls-zone-bar-cta { font-weight: 700; white-space: nowrap; }
.ls-zone-bar:hover .ls-zone-bar-cta { text-decoration: underline; }
@media (max-width: 420px) { .ls-zone-bar-extra { display: none; } }

/* Header & Top Navigation */
.header {
  background: var(--bg-card);
  background: color-mix(in srgb, var(--bg-card) 92%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
html[data-theme="dark"] .header {
  background: rgba(19, 26, 38, 0.92);
}
.logo .logo-accent { color: var(--primary); }
.ec-tag { display: none; }
.ls-topnav { display: none; }
@media (min-width: 768px) {
  .ls-topnav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    margin-left: 18px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .ls-topnav::-webkit-scrollbar {
    display: none;
  }
}
.ls-topnav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 9px;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.ls-topnav a:hover {
  color: var(--text-primary);
  background: var(--bg-surface);
  border-color: var(--border-subtle);
}
.ls-topnav a.is-active {
  color: var(--primary);
  background: var(--primary-soft);
  border-color: var(--border-primary);
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(29, 78, 216, 0.08);
}
html[data-theme="dark"] .ls-topnav a.is-active {
  color: var(--primary-light);
  background: rgba(96, 165, 250, 0.14);
  border-color: rgba(96, 165, 250, 0.32);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}
.tab-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #EF4444;
  position: relative;
  flex-shrink: 0;
  animation: navLivePing 1.8s infinite;
}
@keyframes navLivePing {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 5px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
.ls-play-btn {
  display: none;
  align-items: center;
  padding: 7px 16px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 50%, #3B82F6 100%);
  color: #FFFFFF !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(29, 78, 216, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 640px) {
  .ls-play-btn { display: inline-flex; }
}
.ls-play-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.35);
  background: linear-gradient(135deg, #1E40AF 0%, #1D4ED8 50%, #2563EB 100%);
}
.ls-play-btn.is-active {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #1A1302 !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}
.tab.active { color: var(--primary); }
.icon-toggle:hover, .menu-btn:hover { border-color: var(--primary); color: var(--primary); }

/* League groups read as one card: head + its rows */
.bp-league-head, .league {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 10px 10px 0 0;
  margin: 12px 8px 0;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-primary);
}
.bp-league-head .bp-lg-txt { color: var(--text-primary); }
.bp-tbl-chip {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
  color: var(--primary);
}
.bp-tbl-chip::after { content: ' \203A'; }
.bp-tbl-chip:hover { background: transparent; color: var(--primary-dark); text-decoration: underline; }

.bp-match-card.fs-row {
  margin: 0 8px;
  border-radius: 0;
  border: 1px solid var(--border);
  border-top: none;
  border-bottom-color: var(--border-subtle);
  box-shadow: none;
  padding: 9px 12px;
}
.bp-match-card.fs-row:hover { background: var(--bg-surface); }
.bp-match-card.fs-row:last-child,
.bp-match-card.fs-row:has(+ :not(.bp-match-card)) {
  border-bottom-color: var(--border);
  border-radius: 0 0 10px 10px;
  margin-bottom: 4px;
}
/* A match row with no league head above it still gets a closed card */
.bp-match-card.fs-row:first-child,
:not(.bp-match-card):not(.bp-league-head):not(.league) + .bp-match-card.fs-row {
  border-top: 1px solid var(--border);
  border-radius: 10px 10px 0 0;
  margin-top: 8px;
}
:not(.bp-match-card):not(.bp-league-head):not(.league) + .bp-match-card.fs-row:has(+ :not(.bp-match-card)) {
  border-radius: 10px;
}
.bp-match-card.goal-flash { background: var(--pick-soft) !important; border-color: var(--pick) !important; }

/* Status colours: red is only for live, nothing else */
.status.s-live { color: var(--live); }
.status.s-ht { color: var(--text-secondary); }
html[data-theme="dark"] .status.s-live ~ .fs-teams-col .bp-score-num { color: var(--text-primary); }

/* Prediction pick chip: green is only for picks */
.bp-odds-btn,
.bp-odds-btn.pred-banker {
  background: var(--pick-soft);
  border: 1px solid transparent;
  box-shadow: none;
  min-width: 62px;
}
.bp-odds-lbl,
html[data-theme="dark"] .bp-odds-lbl,
.bp-odds-btn.pred-banker .bp-odds-lbl,
html[data-theme="dark"] .bp-odds-btn.pred-banker .bp-odds-lbl { color: var(--pick); text-transform: none; }
.bp-odds-val { color: var(--pick); opacity: 0.85; }
.bp-odds-btn.pred-banker { border-color: var(--pick); }
.bp-odds-btn:hover { background: var(--pick); border-color: var(--pick); }
.bp-odds-btn:hover .bp-odds-lbl, .bp-odds-btn:hover .bp-odds-val { color: var(--bg-card); opacity: 1; }
.bp-score-live-pill { background: var(--bg-surface); border-color: transparent; }

/* Date and market pills */
.bp-day-pill.active, .m-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-on-primary);
}
.m-pill { background: transparent; border: 1px solid var(--border); }

/* Bottom tab bar with raised Play button */
.bp-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-card);
  background: color-mix(in srgb, var(--bg-card) 94%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 6px 8px max(8px, env(safe-area-inset-bottom));
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
@media (min-width: 621px) {
  .bp-bottom-nav {
    max-width: 620px;
    margin: 0 auto;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-radius: 16px 16px 0 0;
  }
}
.bp-bnav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 0;
  transition: all 0.15s ease;
  position: relative;
}
.bp-bnav-item:hover {
  color: var(--text-primary);
}
.bp-bnav-item.is-active {
  color: var(--primary);
}
.bp-bnav-item.is-active .bp-bnav-ico {
  color: var(--primary);
  transform: translateY(-1px);
}
.bp-bnav-item.is-active .bp-bnav-lbl {
  font-weight: 700;
  color: var(--primary);
}
html[data-theme="dark"] .bp-bnav-item.is-active,
html[data-theme="dark"] .bp-bnav-item.is-active .bp-bnav-ico,
html[data-theme="dark"] .bp-bnav-item.is-active .bp-bnav-lbl {
  color: var(--primary-light);
}
.bp-bnav-ico {
  font-size: 18px;
  line-height: 1;
  position: relative;
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), color 0.15s ease;
}
.bp-bnav-lbl {
  letter-spacing: -0.01em;
  transition: color 0.15s ease;
}
.bp-bnav-play {
  overflow: visible;
}
.bp-bnav-play .bp-bnav-lbl {
  color: var(--primary);
  font-weight: 700;
}
html[data-theme="dark"] .bp-bnav-play .bp-bnav-lbl {
  color: var(--primary-light);
}
.bp-bnav-play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-top: -22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 50%, #3B82F6 100%);
  color: #FFFFFF !important;
  border: 3.5px solid var(--bg-card);
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.38);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.bp-bnav-play:active .bp-bnav-play-btn,
.bp-bnav-play:hover .bp-bnav-play-btn {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.48);
}
.bp-bnav-play.is-active .bp-bnav-play-btn {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #1A1302 !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45);
}

/* Rails are desktop-only */
.ls-rail { display: none; }
.ls-rail-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0.5px;
  padding: 14px 10px 6px;
}
.ls-rail-title:first-child { padding-top: 4px; }
.ls-rail-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.ls-rail-link span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ls-rail-link img { width: 16px; height: 16px; object-fit: contain; flex-shrink: 0; }
.ls-rail-link:hover { background: var(--bg-surface); color: var(--text-primary); }
.ls-rail-link.is-active { background: var(--primary-soft); color: var(--primary); font-weight: 700; }

.ls-play-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border-radius: 12px;
  background: var(--play-card-bg);
  color: var(--play-card-text);
  text-decoration: none;
  margin-bottom: 12px;
}
.ls-play-card-kicker { font-size: 12px; color: var(--play-card-muted); font-weight: 700; }
.ls-play-card-title { font-size: 17px; font-weight: 700; color: var(--play-card-text); }
.ls-play-card-sub { font-size: 12px; color: var(--play-card-muted); margin-bottom: 6px; }
.ls-play-card-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ls-chip-gold, .ls-chip-blue { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 9999px; }
.ls-chip-gold { background: var(--gold); color: var(--gold-text); }
.ls-chip-blue { background: var(--play-card-chip); color: var(--play-card-text); }
.ls-play-card:hover .ls-chip-gold { filter: brightness(1.08); }

/* Match-page Play bridge card */
.mc-play-bridge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 8px;
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--play-card-bg);
  color: var(--play-card-text);
  text-decoration: none;
}
.mc-play-bridge-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mc-play-bridge-txt b { color: var(--play-card-text); font-size: 13px; font-weight: 700; }
.mc-play-bridge-txt span { color: var(--play-card-muted); font-size: 12px; }
.mc-play-bridge-cta {
  flex-shrink: 0;
  padding: 7px 18px;
  border-radius: 9999px;
  background: var(--gold);
  color: var(--gold-text);
  font-size: 13px;
  font-weight: 700;
}
.mc-play-bridge:hover .mc-play-bridge-cta { filter: brightness(1.08); }
@media (min-width: 1024px) { .mc-play-bridge { margin-left: 0; margin-right: 0; } }

.ls-rail-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text-primary);
}
.ls-rail-card-head, .ls-rail-card-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
}
.ls-rail-card-head a, .ls-rail-card-link span:last-child { color: var(--primary); font-weight: 700; text-decoration: none; }
.ls-rail-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-top: 1px solid var(--border-subtle);
  text-decoration: none;
  color: var(--text-primary);
  font-size: 12px;
}
.ls-rail-card-row:hover { background: var(--bg-surface); }
.ls-rail-card-teams { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.ls-rail-card-teams small { display: block; color: var(--text-muted); font-weight: 500; }
.ls-pick-chip {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--pick-soft);
  color: var(--pick);
}
.ls-rail-card-empty { padding: 10px 12px; border-top: 1px solid var(--border-subtle); font-size: 12px; color: var(--text-muted); }

/* Footer */
.footer { background: var(--bg-card); }
.footer-links a { background: transparent; }

/* Desktop: three columns (rails + content), top nav replaces tabs and bottom bar */
@media (min-width: 1024px) {
  .wrap { max-width: 1240px; padding-bottom: 0; background: transparent; }
  .header { position: sticky; top: 0; }
  .bar { padding: 10px 24px; }
  .tabs { display: none; }
  .ls-topnav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    margin-left: 20px;
  }
  .ls-play-btn { display: inline-flex; }
  .bp-quick-wallet { display: none; }
  .bp-bottom-nav { display: none !important; }

  .ls-shell {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr) 280px;
    gap: 20px;
    padding: 16px 20px 0;
    align-items: start;
  }
  .ls-main { min-width: 0; }
  .ls-rail { display: block; position: sticky; top: 72px; max-height: calc(100vh - 88px); overflow-y: auto; }
  .ls-rail-left { padding-right: 4px; }
  .bp-league-head, .league { margin-left: 0; margin-right: 0; }
  .bp-match-card.fs-row { margin-left: 0; margin-right: 0; }
  .bp-hero-card { margin-left: 0; margin-right: 0; }
  .footer { margin-top: 28px; border-radius: 0; }

  /* Play zone: no rails, wider centred content */
  .wrap-play .ls-shell { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .ls-shell { grid-template-columns: 190px minmax(0, 1fr) 250px; gap: 14px; }
}

/* Play zone header picks up the blue zone surfaces */
html.zone-play .header { background: var(--bg-card); }
html.zone-play .bp-bottom-nav { background: var(--bg-card); }

/* ==========================================================================
   7. Pro type and decluttering
   Type scale: 12 / 13 / 15 / 17 / 20 / 24px · weights 400 / 500 / 600 / 700
   ========================================================================== */
:root { --fs-xs: 12px; --fs-sm: 13px; --fs-md: 15px; --fs-lg: 17px; --fs-xl: 20px; --fs-2xl: 24px; }
body { font-variant-numeric: tabular-nums; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; letter-spacing: -0.015em; }
strong, b { font-weight: 600; }
th { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0; color: var(--text-secondary); }
td { font-size: var(--fs-sm); }
.ls-hide { display: none !important; }
@media (max-width: 1023px) { .ls-desktop-only { display: none !important; } }

/* Header: logo, search, menu */
.bar { padding: 10px 14px; }
.logo { font-size: var(--fs-lg); font-weight: 700; letter-spacing: -0.02em; }
.logo .logo-tld { font-size: var(--fs-sm); font-weight: 500; opacity: 0.55; }
.menu-btn, .icon-toggle {
  width: 36px; height: 36px;
  border: none; background: transparent;
  color: var(--text-primary); border-radius: 8px;
}
.menu-btn:hover, .icon-toggle:hover { background: var(--bg-surface); color: var(--text-primary); }
.icon-toggle.active { background: var(--primary-soft); color: var(--primary); }
.icon-toggle svg { width: 18px; height: 18px; }
.ls-zone-bar { font-size: var(--fs-sm); padding: 8px 14px; }
.ls-zone-bar b { font-weight: 600; }
.ls-zone-bar-cta { font-weight: 600; }

/* Secondary pages keep one Live / Today / Upcoming row */
.tabs { padding: 0 14px 10px; gap: 6px; }
.tab {
  font-size: var(--fs-md); font-weight: 500;
  padding: 7px 14px; border-radius: 8px; border: none;
  background: transparent; color: var(--text-secondary);
}
.tab:hover { background: var(--bg-surface); color: var(--text-primary); }
.tab.active { background: var(--text-primary); color: var(--bg-card); }

/* Home: single control row (Live · Today · Date selector · Filter) */
.ls-controls {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.ls-ctl {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 8px;
  font-size: var(--fs-md); font-weight: 500;
  color: var(--text-secondary); text-decoration: none; white-space: nowrap;
  background: transparent; border: 1px solid transparent; cursor: pointer;
}
.ls-ctl:hover { background: var(--bg-surface); color: var(--text-primary); }
.ls-ctl.is-active { background: var(--text-primary); color: var(--bg-card); }
.ls-ctl-live { color: var(--live); }
.ls-ctl-live .tab-live-dot { background: var(--live); }
.ls-filter { margin-left: auto; position: relative; }
.ls-filter > summary { list-style: none; }
.ls-filter > summary::-webkit-details-marker { display: none; }
.ls-filter-btn { border-color: var(--border); color: var(--text-primary); font-size: var(--fs-sm); }
.ls-filter-btn.has-value { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.ls-filter[open] .ls-filter-btn { background: var(--bg-surface); }
.ls-filter-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  max-height: 80vh; overflow-y: auto;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-radius: 16px 16px 0 0;
  padding: 8px 16px 24px;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.25);
}
.ls-filter[open]::before {
  content: ''; position: fixed; inset: 0; z-index: 299; background: rgba(0, 0, 0, 0.4);
}
.ls-filter-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0 4px; font-size: var(--fs-lg); font-weight: 700; color: var(--text-primary);
}
.ls-filter-done {
  border: none; background: transparent; color: var(--primary);
  font-size: var(--fs-md); font-weight: 600; padding: 6px 4px;
}
.ls-filter-label { font-size: var(--fs-sm); font-weight: 600; color: var(--text-secondary); margin: 14px 0 8px; }
.ls-filter-options { display: flex; flex-wrap: wrap; gap: 8px; }
.ls-opt {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--bg-card);
  font-size: var(--fs-md); font-weight: 500; color: var(--text-primary);
  text-decoration: none; cursor: pointer;
}
.ls-opt:hover { border-color: var(--border-primary); }
.ls-opt.is-active { background: var(--primary); border-color: var(--primary); color: var(--text-on-primary); }
.ls-opt-date { display: contents; }
.ls-opt-date input[type="date"] {
  border: none; background: transparent; color: inherit; font: inherit; padding: 0; max-width: 140px;
}
@media (min-width: 1024px) {
  .ls-controls { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 4px; }
  .ls-filter-sheet {
    position: absolute; left: auto; right: 0; bottom: auto; top: calc(100% + 8px);
    width: 380px; max-height: none; border: 1px solid var(--border); border-radius: 12px;
    box-shadow: var(--shadow-pop);
  }
  .ls-filter[open]::before { background: transparent; }
}

/* League card head */
.bp-league-head, .league { font-size: var(--fs-sm); font-weight: 600; padding: 10px 14px; }
.bp-league-head .flag { display: none; }
.bp-tbl-chip { font-size: var(--fs-sm); font-weight: 500; }
.section-label { font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0; color: var(--text-secondary); }

/* Match row: time | teams | pick. Whole row is the link. */
.bp-match-card.fs-row { position: relative; padding: 8px 14px; gap: 12px; }
.fs-row-link { position: absolute; inset: 0; z-index: 1; }
.fs-row-link:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.bp-team-name, .bp-odds-btn, .bp-score-btn { position: relative; z-index: 2; }
.bp-fav-btn, .fs-details-btn { display: none !important; }
.bp-crest-fallback { visibility: hidden; width: 18px; height: 18px; } /* keeps names aligned when a club has no crest */
.fs-status-col { min-width: 44px; align-items: flex-start; }
.status, .status .s-time, .status .st-lbl { font-size: var(--fs-sm); font-weight: 500; }
.status.s-live, .status.s-live .s-time { font-weight: 600; }
.fs-teams-col { gap: 2px; }
.bp-team-row { line-height: 1.35; }
.bp-team-name { font-size: var(--fs-md); font-weight: 500; line-height: 1.35; }
.bp-team-row:hover .bp-team-name { color: var(--text-primary); }
.bp-team-name:hover { color: var(--primary) !important; text-decoration: underline; }
.bp-crest { width: 18px; height: 18px; }
.bp-score-num { font-size: var(--fs-lg); font-weight: 600; min-width: 18px; }

/* Pick chip on one line: "1X · 74%" */
.bp-odds-btn, .bp-odds-btn.pred-banker {
  flex-direction: row; gap: 4px; padding: 5px 9px; border-radius: 6px; min-width: 0; white-space: nowrap;
}
.bp-odds-lbl { font-size: var(--fs-xs); font-weight: 600; }
.bp-odds-val { font-size: var(--fs-xs); font-weight: 500; margin-top: 0; }
.bp-odds-val::before { content: '\00B7\00a0'; }
.bp-score-live-pill { font-size: var(--fs-md); font-weight: 600; padding: 5px 10px; }

/* Drawer */
.ls-drawer-wallet { text-decoration: none; color: inherit; }
.ls-dwallet-ico { display: inline-flex; color: var(--primary); }
.ls-dwallet-title { font-size: var(--fs-md); font-weight: 600; color: var(--text-primary); }
.ls-dwallet-amt { font-size: var(--fs-sm); font-weight: 400; color: var(--text-secondary); }
.ls-dnav-section { font-size: var(--fs-xs); font-weight: 600; color: var(--text-muted); letter-spacing: 0; }
.ls-dnav-item { font-size: var(--fs-md); font-weight: 500; }
.ls-dnav-ico { display: inline-flex; color: var(--text-secondary); position: relative; }
.ls-dnav-item.is-active .ls-dnav-ico { color: var(--primary); }
.ls-drawer-foot-btn { font-size: var(--fs-sm); font-weight: 500; }
.ls-drawer-foot-ico { display: inline-flex; }

/* Rails, footer and bottom bar */
.ls-rail-title { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0; }
.ls-rail-link { font-size: var(--fs-sm); font-weight: 500; }
.ls-rail-card-head, .ls-rail-card-link { font-size: var(--fs-sm); font-weight: 600; }
.ls-rail-card-row { font-size: var(--fs-sm); }
.ls-rail-card-teams { font-weight: 500; }
.ls-pick-chip { font-size: var(--fs-xs); font-weight: 600; }
.ls-play-card-title { font-size: var(--fs-lg); font-weight: 700; }
.ls-play-card-kicker, .ls-play-card-sub { font-size: var(--fs-sm); font-weight: 400; }
.ls-chip-gold, .ls-chip-blue { font-size: var(--fs-xs); font-weight: 600; }
.ls-topnav a { font-size: var(--fs-md); font-weight: 500; }
.ls-play-btn { font-size: var(--fs-sm); font-weight: 600; padding: 8px 16px; }
.footer { font-size: var(--fs-sm); }
.footer-copy { font-weight: 500; }
.footer-links a { font-weight: 500; font-size: var(--fs-sm); border: none; color: var(--text-secondary); padding: 4px 8px; }
.footer-links a:hover { background: transparent; color: var(--primary); }
.bp-bnav-item { font-size: var(--fs-xs); font-weight: 500; }
.bp-bnav-item.is-active .bp-bnav-lbl { font-weight: 600; }
.bp-bnav-play .bp-bnav-lbl { font-weight: 600; }
.bp-bnav-ico svg { width: 20px; height: 20px; }
.mc-play-bridge-txt b { font-size: var(--fs-md); font-weight: 600; }
.mc-play-bridge-txt span { font-size: var(--fs-sm); }
.mc-play-bridge-cta { font-size: var(--fs-sm); font-weight: 600; }

/* Phone navigation: one header row + at most one page row + the bottom tab bar.
   Play already has the raised button in the bottom bar, so the Play strip is desktop-only. */
@media (max-width: 1023px) {
  .ls-zone-bar { display: none; }
  .header { padding: 0; }
  .bar { padding: 8px 10px 8px 6px; }
}
/* Day selector: same segmented track as the Play page's Coins/UGX and game switchers */
.ls-controls { gap: 8px; }
.ls-seg {
  display: flex; align-items: stretch; gap: 2px;
  height: 38px; padding: 3px; flex-shrink: 0;
  background: var(--bg-surface); border: 1px solid var(--border); border-radius: 10px;
}
.ls-filter { min-width: 0; }
.ls-filter-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 420px) {
  .ls-filter-btn { max-width: 128px; }
  .ls-seg .ls-ctl { padding: 0 10px; }
}
/* Small phones: Filter / Date become icon buttons (the blue state still shows an active filter) */
@media (max-width: 360px) {
  .ls-filter-btn { max-width: none; width: 38px; padding: 0; justify-content: center; }
  .ls-filter-btn span { display: none; }
  .ls-seg .ls-ctl { padding: 0 9px; }
}
.ls-seg .ls-ctl {
  padding: 0 12px; border: none; border-radius: 8px;
  font-size: var(--fs-sm); font-weight: 500;
  background: transparent; color: var(--text-secondary);
}
.ls-seg .ls-ctl:hover { background: transparent; color: var(--text-primary); }
.ls-seg .ls-ctl.is-active {
  background: var(--primary); color: var(--text-on-primary); font-weight: 600;
  box-shadow: 0 1px 2px rgba(29, 78, 216, 0.25);
}
.ls-seg .ls-ctl.is-active:hover { color: var(--text-on-primary); }
.ls-seg .ls-ctl-live { color: var(--live); font-weight: 600; }
.ls-seg .ls-ctl-live:hover { color: var(--live); }
/* Filter and Date sit outside the track as outlined buttons, like the Play page icon buttons */
.ls-filter-btn {
  height: 38px; padding: 0 12px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg-card);
  font-size: var(--fs-sm); font-weight: 500; color: var(--text-primary);
}
.ls-filter-btn:hover { background: var(--bg-surface); }
.ls-filter-btn.has-value { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.ls-ctl-date { margin-left: auto; }
.ls-ctl-date .ls-ctl { position: relative; }
.ls-ctl-date input[type="date"] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer; border: 0; padding: 0;
}
@media (max-width: 1023px) {
  /* Narrow phones can swipe the row; the Filter sheet is position:fixed there, so it is not clipped */
  .ls-controls { overflow-x: auto; scrollbar-width: none; }
  .ls-controls::-webkit-scrollbar { display: none; }
}

/* Filter sheet: grouped and tidy */
.ls-filter-sheet { padding: 6px 16px 20px; }
.ls-filter-head { position: sticky; top: -6px; z-index: 1; background: var(--bg-card); padding: 10px 0 8px; border-bottom: 1px solid var(--border-subtle); }
.ls-filter-head-actions { display: inline-flex; align-items: center; gap: 4px; }
.ls-filter-reset { font-size: var(--fs-md); font-weight: 500; color: var(--text-secondary); text-decoration: none; padding: 6px 8px; }
.ls-filter-reset:hover { color: var(--text-primary); }
.ls-filter-group { padding: 12px 0 2px; }
.ls-filter-group + .ls-filter-group { border-top: 1px solid var(--border-subtle); }
.ls-filter-label { margin: 0 0 8px; font-size: var(--fs-xs); font-weight: 600; color: var(--text-muted); }
.ls-filter-days {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 3px;
  background: var(--bg-surface); border: 1px solid var(--border); border-radius: 10px;
}
.ls-day {
  display: flex; align-items: center; justify-content: center; height: 34px; border-radius: 8px;
  font-size: var(--fs-sm); font-weight: 500; color: var(--text-secondary); text-decoration: none;
}
.ls-day:hover { color: var(--text-primary); }
.ls-day.is-active { background: var(--primary); color: var(--text-on-primary); font-weight: 600; }
.ls-filter-date { margin-top: 8px; }
.ls-filter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ls-opt-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; min-height: 44px; padding: 0 12px; border-radius: 10px;
  font-size: var(--fs-sm); font-weight: 500;
}
.ls-opt-row.is-active,
.ls-opt.ls-opt-row.is-active {
  background: var(--primary-soft); border-color: var(--primary); color: var(--primary); font-weight: 600;
}
.ls-opt-check { flex-shrink: 0; }
.ls-filter-date .ls-opt-row input[type="date"] { max-width: 150px; text-align: right; }
@media (min-width: 1024px) { .ls-filter-sheet { width: 420px; max-height: 70vh; overflow-y: auto; } }

/* ==========================================================================
   Match rows v2: time | teams + scores | pick
   ========================================================================== */
.bp-match-card.fs-row { gap: 0; padding: 10px 14px 10px 0; border-bottom-color: transparent; }
.bp-match-card.fs-row::after {
  content: ''; position: absolute; left: 62px; right: 0; bottom: 0; height: 1px;
  background: var(--border-subtle); pointer-events: none;
}
.bp-match-card.fs-row:last-child::after,
.bp-match-card.fs-row:has(+ :not(.bp-match-card))::after { display: none; }
.bp-match-card.fs-row:last-child,
.bp-match-card.fs-row:has(+ :not(.bp-match-card)) { border-bottom-color: var(--border); }

/* Time / status column */
.fs-status-col { width: 62px; min-width: 62px; padding-left: 14px; padding-right: 8px; align-items: flex-start; justify-content: center; }
.status { justify-content: flex-start; gap: 5px; color: var(--text-secondary); }
.status.s-wait .st-lbl, .status.s-live .st-lbl { display: none; }   /* "KO" / "Live" labels added by live.js */
.status.s-ht .s-time, .status.s-ft .s-time { display: none; }      /* kick-off time after HT/FT */
.status.s-live { color: var(--live); font-weight: 600; }
.status.s-live .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--live); flex-shrink: 0;
  animation: pulse 1.4s infinite;
}
.status.s-ht { color: var(--amber); font-weight: 600; }
.status.s-ft { color: var(--text-muted); font-weight: 500; }

/* In-play rows: thin accent on the left edge */
.bp-match-card[data-status="live"], .bp-match-card[data-status="lv"] { box-shadow: inset 3px 0 0 var(--live); }
.bp-match-card[data-status="ht"] { box-shadow: inset 3px 0 0 var(--amber); }

/* Teams and scores */
.bp-team-info { gap: 8px; }
.bp-score-num { font-size: var(--fs-md); font-weight: 700; min-width: 18px; }
.bp-match-card[data-status="live"] .bp-score-num,
.bp-match-card[data-status="lv"] .bp-score-num { color: var(--live); }
.bp-team-row.is-win .bp-team-name { font-weight: 600; }
.bp-team-row.is-lose .bp-team-name,
.bp-team-row.is-lose .bp-score-num { color: var(--text-secondary); font-weight: 400; }

/* Right column: pick chip only (scores already sit beside each team) */
.fs-action-col { margin-left: 12px; }
.fs-action-col .bp-score-btn { display: none; }

/* ==========================================================================
   Footer: brand + three link columns + bottom line
   ========================================================================== */
.ls-footer { margin-top: 24px; background: var(--bg-card); border-top: 1px solid var(--border); }
.ls-footer-inner { display: grid; gap: 20px; padding: 24px 16px 16px; }
.ls-footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ls-footer-brand p { margin: 0; font-size: var(--fs-sm); color: var(--text-secondary); max-width: 320px; }
.ls-footer-app {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 4px;
  height: 36px; padding: 0 12px; border-radius: 10px;
  border: 1px solid var(--border); color: var(--text-primary); text-decoration: none;
  font-size: var(--fs-sm); font-weight: 500;
}
.ls-footer-app:hover { background: var(--bg-surface); }
.ls-footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ls-footer-cols h4 { margin: 0 0 8px; font-size: var(--fs-xs); font-weight: 600; color: var(--text-muted); letter-spacing: 0; }
.ls-footer-cols a {
  display: block; padding: 4px 0; font-size: var(--fs-sm); color: var(--text-secondary); text-decoration: none;
}
.ls-footer-cols a:hover { color: var(--primary); }
.ls-footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px;
  padding: 12px 16px 16px; border-top: 1px solid var(--border-subtle);
  font-size: var(--fs-xs); color: var(--text-muted);
}
@media (min-width: 1024px) {
  .ls-footer { margin-top: 32px; }
  .ls-footer-inner { grid-template-columns: 1.2fr 2fr; gap: 32px; padding: 32px 20px 20px; }
  .ls-footer-bottom { padding: 14px 20px 20px; }
}

/* ==========================================================================
   Day nav (Home / Today / Live / Date): Modern segmented sports controller
   ========================================================================== */
.ls-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  margin: 8px 0 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  min-height: 46px;
  position: relative;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.ls-controls .ls-seg {
  display: flex;
  align-items: center;
  gap: 3px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 3px;
  flex-shrink: 0;
}
.ls-controls .ls-seg .ls-ctl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 7px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
  line-height: 1.2;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.ls-controls .ls-seg .ls-ctl:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}
.ls-controls .ls-seg .ls-ctl.is-active,
.ls-controls .ls-seg .ls-ctl.is-active:hover {
  background: var(--bg-card) !important;
  color: var(--primary) !important;
  font-weight: 700;
  border-color: var(--border-subtle) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 1px rgba(0, 0, 0, 0.04) !important;
}
html[data-theme="dark"] .ls-controls .ls-seg .ls-ctl.is-active,
html[data-theme="dark"] .ls-controls .ls-seg .ls-ctl.is-active:hover {
  background: var(--bg-card) !important;
  color: var(--primary-light) !important;
  border-color: var(--border) !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35) !important;
}
.ls-controls .ls-seg .ls-ctl-live {
  color: #DC2626;
  font-weight: 600;
}
.ls-controls .ls-seg .ls-ctl-live:hover {
  background: var(--bg-card);
  color: #EF4444;
}
.ls-controls .ls-seg .ls-ctl-live .tab-live-dot {
  background: #EF4444;
}
.ls-controls .ls-seg .ls-ctl-live.is-active,
.ls-controls .ls-seg .ls-ctl-live.is-active:hover {
  color: #DC2626 !important;
  background: var(--bg-card) !important;
}
.ls-nav-date-form {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0;
}
.ls-controls .ls-seg .ls-ctl-date {
  position: relative;
  cursor: pointer;
}
.ls-controls .ls-seg .ls-ctl-date > :not(input) {
  pointer-events: none;
}
.ls-controls .ls-seg .ls-ctl-date input[type="date"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  border: 0;
  padding: 0;
  -webkit-appearance: none;
  z-index: 2;
}
/* Date stepper:  ‹  Today · 11 Nov  ›  (arrows step a day; the label opens the date picker) */
.ls-controls .ls-stepper { gap: 2px; }
.ls-controls .ls-stepper .ls-step {
  width: 32px; padding: 6px 0; color: var(--text-secondary);
}
.ls-controls .ls-stepper .ls-step:hover { color: var(--primary); }
.ls-controls .ls-stepper .ls-step-label { min-width: 118px; justify-content: center; }
.ls-controls .ls-today-btn { margin-left: auto; text-decoration: none; }
.ls-controls .ls-filter {
  margin-left: auto;
  align-self: center;
}
.ls-controls .ls-filter-btn {
  height: 34px;
  padding: 0 13px;
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: all 0.15s ease;
}
.ls-controls .ls-filter-btn:hover,
.ls-controls .ls-filter[open] .ls-filter-btn {
  background: var(--bg-card);
  border-color: var(--border-primary);
  color: var(--text-primary);
}
.ls-controls .ls-filter-btn.has-value {
  background: var(--primary-soft);
  border-color: var(--border-primary);
  color: var(--primary);
  font-weight: 700;
}
html[data-theme="dark"] .ls-controls .ls-filter-btn.has-value {
  color: var(--primary-light);
  border-color: rgba(96, 165, 250, 0.4);
}
@media (min-width: 1024px) {
  .ls-controls {
    margin-bottom: 12px;
  }
}
@media (max-width: 480px) {
  .ls-controls {
    overflow-x: auto;
    scrollbar-width: none;
    padding: 4px 6px;
    gap: 6px;
  }
  .ls-controls::-webkit-scrollbar {
    display: none;
  }
  .ls-controls .ls-seg .ls-ctl {
    padding: 5px 10px;
    font-size: 12px;
  }
  .ls-controls .ls-filter-btn {
    padding: 0 10px;
    font-size: 12px;
  }
}
@media (max-width: 360px) {
  .ls-controls .ls-filter-btn span {
    display: none;
  }
  .ls-controls .ls-filter-btn {
    padding: 0 8px;
  }
}

/* ==========================================================================
   Match rows v3: scoreboard  Home [crest] | score + status | [crest] Away
                              pick chip centred underneath, same width everywhere
   ========================================================================== */
.bp-match-card.sb-row { display: block; padding: 12px 12px; }
.bp-match-card.sb-row::after { left: 12px; right: 12px; }
.sb-main {
  display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
  align-items: center; gap: 6px;
}
.sb-team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sb-home { justify-content: flex-end; text-align: right; }
.sb-away { justify-content: flex-start; text-align: left; }
.sb-team .bp-team-name {
  font-size: var(--fs-md); font-weight: 500; line-height: 1.3; white-space: normal;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  overflow-wrap: normal; word-break: normal; hyphens: manual; min-width: 0;
}
.sb-team .bp-crest, .sb-team .bp-crest-fallback { width: 20px; height: 20px; flex-shrink: 0; }
.sb-team .bp-crest-fallback { visibility: hidden; }
.sb-team.is-win .bp-team-name { font-weight: 700; }
.sb-team.is-lose .bp-team-name { color: var(--text-secondary); font-weight: 400; }

.sb-center { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; }
.sb-score {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: var(--fs-lg); font-weight: 700; color: var(--text-primary); line-height: 1.1;
}
.sb-score .bp-score-num { font-size: var(--fs-lg); font-weight: 700; min-width: 0; text-align: center; }
.sb-sep { color: var(--text-muted); font-weight: 500; }
.sb-center .status { justify-content: center; font-size: var(--fs-xs); }
/* Not started: the kick-off time takes the score's place */
.sb-row[data-status="wait"] .sb-score, .sb-row[data-status="ns"] .sb-score,
.sb-row[data-status="pst"] .sb-score, .sb-row[data-status="pp"] .sb-score,
.sb-row[data-status="canc"] .sb-score { display: none; }
.sb-row[data-status="wait"] .sb-center .status, .sb-row[data-status="ns"] .sb-center .status {
  font-size: var(--fs-md); font-weight: 600; color: var(--text-primary);
}
/* Postponed / cancelled: show the label (the generic rule hides live.js's "KO" label, which shares the class) */
.sb-row[data-status="pst"] .status .st-lbl, .sb-row[data-status="pp"] .status .st-lbl,
.sb-row[data-status="canc"] .status .st-lbl { display: inline; color: var(--text-muted); font-weight: 500; }
.sb-row[data-status="pst"] .status .s-time, .sb-row[data-status="pp"] .status .s-time,
.sb-row[data-status="canc"] .status .s-time { display: none; }
.sb-row[data-status="live"] .sb-score, .sb-row[data-status="lv"] .sb-score { color: var(--live); }
.sb-row[data-status="live"] .sb-score .bp-score-num, .sb-row[data-status="lv"] .sb-score .bp-score-num { color: var(--live); }
.sb-row[data-status="ft"] .sb-score { color: var(--text-primary); }

/* Pick: its own line, centred, identical width on every row */
.sb-pick { display: flex; justify-content: center; margin-top: 8px; position: relative; z-index: 2; }
.sb-pick .bp-odds-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  width: 200px; max-width: 100%; height: 30px; padding: 0 12px; border-radius: 8px;
}
.sb-pick-tag { font-size: var(--fs-xs); font-weight: 500; color: var(--pick); opacity: 0.75; }
.sb-pick .bp-odds-val::before { content: '\00B7\00a0'; }
.sb-pick .bp-odds-btn:hover .sb-pick-tag { color: var(--bg-card); opacity: 1; }

/* ==========================================================================
   Play and win promotion: in-list card, header button, zone bar, rail & intro
   ========================================================================== */
@keyframes lsPlayPulse {
  0%, 100% { box-shadow: 0 2px 10px rgba(29, 78, 216, 0.32), 0 0 0 0 rgba(245, 158, 11, 0.45); }
  50% { box-shadow: 0 4px 16px rgba(29, 78, 216, 0.48), 0 0 0 5px rgba(245, 158, 11, 0); }
}
@keyframes lsLiveDotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

/* Top Zone Bar: visible on both mobile & desktop across all non-Play pages */
.ls-zone-bar {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 12px;
  background: linear-gradient(90deg, #0B2A6B 0%, #1D4ED8 55%, #1E40AF 100%);
  color: #FFFFFF;
  font-size: 12px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.ls-zone-bar-left {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}
.ls-zone-bar-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 9999px;
  background: #F59E0B;
  color: #1A1302;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.ls-zone-bar-headline {
  font-weight: 600;
  color: #EAF1FF;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ls-zone-bar-headline b {
  color: #FDE68A;
  font-weight: 700;
}
.ls-zone-bar-games {
  display: none;
  align-items: center;
  gap: 6px;
}
@media (min-width: 768px) {
  .ls-zone-bar { padding: 7px 20px; }
  .ls-zone-bar-games { display: inline-flex; }
}
.ls-zone-game-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
}
.ls-zone-game-pill em {
  font-style: normal;
  color: #FDE68A;
  font-weight: 700;
}
.ls-zone-bar-cta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.22);
  border: 1px solid rgba(253, 230, 138, 0.55);
  color: #FDE68A;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.ls-zone-bar:hover .ls-zone-bar-cta {
  background: #F59E0B;
  color: #1A1302;
  text-decoration: none;
}

/* Header Play & Win CTA button — visible on BOTH mobile and desktop */
.ls-play-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 55%, #1E40AF 100%);
  color: #FFFFFF !important;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(253, 230, 138, 0.45);
  animation: lsPlayPulse 3.2s infinite;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s ease;
}
.ls-play-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: #FDE68A;
}
.ls-play-btn-badge {
  display: inline-flex;
  align-items: center;
  padding: 1.5px 6px;
  border-radius: 9999px;
  background: #F59E0B;
  color: #1A1302;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
@media (max-width: 400px) {
  .ls-play-btn { padding: 5px 9px; font-size: 11.5px; gap: 4px; }
  .ls-play-btn-sub { display: none; }
}
@media (min-width: 640px) {
  .ls-play-btn { padding: 7px 14px; font-size: 13px; }
}

/* Mobile bottom bar raised Play & Win button badge */
.bp-bnav-play-btn {
  position: relative;
  animation: lsPlayPulse 3.2s infinite;
}
.bp-bnav-play-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  padding: 1.5px 5px;
  border-radius: 9999px;
  background: #F59E0B;
  color: #1A1302;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.15;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
  border: 1.5px solid var(--bg-card);
  pointer-events: none;
}

/* Slide-out Drawer Play & Win Card */
.ls-drawer-wallet-card {
  margin: 12px 12px 6px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(145deg, #0B2A6B 0%, #14337A 100%);
  color: #EAF1FF;
  border: 1px solid rgba(96, 165, 250, 0.28);
  box-shadow: 0 6px 18px rgba(11, 42, 107, 0.25);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.ls-dwallet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}
.ls-dwallet-kicker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  color: #FDE68A;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ls-dwallet-card-title {
  font-size: 15px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin-top: 2px;
}
.ls-dwallet-card-sub {
  font-size: 11.5px;
  color: #B8C9EE;
  margin-top: 2px;
}
.ls-dwallet-cta-gold {
  flex-shrink: 0;
  padding: 6px 12px;
  border-radius: 9999px;
  background: #F59E0B;
  color: #1A1302;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.ls-dwallet-games {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}
.ls-dwallet-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 4px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.ls-dwallet-game:hover {
  background: rgba(245, 158, 11, 0.22);
  border-color: #F59E0B;
}
.ls-dwallet-game small {
  font-size: 10px;
  font-weight: 700;
  color: #FDE68A;
}

/* In-Feed Play & Win Card (Visible on BOTH mobile and desktop) */
.ls-play-inline {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 14px 8px;
  padding: 14px 15px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0B2A6B 0%, #133585 60%, #0E2968 100%);
  color: var(--play-card-text);
  border: 1px solid rgba(96, 165, 250, 0.32);
  box-shadow: 0 8px 22px rgba(11, 42, 107, 0.18);
  position: relative;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .ls-play-inline { margin-left: 0; margin-right: 0; }
}
.ls-play-inline-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ls-play-inline-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.ls-play-inline-kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #FDE68A;
}
.ls-play-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
  animation: lsLiveDotPulse 1.6s infinite;
}
.ls-play-momo-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1.5px 7px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  color: #EAF1FF;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0;
}
.ls-play-momo-pill .momo-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #FFCC00; display: inline-block;
}
.ls-play-momo-pill .airtel-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #EF4444; display: inline-block;
}
.ls-play-inline-title {
  font-size: 15.5px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  text-decoration: none;
}
.ls-play-inline-title:hover {
  color: #FDE68A;
}
.ls-play-inline-cta {
  flex-shrink: 0;
  padding: 9px 16px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #1A1302 !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.ls-play-inline-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}
.ls-play-inline-games {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
@media (max-width: 420px) {
  .ls-play-inline-games { gap: 5px; }
}
.ls-play-game-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 9px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  text-decoration: none;
  min-width: 0;
  transition: all 0.15s ease;
}
.ls-play-game-chip:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(253, 230, 138, 0.65);
  transform: translateY(-1px);
}
.ls-play-game-chip.is-hot {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.45);
}
.ls-pgc-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #FDE68A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (max-width: 440px) {
  .ls-play-game-chip { flex-direction: column; align-items: flex-start; gap: 4px; padding: 7px 8px; }
  .ls-pgc-ico { width: 22px; height: 22px; }
}
.ls-pgc-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}
.ls-pgc-info b {
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ls-pgc-info small {
  font-size: 10.5px;
  color: #B8C9EE;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ls-pgc-info em {
  font-style: normal;
  font-weight: 800;
  color: #FDE68A;
}

/* Desktop Right Rail Play & Win Card */
.ls-play-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 15px;
  border-radius: 14px;
  background: linear-gradient(145deg, #0B2A6B 0%, #143685 100%);
  color: var(--play-card-text);
  border: 1px solid rgba(96, 165, 250, 0.32);
  box-shadow: 0 8px 20px rgba(11, 42, 107, 0.18);
  margin-bottom: 14px;
}
.ls-play-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.ls-play-card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #FDE68A;
}
.ls-play-card-title {
  font-size: 17px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  text-decoration: none;
}
.ls-play-card-sub {
  font-size: 12px;
  color: #B8C9EE;
  margin-bottom: 2px;
  line-height: 1.35;
}
.ls-play-card-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ls-play-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  transition: all 0.15s ease;
}
.ls-play-card-row:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #F59E0B;
  transform: translateX(2px);
}
.ls-play-card-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ls-play-card-mult {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.22);
  color: #FDE68A;
}
.ls-play-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 2px;
  padding: 9px 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #1A1302 !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.32);
  transition: filter 0.15s ease, transform 0.15s ease;
}
.ls-play-card-cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.ls-intro {
  position: fixed; z-index: 250; left: 12px; right: 12px; bottom: 84px;
  max-width: 420px; margin: 0 auto; padding: 18px 18px 14px;
  border-radius: 16px; background: linear-gradient(145deg, #0B2A6B 0%, #133585 100%); color: var(--play-card-text);
  border: 1px solid rgba(253, 230, 138, 0.35);
  box-shadow: 0 18px 44px rgba(2, 8, 23, 0.48);
  transform: translateY(16px); opacity: 0; transition: transform 0.25s ease, opacity 0.25s ease;
}
.ls-intro.is-open { transform: none; opacity: 1; }
.ls-intro[hidden] { display: none; }
.ls-intro-close {
  position: absolute; top: 8px; right: 8px; width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: none; border-radius: 10px; background: transparent; color: var(--play-card-muted); cursor: pointer;
}
.ls-intro-close:hover { background: var(--play-card-chip); color: var(--play-card-text); }
.ls-intro-kicker {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--fs-xs); font-weight: 700; color: #FDE68A;
}
.ls-intro-title { margin: 3px 0 4px; font-size: var(--fs-xl); font-weight: 800; color: var(--play-card-text); }
.ls-intro-body { margin: 0 0 12px; font-size: var(--fs-sm); color: var(--play-card-muted); padding-right: 20px; }
.ls-intro-games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 14px; }
.ls-intro-games a {
  display: flex; flex-direction: column; gap: 2px; padding: 9px 8px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: var(--fs-xs); line-height: 1.25; text-decoration: none; transition: all 0.15s ease;
}
.ls-intro-games a:hover {
  background: rgba(245, 158, 11, 0.2); border-color: #F59E0B; transform: translateY(-1px);
}
.ls-intro-games b { color: #FFFFFF; font-weight: 700; }
.ls-intro-games small { color: #FDE68A; font-size: 11px; font-weight: 700; }
.ls-intro-actions { display: flex; gap: 8px; }
.ls-intro-cta {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; height: 44px;
  border-radius: 10px; background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%); color: #1A1302;
  font-size: var(--fs-md); font-weight: 800; text-decoration: none;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}
.ls-intro-later {
  height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent; color: var(--play-card-text); font: inherit; font-size: var(--fs-sm); font-weight: 500; cursor: pointer;
}
.ls-intro-note { margin: 10px 0 0; font-size: 11px; color: var(--play-card-muted); }
@media (min-width: 1024px) {
  .ls-intro { left: auto; right: 24px; bottom: 24px; margin: 0; width: 390px; }
}
@media (prefers-reduced-motion: reduce) { .ls-intro { transition: none; } }

/* ==========================================================================
   Appeal pass: team initials, banker chips, Home highlights
   ========================================================================== */
/* Initials badge when a club has no crest (same club = same colour) */
.team-mono {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 20px; height: 20px; border-radius: 50%;
  color: #fff; font-size: 9px; font-weight: 700; letter-spacing: 0.02em; line-height: 1;
}
.team-mono[hidden] { display: none; }
.sb-team .team-mono { width: 20px; height: 20px; }

/* Pick chips by tier: Banker is gold and stands out; Lean is quiet */
.sb-pick .bp-odds-btn.pred-banker {
  background: #FEF3C7; border-color: #F59E0B; box-shadow: 0 1px 0 rgba(217, 119, 6, 0.15);
}
.sb-pick .bp-odds-btn.pred-banker .sb-pick-tag,
.sb-pick .bp-odds-btn.pred-banker .bp-odds-lbl,
.sb-pick .bp-odds-btn.pred-banker .bp-odds-val { color: #92400E; opacity: 1; }
.sb-pick .bp-odds-btn.pred-banker .sb-pick-tag { font-weight: 700; }
html[data-theme="dark"] .sb-pick .bp-odds-btn.pred-banker { background: #422006; border-color: #B45309; }
html[data-theme="dark"] .sb-pick .bp-odds-btn.pred-banker .sb-pick-tag,
html[data-theme="dark"] .sb-pick .bp-odds-btn.pred-banker .bp-odds-lbl,
html[data-theme="dark"] .sb-pick .bp-odds-btn.pred-banker .bp-odds-val { color: #FCD34D; }
.sb-pick .bp-odds-btn.pred-lean { background: var(--bg-surface); border-color: transparent; }
.sb-pick .bp-odds-btn.pred-lean .sb-pick-tag,
.sb-pick .bp-odds-btn.pred-lean .bp-odds-lbl,
.sb-pick .bp-odds-btn.pred-lean .bp-odds-val { color: var(--text-secondary); }
.sb-pick .bp-odds-btn.pred-banker:hover, .sb-pick .bp-odds-btn.pred-lean:hover { filter: brightness(0.97); }

/* Home: Live now strip */
.hl-live { margin: 0 8px 12px; }
.hl-head {
  display: flex; justify-content: space-between; align-items: center;
  margin: 2px 4px 8px; font-size: var(--fs-sm); font-weight: 600; color: var(--text-secondary);
}
.hl-head .tab-live-dot { background: var(--live); margin-right: 6px; }
.hl-head a { color: var(--primary); font-weight: 500; text-decoration: none; }
.hl-count {
  display: inline-flex; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 4px;
  align-items: center; justify-content: center; border-radius: 9999px;
  background: var(--red-soft); color: var(--live); font-size: var(--fs-xs); font-weight: 700;
}
.hl-live-track {
  display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 4px; scrollbar-width: none;
}
.hl-live-track::-webkit-scrollbar { display: none; }
.hl-live-card {
  flex: 0 0 172px; scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 6px; padding: 10px 12px;
  background: var(--bg-card); border: 1px solid var(--border); border-left: 3px solid var(--live);
  border-radius: 12px; text-decoration: none; color: var(--text-primary);
}
.hl-live-card[data-status="ht"] { border-left-color: var(--amber); }
.hl-live-card.goal-flash { background: var(--pick-soft); }
.hl-live-meta { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--text-muted); }
.hl-live-ev { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.hl-live-meta .status { font-size: var(--fs-xs); flex-shrink: 0; }
.hl-live-meta .status.s-live .st-lbl { display: none; }
.hl-live-meta .status.s-ht .s-time, .hl-live-meta .status.s-ft .s-time { display: none; }
.hl-live-team { display: flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 500; }
.hl-tn { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hl-live-team b { color: var(--live); font-weight: 700; font-size: var(--fs-md); }
.hl-live-card[data-status="ht"] .hl-live-team b { color: var(--text-primary); }
.hl-crest, .hl-live-team .team-mono { width: 18px; height: 18px; object-fit: contain; flex-shrink: 0; }

/* Home: Match of the day */
.hl-motd {
  display: flex; flex-direction: column; gap: 10px; margin: 0 8px 12px; padding: 14px;
  border-radius: 14px; background: var(--play-card-bg); color: var(--play-card-text); text-decoration: none;
}
.hl-motd-meta { display: flex; justify-content: space-between; gap: 8px; font-size: var(--fs-xs); color: var(--play-card-muted); }
.hl-motd-meta > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hl-motd-time { font-weight: 700; color: var(--play-card-text); flex-shrink: 0; }
.hl-motd-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; text-align: center; }
.hl-motd-team { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: var(--fs-md); font-weight: 600; color: var(--play-card-text); min-width: 0; }
.hl-motd-team > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.hl-motd-crest, .hl-motd-team .team-mono { width: 40px; height: 40px; object-fit: contain; }
.hl-motd-team .team-mono { font-size: 14px; }
.hl-motd-vs { font-size: var(--fs-xl); font-weight: 700; color: var(--play-card-muted); }
.hl-motd-pick {
  align-self: center; padding: 5px 12px; border-radius: 9999px;
  background: var(--play-card-chip); color: var(--play-card-text); font-size: var(--fs-xs); font-weight: 600;
}
.hl-motd-pick.is-banker { background: var(--gold); color: var(--gold-text); }
@media (min-width: 1024px) { .hl-live, .hl-motd { margin-left: 0; margin-right: 0; } }

/* Free coins ready: gold dot on the Play buttons for returning players */
.bp-bnav-play.has-free .bp-bnav-play-btn { position: relative; }
.bp-bnav-play.has-free .bp-bnav-play-btn::after,
.ls-play-btn.has-free::after {
  content: ''; position: absolute; top: -2px; right: -2px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 2px var(--bg-card);
}
.ls-play-btn.has-free { position: relative; }

/* League tables: crests had no size rule and rendered at the image's natural size */
table img.team-crest { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; vertical-align: middle; }

/* Match page: extra prediction markets fold behind one toggle */
.mkt-more > summary { list-style: none; }
.mkt-more > summary::-webkit-details-marker { display: none; }
.mkt-more-btn {
  display: flex; justify-content: center; align-items: center;
  margin: 8px; padding: 11px 14px;
  border: 1px solid var(--border); border-radius: 10px; background: var(--bg-card);
  font-size: var(--fs-md); font-weight: 600; color: var(--primary); cursor: pointer;
}
.mkt-more-btn:hover { background: var(--bg-surface); }
.mkt-more-open, .mkt-more[open] .mkt-more-closed { display: none; }
.mkt-more[open] .mkt-more-open { display: inline; }
.mkt-more[open] > summary { order: 2; }
.mkt-more[open] { display: flex; flex-direction: column; }
        