:root {
  --bg-main: #090b0f;
  --bg-card: #12151d;
  --bg-card-hover: #181c27;
  --border: #232836;
  --gold: #e5b84b;
  --gold-bright: #ffd466;
  --gold-soft: rgba(229, 184, 75, 0.12);
  --text-main: #f3f4f6;
  --text-muted: #94a3b8;
  --win: #22c55e;
  --win-bg: rgba(34, 197, 94, 0.14);
  --lose: #ef4444;
  --lose-bg: rgba(239, 68, 68, 0.14);
  --void: #94a3b8;
  --void-bg: rgba(148, 163, 184, 0.14);
  --live: #ff4757;
  --live-bg: rgba(255, 71, 87, 0.15);
}

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
}

.hidden {
  display: none !important;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-gold {
  color: var(--gold);
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 11, 15, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-bright), #a67c1e);
  color: #090b0f;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
  box-shadow: 0 0 18px rgba(229, 184, 75, 0.25);
}

.brand h1 {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-main);
}

.tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.btn-gold {
  text-decoration: none;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #090b0f;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(229, 184, 75, 0.3);
}

/* HERO */
.hero {
  padding: 40px 0 28px;
  text-align: center;
}

.badge-anon {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid rgba(229, 184, 75, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.hero h2 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.hero-desc {
  max-width: 580px;
  margin: 0 auto 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.last-update {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

/* STATS GRID */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 42px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.45rem;
  font-weight: 700;
}

/* SECTION HEADERS */
.section-block {
  margin-bottom: 48px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.section-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

.section-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.today-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sync-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.btn-refresh {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-refresh:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.btn-refresh:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pill-gold {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid rgba(229, 184, 75, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
}

/* TOP EUROPE TOOLBAR */
.europe-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 20px;
}

.date-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.date-btn {
  background: #0d1017;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.date-btn:hover {
  border-color: var(--gold);
  color: var(--text-main);
}

.date-btn.active {
  background: var(--gold-soft);
  color: var(--gold-bright);
  border-color: var(--gold);
}

.date-input {
  background: #0d1017;
  color: var(--text-main);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color-scheme: dark;
  margin-left: auto;
}

.date-input:focus {
  outline: none;
  border-color: var(--gold);
}

/* EUROPE LEAGUE GROUPS */
.europe-groups {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.league-group-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.league-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  background: #0e1118;
  border-bottom: 1px solid var(--border);
}

.league-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.league-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  padding: 2px;
}

.league-name-main {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.league-country-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-left: 6px;
}

.league-match-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--gold);
}

.match-list {
  display: flex;
  flex-direction: column;
}

.match-row {
  display: grid;
  grid-template-columns: 115px 1fr 90px 1fr 82px;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(35, 40, 54, 0.65);
  transition: background 0.15s;
}

.match-row:last-child {
  border-bottom: none;
}

.match-row:hover {
  background: rgba(255, 255, 255, 0.025);
}

.match-row.row-live {
  background: rgba(255, 71, 87, 0.04);
}

.match-side {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.match-side.side-home {
  justify-content: flex-end;
  text-align: right;
}

.match-side.side-away {
  justify-content: flex-start;
  text-align: left;
}

.club-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.club-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #cbd5e1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.club-name.is-winner {
  color: var(--text-main);
  font-weight: 800;
}

.score-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
  padding: 5px 10px;
  border-radius: 8px;
  background: #0b0e14;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.score-pill.score-live {
  color: var(--gold-bright);
  border-color: rgba(255, 71, 87, 0.45);
  background: rgba(255, 71, 87, 0.1);
}

.score-pill.score-ft {
  color: var(--text-main);
  border-color: rgba(229, 184, 75, 0.3);
}

.ht-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: right;
  white-space: nowrap;
}

