/* 쇼부카지노 시안 - 로그인·회원가입·비밀번호 찾기·새 비밀번호 화면 전용 모양.
   머리띠 아래 흐린 첫 화면 그림(hero-reel) + 어두운 막 위에 가운데 카드 하나를 띄운다. */

/* site.css 의 --leaf-soft 는 상대 주소(../img)라 p/ 폴더 CSS 에서 금박 단추(--gold-btn)를 쓰면 /assets/css/img 로 잘못 풀린다.
   이 페이지에서는 절대 주소로 다시 정해 금박 배경이 제대로 나오게 한다. */
:root { --leaf-soft: url(/assets/img/goldleaf-soft.webp); }

.au { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; min-height: calc(100svh - var(--hd-h)); padding: clamp(40px, 6vh, 72px) var(--gut) clamp(56px, 8vh, 96px); }
.au-bg { position: absolute; inset: -40px; z-index: -2; background: url(/assets/img/hero-reel.webp) 50% 50% / cover no-repeat; filter: blur(14px) saturate(1.08) brightness(.74); }
.au::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 46% 64% at 50% 46%, rgba(11, 8, 6, .22), rgba(11, 8, 6, .8) 82%), linear-gradient(0deg, var(--lacquer) 0%, rgba(11, 8, 6, 0) 24%); }

/* 카드 */
.au-card { position: relative; width: min(100%, 460px); padding: 38px 36px 30px; border-radius: 18px; background: linear-gradient(180deg, rgba(31, 23, 14, .93), rgba(15, 11, 7, .95)); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 100px -30px rgba(0, 0, 0, .9), 0 0 90px -40px rgba(217, 177, 101, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.au-card::before { content: ""; position: absolute; left: 30px; right: 30px; top: 0; height: 1px; background: linear-gradient(90deg, rgba(246, 226, 164, 0), var(--gold-hi), rgba(246, 226, 164, 0)); opacity: .75; }
.au-wide { width: min(100%, 600px); }
.au-logo { display: block; width: max-content; margin: 0 auto; }
.au-logo img { width: auto; height: 46px; }
.au-t { margin: 20px 0 0; text-align: center; font: 800 29px/1.25 var(--serif); letter-spacing: -.04em; color: var(--ivory); }
.au-d { margin: 8px 0 0; text-align: center; font-size: 14.5px; line-height: 1.6; color: var(--ivory-2); }
.au-note { margin: 18px 0 0; padding: 11px 14px; border-radius: 8px; background: rgba(217, 177, 101, .1); text-align: center; font-size: 13.5px; line-height: 1.55; color: var(--gold-hi); }
.au-form { margin-top: 26px; }

/* 비밀번호 보기 단추 */
.fld .au-pw { position: relative; display: block; margin: 0; }
.au-pw input { padding-right: 54px; }
.au-eye { position: absolute; right: 3px; top: 50%; width: 44px; height: 44px; margin-top: -22px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 6px; background: transparent; color: var(--ivory-3); cursor: pointer; }
.au-eye:hover { color: var(--ivory); }
.au-eye svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.au-eye::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 1.6px; margin: -.8px 0 0 -11px; border-radius: 2px; background: currentColor; transform: rotate(-40deg) scaleX(0); transition: transform .25s var(--ease); }
.au-eye[aria-pressed="true"] { color: var(--gold-hi); }
.au-eye[aria-pressed="true"]::after { transform: rotate(-40deg) scaleX(1); }

.au-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 2px; font-size: 14px; }
.au-row a { padding: 10px 0; color: var(--ivory-2); text-decoration: none; }
.au-row a:hover { color: var(--gold-hi); }
.au-msg { min-height: 22px; margin: 8px 0 10px; text-align: center; font-size: 14px; line-height: 1.5; color: #f08a74; }
.au-msg.ok { color: var(--ok); }
.au-or { display: flex; align-items: center; gap: 14px; margin: 22px 0 16px; font-size: 12.5px; color: var(--ivory-3); }
.au-or::before, .au-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.au-tg svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.au-sw { margin: 20px 0 0; text-align: center; font-size: 14px; color: var(--ivory-2); }
.au-sw a { margin-left: 4px; font-weight: 700; color: var(--gold-hi); text-decoration: none; }
.au-sw a:hover { text-decoration: underline; text-underline-offset: 4px; }
.au-sw-2 { margin-top: 6px; }
.au-sw-2 a { margin: 0; font-weight: 500; color: var(--ivory-3); }

/* 이미 로그인한 상태 */
.au-on { margin-top: 26px; text-align: center; }
.au-on img { width: 68px; height: 68px; margin: 0 auto; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .6)); }
.au-on p { margin: 14px 0 0; font-size: 15px; color: var(--ivory-2); }
.au-on b { font: 700 18px/1.3 var(--serif); color: var(--gold-hi); }
.au-btns { display: grid; gap: 8px; margin-top: 20px; }
.au-card.is-in .au-form, .au-card.is-in .au-or, .au-card.is-in .au-tg, .au-card.is-in .au-sw { display: none; }

