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

html, body {
  height: 100%;
  background: #2a1f08;
  color: #3a2a08;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#stage {
  position: relative;
  width: 540px;
  height: 960px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 200, 90, 0.30), transparent 60%),
    linear-gradient(180deg, #fbf3e0 0%, #f1e2c2 100%);
  border: 1px solid #d8b86a;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(60,40,0,0.5), inset 0 0 60px rgba(180,140,40,0.18);
  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(247,239,220,0.9), rgba(247,239,220,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.85;
}

.team .score {
  font-family: "SF Mono", "Menlo", "Courier New", monospace;
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  margin-top: 2px;
  transition: transform 0.15s ease;
}

.team.red .label, .team.red .score {
  color: #d8491c;
  text-shadow: 0 0 12px rgba(255, 106, 61, 0.5), 0 0 2px rgba(216, 73, 28, 0.9);
}

.team.blue .label, .team.blue .score {
  color: #1c6fb8;
  text-shadow: 0 0 12px rgba(61, 181, 255, 0.5), 0 0 2px rgba(28, 111, 184, 0.9);
}

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

.meta {
  text-align: center;
}

.meta .title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 5px;
  color: #8c6d24;
  text-shadow: 0 0 10px rgba(255,182,39,0.4);
  opacity: 0.95;
}

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

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

.ticker {
  position: absolute;
  left: 0; right: 0;
  bottom: 6px;
  text-align: center;
  font-family: "SF Mono", "Menlo", "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: #8c6d24;
  opacity: 0.6;
  pointer-events: none;
}
