body {
  font-family: Arial, sans-serif;
  background: #050505;
  color: white;
  text-align: center;
  margin: 0;
  padding: 20px;
  user-select: none;
}

.title {
  font-size: 34px;
  margin-bottom: 20px;
  opacity: 0.85;
}

.match-loader {
  margin-bottom: 15px;
}

input {
  font-size: 22px;
  padding: 14px;
  width: 420px;
  max-width: 80%;
  border-radius: 10px;
  border: none;
  margin-right: 10px;
}

button {
  font-size: 22px;
  padding: 14px 24px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}

.status {
  font-size: 20px;
  margin: 12px;
  opacity: 0.8;
}

.scoreboard {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.team {
  border: 3px solid #444;
  border-radius: 24px;
  padding: 42px;
  min-width: 360px;
  min-height: 360px;
  background: #0d0d0d;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.team-name {
  font-size: 48px;
  margin-bottom: 20px;
}

.score {
  font-size: 140px;
  font-weight: bold;
  line-height: 1;
}

.games {
  font-size: 42px;
  margin-top: 30px;
  color: #ffd966;
}

.sets {
  font-size: 34px;
  margin-top: 10px;
  opacity: 0.9;
}

.message {
  font-size: 36px;
  margin: 15px;
  color: #ffd966;
  min-height: 45px;
}

.last-updated {
  font-size: 18px;
  opacity: 0.6;
}

@media (max-width: 900px) {
  .team {
    min-width: 85%;
  }

  .score {
    font-size: 110px;
  }
}

.team {
  cursor: pointer;
  transition: transform 0.08s ease, background 0.08s ease;
}

.team:active {
  transform: scale(0.98);
  background: #1a1a1a;
}

.controls {
  margin-top: 10px;
}

.secondary {
  background: #ffd966;
  color: black;
}

.danger {
  background: #ff6666;
  color: black;
}

.hidden {
  display: none;
}

.disabled {
  opacity: 0.4;
  pointer-events: none;
}