/* 가입/로그인 단계별 중앙 레이어 */ .auth-overlay[hidden] {
  display:none!important
}
.auth-overlay {
  position:fixed;
  inset:0;
  z-index:12000;
  background:rgba(0,0,0,.67);
  display:flex;
  justify-content:center;
  align-items:center;
  padding:20px
}
.auth-box {
  position:relative;
  background:#fff;
  color:#242424;
  width:min(100%,400px);
  max-height:calc(100dvh - 40px);
  overflow-y:auto;
  border-radius:16px;
  box-shadow:0 20px 70px #0004;
  padding:34px 32px 28px;
  min-height:530px
}
.auth-close {
  position:absolute;
  right:15px;
  top:12px;
  background:transparent;
  border:0;
  font-size:27px;
  color:#444;
  cursor:pointer
}
.auth-box h2 {
  font-size:24px;
  line-height:1.4;
  text-align:center;
  margin:8px 0 28px;
  letter-spacing:-.6px
}
.auth-step {
  display:none
}
.auth-step.active {
  display:block
}
.auth-action {
  width:100%;
  border:1px solid #ddd;
  border-radius:8px;
  padding:13px 10px;
  margin:0 0 11px;
  background:#fff;
  font-weight:700;
  cursor:pointer;
  font-size:14px
}
.auth-action.blue {
  background:#4384f5;
  color:white;
  border-color:#4384f5
}
.auth-action.naver {
  background:#03c75a;
  color:white;
  border-color:#03c75a
}
.auth-action.kakao {
  background:#fee500;
  color:#272727;
  border-color:#fee500
}
.auth-action.apple {
  background:#191919;
  color:white;
  border-color:#191919
}
.auth-action.google {
  background:#f3f3f3;
  color:#444;
  border-color:#f3f3f3
}
.auth-action.email {
  border-color:#4384f5;
  color:#4384f5
}
.auth-action:disabled {
  opacity:.5;
  cursor:not-allowed
}
.auth-box hr {
  border:0;
  border-top:1px solid #e6e6e6;
  margin:19px 0
}
.auth-field {
  display:block;
  margin:13px 0
}
.auth-field>span {
  display:block;
  font-size:13px;
  font-weight:700;
  margin-bottom:6px
}
.auth-field small {
  display:block;
  font-size:11px;
  color:#777;
  margin-bottom:7px
}
.auth-field input {
  width:100%;
  border:1px solid #ddd;
  border-radius:8px;
  padding:12px;
  font-size:14px
}
.auth-terms {
  background:#f7f8fa;
  border-radius:9px;
  padding:14px;
  margin:12px 0
}
.auth-check {
  display:flex;
  gap:9px;
  align-items:flex-start;
  font-size:13px;
  line-height:1.5;
  margin:11px 0
}
.auth-check input {
  margin-top:3px;
  accent-color:#4384f5
}
.auth-sub {
  font-size:12px;
  color:#777;
  text-align:center
}
.auth-sub button {
  border:0;
  background:transparent;
  color:#4384f5;
  cursor:pointer
}
.auth-error {
  font-size:12px;
  color:#c02e34;
  min-height:20px;
  margin:7px 0
}
.auth-social {
  display:flex;
  gap:12px;
  justify-content:center;
  margin:18px 0 55px
}
.auth-social button {
  width:48px;
  height:48px;
  border-radius:50%;
  border:0;
  font-weight:800;
  cursor:pointer
}
.auth-notice {
  background:#f3f7fc;
  color:#56677a;
  border-radius:8px;
  padding:10px;
  font-size:12px;
  line-height:1.6;
  margin:12px 0
}
.auth-success {
  background:#eaf7ee;
  border-radius:8px;
  color:#20633a;
  padding:12px;
  text-align:center;
  font-weight:bold;
  margin-bottom:20px
}
@media(max-width:440px) {
  .auth-overlay {
    padding:10px
  }
  .auth-box {
    padding:34px 22px 22px;
    max-height:calc(100dvh - 20px);
    min-height:0
  }
  .auth-box h2 {
    font-size:22px
  }
}
