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

html, body {
  height: 100%;
  background: #18120c;
  color: #f4e2c1;
  font-family: "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% 12%, rgba(255, 190, 130, 0.45), transparent 55%),
    linear-gradient(180deg, #f6b27a 0%, #d97a6a 28%, #6a4a5e 60%, #1d2a1e 100%);
  border: 1px solid #3a2a1a;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.65), inset 0 0 80px rgba(40, 22, 30, 0.55);
  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(20, 12, 8, 0.55), rgba(20, 12, 8, 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: 800;
  letter-spacing: 4px;
  opacity: 0.9;
  font-family: "Georgia", serif;
}

.team .score {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  margin-top: 2px;
  transition: transform 0.15s ease;
}

.team.red .label, .team.red .score {
  color: #ffb14a;
  text-shadow: 0 0 14px rgba(255, 177, 74, 0.7), 0 0 2px rgba(255, 177, 74, 0.9);
}

.team.blue .label, .team.blue .score {
  color: #6fb7d8;
  text-shadow: 0 0 14px rgba(111, 183, 216, 0.7), 0 0 2px rgba(111, 183, 216, 0.9);
}

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

.meta {
  text-align: center;
}

.meta .title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 6px;
  opacity: 0.95;
  color: #fff2d0;
  text-shadow: 0 0 10px rgba(255, 170, 90, 0.5);
}

.meta .subtitle {
  font-size: 11px;
  letter-spacing: 3px;
  opacity: 0.6;
  margin-top: 4px;
  color: #d8c08a;
}

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

.ticker {
  position: absolute;
  left: 0; right: 0;
  bottom: 6px;
  text-align: center;
  font-family: "Georgia", serif;
  font-style: italic;
  font-size: 11px;
  letter-spacing: 2px;
  opacity: 0.55;
  pointer-events: none;
  color: #f4e2c1;
}

@keyframes monsoonShake {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-2px, 1px); }
  40%  { transform: translate(2px, -1px); }
  60%  { transform: translate(-1px, 2px); }
  80%  { transform: translate(1px, -2px); }
  100% { transform: translate(0, 0); }
}

#stage.shaking {
  animation: monsoonShake 0.5s linear infinite;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6),
              inset 0 0 80px rgba(40, 22, 30, 0.55),
              0 0 60px rgba(80, 140, 200, 0.65);
}
