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

.ob {
  position: relative;
  width: min(92vw, 160vh - 12.8vw);
  max-width: 400px;
  height: 220px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ob__ring {
  position: absolute;
  width: 148px;
  height: 148px;
  border-radius: 999px;
  border: 1px dashed rgba(255, 247, 230, 0.28);
}

.ob__hub {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #fff7e6;
}

.ob__handle {
  position: absolute;
  appearance: none;
  border: 0;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  top: 50%;
  left: 50%;
  border-radius: 999px;
  background: #2f6df6;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  cursor: grab;
  touch-action: none;
  will-change: transform;
}

.ob__handle.is-grabbed,
.ob__handle:focus-visible {
  outline: 2px solid #5b8cf8;
  outline-offset: 3px;
}

.ob.is-dragging .ob__handle {
  cursor: grabbing;
}

.ob__caption {
  position: absolute;
  bottom: 0;
  margin: 0;
  color: #fff7e6;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 340px) {
  .ob {
    height: 150px;
  }
  .ob__ring {
    width: 100px;
    height: 100px;
  }
  .ob__handle {
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
  }
  .ob__caption {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ob__handle {
    transition: none;
  }
}
