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

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

.fz {
  width: min(100%, 300px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fz__field {
  background: rgba(255, 247, 230, 0.85);
  border-radius: 12px;
  padding: 4px 8px;
}

.fz__input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 13px;
  color: #17141a;
  outline: none;
}

.fz__input::placeholder {
  color: rgba(23, 20, 26, 0.55);
}

.fz__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 140px;
  overflow: hidden;
}

.fz__item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 247, 230, 0.7);
  border-radius: 8px;
  padding: 4px 8px;
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fz__item--enter {
  animation: fzPop 220ms cubic-bezier(0.2, 1.4, 0.4, 1);
}

.fz__item--exit {
  animation: fzOut 220ms cubic-bezier(0.2, 1.4, 0.4, 1) forwards;
}

.fz__ch {
  font-size: 16px;
  line-height: 1;
}

.fz__name {
  font-size: 11px;
  color: #17141a;
  flex: 1 1 auto;
}

.fz__bar {
  width: 40px;
  height: 4px;
  border-radius: 4px;
  background: rgba(23, 20, 26, 0.12);
  overflow: hidden;
  flex: 0 0 auto;
}

.fz__barFill {
  display: block;
  height: 100%;
  width: 0%;
  background: #17141a;
  transition: width 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fz__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  margin: -1px;
  padding: 0;
  border: 0;
}

@keyframes fzPop {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes fzOut {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.7);
  }
}
@media (max-width: 340px) {
  .fz {
    width: 100%;
  }
  .fz__list {
    max-height: 120px;
  }
  .fz__bar {
    width: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fz__item {
    transition: none;
  }
  .fz__item--enter, .fz__item--exit {
    animation: none;
  }
  .fz__barFill {
    transition: none;
  }
}
