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

.st {
  box-sizing: border-box;
  width: min(304px, 92vw);
  padding: 12px;
  border: 1px solid rgb(23.5764705882%, 22.0862745098%, 22.9960784314%);
  border-radius: 16px;
  background: #17141a;
  color: #fff7e6;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  font-size: 12px;
  line-height: 1.3;
}

.st__h {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 8px;
}

.st__ic {
  display: inline-flex;
  width: 14px;
  height: 14px;
  color: #4cd4a6;
}

.st__t {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.st__phase {
  position: relative;
  margin-left: auto;
  min-width: 52px;
  padding: 0 8px;
  border-radius: 999px;
  background: #2f6df6;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  font-style: normal;
  line-height: 1.7;
  text-align: center;
}

.st__p {
  position: absolute;
  inset: 0;
  visibility: hidden;
  font-style: normal;
}

.st__phase[data-at="0"] .st__p--1,
.st__phase[data-at="1"] .st__p--2,
.st__phase[data-at="2"] .st__p--3 {
  visibility: visible;
}

.st__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.st__tl {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.st__row {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  column-gap: 8px;
}

.st__rail {
  position: relative;
  justify-self: center;
  width: 2px;
  height: 34px;
  margin: 4px 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.st__rail--end {
  background: transparent;
}

.st__fill {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #4cd4a6;
  transform-origin: top;
  transform: scaleY(0);
}

.st__dot {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgb(23.5764705882%, 22.0862745098%, 22.9960784314%);
  border-radius: 50%;
  background: #17141a;
  color: rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%);
}

.st__dot svg {
  width: 12px;
  height: 12px;
}

.st__lb {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 700;
}

.st__tm {
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 400;
}

.st__row.is-now .st__dot {
  border-color: #2f6df6;
  background: #2f6df6;
  color: #ffffff;
}

.st__row.is-now .st__dot svg {
  width: 12px;
  height: 12px;
}

.st__row.is-now .st__lb {
  color: #fff7e6;
}

.st__row.is-now .st__rail .st__fill {
  transform: scaleY(1);
}

.st__row.is-done .st__dot {
  border-color: #4cd4a6;
  color: #4cd4a6;
}

.st__row.is-done .st__lb {
  color: rgba(255, 255, 255, 0.75);
}

.st__row.is-done .st__rail .st__fill {
  transform: scaleY(1);
}

.st__next {
  display: inline-flex;
  align-items: center;
  margin: 8px 0 0;
  padding: 4px 12px;
  border: 1px solid rgb(23.5764705882%, 22.0862745098%, 22.9960784314%);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  cursor: pointer;
}

.st__next:focus-visible {
  outline: 2px solid #2f6df6;
  outline-offset: 2px;
}

.st__next:active {
  transform: scale(0.94);
}

@keyframes st-fill-1 {
  0% {
    transform: scaleY(0);
  }
  28%, 87% {
    transform: scaleY(1);
  }
  88%, 100% {
    transform: scaleY(0);
  }
}
@keyframes st-fill-2 {
  0%, 27% {
    transform: scaleY(0);
  }
  60%, 87% {
    transform: scaleY(1);
  }
  88%, 100% {
    transform: scaleY(0);
  }
}
@keyframes st-dot-1 {
  0% {
    border-color: #2f6df6;
    background: #2f6df6;
    color: #ffffff;
  }
  28%, 100% {
    border-color: #4cd4a6;
    background: #17141a;
    color: #4cd4a6;
  }
}
@keyframes st-dot-2 {
  0%, 27% {
    border-color: rgb(23.5764705882%, 22.0862745098%, 22.9960784314%);
    background: #17141a;
    color: rgba(255, 255, 255, 0.4);
  }
  28%, 59% {
    border-color: #2f6df6;
    background: #2f6df6;
    color: #ffffff;
  }
  60%, 100% {
    border-color: #4cd4a6;
    background: #17141a;
    color: #4cd4a6;
  }
}
@keyframes st-dot-3 {
  0%, 59% {
    border-color: rgb(23.5764705882%, 22.0862745098%, 22.9960784314%);
    background: #17141a;
    color: rgba(255, 255, 255, 0.4);
  }
  60%, 87% {
    border-color: #2f6df6;
    background: #2f6df6;
    color: #ffffff;
  }
  88%, 100% {
    border-color: rgb(23.5764705882%, 22.0862745098%, 22.9960784314%);
    background: #17141a;
    color: rgba(255, 255, 255, 0.4);
  }
}
@keyframes st-lb-1 {
  0% {
    color: #fff7e6;
  }
  28%, 100% {
    color: rgba(255, 255, 255, 0.75);
  }
}
@keyframes st-lb-2 {
  0%, 27% {
    color: rgba(255, 255, 255, 0.45);
  }
  28%, 59% {
    color: #fff7e6;
  }
  60%, 100% {
    color: rgba(255, 255, 255, 0.75);
  }
}
@keyframes st-lb-3 {
  0%, 59% {
    color: rgba(255, 255, 255, 0.45);
  }
  60%, 87% {
    color: #fff7e6;
  }
  88%, 100% {
    color: rgba(255, 255, 255, 0.45);
  }
}
@keyframes st-now-pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.12);
  }
}
@keyframes st-p-1 {
  0%, 27% {
    visibility: visible;
  }
  28%, 100% {
    visibility: hidden;
  }
}
@keyframes st-p-2 {
  0%, 27% {
    visibility: hidden;
  }
  28%, 59% {
    visibility: visible;
  }
  60%, 100% {
    visibility: hidden;
  }
}
@keyframes st-p-3 {
  0%, 59% {
    visibility: hidden;
  }
  60%, 87% {
    visibility: visible;
  }
  88%, 100% {
    visibility: hidden;
  }
}
@keyframes st-next-breath {
  0%, 26% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(2px);
  }
  34%, 58% {
    transform: translateY(0);
  }
  62% {
    transform: translateY(2px);
  }
  66%, 86% {
    transform: translateY(0);
  }
  87%, 100% {
    transform: translateY(0);
  }
}
.st.is-demo .st__row[data-row="1"] .st__fill {
  animation-name: st-fill-1;
}
.st.is-demo .st__row[data-row="2"] .st__fill {
  animation-name: st-fill-2;
}
.st.is-demo .st__fill {
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: infinite;
}
.st.is-demo .st__row[data-row="1"] .st__dot {
  animation-name: st-dot-1;
}
.st.is-demo .st__row[data-row="2"] .st__dot {
  animation-name: st-dot-2;
}
.st.is-demo .st__row[data-row="3"] .st__dot {
  animation-name: st-dot-3;
}
.st.is-demo .st__dot {
  animation-duration: 2s;
  animation-timing-function: steps(1, end);
  animation-iteration-count: infinite;
}
.st.is-demo .st__row[data-row="1"] .st__lb {
  animation-name: st-lb-1;
}
.st.is-demo .st__row[data-row="2"] .st__lb {
  animation-name: st-lb-2;
}
.st.is-demo .st__row[data-row="3"] .st__lb {
  animation-name: st-lb-3;
}
.st.is-demo .st__lb {
  animation-duration: 2s;
  animation-timing-function: steps(1, end);
  animation-iteration-count: infinite;
}
.st.is-demo .st__p--1 {
  animation-name: st-p-1;
}
.st.is-demo .st__p--2 {
  animation-name: st-p-2;
}
.st.is-demo .st__p--3 {
  animation-name: st-p-3;
}
.st.is-demo .st__p {
  animation-duration: 2s;
  animation-timing-function: steps(1, end);
  animation-iteration-count: infinite;
}
.st.is-demo .st__next {
  animation-name: st-next-breath;
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: infinite;
}

