.prizeOverlay{
  position:fixed;
  inset:0;
  background:rgba(6,10,20,0.92);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:999;
}
.prizeOverlay.hidden{ display:none; }
.prizeCard{
  width:min(520px, 92vw);
  background:#0f172a;
  border:1px solid rgba(255,255,255,0.12);
  border-radius:16px;
  padding:18px;
  text-align:center;
  box-shadow:0 20px 50px rgba(0,0,0,0.45);
}
.prizeTitle{
  font-size:22px;
  font-weight:800;
  margin:0 0 8px;
}
.prizeSub{
  color:#b9c2e6;
  font-size:13px;
  margin-bottom:12px;
}
.prizeCoins{
  font-size:28px;
  font-weight:800;
  color:#fbbf24;
  margin:8px 0 14px;
}
.prizeSticker{
  width:90px;
  height:90px;
  object-fit:contain;
  display:none;
  margin:6px auto 10px;
  border:2px solid rgba(255,255,255,0.2);
  border-radius:12px;
  background:rgba(15,23,42,0.6);
  padding:6px;
  box-sizing:border-box;
}
.prizeSticker.show{ display:block; }
.prizeBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:12px;
  border:0;
  font-weight:800;
  cursor:pointer;
  background:#22c55e;
  color:#05210f;
}
.finalStickerGrid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:10px;
  margin:10px auto 12px;
  max-width:320px;
}
.finalSticker{
  width:64px;
  height:64px;
  object-fit:contain;
  margin:0 auto;
  border:2px solid rgba(255,255,255,0.2);
  border-radius:10px;
  background:rgba(15,23,42,0.6);
  padding:6px;
  box-sizing:border-box;
}
.finalTrophyRow{
  display:flex;
  align-items:flex-end;
  justify-content:center;
  gap:12px;
  margin:6px 0 12px;
}
.finalTrophy{
  width:54px;
  height:auto;
  object-fit:contain;
}
.fireworks{
  position:absolute;
  inset:0;
  pointer-events:none;
  overflow:hidden;
}
.burst{
  position:absolute;
  width:12px;
  height:12px;
  border-radius:50%;
  background:#fbbf24;
  animation:burst 1.2s ease-out infinite;
  opacity:0.8;
}
.burst:nth-child(2){ background:#38bdf8; animation-delay:.15s; }
.burst:nth-child(3){ background:#22c55e; animation-delay:.3s; }
.burst:nth-child(4){ background:#f472b6; animation-delay:.45s; }
.burst:nth-child(5){ background:#f97316; animation-delay:.6s; }
.burst:nth-child(6){ background:#a78bfa; animation-delay:.75s; }

@keyframes burst{
  0%{ transform:translateY(40vh) scale(0.6); opacity:0; }
  30%{ opacity:1; }
  100%{ transform:translateY(-30vh) scale(1.8); opacity:0; }
}
