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

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

.tl-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: min(240px, 78vw);
  position: relative;
}

.tl-list::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: #ece3ff;
}

.tl-item {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 8px 0;
  opacity: 0;
  transform: translateY(10px);
}

.tl-item__dot {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #b9a0ff;
  color: #ffffff;
}

.tl-item:nth-child(2) .tl-item__dot {
  background: #4cd4a6;
}

.tl-item:nth-child(3) .tl-item__dot {
  background: #ff9ebb;
}

.tl-item__dot svg {
  width: 16px;
  height: 16px;
}

.tl-item__body {
  font-size: 12px;
  color: #17141a;
  line-height: 1.5;
  padding-top: 8px;
}

.tl-item__body b {
  font-weight: 700;
}

.tl-item__body time {
  display: block;
  font-size: 11px;
  color: rgba(23, 20, 26, 0.5);
}

.tl-list.is-demo .tl-item {
  animation: tl-loop 2s ease-out infinite;
  animation-delay: calc(var(--n) * 140ms);
}

@keyframes tl-loop {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  20%, 90% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .tl-item {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}
