
/* ===============================================================
   AUTO DIAGNOSTIC — CINEMATIC LOGIN MODULE
   Isolated from auth logic. All FX are pointer-events:none.
   =============================================================== */

@keyframes cinOrbitA{
  from{transform:translate(-50%,-50%) rotateX(72deg) rotateZ(0deg)}
  to{transform:translate(-50%,-50%) rotateX(72deg) rotateZ(360deg)}
}
@keyframes cinOrbitB{
  from{transform:translate(-50%,-50%) rotateX(68deg) rotateZ(360deg) scale(.78)}
  to{transform:translate(-50%,-50%) rotateX(68deg) rotateZ(0deg) scale(.78)}
}
@keyframes cinOrbitC{
  0%,100%{transform:translate(-50%,-50%) rotateX(77deg) rotateZ(12deg) scale(.58);opacity:.32}
  50%{transform:translate(-50%,-50%) rotateX(77deg) rotateZ(192deg) scale(.62);opacity:.56}
}
@keyframes cinScanY{
  0%{top:10%;opacity:0}
  8%{opacity:.18}
  46%{opacity:.58}
  54%{opacity:.58}
  92%{opacity:.18}
  100%{top:89%;opacity:0}
}
@keyframes cinPylonPulse{
  0%,100%{filter:brightness(.85) drop-shadow(0 0 10px rgba(26,210,255,.16))}
  50%{filter:brightness(1.2) drop-shadow(0 0 26px rgba(26,210,255,.34))}
}
@keyframes cinCarFloat{
  0%,100%{transform:translate(-50%,-50%) translateY(0) scale(1)}
  50%{transform:translate(-50%,-50%) translateY(-9px) scale(1.01)}
}
@keyframes cinGhost{
  0%,100%{opacity:.10;transform:translate(-50%,-50%) translate(10px,10px) scale(1.012)}
  50%{opacity:.22;transform:translate(-50%,-50%) translate(-8px,-6px) scale(.997)}
}
@keyframes cinHudFloatL{
  0%,100%{transform:perspective(900px) rotateY(11deg) translateY(0)}
  50%{transform:perspective(900px) rotateY(11deg) translateY(-8px)}
}
@keyframes cinHudFloatR{
  0%,100%{transform:perspective(900px) rotateY(-11deg) translateY(0)}
  50%{transform:perspective(900px) rotateY(-11deg) translateY(8px)}
}
@keyframes cinGraph{
  0%,100%{transform:scaleY(.72);opacity:.54}
  50%{transform:scaleY(1);opacity:1}
}
@keyframes cinMeter{
  0%{width:42%}
  45%{width:84%}
  100%{width:68%}
}
@keyframes cinParticle{
  0%{transform:translateY(0) scale(.7);opacity:0}
  15%{opacity:.48}
  70%{opacity:.26}
  100%{transform:translateY(-120px) scale(1.15);opacity:0}
}
@keyframes cinCard{
  0%,100%{transform:perspective(1500px) translateZ(54px) rotateX(.25deg) rotateY(-.35deg)}
  50%{transform:perspective(1500px) translateZ(66px) rotateX(-.25deg) rotateY(.35deg)}
}
@keyframes cinTopLine{
  0%,100%{opacity:.55}
  50%{opacity:1}
}

/* Kill old pseudo FX so they don't fight the cinematic scene */
body:has(#authView:not(.hidden))::before,
body:has(#authView:not(.hidden))::after,
#authView.auth-shell::before,
#authView.auth-shell::after,
#authView .auth-brand::before,
#authView .auth-brand::after,
#authView .auth-topline::after,
#authView #authForm::before,
#authView #authForm::after{
  display:none!important;
  content:none!important;
}

/* Base auth scene */
#authView.auth-shell{
  min-height:100vh!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:108px 28px 56px!important;
  background:
    radial-gradient(circle at 50% 56%,rgba(0,145,255,.12),transparent 38%),
    linear-gradient(145deg,#01050c 0%,#061526 55%,#020811 100%)!important;
  overflow:hidden!important;
  perspective:1600px!important;
  isolation:isolate!important;
}

/* main FX root */
#loginCinematic{
  position:absolute;
  inset:0;
  overflow:hidden;
  pointer-events:none;
  z-index:1;
  transform-style:preserve-3d;
}
#loginCinematic *{box-sizing:border-box;pointer-events:none}

