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

.tus {
  width: min(320px, 88vw);
}

.tus__nav {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
}

.tus__tab {
  flex: 0 0 auto;
  padding: 8px 16px;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 600;
  font-size: clamp(13px, 3.6vw, 15px);
  line-height: 1;
  font-family: inherit;
  color: #17141a;
}
.tus__tab.is-active {
  color: #17141a;
  font-weight: 800;
}

.tus__underline {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 3px;
  background: #fff7e6;
  border-radius: 999px;
  transform: translateX(18.7265625px);
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tus.is-demo .tus__underline {
  animation: tus-loop 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes tus-loop {
  0%, 15% {
    transform: translateX(18.7265625px);
  }
  33%, 48% {
    transform: translateX(87.5390625px);
  }
  66%, 81% {
    transform: translateX(156.3515625px);
  }
  100% {
    transform: translateX(18.7265625px);
  }
}
.tus__panel {
  margin-top: 16px;
  min-height: 32px;
  font-weight: 400;
  font-size: clamp(12px, 3.2vw, 13px);
  line-height: 1.5;
  font-family: inherit;
  color: #17141a;
}

@media (prefers-reduced-motion: reduce) {
  .tus__underline {
    transition: none;
  }
  .tus.is-demo .tus__underline {
    animation: none !important;
    transform: translateX(18.7265625px);
  }
}
