:root {
  color-scheme: light;
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  font-synthesis: none;
  color: #22252a;
  background: #fff;
  --teal: #315bd6;
  --muted: #737780;
  --line: #e5e7eb;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 300px; letter-spacing: -.02em; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #315bd6; outline-offset: 4px; }
h1, h2, p { margin: 0; }
.skip:not(:focus) { position: absolute; clip: rect(0,0,0,0); clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.skip:focus { position: fixed; top: 12px; left: 12px; z-index: 5; background: #fff; padding: 12px 18px; }
.auth-header { min-height: 86px; max-width: 1312px; padding: 20px 44px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 7px; font-size: 25px; font-weight: 700; color: #22252a; letter-spacing: -.02em; white-space: nowrap; }
.brand img { display: block; }
.home-link { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: #50555e; font-weight: 650; padding: 8px 0; }
.home-link:hover { color: var(--teal); }
.home-link span { font-size: 18px; }
.auth-layout { max-width: 1224px; margin: 20px auto 36px; display: grid; grid-template-columns: 1fr 1fr; min-height: 680px; }
.auth-story { min-width: 0; overflow: hidden; background: #f7f8fa; border-radius: 12px; position: relative; display: flex; flex-direction: column; isolation: isolate; }
.story-copy { padding: 50px 42px 0; z-index: 1; }
.story-eyebrow { color: #50555e; font-weight: 700; font-size: 13px; margin-bottom: 19px; }
.story-copy h2 { font-size: clamp(30px,3vw,38px); line-height: 1.4; font-weight: 650; letter-spacing: -.02em; color: #22252a; }
.story-copy em { color: #22252a; font-style: normal; }
.story-copy > p:last-child { color: #737780; font-size: 14px; line-height: 1.7; margin-top: 22px; }
.story-image { width: 100%; height: 390px; display: block; margin-top: auto; object-fit: cover; object-position: center 27%; mask-image: linear-gradient(180deg,transparent,black 17%); }
.auth-panel { padding: 28px 48px 20px 64px; display: flex; align-items: center; justify-content: center; }
.auth-content { width: 100%; max-width: 390px; }
h1 { font-size: 28px; line-height: 1.35; letter-spacing: -.02em; font-weight: 650; }
.page-lead { margin-top: 9px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.social-buttons { display: grid; gap: 10px; margin-top: 29px; }
.social-button { position: relative; width: 100%; border: 0; border-radius: 8px; height: 48px; font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 10px; transition: filter .15s; }
.social-button:hover { filter: brightness(.97); }
.social-button svg { width: 19px; height: 19px; position: absolute; left: 18px; fill: currentColor; }
.kakao { color: #191919; background: #fee500; }
.naver { color: #fff; background: #03c75a; }
.auth-divider { display: flex; align-items: center; gap: 13px; margin: 24px 0; color: #737780; font-size: 12px; white-space: nowrap; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; background: #f0f2f5; flex: 1; }
.auth-form { display: grid; gap: 18px; }
.form-field { min-width: 0; }
.form-field label { display: block; font-size: 13px; font-weight: 650; margin-bottom: 8px; }
.form-field input { width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 9px; padding: 11px 13px; background: #fff; color: #22252a; font-size: 14px; transition: border-color .15s; }
.form-field input:hover { border-color: #b6bdc8; }
.form-field input:focus { border-color: var(--teal); }
.form-field input::placeholder { color: #737780; font-size: 13px; }
.form-field input[aria-invalid="true"] { border-color: #bc4542; }
.password-control { position: relative; }
.password-control input { padding-right: 62px; }
.password-toggle { position: absolute; right: 5px; top: 5px; min-width: 48px; height: 36px; border: 0; border-radius: 6px; background: #fff; color: #50555e; font-size: 12px; font-weight: 600; padding: 5px 8px; }
.password-toggle:hover { background: #f7f8fa; color: var(--teal); }
.field-hint, .field-error { margin-top: 6px; font-size: 12px; line-height: 1.5; }
.field-hint { color: #737780; }
.field-error { color: #b23935; }
.connection-note { display: flex; gap: 9px; align-items: flex-start; border-radius: 9px; background: #f7f8fa; color: #50555e; padding: 12px 13px; font-size: 12px; line-height: 1.6; }
.connection-note strong { font-weight: 650; color: #50555e; }
.status-dot { width: 6px; height: 6px; margin-top: 6px; flex: 0 0 auto; border-radius: 50%; background: #9199a6; }
.submit-button { border: 0; background: var(--teal); border-radius: 10px; min-height: 48px; color: #fff; font-size: 15px; font-weight: 650; position: relative; margin-top: -5px; padding: 12px 44px; }
.submit-button:hover { background: #2349b5; }
.submit-button span { position: absolute; right: 17px; font-size: 20px; line-height: 21px; }
.form-status { font-size: 13px; line-height: 1.65; padding: 12px 14px; color: #315e49; background: #ecf5ee; border: 1px solid #d3e5d7; border-radius: 9px; overflow-wrap: anywhere; }
.form-status:focus { outline: 2px solid #8db99e; outline-offset: 3px; }
.switch-page { color: #737780; font-size: 13px; margin-top: 23px; text-align: center; line-height: 1.65; }
.switch-page a { font-weight: 650; color: var(--teal); margin-left: 7px; text-decoration: underline; text-underline-offset: 4px; }
.auth-footer { text-align: center; padding: 10px 20px 26px; font-size: 12px; color: #737780; }
.noscript-note { margin-top: 15px; font-size: 13px; line-height: 1.6; color: #50555e; }
.signup-layout { min-height: 850px; margin-top: 8px; }
.signup-layout .auth-panel { padding-block: 14px; }
.signup-layout .auth-form { gap: 15px; }
.signup-layout .social-buttons { margin-top: 24px; }
.signup-layout .auth-divider { margin-block: 20px; }
.signup-layout .story-copy { padding-top: 65px; }
.signup-layout .story-image { height: 510px; object-position: center 35%; }
[hidden] { display: none !important; }
@media (max-width: 1300px) {
  .auth-layout { margin-inline: 44px; }
}
@media (max-width: 1050px) {
  .auth-layout { margin-inline: 28px; grid-template-columns: .9fr 1fr; }
  .auth-panel { padding-inline: 38px 18px; }
  .story-copy { padding: 50px 42px 0; }
  .story-copy h2 { font-size: clamp(30px,3vw,38px); font-weight: 650; line-height: 1.4; }
  .story-copy > p:last-child { font-size: 14px; color: #737780; }
}
@media (max-width: 760px) {
  .auth-header { padding: 18px 24px; min-height: 74px; border-bottom: 1px solid #e5e7eb; }
  .brand { font-size: 25px; color: #22252a; font-weight: 700; }
  .brand img { width: 31px; height: 31px; }
  .auth-layout { display: block; min-height: 0; margin: 32px 24px 34px; }
  .auth-story { display: none; background: #f7f8fa; border-radius: 12px; }
  .auth-panel { padding: 0; }
  .auth-content { max-width: 420px; }
  h1 { font-size: 28px; font-weight: 650; }
  .signup-layout .auth-panel { padding: 0; }
  .auth-footer { padding-bottom: 22px; }
}
@media (max-width: 380px) {
  .auth-header { padding-inline: 18px; }
  .home-link { font-size: 12px; gap: 6px; }
  .brand { font-size: 25px; color: #22252a; font-weight: 700; }
  .brand img { width: 28px; height: 28px; }
  .auth-layout { margin-inline: 20px; }
  h1 { font-size: 28px; font-weight: 650; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

.auth-layout { min-height: 630px; }
.auth-illustrations { display:flex; gap:20px; padding:44px 42px; margin-top:auto; }
.auth-illustrations span { width:50%; aspect-ratio:1; padding:20px; background:#eef1f6; border:0; border-radius:10px; transform:none; }
.auth-illustrations span + span { transform:none; background:#e9edf4; }
.auth-illustrations svg { width:100%; height:100%; }
.auth-illustrations-four { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; flex:1; align-content:center; margin-top:0; padding-block:28px; }
.auth-illustrations-four span { width:100%; min-width:0; padding:12px; }
.site-signin { display:block; text-align:center; margin:28px 0 12px; line-height:1.7; }
.signin-explanation { font-size:12px; line-height:1.7; color:#50555e; margin-block:12px; }
.auth-benefits { padding:16px; margin:22px 0 15px; background:#f7f8fa; border-radius:12px; }
.auth-benefits p { font-size:12px; color:#50555e; line-height:1.8; }
.auth-benefits strong { margin-right:12px; color:#50555e; }
.social-buttons { margin-top:28px; grid-template-columns:1fr; }
.social-button { min-height:52px; border-radius: 8px; font-weight: 600; }
.social-button:disabled { cursor:not-allowed; opacity:.65; font-size:14px; }
.logout-account { background:none; border:0; color:#50555e; font-size:13px; padding:8px 0; text-decoration:underline; text-underline-offset:3px; }

.temporary-login { margin-top:24px; padding:22px; border:1px solid #e5e7eb; border-radius:10px; background:#fff; }
.temporary-badge { display:inline-flex; border-radius:4px; padding:4px 9px; background:#f2f5fc; color:#315bd6; font-size:11px; font-weight:650; }
.temporary-login h2 { margin-top:10px; font-size:18px; line-height:1.5; letter-spacing:-.02em; font-weight: 650; }
.temporary-lead { color:#50555e; font-size:12px; line-height:1.7; margin-top:4px; }
.temporary-login .auth-form { margin-top:18px; gap:16px; }
.temporary-login .form-field input { height:48px; }
.temporary-submit { width:100%; min-height:50px; padding-inline:18px; font-size:14px; }
.temporary-submit span { right:14px; }
.temporary-submit:disabled { opacity:.7; cursor:wait; }
.temporary-note { margin-top:13px; font-size:11px; line-height:1.75; color:#737780; }
.auth-divider + .social-buttons { margin-top:0; }
.auth-centered { min-height:100vh; display:flex; flex-direction:column; background:#f7f8fa; }
.auth-centered .auth-header { width:100%; max-width:none; padding:14px max(24px,calc((100% - 1120px)/2)); min-height:88px; background:#fff; border-bottom:1px solid var(--line); }
.auth-header-links { display:flex; align-items:center; gap:28px; }
.auth-header-switch { font-size:14px; font-weight:650; color:var(--teal); padding:10px 14px; border:1px solid #dce3f4; border-radius:8px; }
.auth-center-main { width:100%; padding:48px 20px 40px; margin:0 auto; flex:1; }
.auth-heading { text-align:center; margin-bottom:30px; }
.auth-heading h1 { font-size:32px; font-weight:700; }
.auth-heading p { color:var(--muted); font-size:14px; line-height:1.6; margin-top:10px; }
.auth-card { max-width:460px; margin:0 auto; padding:36px; border:1px solid var(--line); border-radius:14px; background:#fff; }
.auth-card-eyebrow { font-size:12px; font-weight:650; color:var(--teal); margin-bottom:10px; }
.auth-card h2 { font-size:21px; line-height:1.5; font-weight:650; }
.auth-card .page-lead { font-size:14px; line-height:1.7; margin-top:10px; }
.auth-card .social-buttons { margin-top:28px; gap:12px; }
.auth-card .social-button { height:54px; font-size:15px; font-weight:650; }
.auth-card .social-button:disabled { opacity:1; cursor:not-allowed; }
.auth-card .social-button:disabled:hover { filter:none; }
.auth-card .signin-explanation { text-align:center; color:var(--muted); font-size:12px; margin-top:16px; }
.auth-card .switch-page { border-top:1px solid var(--line); padding-top:23px; margin-top:25px; }
.auth-card .form-status { margin-top:20px; background:#f2f5fc; border-color:#dce3f4; color:#3b4c78; }
.auth-card #signup-consent { margin-top:24px; }
.auth-card #registration-panel { margin-top:28px; padding-top:24px; border-top:1px solid var(--line); }
.auth-card #registration-panel h2 { font-size:18px; }
.auth-card #registration-provider { text-align:left; margin-top:8px; }
.auth-card #registration-complete { display:block; width:100%; margin-top:20px; }
.auth-card #registration-complete:disabled { opacity:.5; cursor:not-allowed; }
.auth-card #registration-complete:disabled:hover { background:var(--teal); }
.auth-card #registration-cancel { display:block; margin:12px auto 0; }
.auth-bottom-copy { margin:24px auto 0; font-size:12px; text-align:center; color:#858a94; }
.test-login-entry { margin-top:24px; padding:18px; border:1px solid #dfe3f1; border-radius:10px; background:#f7f8fc; }
.auth-card .test-login-entry h2 { font-size:15px; font-weight:650; }
.test-login-entry p { margin-top:6px; color:#646a76; font-size:12px; line-height:1.7; }
.test-login-start { display:flex; justify-content:space-between; align-items:center; min-height:44px; margin-top:14px; padding:10px 14px; border:1px solid #cfd5ed; border-radius:7px; color:var(--teal); background:#fff; font-size:14px; font-weight:650; }
.test-login-start:hover { border-color:var(--teal); background:#f1f3ff; }
.test-login-switch { display:block; width:fit-content; margin:10px auto 0; padding:5px 0; color:#646a76; font-size:12px; text-decoration:underline; text-underline-offset:3px; }
.auth-centered .auth-footer nav { display:flex; justify-content:center; gap:20px; flex-wrap:wrap; }
@media(max-width:560px) {
  .auth-centered .auth-header { min-height:74px; padding:10px 20px; }
  .auth-header-links { gap:12px; }
  .auth-header-links .home-link { display:none; }
  .auth-center-main { padding:30px 18px; }
  .auth-heading { margin-bottom:24px; }
  .auth-heading h1 { font-size:28px; }
  .auth-card { padding:28px 24px; }
}
.auth-panel { padding-block:22px; }
@media (max-width:760px) {
  .temporary-login { padding:19px; background: #fff; border-radius: 10px; border: 1px solid #e5e7eb; }
  .auth-panel { padding-block:0; }
}
