/* 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_LOGIN_USE_PAGE_V492
   Guest "Connexion" → full /forum/login/ page (no ugly dropdown modal).
*/

html#XF body a.p-navgroup-link--logIn[data-g6m492-page],
html body a.p-navgroup-link--logIn[data-g6m492-page],
html#XF body a.g6m-header-cta.p-navgroup-link--logIn[data-g6m492-page],
html body a.g6m-header-cta.p-navgroup-link--logIn[data-g6m492-page] {
	cursor: pointer !important;
}

/* Kill leftover centered modal chrome if XF still injects a login menu */
html#XF body .menu.g6m-login-dropdown,
html#XF body .menu.menu--medium:has(.g6m-login-hero),
html body .menu.g6m-login-dropdown,
html body .menu.menu--medium:has(.g6m-login-hero) {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
	opacity: 0 !important;
}

html#XF body .g6m-login-dd__backdrop,
html body .g6m-login-dd__backdrop {
	display: none !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

html#XF body.g6m-login-modal-open,
html body.g6m-login-modal-open {
	overflow: auto !important;
}

/* END G6M_LOGIN_USE_PAGE_V492 */

