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

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

.sp {
  --particle-color: #c93000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: min(400px, 92vw);
}

.sp__hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: rgba(23, 20, 26, 0.78);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

.sp__ico {
  width: 16px;
  height: 16px;
  flex: none;
  color: #c93000;
}

.sp__viewport {
  position: relative;
  width: 100%;
  height: 176px;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 16px;
  background: rgba(23, 20, 26, 0.08);
  touch-action: pan-y;
  scrollbar-width: thin;
}

.sp__cv {
  position: sticky;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 176px;
}

.sp__track {
  height: 320%;
}

.sp__val {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(23, 20, 26, 0.5);
  color: #fff7e6;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  pointer-events: none;
  transition: opacity 2s ease-out;
}

@media (max-width: 340px) {
  .sp__hint {
    font-size: 11px;
  }
  .sp__viewport, .sp__cv {
    height: 120px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sp__viewport {
    scroll-behavior: auto;
  }
  .sp__val {
    transition: none;
  }
}
