.stage-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 22px;
}
.stage-event {
  flex: 1;
  min-width: 160px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}
.stage-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.stage-controls select {
  width: auto;
  background: rgba(19, 33, 60, 0.7);
}
.stage-btn {
  appearance: none;
  border: 1px solid var(--dash);
  background: rgba(19, 33, 60, 0.7);
  color: var(--fg);
  border-radius: 12px;
  min-width: 46px;
  min-height: 46px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.stage {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 22px 64px;
  text-align: center;
}
.prize-name {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--offwhite);
}
.prize-meta {
  color: var(--muted);
  margin: 6px 0 28px;
}

.reel {
  margin: 0 auto;
  width: min(100%, 920px);
  min-height: 220px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(251, 246, 240, 0.09), rgba(251, 246, 240, 0.03));
  border: 2px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 22px;
  box-shadow:
    inset 0 0 60px rgba(0, 0, 0, 0.25),
    0 40px 90px -40px rgba(0, 0, 0, 0.95);
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}
.reel-name {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7.5vw, 5rem);
  font-weight: 900;
  line-height: 1.12;
  word-break: break-word;
}
.reel-sub {
  margin-top: 10px;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--fg-2);
  min-height: 1.5em;
}
.reel.spinning .reel-name {
  opacity: 0.85;
}
.reel.winner {
  border-color: var(--cadet);
  background: var(--cadet);
  color: var(--navy);
  transform: scale(1.03);
  animation: glow 1.4s ease-in-out infinite alternate;
}
.reel.winner .reel-sub {
  color: rgba(19, 33, 60, 0.75);
}
@keyframes glow {
  from {
    box-shadow:
      0 0 0 8px rgba(150, 207, 212, 0.18),
      0 0 80px rgba(150, 207, 212, 0.35);
  }
  to {
    box-shadow:
      0 0 0 14px rgba(150, 207, 212, 0.1),
      0 0 130px rgba(150, 207, 212, 0.55);
  }
}

.draw-btn {
  appearance: none;
  border: 0;
  margin-top: 32px;
  font: inherit;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 900;
  padding: 18px 52px;
  border-radius: 999px;
  color: var(--navy);
  background: linear-gradient(180deg, #c9eaed, var(--cadet));
  box-shadow:
    0 10px 0 #5b9ea5,
    0 24px 44px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition:
    transform 0.08s ease,
    box-shadow 0.08s ease;
}
.draw-btn .ic {
  width: 28px;
  height: 28px;
  stroke-width: 2.4;
}
.draw-btn:active:not(:disabled) {
  transform: translateY(6px);
  box-shadow:
    0 4px 0 #5b9ea5,
    0 12px 22px rgba(0, 0, 0, 0.45);
}
.draw-btn:disabled {
  filter: grayscale(0.6);
  opacity: 0.55;
  cursor: not-allowed;
}
.stage-hint {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--muted);
}

.winner-board {
  margin-top: 44px;
  text-align: left;
}
.winner-board h2 {
  text-align: center;
  font-size: 1.35rem;
}
.winner-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.winner-item {
  background: linear-gradient(180deg, rgba(251, 246, 240, 0.085), rgba(251, 246, 240, 0.03));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  animation: winner-in 0.5s ease backwards;
}
.winner-item.forfeited {
  opacity: 0.45;
  text-decoration: line-through;
}
.winner-item.claimed {
  border-color: var(--cadet);
}
.winner-item .wn {
  font-weight: 800;
  font-size: 1.15rem;
}
.winner-item .wm {
  color: var(--muted);
  font-size: 0.85rem;
}
.winner-item .wa {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}
@keyframes winner-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
}

#confetti {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 100;
}
