/* Shared base styles for AI Prompt Suite */

body {
    background-color: #1e293b;
    color: #e2e8f0;
    font-family: 'Segoe UI', sans-serif;
    min-height: 100vh;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #1e293b; }

.animate-fadeIn { animation: fadeIn 0.3s ease-in-out; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hide hardcoded nav link bars — navigation is handled by topnav.js */
nav.glass-header .flex-wrap.gap-3 { display: none !important; }

/* Hide old Home-link sidebar in newer-style headers (bricks, easy-gen, poster, wooly) */
nav.glass-header [class*="pl-4 border-l"] { display: none !important; }

/* Hide broken "Alle Tools" button (nav-modal no longer exists) */
nav.glass-header button { display: none !important; }

/* Hide app-name badges in glass-header */
nav.glass-header [class*="sm:flex"] { display: none !important; }

/* --- HUB UPDATE BADGE (Comic Starburst) --- */
.update-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    background: #fbbf24;
    color: #1c1917;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
    transform: rotate(8deg);
    /* 10-spike starburst */
    clip-path: polygon(
        50%  0%,  61% 17%,
        79% 10%,  78% 29%,
        98% 35%,  85% 50%,
        98% 65%,  78% 71%,
        79% 90%,  61% 83%,
        50% 100%, 39% 83%,
        21% 90%,  22% 71%,
         2% 65%,  15% 50%,
         2% 35%,  22% 29%,
        21% 10%,  39% 17%
    );
    animation: update-badge-pulse 2.8s ease-in-out infinite;
    pointer-events: none;
}
@keyframes update-badge-pulse {
    0%, 100% { opacity: 1;   filter: brightness(1);   }
    50%       { opacity: 0.4; filter: brightness(1.4); }
}
