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

.card {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 20px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  box-sizing: border-box;
}

.title {
  margin: 0;
  color: #17141a;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
}

.desc {
  margin: 0;
  color: #17141a;
  opacity: 0.72;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.label {
  color: #17141a;
  font-weight: 500;
  font-size: 12px;
}

.input {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(23, 20, 26, 0.24);
  background: #ffffff;
  color: #17141a;
  font-weight: 400;
  font-size: 14px;
}

.hint {
  margin: 0;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.hint.isError {
  color: #c2361a;
}

.hint.isNeutral {
  color: #17141a;
  opacity: 0.72;
}

.hint.isValid {
  color: #0a4fe8;
}

.submit {
  padding: 8px 16px;
  border: 0;
  border-radius: 12px;
  background: #0a4fe8;
  color: #fff7e6;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 340px) {
  .card {
    max-width: 260px;
    padding: 12px;
    gap: 4px;
  }
  .title {
    font-size: 13px;
  }
  .desc {
    font-size: 10px;
  }
  .label {
    font-size: 10px;
  }
  .input {
    padding: 4px 8px;
    font-size: 12px;
  }
  .hint {
    font-size: 10px;
  }
  .submit {
    padding: 4px 12px;
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .submit {
    transition: none;
  }
}