.empty-action-btn {
  margin-top: 14px;
  background: var(--gold-soft);
  color: var(--gold-bright);
  border: 1px solid rgba(229, 184, 75, 0.4);
  padding: 8px 16px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.empty-action-btn:hover {
  background: var(--gold);
  color: #090b0f;
}

/* TODAY'S PICKS CARDS */
.picks-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.pick-card {
  width: 100%;
  flex: 1 1 310px;
  max-width: 360px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.pick-card:only-child {
  max-width: 440px;
}

.pick-card:hover {
  transform: translateY(-3px);
  background: var(--bg-card-hover);
  border-color: rgba(229, 184, 75, 0.5);
}

.pick-card.card-live {
  border-top-color: var(--live);
}

.pick-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  gap: 8px;
}

.league-tag {
  font-weight: 600;
  color: #cbd5e1;
}

.match-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.status-upcoming {
  color: var(--gold);
  background: var(--gold-soft);
}

.status-live {
  color: var(--live);
  background: var(--live-bg);
  border: 1px solid rgba(255, 71, 87, 0.35);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  animation: pulseDot 1.3s infinite;
}

@keyframes pulseDot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.8);
  }
}

.status-ht {
  color: var(--gold-bright);
  background: var(--gold-soft);
  border: 1px solid rgba(229, 184, 75, 0.35);
}

.status-ft {
  color: #cbd5e1;
  background: #1e2433;
}

/* SCOREBOARD INSIDE PICK CARD */
.scoreboard {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  background: #0d1017;
  border: 1px solid rgba(35, 40, 54, 0.9);
  border-radius: 10px;
}

.team-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.team-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
}

.team-score {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.05rem;
  font-weight: 700;
  min-width: 26px;
  text-align: center;
  padding: 2px 6px;
  border-radius: 5px;
  background: #161b26;
  color: var(--text-muted);
}

.team-score.score-live {
  color: var(--gold-bright);
  background: rgba(229, 184, 75, 0.14);
}

.team-score.score-ft {
  color: var(--text-main);
  background: #1f2636;
}

.pick-box {
  background: #0b0e14;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pick-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.6px;
}

.pick-market {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold-bright);
}

.pick-odds {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  font-weight: 700;
  background: var(--gold-soft);
  color: var(--gold-bright);
  padding: 5px 10px;
  border-radius: 6px;
}

.pick-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.unit-badge {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: var(--text-main);
}

.type-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
  background: #1e2433;
  color: #cbd5e1;
}

.pick-note {
  font-size: 0.84rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 36px 20px;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: 14px;
  color: var(--text-muted);
}

/* FILTER BUTTONS */
.filter-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #0d1017;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover {
  border-color: var(--gold);
  color: var(--text-main);
}

.filter-btn.active {
  background: var(--gold);
  color: #090b0f;
  border-color: var(--gold);
}

/* HISTORY TABLE */
.table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow-x: auto;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.history-table th {
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--text-muted);
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: #0e1118;
}

.history-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(35, 40, 54, 0.6);
  font-size: 0.88rem;
}

.history-table tr:last-child td {
  border-bottom: none;
}

