/**
 * Espace noir sous le footer — surcharge FINALE (charger en dernier via addStyle).
 * Cause principale : .vector-page-titlebar avec overflow:visible → scrollHeight fantôme (~1600px).
 * Ne pas modifier les colonnes de grille (marge gauche Vector inchangée).
 */

html body .vector-page-titlebar,
html body .mw-body-header.vector-page-titlebar {
	overflow: clip !important;
}

/* Overlay MW — hauteur fantome qui allonge la page */
html body .mw-notification-area-overlay {
	position: fixed !important;
	top: auto !important;
	left: auto !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 0 !important;
	height: 0 !important;
	min-height: 0 !important;
	max-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible !important;
	pointer-events: none !important;
	border: none !important;
}

html body .mw-notification-area-overlay .mw-notification-area,
html body .mw-notification-area-overlay > .mw-notification-area-floating {
	position: fixed !important;
	bottom: 1rem !important;
	right: 1rem !important;
	left: auto !important;
	top: auto !important;
	width: auto !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	transform: none !important;
	pointer-events: none !important;
}

html body .mw-notification-area .mw-notification {
	pointer-events: auto !important;
}

html body #mw-data-after-content:empty {
	display: none !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}
