#d4-native-follow-map {
  position: absolute;
  inset: 0;
  z-index: 650;
  display: none;
  background: #071722;
}

body.d4-native-follow-active #d4-native-follow-map { display: block; }
body.d4-native-follow-active #map > .leaflet-map-pane,
body.d4-native-follow-active #map > .leaflet-control-container .leaflet-control-attribution {
  visibility: hidden;
}

#d4-native-follow-map .maplibregl-canvas { outline: none; }
#d4-native-follow-map .maplibregl-control-container { display: none; }
#d4-native-follow-map .maplibregl-popup { z-index: 1700; }
#d4-native-follow-map .maplibregl-popup-content {
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  padding: 14px 16px;
}
body[data-theme="night"] #d4-native-follow-map .maplibregl-popup-content {
  background: #0c2a36;
  color: #eefaff;
  border: 1px solid #2d6478;
}
body[data-theme="night"] #d4-native-follow-map .maplibregl-popup-tip { border-top-color: #0c2a36; }

.d4-follow-truck {
  width: 40px;
  height: 60px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.65));
  pointer-events: auto;
  cursor: pointer;
  user-select: none;
}
