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

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

.board {
  display: flex;
  gap: clamp(6px, 2vw, 10px);
  padding: clamp(10px, 3vw, 16px) clamp(14px, 4vw, 20px);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
}

.chip {
  padding: clamp(6px, 2vw, 9px) clamp(10px, 3vw, 14px);
  border-radius: 999px;
  background: #2f6df6;
  color: #fff;
  font-weight: 600;
  font-size: clamp(11px, 3vw, 14px);
  line-height: 1;
  font-family: inherit;
}

.cursor {
  position: absolute;
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  border-radius: 50% 50% 50% 4px;
  background: #fff7e6;
  box-shadow: 0 6px 12px rgba(23, 20, 26, 0.32);
  transform: translate(var(--x, 60px), var(--y, 40px)) rotate(-45deg);
  pointer-events: none;
}
.cursor.is-demo {
  animation: cursor-path 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes cursor-path {
  0% {
    transform: translate(40px, 30px) rotate(-45deg);
  }
  35% {
    transform: translate(220px, 60px) rotate(-45deg);
  }
  70% {
    transform: translate(140px, 140px) rotate(-45deg);
  }
  100% {
    transform: translate(40px, 30px) rotate(-45deg);
  }
}
@media (pointer: coarse) {
  .cursor {
    display: none;
  }
  .stage {
    cursor: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cursor.is-demo {
    animation: none;
    transform: translate(40px, 30px) rotate(-45deg);
  }
}
