/* ============================================================
   Refonte : carte des nœuds en fond d'écran plein cadre. Le reste de
   l'habillage (titre, fenêtres déplaçables, boutons fixes) vit dans
   windows.css, chargé juste après ce fichier.
   ============================================================ */

html, body {
  height: 100%;
  margin: 0;
  overflow: hidden; /* le défilement se fait dans les fenêtres */
}

/* carte 3D en fond d'écran */
#mini-graph {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  z-index: 0;
}

/* UI de recherche (vit dans la lightbox recherche, cf. windows.css) */
#map-search {
  width: 100%;
  box-sizing: border-box;
  background: #0a0a0a;
  border: 1px solid #333;
  color: #f8f8f2;
  padding: 5px 10px;
  font-family: inherit;
  font-size: 12px;
  margin-bottom: 4px;
  outline: none;
}
#map-search:focus { border-color: #a6e22e; }

#map-search-info {
  font-size: 11px;
  color: #555;
  min-height: 13px;
  margin-bottom: 4px;
}
#map-results {
  display: none;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
  max-height: 320px;
  overflow-y: auto;
}
#map-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-bottom: 6px;
}

/* neutralise l'ancien système de grille flottant (préfixes sm-, md-, lg-)
   à l'intérieur du contenu de page : tout s'empile en colonne unique */
#overlay-content .container {
  float: none !important;
  width: 100% !important;
  display: block !important;
}
#overlay-content .sm-only { display: none !important; }
