/* WEVS sign-in pages (login, sign-up, reset, invite share .auth), owner 2026-11-18: "give it balls". Option B, chosen side by side:
   a big chrome logo with a flare, the statement "Vote on anything, anywhere.", the console's glass card (a fixed frost, so nothing
   behind it cuts through the fields), a full-width chrome button with the glint. Loaded after wevs-glass.css. */
.auth{ min-height:100svh; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:36px 18px 28px; position:relative; z-index:1; }
.auth .brand{ position:relative; display:block; margin:0 auto 6px; }
.auth .brand .logo-chrome{ width:min(80vw,360px) !important; height:auto !important; max-height:none !important; position:relative; z-index:1;
  filter:drop-shadow(0 8px 28px rgba(56,189,248,.35)) drop-shadow(0 0 2px rgba(255,255,255,.4)); }
.auth .brand::before{ content:""; position:absolute; left:50%; top:52%; width:150%; height:220%; transform:translate(-50%,-50%); pointer-events:none;
  background:radial-gradient(closest-side, rgba(125,211,252,.30), rgba(56,189,248,.10) 55%, transparent 75%); }
.auth .brand::after{ content:""; position:absolute; left:-20%; right:-20%; top:54%; height:2px; transform:translateY(-50%); pointer-events:none;
  background:linear-gradient(90deg, transparent, rgba(186,230,253,.0) 15%, rgba(224,242,254,.85) 48%, #fff 50%, rgba(224,242,254,.85) 52%, transparent 85%); filter:blur(.5px); opacity:.55; }
.auth .box{ width:100%; max-width:430px; border-radius:26px !important; padding:30px 26px 24px !important; position:relative; }
.auth .box h1{ font-size:30px; letter-spacing:-.02em; margin:0 0 4px; }
.auth .box .lead{ margin:0 0 18px; }
.auth .box .btn{ width:100%; min-height:54px; font-size:17px; border-radius:14px !important; margin-top:6px; }
.auth .alt{ text-align:center; margin-top:12px; }
.auth .foot-by{ margin-top:22px; }
/* The sign-in card keeps a solid frost whatever the blur setting: nothing behind it may cut through the fields or links */
html.bg-waves body .auth .box.glass-hi{ -webkit-backdrop-filter:blur(20px) saturate(170%) !important; backdrop-filter:blur(20px) saturate(170%) !important; }
html.bg-waves body:not(.light-mode) .auth .box.glass-hi{ background:linear-gradient(160deg,rgba(60,100,170,.40),rgba(10,22,52,.78)) !important; }
html.bg-waves body.light-mode .auth .box.glass-hi{ background:linear-gradient(160deg,rgba(255,255,255,.86),rgba(236,244,255,.74)) !important; }
.auth .tagline{ text-align:center; margin:4px 0 22px; font-weight:800; letter-spacing:-.03em; line-height:1.05;
  font-size:clamp(30px, 8.6vw, 48px);
  background:linear-gradient(180deg,#ffffff 0%, #e2e8f0 42%, #94a3b8 52%, #f1f5f9 70%, #cbd5e1 100%); -webkit-background-clip:text; background-clip:text; color:transparent;
  filter:drop-shadow(0 2px 14px rgba(56,189,248,.35)); }
.auth .tagline span{ display:block; background:linear-gradient(90deg,#7dd3fc,#38bdf8,#a5f3fc); -webkit-background-clip:text; background-clip:text; color:transparent; }
body.light-mode .auth .tagline{ background:linear-gradient(180deg,#0f172a,#334155 55%,#0f172a); -webkit-background-clip:text; background-clip:text; filter:none; }
body.light-mode .auth .tagline span{ background:linear-gradient(90deg,#0284c7,#0ea5e9); -webkit-background-clip:text; background-clip:text; }
/* Heading and lead centred like everything around them; field labels stay left, against their boxes */
.auth .box h1, .auth .box .lead{ text-align:center; }
@media (min-width:901px){ .auth .brand .logo-chrome{ width:min(46vw,440px) !important; } }

/* FITS THE SCREEN, AND FILLS IT (owner 2026-11-18). Shrinking everything to fit a 750pt screen left a Pro Max (≈440×860 in the
   app) looking small with dead space above and below. Sizes now scale with the screen HEIGHT (svh): a tall phone gets the
   full-size logo and statement, a short one (iPhone SE) shrinks just enough to fit without scrolling. */
@media (max-width:900px){
  .auth{ padding:max(12px, 2svh) 16px max(10px, 1.5svh); justify-content:center; }
  .auth .brand .logo-chrome{ width:min(86vw, 420px, 47svh) !important; }
  .auth .tagline{ font-size:clamp(24px, min(8.6vw, 4.6svh), 48px); margin:0 0 clamp(10px, 2.2svh, 22px); }
  .auth .box{ padding:clamp(16px, 2.8svh, 30px) clamp(16px, 5vw, 26px) clamp(14px, 2.2svh, 24px) !important; border-radius:24px !important; }
  .auth .box h1{ font-size:clamp(22px, 3.6svh, 30px); }
  .auth .box .lead{ margin:0 0 clamp(8px, 1.6svh, 18px); font-size:clamp(13px, 1.9svh, 15px); }
  .auth .box .fld{ margin-bottom:clamp(6px, 1.2svh, 14px); }
  .auth .box .btn{ min-height:clamp(46px, 6.2svh, 56px); margin-top:clamp(2px, 0.8svh, 8px); }
  .auth .alt{ margin-top:clamp(6px, 1.2svh, 12px); }
  .auth .foot{ margin-top:clamp(10px, 2svh, 22px); }
}
/* The website link, just before "a Wolfatek product", on one line */
.auth .foot{ display:flex; align-items:center; justify-content:center; gap:14px; flex-wrap:wrap; margin-top:20px; }
.auth .foot .foot-by{ margin-top:0 !important; }
.auth .foot-site{ color:var(--accent); font-weight:700; text-decoration:none; font-size:14px; letter-spacing:.01em; }
.auth .foot-site:hover{ text-decoration:underline; }
/* The page box counts its own padding inside the screen height: content-box sizing added the padding ON TOP of 100svh,
   so even a short page (reset, invite) scrolled by ~40pt. */
.auth{ box-sizing:border-box; }
/* …and the browser's default 8px body margin (top + bottom = 16) was the rest of the overflow */
body:has(> main.auth){ margin:0; }
/* The card always keeps a margin from the screen edge */
.auth .box{ width:min(430px, calc(100vw - 28px)) !important; box-sizing:border-box; }
