/* The sign-in pages (/login/, /login/email/), docs/82. One calm card on the store's dark tokens (store.css), centred, no side panel
   (owner 2026-11-02 21:07 UTC: tidier, less crowded). Solid accent for the main button, a quiet segmented control for the three ways in,
   and Google's own white "Sign in with Google" button at the bottom (Google's colours: #fff fill, #747775 stroke, #1f1f1f text). */
.lg { max-width:440px; margin:20px auto 8px; }
.lg-card { min-width:0; padding:30px 22px 24px; border-radius:22px; border:1px solid var(--st-line2); background:var(--st-card); box-shadow:0 30px 70px -45px #000; }
.lg-mark { display:block; width:48px; height:auto; margin:0 0 14px; }
body[data-page="store"] .lg-card h1 { margin:0 0 4px; font-size:clamp(22px,2.6vw,26px); font-weight:900; line-height:1.5; color:#fff; text-wrap:balance; }
.lg-lead { margin:0 0 20px; color:var(--st-muted); font-size:14.5px; line-height:1.9; }
.lg-lead a, .lg-small a, .lg-note a { color:#ff8a96 !important; border-bottom:1px dashed #ff8a9688; }
.lg-note { display:flex; gap:8px; align-items:flex-start; margin:0 0 16px; padding:10px 14px; border-radius:14px; background:#f056660f; border:1px solid #f0566633;
  color:var(--st-ink); font-size:14px; line-height:1.9; }
.lg-note .ic { width:18px; height:18px; flex:none; margin-top:5px; color:#F05666; }

.lg-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; margin:0 0 20px; padding:4px; border-radius:14px; background:var(--st-bg); border:1px solid var(--st-line); }
.lg-tabs[hidden] { display:none; }
.lg-tabs button { min-height:44px; padding:0 8px; border:0; border-radius:10px; background:none; color:var(--st-muted); font:inherit; font-size:14.5px; font-weight:700; cursor:pointer;
  transition:background .2s, color .2s; }
.lg-tabs button:hover { color:#fff; }
.lg-tabs button[aria-selected="true"] { background:#ffffff14; color:#fff; box-shadow:inset 0 0 0 1px var(--st-line2); }
.lg-tabs button:focus-visible { outline:2px solid #F05666; outline-offset:2px; }
.lg-pane + .lg-pane { margin-top:22px; padding-top:18px; border-top:1px solid var(--st-line); } /* no script: the three ways one under the other */
.lg-tabs:not([hidden]) ~ .lg-pane { margin-top:0; padding-top:0; border-top:0; }
body[data-page="store"] .lg-pane-title { margin:0 0 10px; font-size:16px; color:#fff; }

.lg-form { display:grid; gap:8px; }
.lg-form label { font-size:14px; font-weight:700; color:var(--st-ink); }
.lg-form label:not(:first-of-type) { margin-top:8px; }
body[data-page="store"] .lg-form input { box-sizing:border-box; width:100%; min-height:52px; padding:0 14px; border-radius:12px; border:1px solid var(--st-line2);
  background:var(--st-bg); color:#fff; font:inherit; font-size:17px; color-scheme:dark; text-align:left; transition:border-color .2s; }
body[data-page="store"] .lg-form input::placeholder { color:#ffffff4d; }
body[data-page="store"] .lg-form input:focus { outline:none; border-color:#F05666; }
body[data-page="store"] .lg-form input:focus-visible { outline:2px solid #F05666; outline-offset:2px; }
body[data-page="store"] .lg-form .lg-code { font-size:24px; font-weight:800; letter-spacing:.4em; text-align:center; }
.lg-pw { position:relative; }
body[data-page="store"] .lg-pw input { padding-inline-start:74px; }
.lg-eye { position:absolute; top:50%; left:8px; transform:translateY(-50%); min-height:36px; padding:0 10px; border-radius:10px; border:1px solid var(--st-line2);
  background:#ffffff0a; color:var(--st-ink); font:inherit; font-size:12.5px; cursor:pointer; }
.lg-eye:focus-visible { outline:2px solid #F05666; outline-offset:2px; }
body[data-page="store"] .lg-go { justify-content:center; min-height:52px; margin-top:12px; border:0; border-radius:12px; background:#F05666; box-shadow:none;
  color:#16080c !important; font-family:inherit; font-size:15.5px; cursor:pointer; transition:background .2s, transform .1s; }
body[data-page="store"] .lg-go:hover { background:#ff6b7a; transform:none; box-shadow:none; }
.lg-go:active { transform:scale(.98); }
.lg-go:focus-visible { outline:2px solid #fff; outline-offset:2px; }
.lg-small { margin:12px 0 0; color:var(--st-muted); font-size:13.5px; line-height:1.9; }
.lg-resend { margin-top:14px; } .lg-resend p { margin:0 0 4px; color:var(--st-muted); font-size:13.5px; }
.lg-text { padding:6px 0; border:0; background:none; font:inherit; font-size:14px; font-weight:700; color:#ff8a96; border-bottom:1px dashed #ff8a9688; cursor:pointer; }
.lg-text:disabled { color:var(--st-muted); border-bottom-color:transparent; cursor:default; }
.lg-text:focus-visible { outline:2px solid #F05666; outline-offset:3px; border-radius:4px; }

.lg-or { display:flex; align-items:center; gap:12px; margin:24px 0 16px; color:var(--st-muted); font-size:13px; }
.lg-or::before, .lg-or::after { content:""; flex:1; height:1px; background:var(--st-line); }
body[data-page="store"] .lg-google { display:flex; align-items:center; justify-content:center; gap:12px; width:100%; min-height:52px; box-sizing:border-box; padding:0 16px;
  border-radius:12px; border:1px solid #747775; background:#fff; color:#1f1f1f !important; font-size:15.5px; font-weight:700; text-decoration:none;
  transition:background .2s, box-shadow .2s; }
body[data-page="store"] .lg-google:hover { background:#f2f2f2; box-shadow:0 1px 3px #0000004d; }
.lg-google:active { transform:scale(.98); }
.lg-google:focus-visible { outline:2px solid #F05666; outline-offset:3px; }
.lg-g { flex:none; width:20px; height:20px; }

@media (min-width:600px) { .lg { margin-top:40px; } .lg-card { padding:36px 34px 30px; } }
@media (prefers-reduced-motion: no-preference) { .lg-card { animation:lg-in .4s ease both; } @keyframes lg-in { from { opacity:0; transform:translateY(8px); } } }
.lg-one { max-width:440px; }
