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

.et {
  width: min(360px, 94vw);
}

.et__desc {
  min-height: 32px;
  margin: 0 0 12px;
  font-weight: 600;
  font-size: clamp(11px, 3.2vw, 12px);
  line-height: 1.5;
  font-family: inherit;
  color: #fff7e6;
}

.et__track {
  position: relative;
  padding-left: 20px;
}

.et__track::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 4px;
  background: rgba(255, 247, 230, 0.16);
}

.et__fill {
  position: absolute;
  left: 4px;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 4px;
  background: #2f6df6;
  transform: scaleY(0.25);
  transform-origin: top;
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.et__list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.et__stop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  text-align: left;
}

.et__dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-left: -16px;
  border-radius: 50%;
  background: rgba(255, 247, 230, 0.3);
  transition: background 300ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.et__stop[aria-current=step] .et__dot {
  background: #2f6df6;
  transform: scale(1.3);
  box-shadow: 0 0 0 4px rgba(47, 109, 246, 0.22);
}

.et__year {
  font-weight: 800;
  font-size: 10px;
  line-height: 1;
  font-family: inherit;
  color: #fff7e6;
  min-width: 30px;
}

.et__role {
  font-weight: 600;
  font-size: 11px;
  line-height: 1.3;
  font-family: inherit;
  color: rgba(255, 247, 230, 0.68);
}

.et.is-demo .et__stop[aria-current=step] .et__dot {
  animation: et-pulse 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes et-pulse {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(47, 109, 246, 0.22);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(47, 109, 246, 0.1);
  }
}
@media (max-width: 340px), (max-height: 220px) {
  .et__desc {
    min-height: 0;
    margin-bottom: 8px;
    font-size: 10px;
  }
  .et__list {
    gap: 8px;
  }
  .et__role {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .et__fill, .et__dot {
    transition: none;
  }
  .et.is-demo .et__stop[aria-current=step] .et__dot {
    animation: none !important;
  }
}
