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

.stage {
  position: relative;
}

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

.vbi__viewport {
  position: relative;
  width: 230px;
  height: 130px;
  overflow: hidden;
  border-radius: 16px;
  touch-action: none;
  overscroll-behavior: contain;
  cursor: grab;
}

.vbi__track {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  display: flex;
  gap: 8px;
  will-change: transform, filter;
}

.vbi__card {
  flex: 0 0 auto;
  width: 140px;
  height: 100%;
  margin-top: 8px;
  border-radius: 16px;
}
.vbi__card--a {
  background: linear-gradient(135deg, #2f6df6, #b9a0ff);
}
.vbi__card--b {
  background: linear-gradient(135deg, #4cd4a6, #6ec8ff);
}
.vbi__card--c {
  background: linear-gradient(135deg, #ff9ebb, #b9a0ff);
}

.vbi__hint {
  color: rgba(23, 20, 26, 0.72);
  font-size: 12px;
  text-align: center;
}

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