html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #ffd23f;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.seal {
  position: relative;
  width: min(116px, 40vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  outline: none;
  cursor: pointer;
}

.seal__shape {
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 0%, 61% 12%, 75% 6%, 78% 20%, 93% 20%, 90% 35%, 100% 43%, 90% 55%, 96% 68%, 82% 70%, 80% 85%, 65% 80%, 58% 93%, 50% 82%, 42% 93%, 35% 80%, 20% 85%, 18% 70%, 4% 68%, 10% 55%, 0% 43%, 10% 35%, 7% 20%, 22% 20%, 25% 6%, 39% 12%);
  background: conic-gradient(from 0deg, #dcb9d1, #b9d9dc, #c8dcb9, #dcdab9, #dcb9d1);
  animation: seal-spin 2s linear infinite;
}

.seal__text {
  position: relative;
  z-index: 1;
  font-weight: 800;
  font-size: 13px;
  color: #17141a;
  font-family: inherit;
  background: #ffffff;
  padding: 8px 12px;
  border-radius: 999px;
}

.seal:hover .seal__shape,
.seal:focus-visible .seal__shape,
.seal.is-demo .seal__shape {
  animation-duration: 700ms;
}

@keyframes seal-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .seal__shape {
    animation: none;
  }
}
