/* 로그인 / 약관동의 / 회원가입 팝업 (원본 사이트 팝업 디자인) */
.au-root { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: flex-start; justify-content: center; padding: 20px 12px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.au-root[hidden] { display: none; }
body.au-lock { overflow: hidden; }
.au-dim { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); }
.au-box {
  position: relative; width: min(376px, 100%); margin: auto; padding: 34px 26px 28px;
  background: #fff; color: #212121; font-size: 15px; line-height: 1.6;
}
.au-box * { box-sizing: border-box; }
.au-x {
  position: absolute; top: 14px; right: 14px; width: 32px; height: 32px;
  background: none; border: 0; cursor: pointer; opacity: .45;
}
.au-x::before, .au-x::after { content: ""; position: absolute; top: 15px; left: 3px; width: 26px; height: 1px; background: #212121; }
.au-x::before { transform: rotate(45deg); }
.au-x::after { transform: rotate(-45deg); }
.au-title { margin: 6px 0 26px; text-align: center; font-size: 24px; line-height: 1.3; font-weight: 700; color: #212121; }

.au-group { border: 1px solid #e3e3e3; }
.au-group input { display: block; width: 100%; height: 44px; padding: 0 16px; border: 0; border-top: 1px solid #e3e3e3; background: #fff; font: inherit; font-size: 15px; color: #212121; }
.au-group input:first-child { border-top: 0; }
.au-group input::placeholder, .au-in::placeholder { color: #9a9a9a; }
.au-group input:focus, .au-in:focus, .au-sel:focus { outline: 2px solid var(--blue, #1c73d7); outline-offset: -2px; }
.au-in, .au-sel { display: block; width: 100%; height: 46px; padding: 0 16px; border: 1px solid #e3e3e3; background: #fff; font: inherit; font-size: 15px; color: #212121; border-radius: 0; }
.au-bad { outline: 2px solid #e0405a !important; outline-offset: -2px; }

.au-chk { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; cursor: pointer; user-select: none; }
.au-chk input { position: absolute; opacity: 0; width: 0; height: 0; }
.au-chk i { flex: 0 0 22px; width: 22px; height: 22px; border: 1px solid #cfcfcf; background: #fff; position: relative; }
.au-chk input:checked + i { background: var(--blue, #1c73d7); border-color: var(--blue, #1c73d7); }
.au-chk input:checked + i::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.au-chk input:focus-visible + i { outline: 2px solid var(--blue, #1c73d7); outline-offset: 2px; }
.au-chk em { color: #e0405a; font-style: normal; font-size: 13px; margin-left: -4px; }

.au-btn { display: block; width: 100%; height: 46px; margin-top: 20px; border: 0; background: var(--blue, #1c73d7); color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.au-btn[disabled] { opacity: .55; cursor: default; }
.au-btn.ghost { background: #fff; color: #212121; }
.au-links { display: flex; justify-content: space-between; margin-top: 18px; font-size: 14px; }
.au-links a { color: #212121; }
.au-msg { min-height: 20px; margin: 12px 0 0; font-size: 13px; color: #e0405a; font-weight: 600; }
.au-msg.info { color: #1a4f94; font-weight: 400; background: #f3f7fd; padding: 10px 12px; }

/* 약관동의 */
.au-terms .au-chk { margin-top: 20px; }
.au-terms .au-chk.all { margin-top: 4px; font-weight: 500; }
.au-terms-box { height: 110px; margin-top: 12px; padding: 12px 14px; overflow-y: auto; border: 1px solid #e3e3e3; font-size: 13px; line-height: 1.7; white-space: pre-wrap; word-break: keep-all; }
.au-two { display: flex; gap: 10px; margin-top: 26px; }
.au-two .au-btn { margin-top: 0; flex: 1; }

/* 회원가입 */
.au-avatar { position: relative; width: 80px; height: 80px; margin: 0 auto 16px; border-radius: 50%; background: #d8d8d8 center / cover no-repeat; }
.au-avatar svg { position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; fill: #f4f4f4; }
.au-avatar.has svg { display: none; }
.au-cam { position: absolute; right: -4px; bottom: -2px; width: 28px; height: 28px; border: 1px solid #e3e3e3; border-radius: 50%; background: #fff; cursor: pointer; }
.au-cam::before { content: ""; position: absolute; left: 6px; top: 9px; width: 14px; height: 10px; border: 2px solid #555; border-radius: 2px; }
.au-cam::after { content: ""; position: absolute; left: 11px; top: 12px; width: 4px; height: 4px; border: 2px solid #555; border-radius: 50%; }
.au-note { margin: 0 0 14px; padding: 12px 14px; border-left: 3px solid var(--blue, #1c73d7); background: #f4f4f4; font-size: 13px; color: #555; }
.au-hint { margin: 6px 0 0; font-size: 12px; color: #777; }
.au-label { display: block; margin: 20px 0 6px; font-size: 14px; font-weight: 500; }
.au-label.req::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 6px; border-radius: 50%; background: var(--blue, #1c73d7); }
.au-birth { display: flex; gap: 8px; }
.au-birth .au-sel { padding: 0 10px; }
.au-birth select:first-child { flex: 1.1; }
.au-birth select + select { flex: 1; }

.au-toast { position: fixed; left: 50%; bottom: 90px; z-index: 3100; transform: translateX(-50%); padding: 12px 22px; background: rgba(0, 0, 0, .85); color: #fff; font-size: 14px; border-radius: 30px; }

/* 로그인 상태 표시 (헤더) */
.hd-login.is-user { color: #212121; font-weight: 700; cursor: default; }

/* 모바일 슬라이드 메뉴 하단 계정 영역 */
.sl-account { display: flex; gap: 18px; padding: 18px 20px; border-top: 1px solid #eee; }
.sl-account a { font-size: 14px; color: #656565; }
.sl-account a.is-user { color: #212121; font-weight: 700; cursor: default; }
.au-opt { font-style: normal; font-weight: 400; color: #888; font-size: 13px; }

/* 비밀번호 보기(눈) 버튼 */
.au-group .au-pw { position: relative; border-top: 1px solid #e3e3e3; }
.au-group .au-pw input { border-top: 0; padding-right: 48px; }
.au-eye { position: absolute; top: 0; right: 0; width: 46px; height: 44px; padding: 0; border: 0; background: none; color: #9a9a9a; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.au-eye:hover { color: #555; }
.au-eye .au-slash { display: none; }
.au-eye.on { color: var(--blue, #1c73d7); }
.au-eye.on .au-slash { display: block; }
