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-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
}

.bell {
  transform-origin: 50% 12%;
  color: #ffd23f;
}

.count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #c2361a;
  color: #fff;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  font-weight: 700;
  font-size: 11px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  box-shadow: 0 0 0 2px #17141a;
  transform: scale(0);
}

.stage.is-demo .bell {
  animation: shake 2s cubic-bezier(0.2, 1.4, 0.4, 1) infinite;
}

.stage.is-demo .count {
  animation: pop-in 2s cubic-bezier(0.2, 1.4, 0.4, 1) infinite;
}

@keyframes shake {
  0%, 55%, 100% {
    transform: rotate(0deg);
  }
  60% {
    transform: rotate(-12deg);
  }
  65% {
    transform: rotate(10deg);
  }
  70% {
    transform: rotate(-7deg);
  }
  75% {
    transform: rotate(4deg);
  }
  80% {
    transform: rotate(0deg);
  }
}
@keyframes pop-in {
  0%, 52% {
    transform: scale(0);
  }
  62% {
    transform: scale(1.15);
  }
  74%, 100% {
    transform: scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .stage.is-demo .bell {
    animation: none;
  }
  .stage.is-demo .count {
    animation: none;
    transform: scale(1);
  }
}
