/* Auth pages (login, register, check-email, invalid-link). */
body.authpage{
  min-height:100vh; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(160deg,var(--navy-2),var(--navy) 55%,var(--navy-deep));
  padding:32px;
}
.authcard{ width:100%; max-width:400px; text-align:center; }
.authcard.wide{ max-width:500px; }
.authcard .mark{
  width:30px; height:2px; background:var(--gold);
  border-radius:2px; margin:0 auto 22px;
}
.authcard h1{
  font-family:'Fraunces',serif; font-weight:600; color:var(--ink);
  font-size:28px; letter-spacing:-.01em; margin-bottom:9px;
}
.authcard .lead{
  color:var(--muted); font-size:14.5px; line-height:1.55; margin-bottom:26px;
}
.authform{ text-align:left; }
.authform label{
  display:block; font-size:11px; font-weight:600; letter-spacing:.08em;
  text-transform:uppercase; color:var(--muted); margin:0 0 7px 2px;
}
.authform input, .authform select{
  width:100%; padding:13px 15px; margin-bottom:18px;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14);
  border-radius:12px; color:var(--ink); font-size:15px; font-family:inherit;
}
.authform input:focus, .authform select:focus{
  outline:none; border-color:var(--gold); background:rgba(255,255,255,.09);
}
.authform .row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.authform .btn{
  width:100%; border:none; cursor:pointer; font-family:inherit;
  font-weight:600; font-size:15px; color:var(--navy-deep);
  background:linear-gradient(180deg,var(--gold-2),var(--gold));
  padding:14px; border-radius:100px; margin-top:4px;
}
.authform .btn:hover{ filter:brightness(1.05); }
.error{
  background:rgba(214,90,90,.16); border:1px solid rgba(214,90,90,.45);
  color:#ffd9d9; font-size:13.5px; padding:11px 14px; border-radius:10px;
  margin-bottom:18px; text-align:left;
}
.alt{ color:var(--muted); font-size:13.5px; margin-top:16px; }
.alt a{ color:var(--gold-2); }
.backlink{
  display:inline-block; margin-top:24px; color:var(--muted);
  font-size:13.5px; text-decoration:none;
}
.backlink:hover{ color:var(--ink); }
