/* ════════════════════════════════════════════════════════════════════════
   로그인 · 회원가입 (2026-10-22 2차 «소대 색띠») — 왼쪽 = 색띠 위의 소대원, 오른쪽 = 남색 테두리 입력판
   ════════════════════════════════════════════════════════════════════════ */
.auth-page { background: var(--mist); }
.auth-stage { padding: 40px 16px 30px; }
.auth-card { width: min(1000px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); overflow: hidden; border: 3px solid var(--ink); border-radius: 24px; background: #fff; box-shadow: 0 6px 0 rgba(11, 22, 89, 0.18); }

.auth-art { position: relative; min-height: 600px; overflow: hidden; isolation: isolate; border-right: 3px solid var(--ink); display: flex; flex-direction: column; justify-content: flex-start; gap: 8px; padding: 28px 28px 0; }
.art-bands { position: absolute; inset: 0 -140px; z-index: -1; display: flex; gap: 10px; transform: skewX(-24deg); background: #fff; }
.art-bands i { flex: 1; background-size: 60px 60px; }
.art-bands i:nth-child(1) { background-color: var(--lime); background-image: var(--pat-lime); }
.art-bands i:nth-child(2) { background-color: var(--blue); background-image: var(--pat-blue); }
.art-bands i:nth-child(3) { background-color: var(--pink); background-image: var(--pat-pink); }
.art-bands i:nth-child(4) { background-color: var(--yellow); background-image: var(--pat-yellow); }
.art-bands i:nth-child(5) { background-color: var(--teal); background-image: var(--pat-teal); }
.art-tx h2 { margin: 0; font-size: 38px; line-height: 1.2; }
.art-tx p { display: inline-block; margin: 14px 0 0; padding: 8px 14px; border: 2px solid var(--ink); border-radius: 12px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 700; box-shadow: 0 3px 0 var(--ink); }
.art-char { align-self: center; width: auto; max-width: 100%; max-height: 360px; margin-top: 22px; }

.auth-form { display: flex; flex-direction: column; min-width: 0; padding: 40px 46px 34px; }
.auth-form h1 { display: flex; align-items: center; gap: 12px; margin: 0; font-family: var(--font-display); font-weight: normal; font-size: 34px; line-height: 1.2; }
.auth-form h1 img { width: 52px; height: 52px; }
.auth-form .sub { margin: 6px 0 22px; color: var(--ink-3); font-size: 15px; }

.fld { display: block; margin-bottom: 14px; }
.fld > .lb { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; font-size: 14px; font-weight: 800; color: var(--ink); }
.fld > .lb em { color: var(--ink-3); font-size: 12px; font-style: normal; font-weight: 400; }
.fld input[type="text"], .fld input[type="password"], .fld input[type="tel"], .fld input:not([type]) {
	width: 100%; height: 50px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 14px; background: #fff; color: var(--ink); font-size: 16px; font-weight: 700;
	transition: box-shadow 0.15s, background 0.15s;
}
.fld input::placeholder { color: #9aa0bf; font-weight: 400; }
.fld input:focus { outline: none; box-shadow: 0 0 0 4px rgba(249, 190, 11, 0.5); }
.fld.bad input { background: var(--pink-l); }
.fld.good input { background: var(--lime-l); }
.fld .help { display: block; min-height: 18px; margin-top: 5px; color: var(--ink-3); font-size: 12.5px; }
.fld.bad .help { color: var(--pink-d); font-weight: 700; }
.fld.good .help { color: var(--lime-d); font-weight: 700; }
.pw { position: relative; display: block; }
.pw input { padding-right: 54px !important; }
.eye { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: var(--ink-2); }
.eye:hover { background: var(--mist); color: var(--ink); }
.eye svg { width: 21px; height: 21px; }
.eye .off { display: none; }
.eye[aria-pressed="true"] .on { display: none; }
.eye[aria-pressed="true"] .off { display: block; }
.caps { display: inline-flex; align-items: center; gap: 5px; margin-top: 5px; color: var(--orange-d); font-size: 12.5px; font-weight: 800; }
.meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 8px; }
.meter i { height: 8px; border: 2px solid var(--ink); border-radius: 6px; background: #fff; transition: background 0.2s; }
.meter[data-lv="1"] i:nth-child(-n+1) { background: var(--pink); }
.meter[data-lv="2"] i:nth-child(-n+2) { background: var(--orange); }
.meter[data-lv="3"] i:nth-child(-n+3) { background: var(--yellow); }
.meter[data-lv="4"] i { background: var(--lime); }

.opts { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 16px; color: var(--ink-2); font-size: 14px; }
.ck { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; user-select: none; }
.ck input { width: 18px; height: 18px; accent-color: var(--lime-d); }
.form-msg { min-height: 20px; margin: 0 0 10px; color: var(--pink-d); font-size: 14px; font-weight: 800; }
.form-msg.ok { color: var(--lime-d); }
.btn.big { width: 100%; height: 56px; font-size: 21px; }
.btn.big .spin { width: 18px; height: 18px; border: 3px solid rgba(11, 22, 89, 0.3); border-top-color: var(--ink); border-radius: 50%; animation: auth-spin 0.8s linear infinite; }
@keyframes auth-spin { to { transform: rotate(360deg); } }

.alt { display: flex; justify-content: center; gap: 8px; margin-top: 22px; padding-top: 18px; border-top: 2px dashed var(--line); color: var(--ink-3); font-size: 14.5px; }
.alt a { color: var(--ink); font-weight: 800; text-decoration: underline; text-decoration-color: var(--lime-d); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.alt2 { margin-top: 10px; text-align: center; font-size: 13px; }
.alt2 a { color: var(--ink-3); }
.alt2 a:hover { color: var(--ink); text-decoration: underline; }

.terms { margin-bottom: 14px; padding: 12px 14px; border: 2px solid var(--ink); border-radius: 14px; background: var(--mist); }
.terms summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; font-size: 14px; font-weight: 800; }
.terms summary::-webkit-details-marker { display: none; }
.terms summary::after { content: '펼치기'; padding: 1px 10px; border: 2px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); font-size: 12px; font-weight: 700; }
.terms[open] summary::after { content: '접기'; }
.terms ol { max-height: 170px; overflow: auto; margin: 10px 0 0; padding: 0 4px 0 18px; color: var(--ink-2); font-size: 13px; line-height: 1.75; }
.terms .ck { margin-top: 10px; color: var(--ink); font-size: 14px; font-weight: 800; }
.note { margin: 0 0 14px; padding: 10px 14px; border: 2px solid var(--ink); border-radius: 12px; background: var(--yellow-l); color: var(--ink-2); font-size: 13px; line-height: 1.6; }
.note b { color: var(--ink); }

/* 게임 계정 가입(2026-10-23) — 휴대폰 인증 줄 · 안내판(가입 닫힘 · 끊김 · 가입 끝) */
.inl { display: flex; gap: 8px; }
.inl + .inl { margin-top: 8px; }
.inl input { flex: 1; min-width: 0; }
.inl .btn { flex: none; height: 50px; padding: 0 16px; font-size: 15px; }
.fld input:disabled { background: var(--lime-l); color: var(--ink-2); }
.gate { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 0; padding: 20px 22px; border: 3px solid var(--ink); border-radius: 16px; background: var(--yellow-l); box-shadow: 0 4px 0 var(--ink); }
.gate p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.65; }
.gate .gate-h { font-family: var(--font-display); font-size: 25px; line-height: 1.3; color: var(--ink); }
.gate-steps { margin: 0; padding-left: 22px; color: var(--ink); font-size: 15px; line-height: 1.8; }
.gate .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.gate.done { background: var(--lime-l); }
.auth-form.is-in .gate, .auth-form.is-in .sub { display: none; }

.already { display: none; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 20px 0; text-align: center; }
.auth-form.is-in .already { display: flex; }
.auth-form.is-in form, .auth-form.is-in .alt, .auth-form.is-in .alt2, .auth-form.is-in .note { display: none; }
.already .av { width: 76px; height: 76px; border-width: 3px; font-size: 32px; }
.already b { margin-top: 8px; font-family: var(--font-display); font-weight: normal; font-size: 27px; }
.already p { margin: 0 0 14px; color: var(--ink-3); }
.already .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

@media (max-width: 860px) {
	.auth-stage { padding: 20px 12px 24px; }
	.auth-card { grid-template-columns: 1fr; border-radius: 20px; }
	.auth-art { min-height: 0; border-right: 0; border-bottom: 3px solid var(--ink); padding: 22px 22px 0; }
	.art-tx h2 { font-size: 28px; }
	.art-tx p { font-size: 13.5px; }
	.art-char { max-height: 170px; margin-top: 10px; }
	.auth-form { padding: 26px 20px 24px; }
	.auth-form h1 { font-size: 28px; }
}

/* ── 2026-10-24 내정보(/me) · 아이디·비밀번호 찾기(/find) ───────────────── */
.me-stage { padding: 26px 16px 48px; }
.me-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 18px; align-items: start; }
.me-card { padding: 24px 26px 26px; border: 3px solid var(--ink); border-radius: 20px; background: #fff; box-shadow: 0 6px 0 rgba(11, 22, 89, 0.18); }
.me-card h2 { margin: 0 0 6px; font-family: var(--font-display); font-weight: normal; font-size: 22px; color: var(--ink); }
.me-sub { margin: 0 0 16px; color: var(--ink-3); font-size: 13.5px; line-height: 1.6; }
.me-guest { max-width: 520px; margin: 0 auto; text-align: center; }
.me-guest p { color: var(--ink-3); }
.me-go { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.me-guest .me-go { justify-content: center; }

.me-prof { display: flex; align-items: center; gap: 15px; margin-top: 14px; }
.me-av { position: relative; display: inline-grid; flex: none; }
.me-av .av { width: 78px; height: 78px; font-size: 34px; border-width: 3px; }
.me-id { min-width: 0; }
.me-id b { display: block; font-family: var(--font-display); font-weight: normal; font-size: 24px; color: var(--ink); overflow-wrap: anywhere; }
.me-id span { color: var(--ink-3); font-size: 13px; font-weight: 800; }
.me-msg { min-height: 18px; margin: 8px 0 0; font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.me-msg.good { color: var(--lime-d); }
.me-msg.bad { color: var(--pink-d); }

.me-rows { display: grid; grid-template-columns: 80px 1fr; gap: 8px 12px; margin: 20px 0 0; padding: 14px 16px; border: 2px solid var(--line); border-radius: 14px; background: var(--mist); }
.me-rows dt { color: var(--ink-3); font-size: 13px; font-weight: 800; align-self: center; }
.me-rows dd { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; min-width: 0; }
.me-val { font-size: 15px; font-weight: 800; color: var(--ink); overflow-wrap: anywhere; }
.me-lock { padding: 1px 8px; border: 2px solid var(--line); border-radius: 7px; background: #fff; color: var(--ink-3); font-size: 11.5px; font-weight: 800; }
.me-note { margin: 14px 0 0; padding: 10px 13px; border: 2px dashed var(--line); border-radius: 12px; color: var(--ink-3); font-size: 12.5px; line-height: 1.6; }
.me-off { margin: 0 0 14px; padding: 11px 14px; border: 2px solid var(--orange); border-radius: 12px; background: #fff7e3; color: var(--ink-2); font-size: 13.5px; font-weight: 700; }

.me-tabs { display: flex; gap: 8px; width: min(700px, 100%); margin: 0 auto 14px; }
.me-tab { flex: 1; height: 46px; border: 3px solid var(--ink); border-radius: 14px 14px 0 0; border-bottom-width: 0; background: var(--mist); color: var(--ink-2); font-family: var(--font-display); font-size: 17px; }
.me-tab.on { background: #fff; color: var(--ink); box-shadow: 0 -3px 0 var(--lime) inset; }
#fd-card { width: min(700px, 100%); margin: 0 auto; }
.fd-ids { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.fd-ids li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border: 2px solid var(--ink); border-radius: 12px; background: var(--lime-l); }
.fd-ids b { font-size: 17px; overflow-wrap: anywhere; }

.btn.btn-xs { height: 28px; padding: 0 10px; font-size: 12.5px; border-radius: 9px; box-shadow: 0 2px 0 var(--ink); }
.form-msg.good { color: var(--lime-d); }
.help.good { color: var(--lime-d); font-weight: 700; }
.help.bad { color: var(--pink-d); font-weight: 700; }
#f-recaptcha:empty { display: none; }
@media (max-width: 720px) { .me-card { padding: 20px 17px 22px; } .me-stage { padding: 18px 12px 36px; } }

/* 2026-10-24 전화인증 다리 모드 — 번호 칸 없이 단추 하나 */
.inl .btn.wide { flex: 1; }
