.dagiashi-celebration {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 12, 24, 0.72);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  backdrop-filter: blur(6px);
}

.dagiashi-celebration.is-visible {
  opacity: 1;
  visibility: visible;
}

.dagiashi-celebration-open {
  overflow: hidden;
}

.dagiashi-celebration__card {
  position: relative;
  max-width: 420px;
  width: 100%;
  padding: 32px 28px;
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff 0%, #f4f7ff 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  text-align: center;
  animation: dagiashi-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dagiashi-celebration__message {
  margin: 0 0 12px;
  font-size: 1.35rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
}

.dagiashi-celebration__hint {
  margin: 0;
  font-size: 0.95rem;
  color: #4b5563;
}

.dagiashi-celebration__burst {
  position: absolute;
  inset: -20px;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.18), transparent 65%);
  animation: dagiashi-pulse 1.2s ease-in-out infinite;
  pointer-events: none;
}

.dagiashi-trigger.is-busy {
  pointer-events: none;
  opacity: 0.85;
}

@keyframes dagiashi-pop {
  from {
    transform: scale(0.88);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes dagiashi-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}
