/* Gameday Stream Styles - Ultra Compact */

/* Play Card Styles - With prominent border and shadow */
.play-card {
  position: relative !important;
  background-color: var(--color-surface-elevated) !important;
  border: 1px solid var(--color-border) !important;
  border-left: 5px solid var(--color-border) !important;
  border-radius: 0.5rem !important;
  padding: 0.75rem !important;
  padding-left: 1rem !important;
  padding-bottom: 1rem !important; /* Extra bottom padding for field caption */
  margin-bottom: 0.75rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
  /* Prominent shadow for depth */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.08) !important;
}

/* Smooth entry animation for new plays - Enhanced */
.play-card-enter {
  animation: slideInFade 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideInFade {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
    filter: blur(4px);
  }
  50% {
    opacity: 0.8;
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.play-card:hover {
  border-color: var(--color-primary-400);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Play Outcome Specific Borders - Success Indicators with Green Gradient */

/* SMALL GAINS (1-9 yards) - Lighter green */
.play-card.play-outcome-successful-small {
  border-left-color: #86efac !important; /* Light green */
  border-left-width: 5px !important;
  border-left-style: solid !important;
  background: linear-gradient(to right, rgba(134, 239, 172, 0.12), transparent 50%) !important;
}

/* MEDIUM GAINS (10-19 yards) - Brighter green */
.play-card.play-outcome-successful-medium {
  border-left-color: #22c55e !important; /* Bright green */
  border-left-width: 5px !important;
  border-left-style: solid !important;
  background: linear-gradient(to right, rgba(34, 197, 94, 0.15), transparent 50%) !important;
}

/* BIG GAINS (20+ yards) - Even brighter green */
.play-card.play-outcome-successful-big {
  border-left-color: #16a34a !important; /* Bright vibrant green */
  border-left-width: 5px !important;
  border-left-style: solid !important;
  background: linear-gradient(to right, rgba(22, 163, 74, 0.18), transparent 50%) !important;
}

/* TOUCHDOWNS - REALLY GREEN (most vibrant) */
.play-card.play-outcome-successful-touchdown {
  border-left-color: #15803d !important; /* Deep vibrant green */
  border-left-width: 6px !important; /* Slightly thicker for emphasis */
  border-left-style: solid !important;
  background: linear-gradient(to right, rgba(21, 128, 61, 0.22), transparent 50%) !important;
  box-shadow: 0 0 0 1px rgba(21, 128, 61, 0.1), 0 2px 4px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.08) !important;
}

/* Legacy successful class - map to big gains for backwards compatibility */
.play-card.play-outcome-successful {
  border-left-color: #16a34a !important;
  border-left-width: 5px !important;
  border-left-style: solid !important;
  background: linear-gradient(to right, rgba(22, 163, 74, 0.18), transparent 50%) !important;
}

.play-card.play-outcome-neutral {
  border-left-color: #f59e0b !important; /* YELLOW/ORANGE for neutral plays */
  border-left-width: 5px !important;
  border-left-style: solid !important;
  background: linear-gradient(to right, rgba(245, 158, 11, 0.08), transparent 50%) !important;
}

.play-card.play-outcome-neutral-special {
  border-left-color: #6b7280 !important; /* GREY for special teams plays */
  border-left-width: 5px !important;
  border-left-style: solid !important;
  background: linear-gradient(to right, rgba(107, 114, 128, 0.05), transparent 50%) !important;
}

.play-card.play-outcome-unsuccessful {
  border-left-color: #dc2626 !important; /* BRIGHT RED for unsuccessful plays */
  border-left-width: 5px !important;
  border-left-style: solid !important;
  background: linear-gradient(to right, rgba(239, 68, 68, 0.1), transparent 50%) !important;
}

/* Inline Game Score - All on one line */
.game-score-inline {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.5rem;
  background: var(--color-surface-elevated);
  border-radius: 0.375rem;
}

.game-score-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.game-score-abbr {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-transform: uppercase;
}

.game-score-points {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.game-score-separator {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-tertiary);
  margin: 0 0.125rem;
}

/* Quarter/Time - Larger and inline */
.game-meta-time-inline {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.025em;
  white-space: nowrap;
  padding: 0.25rem 0.5rem;
  background: var(--color-surface-elevated);
  border-radius: 0.375rem;
}

/* Player Avatar and Team Badge - Enhanced */
.player-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--color-surface);
  border: 2px solid var(--color-border);
  position: relative;
}

/* Touchdown Avatar - Special styling */
.player-avatar.td-avatar {
  border: 3px solid #ff0050;
  box-shadow: 0 0 0 2px rgba(255, 0, 80, 0.3), 0 4px 12px rgba(255, 0, 80, 0.4);
  animation: td-pulse 2s ease-in-out infinite;
}

