/* Stats & Standings Module Styles */
.stats-header-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-kpi-card {
  text-align: center;
  padding: 1.25rem;
}

.stat-kpi-val {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-cyan);
}

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

.stats-table-wrapper {
  overflow-x: auto;
  margin-bottom: 2rem;
}

.stats-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.stats-table th {
  background: rgba(255, 255, 255, 0.04);
  padding: 0.85rem 1rem;
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--glass-border);
}

.stats-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-table tr.racing-row {
  background: rgba(0, 75, 147, 0.25);
  font-weight: 700;
}

.stats-table tr:hover:not(.racing-row) {
  background: rgba(255, 255, 255, 0.03);
}

.form-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  margin-right: 3px;
}

.form-v { background: var(--color-success); color: white; }
.form-n { background: var(--color-warning); color: white; }
.form-d { background: var(--color-danger); color: white; }

.squad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.player-card-mini {
  text-align: center;
  padding: 1.25rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.player-card-mini .player-num {
  position: absolute;
  top: 10px;
  right: 15px;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  opacity: 0.15;
}

.player-avatar-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin: 0 auto 0.75rem auto;
  border: 2px solid var(--color-primary-light);
  object-fit: cover;
  background: var(--bg-dark-elevated);
}
