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

.ts07-box {
  position: relative;
  width: min(220px, 80vw);
  height: clamp(120px, 62vh, 200px);
  overflow-y: auto;
  padding: 8px 0 8px 24px;
  box-sizing: border-box;
  background: rgba(255, 247, 230, 0.25);
  border-radius: 8px;
}

.ts07-content {
  position: relative;
}

.ts07-rail {
  position: absolute;
  left: 8px;
  top: 0;
  width: 3px;
  height: 100%;
  background: #17141a;
  border-radius: 4px;
  transform-origin: top;
  transform: scaleY(0);
}

@supports (animation-timeline: scroll()) {
  .ts07-rail:not(.is-demo) {
    animation: ts07-draw linear both;
    animation-timeline: scroll(nearest block);
  }
}
@supports not (animation-timeline: scroll()) {
  .ts07-rail:not(.is-demo) {
    transform: scaleY(1);
  }
}
@keyframes ts07-draw {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}
.ts07-item {
  padding: 8px 0;
  color: #17141a;
  font: 600 13px/1 -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  border-bottom: 1px solid rgba(23, 20, 26, 0.14);
}

.ts07-rail.is-demo {
  animation: ts07-draw-loop 2s linear infinite;
}

@keyframes ts07-draw-loop {
  0% {
    transform: scaleY(0);
  }
  100% {
    transform: scaleY(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ts07-rail, .ts07-rail.is-demo {
    animation: none !important;
    transform: scaleY(1) !important;
  }
}
