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

.pdb {
  width: min(300px, 86vw);
  display: grid;
  gap: 8px;
}

.pdb__label {
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  color: #17141a;
}

.pdb__frame {
  position: relative;
}

.pdb__input {
  box-sizing: border-box;
  width: 100%;
  border: 2px solid rgba(23, 20, 26, 0.18);
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 500;
  font-size: clamp(14px, 4vw, 16px);
  line-height: 1;
  font-family: inherit;
  color: #17141a;
  background: #fff;
  letter-spacing: 0.06em;
}
.pdb__input:focus {
  outline: none;
  border-color: #0a4fe8;
}

.pdb__banner {
  position: relative;
  margin: 0;
  padding: 8px 12px 8px 16px;
  border-radius: 8px;
  background: #f3f1ea;
  color: #17141a;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(-10px);
  transition: transform var(--pdbSlideMs, 320ms) ease-out, opacity var(--pdbSlideMs, 320ms) ease-out;
}
.pdb__banner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 4px 0 0 4px;
  background: #0a4fe8;
}
.pdb__banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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