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

.ahf {
  width: 100%;
  max-width: 300px;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.ahf__btn {
  border: 0;
  border-radius: 12px;
  padding: 8px 16px;
  background: #17141a;
  color: #fff7e6;
  font: 700 13px/1 -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  cursor: pointer;
  transition: transform 140ms ease-out;
}
.ahf__btn:active {
  transform: scale(0.96);
}

.ahf__list {
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.ahf__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fff7e6;
  font: 600 12px/1 -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  animation: ahf-in 220ms ease-out backwards;
}

@keyframes ahf-in {
  from {
    transform: translateY(-8px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.ahf__time {
  color: rgba(23, 20, 26, 0.6);
}

.ahf__result {
  color: #17141a;
}

.ahf__row--fail .ahf__result {
  color: #c2361a;
}

.ahf__row--ok .ahf__result {
  color: #0a4fe8;
}

@media (max-width: 340px) {
  .ahf {
    max-width: 220px;
  }
  .ahf__row {
    font-size: 11px;
    padding: 8px 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ahf__btn {
    transition: none;
  }
  .ahf__row {
    animation: none;
  }
}
