/* Externalise de la modification #56 le 23/08/2026 (G6M_EXTERNALISATION_V1016).
   Ce bloc etait inline dans PAGE_CONTAINER : il repartait donc dans le HTML de
   CHAQUE page, sans jamais etre mis en cache. En fichier, il est recupere une
   fois puis servi depuis le cache.
   Le <link> occupe la position EXACTE de l ancien <style> : l ordre de cascade
   est donc rigoureusement identique. */

/* G6M_HEADER_NAV_BG_UNIFY_V411
   Make .p-nav (Accueil / Forum / …) use the exact same fill as .p-header.
   Source of truth: --g6m-chrome-bar-bg (same value as scroll-perf header bar).
   Does not touch logo, icons, text, heights, padding, pink borders, or motion.
   END G6M_HEADER_NAV_BG_UNIFY_V411 */

html {
	--g6m-header-nav-bg-unify: V411;
	--g6m-chrome-bar-bg: linear-gradient(180deg, rgba(8, 8, 12, 0.94) 0%, rgba(8, 8, 12, 0.98) 100%);
}

html#XF body .p-header,
html body .p-header {
	background: var(--g6m-chrome-bar-bg) !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
}

html#XF body .p-nav,
html body .p-nav,
html#XF body .p-navSticky > .p-nav,
html body .p-navSticky > .p-nav {
	background: var(--g6m-chrome-bar-bg) !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
}

/* Keep inners transparent so only the bar shell paints the shared fill */
html#XF body .p-nav-inner,
html body .p-nav-inner,
html#XF body .p-header-inner,
html body .p-header-inner,
html#XF body .p-header-content,
html body .p-header-content {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
}

