.auth-page { background: #f6f8fb; min-height: 100vh; color: #1b2a41; }
.auth-page [hidden] { display: none !important; }
.auth-header { max-width: 1160px; padding: 24px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.auth-header img { display: block; object-fit: contain; }
.auth-header > a:last-child { font-size: .875rem; color: #526681; }
.auth-shell { width: min(100% - 40px, 470px); margin: 32px auto 64px; }
.auth-card { padding: 36px; border: 1px solid #e2e8f1; border-radius: 20px; background: #fff; box-shadow: 0 16px 50px #1b2a4106; }
.auth-eyebrow { margin: 0 0 12px; font-size: .875rem; color: #496ca1; font-weight: 600; }
.auth-card h1 { font-size: 1.8rem; line-height: 1.35; letter-spacing: -.045em; margin: 0; }
.auth-lead { color: #63738a; font-size: 1rem; line-height: 1.7; margin: 16px 0 28px; }
.auth-social { display: grid; gap: 18px; }
.auth-social-lead { margin: 0; color: #8c99ad; font-size: .8125rem; line-height: 1.5; font-weight: 600; }
.social-btn, .auth-submit { width: 100%; min-height: 50px; padding: 12px 16px; font-family: inherit; font-size: 1rem; font-weight: 650; border: 0; border-radius: 8px; cursor: pointer; }
.social-btn.kakao { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 12px; color: rgb(0 0 0 / 85%); background: #fee500; font-size: .875rem; line-height: 20px; font-weight: 650; }
.kakao-symbol { display: block; flex: 0 0 18px; fill: #000; }
.social-btn.kakao:hover:not(:disabled) { box-shadow: inset 0 0 0 1px rgb(0 0 0 / 8%); }
.social-btn.kakao:active:not(:disabled) { box-shadow: inset 0 0 0 2px rgb(0 0 0 / 12%); }
.auth-submit { background: #2f6bff; color: #fff; margin-top: 8px; }
.auth-submit:hover:not(:disabled) { background: #2457dc; }
.auth-page button:disabled { cursor: not-allowed; opacity: .55; }
.auth-page :is(button,a,input):focus-visible { outline: 3px solid #7ca0ff; outline-offset: 3px; }
.auth-divider { display: flex; align-items: center; gap: 16px; margin: 25px 0 20px; color: #7c899c; font-size: .8125rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: #e4e9f1; }
.auth-tabs { display: flex; gap: 24px; margin-bottom: 23px; border-bottom: 1px solid #e4e9f1; }
.auth-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 0 0 11px; min-height: 44px; color: #748198; font: inherit; font-weight: 600; cursor: pointer; }
.auth-tabs button[aria-pressed=true] { color: #1b2a41; border-color: #1b2a41; }
.auth-field { margin-bottom: 18px; }
.auth-field > label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 8px; }
.auth-field input { width: 100%; min-height: 50px; border: 1px solid #d5ddea; border-radius: 8px; padding: 12px; font: inherit; font-size: 1rem; background: #fff; color: #1b2a41; }
.auth-field p, .auth-provider-note { color: #718198; font-size: .8125rem; line-height: 1.7; margin: 8px 0 0; }
.auth-password-wrap { position: relative; }
.auth-password-wrap input { padding-right: 62px; }
.auth-password-wrap button { position: absolute; right: 5px; top: 3px; height: 44px; padding: 0 11px; font: inherit; font-size: .8125rem; background: none; border: 0; color: #617391; cursor: pointer; }
.auth-consent { margin: 22px 0; }
.auth-consent label { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; line-height: 1.7; cursor: pointer; }
.auth-consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: #2f6bff; }
.auth-consent a { text-decoration: underline; text-underline-offset: 3px; }
.auth-consent small { white-space: nowrap; color: #63738a; }
.auth-age-help { margin: 5px 0 16px 28px; color: #63738a; font-size: .75rem; line-height: 1.6; }
.auth-text-button { display: block; margin: 14px auto 0; padding: 10px; min-height: 44px; border: 0; background: transparent; color: #63738a; font: inherit; font-size: .875rem; cursor: pointer; }
.auth-error, .auth-message { padding: 12px 14px; font-size: .875rem; line-height: 1.7; border-radius: 8px; margin: 0 0 20px; }
.auth-error { background: #fff1f0; color: #a72928; }
.auth-message { background: #edf3ff; color: #295699; }
.auth-account { background: #f6f8fb; border-radius: 8px; padding: 14px; margin: 12px 0 24px; overflow-wrap: anywhere; }
.auth-back { display: block; margin-top: 22px; text-align: center; font-size: .875rem; color: #496ca1; }
.auth-bottom { text-align: center; margin-top: 22px; color: #7a879b; font-size: .8125rem; line-height: 1.7; }
.auth-local { border-top: 1px solid #e4e9f1; margin: 24px 0 0; padding-top: 16px; color: #7a879b; font-size: .8125rem; line-height: 1.7; }
@media (max-width: 540px) { .auth-header { padding: 18px 20px; } .auth-shell { margin-top: 14px; } .auth-card { padding: 26px 22px; border-radius: 14px; } .auth-card h1 { font-size: 1.55rem; } }
