.login-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--tint); }
.login-header { height: 64px; display: flex; align-items: center; }
.login-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 16px 80px; }

.login-card { width: 100%; max-width: 420px; padding: 44px 40px 36px; background: var(--surface); border-radius: 28px; box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 30px 60px -30px rgb(0 0 0 / .18); text-align: center; }
.login-card h1 { font-size: 30px; letter-spacing: -0.035em; font-weight: 700; }
.login-mark { display: block; margin: 0 auto 20px; border-radius: 14px; }
.login-sub { margin-top: 8px; font-size: 17px; color: var(--muted); }

.login-summary { margin: 32px 0 20px; padding: 16px 18px; background: var(--tint); border-radius: 16px; font-size: 14px; text-align: left; }
.summary-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.summary-label { color: var(--muted); }
.summary-value { text-align: right; min-width: 0; overflow-wrap: anywhere; }
.summary-value strong, strong.summary-value { font-weight: 600; }
#plan-price { color: var(--muted); margin-left: 4px; }
.summary-detail { margin-top: 4px; font-size: 13px; color: var(--muted); }
.summary-repo { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-strong); }
.summary-repo[hidden] { display: none; }
.mono { font: 500 13px var(--mono); }

.github-button { width: 100%; height: 50px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 980px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 500; transition: background-color .15s; }
.github-button:hover { background: #333336; }
.github-button:active { transform: scale(.98); }
.github-button:disabled { opacity: .7; cursor: progress; }

.login-error { margin-top: 12px; font-size: 14px; color: #a03928; }
.login-error:empty { display: none; }
.login-note { margin-top: 20px; font-size: 12px; line-height: 1.55; color: var(--muted); }
.login-note strong { color: var(--ink-2); font-weight: 600; }

.login-links { display: flex; gap: 10px; margin-top: 28px; font-size: 13px; color: var(--muted); }
.login-links a:hover { color: var(--ink); }

@media (max-width: 480px) {
  .login-main { justify-content: flex-start; padding-top: 24px; }
  .login-card { padding: 24px; }
}
