/* Explore's header and lower instruments share one safe-area column. Keep
   Home and Memories untouched, and preserve their existing visibility rules. */
html body main.app-shell section.map-stage.map-focus #appTopbar.topbar {
  --topbar-rail-width: var(--mymappi-explore-instrument-width);
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  left: 0 !important;
  right: 0 !important;
  margin-inline: 0 !important;
  padding-left: var(--mymappi-explore-left-edge) !important;
  padding-right: var(--mymappi-explore-right-edge) !important;
}
html body main.app-shell section.map-stage.map-focus #appTopbar.topbar > :is(.topbar-left, .topbar-actions) {
  width: var(--mymappi-explore-instrument-width) !important;
  min-width: var(--mymappi-explore-instrument-width) !important;
  max-width: var(--mymappi-explore-instrument-width) !important;
  margin-inline: 0 !important;
}
/* Unequal notch insets move the grid's midpoint. Keep the wordmark on the
   screen center while the corner controls respect their own safe edges. */
html body main.app-shell section.map-stage.map-focus #appTopbar.topbar > #brandHomeButton {
  transform: translateX(calc((var(--mymappi-explore-right-edge) - var(--mymappi-explore-left-edge)) / 2)) !important;
}
