@charset "UTF-8";
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);
}

.sv {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  user-select: none;
  -webkit-user-select: none;
}

.sv__stack {
  display: grid;
}

.sv__list {
  grid-area: 1/1;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  font-size: clamp(11px, 3.2vw, 14px);
  line-height: 20px;
  font-weight: 600;
}

.sv__list.is-on {
  opacity: 1;
  pointer-events: auto;
}

.sv__list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sv__list a {
  color: #2f6df6;
  text-decoration: none;
  border-radius: 4px;
}

.sv__list a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

.sv__cur {
  color: #17141a;
  font-weight: 800;
}

.sv__list--slash li:not(:last-child)::after {
  content: "/";
  display: inline-flex;
  justify-content: center;
  width: 12px;
  color: rgba(23, 20, 26, 0.4);
}

.sv__list--dot li:not(:last-child)::after {
  content: "·";
  display: inline-flex;
  justify-content: center;
  width: 12px;
  color: rgba(23, 20, 26, 0.4);
}

.sv__sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  color: rgba(23, 20, 26, 0.4);
}

.sv__tabs {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  background: #17141a;
}

.sv__ind {
  --step: 92px;
  --i: 0;
  position: absolute;
  left: 4px;
  top: 4px;
  width: 84px;
  height: 28px;
  border-radius: 999px;
  background: #0a4fe8;
  transform: translateX(calc(var(--step) * var(--i)));
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sv__pill {
  position: relative;
  flex: 0 0 auto;
  width: 84px;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 999px;
  color: rgba(255, 247, 230, 0.62);
  font-family: inherit;
  font-size: 12px;
  line-height: 28px;
  font-weight: 700;
  cursor: pointer;
}

.sv__pill[aria-pressed=true] {
  color: #fff7e6;
}

.sv__pill:focus-visible {
  outline: 2px solid #fff7e6;
  outline-offset: 2px;
}

.sv.is-demo .sv__ind {
  animation-name: sv-ind;
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: infinite;
}

@keyframes sv-ind {
  0%, 5% {
    transform: translateX(var(--step));
  }
  18%, 31% {
    transform: translateX(calc(var(--step) * 2));
  }
  44%, 52% {
    transform: translateX(var(--step));
  }
  65%, 75% {
    transform: translateX(0);
  }
  88%, 100% {
    transform: translateX(var(--step));
  }
}
.sv.is-demo .sv__list,
.sv.is-demo .sv__pill {
  animation-duration: 2s;
  animation-timing-function: steps(1, end);
  animation-iteration-count: infinite;
}

.sv.is-demo .sv__list--slash {
  animation-name: sv-slash;
}

.sv.is-demo .sv__list--caret {
  animation-name: sv-caret;
}

.sv.is-demo .sv__list--dot {
  animation-name: sv-dot;
}

@keyframes sv-slash {
  0% {
    opacity: 0;
  }
  52% {
    opacity: 1;
  }
  75%, 100% {
    opacity: 0;
  }
}
@keyframes sv-caret {
  0% {
    opacity: 1;
  }
  5% {
    opacity: 0;
  }
  31% {
    opacity: 1;
  }
  52% {
    opacity: 0;
  }
  75%, 100% {
    opacity: 1;
  }
}
@keyframes sv-dot {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  31%, 100% {
    opacity: 0;
  }
}
.sv.is-demo .sv__pill--slash {
  animation-name: sv-lab-slash;
}

.sv.is-demo .sv__pill--caret {
  animation-name: sv-lab-caret;
}

.sv.is-demo .sv__pill--dot {
  animation-name: sv-lab-dot;
}

@keyframes sv-lab-slash {
  0% {
    color: rgba(255, 247, 230, 0.62);
  }
  52% {
    color: #fff7e6;
  }
  75%, 100% {
    color: rgba(255, 247, 230, 0.62);
  }
}
@keyframes sv-lab-caret {
  0% {
    color: #fff7e6;
  }
  5% {
    color: rgba(255, 247, 230, 0.62);
  }
  31% {
    color: #fff7e6;
  }
  52% {
    color: rgba(255, 247, 230, 0.62);
  }
  75%, 100% {
    color: #fff7e6;
  }
}
@keyframes sv-lab-dot {
  0% {
    color: rgba(255, 247, 230, 0.62);
  }
  5% {
    color: #fff7e6;
  }
  31%, 100% {
    color: rgba(255, 247, 230, 0.62);
  }
}
@media (max-width: 340px) {
  .sv {
    gap: 16px;
  }
  .sv__tabs {
    gap: 4px;
  }
  .sv__ind {
    --step: 76px;
    width: 72px;
  }
  .sv__pill {
    width: 72px;
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sv.is-demo .sv__ind,
  .sv.is-demo .sv__list,
  .sv.is-demo .sv__pill {
    animation: none !important;
  }
  .sv.is-demo .sv__list--slash {
    opacity: 1;
  }
  .sv.is-demo .sv__pill--slash {
    color: #fff7e6;
  }
  .sv__ind {
    transition: none;
  }
}
