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

.stage {
  position: relative;
  overflow: hidden;
  cursor: none;
}

.hint {
  margin: 0;
  font-weight: 700;
  font-size: clamp(16px, 5vw, 22px);
  line-height: 1.3;
  font-family: inherit;
  color: rgba(23, 20, 26, 0.72);
}

.dot,
.ring {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
}

.dot {
  width: 8px;
  height: 8px;
  background: #17141a;
}

.ring {
  width: 34px;
  height: 34px;
  margin: -13px 0 0 -13px;
  border: 2px solid #17141a;
  transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dot.is-demo {
  animation: cursor-path 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.ring.is-demo {
  animation: cursor-path 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  animation-delay: -140ms;
}

@keyframes cursor-path {
  0% {
    transform: translate(50px, 40px);
  }
  35% {
    transform: translate(230px, 70px);
  }
  70% {
    transform: translate(150px, 150px);
  }
  100% {
    transform: translate(50px, 40px);
  }
}
@media (pointer: coarse) {
  .dot, .ring {
    display: none;
  }
  .stage {
    cursor: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dot.is-demo, .ring.is-demo {
    animation: none;
    transform: translate(50px, 40px);
  }
  .ring {
    transition: none;
  }
}
