/* 로그인·회원가입 — 왼쪽 폼, 오른쪽 그림(로그인 화면 배경). 휴대폰은 폼만. */
.auth-body { background: var(--bg); }
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: 100vh; min-height: 100dvh; }
.auth-form-col { display: flex; flex-direction: column; padding: max(20px, var(--safe-top)) max(28px, var(--safe-right)) max(20px, var(--safe-bottom)) max(28px, var(--safe-left)); min-width: 0; }
.auth-top { display: flex; align-items: center; justify-content: space-between; height: 48px; }
.auth-card { width: 100%; max-width: 420px; margin: auto; padding: 32px 0; }
.auth-card h1 { font-size: var(--fs-3xl); letter-spacing: -0.03em; margin-bottom: 8px; }
.auth-card .lead { color: var(--fg-3); margin-bottom: 28px; }
.auth-card .btn-lg { width: 100%; }
.auth-or { display: flex; align-items: center; gap: 12px; color: var(--fg-4); font-size: var(--fs-xs); margin: 20px 0; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.auth-google { width: 100%; }
.auth-google svg { width: 18px; height: 18px; }
.auth-switch { margin-top: 24px; text-align: center; color: var(--fg-3); font-size: var(--fs-sm); }
.auth-foot { text-align: center; margin: 0; }
.auth-foot a { color: var(--fg-3); }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 46px; }
.pw-toggle { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: transparent; color: var(--fg-4); border-radius: var(--r); display: inline-flex; align-items: center; justify-content: center; }
.pw-toggle:hover { color: var(--fg); }
.pw-meter { height: 4px; border-radius: 2px; background: var(--bg-sunken); overflow: hidden; margin-top: 6px; }
.pw-meter > i { display: block; height: 100%; width: 0; background: var(--danger); transition: width 200ms, background 200ms; }
.auth-art { position: relative; overflow: hidden; background: var(--bg-soft); border-left: 1px solid var(--border); }
.auth-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-art-copy { position: absolute; left: 48px; right: 48px; bottom: 48px; color: #fff; text-shadow: 0 2px 16px rgba(10, 20, 60, .35); }
.auth-art-kicker { font-weight: 700; font-size: var(--fs-sm); opacity: .9; margin: 0 0 8px; letter-spacing: .02em; }
.auth-art-title { font-size: 34px; font-weight: 800; line-height: 1.25; letter-spacing: -0.03em; margin: 0; max-width: 520px; }
.state-box { text-align: center; padding: 12px 0; }
.state-box .ic { width: 48px; height: 48px; color: var(--accent); margin-bottom: 12px; }
@media (max-width: 960px) { .auth { grid-template-columns: minmax(0, 1fr); } .auth-art { display: none; } }
@media (max-width: 480px) { .auth-card h1 { font-size: var(--fs-2xl); } .auth-form-col { padding-left: max(16px, var(--safe-left)); padding-right: max(16px, var(--safe-right)); } }
