/* Login V2: a focused sign-in surface using the shared design tokens. */
@font-face {
  font-family: Pretendard;
  src: url('/assets/fonts/pretendard/PretendardVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
html { background: #f7f3ec; }
.login-v2-page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.login-v2-header {
  width: 100%; max-width: 1040px; min-height: 80px; margin-inline: auto;
  padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.login-v2-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.login-v2-brand img { display: block; width: 40px; height: 40px; object-fit: contain; }
.login-v2-brand span { font-size: .75rem; font-weight: 600; letter-spacing: .1em; }
.login-v2-explore { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .875rem; text-decoration: none; }
.login-v2-main { width: 100%; flex: 1; display: grid; place-items: center; padding: 32px 16px; }
.login-container {
  width: 100%; max-width: 440px; padding: 32px;
  background: var(--ds-surface); border: 1px solid var(--ds-line); border-radius: 20px;
}
.welcome-prompt { text-align: center; }
.login-v2-cheri { display: block; width: 112px; height: 112px; margin: 0 auto 24px; object-fit: contain; }
.login-v2-page .welcome-prompt h1 { font-size: 1.75rem; line-height: 1.35; }
.login-v2-page .welcome-prompt p { margin-top: 12px; color: var(--ds-muted); font-size: .875rem; line-height: 1.6; }
.login-actions { display: grid; gap: 12px; margin-top: 32px; }
.login-btn-slot { position: relative; min-width: 0; }
.login-other-methods summary { min-height: 44px; padding: 12px 4px; cursor: pointer; color: var(--ds-muted); font-size: .875rem; text-align: center; }
.login-other-methods summary:focus-visible { outline: 2px solid var(--ds-primary); outline-offset: 3px; border-radius: 6px; }
.login-other-methods p { margin: 0 0 12px; color: var(--ds-muted); font-size: .875rem; line-height: 1.6; }
.login-v2-page :is(.cfl-naver-login-btn, .cfl-google-login-btn) {
  width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 12px 16px; border: 1px solid var(--ds-control); border-radius: 12px;
  font-size: 1rem; font-weight: 600; line-height: 1.5; cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.cfl-naver-login-btn { background: #fff; border-color: var(--ds-control); color: var(--ds-ink); }
.cfl-naver-login-btn:hover { background: var(--ds-soft); border-color: var(--ds-primary); }
.cfl-naver-login-btn__icon {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 24px; height: 24px; border-radius: 4px; background: #03c75a; color: #fff;
  font-family: Arial, sans-serif; font-size: 1.125rem; font-weight: 700; line-height: 1;
}
.cfl-google-login-btn { background: #fff; border-color: var(--ds-control); color: var(--ds-ink); }
.cfl-google-login-btn:hover { background: var(--ds-bg); border-color: var(--ds-primary); }
.cfl-google-login-btn.is-loading { opacity: .55; pointer-events: none; cursor: wait; }
.cfl-google-login-btn__icon { display: flex; align-items: center; justify-content: center; flex: none; width: 24px; height: 24px; }
.cfl-google-login-btn__icon svg { display: block; width: 20px; height: 20px; }
.cfl-naver-sdk-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.login-v2-page .login-v2-signup-note { margin-top: 24px; color: var(--ds-muted); font-size: .875rem; text-align: center; }
.login-v2-footer { padding: 8px 16px calc(24px + env(safe-area-inset-bottom)); text-align: center; color: var(--ds-muted); }
.login-v2-footer nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 24px; }
.login-v2-footer nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--ds-muted); font-size: .875rem; text-decoration: none; }
.login-v2-footer a:hover, .login-v2-explore:hover { text-decoration: underline; }
.login-v2-page .copyright { margin-top: 8px; font-size: .75rem; letter-spacing: .03em; }
@media (max-width: 479px) {
  .login-v2-header { min-height: 72px; padding: 12px 16px; }
  .login-v2-brand { gap: 8px; }
  .login-v2-main { padding-block: 24px; }
  .login-container { padding: 24px 16px; }
  .login-v2-cheri { width: 96px; height: 96px; }
}
@media (max-height: 650px) {
  .login-v2-main { padding-block: 16px; }
  .login-v2-cheri { width: 72px; height: 72px; margin-bottom: 16px; }
}
