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

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

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.od {
  box-sizing: border-box;
  width: min(360px, 92vw);
  margin: 0;
  padding: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  color: #17141a;
}

.od__zone {
  position: relative;
  width: min(352px, 100%);
  aspect-ratio: 480/300;
}

.od__chart {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.od__orbit {
  fill: none;
  stroke: rgba(23, 20, 26, 0.14);
  stroke-width: 2;
}

.od__arc {
  fill: none;
  stroke: #0a4fe8;
  stroke-width: 40;
  stroke-linecap: round;
}

.od__dot {
  fill: #0a4fe8;
  stroke: #ffffff;
  stroke-width: 4;
}

.od__grab {
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  color: #0a4fe8;
  transform: translate(-50%, -50%);
  cursor: grab;
  touch-action: none;
}

.od__grab:active {
  cursor: grabbing;
}

.od__grab:focus-visible {
  outline: 2px solid #0a4fe8;
  outline-offset: 2px;
  border-radius: 50%;
}

.od__ic {
  width: 15px;
  height: 15px;
  opacity: 0;
}

.od__badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(23, 20, 26, 0.06);
  font-size: 13px;
  line-height: 18px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #0a4fe8;
  pointer-events: none;
}

.od__hint {
  margin: 0;
  padding: 0 8px;
  font-size: 11px;
  line-height: 16px;
  color: rgba(23, 20, 26, 0.62);
  text-align: center;
}

@media (max-width: 340px) {
  .od {
    padding: 4px;
    gap: 4px;
  }
  .od__hint {
    display: none;
  }
  .od__badge {
    font-size: 12px;
  }
  .od__zone {
    width: min(210px, 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .od.is-still .od__arc,
  .od.is-still .od__dot {
    transition: none !important;
  }
}
