/* ======================================================
   EMERGENCY OVERRIDES
   Load LAST. Use only as a break-glass safety layer.
   ====================================================== */

/* Stop broken motion/effects from hiding content */
*,
*::before,
*::after {
	animation: none !important;
	transition: none !important;
	scroll-behavior: auto !important;
}

/* Restore reveal-controlled content */
.veil-reveal,
[data-veil-reveal],
.lv-veil-enter,
.veil-ready,
.js .veil-ready,
.js [data-veil-reveal],
.js .veil-reveal,
.js .lv-veil-enter {
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	filter: none !important;
}

/* Prevent accidental horizontal blowout */
html,
body {
	overflow-x: hidden !important;
}

/* Keep modals from trapping the page if class logic breaks */
.veil-modal:not(.is-open),
.veil-popup:not(.is-open) {
	display: none !important;
	pointer-events: none !important;
}

/* Make text readable if a theme state goes sideways */
body,
.entry-content,
.ct-entry-content {
	color: #e6e4f2;
}