/* Only bridge glue. Do not replace production UI styles. */
#map.rn-native-map {overflow:hidden;}
#map.rn-native-map .rn-native-overlay-pane {position:absolute;inset:0;pointer-events:none;z-index:5;}
/* Compatibility overlay is visual only: Leaflet's full-screen helper panes are NOT
 * mouse/touch targets. All real markers, paths and popups use MapLibre's layers. */
#map.rn-native-map .rn-native-overlay-pane,
#map.rn-native-map .rn-native-overlay-pane > *,
#map.rn-native-map .rn-native-overlay-pane .leaflet-pane,
#map.rn-native-map .rn-native-overlay-pane .rn-native-svg-renderer {
  pointer-events:none !important;
}
/* MapLibre, not the page scroll or legacy overlay, owns gestures on the canvas. */
#map.rn-native-map .maplibregl-canvas-container,
#map.rn-native-map .maplibregl-canvas {touch-action:none;}
#map.rn-native-map .maplibregl-popup.rn-native-popup {z-index:999;}
#map.rn-native-map .rn-native-popup .maplibregl-popup-content {background:#071626;color:#d7eaff;border:1px solid rgba(111,167,217,.33);border-radius:10px;box-shadow:0 15px 36px rgba(0,0,0,.4);padding:12px;}
#map.rn-native-map .rn-native-popup .maplibregl-popup-close-button {color:#d7eaff;font-size:19px;}
#map.rn-native-map .maplibregl-marker {cursor:pointer;}

/* Production aircraft dock takes over the content of this transient MapLibre popup. */
#map.rn-native-map .maplibregl-popup.rn-aircraft-popup-proxy {
  opacity:0 !important;
  pointer-events:none !important;
}
/* User-approved: no screen-fixed Tactical Blue radial glow. */
#map.rn-map-theme-tactical-blue::before { display:none !important; }

/* RC1.11: one atomic reveal of the *native* canvas + native HTML markers.
   The production boot CSS only hid Leaflet's marker pane. That pane does not
   exist in Direct MapLibre: previously orange drones appeared on empty navy
   for several seconds while the basemap was still hidden. Do not hide controls,
   banners, alert cards or the map loading progress UI. */
html.rn-map-theme-resolving #map.rn-native-map .maplibregl-marker,
html.rn-pretheme-tactical-blue #map.rn-native-map .maplibregl-marker,
html.rn-tactical-resume-pending #map.rn-native-map .maplibregl-marker,
#map.rn-native-map.rn-tactical-resume-pending .maplibregl-marker {
  opacity: 0 !important;
}
