:root{color-scheme:dark;font-family:Inter,"Segoe UI",Arial,sans-serif;background:#03080d;color:#f5f7fa;font-synthesis:none;--cyan:#50ceff;--muted:#8c9ba9}
*{box-sizing:border-box}body{margin:0;min-height:100svh;overflow-x:hidden;background:#03080d}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}a{color:inherit;text-decoration:none}button,a,input{outline-offset:5px}button:focus-visible,a:focus-visible{outline:2px solid var(--cyan)}[hidden]{display:none!important}
#galaxy,.space-shade{position:fixed;inset:0;width:100%;height:100%;pointer-events:none}.space-shade{background:linear-gradient(90deg,rgba(3,8,13,.15),transparent 52%,rgba(3,8,13,.65)),linear-gradient(0deg,#03080d 0%,transparent 25%,transparent 85%,rgba(3,8,13,.4));z-index:0}
.site-header,main,.site-footer{position:relative;z-index:1}.site-header{height:104px;max-width:1536px;margin:auto;padding:0 64px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;white-space:nowrap}.brand img{object-fit:contain}.brand>span{font-size:19px;font-weight:400;letter-spacing:2.7px}.brand b{color:var(--cyan);font-weight:400}.header-caption{font-size:9px;letter-spacing:3px;color:#9aadb9}.header-links{display:flex;align-items:center;gap:22px}.header-plans{font-size:12px;color:#b9cbd7;transition:color .2s}.header-plans:hover{color:#fff}.header-action{display:flex;gap:24px;align-items:center;font-size:12px;background:#f5f7fa;color:#0b1218;border-radius:30px;padding:13px 20px;transition:background .2s,transform .2s}.header-action:hover{background:#b9eaff;transform:translateY(-1px)}
main{max-width:1440px;margin:auto;min-height:calc(100svh - 176px);display:grid;grid-template-columns:minmax(0,1fr) 426px;align-items:center;gap:64px;padding:42px 64px 64px}.universe{align-self:stretch;position:relative;display:flex;flex-direction:column;justify-content:center;padding-bottom:24px}.orbit-label{display:flex;align-items:center;gap:10px;font-size:10px;letter-spacing:2.8px;color:#bcdae8;margin-bottom:30px}.orbit-label>span{width:5px;height:5px;border-radius:50%;background:#77dfff;box-shadow:0 0 15px #4ccbff}h1{font-size:clamp(44px,4.45vw,72px);line-height:1.08;letter-spacing:-3.8px;font-weight:400;margin:0;text-shadow:0 2px 35px #03080d}h1 em{font-style:normal;color:#b9e5ff}.hero-copy{font-size:16px;font-weight:400;line-height:1.9;color:#b0becb;margin:26px 0 30px;text-shadow:0 2px 15px #000}.capabilities{display:flex;gap:17px;align-items:center;font-size:11px;letter-spacing:.2px;color:#ccdbe6}.capabilities i{width:3px;height:3px;border-radius:50%;background:#5c869b}.galaxy-caption{position:absolute;bottom:0;left:0;right:55px;display:flex;align-items:center;gap:14px;color:#7f97a8;font-size:8px;letter-spacing:2px}.crosshair{color:var(--cyan);font-size:21px;font-weight:200}.caption-line{height:1px;background:linear-gradient(90deg,#375464,transparent);flex:1}
.auth-card{width:100%;padding:31px 33px 0;border:1px solid rgba(157,191,212,.2);border-radius:23px;background:linear-gradient(145deg,rgba(18,29,39,.91),rgba(7,14,21,.95));box-shadow:0 24px 90px #0005,inset 0 1px 0 #d4eeff05;backdrop-filter:blur(24px)}.card-topline{display:flex;align-items:center;gap:9px;color:#a2bacb;font-size:9px;letter-spacing:1.7px;margin-bottom:31px}.card-star{font-size:23px;line-height:1;color:#8bddff}.card-dots{margin-left:auto;color:#718594;font-size:14px;letter-spacing:4px}.auth-card h2{font-size:32px;font-weight:500;letter-spacing:-1.2px;margin:0 0 10px}.card-description{font-size:12px;line-height:1.7;color:#98a9b8;margin:0 0 25px}.form-tabs{display:flex;border-bottom:1px solid #ffffff13;margin-bottom:24px}.form-tabs button{flex:1;background:transparent;border:0;color:#8194a4;padding:0 6px 13px;font-size:12px;cursor:pointer;position:relative}.form-tabs button[aria-selected=true]{color:#f3f8ff}.form-tabs button[aria-selected=true]:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:#67d0f9;box-shadow:0 -2px 12px #40b5ff33}.field{margin-bottom:18px}.field label{display:block;font-size:11px;font-weight:500;margin-bottom:9px;color:#d0dbe4}.field input{width:100%;border:1px solid #ffffff1c;border-radius:9px;background:#030b1280;color:#f6faff;padding:13px 14px;font-size:12px;height:47px;transition:border-color .2s,box-shadow .2s}.field input::placeholder{color:#617584}.field input:focus{border-color:#61c9f0;box-shadow:0 0 0 3px #45bfff10;outline:none}.field small{display:block;font-size:10px;line-height:1.6;color:#8da4b7;margin-top:7px}.password-wrap{position:relative}.password-wrap input{padding-right:48px}.eye-button{position:absolute;right:4px;top:4px;width:39px;height:39px;border:0;background:transparent;color:#8ea3b3;cursor:pointer;border-radius:6px}.eye-button svg{width:18px;vertical-align:middle}.eye-button:hover{color:white}.submit-button{display:flex;align-items:center;justify-content:space-between;width:100%;height:48px;padding:0 17px;margin-top:25px;border:1px solid #f5f7fa;background:#f5f7fa;color:#101820;border-radius:9px;font-size:12px;font-weight:600;cursor:pointer;transition:background .2s,box-shadow .2s}.submit-button:hover{background:#d9f3ff;box-shadow:0 0 22px #51bdff1a}.submit-button:disabled{cursor:wait;opacity:.6}.submit-arrow{font-size:21px;font-weight:400}.switch-copy{font-size:11px;text-align:center;color:#8d9ead;margin:24px 0 28px;line-height:1.8}.switch-copy a{color:#a7dcf5;margin-left:3px}.switch-copy a:hover{text-decoration:underline}.card-foot{border-top:1px solid #ffffff10;display:flex;justify-content:center;align-items:center;gap:7px;padding:17px 0;font-size:10px;color:#7c92a2}.card-foot svg{width:13px;height:13px}.form-message{font-size:12px;line-height:1.6;padding:12px;border:1px solid #fb987a40;border-radius:8px;background:#391c184d;color:#ffbfad}.site-footer{max-width:1536px;padding:20px 64px 26px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#69808e;font-size:10px}.site-footer>span:nth-child(2){font-size:8px;letter-spacing:2px}.site-footer button{background:none;border:0;color:#91a8b8;font-size:10px;cursor:pointer;padding:6px 0}.site-footer button span{margin-left:10px;color:#bee7fa}
@media(min-width:1600px){main{gap:120px;grid-template-columns:minmax(0,1fr) 450px}.auth-card{padding:36px 38px 0}.field input{height:50px}.card-description{font-size:13px}.galaxy-caption{bottom:15px}}
@media(max-width:1050px){.site-header{padding:0 32px}.header-caption{display:none}main{padding:32px;gap:32px;grid-template-columns:minmax(0,1fr) 390px}h1{font-size:48px;letter-spacing:-2.5px}.auth-card{padding:28px 27px 0}.hero-copy{font-size:14px}.capabilities{gap:11px}.site-footer{padding:20px 32px}}
@media(max-width:760px){.site-header{height:82px;padding:0 22px}.brand>span{font-size:14px;letter-spacing:1.4px}.brand{gap:7px}.brand img{width:32px;height:32px}.header-links{gap:10px}.header-plans{display:none}.header-action{padding:10px 13px;font-size:10px;gap:10px}main{grid-template-columns:1fr;padding:20px 22px 35px;gap:32px;min-height:auto}.universe{text-align:center;align-items:center;padding:10px 0 0}.orbit-label{font-size:8px;margin-bottom:18px;letter-spacing:2px}h1{font-size:43px;letter-spacing:-2px}.hero-copy{font-size:13px;margin:18px 0 0;line-height:1.7}.capabilities,.galaxy-caption{display:none}.auth-card{max-width:440px;margin:auto;padding:25px 26px 0}.card-topline{margin-bottom:22px}.auth-card h2{font-size:29px}.site-footer{padding:12px 22px 24px}.site-footer>span:nth-child(2){display:none}.space-shade{background:linear-gradient(0deg,#03080d,transparent 80%)}}
.remember-option{display:flex;align-items:flex-start;gap:10px;margin-top:6px;cursor:pointer;color:#c7d7e2;font-size:12px;line-height:1.5}.remember-option input{accent-color:var(--cyan);width:16px;height:16px;margin:2px 0 0;flex-shrink:0;cursor:pointer}.remember-option small{display:block;font-size:10px;color:#8da4b7;margin-top:3px}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* The current Xeno Galaxy identity, shared with the AI interface. */
:root,body{background:#000;--cyan:#91ceec}
.space-shade{background:none}
.brand>strong{font-size:19px;font-weight:800;letter-spacing:-.5px;color:#eeeaf8}
.auth-galaxy-logo{width:min(100%,340px);display:flex;flex-direction:column;align-items:center;gap:10px;margin:0 auto 28px;color:#edeaf7}
.auth-galaxy-mark{position:relative;width:100%;aspect-ratio:1;flex-shrink:0;mix-blend-mode:screen}
.auth-galaxy-mark canvas,.auth-galaxy-mark img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}
.auth-galaxy-mark img{display:none}
.auth-galaxy-mark[data-fallback=true] canvas{display:none}
.auth-galaxy-mark[data-fallback=true] img{display:block}
.auth-galaxy-mark.compact{width:42px;height:42px}
.auth-galaxy-wordmark{width:200px;max-width:70%;height:auto}
.auth-galaxy-name{font-size:13px;font-weight:800;letter-spacing:6px;padding-left:6px;color:#cbc6e0}
.universe{align-items:center;text-align:center;padding-bottom:40px}
.orbit-label{margin:0 0 18px;font-size:9px;font-weight:600}
h1{font-size:clamp(30px,3vw,45px);letter-spacing:-1.8px}
.hero-copy{margin:18px 0;font-size:14px}
.galaxy-caption{left:12%;right:12%}
.auth-card{background:linear-gradient(145deg,#17151c,#0e1115);border-color:#3a3545;box-shadow:0 24px 90px #0005}
.field input{background:#09090b;border-color:#363239}
.card-star{color:#c3a3ed}
@media(min-width:1100px) and (max-height:850px){.site-header{height:80px}main{padding-top:15px;padding-bottom:24px;min-height:calc(100svh - 138px)}.auth-galaxy-logo{width:260px;margin-bottom:20px}.hero-copy{margin:12px 0}.auth-galaxy-wordmark{width:170px}.galaxy-caption{display:none}.universe{padding-bottom:0}}
@media(max-width:760px){.brand>strong{font-size:17px}.auth-galaxy-mark.compact{width:32px;height:32px}.auth-galaxy-logo{width:160px;margin-bottom:15px;gap:5px}.auth-galaxy-wordmark{width:115px}.auth-galaxy-name{font-size:9px;letter-spacing:4px;padding-left:4px}.orbit-label,.hero-copy,.universe h1{display:none}.universe{padding:0}main{gap:24px}.site-header{height:76px}.auth-card{padding:25px 24px 0}}

/* Composite the animated particle logo over the background galaxy without its black WebGL surface. */
.auth-galaxy-mark{mix-blend-mode:normal}
.auth-galaxy-mark canvas,.auth-galaxy-mark img{mix-blend-mode:screen}

/* A cyan highlight travels across the letters on composited opacity layers. */
.auth-galaxy-name,.brand-galaxy{display:inline-flex;white-space:nowrap;color:#c5a7ee}
.auth-galaxy-name{letter-spacing:normal}
.auth-galaxy-name .galaxy-letter{letter-spacing:6px}
.brand-galaxy .galaxy-letter{letter-spacing:-.5px}
.galaxy-letter{position:relative;display:inline-block}
.galaxy-letter::after{
  content:attr(data-text);
  position:absolute;
  inset:0;
  letter-spacing:inherit;
  white-space:nowrap;
  color:#83e4ff;
  text-shadow:0 0 9px #5bcdff90;
  opacity:0;
  pointer-events:none;
  will-change:opacity;
  transform:translateZ(0);
  animation:galaxy-letter-wave 3.3s ease-in-out infinite;
  animation-delay:calc(var(--i) * .22s);
}
.galaxy-letter:nth-child(1){--i:0}.galaxy-letter:nth-child(2){--i:1}.galaxy-letter:nth-child(3){--i:2}.galaxy-letter:nth-child(4){--i:3}.galaxy-letter:nth-child(5){--i:4}.galaxy-letter:nth-child(6){--i:5}
@keyframes galaxy-letter-wave{0%,58%,100%{opacity:0}25%{opacity:1}}
@media(prefers-reduced-motion:reduce){.galaxy-letter::after{animation:none;opacity:.5}}

/* Keep the desktop auth screen inside the viewport while preserving the artwork. */
@media(min-width:761px){
  .site-header{height:80px}
  main{min-height:calc(100svh - 114px);padding-block:24px 14px}
  .site-footer{padding-block:8px 12px}
}
@media(min-width:761px) and (max-height:850px){
  main{padding-block:14px 10px}
  .auth-card{padding-top:24px}
  .card-topline{margin-bottom:20px}
  .card-description{margin-bottom:17px}
  .field{margin-bottom:13px}
  .submit-button{margin-top:18px}
  .switch-copy{margin:16px 0 18px}
  .card-foot{padding-block:12px}
}
@media(min-width:761px){
  body[data-auth-mode=register] .auth-card{padding-top:24px}
  body[data-auth-mode=register] .card-topline{margin-bottom:20px}
  body[data-auth-mode=register] .card-description{margin-bottom:17px}
  body[data-auth-mode=register] .form-tabs{margin-bottom:16px}
  body[data-auth-mode=register] .field{margin-bottom:13px}
  body[data-auth-mode=register] .field label{margin-bottom:6px}
  body[data-auth-mode=register] .field input{height:44px;padding-block:10px}
  body[data-auth-mode=register] .submit-button{margin-top:18px}
  body[data-auth-mode=register] .switch-copy{margin:16px 0 18px}
  body[data-auth-mode=register] .card-foot{padding-block:12px}
}

/* The account panel shares the orbit, glass, and light palette of the galaxy. */
.auth-card{
  width:100%;max-width:430px;justify-self:center;
  padding:32px 34px 34px;
  border:1px solid transparent;border-radius:22px;
  background:
    radial-gradient(ellipse at 8% 0%,#8951cc2a,transparent 51%) padding-box,
    linear-gradient(155deg,#171723ee,#0b121cf5 75%,#0a1821f2) padding-box,
    linear-gradient(130deg,#bb91e78c,#61bbe676 38%,#28384880 74%,#936abe65) border-box;
  box-shadow:0 28px 75px #000a,0 0 58px #6656ad24,inset 0 1px 0 #ffffff13;
  backdrop-filter:blur(20px);
}
.panel-brand{display:flex;align-items:center;gap:12px;margin-bottom:26px;padding-bottom:18px;border-bottom:1px solid #9cafd320}
.panel-brand::after{content:"✧";margin-left:auto;color:#9ddfff;font-size:21px;text-shadow:0 0 13px #72ceff}
.auth-galaxy-mark.panel-mark{width:50px;height:50px;filter:drop-shadow(0 0 9px #6e92e077)}
.panel-brand strong{font-size:18px;font-weight:750;letter-spacing:-.25px;color:#f5f4ff}
.auth-card .form-tabs,.auth-card .remember-option,.auth-card .card-foot{display:none}
.auth-card h2{font-size:28px;line-height:1.2;font-weight:720;letter-spacing:-.7px;margin:0 0 8px}
.auth-card h2 span{color:#c8dfff;background:linear-gradient(105deg,#f4f2ff,#caa6f5 55%,#91d9f5);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.auth-card .card-description{font-size:14px;line-height:1.45;color:#aebdcc;margin:0 0 27px}
.auth-card .field{margin-bottom:18px}
.auth-card .field label{font-size:12px;font-weight:600;color:#d6e3f0;margin-bottom:8px}
.auth-card .field input{
  height:48px;padding:11px 14px;border-radius:10px;
  background:#172233;border:1px solid #485672;color:#f4f8ff;font-size:13px;
  box-shadow:inset 0 1px 3px #0005;
}
.auth-card .field input::placeholder{color:#8d9cb1}
.auth-card .field input:focus{border-color:#7ac8f7;box-shadow:0 0 0 3px #52c4fa24,inset 0 1px 3px #0005}
.auth-card .field input:-webkit-autofill,.auth-card .field input:-webkit-autofill:hover,.auth-card .field input:-webkit-autofill:focus{
  -webkit-text-fill-color:#f4f8ff!important;
  box-shadow:inset 0 0 0 100px #172233!important;
  caret-color:#f4f8ff;
}
.auth-card .eye-button{color:#a4b9cf}.auth-card .eye-button:hover{color:#c69aff}
.auth-card .submit-button{
  height:46px;justify-content:center;margin-top:28px;
  border:1px solid #c3b8ff7a;border-radius:10px;
  background:linear-gradient(105deg,#724de1,#8e4ce3 54%,#368cc6);
  box-shadow:inset 0 1px 0 #e2cdff65,0 12px 27px #6941ce37,0 0 15px #5dc8f320;
  color:white;font-size:14px;font-weight:700;
}
.auth-card .submit-button:hover{background:linear-gradient(105deg,#8160ed,#a45aee 54%,#47a4df);box-shadow:0 13px 29px #7551df55,0 0 20px #5dc8f344}
.auth-card .submit-arrow{display:none}
.auth-card .switch-copy{font-size:13px;color:#aebdcc;margin:37px 0 0}
.auth-card .switch-copy a{color:#9fd8f9;text-decoration:underline;text-underline-offset:3px}
body[data-auth-mode=register] .auth-card{padding:29px 34px 31px}
body[data-auth-mode=register] .panel-brand{margin-bottom:20px;padding-bottom:13px}
body[data-auth-mode=register] .auth-card .card-description{margin-bottom:19px}
body[data-auth-mode=register] .auth-card .field{margin-bottom:12px}
body[data-auth-mode=register] .auth-card .field input{height:44px;padding-block:9px}
body[data-auth-mode=register] .auth-card .submit-button{margin-top:20px}
body[data-auth-mode=register] .auth-card .switch-copy{margin-top:26px}
@media(max-width:760px){
  .auth-card{padding:27px 24px 30px}
  .panel-brand{margin-bottom:22px}
  .auth-card h2{font-size:24px}
  .auth-card .switch-copy{margin-top:30px}
  body[data-auth-mode=register] .auth-card{padding:26px 24px 28px}
}

.site-header .header-plans{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:42px;padding:0 15px;
  border:1px solid rgba(143,193,232,.42);border-radius:999px;
  background:linear-gradient(115deg,rgba(93,50,151,.26),rgba(17,35,54,.88) 55%,rgba(21,74,95,.43));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.13),0 0 19px rgba(76,188,255,.1),0 8px 24px rgba(0,0,0,.22);
  color:#f5fbff;font-size:12px;font-weight:650;letter-spacing:.25px;white-space:nowrap;
  transition:border-color .25s,background .25s,box-shadow .25s,transform .25s;
}
.site-header .header-plans .plans-spark{width:16px;height:16px;color:#b398ff;filter:drop-shadow(0 0 5px rgba(171,113,255,.75))}
.site-header .header-plans .plans-arrow{width:14px;height:14px;color:#83e5ff;transition:transform .25s}
.site-header .header-plans:hover{color:#fff;border-color:rgba(152,226,255,.85);background:linear-gradient(115deg,rgba(114,59,182,.41),rgba(24,55,79,.96) 55%,rgba(29,109,135,.56));box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 0 25px rgba(76,188,255,.28),0 10px 26px rgba(0,0,0,.27);transform:translateY(-2px)}
.site-header .header-plans:hover .plans-arrow{transform:translate(2px,-2px)}
.site-header .header-plans:active{transform:translateY(0)}
@media(max-width:760px){.site-header .header-plans{display:inline-flex;min-height:38px;padding:0 11px;gap:7px;font-size:11px}.site-header .header-plans .plans-spark{width:14px;height:14px}.site-header .header-plans .plans-arrow{width:12px;height:12px}}
@media(prefers-reduced-motion:reduce){.site-header .header-plans,.site-header .header-plans .plans-arrow{transition:none}}
.auth-galaxy-name .auth-galaxy-ai{margin-left:2px;color:#fff;letter-spacing:1px;text-shadow:0 0 10px rgba(255,255,255,.55)}

/* The account forms open from the header, leaving the galaxy as the landing view. */
.site-header .header-links{gap:10px}
.site-header .header-login,.site-header .header-register{
  display:inline-flex;align-items:center;justify-content:center;gap:11px;min-height:42px;
  border-radius:999px;padding:0 19px;font-size:12px;font-weight:700;letter-spacing:.2px;white-space:nowrap;
  transition:transform .25s,border-color .25s,background .25s,box-shadow .25s;
}
.site-header .header-login{color:#eef7ff;border:1px solid #8aa5c965;background:#121927b8;box-shadow:inset 0 1px 0 #ffffff15,0 8px 20px #0004}
.site-header .header-login:hover{border-color:#9cdeffb8;background:#1c2b3fd9;box-shadow:0 0 19px #6fcaff30,0 8px 20px #0005;transform:translateY(-2px)}
.site-header .header-register{color:#fff;border:1px solid #c5a8fa9c;background:linear-gradient(110deg,#6846ce,#9a4ed7 55%,#438bca);box-shadow:inset 0 1px 0 #ffffff40,0 8px 24px #8251d152,0 0 18px #7d9fff25}
.site-header .header-register:hover{background:linear-gradient(110deg,#7a5ae7,#ac61e8 55%,#51a5dc);box-shadow:inset 0 1px 0 #ffffff55,0 10px 27px #8251d17a,0 0 22px #6cc8ff40;transform:translateY(-2px)}
.site-header .header-login:active,.site-header .header-register:active{transform:translateY(0)}
.site-header .header-plans,.site-header .header-login,.site-header .header-register{
  color:#f4f7ff;border-color:#9aadd386;
  background:linear-gradient(115deg,rgba(49,34,78,.9),rgba(17,39,57,.94));
  box-shadow:inset 0 1px 0 #ffffff26,0 0 18px #827bce20,0 8px 23px #0008;
}
.site-header .header-plans:hover,.site-header .header-login:hover,.site-header .header-register:hover{
  color:#fff;border-color:#aacff0d9;
  background:linear-gradient(115deg,rgba(67,47,107,.97),rgba(23,59,81,.98));
  box-shadow:inset 0 1px 0 #ffffff32,0 0 24px #8d9fff40,0 10px 26px #0009;
}
.site-header .header-login[aria-expanded=true],.site-header .header-register[aria-expanded=true]{
  color:#fff;border-color:#b7d4f5;
  background:linear-gradient(110deg,#7351d5,#8856d8 48%,#398fc6);
  box-shadow:inset 0 1px 0 #ffffff59,0 0 23px #8071d968,0 10px 24px #1b153b99;
}
body[data-auth-panel=closed] main{grid-template-columns:minmax(0,1fr);max-width:1100px;min-height:calc(100svh - 160px);padding-block:20px 36px}
body[data-auth-panel=closed] .universe{width:min(100%,820px);justify-self:center;align-self:stretch;align-items:center;justify-content:center;padding:0 0 18px}
body[data-auth-panel=closed] .auth-galaxy-logo{width:min(100%,330px)}
body[data-auth-panel=open] .auth-card{animation:auth-card-appear .32s cubic-bezier(.2,.75,.25,1) both}
@keyframes auth-card-appear{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
.auth-card{position:relative}
.auth-card .panel-brand::after{display:none}
.panel-close{margin-left:auto;width:34px;height:34px;display:grid;place-items:center;border:1px solid #94acd344;border-radius:10px;background:#ffffff08;color:#cfe2f1;font-size:23px;line-height:1;cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.panel-close:hover{background:#91ceec18;border-color:#91ceec99;color:#fff}
@media(max-width:760px){
  .site-header .header-login,.site-header .header-register{min-height:38px;padding:0 13px;font-size:11px}
  body[data-auth-panel=closed] main{min-height:calc(100svh - 158px);padding:20px 22px 30px}
  body[data-auth-panel=closed] .universe{padding:8px 0 18px}
  body[data-auth-panel=closed] .auth-galaxy-logo{width:min(100%,250px);margin-bottom:18px}
  body[data-auth-panel=closed] .orbit-label{display:flex;margin-bottom:18px}
  body[data-auth-panel=closed] .universe h1{display:block;font-size:clamp(30px,6vw,42px);letter-spacing:-1.5px}
  body[data-auth-panel=closed] .hero-copy{display:block;margin:14px 0 0;font-size:13px}
}
@media(max-width:620px){
  .site-header{height:auto;min-height:100px;padding:12px 18px;flex-wrap:wrap;gap:9px}
  .site-header .header-links{width:100%;justify-content:space-between;gap:8px}
  .site-header .header-links>a{flex:1;min-height:36px;padding-inline:9px}
  body[data-auth-panel=closed] main{min-height:calc(100svh - 172px);padding:16px 18px 28px}
}
.availability-note{margin:12px 0 16px;padding:12px 14px;border:1px solid rgba(150,174,255,.26);border-radius:12px;background:rgba(93,112,183,.12);color:#cbd5f6;font-size:12px;line-height:1.5}
@media(prefers-reduced-motion:reduce){body[data-auth-panel=open] .auth-card{animation:none}.site-header .header-login,.site-header .header-register{transition:none}}

/* Solo il modulo cambia: canvas e logo galattico originali restano invariati. */
body[data-auth-panel=open] main{grid-template-columns:minmax(0,1fr) 360px;gap:clamp(20px,4vw,64px)}
body[data-auth-panel=open] .auth-card{display:flex;flex-direction:column;width:min(100%,340px);justify-self:center;padding:12px 14px 18px;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;text-align:center}
body[data-auth-panel=open] .auth-card .panel-brand,body[data-auth-panel=open] .auth-card .form-tabs,body[data-auth-panel=open] .auth-card .card-description,body[data-auth-panel=open] .auth-card .remember-option,body[data-auth-panel=open] .auth-card .card-foot{display:none}
body[data-auth-panel=open] .auth-card h2{order:2;margin:0 0 24px;color:#f5f7fa;font-size:19px;font-weight:400;letter-spacing:0;text-align:center}
body[data-auth-panel=open] .auth-card h2 span{background:none;color:inherit;-webkit-text-fill-color:currentColor}
body[data-auth-panel=open] .auth-card #accountForm,body[data-auth-panel=open] .auth-card #forgotForm,body[data-auth-panel=open] .auth-card #resetForm{order:3;text-align:left}
body[data-auth-panel=open] .auth-card .switch-copy{order:4;margin:18px 0 5px;font-size:11px}
body[data-auth-panel=open] .auth-card .forgot-password{order:5;align-self:center;padding:8px;border:0;background:none;color:#a9b2bd;font-size:11px;cursor:pointer}
body[data-auth-panel=open] .auth-card .forgot-password:hover{color:#fff;text-decoration:underline}
body[data-auth-panel=open] .auth-card .availability-note{order:6;margin:17px 0 0;padding:0;border:0;border-radius:0;background:none;color:#8b98a5;font-size:10px;line-height:1.6}
body[data-auth-panel=open] .auth-card .field{margin:0 0 13px}
body[data-auth-panel=open] .auth-card .field label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body[data-auth-panel=open] .auth-card .field input{width:100%;height:42px;padding:7px 2px;border:0;border-bottom:1px solid rgba(255,255,255,.44);border-radius:0;outline:0;background:transparent;color:#fff;font-size:13px;box-shadow:none}
body[data-auth-panel=open] .auth-card .field input::placeholder{color:#aab1b8;opacity:1}
body[data-auth-panel=open] .auth-card .field input:focus{border-bottom-color:#fff;box-shadow:0 1px 0 #fff}
body[data-auth-panel=open] .auth-card .field small{margin-top:5px;color:#a3adb7;font-size:10px}
body[data-auth-panel=open] .auth-card .eye-button{top:2px;right:0;color:#a9b4bd}
body[data-auth-panel=open] .auth-card .submit-button{display:block;width:auto;min-width:130px;height:37px;margin:23px auto 0;padding:0 18px;border:1px solid #fff;border-radius:3px;background:transparent;color:#fff;font-size:12px;font-weight:500;text-align:center;box-shadow:none}
body[data-auth-panel=open] .auth-card .submit-button:hover{background:#fff;color:#111;box-shadow:none}
body[data-auth-panel=open] .auth-card .submit-arrow{display:none}
body[data-auth-panel=open] .auth-card .form-message{margin:13px 0 0;font-size:11px}
body[data-auth-panel=open] .auth-card .recovery-hint{margin:12px 0 0;color:#a9b5c0;font-size:11px;line-height:1.6}
body[data-auth-panel=open] .auth-card .form-message[data-success=true]{border-color:#5fbf9870;background:#12382b88;color:#b8f1d5}
body[data-auth-panel=open] .auth-card #backToSignIn{order:4}
.captcha-field{width:304px;max-width:100%;min-height:78px;margin:5px auto 12px;text-align:left}
.captcha-field small{display:block;margin-top:5px;color:#a3adb7;font-size:10px;line-height:1.4}
@media(max-width:760px){body[data-auth-panel=open] main{grid-template-columns:1fr;gap:6px}body[data-auth-panel=open] .auth-card{margin:0 auto}body[data-auth-panel=open] .auth-card h2{margin-bottom:16px}}

/* Keep registration compact without scaling or cropping the official Google widget. */
body[data-auth-panel=open][data-auth-mode=register] .auth-card{padding-top:8px;padding-bottom:10px}
body[data-auth-panel=open][data-auth-mode=register] .auth-card h2{margin-bottom:12px}
body[data-auth-panel=open][data-auth-mode=register] .auth-card .field{margin-bottom:6px}
body[data-auth-panel=open][data-auth-mode=register] .auth-card .field small{margin-top:3px;line-height:1.35}
body[data-auth-panel=open][data-auth-mode=register] .captcha-field{margin:0 auto 2px}
body[data-auth-panel=open][data-auth-mode=register] .auth-card .submit-button{height:36px;margin-top:10px}
body[data-auth-panel=open][data-auth-mode=register] .auth-card .switch-copy{margin:10px 0 0}
body[data-auth-panel=open][data-auth-mode=register] .auth-card .availability-note{margin-top:8px;line-height:1.4}
@media(min-width:761px){
  body[data-auth-panel=open][data-auth-mode=register] .auth-card .field input{height:36px;padding-block:4px}
  body[data-auth-panel=open][data-auth-mode=register] .auth-card .eye-button{top:0;height:35px}
}

/* Remember device belongs to sign-in only. */
body[data-auth-panel=open][data-auth-mode=login] .auth-card .remember-option{
  display:flex;align-items:flex-start;justify-content:flex-start;
  margin:12px 0 0;text-align:left;color:#c5ced8;font-size:11px
}
body[data-auth-panel=open][data-auth-mode=login] .auth-card .remember-option input{
  width:16px;height:16px;margin:1px 0 0;accent-color:#9bdafa
}
body[data-auth-panel=open][data-auth-mode=login] .auth-card .remember-option small{
  margin-top:2px;color:#8f9dac;font-size:10px
}

/* Registration agreement stays separate from optional account preferences. */
body[data-auth-panel=open] .auth-card .legal-consent{
  display:flex;align-items:flex-start;gap:9px;width:304px;max-width:100%;
  margin:10px auto 0;text-align:left;color:#c6d0da;font-size:10px;line-height:1.45
}
body[data-auth-panel=open] .auth-card .legal-consent input{
  width:16px;height:16px;flex:none;margin:1px 0 0;accent-color:#9bdafa;cursor:pointer
}
body[data-auth-panel=open] .auth-card .legal-consent label{cursor:pointer}
body[data-auth-panel=open] .auth-card .legal-links{display:flex;gap:8px;margin-top:4px}
body[data-auth-panel=open] .auth-card .legal-links a{color:#a7dcf5;text-decoration:underline;text-underline-offset:2px}
body[data-auth-panel=open] .auth-card .legal-links a:hover{color:#fff}
.account-notices{width:304px;max-width:100%;margin:8px auto 0;text-align:left;color:#b8c5d1;font-size:10px;line-height:1.5}
.account-notices details{border-top:1px solid #53627366;padding:7px 0}
.account-notices summary{cursor:pointer;color:#a7dcf5;font-size:11px}
.account-notices .notice-body{max-height:145px;overflow:auto;padding:5px 3px 2px;color:#bec8d0}
.account-notices .notice-body p{margin:6px 0}
.account-notices a{color:#a7dcf5;text-decoration:underline}
body[data-auth-panel=open] .auth-card .panel-close{
  position:absolute;top:-13px;right:0;z-index:2;width:29px;height:29px;margin:0;
  border-color:#9db5ce70;border-radius:50%;background:#101924d9;color:#f4f8fd;font-size:19px
}
