/* Batch25 10–11: a visible but quiet viewport background, below every reading
   surface. Repair the retained field, never add a second particle system. */
@layer ar-color-preferences {
 @media screen and (forced-colors:none) and (prefers-contrast:no-preference) {
  html:not([data-ar-theme="simple"]) body:not(.ar-simple):not(.ar-cyber) {isolation:isolate!important;}
  html:not([data-ar-theme="simple"]) body:not(.ar-simple):not(.ar-cyber) > #ar-explorer-ambient[data-ar-dust-base-r15="natural"] {
   position:fixed!important;inset:0!important;width:auto!important;height:auto!important;
   z-index:-1!important;opacity:1!important;isolation:isolate;overflow:hidden!important;
   pointer-events:none!important;background:none!important;filter:none!important;
   --ar-atmosphere-dust-r25:181,149,103;--ar-atmosphere-mist-r25:125,102,74;
  }
  html body.ar-monochrome:not(.ar-cyber) > #ar-explorer-ambient[data-ar-dust-base-r15="natural"] {--ar-atmosphere-dust-r25:165,155,134;--ar-atmosphere-mist-r25:116,108,94;}
  html body[data-ar-atmosphere-r25="true"]:not(.ar-simple):not(.ar-cyber) > #ar-explorer-ambient[data-ar-dust-base-r15="natural"][data-ar-dust-running-r15="true"] {display:block!important;}
  html body[data-ar-atmosphere-r25="true"]:not(.ar-simple):not(.ar-cyber) > #ar-explorer-ambient[data-ar-dust-base-r15="natural"] > .ar-dust-mote-r15 {
   width:calc(var(--dust-size) + .65px)!important;height:calc(var(--dust-size) + .65px)!important;
   background:radial-gradient(circle,rgba(var(--ar-atmosphere-dust-r25),.94) 0 32%,rgba(var(--ar-atmosphere-dust-r25),.34) 51%,transparent 76%)!important;
   box-shadow:none!important;filter:none!important;
   animation:ar-visible-dust-r25 var(--dust-time) ease-in-out var(--dust-delay) infinite!important;
  }
  html body[data-ar-atmosphere-r25="true"]:not(.ar-simple):not(.ar-cyber) > #ar-explorer-ambient[data-ar-dust-base-r15="natural"][data-ar-dust-running-r15="true"]::before,
  html body[data-ar-atmosphere-r25="true"]:not(.ar-simple):not(.ar-cyber) > #ar-explorer-ambient[data-ar-dust-base-r15="natural"][data-ar-dust-running-r15="true"]::after {
   content:""!important;display:block!important;position:absolute;pointer-events:none;
   width:min(72vw,1000px);height:min(78vh,750px);border:0;border-radius:0;
   background:radial-gradient(ellipse at 40% 55%,rgba(var(--ar-atmosphere-mist-r25),.14),rgba(var(--ar-atmosphere-mist-r25),.055) 31%,transparent 69%)!important;
   opacity:.66;filter:none!important;mix-blend-mode:normal;
   animation:ar-quiet-mist-r25 57s ease-in-out -19s infinite alternate!important;
  }
  html body[data-ar-atmosphere-r25="true"]:not(.ar-simple):not(.ar-cyber) > #ar-explorer-ambient[data-ar-dust-base-r15="natural"][data-ar-dust-running-r15="true"]::before {left:-22vw;top:12vh;}
  html body[data-ar-atmosphere-r25="true"]:not(.ar-simple):not(.ar-cyber) > #ar-explorer-ambient[data-ar-dust-base-r15="natural"][data-ar-dust-running-r15="true"]::after {
   left:auto;right:-29vw;top:auto;bottom:-6vh;width:min(77vw,1070px);height:min(71vh,690px);
   animation-duration:73s!important;animation-delay:-41s!important;animation-direction:alternate-reverse!important;
  }
  /* Grim previously repainted structural wrappers, unlike Default. Keep the
     approved black reading lane and let only empty space reveal the backdrop. */
  html:not([data-ar-theme="simple"]) body.ar-monochrome:not(.ar-cyber):not([data-reading-contrast="high"]) #ar-embed-scroll,
  html:not([data-ar-theme="simple"]) body.ar-monochrome:not(.ar-cyber):not([data-reading-contrast="high"]) #ar-embed-scroll > .app-shell {background:transparent!important;}
 }
 /* State gates apply before async callbacks and keep effects out of other modes. */
 html body[data-ar-atmosphere-r25="false"]:not(.ar-cyber) > #ar-explorer-ambient,
 html:not([data-ar-theme="cyber"])[data-reading-sprites="off"] body > #ar-explorer-ambient {display:none!important;}
 html body[data-ar-atmosphere-r25="false"]:not(.ar-cyber) > #ar-explorer-ambient *,
 html body[data-ar-atmosphere-r25="false"]:not(.ar-cyber) > #ar-explorer-ambient::before,
 html body[data-ar-atmosphere-r25="false"]:not(.ar-cyber) > #ar-explorer-ambient::after {animation:none!important;}
}
/* Use the measured fit, independent of r24's too-small gutter. The watermark
   sits behind opaque panels when no outside margin exists, not half offscreen. */
