body:has(.login-page) { min-height: 100%; background: #fff; color: #172d25; }
.login-page { min-height: 100vh; background: #fff; }
.login-story { position: relative; min-height: 100vh; overflow: hidden; flex-direction: column; justify-content: space-between; padding: 48px clamp(48px, 7vw, 112px) 36px; color: #fff; background: #174936; }
.brand-lockup,.mobile-brand { position: relative; z-index: 2; display: inline-flex; width: fit-content; align-items: center; gap: 10px; color: inherit; font-size: 15px; font-weight: 800; letter-spacing: .12em; }
.brand-lockup:hover,.mobile-brand:hover { color: inherit; }
.brand-mark { display: grid; width: 38px; height: 38px; flex: none; place-items: center; }
.story-copy { position: relative; z-index: 1; margin-top: auto; margin-bottom: 42px; }
.story-eyebrow,.welcome-label { display: inline-flex; align-items: center; gap: 9px; color: #a8d9b4; font-size: 13px; font-weight: 750; letter-spacing: .16em; }
.story-eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: #a8d9b4; box-shadow: 0 0 0 5px #ffffff18; }
.story-copy h2 { margin: 21px 0 18px; font-size: clamp(44px, 5.1vw, 70px); font-weight: 750; letter-spacing: -.065em; line-height: 1.18; }
.story-copy p { color: #d0e1d6; font-size: 16px; line-height: 1.9; }
.story-card { position: relative; z-index: 1; width: min(100%, 380px); padding: 20px 22px 16px; border: 1px solid #ffffff29; border-radius: 18px; background: #ffffff12; backdrop-filter: blur(12px); box-shadow: 0 18px 60px #102d2040; }
.story-card-top { display: flex; align-items: center; gap: 11px; }
.mini-avatar { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 13px; color: #174936; background: #d8f3d5; font-weight: 800; }
.story-card-top strong,.story-card-top small { display: block; }
.story-card-top strong { font-size: 13px; }
.story-card-top small { margin-top: 3px; color: #c4d8cb; font-size: 13px; }
.story-dot { width: 7px; height: 7px; margin-left: auto; border-radius: 50%; background: #b3edb1; }
.story-card > p { margin: 18px 0; color: #f4faf5; font-size: 14px; line-height: 1.7; }
.story-card-bottom { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid #ffffff24; color: #c4d8cb; font-size: 13px; }
.story-footer { position: relative; z-index: 1; margin: 26px 0 0; color: #a7c8b2; font-size: 13px; letter-spacing: .04em; }
.story-decoration { position: absolute; border: 1px solid #ffffff12; border-radius: 50%; pointer-events: none; }
.decoration-one { width: 490px; height: 490px; right: -210px; top: 16%; }
.decoration-two { width: 680px; height: 680px; right: -305px; top: 7%; }
.login-panel { display: flex; min-height: 100vh; flex-direction: column; align-items: center; justify-content: center; padding: 56px 24px 32px; }
.login-form { width: min(100%, 410px); display: grid; gap: 12px; padding: 0; border-radius: 0; background: transparent; box-shadow: none; }
.form-heading { margin-bottom: 18px; }
.welcome-label { color: #4e8c66; font-size: 13px; }
.form-heading h1 { margin: 13px 0 8px; color: #183b2b; font-size: clamp(27px, 3vw, 32px); font-weight: 750; letter-spacing: -.055em; }
.login-description { margin: 0; color: #829087; font-size: 14px; line-height: 1.6; }
.login-form label { margin: 9px 0 0; color: #34483c; font-size: 13px; font-weight: 700; }
.input-wrap { position: relative; display: flex; height: 54px; align-items: center; border: 1px solid #e0e8e2; border-radius: 11px; background: #fff; transition: border-color .18s, box-shadow .18s; }
.input-wrap:focus-within { border-color: #4c9469; box-shadow: 0 0 0 3px #4c94691a; }
.input-wrap > svg { width: 19px; height: 19px; flex: none; margin-left: 16px; color: #91a097; }
.login-form .input-wrap input { width: 100%; height: 100%; min-height: 0; padding: 0 15px 0 11px; border: 0; border-radius: inherit; color: #243b2e; background: transparent; font: inherit; font-size: 14px; }
.login-form .input-wrap input::placeholder { color: #aab5ae; }
.login-form .input-wrap input:focus { outline: 0; }
.login-error { padding: 12px 14px; border: 1px solid #f6d7d4; border-radius: 10px; color: #a7372e; background: #fff5f3; font-size: 13px; line-height: 1.55; }
.login-form .login-submit { display: flex; min-height: 54px; align-items: center; justify-content: center; gap: 9px; margin-top: 12px; border: 0; border-radius: 11px; color: #fff; background: #26734c; box-shadow: 0 7px 16px #26734c28; font: inherit; font-size: 15px; font-weight: 700; transition: background .18s, transform .18s; }
.login-form .login-submit:hover { background: #1d603e; transform: translateY(-1px); }
.login-form .login-submit svg { width: 18px; height: 18px; }
.login-divider { display: flex; align-items: center; gap: 13px; margin: 7px 0 3px; color: #a4afa8; font-size: 13px; }
.login-divider::before,.login-divider::after { content: ''; height: 1px; flex: 1; background: #e9eeea; }
.login-form .kakao-login-button { display: flex; min-height: 52px; align-items: center; justify-content: center; gap: 9px; margin-top: 0; border-radius: 11px; color: #302c16; background: #fee500; font-size: 14px; font-weight: 700; }
.login-form .kakao-login-button:hover { background: #f6dd00; }
.kakao-login-button svg { width: 18px; height: 18px; }
.kakao-login-error { margin: 0; color: #a7372e; font-size: 13px; line-height: 1.5; }
.login-legal { width: min(100%, 410px); margin: 28px 0 0; color: #a1aba4; font-size: 13px; line-height: 1.7; text-align: center; }
.signup-prompt { margin: 20px 0 -17px; color: #849087; font-size: 13px; text-align: center; }
.signup-prompt a { margin-left: 5px; color: #26734c; font-weight: 700; }
.login-legal a { color: #6e7e73; text-decoration: underline; text-underline-offset: 2px; }
.login-legal a:hover { color: #26734c; }
.mobile-brand { align-self: flex-start; margin: 0 auto 36px; color: #174936; }
@media (max-width: 1023px) { .login-panel { min-height: 100vh; } }
@media (max-width: 480px) { .login-panel { justify-content: flex-start; padding: 38px 22px 26px; } .mobile-brand { margin-bottom: clamp(50px, 14vh, 110px); } .login-form { gap: 11px; } .form-heading { margin-bottom: 14px; } .login-legal { margin-top: 24px; } }
