/* NewPolygon — correctifs d'affichage (2026-11-30). Retirer la ligne <link> dans index.html pour annuler. */

/* Lien "Traduction" Google Translate et barre Google injectée */
.goog-te-gadget, .google-native-widget, .skiptranslate iframe, .VIpgJd-ZVi9od-ORHb-OEVmcd { display: none !important; }
body { top: 0 !important; }

/* Deux boutons de contact superposés en bas à droite : on garde le chat */
button.contact-help { display: none !important; }

@media (max-width: 767px) {
  /* En-tête compact : logo + langue + bouton sur une ligne, menu sur une ligne défilante */
  header.v2-head { padding: 14px 16px 10px !important; gap: 10px !important; align-items: center !important; }
  header.v2-head > a.pp-lift { order: 1; flex: 1 1 0 !important; min-width: 0; }
  header.v2-head > a.pp-lift span { font-size: 17px; }
  header.v2-head > div.pp-settle { order: 2; flex: 0 0 auto !important; flex-wrap: nowrap !important; align-items: center; gap: 6px !important; width: auto !important; margin: 0 !important; }
  header.v2-head > nav.pp-settle {
    order: 3; flex: 1 1 100% !important; width: 100% !important;
    overflow-x: auto; flex-wrap: nowrap !important; gap: 2px !important;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 -4px;
  }
  header.v2-head > nav.pp-settle::-webkit-scrollbar { display: none; }
  header.v2-head > nav.pp-settle a.pp-navlink { padding: 6px 10px !important; font-size: 14px !important; white-space: nowrap; }
  header.v2-head details.google-language { width: auto !important; }
  header.v2-head details.google-language > summary { padding: 7px 8px !important; min-height: 0 !important; height: auto !important; gap: 4px !important; }
  header.v2-head details.google-language > summary > svg:last-child { display: none; }
  header.v2-head a.pp-btn { padding: 9px 12px !important; font-size: 13px !important; line-height: 1.2 !important; height: auto !important; min-height: 0 !important; white-space: nowrap; }
  header.v2-head a.pp-btn svg { display: none; }
  header.v2-head > div.pp-settle > * + * { margin-left: 4px !important; }

  /* Sélecteur clair/sombre masqué sur mobile (il recouvrait le contenu) */
  .theme-switch { display: none !important; }
}
