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

.dpl {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.dpl__viewport {
  position: relative;
  width: 230px;
  height: 130px;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  touch-action: none;
  overscroll-behavior: contain;
  cursor: grab;
}

.dpl__layer {
  position: absolute;
  left: 0;
  width: 640px;
  height: 32px;
  will-change: transform;
  background-repeat: repeat-x;
  background-size: 80px 100%;
}

.dpl__layer--far {
  top: 12px;
  opacity: 0.35;
  background-image: radial-gradient(circle, #6ec8ff 0 8px, transparent 9px);
}

.dpl__layer--mid {
  top: 50%;
  margin-top: -16px;
  opacity: 0.6;
  background-image: radial-gradient(circle, #b9a0ff 0 10px, transparent 11px);
}

.dpl__layer--near {
  bottom: 12px;
  opacity: 1;
  background-image: radial-gradient(circle, #4cd4a6 0 13px, transparent 14px);
}

.dpl__hint {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 340px) {
  .dpl__viewport {
    width: 176px;
    height: 96px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dpl__layer {
    transition: none !important;
  }
}
