/* =============================================
   nba Dashboard Styles
   Extends common dashboard styles with nhl-specific theming
   ============================================= */

/* Import common dashboard styles */
@import url('./dashboard/common.css');

/* =============================================
   nba Color System
   ============================================= */
:root {
  --heading-font: 'Anton', sans-serif;
  /* nba Brand Colors - Blue and Yellow */
  --nhl-primary: #252525;
  --nhl-secondary: #444444;;
  --nhl-tertiary: #a2a2a2;
  --nhl-accent: #eeeeee;
  --nhl-accent-background: #252525;
  --nhl-dark: #000000;
  --nhl-light: #ffffff;
  
  /* nba Gradients */
  --nhl-gradient: linear-gradient(135deg, var(--nhl-primary) 0%, var(--nhl-secondary) 50%, var(--nhl-tertiary) 100%);
  --nhl-gradient-subtle: linear-gradient(135deg, var(--nhl-primary) 0%, var(--nhl-secondary) 100%);
  
  /* Sport-specific overrides for consistency */
  --sport-primary: var(--nhl-primary);
  --sport-secondary: var(--nhl-secondary);
  --sport-accent: var(--nhl-accent);
}

/* Dark mode adjustments */
.dark {
  --nhl-light: var(--nhl-dark);
}

/* =============================================
   nba Brand Elements
   ============================================= */

.nhl-gradient {
  background: var(--nhl-gradient);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.nhl-gradient-subtle {
  background: var(--nhl-gradient-subtle);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.text-primary {
  color: #252525;
}

.dark .text-primary {
  color: #f7fafc;
}

.border {
  border: 1px solid rgba(0, 149, 255, 0.2);
}

.bg-card {
  background: rgba(0, 149, 255, 0.05);
}

.nhl-accent {
  color: var(--nhl-primary);
}

.nhl-bg {
  background-color: var(--nhl-light);
}

.dark .nhl-bg {
  background-color: var(--nhl-dark);
}

/* =============================================
   Typography
   ============================================= */
h1, .h1 {
  font-family: var(--heading-font);
  font-size: 4.5rem; /* 72px */
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin-bottom: 0.5em;
}

/* =============================================
   Team Logos and Branding
   ============================================= */

.team-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px;
}

.team-logo-small {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px;
}

.team-logo-large {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px;
}

/* =============================================
   nba Game Cards
   ============================================= */

.nhl-game-card {
  background: linear-gradient(135deg, rgba(0, 61, 165, 0.05) 0%, rgba(0, 102, 204, 0.05) 100%);
  border: 1px solid rgba(0, 61, 165, 0.2);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.nhl-game-card:hover {
  border-color: rgba(0, 61, 165, 0.4);
  box-shadow: 0 8px 25px rgba(0, 61, 165, 0.15);
  transform: translateY(-2px);
}

.dark .nhl-game-card {
  background: linear-gradient(135deg, rgba(0, 61, 165, 0.1) 0%, rgba(0, 102, 204, 0.1) 100%);
  border-color: rgba(0, 61, 165, 0.3);
}

.dark .nhl-game-card:hover {
  border-color: rgba(0, 61, 165, 0.5);
  box-shadow: 0 8px 25px rgba(0, 61, 165, 0.25);
}

/* =============================================
   nba Rank Badges
   ============================================= */

.nhl-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.nhl-rank-top5 {
  background: var(--nhl-gradient);
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.nhl-rank-top10 {
  background: linear-gradient(135deg, var(--nhl-accent) 0%, var(--nhl-secondary) 100%);
  color: var(--nhl-dark);
  font-weight: 700;
}

.nhl-rank-top25 {
  background: rgba(0, 102, 204, 0.2);
  color: var(--nhl-primary);
  border: 1px solid rgba(0, 102, 204, 0.3);
}

.nhl-rank-low {
  background: rgba(156, 163, 175, 0.2);
  color: rgb(156, 163, 175);
  border: 1px solid rgba(156, 163, 175, 0.3);
}

/* =============================================
   nba Rankings Table
   ============================================= */

.nhl-rankings-table {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 61, 165, 0.2);
}

.nhl-rankings-table th {
  background: linear-gradient(135deg, rgba(0, 61, 165, 0.1) 0%, rgba(0, 102, 204, 0.1) 100%);
  color: var(--nhl-primary);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.nhl-rankings-table tbody tr:hover {
  background: rgba(0, 61, 165, 0.05);
}

.dark .nhl-rankings-table th {
  background: linear-gradient(135deg, rgba(0, 61, 165, 0.2) 0%, rgba(0, 102, 204, 0.2) 100%);
}

.dark .nhl-rankings-table tbody tr:hover {
  background: rgba(0, 61, 165, 0.1);
}

/* =============================================
   nba Statistics Cards
   ============================================= */

.nhl-stat-card {
  background: rgba(0, 61, 165, 0.05);
  border: 1px solid rgba(0, 61, 165, 0.2);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  transition: all 0.2s ease;
}

.nhl-stat-card:hover {
  background: rgba(0, 61, 165, 0.1);
  border-color: rgba(0, 61, 165, 0.3);
}

.nhl-stat-card .stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--nhl-primary);
  line-height: 1;
}

.nhl-stat-card .stat-label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: rgb(107, 114, 126);
  margin-top: 4px;
}

