.aioj-ac-celebrate {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(17, 24, 39, 0.45);
  animation: aioj-ac-fade 0.25s ease;
}
.aioj-ac-celebrate__card {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: min(420px, calc(100vw - 32px));
  padding: 28px 24px 22px;
  border-radius: 14px;
  background: #fff;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  animation: aioj-ac-pop 0.35s ease forwards;
}
.aioj-ac-celebrate__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: linear-gradient(145deg, #60a5fa, #2563eb);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.04em;
}
.aioj-ac-celebrate__card h2 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 22px;
  font-weight: 700;
}
.aioj-ac-celebrate__card p {
  margin: 0 0 18px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
}
.aioj-ac-celebrate__btn {
  min-width: 120px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: #0072ff;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.aioj-ac-celebrate__btn:hover {
  background: #0665e0;
}
@keyframes aioj-ac-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes aioj-ac-pop {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.aioj-ac-fireworks {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.aioj-ac-fireworks__burst {
  position: absolute;
  width: 0;
  height: 0;
}
.aioj-ac-fireworks__spark,
.aioj-ac-fireworks__rocket,
.aioj-ac-fireworks__ring {
  position: absolute;
  display: block;
  border-radius: 50%;
  pointer-events: none;
}
.aioj-ac-fireworks__spark {
  width: var(--size);
  height: var(--size);
  background: currentColor;
  box-shadow: 0 0 7px currentColor;
  animation: aioj-ac-spark 1700ms cubic-bezier(.16,.7,.3,1) var(--burst) both;
}
.aioj-ac-fireworks__rocket {
  width: 3px;
  height: 28px;
  background: linear-gradient(to bottom, #fff, currentColor 30%, transparent);
  box-shadow: 0 -3px 9px currentColor;
  animation: aioj-ac-launch 650ms ease-out var(--launch) both;
}
.aioj-ac-fireworks__spark::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 2px;
  right: 1px;
  top: 1px;
  border-radius: 50%;
  background: linear-gradient(to right, transparent, currentColor);
  transform-origin: right center;
  transform: rotate(var(--angle));
}
.aioj-ac-fireworks__ring {
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 1px solid currentColor;
  box-shadow: 0 0 12px currentColor;
  animation: aioj-ac-ring 650ms ease-out var(--burst) both;
}
@keyframes aioj-ac-launch {
  0% { opacity: 0; transform: translateY(230px) scaleY(1.3); }
  15% { opacity: .9; }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translateY(0) scaleY(.3); }
}
@keyframes aioj-ac-spark {
  0% { opacity: 0; transform: translate(0, 0) scale(.2); }
  8% { opacity: 1; }
  65% { opacity: .95; transform: translate(var(--x), var(--y)) scale(1); }
  100% { opacity: 0; transform: translate(var(--x), var(--fall)) scale(.2); }
}
@keyframes aioj-ac-ring {
  0% { opacity: 0; transform: scale(.1); }
  15% { opacity: .65; }
  100% { opacity: 0; transform: scale(2.2); }
}

@media (prefers-reduced-motion: reduce) {
  .aioj-ac-fireworks { display: none; }
  .aioj-ac-celebrate, .aioj-ac-celebrate__card { animation: none; }
}