@keyframes td-pulse {
  0%, 100% {
    box-shadow: 0 0 0 2px rgba(255, 0, 80, 0.3), 0 4px 12px rgba(255, 0, 80, 0.4);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(255, 0, 80, 0.5), 0 6px 16px rgba(255, 0, 80, 0.6);
  }
}

/* Touchdown Celebration Overlay */
.td-celebration {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: none;
}

.td-text {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: linear-gradient(135deg, #ff0050 0%, #ff4d7d 100%);
  color: white;
  font-size: 0.625rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0.25rem;
  box-shadow: 0 2px 8px rgba(255, 0, 80, 0.5), 0 0 20px rgba(255, 0, 80, 0.3);
  animation: td-badge-pulse 1.5s ease-in-out infinite;
  white-space: nowrap;
}

@keyframes td-badge-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(255, 0, 80, 0.5), 0 0 20px rgba(255, 0, 80, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 3px 12px rgba(255, 0, 80, 0.7), 0 0 30px rgba(255, 0, 80, 0.5);
  }
}

.team-badge-icon {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--color-surface);
  border: 3px solid var(--color-surface);
  padding: 2px;
  object-fit: contain;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Sleeper-Style Player Display - Ultra Compact */
.players-sleeper-style {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.375rem;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}

.player-row {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0;
  line-height: 1.4;
}

.player-row.defensive {
  opacity: 0.85;
}

/* Player stats inline - no avatar in this section */
.player-details {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex: 1;
  min-width: 0;
}

.player-name-sleeper {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-primary);
  white-space: nowrap;
}

.team-badge-sleeper {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  white-space: nowrap;
  padding-left: 0.25rem;
  border-left: 1px solid var(--color-border);
}

.player-stats-text {
  font-size: 0.75rem;
  color: var(--color-text-tertiary);
  margin-left: 0.25rem;
}

/* Down & Distance Row */
.down-distance-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-primary);
  white-space: nowrap;
}

.field-location-text {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  white-space: nowrap;
}

.field-zone-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.field-zone-badge.badge-endzone {
  background-color: rgba(239, 68, 68, 0.15);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.field-zone-badge.badge-redzone {
  background-color: rgba(249, 115, 22, 0.15);
  color: #ea580c;
  border: 1px solid rgba(249, 115, 22, 0.3);
}

/* Compact Header - One line */
.play-card-header-compact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.375rem;
  font-size: 0.6875rem;
  gap: 0.5rem;
}

.game-teams-compact {
  font-weight: 600;
  color: var(--color-text-primary);
  white-space: nowrap;
}

.game-meta-compact {
  color: var(--color-text-secondary);
  white-space: nowrap;
}

.update-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.375rem;
  background-color: var(--color-warning-100);
  color: var(--color-warning-800);
  border-radius: 0.25rem;
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--color-warning-400);
  animation: updatePulse 0.5s ease-out;
}

@keyframes updatePulse {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Compact Play Description */
.play-description-compact {
  display: flex;
  align-items: flex-start;
  gap: 0.375rem;
  margin-bottom: 0.375rem;
}

.play-text-compact {
  flex: 1;
  font-size: 0.75rem;
  line-height: 1.3;
  color: var(--color-text-secondary);
  margin: 0;
}

.play-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.625rem;
  font-weight: 600;
  flex-shrink: 0;
}

.touchdown-badge {
  background-color: var(--color-warning-100);
  color: var(--color-warning-800);
}

.biggain-badge {
  background-color: var(--color-success-100);
  color: var(--color-success-800);
}

/* Mini Field Visualization */
.play-visualization-mini {
  margin-top: 0.375rem;
  padding-bottom: 0.5rem;
  /* Ensure field viz stays contained within card */
  max-width: 100%;
}

/* 3D Perspective Field Visualization */
.field-viz-3d {
  margin-top: 0.5rem;
  position: relative;
  height: 60px;
  perspective: 800px;
  /* Ensure field stays within container */
  max-width: 100%;
  overflow: visible; /* Allow football emoji to show */
}

