/* Scoped to the unauthenticated login endpoint by base.html. */
body.cn-login-space-v3{--cn-login-left:clamp(24px,6vw,120px);--cn-login-width:440px;background:#030d17!important;color:#eaf2ff;isolation:isolate;min-height:100vh;overflow-x:clip;margin:0;font-family:system-ui,-apple-system,Segoe UI,sans-serif;line-height:1.5}
body.cn-login-space-v3>.cn-login-space-art{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden;background:#030d17}
.cn-login-space-art>img,.cn-login-space-art>canvas{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;object-position:right top;pointer-events:none}
body.cn-login-space-v3>.public-shell{box-sizing:border-box;max-width:none;width:100%;margin:0;padding:28px 24px 0 var(--cn-login-left);position:relative;isolation:isolate}
body.cn-login-space-v3>.public-shell>.brand{box-sizing:border-box;display:block;text-align:left;width:min(100%,var(--cn-login-width));margin:0 0 22px;padding:0;color:#eaf5ff;font-size:25px;line-height:1.3;text-decoration:none;text-shadow:0 2px 12px #000;font-weight:800}
body.cn-login-space-v3 .public-shell>.auth{box-sizing:border-box;position:relative;width:min(100%,var(--cn-login-width));max-width:none;margin:0;padding:0;background:transparent;border:0;box-shadow:none;color:#eaf2ff}
body.cn-login-space-v3 .public-shell>.auth.panel,body.cn-login-space-v3 .public-shell>.auth>.panel{box-sizing:border-box;padding:24px 25px;background:linear-gradient(135deg,#062238df,#03111ee8);border:1px solid #36c9ffb0;border-radius:17px;box-shadow:0 0 20px #009fff19,0 18px 55px #0004;backdrop-filter:blur(8px)}
body.cn-login-space-v3 .auth h1{font-size:29px;line-height:1.15;letter-spacing:-.6px;margin:12px 0 8px;color:#f3f7ff}
body.cn-login-space-v3 .auth .eyebrow{display:block;font-size:10px;letter-spacing:2px;color:#62edff;font-weight:700}
body.cn-login-space-v3 .auth p{font-size:13px;line-height:1.5;color:#c5d8e9;margin:9px 0 16px}
body.cn-login-space-v3 .auth label{display:block;font-size:13px;line-height:1.4;color:#c9e2f6;margin:0 0 14px}
body.cn-login-space-v3 .auth input:not([type=hidden]):not([type=checkbox]):not([type=radio]){box-sizing:border-box;display:block;width:100%;min-height:44px;margin-top:6px;padding:10px 12px;border-radius:9px;border:1px solid #6b9fbe9c;color:#f5f9ff;background:#122d45b5;font:inherit}
body.cn-login-space-v3 .auth input:focus-visible,body.cn-login-space-v3 .auth a:focus-visible,body.cn-login-space-v3 .auth button:focus-visible{outline:2px solid #64dcff;outline-offset:3px}
body.cn-login-space-v3 .auth .tiny{font-size:11px;line-height:1.5}
body.cn-login-space-v3 .auth details{background:#041524b3;border:1px solid #5d93b13d;border-radius:8px;padding:10px;margin:12px 0}
body.cn-login-space-v3 .auth summary{font-size:12px;color:#60e5ff;cursor:pointer}
body.cn-login-space-v3 .auth form>.btn,body.cn-login-space-v3 .auth form>button[type=submit],body.cn-login-space-v3 .auth form>button:not([type]){box-sizing:border-box;display:block;width:100%;min-height:44px;margin-top:16px;background:linear-gradient(110deg,#009bff,#0076ec);border:1px solid #33c4ff;border-radius:10px;color:white;font-weight:700;cursor:pointer}
body.cn-login-space-v3 .auth a{color:#53e4ff;text-decoration:none}
body.cn-login-space-v3 .auth a:hover{text-decoration:underline}
body.cn-login-space-v3>.auth-novo{box-sizing:border-box;display:block;width:min(var(--cn-login-width),calc(100% - 48px));max-width:none;margin:0 0 35px var(--cn-login-left);padding:5px 0 20px;clear:both;text-align:center}
body.cn-login-space-v3 .auth-novo .novo-float{max-width:310px;margin:0 auto}
body.cn-login-space-v3 .auth-novo p{font-size:11px;line-height:1.5;color:#c6e4ff;text-shadow:0 1px 5px #000}
body.cn-login-space-v3 .auth-novo .auth-novo-controls{justify-content:center;gap:8px}
body.cn-login-space-v3 .auth-novo button,body.cn-login-space-v3 .auth-novo select{font-size:11px}
body.cn-login-space-v3 .cn-login-effects-toggle{position:fixed;z-index:5;bottom:14px;right:16px;padding:7px 12px;border:1px solid #6ac8f378;border-radius:18px;background:#061a2bdf;color:#dcf3ff;font:12px/1.3 system-ui,sans-serif;cursor:pointer}
body.cn-login-space-v3 .cn-login-effects-toggle:focus-visible{outline:2px solid #64dcff;outline-offset:3px}
@media(min-width:701px) and (max-width:1100px){body.cn-login-space-v3{--cn-login-left:28px;--cn-login-width:390px}.cn-login-space-v3 .auth h1{font-size:27px}}
@media(max-width:700px){body.cn-login-space-v3{--cn-login-left:16px;--cn-login-width:440px}body.cn-login-space-v3>.public-shell{padding:calc(100vw * 845 / 1860 + 18px) 16px 0}body.cn-login-space-v3>.public-shell>.brand{margin:0 auto 18px;text-align:left;font-size:23px}body.cn-login-space-v3 .public-shell>.auth{margin:0 auto}body.cn-login-space-v3 .public-shell>.auth.panel,body.cn-login-space-v3 .public-shell>.auth>.panel{padding:22px 20px}body.cn-login-space-v3>.auth-novo{margin:0 auto 50px;width:calc(100% - 32px);max-width:440px}body.cn-login-space-v3 .auth h1{font-size:27px}body.cn-login-space-v3 .cn-login-effects-toggle{font-size:11px;bottom:10px;right:10px}}

/* Full Novo: existing SVG rig and controls stay authoritative. */
body.cn-login-space-v3 .auth-novo.animate .novo-head{animation:cn-login-head-work 6s ease-in-out infinite;transform-origin:750px 490px}
body.cn-login-space-v3 .auth-novo.animate .hand-left{animation:cn-login-type-left .46s steps(2,end) infinite;transform-origin:710px 720px}
body.cn-login-space-v3 .auth-novo.animate .hand-right{animation:cn-login-type-right .53s steps(2,end) infinite;transform-origin:968px 712px}
body.cn-login-space-v3 .auth-novo.talking .mouth-line{animation:cn-login-mouth .22s ease-in-out infinite alternate;transform-origin:700px 398px}
body.cn-login-space-v3 .cn-login-novo-sleep *{animation-play-state:paused!important}
@keyframes cn-login-head-work{0%,100%{transform:rotate(0deg)}25%{transform:rotate(-1.8deg)}60%{transform:rotate(1.6deg)}80%{transform:rotate(.3deg)}}
@keyframes cn-login-type-left{50%{transform:translateY(4px) rotate(.65deg)}}
@keyframes cn-login-type-right{50%{transform:translateY(4px) rotate(-.65deg)}}
@keyframes cn-login-mouth{to{transform:scaleY(.35)}}


/* CN_LOGIN_SOLO_GALAXIA_V2 */
body.cn-login-space-v3>.cn-login-space-art,
body.cn-login-space-v3 .cn-login-effects-toggle {
  display:none!important;
}
body.cn-login-space-v3 {
  background:
    radial-gradient(1px 1px at 17px 23px,#e9f5ff 80%,transparent)
      0 0/173px 191px repeat,
    radial-gradient(1px 1px at 73px 91px,#8bc9ff 80%,transparent)
      0 0/263px 277px repeat,
    radial-gradient(2px 2px at 129px 47px,#c5eaff 40%,transparent)
      0 0/389px 347px repeat,
    radial-gradient(ellipse at 78% 35%,#2264a54d,transparent 46%),
    radial-gradient(ellipse at 58% 70%,#57328440,transparent 48%),
    #020813!important;
}
@media(max-width:700px) {
  body.cn-login-space-v3>.public-shell {
    padding-top:22px!important;
  }
}


/* CN_LOGIN_CENTRADO_V1 */
body.cn-login-space-v3>.public-shell {
  padding:24px 16px 0!important;
}
body.cn-login-space-v3>.public-shell>.brand {
  margin-left:auto!important;
  margin-right:auto!important;
  text-align:center!important;
}
body.cn-login-space-v3 .public-shell>.auth {
  margin-left:auto!important;
  margin-right:auto!important;
}
body.cn-login-space-v3>.auth-novo {
  margin-left:auto!important;
  margin-right:auto!important;
}