.history-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.td-league {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.td-mono {
  font-family: 'JetBrains Mono', monospace;
}

.status-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.status-win {
  background: var(--win-bg);
  color: var(--win);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-lose {
  background: var(--lose-bg);
  color: var(--lose);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-void {
  background: var(--void-bg);
  color: var(--void);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
  background: #07090c;
}

.footer-brand {
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.disclaimer {
  max-width: 680px;
  margin: 0 auto;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h2 {
    font-size: 1.65rem;
  }

  .brand h1 {
    font-size: 0.92rem;
  }

  .btn-gold {
    padding: 8px 12px;
    font-size: 0.78rem;
  }

  .date-input {
    margin-left: 0;
    width: 100%;
  }

  .match-row {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
    gap: 8px;
    padding: 14px;
  }

  .match-status-col {
    grid-column: 1 / 2;
    grid-row: 1;
  }

  .ht-tag {
    grid-column: 2 / 3;
    grid-row: 1;
  }

  .match-side.side-home {
    grid-column: 1 / 2;
    grid-row: 2;
    justify-content: flex-start;
    text-align: left;
    flex-direction: row-reverse;
  }

  .match-side.side-away {
    grid-column: 1 / 2;
    grid-row: 3;
  }

  .score-pill {
    grid-column: 2 / 3;
    grid-row: 2 / 4;
    align-self: center;
    min-width: 64px;
  }
  .pick-card,
  .pick-card:only-child {
    max-width: 100%;
  }
}
/* POLESAN TRACK RECORD & ODDS KEI MINUS */
.odds-minus {
  color: #f87171;
  font-weight: 700;
}

.history-score-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 10px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}

.status-half-win {
  background: rgba(45, 212, 191, 0.14);
  color: #2dd4bf;
  border: 1px dashed rgba(45, 212, 191, 0.55);
}

.status-half-lose {
  background: rgba(251, 146, 60, 0.14);
  color: #fb923c;
  border: 1px dashed rgba(251, 146, 60, 0.55);
}

#history-section table th:nth-child(4),
#history-section table th:nth-child(5),
.td-center {
  text-align: center;
}

#history-section table th:nth-child(6),
.td-right {
  text-align: right;
}

#history-section table td:nth-child(6) .status-badge {
  min-width: 86px;
  text-align: center;
  display: inline-block;
}
/* LOGO DOFLAMINGO DI NAVBAR */
.brand-logo {
  padding: 0;
  overflow: hidden;
  border-radius: 50%;
  background: #090b0f;
  border: 1.5px solid rgba(229, 184, 75, 0.55);
  box-shadow: 0 0 14px rgba(229, 184, 75, 0.25);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  display: block;
}
/* 5 KARTU STATS SEJAJAR & ANTI-KEPOTONG */
#stats-section,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 14px;
}

.stat-card {
  padding: 18px 16px !important;
}

.stat-value {
  white-space: nowrap;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem) !important;
}

@media (max-width: 960px) {
  #stats-section,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
/* SOFT GLOW BREATHING UNTUK TODAY'S PICKS (LEBIH TERASA) */
@keyframes softGoldPulse {
  0%, 100% {
    border-color: rgba(245, 197, 66, 0.15);
    box-shadow: 0 0 0px rgba(245, 197, 66, 0);
  }
  50% {
    border-color: rgba(245, 197, 66, 0.95);
    box-shadow: 0 0 24px rgba(245, 197, 66, 0.45), inset 0 0 12px rgba(245, 197, 66, 0.12);
  }
}

#today-picks-container .pick-card {
  animation: softGoldPulse 2s infinite ease-in-out !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#today-picks-container .pick-card:hover {
  animation: none !important;
  border-color: #f5c542;
  box-shadow: 0 0 28px rgba(245, 197, 66, 0.55);
}

#today-count {
  animation: softGoldPulse 1.8s infinite ease-in-out !important;
}
/* Center khusus header Today's Picks */
.today-picks-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}

/* Efek Neon Jalan (Soft Gold Shimmer + Gentle Glow) */
.neon-today-title {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.6px;
  background: linear-gradient(
    90deg,
    #fff8db 0%,
    #ffd466 25%,
    #ffffff 50%,
    #e5b84b 75%,
    #fff8db 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation:
    neonFlow 4.5s linear infinite,
    softNeonPulse 3.2s ease-in-out infinite;
}

@keyframes neonFlow {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 220% center;
  }
}

@keyframes softNeonPulse {
  0%, 100% {
    filter: drop-shadow(0 0 6px rgba(229, 184, 75, 0.35))
            drop-shadow(0 0 14px rgba(255, 212, 102, 0.18));
  }
  50% {
    filter: drop-shadow(0 0 10px rgba(255, 212, 102, 0.65))
            drop-shadow(0 0 22px rgba(229, 184, 75, 0.35));
  }
}
/* === PARLAY LEGS CLEAN CARD === */
.parlay-legs-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0 12px;
}

.parlay-leg-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.parlay-leg-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 600;
}

.parlay-leg-num {
  background: rgba(250, 204, 21, 0.14);
  color: #facc15;
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
}

.parlay-leg-match {
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.35;
}

.parlay-vs {
  color: #64748b;
  font-weight: 500;
  font-size: 12px;
  margin: 0 3px;
}

.parlay-leg-pickrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 6px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.parlay-pick-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(250, 204, 21, 0.12);
  color: #facc15;
}

.parlay-pick-badge.is-red {
  background: rgba(248, 113, 113, 0.14);
  color: #f87171;
}

.parlay-pick-badge.is-blue {
  background: rgba(96, 165, 250, 0.14);
  color: #60a5fa;
}

