@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: #ffd23f;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

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

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

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

.ce__list > li[hidden] {
  display: none;
}

.ce__list > li + li::before {
  content: "›";
  display: inline-flex;
  justify-content: center;
  width: 8px;
  color: rgba(23, 20, 26, 0.45);
}

a.ce__crumb {
  color: rgba(23, 20, 26, 0.72);
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
}

a.ce__crumb:hover {
  color: #17141a;
  text-decoration: underline;
  text-underline-offset: 4px;
}

a.ce__crumb:focus-visible {
  outline: 2px solid #17141a;
  outline-offset: 2px;
}

.ce__list .ce__cur {
  position: relative;
  color: #17141a;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.ce__list .ce__cur::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 4px;
  border-radius: 999px;
  background: #17141a;
  transform: scaleX(1);
  transform-origin: left center;
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ce__say {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: #17141a;
  color: #fff7e6;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.ce__say svg {
  flex: none;
  color: #fff7e6;
}

.ce__val {
  color: #fff7e6;
}

.ce.is-demo .ce__cur::after {
  animation-name: ce-bar;
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: infinite;
}

@keyframes ce-bar {
  0%, 8% {
    transform: scaleX(0);
  }
  42%, 76% {
    transform: scaleX(1);
  }
  88%, 100% {
    transform: scaleX(0);
  }
}
.ce.is-demo .ce__say {
  animation-name: ce-cut, ce-rise;
  animation-duration: 2s, 2s;
  animation-timing-function: steps(1, end), cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: infinite, infinite;
}

@keyframes ce-cut {
  0% {
    opacity: 0;
    animation-timing-function: steps(1, end);
  }
  30% {
    opacity: 1;
    animation-timing-function: linear;
  }
  76% {
    opacity: 1;
  }
  88%, 100% {
    opacity: 0;
  }
}
@keyframes ce-rise {
  0%, 30% {
    transform: translateY(6px);
  }
  52%, 76% {
    transform: translateY(0);
  }
  88%, 100% {
    transform: translateY(6px);
  }
}
@media (max-width: 340px) {
  .ce {
    gap: 20px;
  }
  .ce__say {
    padding: 4px 8px;
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ce.is-demo .ce__cur::after,
  .ce.is-demo .ce__say {
    animation: none !important;
  }
  .ce__list .ce__cur::after {
    transition: none;
    transform: scaleX(1);
  }
  .ce__say {
    opacity: 1;
    transform: none;
  }
}
