html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #ffffff;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.stage {
  display: flex;
  gap: clamp(6px, 2vw, 10px);
  padding: clamp(10px, 3vw, 16px);
}

.zone {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-height: clamp(80px, 34vw, 220px);
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: clamp(12px, 3.4vw, 15px);
  line-height: 1;
  font-family: inherit;
}

.zone--default {
  background: #fff7e6;
  color: #17141a;
  cursor: auto;
}

.zone--custom {
  background: #17141a;
  color: #fff7e6;
  cursor: none;
}

.cursor {
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: #2f6df6;
  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(30px, 30px);
  }
  35% {
    transform: translate(110px, 90px);
  }
  70% {
    transform: translate(50px, 130px);
  }
  100% {
    transform: translate(30px, 30px);
  }
}
@media (pointer: coarse) {
  .cursor {
    display: none;
  }
  .zone--custom {
    cursor: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cursor.is-demo {
    animation: none;
    transform: translate(30px, 30px);
  }
}
