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

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

.bell {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #fff7e6;
  cursor: pointer;
}
.bell:hover, .bell:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.bell__body {
  transform-box: fill-box;
  transform-origin: 50% 0%;
}

.badge {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #2f6df6;
  color: #fff;
  font-weight: 700;
  font-size: 10px;
  line-height: 1;
  font-family: inherit;
}

.bell.is-demo .bell__body {
  animation: shake 2s ease-out infinite;
}

.bell.is-demo .badge {
  animation: pulse 2s ease-out infinite;
}

@keyframes shake {
  0%, 55%, 100% {
    transform: rotate(0deg);
  }
  60% {
    transform: rotate(-14deg);
  }
  65% {
    transform: rotate(12deg);
  }
  70% {
    transform: rotate(-8deg);
  }
  75% {
    transform: rotate(5deg);
  }
  80% {
    transform: rotate(0deg);
  }
}
@keyframes pulse {
  0%, 55%, 100% {
    transform: scale(1);
  }
  60% {
    transform: scale(1.3);
  }
  70% {
    transform: scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .bell.is-demo .bell__body {
    animation: none;
  }
  .bell.is-demo .badge {
    animation: none;
  }
}