/* Unified field container - applies single transform to everything */
.field-container {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.field-surface {
  width: 100%;
  height: 100%;
  display: flex;
  transform: perspective(800px) rotateX(45deg);
  transform-origin: center center;
  transform-style: preserve-3d;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Endzones - part of the same surface (10 yards each) */
.endzone {
  flex: 0 0 10%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}

.endzone-away {
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.endzone-home {
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.endzone-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  opacity: 0.4;
  position: absolute;
  filter: brightness(1.2) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
  /* Counter-rotate to face viewer straight on */
  transform: rotateX(-45deg);
}

/* Main playing field area */
.field-playing-area {
  flex: 1;
  position: relative;
  background: linear-gradient(to bottom,
    #2d5016 0%,
    #3a6b1e 50%,
    #2d5016 100%);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Yard line markers */
.yard-markers {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.yard-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: rgba(255, 255, 255, 0.6);
  transform: translateX(-50%);
  box-shadow: 0 0 2px rgba(255, 255, 255, 0.3);
}

.yard-line-50 {
  width: 3px;
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
}

/* Play trajectory line */
.play-trajectory {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 6px;
  border-radius: 3px;
  z-index: 2;
  opacity: 0.9;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 8px rgba(255, 255, 255, 0.4);
}

/* Football overlay - positioned outside transformed surface to stay flat */
.football-overlay {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  z-index: 10;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
  line-height: 1;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

/* Yards badge - positioned near football with exciting styling */
.yards-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-width: 2rem;
  font-size: 0.8125rem;
  font-weight: 800;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  background-color: var(--color-surface-elevated);
  color: var(--color-text-primary);
  border: 2px solid var(--color-border);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  letter-spacing: -0.02em;
  transition: transform 0.2s ease;
}

.fire-emoji {
  font-size: 0.875rem;
  line-height: 1;
  display: inline-block;
  animation: fire-flicker 1.5s ease-in-out infinite;
}

@keyframes fire-flicker {
  0%, 100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.1);
    filter: brightness(1.2);
  }
}

/* TOUCHDOWN - 🔥 Most exciting! */
.yards-badge.touchdown {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #78350f;
  border-color: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.3), 0 4px 8px rgba(245, 158, 11, 0.4);
  animation: touchdown-pulse 1.5s ease-in-out infinite;
}

@keyframes touchdown-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* EXPLOSIVE GAIN (40+ yards) - 🚀 */
.yards-badge.explosive {
  background: linear-gradient(135deg, #dbeafe 0%, #93c5fd 100%);
  color: #1e3a8a;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3), 0 3px 6px rgba(59, 130, 246, 0.4);
  font-weight: 900;
}

/* BIG GAIN (20-39 yards) - 💨 */
.yards-badge.big-gain {
  background: linear-gradient(135deg, #d1fae5 0%, #6ee7b7 100%);
  color: #065f46;
  border-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2), 0 2px 5px rgba(16, 185, 129, 0.3);
}

/* GOOD GAIN (10-19 yards) - ⚡ */
.yards-badge.good-gain {
  background: linear-gradient(135deg, #dcfce7 0%, #86efac 100%);
  color: #166534;
  border-color: #22c55e;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.2), 0 2px 4px rgba(34, 197, 94, 0.25);
}

/* SMALL GAIN (1-9 yards) - ✓ */
.yards-badge.small-gain {
  background: linear-gradient(135deg, #f0fdf4 0%, #bbf7d0 100%);
  color: #14532d;
  border-color: #4ade80;
  box-shadow: 0 1px 3px rgba(74, 222, 128, 0.2);
}

/* NEUTRAL (0 yards) - • */
.yards-badge.neutral {
  background: linear-gradient(135deg, #f3f4f6 0%, #d1d5db 100%);
  color: #374151;
  border-color: #9ca3af;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* LOSS (-1 to -5 yards) - ⚠️ */
.yards-badge.loss {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #991b1b;
  border-color: #ef4444;
  box-shadow: 0 1px 3px rgba(239, 68, 68, 0.3);
}

/* BIG LOSS (-6+ yards) - 💔 */
.yards-badge.big-loss {
  background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
  color: #7f1d1d;
  border-color: #dc2626;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2), 0 2px 5px rgba(220, 38, 38, 0.3);
  font-weight: 900;
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
  .yards-badge {
    background-color: rgba(30, 41, 59, 0.95);
    border-color: rgba(71, 85, 105, 0.8);
  }

  .yards-badge.touchdown {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.3) 0%, rgba(251, 191, 36, 0.3) 100%);
    color: #fbbf24;
    border-color: #f59e0b;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2), 0 4px 8px rgba(245, 158, 11, 0.3);
  }

  .yards-badge.explosive {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(147, 197, 253, 0.25) 100%);
    color: #93c5fd;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2), 0 3px 6px rgba(59, 130, 246, 0.3);
  }

  .yards-badge.big-gain {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3) 0%, rgba(110, 231, 183, 0.25) 100%);
    color: #6ee7b7;
    border-color: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2), 0 2px 5px rgba(16, 185, 129, 0.25);
  }

  .yards-badge.good-gain {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.25) 0%, rgba(134, 239, 172, 0.2) 100%);
    color: #86efac;
    border-color: #22c55e;
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.2), 0 2px 4px rgba(34, 197, 94, 0.2);
  }

  .yards-badge.small-gain {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.2) 0%, rgba(187, 247, 208, 0.15) 100%);
    color: #bbf7d0;
    border-color: #4ade80;
    box-shadow: 0 1px 3px rgba(74, 222, 128, 0.15);
  }

  .yards-badge.neutral {
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.3) 0%, rgba(148, 163, 184, 0.2) 100%);
    color: #cbd5e1;
    border-color: #64748b;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }

  .yards-badge.loss {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25) 0%, rgba(252, 165, 165, 0.2) 100%);
    color: #fca5a5;
    border-color: #ef4444;
    box-shadow: 0 1px 3px rgba(239, 68, 68, 0.25);
  }

  .yards-badge.big-loss {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.3) 0%, rgba(252, 165, 165, 0.25) 100%);
    color: #fca5a5;
    border-color: #dc2626;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2), 0 2px 5px rgba(220, 38, 38, 0.25);
  }
}

