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

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

.afg {
  position: relative;
  width: min(300px, 86vw);
  display: grid;
  gap: 12px;
  justify-items: center;
}

.afg::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(110, 200, 255, calc(var(--glow, 0) * 0.22));
}

.afg__label {
  align-self: flex-start;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  color: rgba(255, 247, 230, 0.75);
}

.afg__frame {
  position: relative;
  width: 100%;
}

.afg__input {
  --glow: 0;
  box-sizing: border-box;
  width: 100%;
  border: 2px solid rgba(255, 247, 230, 0.3);
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 500;
  font-size: clamp(14px, 4vw, 16px);
  line-height: 1;
  font-family: inherit;
  color: #fff7e6;
  background: rgba(255, 247, 230, 0.06);
  letter-spacing: 0.1em;
  box-shadow: 0 0 calc(var(--glow) * 26px) rgba(110, 200, 255, 0.9), 0 0 calc(var(--glow) * 8px) rgba(110, 200, 255, 0.7);
}
.afg__input:focus {
  outline: none;
}

.afg__btn {
  border: 0;
  border-radius: 999px;
  padding: 8px 20px;
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  font-family: inherit;
  color: #17141a;
  background: #fff7e6;
  cursor: pointer;
  transition: transform 220ms cubic-bezier(0.2, 1.4, 0.4, 1);
}
.afg__btn:active {
  transform: scale(0.96);
}

@media (max-width: 340px) {
  .afg {
    width: min(260px, 88vw);
  }
}
@media (prefers-reduced-motion: reduce) {
  .afg__btn {
    transition: none;
  }
}
