/* LUAMA homepage / Stardust II integration.
 * Additive to the existing Spatial Scrollworld camera, scene and feather layers.
 * No layout replacement and no pointer capture. */
#luama-scrollworld #luama-scene{isolation:isolate}
#luama-scrollworld #luama-scene>.starfield-canvas{
  position:absolute!important;
  inset:0;
  z-index:1;
  display:block;
  width:100%;
  height:100%;
  opacity:.77;
  mix-blend-mode:screen;
  pointer-events:none!important;
  touch-action:none;
  filter:saturate(1.07);
}
#luama-scrollworld #luama-spatial-canvas{position:relative;z-index:0}
#luama-scrollworld .luama-control-dock{z-index:5;flex-wrap:wrap;justify-content:flex-end;max-width:min(620px,calc(100% - 32px))}
#luama-scrollworld #home-stardust-toggle{
  border-color:rgba(157,235,227,.65);
  color:#d9fcf5;
  background:rgba(8,32,47,.86);
  white-space:nowrap;
  min-height:40px;
}
#luama-scrollworld #home-stardust-toggle[aria-pressed="false"]{
  border-color:rgba(138,154,172,.48);
  color:#9fb1c0;
  background:rgba(8,22,36,.89);
}
#luama-scrollworld #home-stardust-toggle:hover,
#luama-scrollworld #home-stardust-toggle:focus-visible{
  border-color:#fbd1a2;
  color:#fff8e8;
}
#luama-scrollworld .luama-beat{z-index:2}
#luama-scrollworld .luama-scroll-index{z-index:4}
#luama-scrollworld .scene-progress{z-index:4}
@media(max-width:750px){
  #luama-scrollworld #luama-scene>.starfield-canvas{opacity:.56;filter:none}
  #luama-scrollworld .luama-control-dock{gap:7px;bottom:18px}
  #luama-scrollworld .luama-control-dock button{font-size:9px;padding:9px 11px;min-height:36px}
  #luama-scrollworld #home-stardust-toggle{min-height:36px}
}
@media(max-width:390px){
  #luama-scrollworld .luama-control-dock{max-width:calc(100% - 25px);right:12px}
  #luama-scrollworld .luama-control-dock button{font-size:9px;letter-spacing:0;padding:8px 9px}
}
@media(prefers-reduced-motion:reduce){
  #luama-scrollworld #luama-scene>.starfield-canvas{opacity:.58;mix-blend-mode:normal}
}