.field-caption {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0.5rem;
  /* Ensure caption stays within card with proper spacing */
  padding: 0 0.5rem;
  font-size: 0.6875rem;
  /* Prevent overflow */
  max-width: 100%;
  box-sizing: border-box;
}

.yards-text {
  font-weight: 600;
  color: var(--color-text-primary);
}

.yards-text.negative {
  color: var(--color-danger-600);
}

.yards-text.touchdown {
  color: var(--color-warning-600);
  font-weight: 700;
}

.yards-text.big-gain {
  color: var(--color-success-700);
  font-weight: 700;
}

.field-position-text {
  font-size: 0.625rem;
  color: var(--color-text-tertiary);
  font-weight: 500;
}

/* Update History */
.update-history {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.375rem;
  padding-top: 0.375rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.625rem;
  color: var(--color-text-tertiary);
}

.update-time {
  font-style: italic;
}

.update-count {
  font-weight: 600;
  color: var(--color-warning-700);
}

.update-summary {
  color: var(--color-info-600);
  font-weight: 500;
}


/* Matchup Filter Styles */
.matchup-filter {
  background-color: var(--color-surface-elevated);
  border-radius: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--color-border);
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.filter-header h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

.filter-count {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  background-color: var(--color-primary-100);
  color: var(--color-primary-700);
  border-radius: 0.25rem;
  font-weight: 600;
}

.filter-matchup-badge {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

/* Hide selected matchup display on desktop - show only on mobile */
.selected-matchup-display {
  display: none;
}

/* Hide the duplicate selected matchup in dropdown on desktop */
.selected-matchup-in-dropdown {
  display: none;
}

.matchup-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 70vh;
  overflow-y: auto;
  overflow-x: hidden;
  /* Smooth scrolling */
  scroll-behavior: smooth;
  /* Custom scrollbar styling */
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}

/* Webkit scrollbar styling for Chrome/Safari */
.matchup-options::-webkit-scrollbar {
  width: 6px;
}

.matchup-options::-webkit-scrollbar-track {
  background: transparent;
}

.matchup-options::-webkit-scrollbar-thumb {
  background-color: var(--color-border);
  border-radius: 3px;
}

.matchup-options::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-primary-400);
}

.matchup-option {
  padding: 0.75rem;
  background-color: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.matchup-option:hover {
  border-color: var(--color-primary-400);
  background-color: var(--color-primary-50);
}

/* Dark mode support for hover state */
@media (prefers-color-scheme: dark) {
  .matchup-option:hover {
    background-color: rgba(59, 130, 246, 0.1);
    border-color: var(--color-primary-400);
  }
}

.matchup-option.active {
  border-color: var(--color-primary-600);
  background-color: var(--color-primary-50);
  /* Ensure text is readable in dark mode */
  color: var(--color-text-primary);
}

/* Dark mode support for selected matchup */
@media (prefers-color-scheme: dark) {
  .matchup-option.active {
    background-color: rgba(59, 130, 246, 0.15);
    border-color: var(--color-primary-500);
  }
}

.matchup-label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.matchup-label .matchup-teams {
  font-weight: 600;
  color: var(--color-text-primary);
  font-size: 0.875rem;
}

.matchup-label .matchup-description {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}

.matchup-teams-row {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.matchup-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  flex: 1;
  min-width: 0;
  text-align: center;
}

.matchup-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-border);
  flex-shrink: 0;
}

.matchup-avatar-placeholder {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-primary-100);
  color: var(--color-primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  border: 2px solid var(--color-border);
  flex-shrink: 0;
}

