/* INNI v27: backend served full-screen video and floating 36-ellipse geometry.
   The geometry tracks the bright sphere in the video's FINAL frame; the
   authentication form remains intact and its submit button is blank #007042. */
#alphaAuth.alpha-auth > video#inniLoginOrbV22,
#alphaAuth.alpha-auth.inni-orb-video-ended-v22 > video#inniLoginOrbV22,
#alphaAuth.alpha-auth.inni-orb-video-ended-v23 > video#inniLoginOrbV22 {
  position:fixed !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  min-width:100% !important;
  min-height:100% !important;
  display:block !important;
  object-fit:cover !important;
  object-position:center center !important;
  z-index:0 !important;
  visibility:visible !important;
  opacity:1 !important;
  pointer-events:none !important;
  transition:none !important;
  background:#02040a !important;
}
#alphaAuth.alpha-auth > .inni-login-orb-still-v22 {
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}
#alphaAuth.alpha-auth::before {z-index:1 !important;pointer-events:none !important;}
#alphaAuth.alpha-auth .alpha-login-card {
  position:fixed !important;
  left:var(--inni-v27-sphere-cx, 50vw) !important;
  top:var(--inni-v27-sphere-cy, 42vh) !important;
  transform:translate(-50%,-50%) !important;
  width:var(--inni-v27-sphere-d, 360px) !important;
  height:var(--inni-v27-sphere-d, 360px) !important;
  max-width:none !important;
  max-height:none !important;
  min-width:0 !important;
  min-height:0 !important;
  aspect-ratio:1 / 1 !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  background-image:none !important;
  box-shadow:none !important;
  overflow:visible !important;
  isolation:auto !important;
  z-index:3 !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:clamp(7px, 1.5vmin, 13px) !important;
}
#alphaAuth.alpha-auth .alpha-login-card > .inni-login-geometry-v27 {
  position:absolute !important;
  width:100% !important;
  height:100% !important;
  inset:0 !important;
  display:block !important;
  object-fit:contain !important;
  opacity:1 !important;
  pointer-events:none !important;
  z-index:0 !important;
  user-select:none !important;
  /* All 36 ellipses and the 3 diameters are solid black, as in the reference. */
  filter:none !important;
}
#alphaAuth.alpha-auth .alpha-login-card input:is(#alphaUsername,#alphaPassword),
#alphaAuth.alpha-auth .alpha-login-card > #alphaLoginButton {
  position:relative !important;
  z-index:1 !important;
  box-sizing:border-box !important;
  width:69% !important;
  max-width:300px !important;
  min-width:0 !important;
  margin-left:0 !important;
  margin-right:0 !important;
  flex:0 0 auto !important;
}
#alphaAuth.alpha-auth .alpha-login-card input:is(#alphaUsername,#alphaPassword) {
  background-color:rgba(255,255,255,.95) !important;
  color:#14352c !important;
  -webkit-text-fill-color:#14352c !important;
  border-color:rgba(4,77,48,.50) !important;
  box-shadow:0 1px 11px rgba(0,0,0,.26) !important;
}
#alphaAuth.alpha-auth .alpha-login-card > #alphaLoginButton,
#alphaAuth.alpha-auth .alpha-login-card > #alphaLoginButton:hover,
#alphaAuth.alpha-auth .alpha-login-card > #alphaLoginButton:active {
  background:#007042 !important;
  background-image:none !important;
  background-color:#007042 !important;
  border-color:#007042 !important;
  border-radius:0 !important;
  color:transparent !important;
  -webkit-text-fill-color:transparent !important;
  text-shadow:none !important;
  box-shadow:0 1px 10px rgba(0,0,0,.24) !important;
  margin-top:3px !important;
}
#alphaAuth.alpha-auth .alpha-login-card #alphaLoginError {position:relative !important;z-index:2 !important;}
#alphaAuth.alpha-auth > .inni-login-header {z-index:4 !important;}
@media(max-height:560px) {
  #alphaAuth.alpha-auth .alpha-login-card {gap:5px !important;}
  #alphaAuth.alpha-auth .alpha-login-card input:is(#alphaUsername,#alphaPassword) {height:30px !important;padding:5px 8px !important;font-size:11px !important;}
  #alphaAuth.alpha-auth .alpha-login-card > #alphaLoginButton {min-height:31px !important;padding:0 !important;margin-top:0 !important;}
}

/* Guest navigation displays only the public INNI DeepHub identity. */
body:has(#alphaAuth:not([hidden])) #alphaApplication {display:none !important;}
#alphaAuth.alpha-auth > .inni-v27-auth-header {
  position:fixed !important;top:0 !important;left:0 !important;right:0 !important;
  height:54px !important;display:flex !important;align-items:center !important;
  gap:9px !important;padding:0 28px !important;box-sizing:border-box !important;
  z-index:5 !important;background:rgba(3,43,38,.93) !important;
  color:#f1fff9 !important;font-family:Optima,'Optima Nova','Palatino Linotype',Palatino,Georgia,serif !important;
  font-size:20px !important;white-space:nowrap !important;
}
#alphaAuth.alpha-auth > .inni-v27-auth-header .inni-v27-logo-i{font-weight:900 !important;}
#alphaAuth.alpha-auth > .inni-v27-auth-header .inni-v27-logo-n{font-weight:700 !important;}
#alphaAuth.alpha-auth > .inni-v27-auth-header .inni-v27-brand-name{font-size:17px !important;font-weight:500 !important;}
#alphaAuth.alpha-auth > .inni-v27-auth-header sup{font-size:9px;top:-.3em;position:relative;}

