/* BibliaREM Harta 3D — H2R2 modal interaction shield.
   Interaction-only override: no desktop/mobile geometry changes. */

/* The map UI contains a few legacy overlays at very high z-index values.
   Inspectors must be the authoritative top interaction layer while open. */
.tribes3d-inspector,
.moedim3d-inspector{
  z-index:2147483647!important;
  pointer-events:auto!important;
  isolation:isolate!important;
}
.tribes3d-inspector-backdrop,
.moedim3d-inspector-backdrop{
  z-index:0!important;
  pointer-events:auto!important;
}
.tribes3d-inspector-dialog,
.moedim3d-inspector-dialog{
  z-index:1!important;
  pointer-events:auto!important;
}

/* Hard pointer shield. The inspector nodes are direct children of body;
   while one is open nothing visually behind it can become a pointer target. */
body.tribes3d-inspector-open > *:not(.tribes3d-inspector):not(script):not(style):not(link),
body.moedim3d-inspector-open > *:not(.moedim3d-inspector):not(script):not(style):not(link){
  pointer-events:none!important;
}
body.tribes3d-inspector-open > .tribes3d-inspector,
body.moedim3d-inspector-open > .moedim3d-inspector{
  pointer-events:auto!important;
}