.matchup-team .team-name {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  line-height: 1.2;
}

.matchup-team .team-score {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary-600);
  font-variant-numeric: tabular-nums;
}

.vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vs-divider .vs {
  font-size: 0.6875rem;
  color: var(--color-text-tertiary);
  font-weight: 600;
  text-transform: uppercase;
  padding: 0 0.25rem;
}

.active-games-indicator {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--color-success-700);
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-success-500);
  animation: pulse-live 1.5s ease-in-out infinite;
}

@keyframes pulse-live {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.9);
  }
}

.active-games-text {
  font-weight: 600;
}

/* Rotate chevron */
.rotate-180 {
  transform: rotate(180deg);
}

/* Debug Info Section */
.play-debug-info {
  display: none;
}

.play-debug-info.play-debug-visible {
  display: block !important;
}

/* Debug trigger - make quarter/time element show it's clickable */
.debug-trigger {
  user-select: none;
}

.debug-trigger:hover {
  opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .play-card {
    padding: 0.375rem;
  }

  .player-avatar-small {
    width: 20px;
    height: 20px;
  }

  .player-name-compact {
    font-size: 0.6875rem;
  }

  .team-badge-compact {
    font-size: 0.5625rem;
  }

  .game-teams-compact,
  .game-meta-compact {
    font-size: 0.625rem;
  }

  .play-text-compact {
    font-size: 0.6875rem;
  }

  /* Mobile game score adjustments */
  .game-score-inline {
    gap: 0.25rem;
    padding: 0.125rem 0.375rem;
  }

  .game-score-logo {
    width: 16px;
    height: 16px;
  }

  .game-score-abbr {
    font-size: 0.625rem;
  }

  .game-score-points {
    font-size: 0.75rem;
  }

  .game-meta-time-inline {
    font-size: 0.75rem;
    padding: 0.125rem 0.375rem;
  }

  .player-avatar {
    width: 44px;
    height: 44px;
  }

  .team-badge-icon {
    width: 18px;
    height: 18px;
    border-width: 2px;
  }

  .player-name-sleeper {
    font-size: 0.75rem;
  }

  /* Mobile TD celebration adjustments */
  .td-text {
    font-size: 0.5rem;
    padding: 0.125rem 0.375rem;
    letter-spacing: 0.05em;
  }

  .td-celebration {
    bottom: -6px;
  }

  /* Mobile filter - smaller and at top */
  .matchup-filter {
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
  }

  .filter-header {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }

  .filter-header h3 {
    font-size: 0.875rem;
  }

  .filter-count {
    font-size: 0.6875rem;
    padding: 0.125rem 0.375rem;
  }

  .matchup-options {
    margin-top: 0.75rem;
  }

  .matchup-option {
    padding: 0.5rem;
  }

  .matchup-avatar {
    width: 24px;
    height: 24px;
  }

  .matchup-avatar-placeholder {
    width: 24px;
    height: 24px;
    font-size: 0.5625rem;
  }

  .matchup-team .team-name {
    font-size: 0.6875rem;
  }

  .matchup-team .team-score {
    font-size: 0.75rem;
  }

  .filter-chevron {
    display: block !important;
  }

  /* Show selected matchup display on mobile */
  .selected-matchup-display {
    display: block;
  }

  /* Show selected matchup in dropdown on mobile */
  .selected-matchup-in-dropdown {
    display: block;
  }

  /* Hide badge on mobile */
  .filter-matchup-badge {
    display: none;
  }
}

/* Desktop - always show filter expanded, hide chevron */
@media (min-width: 769px) {
  .matchup-options {
    display: flex !important;
  }

  .filter-chevron {
    display: none !important;
  }

  .filter-header {
    cursor: default !important;
  }
}

/* ========================================
   SPECIAL PLAY STYLES (Timeouts, Warnings)
   ======================================== */

/* Special Play Card - Muted, centered design - Smaller than normal cards */
.play-card-special {
  background: linear-gradient(135deg,
    var(--color-surface-base) 0%,
    var(--color-surface-elevated) 100%) !important;
  border-left: 4px solid var(--color-text-tertiary) !important;
  padding: 0.5rem 0.75rem !important;
}

.play-card-special:hover {
  border-color: var(--color-border) !important;
  transform: translateY(0) !important;
}

/* Special Play Container */
.special-play-container {
  text-align: center;
}

/* Centered Timeout Message - Compact */
.special-play-message {
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-secondary);
  padding: 0.5rem 0.75rem;
  margin: 0 auto;
  max-width: 90%;
  position: relative;

  /* Muted gradient text effect */
  background: linear-gradient(
    135deg,
    var(--color-text-tertiary) 0%,
    var(--color-text-secondary) 50%,
    var(--color-text-tertiary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

  /* Subtle glow */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Add decorative lines around timeout message */
.special-play-message::before,
.special-play-message::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--color-border) 50%,
    transparent 100%
  );
}

