/* 로그인·회원가입(2026-11-21 시안). 공개 홈과 같은 크림 바탕·그림 세계를 쓴다. */
body:has(.auth-welcome) { background: #fcf9f4; font-family: Pretendard, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif; }
body:has(.auth-welcome) #pageContent { padding-top: 0 !important; }

.auth-welcome {
    --aw-ink: #1f1746;
    --aw-muted: #4f4866;
    --aw-sub: #5b5470;
    --aw-violet: #4b2fa0;
    position: relative;
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0;
    color: var(--aw-ink);
    background: #fcf9f4;
    word-break: keep-all;
}
.auth-welcome * { box-sizing: border-box; }
/* auth_chrome.css의 예전 소개 칸·여백 규칙을 끊는다. */
.auth-welcome.auth-shell-main { padding: 0; }
.auth-welcome .auth-welcome__art.auth-login-panel { display: block; max-width: none; animation: none; }
.auth-welcome .auth-welcome__links.auth-shell-links { margin-top: 0; }
.auth-welcome a { color: inherit; text-decoration: none; }
.auth-welcome a:focus-visible { outline: 3px solid var(--aw-violet); outline-offset: 3px; border-radius: 4px; }

.auth-welcome__art { flex: 0 0 50%; min-height: 100vh; min-height: 100dvh; overflow: hidden; background: #efe6f6; }
.auth-welcome__art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }

.auth-welcome__side { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 32px clamp(24px, 4vw, 56px); }
.auth-welcome__back { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--aw-muted) !important; }
.auth-welcome__back:hover { color: var(--aw-violet) !important; }
.auth-welcome__form { flex: 1; width: 100%; max-width: 400px; margin: 0 auto; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 32px 0; }
.auth-welcome__brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; }
.auth-welcome .auth-welcome__brand.auth-shell-brand { align-self: flex-start; width: auto; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--aw-ink); letter-spacing: -.01em; }
.auth-welcome__brand .auth-shell-brand-icon { width: 40px; height: 40px; display: inline-flex; }
.auth-welcome__brand .auth-shell-brand-icon img { width: 100%; height: 100%; object-fit: contain; }
.auth-welcome h1 { margin: 0; font-size: 40px; line-height: 1.2; font-weight: 800; letter-spacing: -.03em; }
.auth-welcome__accent { color: var(--aw-violet); }
.auth-welcome__summary { margin: -12px 0 0; font-size: 17px; line-height: 1.55; color: var(--aw-muted); }

.auth-welcome__providers { display: flex; flex-direction: column; gap: 10px; }
.auth-welcome__provider { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border-radius: 6px; font-size: 17px; font-weight: 700; transition: filter .15s; }
.auth-welcome__provider:hover { filter: brightness(.96); }
.auth-welcome .auth-welcome__provider--kakao { background: #fee500; color: #191600; }
.auth-welcome .auth-welcome__provider--naver { background: #03c75a; color: #fff; }

.auth-welcome__steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid #e6e0ef; }
.auth-welcome__steps li { display: flex; align-items: center; gap: 12px; min-height: 44px; border-bottom: 1px solid #efebf5; font-size: 16px; font-weight: 600; }
.auth-welcome__steps span { flex: none; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; background: #f1ecfb; color: var(--aw-violet); font-size: 13px; font-weight: 800; }

.auth-welcome__note { padding: 16px; border-radius: 8px; background: #f4f0f8; font-size: 15px; line-height: 1.55; color: var(--aw-muted); }
.auth-welcome__note p { margin: 0; }
.auth-welcome__note p + p { margin-top: 4px; }
.auth-welcome__note a, .auth-welcome__switch a { color: var(--aw-violet) !important; font-weight: 700; }
.auth-welcome__switch { margin: 0; text-align: center; font-size: 15px; color: var(--aw-muted); }
.auth-welcome__switch a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }

.auth-welcome__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 20px; margin: 0; font-size: 14px; font-weight: 600; }
.auth-welcome__links a { display: inline-flex; align-items: center; min-height: 40px; color: var(--aw-sub) !important; }
.auth-welcome__links a:hover { color: var(--aw-violet) !important; }

@media (max-width: 767px) {
    .auth-welcome { flex-direction: column; }
    .auth-welcome__art { flex: none; height: 300px; min-height: 0; }
    .auth-welcome__art img { object-position: 50% 72%; }
    .auth-welcome--signup .auth-welcome__art { height: 210px; }
    .auth-welcome--signup .auth-welcome__art img { object-position: 50% 66%; }
    .auth-welcome__side { padding: 0 20px 20px; }
    .auth-welcome__back { position: absolute; top: 12px; left: 12px; padding: 0 12px; border-radius: 6px; background: rgba(255, 255, 255, .92); color: var(--aw-ink) !important; }
    .auth-welcome__form { justify-content: flex-start; gap: 20px; padding: 24px 0 20px; max-width: none; }
    .auth-welcome__brand { display: none; }
    .auth-welcome h1 { font-size: 30px; line-height: 1.22; }
    .auth-welcome__summary { margin-top: -10px; font-size: 16px; }
    .auth-welcome__links { margin-top: auto; gap: 0 16px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .auth-welcome__provider { transition: none; } }
