* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: transparent;
  font-family: 'Segoe UI', system-ui, sans-serif;
}

.score-board {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 40px 60px;
  pointer-events: none;
}

.score-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 140px;
  transition: transform 0.3s ease;
}

.score-side.active {
  transform: scale(1.05);
}

.score-label {
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  padding: 6px 16px;
  border-radius: 4px;
}

.score-red .score-label {
  background: rgba(231, 76, 60, 0.9);
  color: white;
}

.score-blue .score-label {
  background: rgba(52, 152, 219, 0.9);
  color: white;
}

.score-tower-wrap {
  width: 100px;
  height: 400px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px 8px 4px 4px;
  padding: 8px;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.score-tower {
  width: 100%;
  min-height: 8px;
  border-radius: 4px 4px 2px 2px;
  transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.score-red .score-tower {
  background: linear-gradient(180deg, #ff6b5b, #c0392b);
  box-shadow: 0 0 20px rgba(231, 76, 60, 0.5);
}

.score-blue .score-tower {
  background: linear-gradient(180deg, #5dade2, #2980b9);
  box-shadow: 0 0 20px rgba(52, 152, 219, 0.5);
}

.score-side.active .score-tower-wrap {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.score-value {
  margin-top: 12px;
  font-size: 48px;
  font-weight: 900;
  color: white;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.score-red .score-value {
  color: #ff6b5b;
}

.score-blue .score-value {
  color: #5dade2;
}

.score-side.score-flash .score-tower {
  animation: towerFlash 0.5s ease;
}

@keyframes towerFlash {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.5); }
}