.special-play-message::before {
  left: 10%;
}

.special-play-message::after {
  right: 10%;
}

/* Responsive adjustments for special plays */
@media (max-width: 768px) {
  .special-play-message {
    font-size: 0.9375rem;
    padding: 0.375rem 0.5rem;
  }

  .special-play-message::before,
  .special-play-message::after {
    width: 15px;
  }

  .special-play-message::before {
    left: 5%;
  }

  .special-play-message::after {
    right: 5%;
  }
}

/* Adjust field visualization for special plays */
.play-card-special .play-visualization-mini {
  opacity: 0.6;
  filter: grayscale(30%);
}

/* ========================================
   PENALTY PLAY STYLES
   ======================================== */

/* Penalty Play Card - Yellow/Black striped border */
.play-card-penalty {
  border-left: 8px solid transparent !important;
  background-image:
    repeating-linear-gradient(
      45deg,
      #fbbf24 0px,
      #fbbf24 10px,
      #000000 10px,
      #000000 20px
    ) !important;
  background-size: 8px 100% !important;
  background-position: left !important;
  background-repeat: no-repeat !important;
  padding-left: 1.25rem !important;
}

.play-card-penalty:hover {
  border-color: transparent !important;
}

/* ========================================
   FANTASY POINTS DISPLAY - PREMIUM DESIGN
   ======================================== */

/* Main Container - Gradient Background with Glow */
.fantasy-points-container {
  margin-top: 0.5rem;
  padding: 0;
  background: linear-gradient(135deg,
    rgba(0, 217, 197, 0.08) 0%,
    rgba(0, 217, 197, 0.02) 100%);
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 217, 197, 0.2);
  box-shadow: 0 2px 8px rgba(0, 217, 197, 0.08);
  overflow: hidden;
  animation: fadeInScale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Light mode adjustments - matches both "light" and "*-light" themes */
[data-theme="light"] .fantasy-points-container,
[data-theme$="-light"] .fantasy-points-container {
  background: linear-gradient(135deg,
    rgba(0, 217, 197, 0.12) 0%,
    rgba(0, 217, 197, 0.04) 100%);
  border-color: rgba(0, 217, 197, 0.3);
  box-shadow: 0 2px 8px rgba(0, 217, 197, 0.12);
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Header Section */
.fantasy-points-header {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.625rem;
  background: linear-gradient(90deg,
    rgba(0, 217, 197, 0.15) 0%,
    rgba(0, 217, 197, 0.05) 100%);
  border-bottom: 1px solid rgba(0, 217, 197, 0.15);
}

.fantasy-points-icon {
  font-size: 0.875rem;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
  animation: iconGlow 2s ease-in-out infinite;
}

@keyframes iconGlow {
  0%, 100% {
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
  }
  50% {
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.8));
  }
}

.fantasy-points-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(0, 217, 197, 0.9);
  text-transform: uppercase;
}

/* Roster Points Card */
.roster-points-card {
  border-bottom: 1px solid rgba(0, 217, 197, 0.1);
  transition: background-color 0.2s ease;
}

.roster-points-card:last-child {
  border-bottom: none;
}

.roster-points-card:hover {
  background-color: rgba(0, 217, 197, 0.03);
}

/* Main Row - Clickable */
.roster-points-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.625rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.roster-points-main:hover {
  background-color: rgba(0, 217, 197, 0.05);
}

.roster-points-main:active {
  transform: scale(0.99);
}

/* Roster Info */
.roster-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

.roster-avatar-container {
  position: relative;
  flex-shrink: 0;
}

