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

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

.vz {
  box-sizing: border-box;
  display: grid;
  gap: 4px;
  width: min(304px, 92vw);
  padding: 8px;
  border: 1px solid rgb(81.8039215686%, 67.4509803922%, 21.8039215686%);
  border-radius: 16px;
  background: #ffd23f;
  color: #17141a;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  font-size: 12px;
  line-height: 1.3;
  transition: border-color 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.vz.is-all {
  border-color: #2f6df6;
}

.vz__item {
  border: 1px solid rgb(81.8039215686%, 67.4509803922%, 21.8039215686%);
  border-radius: 8px;
  background: rgb(92.7215686275%, 76.3921568627%, 23.5450980392%);
  transition: border-color 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.vz__item.is-open {
  border-color: #2f6df6;
}

.vz__h {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 8px;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}

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

.vz__num {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid rgb(81.8039215686%, 67.4509803922%, 21.8039215686%);
  border-radius: 50%;
  font-size: 10px;
  color: rgba(23, 20, 26, 0.72);
  transition: background-color 300ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 300ms cubic-bezier(0.2, 0.8, 0.2, 1), color 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.vz__item.is-open .vz__num {
  border-color: #2f6df6;
  color: #17141a;
}

.vz__item.is-done .vz__num {
  border-color: #0a4fe8;
  background: #0a4fe8;
  color: #fff7e6;
}

.vz__t {
  color: #17141a;
}

.vz__sv {
  max-width: 120px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 11px;
  font-weight: 400;
  color: rgba(23, 20, 26, 0.72);
  opacity: 0;
  transition: opacity 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.vz__item.is-done .vz__sv {
  opacity: 1;
}

.vz__item.is-open .vz__sv {
  opacity: 0;
}

.vz__caret {
  display: inline-flex;
  width: 14px;
  height: 14px;
  color: rgba(23, 20, 26, 0.55);
  transform: rotate(-90deg);
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.vz__item.is-open .vz__caret {
  transform: rotate(0deg);
}

.vz__body {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 300ms cubic-bezier(0.2, 0.8, 0.2, 1), visibility 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.vz__item.is-open .vz__body {
  grid-template-rows: 1fr;
  visibility: visible;
}

.vz__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  min-height: 0;
  overflow: hidden;
  padding: 0 8px;
  transition: padding 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.vz__item.is-open .vz__inner {
  padding: 8px;
}

.vz__inp {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 4px;
  border: 1px solid rgb(81.8039215686%, 67.4509803922%, 21.8039215686%);
  border-radius: 8px;
  background: #ffd23f;
  color: #17141a;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.3;
}

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

.vz__next {
  margin: 0;
  padding: 4px 12px;
  border: 0;
  border-radius: 999px;
  background: #0a4fe8;
  color: #fff7e6;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
}

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

.vz.is-demo .vz__inp::placeholder {
  color: transparent;
}

@keyframes vz-rows-1 {
  0%, 6% {
    grid-template-rows: 1fr;
    visibility: visible;
  }
  16%, 74% {
    grid-template-rows: 0fr;
    visibility: hidden;
  }
  84%, 100% {
    grid-template-rows: 1fr;
    visibility: visible;
  }
}
@keyframes vz-rows-2 {
  0%, 16% {
    grid-template-rows: 0fr;
    visibility: hidden;
  }
  26%, 40% {
    grid-template-rows: 1fr;
    visibility: visible;
  }
  50%, 100% {
    grid-template-rows: 0fr;
    visibility: hidden;
  }
}
@keyframes vz-rows-3 {
  0%, 50% {
    grid-template-rows: 0fr;
    visibility: hidden;
  }
  60%, 72% {
    grid-template-rows: 1fr;
    visibility: visible;
  }
  82%, 100% {
    grid-template-rows: 0fr;
    visibility: hidden;
  }
}
@keyframes vz-pad-1 {
  0%, 6% {
    padding: 8px 8px;
  }
  16%, 74% {
    padding: 0 8px;
  }
  84%, 100% {
    padding: 8px 8px;
  }
}
@keyframes vz-pad-2 {
  0%, 16% {
    padding: 0 8px;
  }
  26%, 40% {
    padding: 8px 8px;
  }
  50%, 100% {
    padding: 0 8px;
  }
}
@keyframes vz-pad-3 {
  0%, 50% {
    padding: 0 8px;
  }
  60%, 72% {
    padding: 8px 8px;
  }
  82%, 100% {
    padding: 0 8px;
  }
}
@keyframes vz-caret-1 {
  0%, 6% {
    transform: rotate(0deg);
  }
  16%, 74% {
    transform: rotate(-90deg);
  }
  84%, 100% {
    transform: rotate(0deg);
  }
}
@keyframes vz-caret-2 {
  0%, 16% {
    transform: rotate(-90deg);
  }
  26%, 40% {
    transform: rotate(0deg);
  }
  50%, 100% {
    transform: rotate(-90deg);
  }
}
@keyframes vz-caret-3 {
  0%, 50% {
    transform: rotate(-90deg);
  }
  60%, 72% {
    transform: rotate(0deg);
  }
  82%, 100% {
    transform: rotate(-90deg);
  }
}
@keyframes vz-sv-1 {
  0%, 17% {
    opacity: 0;
  }
  18%, 73% {
    opacity: 1;
  }
  74%, 100% {
    opacity: 0;
  }
}
@keyframes vz-sv-2 {
  0%, 51% {
    opacity: 0;
  }
  52%, 84% {
    opacity: 1;
  }
  85%, 100% {
    opacity: 0;
  }
}
@keyframes vz-sv-3 {
  0%, 75% {
    opacity: 0;
  }
  76%, 84% {
    opacity: 1;
  }
  85%, 100% {
    opacity: 0;
  }
}
.vz.is-demo .vz__item[data-item="1"] .vz__body {
  animation-name: vz-rows-1;
}
.vz.is-demo .vz__item[data-item="2"] .vz__body {
  animation-name: vz-rows-2;
}
.vz.is-demo .vz__item[data-item="3"] .vz__body {
  animation-name: vz-rows-3;
}
.vz.is-demo .vz__body {
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: infinite;
}
.vz.is-demo .vz__item[data-item="1"] .vz__inner {
  animation-name: vz-pad-1;
}
.vz.is-demo .vz__item[data-item="2"] .vz__inner {
  animation-name: vz-pad-2;
}
.vz.is-demo .vz__item[data-item="3"] .vz__inner {
  animation-name: vz-pad-3;
}
.vz.is-demo .vz__inner {
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: infinite;
}
.vz.is-demo .vz__item[data-item="1"] .vz__caret {
  animation-name: vz-caret-1;
}
.vz.is-demo .vz__item[data-item="2"] .vz__caret {
  animation-name: vz-caret-2;
}
.vz.is-demo .vz__item[data-item="3"] .vz__caret {
  animation-name: vz-caret-3;
}
.vz.is-demo .vz__caret {
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: infinite;
}
.vz.is-demo .vz__item[data-item="1"] .vz__sv {
  animation-name: vz-sv-1;
}
.vz.is-demo .vz__item[data-item="2"] .vz__sv {
  animation-name: vz-sv-2;
}
.vz.is-demo .vz__item[data-item="3"] .vz__sv {
  animation-name: vz-sv-3;
}
.vz.is-demo .vz__sv {
  animation-duration: 2s;
  animation-timing-function: steps(1, end);
  animation-iteration-count: infinite;
}

@media (max-width: 340px) {
  .vz {
    padding: 4px;
    gap: 4px;
  }
  .vz__h {
    padding: 4px;
    gap: 4px;
    font-size: 11px;
  }
  .vz__num {
    width: 16px;
    height: 16px;
  }
  .vz__sv {
    max-width: 88px;
    font-size: 10px;
  }
  .vz__caret {
    width: 12px;
    height: 12px;
  }
  .vz__inner {
    gap: 4px;
    padding: 0 4px;
  }
  .vz__item.is-open .vz__inner {
    padding: 4px;
  }
  .vz__inp {
    padding: 0 4px;
    font-size: 11px;
  }
  .vz__next {
    padding: 0 8px;
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .vz.is-demo .vz__body,
  .vz.is-demo .vz__inner,
  .vz.is-demo .vz__caret,
  .vz.is-demo .vz__sv {
    animation: none !important;
  }
}