.dark .nhl-stat-card {
  background: rgba(0, 61, 165, 0.1);
  border-color: rgba(0, 61, 165, 0.3);
}

.dark .nhl-stat-card:hover {
  background: rgba(0, 61, 165, 0.15);
  border-color: rgba(0, 61, 165, 0.4);
}

/* =============================================
   nba Win Chance Indicators
   ============================================= */

.win-chance-high {
  background: rgba(16, 185, 129, 0.1);
  color: rgb(16, 185, 129);
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}

.win-chance-medium {
  background: rgba(59, 130, 246, 0.1);
  color: rgb(59, 130, 246);
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}

.win-chance-low {
  background: rgba(239, 68, 68, 0.1);
  color: rgb(239, 68, 68);
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}

/* =============================================
   nba Navigation Enhancements
   ============================================= */

.section-nav-btn.nhl-active {
  background: var(--nhl-gradient);
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.section-nav-btn.nhl-active:hover {
  background: var(--nhl-gradient-subtle);
}

/* =============================================
   nba Responsive Design
   ============================================= */

/* Prevent horizontal scroll on mobile */
@media (max-width: 1024px) {
  /* Ensure main content doesn't overflow */
  #league-home,
  #games,
  #teams {
    max-width: 100%;
    overflow-x: hidden;
  }
  
  /* Make sure grid doesn't force overflow */
  .grid {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .team-logo {
    width: 36px;
    height: 36px;
  }
  
  .team-logo-large {
    width: 48px;
    height: 48px;
  }
  
  .nhl-stat-card .stat-value {
    font-size: 20px;
  }
  
  .nhl-game-card {
    margin-bottom: 16px;
  }
  
  /* Ensure no horizontal overflow on mobile */
  body,
  html {
    overflow-x: hidden;
    max-width: 100vw;
  }
}

@media (max-width: 480px) {
  .team-logo {
    width: 32px;
    height: 32px;
  }
  
  .team-logo-small {
    width: 20px;
    height: 20px;
  }
  
  .nhl-stat-card .stat-value {
    font-size: 18px;
  }
}

/* =============================================
   nba Animation Effects
   ============================================= */

@keyframes nhl-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.nhl-loading {
  animation: nhl-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.nhl-fade-in {
  animation: fadeIn 0.5s ease-in;
}

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

/* =============================================
   nba Accessibility Enhancements
   ============================================= */

.nhl-focus-visible:focus-visible {
  outline: 2px solid var(--nhl-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .nhl-game-card {
    border-width: 2px;
  }
  
  .nhl-stat-card {
    border-width: 2px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .nhl-game-card,
  .nhl-stat-card {
    transition: none;
  }
  
  .nhl-loading,
  .nhl-fade-in {
    animation: none;
  }
}

/* =============================================
   nba Print Styles
   ============================================= */

@media print {
  .nhl-gradient,
  .nhl-gradient-subtle {
    background: none !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  
  .nhl-game-card {
    border: 1px solid #000;
    break-inside: avoid;
  }
  
  .team-logo {
    filter: grayscale(100%);
  }
}

/* =============================================
   Table Sorting Styles
   ============================================= */

.sortable-header .sort-icon {
  opacity: 0.3;
  transition: all 0.2s ease;
}

.sortable-header:hover .sort-icon {
  opacity: 0.6;
}

.sortable-header.sort-asc .sort-icon,
.sortable-header.sort-desc .sort-icon {
  opacity: 1;
}

.sortable-header .sort-icon {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* =============================================
   NBA Player Props Table Enhancements
   ============================================= */

.nhl-props-table {
  border-collapse: separate;
  border-spacing: 0;
}

.nhl-props-table th {
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease;
}

.nhl-props-table th:hover {
  background-color: var(--nhl-primary);
  color: white;
}

/* Scrollable table containers with sticky headers */
.rankings-table-container {
  max-height: 600px;
  overflow-y: auto;
  overflow-x: auto;
  position: relative;
  scroll-behavior: smooth;
}

/* Also apply to any overflow containers with tables */
.overflow-x-auto {
  scroll-behavior: smooth;
}

/* Optional: Add scrollable containers to JavaScript-generated tables if needed */
/* These will scroll with the page by default, which is often better UX */

/* Sticky headers for all NHL tables - universal approach */
.nhl-props-table thead th,
.power-players-table thead th,
.rankings-table-container table thead th {
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 2px solid rgba(0, 149, 255, 0.2);
}

/* Dark mode sticky header adjustments */
.dark .nhl-props-table thead th,
.dark .power-players-table thead th,
.dark .rankings-table-container table thead th {
  background-color: #09090b;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  border-bottom: 2px solid rgba(59, 130, 246, 0.3);
}

/* Ensure proper stacking context for sticky headers */
.nhl-props-table thead,
.power-players-table thead,
.rankings-table-container table thead {
  position: relative;
  z-index: 10;
}

/* Ensure tbody doesn't overlap sticky header */
.nhl-props-table tbody,
.power-players-table tbody,
.rankings-table-container table tbody {
  position: relative;
  z-index: 1;
}

/* =============================================
   Heatmap Classes - Single Color with Opacity Variations
   ============================================= */

/* Define custom transparency values for heatmapping */
.nhl-transparency-10 { background-color: rgba(0, 149, 255, 0.1); }
.nhl-transparency-20 { background-color: rgba(0, 149, 255, 0.2); }
.nhl-transparency-30 { background-color: rgba(0, 149, 255, 0.3); }
.nhl-transparency-40 { background-color: rgba(0, 149, 255, 0.4); }
.nhl-transparency-50 { background-color: rgba(0, 149, 255, 0.5); }
.nhl-transparency-60 { background-color: rgba(0, 149, 255, 0.6); }
.nhl-transparency-70 { background-color: rgba(0, 149, 255, 0.7); }
.nhl-transparency-80 { background-color: rgba(0, 149, 255, 0.8); }
.nhl-transparency-90 { background-color: rgba(0, 149, 255, 0.9); }

/* Improved heatmap with better contrast and visual patterns */
/* Uses combination of background, border, and visual indicators for accessibility */

.nhl-heatmap-very-high {
  background-color: rgba(0, 119, 204, 1);
  color: white;
  font-weight: 600;
  border-left: 4px solid rgba(0, 149, 255, 1);
  position: relative;
}

.nhl-heatmap-high {
  background-color: rgba(0, 149, 255, 0.65);
  color: var(--foreground);
  font-weight: 500;
  border-left: 3px solid rgba(0, 149, 255, 0.85);
}

.nhl-heatmap-medium {
  background-color: rgba(0, 149, 255, 0.35);
  color: var(--foreground);
  border-left: 2px solid rgba(0, 149, 255, 0.6);
}

.nhl-heatmap-low {
  background-color: rgba(0, 149, 255, 0.15);
  color: var(--foreground);
  border-left: 1px solid rgba(0, 149, 255, 0.4);
}

.nhl-heatmap-very-low {
  background-color: transparent;
  color: var(--foreground);
  border-left: 1px solid rgba(156, 163, 175, 0.2);
}

/* Dark mode adjustments - improved contrast for WCAG AA compliance */
.dark .nhl-heatmap-very-high {
  background-color: rgba(29, 78, 216, 1);
  color: white;
  font-weight: 600;
  border-left: 4px solid rgb(37, 99, 235);
}

.dark .nhl-heatmap-high {
  background-color: rgba(37, 99, 235, 0.75);
  color: white;
  font-weight: 500;
  border-left: 3px solid rgba(37, 99, 235, 0.95);
}

.dark .nhl-heatmap-medium {
  background-color: rgba(59, 130, 246, 0.4);
  color: white;
  border-left: 2px solid rgba(59, 130, 246, 0.75);
}

.dark .nhl-heatmap-low {
  background-color: rgba(59, 130, 246, 0.2);
  color: var(--foreground);
  border-left: 1px solid rgba(59, 130, 246, 0.5);
}

.dark .nhl-heatmap-very-low {
  background-color: transparent;
  color: var(--foreground);
  border-left: 1px solid rgba(156, 163, 175, 0.3);
}

/* =============================================
   Number Alignment and Typography
   ============================================= */

/* Ensure consistent decimal alignment */
.tabular-nums {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* =============================================
   Heatmap Legend Styling
   ============================================= */

.nhl-heatmap-legend {
  border: 1px solid rgba(0, 149, 255, 0.2);
  background: rgba(0, 149, 255, 0.05);
}

.nhl-heatmap-legend .w-4.h-4 {
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.nhl-heatmap-legend .w-4.h-4:hover {
  transform: scale(1.2);
}

/* =============================================
   Filter Controls Styling
   ============================================= */

.nhl-props-filters {
  border-radius: 8px;
}

.filter-group label {
  color: var(--nhl-primary);
  font-weight: 600;
}

.filter-btn {
  transition: all 0.2s ease;
  font-weight: 500;
}

.filter-btn:hover {
  background-color: var(--nhl-primary);
  color: white;
  border-color: var(--nhl-primary);
}

.filter-btn.active {
  background-color: var(--nhl-primary);
  color: black;
  border-color: var(--nhl-primary);
  font-weight: 600;
}

.dark .filter-btn.active {
  background-color: var(--nhl-primary);
  color: white;
  border-color: var(--nhl-primary);
  font-weight: 600;
}
/* Grayed out rows when filtered */
.player-row.filtered-out {
  opacity: 0.3;
  background-color: rgba(156, 163, 175, 0.1);
}

.player-row.filtered-out .stat-cell {
  background-color: transparent !important;
  color: rgb(156, 163, 175) !important;
}

/* =============================================
   Responsive Adjustments for Props Table
   ============================================= */

@media (max-width: 768px) {
  .nhl-props-filters .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .filter-btn {
    font-size: 10px;
    padding: 4px 6px;
  }
  
  .nhl-props-table th,
  .nhl-props-table td {
    padding: 8px 4px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .nhl-props-filters .grid {
    grid-template-columns: 1fr;
  }
  
  .nhl-props-table {
    font-size: 11px;
  }
}

/* =============================================
   Matchup Detail Mode Toggle
   ============================================= */

.matchup-mode-btn {
  font-family: inherit;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.matchup-mode-btn.bg-primary {
  background: var(--nhl-gradient);
  color: white;
  box-shadow: 0 2px 8px rgba(0, 149, 255, 0.3);
}

.matchup-mode-btn.bg-muted {
  background: rgba(0, 149, 255, 0.1);
  border: 1px solid rgba(0, 149, 255, 0.2);
}

.matchup-mode-btn.bg-muted:hover {
  background: rgba(0, 149, 255, 0.15);
  border-color: rgba(0, 149, 255, 0.3);
}

.matchup-mode-btn:active {
  transform: translateY(1px);
}

/* =============================================
   Player Cards (Group Cards View)
   ============================================= */

.player-card {
  background: linear-gradient(135deg, rgba(0, 149, 255, 0.05) 0%, rgba(0, 149, 255, 0.08) 100%);
  border: 1px solid rgba(0, 149, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.player-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--nhl-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.player-card:hover::before {
  opacity: 1;
}

.player-card:hover {
  border-color: rgba(0, 149, 255, 0.4);
  box-shadow: 0 8px 20px rgba(0, 149, 255, 0.2);
  transform: translateY(-2px);
}

.dark .player-card {
  background: linear-gradient(135deg, rgba(0, 149, 255, 0.08) 0%, rgba(0, 149, 255, 0.12) 100%);
  border-color: rgba(0, 149, 255, 0.3);
}

.dark .player-card:hover {
  border-color: rgba(0, 149, 255, 0.5);
  box-shadow: 0 8px 20px rgba(0, 149, 255, 0.3);
}

/* Player card stat boxes */
.player-card .bg-muted\/30 {
  background-color: rgba(0, 149, 255, 0.1);
  transition: background-color 0.2s ease;
}

.player-card:hover .bg-muted\/30 {
  background-color: rgba(0, 149, 255, 0.15);
}

.dark .player-card .bg-muted\/30 {
  background-color: rgba(0, 149, 255, 0.15);
}

.dark .player-card:hover .bg-muted\/30 {
  background-color: rgba(0, 149, 255, 0.2);
}

/* Edge color coding */
.player-card .text-green-600 {
  color: rgb(22, 163, 74);
  font-weight: 700;
}

.player-card .text-red-600 {
  color: rgb(220, 38, 38);
  font-weight: 700;
}

.dark .player-card .text-green-600 {
  color: rgb(34, 197, 94);
}

.dark .player-card .text-red-600 {
  color: rgb(248, 113, 113);
}

/* Alt line groups */
.alt-line-group {
  animation: fadeInUp 0.4s ease-out;
}

/* Alt lines grid - 8 column layout with fixed card width */
.alt-lines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0.75rem;
  width: 100%;
}

/* On very large screens, cap at 8 columns */
@media (min-width: 1920px) {
  .alt-lines-grid {
    grid-template-columns: repeat(8, minmax(210px, 1fr));
  }
}

.threshold-group {
  animation: fadeInUp 0.4s ease-out;
}

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

/* =============================================
   Alt Lines Tab System
   ============================================= */

.alt-lines-tabs {
  border: 1px solid rgba(0, 149, 255, 0.2);
  background: rgba(0, 149, 255, 0.05);
}

.alt-line-tab-btn {
  font-family: inherit;
  border: none;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.alt-line-tab-btn.bg-primary {
  background: var(--nhl-gradient);
  color: white;
  box-shadow: 0 2px 6px rgba(0, 149, 255, 0.3);
}

.alt-line-tab-btn:hover {
  transform: translateY(-1px);
}

.dark .alt-lines-tabs {
  background: rgba(0, 149, 255, 0.1);
  border-color: rgba(0, 149, 255, 0.3);
}

/* Alt lines intro section */
.alt-lines-intro {
  border: 1px solid rgba(0, 149, 255, 0.2);
  background: rgba(0, 149, 255, 0.05);
}

.alt-lines-intro h3 {
  color: var(--nhl-primary);
  font-weight: 600;
}

.dark .alt-lines-intro {
  background: rgba(0, 149, 255, 0.08);
  border-color: rgba(0, 149, 255, 0.25);
}

/* =============================================
   Compact Player Cards
   ============================================= */

.compact-player-card {
  background: linear-gradient(135deg, rgba(0, 149, 255, 0.03) 0%, rgba(0, 149, 255, 0.06) 100%);
  border: 1px solid rgba(0, 149, 255, 0.2);
  transition: all 0.2s ease;
  min-height: 150px;
}

.compact-player-card:hover {
  border-color: rgba(0, 149, 255, 0.4);
  box-shadow: 0 4px 12px rgba(0, 149, 255, 0.15);
  transform: translateY(-2px);
}

.dark .compact-player-card {
  background: linear-gradient(135deg, rgba(0, 149, 255, 0.06) 0%, rgba(0, 149, 255, 0.1) 100%);
  border-color: rgba(0, 149, 255, 0.25);
}

.dark .compact-player-card:hover {
  border-color: rgba(0, 149, 255, 0.45);
  box-shadow: 0 4px 12px rgba(0, 149, 255, 0.25);
}

/* Visual progress bars in compact cards */
.compact-player-card .bg-green-500 {
  background-color: rgb(34, 197, 94);
}

.compact-player-card .bg-yellow-500 {
  background-color: rgb(234, 179, 8);
}

.compact-player-card .bg-red-500 {
  background-color: rgb(239, 68, 68);
}

/* Stat boxes within compact cards */
.compact-player-card .bg-muted\/20 {
  background-color: rgba(0, 149, 255, 0.08);
}

.dark .compact-player-card .bg-muted\/20 {
  background-color: rgba(0, 149, 255, 0.12);
}

/* =============================================
   Responsive Adjustments for Player Cards
   ============================================= */

@media (max-width: 768px) {
  .alt-lines-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

@media (max-width: 640px) {
  .alt-lines-grid {
    grid-template-columns: 1fr;
  }
  
  .compact-player-card {
    min-height: auto;
  }
  
  .matchup-mode-btn {
    font-size: 14px;
    padding: 8px 12px;
  }
  
  .alt-line-tab-btn {
    font-size: 12px;
    padding: 6px 10px;
  }
}