.cin-vignette{
  position:absolute;inset:0;
  background:
    radial-gradient(circle at 50% 55%,transparent 0 34%,rgba(0,5,12,.12) 58%,rgba(0,4,10,.68) 100%),
    linear-gradient(180deg,rgba(0,2,7,.68),transparent 16%,transparent 82%,rgba(0,2,7,.72));
  z-index:8;
}
.cin-floor{
  position:absolute;
  left:50%;
  bottom:-23vh;
  width:145vw;
  height:72vh;
  transform:translateX(-50%) perspective(900px) rotateX(67deg);
  transform-origin:center bottom;
  background:
    repeating-linear-gradient(90deg,rgba(70,207,255,.08) 0 1px,transparent 1px 88px),
    repeating-linear-gradient(0deg,rgba(70,207,255,.07) 0 1px,transparent 1px 72px),
    radial-gradient(ellipse at center,rgba(0,129,255,.14),rgba(0,45,95,.04) 46%,transparent 70%);
  border-top:1px solid rgba(84,225,255,.16);
  box-shadow:0 -28px 90px rgba(0,136,255,.08);
  z-index:0;
}

.cin-bay{position:absolute;inset:0;z-index:2;transform-style:preserve-3d}

/* diagnostic gantry */
.cin-gantry{
  position:absolute;
  left:50%;
  top:11%;
  width:min(1280px,82vw);
  height:84px;
  transform:translateX(-50%) perspective(1000px) rotateX(3deg);
  border-top:2px solid rgba(93,231,255,.42);
  border-left:1px solid rgba(72,189,255,.14);
  border-right:1px solid rgba(72,189,255,.14);
  border-radius:22px 22px 0 0;
  background:linear-gradient(180deg,rgba(17,61,89,.15),transparent 72%);
  box-shadow:0 -4px 26px rgba(0,184,255,.09),inset 0 1px 0 rgba(255,255,255,.025);
}
.cin-gantry::before,
.cin-gantry::after{
  content:"";
  position:absolute;
  top:0;width:18%;height:3px;
  background:linear-gradient(90deg,transparent,#36deff,transparent);
  box-shadow:0 0 18px rgba(44,219,255,.65);
  animation:cinTopLine 2.8s ease-in-out infinite;
}
.cin-gantry::before{left:8%}
.cin-gantry::after{right:8%;animation-delay:1.4s}
.gantry-node{
  position:absolute;top:-7px;width:12px;height:12px;border-radius:50%;
  border:1px solid rgba(153,248,255,.6);
  background:#0b88b7;
  box-shadow:0 0 16px rgba(43,225,255,.8);
}
.g1{left:12%}.g2{left:34%}.g3{right:34%}.g4{right:12%}
.gantry-label{
  position:absolute;top:17px;left:50%;transform:translateX(-50%);
  color:rgba(149,228,255,.62);
  font-size:9px;font-weight:800;letter-spacing:2.5px;white-space:nowrap;
}

/* scanner pylons */
.cin-pylon{
  position:absolute;
  top:21%;
  width:82px;
  height:58vh;
  min-height:430px;
  max-height:610px;
  border:1px solid rgba(71,204,255,.26);
  background:
    linear-gradient(90deg,rgba(4,16,28,.92),rgba(11,41,63,.48) 48%,rgba(3,13,25,.88)),
    linear-gradient(180deg,rgba(43,208,255,.10),transparent 18% 84%,rgba(47,89,255,.10));
  box-shadow:
    0 28px 60px rgba(0,0,0,.36),
    0 0 40px rgba(0,153,255,.08),
    inset 0 0 30px rgba(43,201,255,.035);
  animation:cinPylonPulse 4.6s ease-in-out infinite;
}
.cin-pylon-left{
  left:clamp(36px,7vw,140px);
  transform:perspective(1100px) rotateY(11deg);
  border-radius:14px 5px 5px 14px;
}
.cin-pylon-right{
  right:clamp(36px,7vw,140px);
  transform:perspective(1100px) rotateY(-11deg);
  border-radius:5px 14px 14px 5px;
  animation-delay:1.2s;
}
.pylon-head{
  height:54px;display:grid;place-items:center;
  color:#aff6ff;font-size:8px;font-weight:900;letter-spacing:2px;
  border-bottom:1px solid rgba(93,225,255,.15);
}
.pylon-lens{
  width:38px;height:38px;margin:20px auto 18px;border-radius:50%;
  border:1px solid rgba(159,249,255,.46);
  background:
    radial-gradient(circle,#b7fbff 0 6%,#36d9ff 7% 14%,rgba(0,164,255,.28) 15% 36%,rgba(0,45,80,.14) 38% 58%,transparent 60%);
  box-shadow:0 0 22px rgba(52,225,255,.38),inset 0 0 18px rgba(34,179,255,.28);
}
.pylon-slots{display:grid;gap:12px;padding:10px 16px}
.pylon-slots i{
  display:block;height:3px;border-radius:2px;
  background:linear-gradient(90deg,transparent,rgba(80,221,255,.58),transparent);
  box-shadow:0 0 8px rgba(52,199,255,.16);
}
.pylon-base{
  position:absolute;left:50%;bottom:-26px;width:118px;height:34px;
  transform:translateX(-50%) perspective(400px) rotateX(68deg);
  border:1px solid rgba(73,197,255,.20);
  background:rgba(5,29,48,.48);
  box-shadow:0 0 30px rgba(0,135,255,.10);
}

/* central hologram stage */
.cin-stage{
  position:absolute;
  left:50%;top:55%;
  width:min(1180px,72vw);
  height:min(570px,54vh);
  transform:translate(-50%,-50%);
  transform-style:preserve-3d;
  z-index:2;
}
.cin-stage-glow{
  position:absolute;left:50%;top:66%;width:74%;height:30%;
  transform:translate(-50%,-50%);
  border-radius:50%;
  background:radial-gradient(ellipse,rgba(0,182,255,.16),rgba(0,100,255,.055) 42%,transparent 70%);
  filter:blur(16px);
}
.cin-car{
  position:absolute;left:50%;top:48%;width:95%;height:84%;
  transform:translate(-50%,-50%);
  filter:drop-shadow(0 0 6px rgba(126,245,255,.26)) drop-shadow(0 0 24px rgba(0,156,255,.18));
  animation:cinCarFloat 6s ease-in-out infinite;
  z-index:4;
}
.cin-car svg{display:block;width:100%;height:100%}
.cin-car-ghost{
  opacity:.15;
  filter:blur(5px) drop-shadow(0 0 36px rgba(0,149,255,.32));
  background:
    linear-gradient(180deg,transparent 0 48%,rgba(38,202,255,.08) 49% 51%,transparent 52%);
  animation:cinGhost 4.8s ease-in-out infinite;
  z-index:3;
}
.cin-orbit{
  position:absolute;left:50%;top:72%;width:96%;height:55%;
  border-radius:50%;
  border:1px solid rgba(77,221,255,.22);
  box-shadow:0 0 35px rgba(0,155,255,.07),inset 0 0 25px rgba(0,155,255,.03);
  z-index:2;
}
.cin-orbit::before,.cin-orbit::after{
  content:"";position:absolute;border-radius:50%;background:#9ff7ff;
  box-shadow:0 0 16px rgba(89,231,255,.95);
}
.cin-orbit::before{width:6px;height:6px;left:11%;top:48%}
.cin-orbit::after{width:4px;height:4px;right:16%;top:32%}
.cin-orbit-1{animation:cinOrbitA 15s linear infinite}
.cin-orbit-2{width:84%;height:46%;animation:cinOrbitB 11s linear infinite;border-style:dashed;opacity:.7}
.cin-orbit-3{width:72%;height:39%;animation:cinOrbitC 7.5s linear infinite;opacity:.5}
.cin-orbit i,.cin-orbit b{
  position:absolute;display:block;height:1px;width:12%;top:50%;
  background:linear-gradient(90deg,transparent,#58dcff,transparent);
}
.cin-orbit i{left:2%}.cin-orbit b{right:2%}

/* scan plane sweeps through car vertically */
.cin-scan-plane{
  position:absolute;left:4%;right:4%;top:10%;height:62px;
  z-index:6;opacity:0;
  background:
    linear-gradient(180deg,transparent,rgba(50,208,255,.025) 22%,rgba(112,239,255,.24) 49%,rgba(219,255,255,.72) 50%,rgba(48,199,255,.18) 52%,transparent 78%);
  border-top:1px solid rgba(82,229,255,.15);
  border-bottom:1px solid rgba(82,229,255,.22);
  box-shadow:0 0 32px rgba(0,188,255,.12);
  animation:cinScanY 5.4s ease-in-out infinite;
}
.cin-scan-plane span{
  position:absolute;left:0;right:0;top:50%;height:2px;
  background:linear-gradient(90deg,transparent,#d2feff 16%,#46ddff 48%,#b3f9ff 82%,transparent);
  box-shadow:0 0 14px rgba(119,242,255,.65);
}
.cin-scan-dot{
  position:absolute;width:9px;height:9px;border-radius:50%;
  border:1px solid rgba(181,251,255,.72);background:#24cfff;
  box-shadow:0 0 16px rgba(71,225,255,.82);
  z-index:7;
}
.d1{left:25%;top:38%}.d2{left:47%;top:27%}.d3{right:24%;top:40%}.d4{right:34%;bottom:22%}

/* floating HUDs */
.cin-hud{
  position:absolute;width:240px;padding:16px 17px 14px;border-radius:12px;
  border:1px solid rgba(84,211,255,.22);
  background:linear-gradient(145deg,rgba(6,27,44,.78),rgba(3,14,26,.58));
  backdrop-filter:blur(14px) saturate(125%);
  box-shadow:0 20px 48px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.035),0 0 35px rgba(0,160,255,.055);
  z-index:7;color:#9feeff;
}
.cin-hud-left{left:clamp(126px,12vw,245px);top:34%;animation:cinHudFloatL 6.2s ease-in-out infinite}
.cin-hud-right{right:clamp(126px,12vw,245px);top:39%;animation:cinHudFloatR 6.8s ease-in-out infinite}
.hud-title{font-size:9px;font-weight:900;letter-spacing:1.8px;color:#d8fbff;margin-bottom:13px}
.hud-title span{display:inline-block;width:7px;height:7px;border-radius:50%;background:#49f0cf;box-shadow:0 0 12px #49f0cf;margin-right:7px}
.hud-row{display:flex;justify-content:space-between;gap:14px;margin:7px 0;font-size:8px;letter-spacing:1.2px}
.hud-row em{font-style:normal;color:#7196aa}
.hud-row strong{color:#a5efff}
.hud-graph{height:44px;display:flex;align-items:end;gap:4px;margin:13px 0 8px;padding-top:6px;border-top:1px solid rgba(108,204,238,.10)}
.hud-graph i{flex:1;display:block;min-height:4px;background:linear-gradient(#5cecff,#156aff);box-shadow:0 0 6px rgba(54,205,255,.14);transform-origin:bottom;animation:cinGraph 2.4s ease-in-out infinite}
.hud-graph i:nth-child(3n){animation-delay:.5s}.hud-graph i:nth-child(4n){animation-delay:1s}
.hud-meter{height:6px;border-radius:999px;background:#0b2237;margin:17px 0 10px;overflow:hidden}
.hud-meter b{display:block;height:100%;width:68%;border-radius:inherit;background:linear-gradient(90deg,#29dfff,#2e6bff);box-shadow:0 0 12px rgba(43,189,255,.25);animation:cinMeter 4s ease-in-out infinite}
.hud-foot{font-size:8px;letter-spacing:1.5px;color:#7697a8}
.cin-top-status{
  position:absolute;left:50%;top:16%;transform:translateX(-50%);
  display:flex;align-items:center;gap:10px;padding:8px 14px;border-radius:999px;
  border:1px solid rgba(91,216,255,.14);background:rgba(2,15,27,.54);backdrop-filter:blur(10px);
  color:#9bdff7;font-size:8px;letter-spacing:1.5px;z-index:7;
}
.cin-top-status b{font-size:8px;color:#d8fbff}.cin-top-status em{font-style:normal;color:#7da0b3}
.cin-top-status i{display:block;width:1px;height:12px;background:rgba(112,207,241,.22)}
.status-dot{width:7px;height:7px;border-radius:50%;background:#43e8bd;box-shadow:0 0 11px #43e8bd}

/* particles */
.cin-particles{position:absolute;inset:0;z-index:1}
.cin-particles i{
  position:absolute;left:var(--x);top:var(--y);width:var(--s);height:var(--s);border-radius:50%;
  background:#aaf8ff;box-shadow:0 0 10px rgba(100,234,255,.8);
  animation:cinParticle var(--d) linear infinite;
}

/* Brand and login stay crisp above FX */
#authView .auth-brand{
  position:absolute!important;top:24px!important;left:34px!important;
  width:clamp(360px,25vw,520px)!important;height:102px!important;
  z-index:12!important;
  filter:drop-shadow(0 14px 34px rgba(0,0,0,.42)) drop-shadow(0 0 18px rgba(0,162,255,.14))!important;
}
#authView .auth-card{
  position:relative!important;
  z-index:11!important;
  width:clamp(560px,35vw,700px)!important;
  max-width:calc(100vw - 44px)!important;
  padding:clamp(48px,3vw,64px) clamp(44px,3vw,62px) 38px!important;
  margin:0!important;
  border-radius:24px!important;
  border:1px solid rgba(111,220,255,.38)!important;
  background:
    linear-gradient(145deg,rgba(22,57,86,.30),rgba(4,16,30,.10) 28%,rgba(2,11,22,.89) 72%),
    radial-gradient(circle at 91% 3%,rgba(78,107,255,.14),transparent 29%),
    rgba(2,11,22,.88)!important;
  backdrop-filter:blur(24px) saturate(140%)!important;
  -webkit-backdrop-filter:blur(24px) saturate(140%)!important;
  box-shadow:
    0 54px 150px rgba(0,0,0,.66),
    0 18px 48px rgba(0,20,50,.42),
    0 0 95px rgba(0,153,255,.14),
    inset 0 1px 0 rgba(255,255,255,.055)!important;
  animation:cinCard 8s ease-in-out infinite!important;
  overflow:hidden!important;
}
#authView .auth-card::before{
  content:"●  SYSTEM ONLINE  //  SECURE WORKSHOP ACCESS"!important;
  display:block!important;position:absolute!important;top:19px!important;right:26px!important;
  color:#86e9ca!important;font-size:8px!important;font-weight:900!important;letter-spacing:1.7px!important;
}
#authView .auth-card::after{
  content:""!important;display:block!important;position:absolute!important;
  right:-95px!important;bottom:-115px!important;width:260px!important;height:260px!important;border-radius:50%!important;
  border:1px solid rgba(42,164,255,.13)!important;box-shadow:0 0 0 42px rgba(42,164,255,.02),0 0 0 84px rgba(42,164,255,.012)!important;
}
#authView .auth-topline{z-index:3!important}
#authView .auth-card h1{font-size:36px!important;letter-spacing:-1px!important}
#authView .auth-card>p{color:#92adbe!important}
#authView .auth-card input{height:56px!important;background:rgba(2,14,25,.90)!important;border-color:rgba(105,190,231,.28)!important}
#authView .auth-card input:focus{border-color:#28c7ff!important;box-shadow:0 0 0 3px rgba(40,199,255,.10),0 0 28px rgba(0,167,255,.10)!important}
#authView .auth-card .btn.primary{height:56px!important;background:linear-gradient(100deg,#08cde5,#0796ff 48%,#4152ff)!important;box-shadow:0 18px 42px rgba(0,126,255,.34)!important}
#authView .auth-card .btn.primary:hover{transform:translateY(-2px)!important;box-shadow:0 22px 50px rgba(0,140,255,.42)!important}

/* All cinematic objects must be inert */
#loginCinematic,
#loginCinematic *,
#authView .auth-brand,
#authView .auth-brand *,
#authView .auth-card::before,
#authView .auth-card::after{
  pointer-events:none!important;
}
#authView #authForm,
#authView #authForm *,
#authView .auth-card input,
#authView .auth-card button{
  pointer-events:auto!important;
}

/* Mobile/tablet */
@media(max-width:1180px){
  .cin-hud{display:none}
  .cin-pylon-left{left:24px}.cin-pylon-right{right:24px}
  .cin-stage{width:86vw}
}
@media(max-width:760px){
  #authView.auth-shell{padding:95px 12px 28px!important}
  .cin-gantry,.cin-pylon,.cin-orbit-2,.cin-orbit-3,.cin-top-status{display:none}
  .cin-stage{width:126vw;height:40vh;top:30%;opacity:.22}
  .cin-floor{opacity:.22}
  .cin-scan-plane{opacity:.22!important}
  .cin-particles{opacity:.45}
  #authView .auth-brand{top:15px!important;left:14px!important;width:310px!important;height:68px!important}
  #authView .auth-card{
    width:calc(100vw - 24px)!important;max-width:480px!important;padding:38px 24px 27px!important;border-radius:18px!important;
    animation:none!important;transform:none!important;
  }
  #authView .auth-card h1{font-size:30px!important}
}

/* AUTH CONTRACT — ALWAYS LAST */
#authView.hidden,
#authView.auth-shell.hidden,
#appView.hidden{
  display:none!important;
}

/* CINEMATIC V6.1 — BOOT SEQUENCE + SCANNER VOLUMES */
@keyframes cinDrawCar{
  0%{stroke-dashoffset:2600;opacity:.15;filter:drop-shadow(0 0 2px rgba(83,225,255,.12))}
  70%{opacity:1}
  100%{stroke-dashoffset:0;opacity:1;filter:drop-shadow(0 0 8px rgba(83,225,255,.32))}
}
@keyframes cinCarLinePulse{
  0%,100%{filter:drop-shadow(0 0 5px rgba(79,224,255,.20))}
  50%{filter:drop-shadow(0 0 14px rgba(79,224,255,.42))}
}
@keyframes cinBootLeft{
  from{opacity:0;transform:perspective(1100px) rotateY(11deg) translateX(-46px)}
  to{opacity:1;transform:perspective(1100px) rotateY(11deg) translateX(0)}
}
@keyframes cinBootRight{
  from{opacity:0;transform:perspective(1100px) rotateY(-11deg) translateX(46px)}
  to{opacity:1;transform:perspective(1100px) rotateY(-11deg) translateX(0)}
}
@keyframes cinBootHudL{
  from{opacity:0;transform:perspective(900px) rotateY(14deg) translateX(-28px)}
  to{opacity:1;transform:perspective(900px) rotateY(11deg) translateX(0)}
}
@keyframes cinBootHudR{
  from{opacity:0;transform:perspective(900px) rotateY(-14deg) translateX(28px)}
  to{opacity:1;transform:perspective(900px) rotateY(-11deg) translateX(0)}
}
@keyframes cinBeamPulse{
  0%,100%{opacity:.12;filter:brightness(.9)}
  50%{opacity:.28;filter:brightness(1.25)}
}
@keyframes cinLensPulse{
  0%,100%{transform:scale(.88);opacity:.55}
  50%{transform:scale(1.18);opacity:1}
}
@keyframes cinCardIn{
  from{opacity:0;transform:perspective(1500px) translateZ(0) scale(.94)}
  to{opacity:1;transform:perspective(1500px) translateZ(54px) scale(1)}
}

.cin-car .car-main{
  stroke-dasharray:2600;
  stroke-dashoffset:2600;
  animation:cinDrawCar 2.6s cubic-bezier(.2,.75,.25,1) .2s forwards,cinCarLinePulse 4.2s ease-in-out 3s infinite;
}
.cin-car svg > g:not(:first-of-type){
  opacity:0;
  animation:cinTopLine 1.1s ease-out 1.6s forwards;
}
.cin-pylon-left{
  animation:cinBootLeft .85s cubic-bezier(.18,.78,.26,1) .18s both,cinPylonPulse 4.6s ease-in-out 1.2s infinite!important;
}
.cin-pylon-right{
  animation:cinBootRight .85s cubic-bezier(.18,.78,.26,1) .30s both,cinPylonPulse 4.6s ease-in-out 1.4s infinite!important;
}
.cin-hud-left{
  animation:cinBootHudL .75s ease-out 1.15s both,cinHudFloatL 6.2s ease-in-out 2s infinite!important;
}
.cin-hud-right{
  animation:cinBootHudR .75s ease-out 1.30s both,cinHudFloatR 6.8s ease-in-out 2.1s infinite!important;
}
#authView .auth-card{
  animation:cinCardIn .72s cubic-bezier(.18,.8,.24,1) .28s both,cinCard 8s ease-in-out 1.2s infinite!important;
}

/* Real scanner volume cones from both pylons */
.cin-pylon::after{
  content:"";
  position:absolute;
  top:92px;
  height:52%;
  width:min(32vw,560px);
  pointer-events:none;
  mix-blend-mode:screen;
  filter:blur(.2px);
  animation:cinBeamPulse 3.2s ease-in-out infinite;
}
.cin-pylon-left::after{
  left:72px;
  clip-path:polygon(0 38%,100% 0,100% 100%,0 62%);
  background:linear-gradient(90deg,rgba(77,226,255,.15),rgba(24,157,255,.055) 42%,transparent 100%);
  border-left:1px solid rgba(121,243,255,.18);
}
.cin-pylon-right::after{
  right:72px;
  clip-path:polygon(0 0,100% 38%,100% 62%,0 100%);
  background:linear-gradient(270deg,rgba(94,131,255,.14),rgba(40,116,255,.05) 42%,transparent 100%);
  border-right:1px solid rgba(137,166,255,.16);
  animation-delay:1.1s;
}
.pylon-lens::after{
  content:"";
  position:absolute;
  width:52px;height:52px;border-radius:50%;
  border:1px solid rgba(118,244,255,.23);
  box-shadow:0 0 18px rgba(63,223,255,.24);
  animation:cinLensPulse 2.2s ease-in-out infinite;
}
.pylon-lens{position:relative;display:grid;place-items:center}

/* Make orbitals visibly read as 3D scanner rings */
.cin-orbit-1{
  border-color:rgba(89,232,255,.40)!important;
  box-shadow:0 0 44px rgba(0,185,255,.10),inset 0 0 32px rgba(0,185,255,.055)!important;
}
.cin-orbit-2{
  border-color:rgba(63,137,255,.34)!important;
  box-shadow:0 0 32px rgba(50,103,255,.08)!important;
}
.cin-orbit-3{
  border-color:rgba(133,242,255,.25)!important;
}
.cin-orbit::before,.cin-orbit::after{
  width:7px!important;height:7px!important;
}

/* Stronger physical scan plane */
.cin-scan-plane{
  height:88px!important;
  background:
    linear-gradient(180deg,transparent 0%,rgba(38,192,255,.025) 17%,rgba(75,222,255,.11) 44%,rgba(214,255,255,.72) 49.2%,rgba(98,235,255,.30) 50%,rgba(49,192,255,.08) 57%,transparent 83%)!important;
  box-shadow:0 0 38px rgba(0,196,255,.16),inset 0 0 38px rgba(50,213,255,.08)!important;
}

/* brighter garage floor under vehicle */
.cin-floor{
  opacity:.92;
  box-shadow:0 -32px 110px rgba(0,139,255,.11),inset 0 18px 60px rgba(0,104,255,.035)!important;
}

/* Keep mobile lighter */
@media(max-width:760px){
  .cin-pylon::after{display:none}
  .cin-car .car-main{animation:none;stroke-dashoffset:0}
  #authView .auth-card{animation:none!important}
}

/* AUTH CONTRACT — ALWAYS LAST */
#authView.hidden,
#authView.auth-shell.hidden,
#appView.hidden{display:none!important}

/* V6.2 VISIBILITY FIX — vignette must sit BEHIND scanner scene */
.cin-vignette{
  z-index:0!important;
  opacity:.62!important;
}
.cin-floor{z-index:1!important}
.cin-bay{z-index:3!important}
.cin-pylon,.cin-hud,.cin-stage,.cin-gantry,.cin-top-status{visibility:visible!important}
.cin-hud{opacity:1}
.cin-pylon{opacity:1}
.cin-car:not(.cin-car-ghost){opacity:1}
.cin-orbit-1{opacity:1}
.cin-orbit-2{opacity:.78}
.cin-orbit-3{opacity:.62}
/* AUTH CONTRACT */
#authView.hidden,#authView.auth-shell.hidden,#appView.hidden{display:none!important}

@media(max-width:760px){
  #authView .auth-card::before{display:none!important}
  .cin-scan-dot{display:none}
}
/* AUTH CONTRACT */
#authView.hidden,#authView.auth-shell.hidden,#appView.hidden{display:none!important}
