:root {
  --passed-bg: #d4edda;
  --passed-border: #28a745;
  --eliminated-bg: #f8d7da;
  --eliminated-border: #dc3545;
  --winner-gold: #fff3cd;
  --winner-border: #ffc107;
  --finalist-silver: #e2e3e5;
  --finalist-border: #6c757d;
}

body {
  font-family: sans-serif;
  background-color: #f4f4f9;
  padding: 20px;
}

.tournament-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 20px;
  align-items: flex-start;
}

.round {
  flex: 0 0 180px;
  display: flex;
  flex-direction: column;
}

.round h3 {
  text-align: center;
  font-size: 1rem;
  color: #555;
  border-bottom: 2px solid #ddd;
  padding-bottom: 10px;
}

.player-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.player {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  background-color: #fff;
  transition: transform 0.2s;
}

.score {
  font-weight: bold;
  background: rgba(0, 0, 0, 0.05);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.8rem;
}

.pts-prev {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: #eee;
  padding: 2px 5px;
  border-radius: 3px;
}

/* Status Colors */
.incognito {
  background-color: white;
  border-color: black;
  color: black;
}

.passed {
  background-color: var(--passed-bg);
  border-color: var(--passed-border);
  color: #155724;
}

.eliminated {
  background-color: var(--eliminated-bg);
  border-color: var(--eliminated-border);
  color: #721c24;
  opacity: 0.7;
}

.winner {
  background-color: var(--winner-gold);
  border-color: var(--winner-border);
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.finalist {
  background-color: var(--finalist-silver);
  border-color: var(--finalist-border);
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

