/* 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_CHAT_MEMBERS_ONLY_V152b
   Guests: hide chat shell. Logged-in: show shell.
   Do NOT clamp #siropuChatContent / messages / users / editor.
   Overflow:visible on shell so header menus work; BFC stays on #siropuChatContent (theme).
*/

html[data-logged-in="false"] #siropuChat,
html[data-logged-in="false"] .siropuChatAboveForumList,
html[data-logged-in="false"] .siropuChatAllPages,
html[data-logged-in="false"] .block.siropuChatAboveForumList {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	max-height: 0 !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

html[data-logged-in="false"] .p-nav-list a[data-nav-id="siropuChat"],
html[data-logged-in="false"] .p-nav-list a[data-nav-id*="siropuChat"],
html[data-logged-in="false"] .p-nav-list .p-navEl:has(> a[data-nav-id="siropuChat"]),
html[data-logged-in="false"] .p-nav-list .p-navEl:has(> a[data-nav-id*="siropuChat"]) {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

html[data-logged-in="true"] #siropuChat,
html[data-logged-in="true"] .siropuChatAboveForumList,
html[data-logged-in="true"] .siropuChatAllPages,
html[data-logged-in="true"] .block.siropuChatAboveForumList {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	pointer-events: auto !important;
	height: auto !important;
	max-height: none !important;
	margin: 0 0 1rem !important;
	overflow: visible !important;
}

html[data-logged-in="true"] #siropuChat.block {
	overflow: visible !important;
}

/* END G6M_CHAT_MEMBERS_ONLY_V152b */

