/* fz-contrast-hotfix.css — PROD ONLY, 2026-11-23 (owner). Served as /fz-contrast-hotfix.css, linked from prod's built
 * index.html only (not from the source index.html), so the next frontend release drops it on its own: the same fixes
 * are in the source (platformUpdates.css + ShowcaseView/UpdateBlocks, index.css "Light themes", theme-rebuild
 * signatures.css, Sidebar, PricingPage, ImageGalleryPage, ProfilePage, character-modal/parts). Local mirror:
 * documentations/prod-hotfixes/. Write-up: logs/2026-11-23_contrast-fixes-and-funnel-admin.md */

/* 1. Changelog showcase: dark / gradient sections stay dark in every theme, but the blocks inside followed the light
 *    theme's dark ink (dark grey text on the dark band in Flirtzy and Daylight). */
[data-theme="flirtzy"] section[data-layout].text-white,
[data-theme="daylight"] section[data-layout].text-white {
  --c-ink: 246 241 255; --c-ink-2: 200 185 238; --c-ink-3: 154 136 201; --c-ink-inv: 21 11 43; --c-brand-ink: 255 143 200;
}
[data-theme="daylight"] section[data-layout].text-white .text-sky-100.dl\:text-sky-800 { color: rgb(224 242 254); }
[data-theme="daylight"] section[data-layout].text-white .text-emerald-100.dl\:text-emerald-800 { color: rgb(209 250 229); }
[data-theme="daylight"] section[data-layout].text-white .text-amber-100.dl\:text-amber-800 { color: rgb(254 243 199); }
[data-theme="daylight"] section[data-layout].text-white .text-sky-300.dl\:text-sky-800 { color: rgb(125 211 252); }
[data-theme="daylight"] section[data-layout].text-white .text-emerald-300.dl\:text-emerald-800 { color: rgb(110 231 183); }
[data-theme="daylight"] section[data-layout].text-white .text-violet-300.dl\:text-violet-800 { color: rgb(196 181 253); }

/* 2. Light themes: faint ink text (2–3:1 → about 3–4:1). Same rules as src/index.css. */
:is([data-theme="flirtzy"], [data-theme="daylight"]) :is(.text-ink\/30, .text-ink\/35):not(:hover) { color: rgb(var(--c-ink) / 0.5); }
:is([data-theme="flirtzy"], [data-theme="daylight"]) .text-ink\/40:not(:hover) { color: rgb(var(--c-ink) / 0.55); }
:is([data-theme="flirtzy"], [data-theme="daylight"]) .text-ink\/45:not(:hover) { color: rgb(var(--c-ink) / 0.58); }
:is([data-theme="flirtzy"], [data-theme="daylight"]) .text-ink\/50:not(:hover) { color: rgb(var(--c-ink) / 0.6); }
[data-theme="flirtzy"] .text-n-400:not(:hover) { color: rgb(128 128 138); }
:is([data-theme="flirtzy"], [data-theme="daylight"]) .lt\:text-ink\/35:not(:hover) { color: rgb(var(--c-ink) / 0.5); }
:is([data-theme="flirtzy"], [data-theme="daylight"]) :is(.lt\:text-ink\/45, .lt\:text-ink\/50):not(:hover) { color: rgb(var(--c-ink) / 0.6); }
:is([data-theme="flirtzy"], [data-theme="daylight"]) .lt\:text-ink\/55:not(:hover) { color: rgb(var(--c-ink) / 0.64); }
:is([data-theme="flirtzy"], [data-theme="daylight"]) :is(.text-muted\/50, .text-muted\/60, .text-muted\/70):not(:hover) { color: rgb(var(--c-ink-2)); }

/* 3. Sidebar legal links and copyright (Flirtzy 1.45:1, Daylight 2.5:1, © line about 2:1 in every theme). */
[data-theme="flirtzy"] .fz-legal { opacity: 1 !important; }
[data-theme="flirtzy"] .fz-legal > :last-child { color: rgb(var(--c-n-600)) !important; }
[data-theme="flirtzy"] .fz-legal a:not(:hover) { color: rgb(var(--c-n-600)) !important; }
:is([data-theme="nocturne"], [data-theme="onyx"], [data-theme="daylight"]) .fz-legal a { color: rgb(var(--c-ink) / 0.62) !important; }
:is([data-theme="nocturne"], [data-theme="onyx"], [data-theme="daylight"]) .fz-legal a:hover { color: rgb(var(--c-ink) / 0.75) !important; }
:is([data-theme="nocturne"], [data-theme="onyx"], [data-theme="daylight"]) .fz-legal > :last-child { color: rgb(var(--c-ink) / 0.5) !important; }

/* 4. Daylight: inactive tabs (All / Images / Memories) and sort pills at 2.5:1. */
:root[data-theme="daylight"] { --fz-ctl-ink-dim: rgb(var(--c-ink) / 0.6); }

/* 5. Pricing: Inferno badge and button, white on amber was 2.5:1. */
.fz-plan-inferno .from-orange-500.to-amber-500,
.fz-plan-inferno .\!from-orange-500.\!to-amber-500 { background-image: linear-gradient(to right, rgb(234 88 12), rgb(217 119 6)) !important; }

/* 6. Gallery: the "Hide" handle (1.7:1). */
:is([data-theme="flirtzy"], [data-theme="daylight"]) .text-pink-400\/60:not(:hover) { color: rgb(219 39 119 / 0.85); }

/* 7. Character page banner: meta line and "Created by" over the brand gradient. */
.fz-char-banner .text-white\/65 { color: rgb(255 255 255 / 0.85); }
.fz-char-banner .text-white\/75 { color: rgb(255 255 255 / 0.9); }

/* 8. Profile stat chips: pastel labels on white (2.5:1). */
:is([data-theme="flirtzy"], [data-theme="daylight"]) .fz-stat-chip .text-fuchsia-400 { color: rgb(192 38 211); }
:is([data-theme="flirtzy"], [data-theme="daylight"]) .fz-stat-chip .text-purple-400 { color: rgb(147 51 234); }
:is([data-theme="flirtzy"], [data-theme="daylight"]) .fz-stat-chip .text-pink-400 { color: rgb(219 39 119); }
