/* Narrative / Subtitle Overlay System Event-driven story reinf */

.narrative-overlay {
    position: fixed;
    left: 50%;
    bottom: 64px;
    transform: translate(-50%, 12px);
    max-width: 640px;
    width: max-content;
    padding: 12px 22px;
    background: rgba(10, 10, 12, 0.88);
    border: 1px solid var(--border-subtle);
    border-left: 3px solid var(--accent-blue);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: 0.2px;
    text-align: center;
    border-radius: 2px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    z-index: 5000; /* above workspace windows, below boot/login chrome */
    transition: opacity 400ms ease, transform 400ms ease;
}

.narrative-overlay-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media (max-width: 720px) {
    .narrative-overlay {
        max-width: calc(100vw - 48px);
        font-size: 12px;
    }
}
