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

.icon-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
}

.icon {
  color: #ffd23f;
}

.dot {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c2361a;
  box-shadow: 0 0 0 2px #17141a;
}

.dot__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #c2361a;
  opacity: 0;
  transform: scale(1);
}

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

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

@keyframes double-pulse {
  0%, 100% {
    transform: scale(1);
  }
  8%, 24% {
    transform: scale(1.35);
  }
  16% {
    transform: scale(1);
  }
  32% {
    transform: scale(1);
  }
}
@keyframes double-ring {
  0%, 6% {
    opacity: 0;
    transform: scale(1);
  }
  20% {
    opacity: 0.5;
    transform: scale(2.4);
  }
  34% {
    opacity: 0;
    transform: scale(2.6);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}
.icon-wrap::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(194, 54, 26, 0);
  opacity: 0;
  pointer-events: none;
}

.stage.is-demo .dot {
  animation: double-pulse 2s cubic-bezier(0.2, 1.4, 0.4, 1) infinite, dot-tint 2s ease-out infinite;
}

.stage.is-demo .icon-wrap::after {
  animation: wake-ripple 2s cubic-bezier(0.2, 1.4, 0.4, 1) infinite;
}

@keyframes dot-tint {
  0%, 18% {
    background-color: #c2361a;
  }
  24% {
    background-color: rgb(84.4509803922%, 48.7647058824%, 41.6274509804%);
  }
  38%, 100% {
    background-color: #c2361a;
  }
}
@keyframes wake-ripple {
  0%, 18% {
    opacity: 0;
    transform: scale(0.9);
    border-color: rgba(194, 54, 26, 0);
  }
  26% {
    opacity: 0.7;
    transform: scale(1);
    border-color: rgba(84.4509803922%, 43.5490196078%, 34.2156862745%, 0.85);
  }
  52%, 100% {
    opacity: 0;
    transform: scale(2.2);
    border-color: rgba(194, 54, 26, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .stage.is-demo .dot {
    animation: none;
  }
  .stage.is-demo .dot__ring {
    animation: none;
    opacity: 0;
  }
  .stage.is-demo .icon-wrap::after {
    animation: none;
    opacity: 0;
  }
}
