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

.cv {
  position: relative;
  box-sizing: border-box;
  width: min(292px, 92vw);
  padding-bottom: 16px;
  color: #17141a;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
}

.cv__bar {
  display: flex;
  height: 28px;
}

.cv__btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 8px;
  border: 2px solid #17141a;
  border-radius: 999px;
  background: #ffffff;
  color: #17141a;
  font-family: inherit;
  font-size: 11px;
  line-height: 20px;
  font-weight: 700;
  cursor: pointer;
}

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

.cv__ic {
  display: inline-flex;
  width: 13px;
  height: 13px;
  color: #2f6df6;
}

.cv__num {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #2f6df6;
  color: #ffffff;
  font-size: 10px;
  line-height: 16px;
}

.cv__n3, .cv__n2 {
  position: absolute;
  font-weight: 700;
}

.cv__n2 {
  opacity: 0;
}

.cv__menu {
  position: absolute;
  left: 0;
  top: 28px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  width: 116px;
  padding: 4px;
  border: 2px solid #17141a;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 220ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s 220ms;
}

.cv.is-open .cv__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 220ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s;
}

.cv__menu-in {
  display: flex;
  flex-direction: column;
}

.cv__opt {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 24px;
  padding: 0 4px;
  border: 0;
  border-radius: 4px;
  background: none;
  color: #17141a;
  font-family: inherit;
  font-size: 11px;
  line-height: 24px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

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

.cv__box {
  display: inline-flex;
  width: 13px;
  height: 13px;
  color: #2f6df6;
}

.cv__opt[aria-checked=false] {
  color: rgba(23, 20, 26, 0.38);
}

.cv__opt[aria-checked=false] .cv__box {
  opacity: 0;
}

.cv__grid {
  margin-top: 4px;
  border: 2px solid #17141a;
  border-radius: 12px;
  overflow: hidden;
}

.cv__row {
  display: grid;
  grid-template-columns: var(--t, 1fr 1fr 1fr);
  height: 24px;
}

.cv__row + .cv__row {
  border-top: 1px solid rgb(87.262745098%, 87.0980392157%, 87.4274509804%);
}

.cv__row:first-child {
  background: rgb(92.7215686275%, 92.6274509804%, 92.8156862745%);
}

.cv__row > * {
  min-width: 0;
  padding: 0 8px;
  font-size: 11px;
  line-height: 24px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
}

.cv__h {
  font-weight: 700;
}

.cv__row > .is-off {
  opacity: 0;
}

.cv.is-demo .cv__menu {
  animation-name: cv-menu;
  animation-duration: 2s;
  animation-timing-function: steps(1, end);
  animation-iteration-count: infinite;
}

.cv.is-demo .cv__menu-in {
  animation-name: cv-dim;
  animation-duration: 2s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
}

.cv.is-demo .cv__opt {
  animation-name: cv-opt;
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: infinite;
  animation-fill-mode: backwards;
}

.cv.is-demo .cv__opt:nth-child(2) {
  animation-delay: 80ms;
}

.cv.is-demo .cv__opt:nth-child(3) {
  animation-delay: 160ms;
}

.cv.is-demo .cv__opt:nth-child(3) .cv__box {
  animation-name: cv-tick;
  animation-duration: 2s;
  animation-timing-function: steps(1, end);
  animation-iteration-count: infinite;
}

.cv.is-demo .cv__row {
  animation-name: cv-cols;
  animation-duration: 2s;
  animation-timing-function: steps(1, end);
  animation-iteration-count: infinite;
}

.cv.is-demo .cv__row > :nth-child(3) {
  animation-name: cv-fade;
  animation-duration: 2s;
  animation-timing-function: steps(1, end);
  animation-iteration-count: infinite;
}

.cv.is-demo .cv__n3 {
  animation-name: cv-fade;
  animation-duration: 2s;
  animation-timing-function: steps(1, end);
  animation-iteration-count: infinite;
}

.cv.is-demo .cv__n2 {
  animation-name: cv-show;
  animation-duration: 2s;
  animation-timing-function: steps(1, end);
  animation-iteration-count: infinite;
}

@keyframes cv-menu {
  0% {
    opacity: 0;
    visibility: hidden;
    transform: translateY(0);
  }
  10% {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  86% {
    opacity: 0;
    visibility: hidden;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    visibility: hidden;
    transform: translateY(0);
  }
}
@keyframes cv-dim {
  0% {
    opacity: 1;
  }
  74% {
    opacity: 1;
  }
  86% {
    opacity: 0.14;
  }
  100% {
    opacity: 0.14;
  }
}
@keyframes cv-opt {
  0% {
    transform: translateY(-10px);
  }
  10% {
    transform: translateY(-10px);
  }
  40% {
    transform: translateY(0);
  }
  76% {
    transform: translateY(0);
  }
  86% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(-10px);
  }
}
@keyframes cv-tick {
  0% {
    opacity: 1;
  }
  46% {
    opacity: 0;
  }
  64% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}
@keyframes cv-cols {
  0% {
    grid-template-columns: 1fr 1fr 1fr;
  }
  46% {
    grid-template-columns: 1fr 1fr 0fr;
  }
  64% {
    grid-template-columns: 1fr 1fr 1fr;
  }
  100% {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@keyframes cv-fade {
  0% {
    opacity: 1;
  }
  46% {
    opacity: 0;
  }
  64% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}
@keyframes cv-show {
  0% {
    opacity: 0;
  }
  46% {
    opacity: 1;
  }
  64% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@media (max-width: 340px) {
  .cv__menu {
    width: 104px;
  }
  .cv__row > * {
    padding: 0 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cv.is-demo .cv__menu,
  .cv.is-demo .cv__menu-in,
  .cv.is-demo .cv__opt,
  .cv.is-demo .cv__opt:nth-child(3) .cv__box,
  .cv.is-demo .cv__row,
  .cv.is-demo .cv__row > :nth-child(3),
  .cv.is-demo .cv__n3,
  .cv.is-demo .cv__n2 {
    animation: none !important;
  }
  .cv.is-demo .cv__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .cv__menu {
    transition: none;
  }
}