.roster-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 217, 197, 0.3);
  box-shadow: 0 2px 8px rgba(0, 217, 197, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.roster-points-main:hover .roster-avatar {
  transform: scale(1.05);
  box-shadow: 0 3px 12px rgba(0, 217, 197, 0.35);
}

.roster-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Points Display */
.points-display {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Points Badge - The Star of the Show */
.points-badge {
  display: flex;
  align-items: baseline;
  gap: 0.1875rem;
  padding: 0.25rem 0.5rem;
  background: linear-gradient(135deg,
    rgba(0, 217, 197, 0.2) 0%,
    rgba(0, 217, 197, 0.1) 100%);
  border: 1px solid rgba(0, 217, 197, 0.4);
  border-radius: 2rem;
  box-shadow: 0 0 20px rgba(0, 217, 197, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: pointsBadgeAppear 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

/* Negative points styling - red theme */
.points-badge-negative {
  background: linear-gradient(135deg,
    rgba(239, 68, 68, 0.2) 0%,
    rgba(239, 68, 68, 0.1) 100%);
  border: 1px solid rgba(239, 68, 68, 0.4);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.points-badge-negative .points-number {
  color: #ef4444;
  text-shadow: 0 0 20px rgba(239, 68, 68, 0.4),
               0 1px 2px rgba(0, 0, 0, 0.1);
}

.points-badge-negative .points-label {
  color: rgba(239, 68, 68, 0.9);
}

/* Negative breakdown details */
.player-total-points-negative {
  color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.2) !important;
}

.stat-dot-negative {
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.7) !important;
}

.stat-points-negative {
  color: #ef4444 !important;
}

@keyframes pointsBadgeAppear {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(-10deg);
  }
  70% {
    transform: scale(1.1) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

/* Shimmer effect on points badge */
.points-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 70%
  );
  animation: shimmer 3s infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.points-sign {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(0, 217, 197, 0.8);
}

.points-number {
  font-size: 1rem;
  font-weight: 800;
  color: #00d9c5;
  text-shadow: 0 0 20px rgba(0, 217, 197, 0.5),
               0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
  animation: numberPulse 0.6s ease-out;
}

@keyframes numberPulse {
  0%, 100% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.15);
  }
  60% {
    transform: scale(0.98);
  }
}

.points-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: rgba(0, 217, 197, 0.7);
  letter-spacing: 0.05em;
}

/* Expand Button */
.expand-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.375rem;
  color: var(--color-text-secondary);
  border-radius: 0.25rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.expand-button:hover {
  background-color: rgba(0, 217, 197, 0.1);
  color: #00d9c5;
}

.expand-button svg {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.expand-button.expanded svg {
  transform: rotate(180deg);
}

/* Points Breakdown Section */
.points-breakdown-section {
  padding: 0.5rem 0.625rem;
  background: linear-gradient(180deg,
    rgba(0, 217, 197, 0.03) 0%,
    transparent 100%);
  border-top: 1px solid rgba(0, 217, 197, 0.1);
}

/* Player Points Card */
.player-points-card {
  background: rgba(0, 217, 197, 0.05);
  border: 1px solid rgba(0, 217, 197, 0.15);
  border-radius: 0.375rem;
  padding: 0.5rem;
  margin-bottom: 0.375rem;
  animation: slideInFromLeft 0.3s ease-out backwards;
}

.player-points-card:last-child {
  margin-bottom: 0;
}

.player-points-card:nth-child(1) { animation-delay: 0.05s; }
.player-points-card:nth-child(2) { animation-delay: 0.1s; }
.player-points-card:nth-child(3) { animation-delay: 0.15s; }

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.player-points-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.375rem;
}

.player-name-highlight {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text-primary);
  background: linear-gradient(90deg, #00d9c5, #00b8a8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.player-total-points {
  font-size: 0.75rem;
  font-weight: 700;
  color: #00d9c5;
  background: rgba(0, 217, 197, 0.15);
  padding: 0.125rem 0.375rem;
  border-radius: 1rem;
}

/* Stat Breakdown */
.stat-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.stat-line {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.125rem 0;
  animation: fadeInUp 0.3s ease-out backwards;
}

