/* The scene owns a real mobile row immediately after its text. */
@media(max-width:900px){
  body.spatial-flow .spatial-shell,
  body.spatial-flow[data-view=systeme] .spatial-shell{
    position:relative;inset:auto;order:1;flex:0 0 var(--mobile-scene-height);
    width:calc(100% + 2 * var(--gutter));height:var(--mobile-scene-height);
    min-height:0;max-height:none;margin:16px calc(-1 * var(--gutter));
    pointer-events:auto;
  }
  body.spatial-flow :is(.panel-raum,.panel-systeme)::after{display:none}
  /* The garage remains a fixed backdrop; retain its previous flow reservation. */
  body.spatial-flow[data-garage-active=true] .spatial-shell{
    position:fixed;inset:var(--header,86px) 0 calc(120px + env(safe-area-inset-bottom,0px));
    width:auto;height:auto;min-height:0;max-height:none;margin:0;flex:none;
  }
  body.spatial-flow[data-garage-active=true] .panel-raum::after{
    display:block;order:1;height:calc(var(--mobile-scene-height) + 32px);flex:0 0 auto;
  }
}