.parlay-leg-odds {
  font-size: 12px;
  font-weight: 800;
  color: #facc15;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(250, 204, 21, 0.22);
  padding: 2px 8px;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
/* === MATCH SCORER DROPDOWN === */
.match-row.is-clickable {
  cursor: pointer;
  transition: background 0.15s ease;
}

.match-row.is-clickable:hover {
  background: rgba(255, 255, 255, 0.035);
}

.ev-caret {
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  color: #64748b;
  transition: transform 0.2s ease, color 0.2s ease;
}

.match-row.is-open .ev-caret {
  transform: rotate(180deg);
  color: #facc15;
}

.match-events-panel {
  background: rgba(8, 12, 22, 0.72);
  border-top: 1px dashed rgba(255, 255, 255, 0.07);
  padding: 10px 18px 12px;
}

.match-events-panel.hidden {
  display: none;
}

.ev-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 14px;
  max-width: 680px;
  margin: 0 auto;
  align-items: start;
}

.ev-divider {
  background: rgba(255, 255, 255, 0.08);
  height: 100%;
  min-height: 16px;
}

.ev-col {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ev-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1.35;
}

.ev-home {
  justify-content: flex-end;
  text-align: right;
}

.ev-away {
  justify-content: flex-start;
  text-align: left;
}

.ev-player {
  color: #e2e8f0;
  font-weight: 500;
}

.ev-min {
  color: #facc15;
  font-weight: 700;
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  min-width: 28px;
}

.ev-icon {
  font-size: 11px;
  line-height: 1;
}

.ev-tag {
  font-size: 10px;
  font-weight: 700;
  color: #38bdf8;
}

.ev-tag.is-og {
  color: #f87171;
}

.ev-loading,
.ev-empty {
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  padding: 4px 0;
}

@media (max-width: 600px) {
  .match-events-panel {
    padding: 8px 10px 10px;
  }
  .ev-grid {
    gap: 8px;
  }
  .ev-line {
    font-size: 11px;
  }
}
/* === COMPACT / MINIMALIST LIVESCORE === */
.league-group-card {
  margin-bottom: 10px !important;
  border-radius: 10px !important;
}

.league-group-header {
  padding: 7px 14px !important;
  min-height: unset !important;
}

.league-group-title {
  gap: 8px !important;
}

.league-logo {
  width: 18px !important;
  height: 18px !important;
}

.league-name-main {
  font-size: 13px !important;
  line-height: 1.2 !important;
}

.league-country-sub {
  font-size: 11px !important;
  opacity: 0.7;
}

.league-match-count {
  font-size: 11px !important;
}

.match-row {
  padding: 6px 14px !important;
  min-height: 36px !important;
  gap: 8px !important;
}

.match-status-col > * {
  padding: 2px 7px !important;
  font-size: 10.5px !important;
  border-radius: 5px !important;
  line-height: 1.3 !important;
}

.match-side {
  gap: 7px !important;
}

.club-logo {
  width: 17px !important;
  height: 17px !important;
}

.club-name {
  font-size: 13px !important;
  line-height: 1.25 !important;
}

.score-pill {
  padding: 2px 10px !important;
  min-width: 52px !important;
  font-size: 12.5px !important;
  border-radius: 6px !important;
  line-height: 1.35 !important;
}

.ht-tag {
  font-size: 11px !important;
  color: #64748b !important;
}

.match-events-panel {
  padding: 7px 14px 9px !important;
}

@media (max-width: 640px) {
  .league-group-header {
    padding: 6px 10px !important;
  }
  .match-row {
    padding: 6px 10px !important;
    gap: 5px !important;
  }
  .club-name {
    font-size: 12px !important;
  }
  .club-logo {
    width: 15px !important;
    height: 15px !important;
  }
  .score-pill {
    min-width: 44px !important;
    padding: 2px 6px !important;
    font-size: 12px !important;
  }
}
/* === PARLAY CLUB LOGOS === */
.parlay-leg-match {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
}

.parlay-team {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.parlay-club-logo {
  width: 17px;
  height: 17px;
  object-fit: contain;
  flex-shrink: 0;
}