.stat-line:nth-child(1) { animation-delay: 0.1s; }
.stat-line:nth-child(2) { animation-delay: 0.15s; }
.stat-line:nth-child(3) { animation-delay: 0.2s; }
.stat-line:nth-child(4) { animation-delay: 0.25s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-dot {
  width: 4px;
  height: 4px;
  background: linear-gradient(135deg, #00d9c5, #00b8a8);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(0, 217, 197, 0.6);
}

.stat-description {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  flex: 1;
}

.stat-points {
  font-size: 0.75rem;
  font-weight: 600;
  color: #00d9c5;
  font-variant-numeric: tabular-nums;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .fantasy-points-container {
    margin-top: 0.375rem;
  }

  .fantasy-points-header {
    padding: 0.3125rem 0.5rem;
  }

  .roster-points-main {
    padding: 0.4375rem 0.5rem;
  }

  .roster-avatar {
    width: 20px;
    height: 20px;
  }

  .roster-name {
    font-size: 0.75rem;
  }

  .points-badge {
    padding: 0.1875rem 0.4375rem;
  }

  .points-number {
    font-size: 0.9375rem;
  }

  .points-breakdown-section {
    padding: 0.4375rem 0.5rem;
  }

  .player-points-card {
    padding: 0.375rem;
  }
}

/* ========================================
   LIGHT MODE OVERRIDES FOR FANTASY POINTS
   Matches both "light" and "*-light" themes (e.g., "chiefs-light", "seahawks-light")
   ======================================== */

[data-theme="light"] .fantasy-points-header,
[data-theme$="-light"] .fantasy-points-header {
  background: linear-gradient(90deg,
    rgba(0, 217, 197, 0.18) 0%,
    rgba(0, 217, 197, 0.08) 100%);
  border-bottom-color: rgba(0, 217, 197, 0.2);
}

[data-theme="light"] .fantasy-points-label,
[data-theme$="-light"] .fantasy-points-label {
  color: rgba(0, 150, 136, 1);
}

[data-theme="light"] .roster-points-card,
[data-theme$="-light"] .roster-points-card {
  border-bottom-color: rgba(0, 217, 197, 0.15);
}

[data-theme="light"] .roster-points-main:hover,
[data-theme$="-light"] .roster-points-main:hover {
  background-color: rgba(0, 217, 197, 0.08);
}

[data-theme="light"] .roster-avatar,
[data-theme$="-light"] .roster-avatar {
  border-color: rgba(0, 217, 197, 0.4);
  box-shadow: 0 2px 8px rgba(0, 217, 197, 0.25);
}

[data-theme="light"] .points-badge,
[data-theme$="-light"] .points-badge {
  background: linear-gradient(135deg,
    rgba(0, 217, 197, 0.25) 0%,
    rgba(0, 217, 197, 0.15) 100%);
  border-color: rgba(0, 217, 197, 0.5);
  box-shadow: 0 0 20px rgba(0, 217, 197, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

[data-theme="light"] .points-sign,
[data-theme$="-light"] .points-sign {
  color: rgba(0, 150, 136, 0.9);
}

[data-theme="light"] .points-number,
[data-theme$="-light"] .points-number {
  color: #009688;
  text-shadow: 0 0 20px rgba(0, 150, 136, 0.4),
               0 1px 2px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .points-label,
[data-theme$="-light"] .points-label {
  color: rgba(0, 150, 136, 0.8);
}

[data-theme="light"] .expand-button:hover,
[data-theme$="-light"] .expand-button:hover {
  background-color: rgba(0, 217, 197, 0.15);
  color: #009688;
}

[data-theme="light"] .points-breakdown-section,
[data-theme$="-light"] .points-breakdown-section {
  background: linear-gradient(180deg,
    rgba(0, 217, 197, 0.06) 0%,
    transparent 100%);
  border-top-color: rgba(0, 217, 197, 0.15);
}

[data-theme="light"] .player-points-card,
[data-theme$="-light"] .player-points-card {
  background: rgba(0, 217, 197, 0.08);
  border-color: rgba(0, 217, 197, 0.2);
}

[data-theme="light"] .player-name-highlight,
[data-theme$="-light"] .player-name-highlight {
  background: linear-gradient(90deg, #009688, #00796b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .player-total-points,
[data-theme$="-light"] .player-total-points {
  color: #009688;
  background: rgba(0, 217, 197, 0.2);
}

[data-theme="light"] .stat-dot,
[data-theme$="-light"] .stat-dot {
  background: linear-gradient(135deg, #009688, #00796b);
  box-shadow: 0 0 6px rgba(0, 150, 136, 0.7);
}

[data-theme="light"] .stat-points,
[data-theme$="-light"] .stat-points {
  color: #009688;
}

/* Negative points - light mode */
[data-theme="light"] .points-badge-negative,
[data-theme$="-light"] .points-badge-negative {
  background: linear-gradient(135deg,
    rgba(239, 68, 68, 0.25) 0%,
    rgba(239, 68, 68, 0.15) 100%);
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

[data-theme="light"] .points-badge-negative .points-number,
[data-theme$="-light"] .points-badge-negative .points-number {
  color: #dc2626;
  text-shadow: 0 0 20px rgba(220, 38, 38, 0.4),
               0 1px 2px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .points-badge-negative .points-label,
[data-theme$="-light"] .points-badge-negative .points-label {
  color: rgba(220, 38, 38, 0.9);
}

/* Negative breakdown - light mode */
[data-theme="light"] .player-total-points-negative,
[data-theme$="-light"] .player-total-points-negative {
  color: #dc2626 !important;
  background: rgba(239, 68, 68, 0.25) !important;
}

[data-theme="light"] .stat-dot-negative,
[data-theme$="-light"] .stat-dot-negative {
  background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
  box-shadow: 0 0 6px rgba(220, 38, 38, 0.8) !important;
}

[data-theme="light"] .stat-points-negative,
[data-theme$="-light"] .stat-points-negative {
  color: #dc2626 !important;
}
