/* =========================================================
   ════════  V5.6 — FLÜSSIGER THEME-WECHSEL + LIGHT-FEINSCHLIFF  ════════
   - Plasma-Kante des Theme-Übergangs (Canvas aus main.js)
   - Fallblatt-Anzeige und Projekt-Browserleisten mit eigener
     Light-Variante (vorher auch im Light Mode dunkel)
   ========================================================= */

.theme-rim { position: fixed; inset: 0; z-index: 9900; width: 100%; height: 100%; pointer-events: none; }

/* ---------- Fallblatt im Light Mode: helle Karten, dunkle Ziffern ---------- */
[data-theme="light"] .fl {
    color: #1B1640;
    box-shadow: 0 7px 14px -8px rgba(49, 30, 110, 0.45), 0 0 0 1px rgba(79, 53, 201, 0.14);
}
[data-theme="light"] .fl.sym { color: #BE185D; }
[data-theme="light"] .fl-top, [data-theme="light"] .fl-a { background: linear-gradient(#FFFFFF, #F4F1FD); }
[data-theme="light"] .fl-bot, [data-theme="light"] .fl-b { background: linear-gradient(#EEEAFA, #E7E2F7); }
[data-theme="light"] .fl::after { background: rgba(49, 30, 110, 0.2); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85); }

/* ---------- Projekt-Browserleiste im Light Mode ---------- */
[data-theme="light"] .proj-bar { background: rgba(240, 237, 251, 0.96); border-bottom-color: rgba(79, 53, 201, 0.12); color: #5A5482; }
[data-theme="light"] .proj-bar span { background: rgba(27, 22, 64, 0.06); }
[data-theme="light"] .proj-bar b { color: #4F4880; }

@media (prefers-reduced-motion: reduce) { .theme-rim { display: none; } }
@media print { .theme-rim { display: none !important; } }
