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

html, body {
  height: 100%;
  background: #0a0608;
  color: #f3e9dc;
  font-family: "Hoefler Text", "Baskerville", Georgia, "Times New Roman", serif;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#stage {
  position: relative;
  width: 540px;
  height: 960px;
  background:
    radial-gradient(ellipse at 50% -4%, rgba(247, 225, 200, 0.16), transparent 58%),
    radial-gradient(ellipse at 50% 30%, rgba(212, 150, 160, 0.08), transparent 60%),
    linear-gradient(180deg, #1a0e12 0%, #0a0608 100%);
  border: 1px solid #2a1820;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7), inset 0 0 70px rgba(0,0,0,0.5);
  overflow: hidden;
}

#scoreboard {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0));
  z-index: 10;
  pointer-events: none;
}

.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 110px;
}

.team .label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 5px;
  opacity: 0.85;
}

.team .score {
  font-family: "Hoefler Text", "Baskerville", Georgia, serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  margin-top: 2px;
  transition: transform 0.15s ease;
}

/* CORPS (ivory / pearl swans) */
.team.red .label, .team.red .score {
  color: #f3e9dc;
  text-shadow: 0 0 14px rgba(243, 233, 220, 0.6), 0 0 2px rgba(243, 233, 220, 0.9);
}

/* SOLO (dusty rose) */
.team.blue .label, .team.blue .score {
  color: #d99aa8;
  text-shadow: 0 0 14px rgba(217, 154, 168, 0.6), 0 0 2px rgba(217, 154, 168, 0.9);
}

.score.bump { transform: scale(1.35); }

.meta {
  text-align: center;
}

.meta .title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 8px;
  opacity: 0.9;
  color: #e8c98a;
  text-shadow: 0 0 12px rgba(232, 201, 138, 0.4);
}

.meta .subtitle {
  font-size: 11px;
  letter-spacing: 3px;
  opacity: 0.55;
  margin-top: 4px;
  font-style: italic;
}

#game {
  display: block;
  width: 100%;
  height: 100%;
}

.ticker {
  position: absolute;
  left: 0; right: 0;
  bottom: 6px;
  text-align: center;
  font-family: "Hoefler Text", "Baskerville", Georgia, serif;
  font-style: italic;
  font-size: 12px;
  letter-spacing: 2px;
  opacity: 0.45;
  pointer-events: none;
}

/* Standing-ovation glow: warm gold pulse instead of the base red quake shake */
@keyframes ovation {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-1px, 0.5px); }
  50%  { transform: translate(1px, -0.5px); }
  75%  { transform: translate(-0.5px, 1px); }
  100% { transform: translate(0, 0); }
}

#stage.shaking {
  animation: ovation 0.9s ease-in-out infinite;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7),
              inset 0 0 70px rgba(0,0,0,0.5),
              0 0 48px rgba(232, 201, 138, 0.55);
}
