/* Tournament results: skins, flights, full leaderboard (admin + public) */

.flight-result-card {
  border-radius: 0.5rem;
  overflow: hidden;
}

.flight-card-header {
  background: var(--bs-secondary, #6c757d);
  color: var(--bs-white, #fff);
  font-size: 1rem;
}

.flight-standings {
  font-size: 0.9rem;
}

.flight-standing-item {
  margin-bottom: 0.15rem;
}

.flight-standing-item:last-child {
  margin-bottom: 0;
}

.flight-place {
  font-weight: 600;
  min-width: 2.5rem;
}

.flight-team-name {
  flex: 1;
  margin: 0 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flight-total-score {
  min-width: 1.75rem;
  text-align: right;
}

.flight-place-1 {
  background: linear-gradient(135deg, #f6e05e 0%, #ecc94b 50%, #d69e2e 100%);
  color: #1a202c;
}

.flight-place-2 {
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 50%, #a0aec0 100%);
  color: #1a202c;
}

.flight-place-3 {
  background: linear-gradient(135deg, #edb88b 0%, #d69e6a 50%, #b7794a 100%);
  color: #1a202c;
}

.skins-hole-won {
  background-color: rgba(124, 197, 118, 0.15);
}

.skins-hole-tie {
  background-color: rgba(255, 193, 7, 0.12);
}

.skins-calculation-details summary {
  cursor: pointer;
  list-style: none;
}

.skins-calculation-details summary::-webkit-details-marker {
  display: none;
}

.full-results-table {
  font-size: 0.85rem;
}

.full-results-table-compact {
  font-size: 0.75rem;
}

.full-results-table .hole-col {
  width: 1.75rem;
  padding-left: 0.2rem;
  padding-right: 0.2rem;
}

.full-results-table .team-name-col {
  min-width: 8rem;
  white-space: nowrap;
}

#tournament-results-public .results-loading {
  min-height: 4rem;
}

#tournament-results-public .results-empty {
  text-align: center;
  color: var(--default-color, #555);
}