/* V27: aggressively override every earlier video-opacity and circular-card rule. */
#alphaAuth.alpha-auth:not([hidden]) > video#inniLoginOrbV22,
#alphaAuth.alpha-auth.inni-orb-video-ended-v22 > video#inniLoginOrbV22,
#alphaAuth.alpha-auth.inni-orb-video-ended-v23 > video#inniLoginOrbV22 {
 opacity:1 !important; visibility:visible !important; display:block !important;
 z-index:0 !important; content-visibility:visible !important;
}
#alphaAuth.alpha-auth .alpha-login-card > .inni-login-geometry-v27 {
 filter:none !important; opacity:1 !important;
}
/* A reused v26 guest header or freshly added v27 header is the only guest navigation. */
#alphaAuth.alpha-auth > .inni-v27-auth-header {
 position:fixed !important;top:0 !important;left:0 !important;right:0 !important;
 height:54px !important;display:flex !important;align-items:center !important;
 gap:9px !important;padding:0 28px !important;box-sizing:border-box !important;
 z-index:5 !important;background:rgba(3,43,38,.93) !important;
 color:#f1fff9 !important;font-family:Optima,'Optima Nova','Palatino Linotype',Palatino,Georgia,serif !important;
 font-size:20px !important;white-space:nowrap !important;
}
#alphaAuth.alpha-auth > .inni-v27-auth-header .inni-v27-logo-i{font-weight:900 !important;}
#alphaAuth.alpha-auth > .inni-v27-auth-header .inni-v27-logo-n{font-weight:700 !important;}
#alphaAuth.alpha-auth > .inni-v27-auth-header .inni-v27-brand-name{font-size:17px !important;font-weight:500 !important;}
#alphaAuth.alpha-auth > .inni-v27-auth-header sup{font-size:9px;top:-.3em;position:relative;}

/* Preserve existing v26 guest header on direct v26 upgrades. */
#alphaAuth.alpha-auth > .inni-v26-auth-header {
  position:fixed !important;top:0 !important;left:0 !important;right:0 !important;
  height:54px !important;display:flex !important;align-items:center !important;
  gap:9px !important;padding:0 28px !important;box-sizing:border-box !important;
  z-index:5 !important;background:rgba(3,43,38,.93) !important;
  color:#f1fff9 !important;font-family:Optima,'Optima Nova','Palatino Linotype',Palatino,Georgia,serif !important;
  font-size:20px !important;white-space:nowrap !important;
}
#alphaAuth.alpha-auth > .inni-v26-auth-header .inni-v26-logo-i{font-weight:900 !important;}
#alphaAuth.alpha-auth > .inni-v26-auth-header .inni-v26-logo-n{font-weight:700 !important;}
#alphaAuth.alpha-auth > .inni-v26-auth-header .inni-v26-brand-name{font-size:17px !important;font-weight:500 !important;}
#alphaAuth.alpha-auth > .inni-v26-auth-header sup{font-size:9px;top:-.3em;position:relative;}

/* V27: aggressively override every earlier video-opacity and circular-card rule. */
#alphaAuth.alpha-auth:not([hidden]) > video#inniLoginOrbV22,
#alphaAuth.alpha-auth.inni-orb-video-ended-v22 > video#inniLoginOrbV22,
#alphaAuth.alpha-auth.inni-orb-video-ended-v23 > video#inniLoginOrbV22 {
 opacity:1 !important; visibility:visible !important; display:block !important;
 z-index:0 !important; content-visibility:visible !important;
}
#alphaAuth.alpha-auth .alpha-login-card > .inni-login-geometry-v27 {
 filter:none !important; opacity:1 !important;
}
/* A reused v26 guest header or freshly added v27 header is the only guest navigation. */
#alphaAuth.alpha-auth > .inni-v26-auth-header {
 position:fixed !important;top:0 !important;left:0 !important;right:0 !important;
 height:54px !important;display:flex !important;align-items:center !important;
 gap:9px !important;padding:0 28px !important;box-sizing:border-box !important;
 z-index:5 !important;background:rgba(3,43,38,.93) !important;
 color:#f1fff9 !important;font-family:Optima,'Optima Nova','Palatino Linotype',Palatino,Georgia,serif !important;
 font-size:20px !important;white-space:nowrap !important;
}
#alphaAuth.alpha-auth > .inni-v26-auth-header .inni-v26-logo-i{font-weight:900 !important;}
#alphaAuth.alpha-auth > .inni-v26-auth-header .inni-v26-logo-n{font-weight:700 !important;}
#alphaAuth.alpha-auth > .inni-v26-auth-header .inni-v26-brand-name{font-size:17px !important;font-weight:500 !important;}
#alphaAuth.alpha-auth > .inni-v26-auth-header sup{font-size:9px;top:-.3em;position:relative;}

/* Textured/login video button styles are superseded by a plain empty green button. */
#alphaAuth.alpha-auth .alpha-login-card #alphaLoginButton,
#alphaAuth.alpha-auth .alpha-login-card #alphaLoginButton:hover,
#alphaAuth.alpha-auth .alpha-login-card #alphaLoginButton:active {
 background:#007042 !important; background-image:none !important;
 color:transparent !important; -webkit-text-fill-color:transparent !important;
 border:1px solid #007042 !important;
}
