/* ---------------------------------------------------------------
   Flat design: neutralize color gradients app-wide.
   Functional gradients (marquee fade masks, dot/grid textures)
   are intentionally left alone.
---------------------------------------------------------------- */
[class*="bg-linear-to"],
[class*="bg-gradient-to"] {
    background-image: none !important;
}
/* Inline-style gradients (49 view files use them decoratively) */
[style*="linear-gradient"],
[style*="radial-gradient"],
[style*="conic-gradient"] {
    background-image: none !important;
}
/* Colorful glow/shine decorations */
.l-shine::after, .l-spotlight, .l-card--aurora::before, .l-logomark::before {
    background: none !important;
}
.l-headicon--indigo { background: #FF385C !important; }

/* Fallback paint for elements whose only background was a gradient */
/* Interactive elements (buttons/links): solid coral */
button[class*="bg-linear-to"], a[class*="bg-linear-to"],
button[class*="bg-gradient-to"], a[class*="bg-gradient-to"],
button[style*="gradient"], a[style*="gradient"] {
    background-color: #FF385C !important;
    color: #ffffff !important;
}
/* White-text badges/marks (e.g. logo tiles): dark neutral */
[class*="bg-linear-to"].text-white:not(button):not(a),
[class*="bg-gradient-to"].text-white:not(button):not(a),
[style*="gradient"].text-white:not(button):not(a) {
    background-color: #18181B;
}
/* Decorative panels: soft gray so contents stay visible */
div[style*="linear-gradient"], div[style*="radial-gradient"], div[style*="conic-gradient"],
section[style*="linear-gradient"] {
    background-color: #F3F4F6;
}

/* Text designed for gradient backgrounds: darken on the gray fallback panels */
div[style*="gradient"] .text-white, div[style*="gradient"].text-white * { color: #3F3F46; }