/* 카드 아래 혜택 */
.au-perks { display: flex; gap: 10px; width: min(100%, 460px); margin: 0; padding: 0; list-style: none; }
.au-perks li { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 15px 6px; border-radius: 12px; background: rgba(15, 11, 7, .74); box-shadow: inset 0 0 0 1px var(--line); text-align: center; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.au-perks b { font: 900 23px/1.1 var(--serif); letter-spacing: -.03em; }
.au-perks span { font-size: 12px; line-height: 1.45; color: var(--ivory-2); }

/* 회원가입: 묶음 */
.au-sec { min-width: 0; margin: 0; padding: 0; border: 0; }
.au-sec + .au-sec { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.au-sec legend { float: left; width: 100%; display: block; margin-bottom: 14px; padding: 0; font: 700 16.5px/1.3 var(--serif); letter-spacing: -.02em; color: var(--champagne); }
.au-sec legend + * { clear: both; }
.au-sec legend em { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-right: 10px; border-radius: 50%; background: var(--gold-btn); font: 800 12px/1 var(--sans); font-style: normal; color: #1d1408; vertical-align: 2px; }
.fld .inp-btn { display: flex; margin: 0; }
.inp-btn .btn { height: 50px; padding: 0 16px; font-size: 14.5px; }
.au-hint { font-size: 12.5px; line-height: 1.55; color: var(--ivory-3); }
.au-hint.ok { color: var(--ok); }
.au-hint.bad { color: #f08a74; }
.fld .au-opt { display: inline; margin: 0; font-style: normal; color: var(--ivory-3); }

/* 비밀번호 강도 막대 */
.fld .au-meter { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin: 10px 0 0; }
.au-meter i { height: 4px; border-radius: 2px; background: var(--ink-3); transition: background-color .3s; }
.au-meter[data-level="1"] i:nth-child(-n+1) { background: var(--seal); }
.au-meter[data-level="2"] i:nth-child(-n+2) { background: var(--warn); }
.au-meter[data-level="3"] i:nth-child(-n+3) { background: var(--gold); }
.au-meter[data-level="4"] i { background: var(--ok); }
.au-rules { display: flex; flex-wrap: wrap; gap: 6px; margin: -2px 0 14px; padding: 0; list-style: none; }
.au-rules li { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; background: rgba(19, 15, 10, .7); box-shadow: inset 0 0 0 1px var(--line); font-size: 12.5px; color: var(--ivory-3); transition: color .2s, box-shadow .2s; }
.au-rules li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.au-rules li.on { color: var(--ok); box-shadow: inset 0 0 0 1px rgba(95, 208, 143, .45); }

/* 휴대폰 인증 */
.fld .au-code-in { position: relative; display: block; flex: 1; min-width: 0; margin: 0; }
.au-code-in input { padding-right: 76px; letter-spacing: .18em; font-variant-numeric: tabular-nums; }
.au-code-in input::placeholder { letter-spacing: 0; }
.au-timer { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font: 700 14px/1 var(--sans); color: #f08a74; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.au-sms.is-ok .au-timer { color: var(--ok); }
.au-sms-msg { margin: -4px 0 12px; }
.au-sms.is-ok input { color: var(--ivory-2); }

/* 약관 동의 */
.au-all { width: 100%; padding: 15px 16px; border-radius: 10px; background: rgba(217, 177, 101, .08); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 700; color: var(--ivory); }
.au-terms { margin: 8px 0 0; padding: 0 4px 0 16px; list-style: none; }
.au-terms li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.au-terms .check { font-size: 14px; }
.au-terms a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 4px; font-size: 13px; color: var(--ivory-3); text-decoration: underline; text-underline-offset: 3px; }
.au-terms a:hover { color: var(--gold-hi); }
.au-agree + .au-msg { margin-top: 12px; }

/* 완료 화면 */
.au-done { margin-top: 24px; text-align: center; }
.au-done-seal { width: 100px; height: 100px; margin: 0 auto; filter: drop-shadow(0 12px 26px rgba(0, 0, 0, .6)); animation: auSeal .9s var(--ease); }
@keyframes auSeal { from { opacity: 0; transform: scale(.6) rotate(-24deg); } }
.au-done-t { margin: 16px 0 0; font-size: 15.5px; line-height: 1.75; color: var(--ivory-2); }
.au-done-t b { font: 700 18px/1.3 var(--serif); color: var(--gold-hi); }
.au-done > .btn-lg { margin-top: 24px; }
.au-gifts { display: grid; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; text-align: left; }
.au-gifts + .btn-lg { margin-top: 22px; }
.au-gifts li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 10px; background: rgba(217, 177, 101, .08); box-shadow: inset 0 0 0 1px var(--line); }
.au-gifts b { font: 700 15.5px/1.3 var(--serif); color: var(--gold-hi); }
.au-gifts span { font-size: 13px; color: var(--ivory-3); text-align: right; }
.au-done-home { margin-top: 8px; }

/* 진행 단계 */
.au-steps { display: flex; justify-content: center; margin: 22px 0 0; padding: 0; list-style: none; }
.au-steps li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ivory-3); white-space: nowrap; }
.au-steps li + li::before { content: ""; width: 26px; height: 1px; margin: 0 10px; background: var(--line-2); }
.au-steps i { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); font: 700 12px/1 var(--sans); font-style: normal; color: var(--ivory-3); }
.au-steps [aria-current="step"] { font-weight: 600; color: var(--ivory); }
.au-steps [aria-current="step"] i { background: var(--gold-btn); box-shadow: none; color: #1d1408; }
.au-steps .done { color: var(--ivory-2); }
.au-steps .done i { background: rgba(95, 208, 143, .14); box-shadow: inset 0 0 0 1px rgba(95, 208, 143, .45); color: var(--ok); }

@media (max-width: 760px) {
  .au { justify-content: flex-start; gap: 16px; min-height: calc(100svh - var(--hd-h) - 62px); padding: 22px 16px 44px; }
  .au-bg { background-image: url(/assets/img/hero-reel-m.webp); }
  .au-card { padding: 28px 18px 24px; border-radius: 16px; }
  .au-card::before { left: 20px; right: 20px; }
  .au-logo img { height: 40px; }
  .au-t { margin-top: 16px; font-size: 25px; }
  .au-d { font-size: 14px; }
  .au-form { margin-top: 22px; }
  .au-perks { gap: 8px; }
  .au-perks li { padding: 13px 4px; }
  .au-perks b { font-size: 20px; }
  .au-perks span { font-size: 11.5px; }
  .inp-btn .btn { padding: 0 12px; font-size: 13.5px; }
  .au-terms { padding-left: 8px; }
  .au-steps li { font-size: 12px; gap: 6px; }
  .au-steps li + li::before { width: 12px; margin: 0 6px; }
  .au-gifts li { flex-direction: column; align-items: flex-start; gap: 2px; }
  .au-gifts span { text-align: left; }
}

/* 아주 좁은 화면(320): 단추가 붙은 입력칸의 안내 글이 잘리지 않게 */
@media (max-width: 360px) {
  .inp-btn .btn { padding: 0 10px; font-size: 13px; }
  .au-form input::placeholder { font-size: 14px; }
}

/* 체크 칸: 글자까지 눌리는 줄 높이 40px 이상 */
.au-form .check { min-height: 40px; }

/* 실연동(html.api-live): 솔루션에 없는 시안 요소는 숨긴다(로그인 상태 유지·텔레그램 로그인·아이디 중복 확인 단추·시안 단계 표시) */
.api-live .au-demo, .api-live .au-demo-box { display: none; }

/* 로그인 보안 확인(Cloudflare Turnstile): 칸 폭에 맞추고 휴대폰 320 에서도 카드 밖으로 나가지 않게 */
.au-cap { min-height: 65px; max-width: 100%; overflow: hidden; border-radius: 6px; }
.au-cap > div, .au-cap iframe { max-width: 100%; }
.fld .au-hint[hidden] { display: none; }

/* 비밀번호 찾기 안내(실연동) */
.au-guide { margin-top: 22px; }
.au-guide-t { margin: 0; text-align: center; font: 700 18px/1.4 var(--serif); letter-spacing: -.02em; color: var(--gold-hi); }
.au-guide-d { margin: 10px 0 0; text-align: center; font-size: 14.5px; line-height: 1.65; color: var(--ivory-2); }
.au-guide-l { margin: 18px 0 22px; padding: 14px 16px 14px 32px; border-radius: 10px; background: rgba(217, 177, 101, .08); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; line-height: 1.7; color: var(--ivory-2); }
.au-guide-l li + li { margin-top: 6px; }
.au-guide-l a { color: var(--gold-hi); text-underline-offset: 3px; }
.au-guide-back { margin-top: 8px; }
.api-live .au-row { justify-content: flex-end; }

/* ═════ 회원가입 개편(2026-10-14): 회원 유형 카드 · zxc 가입 규칙 안내 · 인증 줄 · 추천 코드 접기 · 완료 화면 ═════
   zxc 가입 화면(components/auth/AuthRegisterPanel.tsx)의 규칙을 쇼부 골드 모양으로 옮긴 것. 위쪽 시안용 규칙은 로그인·비밀번호 화면이 그대로 쓴다. */

/* 묶음 번호는 보이는 묶음만 센다(회원 유형에 따라 숨는 묶음은 세지 않는다) */
.au-form { counter-reset: aus; }
.au-sec { counter-increment: aus; }
.au-sec legend em::before { content: counter(aus); }

/* 입력 칸 오류 표시 */
.fld input[aria-invalid="true"], .fld select[aria-invalid="true"] { border-color: rgba(240, 138, 116, .8); box-shadow: 0 0 0 3px rgba(240, 138, 116, .14); }
.au-hint.warn { color: var(--warn); }
.au-hint.gold { color: var(--gold-hi); }

/* 회원 유형 카드 2장 */
.au-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.au-ty { position: relative; display: block; min-width: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.au-ty input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.au-ty-in { position: relative; display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 18px 16px 16px; border-radius: 14px; background: linear-gradient(180deg, rgba(36, 27, 16, .9), rgba(16, 12, 8, .94)); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: box-shadow .25s var(--ease), background-color .25s; }
.au-ty-in::before { content: ""; position: absolute; left: 16px; right: 16px; top: 0; height: 1px; background: linear-gradient(90deg, rgba(246, 226, 164, 0), var(--gold-hi), rgba(246, 226, 164, 0)); opacity: 0; transition: opacity .25s; }
.au-ty:hover .au-ty-in { box-shadow: inset 0 0 0 1px var(--line-2); }
.au-ty input:checked + .au-ty-in { background: linear-gradient(180deg, rgba(66, 47, 20, .94), rgba(26, 19, 11, .97)); box-shadow: inset 0 0 0 1.5px var(--gold), 0 18px 44px -24px rgba(217, 177, 101, .75); }
.au-ty input:checked + .au-ty-in::before { opacity: .9; }
.au-ty input:focus-visible + .au-ty-in { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.au-ty-ico { flex: none; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(217, 177, 101, .08); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--gold); transition: color .25s, background-color .25s; }
.au-ty-ico svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.au-ty input:checked + .au-ty-in .au-ty-ico { background: var(--gold-btn); box-shadow: none; color: #1d1408; }
.au-ty-tx { display: block; min-width: 0; }
.au-ty-t { display: block; font: 800 17px/1.3 var(--serif); letter-spacing: -.03em; color: var(--ivory); }
.au-ty-d { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.5; color: var(--ivory-3); }
.au-ty input:checked + .au-ty-in .au-ty-t { color: var(--gold-hi); }
.au-ty-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.au-ty-tags i { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(19, 15, 10, .7); box-shadow: inset 0 0 0 1px var(--line); font: 500 12px/1 var(--sans); font-style: normal; color: var(--ivory-2); white-space: nowrap; }
.au-ty input:checked + .au-ty-in .au-ty-tags i { box-shadow: inset 0 0 0 1px rgba(217, 177, 101, .5); color: var(--champagne); }
.au-ty-ck { position: absolute; right: 12px; top: 12px; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background-color .25s; }
.au-ty-ck::after { content: ""; position: absolute; left: 7.5px; top: 3.5px; width: 5px; height: 10px; border: solid #1d1408; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .25s var(--ease); }
.au-ty input:checked + .au-ty-in .au-ty-ck { background: var(--gold-btn); box-shadow: none; }
.au-ty input:checked + .au-ty-in .au-ty-ck::after { transform: rotate(45deg) scale(1); }
.au-ty-note { margin: 12px 0 0; }

/* 시안 모드에서만 보이는 시연 설정(실연동에서는 .au-demo 규칙으로 숨는다) */
.au-dctl { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-top: 12px; padding: 8px 14px; border-radius: 10px; border: 1px dashed var(--line-2); }
.au-dctl b { font: 700 12.5px/1 var(--sans); color: var(--gold); }
.au-dctl .check { min-height: 40px; font-size: 13px; }

/* 비밀번호 강도(5칸, zxc passwordStrengthFor 의 20·40·60·80·100) · 필수 조건 */
.fld .au-meter5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.au-meter5[data-z="1"] i:nth-child(-n+1), .au-meter5[data-z="2"] i:nth-child(-n+2) { background: var(--seal); }
.au-meter5[data-z="3"] i:nth-child(-n+3) { background: var(--warn); }
.au-meter5[data-z="4"] i:nth-child(-n+4) { background: var(--gold); }
.au-meter5[data-z="5"] i { background: var(--ok); }
.au-pol { margin: 2px 0 16px; padding: 12px 14px 6px; border-radius: 10px; background: rgba(217, 177, 101, .06); box-shadow: inset 0 0 0 1px var(--line); }
.au-pol-hd { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; margin: 0 0 10px; font-size: 12.5px; line-height: 1.5; color: var(--ivory-3); }
.au-pol-hd b { font: 700 13.5px/1.4 var(--sans); color: var(--champagne); }
.au-pol .au-rules { margin: 0 0 8px; }

/* 테더 지갑 안내 */
.au-notes { margin: 2px 0 0; padding: 12px 16px 12px 32px; border-radius: 10px; background: rgba(217, 177, 101, .06); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; line-height: 1.65; color: var(--ivory-2); }
.au-notes li + li { margin-top: 4px; }
/* 34자 지갑주소는 좁은 화면에서 입력 칸에 다 안 보일 수 있어 되읽기 줄(#auWalletEcho)이 전체를 보여 준다. 입력 칸 글자는 16px 유지(iOS 확대 방지) */
.fld .au-addr { font: 600 clamp(11px, 3.3vw, 13px)/1.7 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .01em; color: var(--champagne); overflow-wrap: anywhere; }
.fld .au-addr[hidden] { display: none; }
@media (max-width: 400px) { .fld #auWallet { padding: 0 10px; } }

/* 휴대폰 인증: 국가번호 + 번호 + 인증번호 받기 */
.au-sms-note { margin: 0 0 12px; }
.au-tel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; }
/* 가입 문자 인증을 끈 사이트(작업 요청 #92): 인증번호 받기 단추가 없어 국가번호 + 번호 두 칸 */
.au-sms.is-number .au-tel { grid-template-columns: auto minmax(0, 1fr); }
.au-tel > * { min-width: 0; }
.fld .au-tel .au-cc { width: auto; min-width: 96px; height: 50px; padding-left: 12px; }
.fld .au-tel .au-cc:disabled { opacity: 1; padding-right: 14px; background-image: none; color: var(--ivory-2); cursor: default; }
.au-tel .btn { height: 50px; padding: 0 16px; font-size: 14.5px; white-space: nowrap; }
.au-tel .btn[disabled], .inp-btn .btn[disabled] { opacity: .62; cursor: default; }
.au-phone-off { margin: 0; padding: 12px 14px; border-radius: 10px; background: rgba(217, 177, 101, .06); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; line-height: 1.6; color: var(--ivory-2); }

/* 추천 코드: 눌러서 펼치기(추천 링크로 들어오면 펼친 채 고정) */
.au-ref { margin-bottom: 14px; }
.au-ref-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; font-size: 14px; color: var(--ivory-2); }
.au-ref-hd .au-opt { font-style: normal; color: var(--ivory-3); }
.au-ref-tg { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--gold-hi); font: 600 13.5px/1 var(--sans); cursor: pointer; }
.au-ref-tg:hover { background: rgba(217, 177, 101, .1); }
.au-ref-in { margin: 6px 0 0; }
.au-ref-in .au-hint { margin: 6px 0 0; }
.au-ref.is-lock .au-ref-hd { color: var(--gold-hi); }
.au-ref-in input[readonly] { color: var(--ivory-2); background: #110d09; border-color: var(--line-2); }

/* 가입 일시 중단 안내 */
.au-closed { margin-top: 20px; padding: 16px; border-radius: 12px; background: rgba(200, 64, 42, .1); box-shadow: inset 0 0 0 1px rgba(200, 64, 42, .4); text-align: center; }
.au-closed b { display: block; font: 700 16px/1.45 var(--serif); color: #f3b3a3; }
.au-closed p { margin: 6px 0 14px; font-size: 13.5px; line-height: 1.6; color: var(--ivory-2); }

/* 완료 화면: 회원 유형 딱지 · 쪽지 안내 */
.au-done-tp { display: flex; align-items: center; justify-content: center; width: max-content; max-width: 100%; margin: 12px auto 0; padding: 7px 16px; border-radius: 999px; background: rgba(217, 177, 101, .1); box-shadow: inset 0 0 0 1px var(--line-2); font: 600 13.5px/1.3 var(--sans); color: var(--gold-hi); }
.au-done-tp:empty { display: none; }
.au-done-noti { margin: 18px 0 0; text-align: left; }
.au-done-noti b { color: var(--gold-hi); }
.au-done-noti a { color: var(--gold-hi); text-underline-offset: 3px; }
.au-gifts span { overflow-wrap: anywhere; }

/* 로그인 승인 대기 안내 */
.au-pend { margin: 18px 0 14px; padding: 14px 16px; border-radius: 10px; background: rgba(217, 177, 101, .08); box-shadow: inset 0 0 0 1px var(--line); text-align: center; }
.au-pend b { display: block; font: 700 15.5px/1.45 var(--serif); color: var(--gold-hi); }
.au-pend p { margin: 6px 0 12px; font-size: 13.5px; line-height: 1.6; color: var(--ivory-2); }

@media (max-width: 560px) {
  .au-types { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .au-ty-in { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 14px; row-gap: 12px; padding: 14px 46px 14px 14px; }
  .au-ty-tags { grid-column: 1 / -1; margin-top: 0; }
  .au-ty-ck { top: 14px; }
}
@media (max-width: 440px) {
  .au-tel { grid-template-columns: auto minmax(0, 1fr); }
  .au-tel .btn { grid-column: 1 / -1; }
}

/* 안내 목록 속 링크는 글줄 높이는 그대로 두고 누르는 자리만 넓힌다 */
.au-guide-l a { padding: 8px 0; }

/* 안내 줄 안의 링크(가입 결과를 못 받았을 때의 로그인 바로가기) */
.au-msg a { color: var(--gold-hi); text-underline-offset: 3px; }
