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

.nf {
  box-sizing: border-box;
  width: min(248px, 86vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  text-align: center;
  color: #17141a;
}

.nf__icon {
  display: block;
  font-size: clamp(40px, 13vw, 54px);
  line-height: 0;
  color: #17141a;
}

.nf__title {
  margin: 0;
  font-size: clamp(12px, 4vw, 14px);
  line-height: 1.3;
  font-weight: 800;
}

.nf__path {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nf__seg {
  height: 20px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  background: rgba(255, 247, 230, 0.18);
  color: #17141a;
  font-size: 10px;
  font-weight: 700;
}

.nf__seg.is-gone {
  border: 1px dashed rgba(23, 20, 26, 0.55);
  background: none;
  color: #17141a;
}

.nf__btn {
  height: 28px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid rgba(255, 247, 230, 0.42);
  border-radius: 999px;
  background: none;
  color: #17141a;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background 220ms ease-out;
}

.nf__btn:hover {
  background: rgba(255, 247, 230, 0.16);
}

.nf__btn:disabled {
  opacity: 0.5;
  cursor: default;
}

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

.nf.is-demo .nf__icon {
  animation: nf-wander 2s ease-out infinite;
}

@keyframes nf-wander {
  0%, 100% {
    transform: rotate(-26deg);
  }
  28% {
    transform: rotate(22deg);
  }
  54% {
    transform: rotate(-14deg);
  }
  78% {
    transform: rotate(10deg);
  }
}
.nf.is-demo .nf__seg.is-gone {
  animation: nf-blink 2s ease-out infinite;
}

@keyframes nf-blink {
  0%, 100% {
    opacity: 0.42;
  }
  50% {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nf.is-demo .nf__icon,
  .nf.is-demo .nf__seg.is-gone {
    animation: none !important;
  }
  .nf__btn {
    transition: none;
  }
}
