body {
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  padding: 0;
  background: #000;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  height: 100vh;
}

.stats-container {
  width: 100%;
  max-width: 860px;
  max-height: 95vh;
  background: #1d2d50;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  overflow-y: auto;
}

.header {
  text-align: center;
  margin-bottom: 20px;
}

.header h1 {
  font-size: 24px;
  color: #ffffff;
  margin: 0;
}

.player-names {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 22px;
  font-weight: bold;
  background: #406343;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.player-names div {
  flex: 1;
  text-align: center;
  color: #fff;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #243a5e;
  margin: 6px 0;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 17px;
}

.stat-row span {
  flex: 1;
  text-align: center;
}

.stat-label {
  font-weight: bold;
  color: #eee;
}

@media screen and (max-width: 768px) {
  .stats-container {
    padding: 15px;
  }

  .player-names {
    flex-direction: column;
    font-size: 20px;
  }

  .stat-row {
    flex-direction: column;
    font-size: 16px;
  }

  .stat-row span {
    margin: 4px 0;
  }
}

  .set-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
  }
  .set-buttons button {
    padding: 6px 12px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    background-color: #2b5236;
    color: white;
    cursor: pointer;
  }

.set-buttons button:hover {
  background-color: #1e3d28;
}

.set-buttons button.active {
  background-color: #fff;
  color: #2b5236;
  font-weight: 900;
}

.set-buttons button {
  transition: background-color 0.3s ease, color 0.3s ease;
}

.set-summary {
  text-align: center;
  font-size: 18px;
  margin-top: 8px;
  margin-bottom: 16px;
  color: #ddd;
  font-weight: 500;
}