@media (max-width: 340px) {
  .st {
    padding: 8px;
    font-size: 11px;
  }
  .st__h {
    margin-bottom: 4px;
  }
  .st__t {
    font-size: 11px;
  }
  .st__rail {
    height: 28px;
  }
  .st__dot {
    width: 20px;
    height: 20px;
  }
  .st__next {
    margin-top: 4px;
    padding: 0 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .st__next:active {
    transform: none;
  }
  .st.is-demo .st__fill,
  .st.is-demo .st__lb,
  .st.is-demo .st__p,
  .st.is-demo .st__next {
    animation: none !important;
    transform: none !important;
  }
  .st.is-demo .st__dot {
    animation: none !important;
  }
  .st.is-demo .st__row[data-row="1"] .st__fill,
  .st.is-demo .st__row[data-row="2"] .st__fill {
    transform: scaleY(1) !important;
  }
  .st.is-demo .st__row[data-row="1"] .st__dot,
  .st.is-demo .st__row[data-row="2"] .st__dot {
    border-color: #4cd4a6 !important;
    background: #17141a !important;
    color: #4cd4a6 !important;
  }
  .st.is-demo .st__row[data-row="3"] .st__dot {
    border-color: #2f6df6 !important;
    background: #2f6df6 !important;
    color: #ffffff !important;
  }
  .st.is-demo .st__row[data-row="1"] .st__lb,
  .st.is-demo .st__row[data-row="2"] .st__lb {
    color: rgba(255, 255, 255, 0.75) !important;
  }
  .st.is-demo .st__row[data-row="3"] .st__lb {
    color: #fff7e6 !important;
  }
  .st.is-demo .st__p--1, .st.is-demo .st__p--2 {
    visibility: hidden !important;
  }
  .st.is-demo .st__p--3 {
    visibility: visible !important;
  }
}