@media screen and (forced-colors:none) and (prefers-contrast:no-preference) {
 html body:not(.ar-simple):not(.ar-cyber):not(.ar-ambient-active) #ar-explorer-engraved-sigil[data-ar-sigil-fit-r25] {
  left:var(--ar-sigil-center-x-r25)!important;top:var(--ar-sigil-center-y-r25)!important;
  width:var(--ar-sigil-size-r25)!important;max-width:calc(100vw - 32px)!important;
  transform:translate(-50%,-50%)!important;opacity:.071!important;
 }
 html body #ar-explorer-engraved-sigil[data-ar-sigil-fit-r25="false"] {visibility:hidden!important;}
 html body[data-ar-atmosphere-r25="true"]:not(.ar-simple):not(.ar-cyber) #ar-explorer-engraved-sigil .ar-sigil-light-r24 {display:block!important;}
 html body[data-ar-atmosphere-r25="false"]:not(.ar-cyber) #ar-explorer-engraved-sigil .ar-sigil-light-r24 {display:none!important;}
}
@keyframes ar-visible-dust-r25 {
 0%,100% {transform:translate3d(0,0,0);opacity:0.146}
 27% {opacity:0.305}
 54% {transform:translate3d(var(--dust-mid-x),var(--dust-mid-y),0);opacity:0.573}
 83% {transform:translate3d(var(--dust-end-x),var(--dust-end-y),0);opacity:0.293}
}
@keyframes ar-quiet-mist-r25 {
 from {transform:translate3d(-14px,11px,0) scale(.97);opacity:.58}
 to {transform:translate3d(32px,-19px,0) scale(1.05);opacity:.82}
}
@media(max-width:900px) {
 @layer ar-color-preferences {
  html body[data-ar-atmosphere-r25="true"]:not(.ar-simple):not(.ar-cyber) > #ar-explorer-ambient[data-ar-dust-base-r15="natural"] > .ar-dust-mote-r15:nth-child(n+11) {display:none!important;}
 }
}
@media(prefers-reduced-motion:reduce),(prefers-contrast:more),(forced-colors:active),print {
 @layer ar-color-preferences {
  html body:not(.ar-cyber) > #ar-explorer-ambient {display:none!important;}
  html body:not(.ar-cyber) > #ar-explorer-ambient *,html body:not(.ar-cyber) > #ar-explorer-ambient::before,html body:not(.ar-cyber) > #ar-explorer-ambient::after {animation:none!important;}
 }
 html body:not(.ar-cyber) #ar-explorer-engraved-sigil .ar-sigil-light-r24 {display:none!important;animation:none!important;}
}
