/* Style B: an optical projection stage. All visual changes are opt-in.
   The canvas owns the moving light field; geometry, icons and feature art stay in A. */
body[data-stage-style="b"] main {
  background: radial-gradient(ellipse at 50% 39%,#133d6152,transparent 61%),radial-gradient(ellipse at 50% 69%,#0a416e30,transparent 58%),#071421;
}
body[data-stage-style="b"] .stage-atmosphere { position:absolute;inset:0;z-index:1;overflow:visible;pointer-events:none; }
body[data-stage-style="b"] .stage-atmosphere[hidden] { display:none; }
body[data-stage-style="b"] .stage-particle-field { position:absolute;inset:0;width:1100px;height:760px;opacity:1;pointer-events:none; }
body[data-stage-style="b"] .stage-aura {
  position:absolute;left:60px;top:-25px;width:980px;height:740px;
  background:radial-gradient(ellipse at 30% 49%,#356bed26,transparent 43%),radial-gradient(ellipse at 72% 46%,#1ce7e425,transparent 44%),radial-gradient(ellipse at 50% 76%,rgba(var(--spot-tone),.19),transparent 43%);
  filter:blur(27px);pointer-events:none;
}
/* Replace the room light with the coherent projection field. */
body[data-stage-style="b"] .spot-left,
body[data-stage-style="b"] .spot-pool,
body[data-stage-style="b"] .uplights,
body[data-stage-style="b"] .particles { opacity:0; }
body[data-stage-style="b"] .orbit {
  background:radial-gradient(ellipse at 50% 19%,#2b778d6e 0,#183f653b 38%,transparent 69%),linear-gradient(180deg,#102f46 0,#092033 55%,#0c354b 100%);
  box-shadow:0 7px 0 #183f56,0 10px 0 #84d4e778,0 18px 0 #0b2439,0 23px 0 #071a2c,0 25px 0 #527bd999,0 29px 17px -6px #29baf962,0 46px 41px -16px #000c;
}
body[data-stage-style="b"] .ring-a { border:2px solid #8acee877;box-shadow:inset 0 -13px 29px #76def016; }
body[data-stage-style="b"] .ring-a::after { border-width:2.5px;border-color:#b1edfab3;opacity:.86; }
body[data-stage-style="b"] .orbit::after,
body[data-stage-style="b"] .orbit-ticks { display:none; }
body[data-stage-style="b"] .floor {
  left:-120px;top:562px;width:1340px;height:278px;
  background:radial-gradient(ellipse at 50% 32%,#329fca32,transparent 56%),radial-gradient(ellipse at 50% 51%,#000b 8%,#020b164d 46%,transparent 72%);
}
/* Preserve A's full soft focus mask: rear icons and floor light stay behind the feature. */
body[data-stage-style="b"] .satellite.selected,
body[data-stage-style="b"] .satellite.selected[data-feature="molecules"] {
  border-color:rgba(var(--card-tone),.9);background:linear-gradient(145deg,#385d72,#173248 75%);
  box-shadow:0 13px 22px -5px #000a,inset 0 1px 0 #eeffff66,inset 0 -11px 20px rgba(var(--card-tone),.04),0 0 23px rgba(var(--card-tone),.2);
}
body[data-stage-style="b"] .focus-caption .feature-number { color:#8bc6db; }
@media(max-width:650px) {
  body[data-stage-style="b"] .stage-aura { filter:blur(19px); }
  body[data-stage-style="b"] .ring-a::after { border-width:3px; }
}
/* Canvas motion cancels its RAF while paused, reduced-motion, Style A, document-hidden
   or offscreen. No CSS animation keeps running behind the stopped scene. */

/* Separate rear-card visibility from the projection light field. */
body[data-stage-style="b"] .satellite { opacity:var(--stage-visibility,1)!important; }
body[data-stage-style="b"] .exhibit::before {
 inset:2% 10% 9%;background:radial-gradient(ellipse at 50% 43%,#071421e0 9%,#071421bd 32%,#07142147 54%,transparent 74%);filter:blur(24px);
}
body[data-stage-style="b"] [data-scene="knowledge"] .holo-object text {paint-order:stroke fill;stroke:#071421;stroke-width:2px;stroke-linejoin:round;}
