.auth-page{display:grid;width:min(1040px,calc(100% - 32px));grid-template-columns:1fr 1fr;gap:18px;margin:auto;padding:70px 0 100px;color:#eaf5ef}.auth-page-single{grid-template-columns:minmax(0,520px);justify-content:center}.auth-story,.auth-card{padding:42px;border:1px solid rgba(145,180,160,.18);border-radius:16px}.auth-story{background:radial-gradient(circle at 20% 10%,rgba(53,242,122,.14),transparent 35%),#0b1712}.auth-story>span,.auth-card>span{color:#35f27a;font-size:.62rem;font-weight:800;letter-spacing:.16em}.auth-story h1{margin:14px 0;color:#fff;font:600 clamp(2.7rem,5vw,4.5rem)/.98 "Space Grotesk",sans-serif;letter-spacing:-.055em}.auth-story p,.auth-card>p{color:#81968a;line-height:1.7}.auth-story ul{display:grid;gap:12px;margin:30px 0 0;padding:0;list-style:none}.auth-story li:before{content:'✓';margin-right:9px;color:#35f27a}.auth-card{background:#0d1914}.auth-card h2{margin:10px 0 5px;color:#fff;font-size:1.65rem}.auth-card form{display:grid;gap:14px;margin-top:24px}.auth-card label{display:flex;flex-direction:column;gap:7px;color:#c7d6ce;font-size:.69rem;font-weight:700}.auth-card input{width:100%;padding:13px;border:1px solid rgba(145,180,160,.22);border-radius:8px;outline:0;background:#06100c;color:#fff}.auth-card input:focus{border-color:#35f27a}.auth-card label small,.auth-error{color:#ff8e8e}.auth-check{flex-direction:row!important;align-items:center}.auth-check input{width:auto}.auth-card form>button{padding:13px;border:0;border-radius:8px;background:#35f27a;color:#031009;font-weight:800;cursor:pointer}.auth-card footer{display:flex;justify-content:space-between;gap:12px;margin-top:20px}.auth-card footer a{color:#8ca397!important;font-size:.67rem;text-decoration:none!important}.auth-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.password-help{margin:-5px 0 2px!important;color:#758a7f!important;font-size:.6rem}.auth-file input{padding:9px}

/* ─── Custom file upload ─── */
.auth-file{display:flex;flex-direction:column;gap:8px}
.auth-file__label{color:#c7d6ce;font-size:.69rem;font-weight:700;letter-spacing:.02em}
.auth-file__dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:28px 20px;border:2px dashed rgba(53,242,122,.3);border-radius:12px;background:rgba(53,242,122,.03);cursor:pointer;transition:border-color .2s,background .2s,transform .1s;min-height:130px;text-align:center}
.auth-file__dropzone.is-dragover{border-color:#35f27a;background:rgba(53,242,122,.08);transform:scale(1.01)}
.auth-file__dropzone.is-has-file{border-style:solid;border-color:rgba(53,242,122,.4);background:rgba(53,242,122,.06)}
.auth-file__dropzone-icon{width:40px;height:40px;border-radius:10px;background:rgba(53,242,122,.1);display:flex;align-items:center;justify-content:center;color:#35f27a;flex-shrink:0}
.auth-file__dropzone-icon svg{width:20px;height:20px}
.auth-file__dropzone-text{font-size:.72rem;color:#85998e;line-height:1.5}
.auth-file__dropzone-text strong{color:#35f27a}
.auth-file__dropzone-hint{font-size:.6rem;color:#607068}
.auth-file__preview{display:none;flex-direction:column;align-items:center;gap:10px;padding:20px;border:1px solid rgba(53,242,122,.3);border-radius:12px;background:rgba(53,242,122,.04)}
.auth-file__preview.is-visible{display:flex}
.auth-file__preview img{max-width:110px;max-height:110px;border-radius:10px;border:2px solid rgba(53,242,122,.2);object-fit:cover}
.auth-file__preview-name{font-size:.65rem;color:#85998e;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.auth-file__remove{background:none;border:none;color:#ff8080;font-size:.65rem;cursor:pointer;padding:4px 10px;border:1px solid rgba(255,80,80,.25);border-radius:6px;transition:background .2s,border-color .2s}
.auth-file__remove:hover{background:rgba(255,80,80,.08);border-color:rgba(255,80,80,.5)}
.auth-file input[type=file]{display:none}

/* ─── auth-card extra spacing for file upload ─── */
.auth-card form .auth-file{margin-top:4px}
@media(max-width:800px){.auth-page{grid-template-columns:1fr;padding-top:35px}.auth-story{padding:30px}.auth-story h1{font-size:2.8rem}}@media(max-width:520px){.auth-page{width:calc(100% - 20px)}.auth-card{padding:25px 20px}.auth-row{grid-template-columns:1fr}.auth-card footer{align-items:flex-start;flex-direction:column}}
.google-auth-button{position:relative;display:grid;grid-template-columns:38px 1fr 22px;align-items:center;gap:12px;width:100%;min-height:56px;margin-top:24px;padding:8px 15px 8px 9px;overflow:hidden;border:1px solid rgba(255,255,255,.2);border-radius:12px;background:linear-gradient(135deg,#fff 0%,#f1f7f4 100%);color:#142019!important;font-size:.8rem;font-weight:800;letter-spacing:.01em;text-decoration:none!important;box-shadow:0 14px 32px rgba(0,0,0,.24),inset 0 1px 0 #fff;isolation:isolate;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.google-auth-button:before{position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,transparent 20%,rgba(53,242,122,.12),transparent 80%);content:"";opacity:0;transform:translateX(-35%);transition:opacity .2s ease,transform .35s ease}.google-auth-button:hover,.google-auth-button:focus-visible{transform:translateY(-2px);border-color:rgba(53,242,122,.75);box-shadow:0 18px 38px rgba(0,0,0,.3),0 0 0 1px rgba(53,242,122,.12);color:#0a160f!important}.google-auth-button:hover:before,.google-auth-button:focus-visible:before{opacity:1;transform:translateX(0)}.google-auth-button:active{transform:translateY(0)}.google-auth-button:focus-visible{outline:3px solid rgba(53,242,122,.35);outline-offset:3px}.google-auth-icon-wrap{display:grid;width:38px;height:38px;place-items:center;border:1px solid rgba(16,34,25,.1);border-radius:9px;background:#fff;box-shadow:0 4px 12px rgba(7,16,12,.1)}.google-auth-icon{display:block;width:21px;height:21px}.google-auth-label{min-width:0;text-align:center}.google-auth-arrow{color:#527061;font-size:1rem;transition:transform .2s ease}.google-auth-button:hover .google-auth-arrow{transform:translateX(2px)}.google-auth-note{display:flex;align-items:center;justify-content:center;gap:7px;margin:9px 0 0!important;color:#71867a!important;font-size:.58rem!important;line-height:1.4!important}.google-auth-note span{color:#35f27a;font-size:.48rem;text-shadow:0 0 9px rgba(53,242,122,.65)}.auth-divider{display:flex;align-items:center;gap:12px;margin:18px 0 2px;color:#6f8277;font-size:.6rem;letter-spacing:.08em;text-transform:uppercase}.auth-divider:before,.auth-divider:after{content:"";height:1px;flex:1;background:rgba(145,180,160,.16)}.auth-divider span{white-space:nowrap}


/* Responsive auth polish */
.auth-page,.auth-page *{box-sizing:border-box}.auth-page{min-width:0}.auth-story,.auth-card{min-width:0;overflow:hidden}.auth-card form{min-width:0}.auth-row>label{min-width:0}.auth-card input{min-height:46px}.google-auth-button{line-height:1.2}.google-auth-button span{min-width:0}
@media (min-width:1101px){.auth-page{grid-template-columns:minmax(0,1fr) minmax(420px,1fr);gap:24px;padding-top:64px}.auth-story{padding:48px}.auth-card{padding:42px;max-width:560px;width:100%;justify-self:end}.auth-card-wide{max-width:620px}.auth-story h1{max-width:10ch}}
@media (min-width:601px) and (max-width:1100px){.auth-page{width:min(900px,calc(100% - 40px));grid-template-columns:minmax(0,1fr) minmax(340px,1fr);gap:16px;padding:42px 0 72px}.auth-story,.auth-card{padding:30px}.auth-story h1{font-size:clamp(2.2rem,5vw,3.4rem)}.auth-card h2{font-size:1.45rem}.auth-row{gap:8px}.google-auth-button{margin-top:18px}.auth-divider{margin:16px 0 0}}
@media (max-width:700px){.auth-page{display:flex;width:min(560px,calc(100% - 28px));flex-direction:column;padding:28px 0 56px}.auth-story{margin-bottom:0;padding:26px 22px}.auth-story h1{font-size:clamp(2.25rem,11vw,3.2rem);max-width:12ch}.auth-story p{font-size:.9rem}.auth-story ul{margin-top:20px}.auth-card{order:-1;margin-bottom:14px;padding:26px 22px}.auth-card form{gap:12px;margin-top:18px}.auth-row{grid-template-columns:1fr;gap:12px}.auth-card footer{flex-direction:row;align-items:center}.google-auth-button{grid-template-columns:38px 1fr 20px;margin-top:18px}}
@media (max-width:380px){.auth-page{width:calc(100% - 20px);padding-top:20px}.auth-story,.auth-card{padding:22px 16px}.auth-story h1{font-size:2.15rem}.auth-card h2{font-size:1.35rem}.auth-card footer{align-items:flex-start;flex-direction:column;gap:8px}.google-auth-button{grid-template-columns:34px 1fr 16px;gap:8px;min-height:52px;padding-left:8px;font-size:.7rem}.google-auth-icon-wrap{width:34px;height:34px}.google-auth-icon{width:19px;height:19px}.google-auth-note{font-size:.53rem!important}}
@media (prefers-reduced-motion:reduce){.google-auth-button{transition:none}.google-auth-button:hover,.google-auth-button:focus-visible{transform:none}}

/* Google button visual refinement */
.google-auth-button{grid-template-columns:42px 1fr 22px;min-height:58px;padding:8px 16px 8px 10px;border:1px solid rgba(53,242,122,.28);border-radius:14px;background:linear-gradient(135deg,#162b22 0%,#0d1c16 58%,#10251b 100%);color:#f4fff8!important;box-shadow:0 14px 30px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.07),inset 0 0 0 1px rgba(0,0,0,.18)}.google-auth-button:before{background:linear-gradient(110deg,transparent 18%,rgba(53,242,122,.14),transparent 82%)}.google-auth-button:hover,.google-auth-button:focus-visible{border-color:rgba(53,242,122,.72);background:linear-gradient(135deg,#1a3529 0%,#10241a 58%,#143021 100%);color:#fff!important;box-shadow:0 18px 38px rgba(0,0,0,.34),0 0 0 1px rgba(53,242,122,.14),0 0 24px rgba(53,242,122,.08)}.google-auth-icon-wrap{width:42px;height:42px;border:1px solid rgba(255,255,255,.72);border-radius:11px;background:#fff;box-shadow:0 5px 14px rgba(0,0,0,.2),0 0 0 3px rgba(255,255,255,.04)}.google-auth-icon{width:23px;height:23px}.google-auth-label{font-size:.82rem;letter-spacing:.015em}.google-auth-arrow{color:#72f59c;font-size:1.15rem;font-weight:700}.google-auth-note span{color:#35f27a}@media(max-width:380px){.google-auth-button{grid-template-columns:38px 1fr 16px;min-height:54px;padding-left:9px}.google-auth-icon-wrap{width:38px;height:38px}.google-auth-icon{width:21px;height:21px}.google-auth-label{font-size:.74rem}}

/* Auth experience v2: animated, code-native security illustration. */
.auth-page{width:min(1220px,calc(100% - 40px));grid-template-columns:minmax(0,1.08fr) minmax(410px,.92fr);gap:24px;align-items:stretch;padding:56px 0 92px}
.auth-story,.auth-card{border-color:rgba(119,183,144,.2);border-radius:24px;box-shadow:0 30px 80px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.025)}
.auth-story{position:relative;display:flex;min-height:690px;flex-direction:column;padding:46px;overflow:hidden;background:radial-gradient(circle at 78% 48%,rgba(53,242,122,.13),transparent 35%),radial-gradient(circle at 12% 6%,rgba(77,231,207,.08),transparent 27%),linear-gradient(145deg,#0b1a12,#07110c 72%)}
.auth-story::before{position:absolute;inset:0;pointer-events:none;background:linear-gradient(135deg,rgba(255,255,255,.025),transparent 35%),linear-gradient(90deg,rgba(53,242,122,.24),transparent 45%) top/100% 1px no-repeat;content:""}
.auth-story-copy{position:relative;z-index:4;max-width:550px}.auth-story-copy>span{color:#35f27a;font-size:.64rem;font-weight:800;letter-spacing:.18em}.auth-story-copy h1{margin:14px 0;color:#fff;font:600 clamp(2.6rem,4.1vw,4.45rem)/.96 "Space Grotesk",sans-serif;letter-spacing:-.055em}.auth-story-copy p{max-width:55ch;color:#91a69a;line-height:1.72}.auth-story-copy ul{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 0;padding:0;list-style:none}.auth-story-copy li{padding:8px 11px;border:1px solid rgba(100,174,128,.16);border-radius:999px;background:rgba(4,14,9,.4);color:#b9ccc1;font-size:.64rem}.auth-story-copy li::before{content:'✓';margin-right:7px;color:#35f27a}
.auth-card{align-self:center;padding:44px;background:linear-gradient(145deg,rgba(14,29,21,.97),rgba(7,16,11,.97));box-shadow:0 30px 80px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.03)}
.auth-card h2{font:600 clamp(1.7rem,3vw,2.15rem)/1.1 "Space Grotesk",sans-serif;letter-spacing:-.035em}.auth-card>p{max-width:48ch}.auth-card input{border-radius:11px;background:rgba(2,10,6,.76)}.auth-card form>button{min-height:49px;border-radius:11px;box-shadow:0 14px 34px rgba(28,194,91,.15);transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}.auth-card form>button:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(28,194,91,.24);filter:brightness(1.06)}
.auth-cyber-visual{position:relative;z-index:2;min-height:350px;margin:auto -18px -28px;isolation:isolate}
.auth-cyber-grid{position:absolute;z-index:-3;inset:4% 0 0;opacity:.48;background-image:linear-gradient(rgba(53,242,122,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(53,242,122,.08) 1px,transparent 1px);background-size:31px 31px;mask-image:radial-gradient(ellipse at center,black,transparent 72%);transform:perspective(430px) rotateX(57deg) translateY(72px) scale(1.08)}
.auth-cyber-visual::before{position:absolute;z-index:-2;inset:25% 14% 4%;border-radius:50%;background:rgba(53,242,122,.12);filter:blur(55px);content:"";animation:authAura 4.8s ease-in-out infinite}
.auth-hacker-art{position:absolute;z-index:2;left:50%;bottom:7px;width:min(620px,112%);transform:translateX(-50%);filter:drop-shadow(0 28px 32px rgba(0,0,0,.38));animation:authFloat 5.8s ease-in-out infinite}
.hacker-floor{fill:rgba(53,242,122,.1);filter:blur(7px)}.hacker-hood{fill:url(#hoodGlow);stroke:#246b41;stroke-width:2}.hacker-hood-edge{fill:none;stroke:rgba(88,255,143,.52);stroke-width:2}.hacker-face{fill:#07100c;stroke:#174129;stroke-width:2}.hacker-mask{fill:#091711;stroke:#28653f;stroke-width:1.5}.hacker-eye-line{fill:none;stroke:#29643f;stroke-width:3;stroke-linecap:round}.hacker-eyes{fill:#35f27a;animation:authEyes 4.2s ease-in-out infinite}.hacker-shoulder{fill:none;stroke:#193c2a;stroke-width:42;stroke-linecap:round}.laptop-screen{fill:url(#screenGlow)}.laptop-rim{fill:none;stroke:#338854;stroke-width:3}.laptop-base{fill:#173324;stroke:#42ae68;stroke-width:2}.laptop-mark{fill:none;stroke:rgba(53,242,122,.55);stroke-width:2}.laptop-mark-line{fill:none;stroke:#35f27a;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.terminal-code path{fill:none;stroke:rgba(96,255,148,.56);stroke-width:4;stroke-linecap:round;stroke-dasharray:150;animation:authCode 3.2s ease-in-out infinite}.terminal-cursor{fill:#35f27a;animation:authBlink .9s steps(2,end) infinite}.hacker-hands{fill:none;stroke:#2b6943;stroke-width:13;stroke-linecap:round}
.auth-orbit{position:absolute;z-index:1;left:50%;top:54%;border:1px solid rgba(53,242,122,.16);border-radius:50%;transform:translate(-50%,-50%)}.auth-orbit-one{width:410px;height:240px;animation:authOrbit 14s linear infinite}.auth-orbit-two{width:300px;height:300px;animation:authOrbitReverse 11s linear infinite}.auth-orbit i{position:absolute;width:7px;height:7px;border-radius:50%;background:#35f27a;box-shadow:0 0 13px #35f27a}.auth-orbit i:first-child{top:-4px;left:48%}.auth-orbit i:nth-child(2){right:8%;bottom:18%}.auth-orbit i:nth-child(3){left:7%;bottom:24%}
.auth-terminal-float{position:absolute;z-index:5;right:0;bottom:56px;width:176px;padding:11px;border:1px solid rgba(53,242,122,.3);border-radius:12px;background:rgba(3,13,8,.86);box-shadow:0 18px 36px rgba(0,0,0,.34);backdrop-filter:blur(10px);animation:authFloatPanel 4.4s ease-in-out infinite}.auth-terminal-float>div{display:flex;align-items:center;gap:4px;margin-bottom:8px}.auth-terminal-float>div span{width:5px;height:5px;border-radius:50%;background:#50645a}.auth-terminal-float>div span:first-child{background:#35f27a}.auth-terminal-float b{margin-left:auto;color:#83968c;font-size:.44rem;letter-spacing:.11em}.auth-terminal-float code{display:block;margin:5px 0;color:#a8b8af;font-size:.52rem}.auth-terminal-float i{color:#35f27a;font-style:normal}
.auth-cyber-status{position:absolute;z-index:6;bottom:29px;left:8px;display:grid;grid-template-columns:8px 1fr;gap:0 7px;align-items:center;padding:9px 12px;border:1px solid rgba(94,170,123,.22);border-radius:11px;background:rgba(3,13,8,.76);backdrop-filter:blur(10px)}.auth-cyber-status>span{grid-row:1/3;width:8px;height:8px;border-radius:50%;background:#35f27a;box-shadow:0 0 12px rgba(53,242,122,.8);animation:authPulse 1.6s ease-in-out infinite}.auth-cyber-status b{color:#d9eee1;font-size:.48rem;letter-spacing:.1em}.auth-cyber-status small{color:#6f8578;font-size:.43rem}
.auth-page-recovery .auth-card{max-width:520px}.auth-page-recovery .auth-story{min-height:630px}
@keyframes authFloat{0%,100%{transform:translateX(-50%) translateY(0)}50%{transform:translateX(-50%) translateY(-8px)}}@keyframes authAura{0%,100%{opacity:.62;transform:scale(.94)}50%{opacity:1;transform:scale(1.06)}}@keyframes authEyes{0%,42%,47%,100%{opacity:1}44%{opacity:.18}}@keyframes authCode{0%{stroke-dashoffset:150;opacity:.3}35%,75%{stroke-dashoffset:0;opacity:.9}100%{stroke-dashoffset:-150;opacity:.3}}@keyframes authBlink{50%{opacity:0}}@keyframes authOrbit{to{transform:translate(-50%,-50%) rotate(360deg)}}@keyframes authOrbitReverse{to{transform:translate(-50%,-50%) rotate(-360deg)}}@keyframes authFloatPanel{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}@keyframes authPulse{50%{opacity:.38;transform:scale(.72)}}
@media(max-width:1100px){.auth-page{grid-template-columns:minmax(0,1fr) minmax(360px,.9fr)}.auth-story{min-height:650px;padding:34px}.auth-cyber-visual{min-height:320px}.auth-terminal-float{right:-6px}.auth-card{padding:34px}}
@media(max-width:800px){.auth-page{width:min(680px,calc(100% - 28px));grid-template-columns:1fr;gap:16px;padding-top:28px}.auth-story{min-height:auto;padding:28px}.auth-story-copy h1{font-size:clamp(2.15rem,9vw,3.25rem)}.auth-cyber-visual{min-height:300px;margin:10px -8px -22px}.auth-hacker-art{width:min(590px,110%)}.auth-card{width:100%;max-width:none!important;justify-self:stretch;padding:32px}.auth-page-recovery .auth-story{min-height:auto}}
@media(max-width:520px){.auth-page{width:calc(100% - 20px);padding:18px 0 62px}.auth-story{padding:23px 19px 17px;border-radius:19px}.auth-story-copy h1{font-size:2.28rem}.auth-story-copy p{font-size:.77rem}.auth-story-copy ul{gap:6px;margin-top:15px}.auth-story-copy li{padding:6px 9px;font-size:.56rem}.auth-cyber-visual{min-height:242px;margin:6px -18px -14px}.auth-terminal-float{right:2px;bottom:35px;width:144px;padding:8px}.auth-terminal-float code{font-size:.44rem}.auth-cyber-status{bottom:15px;left:1px;padding:7px 9px}.auth-orbit-one{width:310px;height:188px}.auth-orbit-two{width:225px;height:225px}.auth-card{padding:27px 20px;border-radius:19px}.auth-card form{margin-top:20px}}
@media(prefers-reduced-motion:reduce){.auth-cyber-visual *{animation:none!important}.auth-hacker-art{transform:translateX(-50%)!important}.auth-card form>button:hover{transform:none}}

/* Keep the visual present above long forms without making mobile users scroll through a hero. */
@media(max-width:520px){
  .auth-page .auth-story{order:-1;display:grid;grid-template-columns:minmax(0,1fr) 145px;align-items:center;min-height:190px;padding:21px 12px 15px 19px}
  .auth-page .auth-card{order:0}
  .auth-story-copy h1{margin:9px 0 0;font-size:1.62rem;line-height:1.02}
  .auth-story-copy p,.auth-story-copy ul{display:none}
  .auth-cyber-visual{width:158px;min-height:160px;margin:0 -5px -7px}
  .auth-hacker-art{bottom:0;width:285px}
  .auth-cyber-grid{inset:12% -22% 0;background-size:22px 22px}
  .auth-terminal-float,.auth-cyber-status{display:none}
  .auth-orbit-one{width:186px;height:116px}.auth-orbit-two{width:142px;height:142px}
}
@media(max-width:360px){.auth-page .auth-story{grid-template-columns:minmax(0,1fr) 124px}.auth-story-copy h1{font-size:1.45rem}.auth-cyber-visual{width:135px}.auth-hacker-art{width:260px}}
.hacker-network path{fill:none;stroke:rgba(78,235,140,.22);stroke-width:1.4;stroke-dasharray:6 8;animation:authNetwork 7s linear infinite}.hacker-network circle{fill:#4bf28a;filter:drop-shadow(0 0 5px #35f27a);animation:authNode 2.2s ease-in-out infinite}.hacker-network circle:nth-of-type(even){animation-delay:-1.1s}.hacker-hood-circuit{fill:none;stroke:rgba(86,245,148,.32);stroke-width:1.5;stroke-linecap:round}.hacker-scan{fill:none;stroke:rgba(82,255,146,.72);stroke-width:1.5;filter:drop-shadow(0 0 5px #35f27a);animation:authScan 2.8s ease-in-out infinite}@keyframes authNetwork{to{stroke-dashoffset:-56}}@keyframes authNode{50%{opacity:.32;transform:scale(.72)}}@keyframes authScan{0%,100%{opacity:0;transform:translateY(-25px)}25%,70%{opacity:.72}80%{transform:translateY(72px);opacity:0}}

/* Auth illustration performance v3.
   Keep the character alive, but avoid animating filtered SVG paint on every frame. */
.auth-cyber-visual{contain:layout paint;transform:translateZ(0)}
.auth-hacker-art{filter:none;backface-visibility:hidden;will-change:transform}
.auth-cyber-visual::before{animation:none;filter:none;background:radial-gradient(circle at center,rgba(53,242,122,.15),rgba(53,242,122,.055) 45%,transparent 72%)}
.hacker-floor,.hacker-eyes,.hacker-network circle,.hacker-scan{filter:none}
.terminal-code path{animation:none;stroke-dasharray:none}
.terminal-code{animation:authCodeLite 4.8s ease-in-out infinite}
.hacker-network path,.hacker-network circle{animation:none;transform:none}
.hacker-network{animation:authNetworkLite 5.6s ease-in-out infinite}
.auth-orbit{backface-visibility:hidden;will-change:transform}
.auth-terminal-float,.auth-cyber-status{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(3,13,8,.95)}
@keyframes authCodeLite{50%{opacity:.62}}
@keyframes authNetworkLite{50%{opacity:.55}}

@media(max-width:800px){
  .auth-cyber-visual *{animation:none!important}
  .auth-hacker-art{animation:none;transform:translateX(-50%)}
  .auth-cyber-visual::before{display:none}
  .auth-orbit-two{display:none}
  .terminal-code,.hacker-network,.hacker-scan{animation:none}
  .hacker-network{opacity:.64}
  .hacker-scan{opacity:.35;transform:none}
  .hacker-eyes{animation:none}
  .terminal-cursor{animation:none}
}
@media(min-width:521px) and (max-width:800px){
  .auth-cyber-visual{width:min(590px,100%);min-height:294px;margin:12px auto -18px}
  .auth-hacker-art{bottom:4px;width:min(560px,102%)}
}
@media(max-width:520px){
  .auth-page .auth-story{grid-template-columns:minmax(0,1fr) clamp(132px,40vw,165px);column-gap:4px}
  .auth-cyber-visual{align-self:center;justify-self:end;width:clamp(138px,40vw,168px);min-height:156px;margin:0 -2px -4px 0}
  .auth-hacker-art{left:50%;bottom:3px;width:clamp(252px,72vw,292px);max-width:none}
  .auth-cyber-grid{inset:16% -12% 0}
  .auth-hacker-art{animation:none;transform:translateX(-50%)}
  .auth-orbit{animation:none!important}
}
@media(max-width:360px){
  .auth-page .auth-story{grid-template-columns:minmax(0,1fr) 118px}
  .auth-cyber-visual{width:128px;min-height:148px;margin-right:-4px}
  .auth-hacker-art{width:242px}
}
@keyframes authFloatMobile{0%,100%{transform:translateX(-50%) translate3d(0,0,0)}50%{transform:translateX(-50%) translate3d(0,-4px,0)}}
@media(prefers-reduced-motion:reduce){
  .auth-cyber-visual,.auth-hacker-art,.auth-orbit{will-change:auto}
}

/* Register experience: grouped, calm and touch-friendly without changing form behavior. */
.auth-page-register{align-items:start}
.auth-page-register .auth-story{position:sticky;top:92px}
.auth-page-register .auth-card{align-self:start;max-width:650px;padding:38px}
.register-intro{margin:8px 0 0!important;color:#8ca095!important;font-size:.76rem;line-height:1.65!important}
.auth-page-register .google-auth-button{margin-top:20px}
.auth-page-register form{gap:12px;margin-top:18px}
.register-section{display:grid;gap:13px;padding:18px;border:1px solid rgba(127,180,149,.16);border-radius:15px;background:linear-gradient(145deg,rgba(4,15,10,.7),rgba(7,20,14,.46));box-shadow:inset 0 1px rgba(255,255,255,.018)}
.register-section__head{display:flex;align-items:center;gap:11px;padding-bottom:12px;border-bottom:1px solid rgba(127,180,149,.12)}
.register-section__head>span{display:grid;width:31px;height:31px;flex:0 0 31px;place-items:center;border:1px solid rgba(53,242,122,.28);border-radius:9px;background:rgba(53,242,122,.075);color:#67f599;font:800 .6rem/1 "Space Grotesk",sans-serif}
.register-section__head>div{display:grid;gap:3px;min-width:0}.register-section__head strong{color:#edf8f1;font:700 .79rem/1.2 "Space Grotesk",sans-serif}.register-section__head small{color:#71877a;font-size:.58rem;line-height:1.45}
.auth-page-register .auth-field{display:grid;min-width:0;gap:7px}.auth-page-register .auth-field>label{display:block;color:#bcd0c4;font-size:.63rem;font-weight:750;letter-spacing:.01em}
.auth-page-register .auth-field input{min-height:48px;padding:12px 13px;border-color:rgba(129,175,147,.2);background:rgba(1,9,5,.78);transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
.auth-page-register .auth-field input:hover{border-color:rgba(129,190,153,.36)}
.auth-page-register .auth-field input:focus{border-color:#35f27a;background:#04110a;box-shadow:0 0 0 3px rgba(53,242,122,.09)}
.auth-page-register .auth-field input::placeholder{color:#4f6759;opacity:1}
.auth-page-register .auth-error{display:flex;align-items:center;gap:6px;margin:0;color:#ff9aa5;font-size:.58rem;line-height:1.4}.auth-page-register .auth-error::before{content:"!";display:grid;width:15px;height:15px;flex:0 0 15px;place-items:center;border-radius:50%;background:rgba(255,105,123,.12);font-size:.52rem;font-weight:900}.auth-error--form{padding:10px 12px;border:1px solid rgba(255,105,123,.22);border-radius:9px;background:rgba(255,105,123,.055)}
.auth-page-register .password-help{display:flex;flex-wrap:wrap;gap:6px;margin:0!important}.auth-page-register .password-help span{padding:5px 7px;border:1px solid rgba(123,164,140,.15);border-radius:999px;background:rgba(255,255,255,.018);color:#778d80;font-size:.52rem;line-height:1}
.auth-page-register .auth-file__dropzone{min-height:112px;padding:20px;border-width:1px;border-color:rgba(53,242,122,.3);background:rgba(53,242,122,.025)}
.auth-page-register .auth-file__dropzone:hover,.auth-page-register .auth-file__dropzone:focus-visible{border-color:#35f27a;background:rgba(53,242,122,.06);outline:0;box-shadow:0 0 0 3px rgba(53,242,122,.08)}
.auth-page-register .auth-file__dropzone-icon{width:42px;height:42px}.auth-page-register .auth-file__dropzone-icon svg{width:20px;height:20px}.auth-page-register .auth-file__dropzone-text{font-size:.67rem}.auth-page-register .auth-file__preview{min-height:76px;padding:10px 12px;border:1px solid rgba(53,242,122,.2);border-radius:11px;background:rgba(53,242,122,.035)}
.auth-page-register form>button{margin-top:3px;min-height:52px;font-family:"Space Grotesk",sans-serif;font-size:.78rem;letter-spacing:.01em}
.auth-page-register .recaptcha-disclosure{text-align:center}.auth-page-register .auth-card footer{justify-content:center;margin-top:17px;padding-top:16px;border-top:1px solid rgba(127,180,149,.11)}
@media(max-width:1100px){.auth-page-register .auth-story{position:relative;top:auto}.auth-page-register .auth-card{max-width:none}}
@media(max-width:800px){.auth-page-register{padding-top:22px}.auth-page-register .auth-card{padding:28px}.auth-page-register .register-intro{max-width:56ch}.register-section{padding:16px}}
@media(max-width:520px){.auth-page-register{gap:12px}.auth-page-register .auth-card{padding:23px 16px}.auth-page-register .auth-card h2{font-size:1.58rem}.register-intro{font-size:.69rem!important}.register-section{gap:12px;padding:14px 12px;border-radius:13px}.register-section__head{align-items:flex-start}.register-section__head small{font-size:.54rem}.auth-page-register .auth-row{gap:12px}.auth-page-register .auth-field input{min-height:47px}.auth-page-register .password-help span{font-size:.49rem}.auth-page-register .auth-file__dropzone{min-height:104px;padding:17px 12px}.auth-page-register form>button{position:sticky;z-index:5;bottom:10px;box-shadow:0 15px 36px rgba(0,0,0,.48),0 10px 28px rgba(28,194,91,.2)}}
.passkey-auth-button{width:100%;min-height:48px;margin-top:14px;padding:0 15px;display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;border:1px solid rgba(76,230,132,.28);border-radius:12px;background:rgba(30,180,84,.07);color:#eaf9ef;font:800 .84rem/1 "DM Sans",sans-serif;cursor:pointer;text-align:left}.passkey-auth-button:hover,.passkey-auth-button:focus-visible{border-color:#4be483;background:rgba(55,226,116,.12);outline:none}.passkey-auth-button:disabled{opacity:.55;cursor:wait}.passkey-auth-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:rgba(78,231,134,.1);color:#60ed95}.passkey-auth-icon svg{width:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.passkey-auth-note{margin:8px 0 0!important;color:#6f8377!important;font-size:.68rem!important;line-height:1.45!important}.passkey-auth-note.is-error{color:#ff8992!important}.passkey-auth-note.is-success{color:#65eb95!important}
.auth-page .passkey-auth-button{min-height:48px!important;height:auto!important}

/* Auth premium system · scoped after the legacy theme so shared button and
   input rules cannot flatten the login/register hierarchy. */
.auth-page{position:relative}
.auth-page::before{position:absolute;z-index:-1;inset:22px -6% auto;height:430px;content:"";pointer-events:none;background:radial-gradient(circle at 72% 34%,rgba(48,238,119,.075),transparent 38%),radial-gradient(circle at 20% 52%,rgba(34,159,91,.06),transparent 42%)}
.auth-story{position:relative;overflow:hidden;background:radial-gradient(circle at 75% 68%,rgba(44,220,111,.1),transparent 34%),linear-gradient(145deg,rgba(13,38,26,.98),rgba(4,17,11,.99))}
.auth-story::after{position:absolute;inset:0;content:"";pointer-events:none;background:linear-gradient(120deg,rgba(255,255,255,.035),transparent 24%,transparent 76%,rgba(53,242,122,.025));opacity:.8}
.auth-card{position:relative;overflow:hidden;background:radial-gradient(circle at 100% 0,rgba(53,242,122,.055),transparent 28%),linear-gradient(155deg,rgba(11,31,21,.985),rgba(4,15,10,.99))}
.auth-card::before{position:absolute;inset:0 0 auto;height:1px;content:"";background:linear-gradient(90deg,transparent,rgba(101,247,155,.6),transparent)}
.auth-card-heading{display:grid;grid-template-columns:52px minmax(0,1fr);gap:15px;align-items:center;margin-bottom:23px}
.auth-heading-icon{display:grid;width:52px;height:52px;place-items:center;border:1px solid rgba(72,235,133,.25);border-radius:15px;background:linear-gradient(145deg,rgba(65,230,126,.14),rgba(35,143,79,.055));color:#65ef98;box-shadow:inset 0 1px rgba(255,255,255,.05),0 12px 28px rgba(0,0,0,.18)}
.auth-heading-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.auth-card-heading>div{min-width:0}.auth-card-heading>div>span{display:block;margin-bottom:7px;color:#43ed82;font-size:.58rem;font-weight:900;letter-spacing:.18em}.auth-card-heading h2{margin:0 0 6px}.auth-card-heading p{margin:0!important;color:#80968a!important;font-size:.73rem!important;line-height:1.55!important}
.auth-methods{display:grid;gap:10px}.auth-methods .google-auth-button,.auth-page-register .google-auth-button{margin-top:0}.auth-methods .passkey-auth-button{margin-top:0}
.google-auth-label,.passkey-auth-button>span:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:4px;text-align:center}.google-auth-label,.passkey-auth-button>span:nth-child(2){align-items:center}.google-auth-label small,.passkey-auth-button small{color:#758b7f;font-size:.52rem;font-weight:600;line-height:1.2}.google-auth-button:hover .google-auth-label small{color:#a4bbaf}.passkey-auth-button small{color:#668074}
.passkey-auth-button{grid-template-columns:42px minmax(0,1fr) 22px;min-height:58px!important;padding:8px 16px 8px 10px!important;border-radius:14px;background:linear-gradient(135deg,rgba(20,56,36,.72),rgba(6,25,15,.84));box-shadow:inset 0 1px rgba(255,255,255,.035),0 12px 28px rgba(0,0,0,.15)}
.passkey-auth-icon{width:42px;height:42px;border:1px solid rgba(79,235,137,.18);border-radius:11px}.passkey-auth-icon svg{width:22px;height:22px;stroke-linejoin:round}.passkey-auth-note{margin:0 4px 2px 52px!important;font-size:.58rem!important}
.auth-divider{margin:19px 0 3px}.auth-divider span{padding:0 5px;color:#71877a;font-weight:800}
.auth-field{min-width:0}.auth-control{position:relative;display:block;min-width:0}.auth-control-icon{position:absolute;z-index:2;top:50%;left:14px;display:grid;width:20px;height:20px;place-items:center;color:#5f806d;pointer-events:none;transform:translateY(-50%);transition:color .16s ease}.auth-control-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.auth-control input{padding-left:44px!important;padding-right:45px!important}.auth-control:focus-within .auth-control-icon{color:#50e88a}.auth-control:focus-within input{box-shadow:0 0 0 3px rgba(53,242,122,.085),inset 0 1px rgba(255,255,255,.025)!important}
.auth-password-toggle{position:absolute!important;z-index:3;top:50%;right:5px;width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#6f8779!important;box-shadow:none!important;transform:translateY(-50%)!important;cursor:pointer}.auth-password-toggle:hover,.auth-password-toggle:focus-visible{background:rgba(66,224,123,.08)!important;color:#69ee99!important}.auth-password-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.auth-password-toggle .eye-closed{display:none}.auth-password-toggle[aria-pressed="true"] .eye-open{display:none}.auth-password-toggle[aria-pressed="true"] .eye-closed{display:inline-block}
.auth-form-options{display:flex;align-items:center;justify-content:space-between;gap:14px}.auth-form-options .auth-check{margin:0}.auth-form-options>a{color:#76e99d!important;font-size:.64rem;font-weight:700;text-decoration:none!important}.auth-form-options>a:hover{text-decoration:underline!important}.auth-check input{accent-color:#37e77a}
.auth-primary-action,.auth-page-register form>button.g-recaptcha{display:flex!important;min-height:52px!important;align-items:center!important;justify-content:center!important;gap:10px!important;border-radius:12px!important;font-family:"Space Grotesk",sans-serif!important;font-size:.75rem!important;letter-spacing:.01em}.auth-primary-action svg,.auth-page-register form>button.g-recaptcha svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s ease}.auth-primary-action:hover svg,.auth-page-register form>button.g-recaptcha:hover svg{transform:translateX(3px)}
.auth-account-switch{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;margin-top:19px!important;padding-top:18px;border-top:1px solid rgba(119,177,143,.12)}.auth-account-switch>span{color:#72877a;font-size:.64rem}.auth-account-switch>a{color:#70ed99!important;font-size:.66rem!important;font-weight:800!important}.auth-account-switch>a span{display:inline-block;transition:transform .16s ease}.auth-account-switch>a:hover span{transform:translateX(2px)}
.register-section{border-color:rgba(104,195,137,.17);background:linear-gradient(150deg,rgba(4,19,12,.88),rgba(7,25,16,.58));box-shadow:inset 0 1px rgba(255,255,255,.025),0 12px 32px rgba(0,0,0,.12)}
.register-section__head{align-items:center}.register-section__head>.auth-section-icon{display:grid;width:38px;height:38px;flex:0 0 38px;place-items:center;border:1px solid rgba(66,231,126,.24);border-radius:11px;background:linear-gradient(145deg,rgba(60,224,120,.13),rgba(33,133,73,.04));color:#5ced90}.auth-section-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.register-section__head>div{gap:2px}.register-section__head b{color:#48db7f;font-size:.46rem;letter-spacing:.16em}.register-section__head strong{font-size:.82rem}.auth-page-register .auth-field>label{margin-bottom:0}.auth-page-register .auth-control input{padding-left:43px!important}.auth-page-register .auth-file__dropzone-icon{border:1px solid rgba(71,233,130,.2);background:rgba(54,214,112,.08)}
@media(max-width:520px){.auth-card-heading{grid-template-columns:44px minmax(0,1fr);gap:12px;margin-bottom:19px}.auth-heading-icon{width:44px;height:44px;border-radius:13px}.auth-heading-icon svg{width:23px;height:23px}.auth-card-heading h2{font-size:1.55rem}.auth-methods{gap:9px}.google-auth-button,.passkey-auth-button{min-height:54px!important}.passkey-auth-note{margin-left:2px!important}.auth-form-options{align-items:flex-start}.auth-account-switch{flex-wrap:wrap}.register-section__head>.auth-section-icon{width:35px;height:35px;flex-basis:35px}.auth-control input{font-size:16px!important}.auth-page-register .auth-card-heading{margin-bottom:18px}}
@media(prefers-reduced-motion:reduce){.auth-primary-action svg,.auth-page-register form>button.g-recaptcha svg,.auth-account-switch>a span{transition:none!important}}
