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

.vs {
  width: min(390px, 88vw);
  height: clamp(150px, 62vh, 216px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
}

.vs__scroll {
  height: 100%;
  overflow-y: auto;
  padding: 12px;
  box-sizing: border-box;
  scrollbar-width: none;
}
.vs__scroll::-webkit-scrollbar {
  display: none;
}

.vs__row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 247, 230, 0.96);
  box-sizing: border-box;
  transform: skewY(calc(var(--vel, 0) * -0.18deg));
}
.vs__row:last-child {
  margin-bottom: 0;
}

.vs__thumb {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.vs__thumb--1 {
  background: linear-gradient(135deg, #2f6df6, #d6ddeb);
}

.vs__thumb--2 {
  background: linear-gradient(135deg, #c2ae82, #ffd23f);
}

.vs__thumb--3 {
  background: linear-gradient(135deg, #ff4d1f, #ebdbd6);
}

.vs__thumb--4 {
  background: linear-gradient(135deg, #37b786, #d6ebe2);
}

.vs__t {
  color: #3c4750;
  font: 700 13px/1.4 -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
}

.vs.is-demo .vs__row {
  animation: vs-skew 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.vs.is-demo .vs__row:nth-child(2) {
  animation-delay: 40ms;
}

.vs.is-demo .vs__row:nth-child(3) {
  animation-delay: 80ms;
}

.vs.is-demo .vs__row:nth-child(4) {
  animation-delay: 120ms;
}

@keyframes vs-skew {
  0%, 100% {
    transform: skewY(0deg);
  }
  30% {
    transform: skewY(-4.4deg);
  }
  62% {
    transform: skewY(2.2deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .vs.is-demo .vs__row {
    animation: none !important;
  }
  .vs__row {
    transform: none !important;
  }
  .vs__scroll {
    scroll-behavior: auto;
  }
}
