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

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

.otp {
  box-sizing: border-box;
  width: min(280px, 86vw);
  background: #fff7e6;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
}
.otp__label {
  display: block;
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  font-family: inherit;
  color: #17141a;
}
.otp__row {
  display: flex;
  gap: 8px;
}
.otp__input {
  box-sizing: border-box;
  flex: 1 1 auto;
  min-width: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 12px 12px;
  font-weight: 600;
  font-size: clamp(14px, 4.2vw, 16px);
  letter-spacing: 0.12em;
  font-family: inherit;
  color: #17141a;
  background: #fff;
}
.otp__input:focus {
  outline: none;
  border-color: #2f6df6;
}
.otp__resend {
  box-sizing: border-box;
  flex: 0 0 auto;
  border: 0;
  border-radius: 12px;
  padding: 0 12px;
  font-weight: 700;
  font-size: 12px;
  font-family: inherit;
  color: #ffffff;
  background: #2f6df6;
  cursor: pointer;
  transition: background 140ms ease-out, opacity 140ms ease-out;
}
.otp__resend:disabled {
  background: rgba(23, 20, 26, 0.3);
  color: #17141a;
  cursor: not-allowed;
}
.otp__resend:focus-visible {
  outline: 2px solid #17141a;
  outline-offset: 2px;
}
.otp__status {
  margin: 8px 0 0;
  min-height: 14px;
  font-size: 11px;
  line-height: 1.4;
  font-family: inherit;
  color: rgba(23, 20, 26, 0.6);
}

@media (prefers-reduced-motion: reduce) {
  .otp__resend {
    transition: none;
  }
}
