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);
}

.hm {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(360px, 90vw);
  text-align: center;
}

.hm__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
}

.hm__ring {
  position: absolute;
  inset: 0;
  border: 3px solid #d8d6eb;
  border-radius: 50%;
  scale: 1;
  opacity: 0.34;
}

.hm__ring--b {
  scale: 1.34;
  opacity: 0.18;
}

.hm__badge {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #9791c9;
  color: #ffffff;
}

.hm__copy {
  margin: 0;
  color: #b6b0c0;
  font-weight: 600;
  font-size: clamp(13px, 3.6vw, 15px);
  line-height: 1.3;
}

.hm__btn {
  margin: 0;
  padding: 8px 20px;
  border: 0;
  border-radius: 999px;
  background: #ffd23f;
  color: #17141a;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hm__btn:hover {
  transform: translateY(-2px);
}

.hm__btn:focus-visible {
  outline: 2px solid #d8d6eb;
  outline-offset: 3px;
}

.hm__live {
  margin: 0;
  color: #d8d6eb;
  font-weight: 500;
  font-size: 11px;
  line-height: 1.3;
}

.hm.is-demo .hm__ring {
  animation-name: hmRing;
  animation-duration: 2s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
  animation-fill-mode: backwards;
}

.hm.is-demo .hm__ring--b {
  animation-delay: -1s;
}

@keyframes hmRing {
  0% {
    scale: 0.58;
    opacity: 0.62;
  }
  88% {
    scale: 1.9;
    opacity: 0;
  }
  88.01%, 100% {
    scale: 0.58;
    opacity: 0;
  }
}
@media (max-width: 340px), (max-height: 220px) {
  .hm {
    gap: 8px;
  }
  .hm__mark {
    width: 56px;
    height: 56px;
  }
  .hm__badge {
    width: 44px;
    height: 44px;
  }
  .hm__badge svg {
    width: 24px;
    height: 24px;
  }
  .hm__btn {
    padding: 8px 16px;
    font-size: 12px;
  }
  .hm__live {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hm__ring {
    animation: none !important;
  }
  .hm__ring--a {
    scale: 1 !important;
    opacity: 0.34 !important;
  }
  .hm__ring--b {
    scale: 1.34 !important;
    opacity: 0.18 !important;
  }
  .hm__btn {
    transition: none !important;
  }
}
