/* /Components/Layout/MainLayout.razor.rz.scp.css */
/*
 * MainLayout — app shell: sidebar + content area.
 * Responsive: sidebar collapses on narrow screens.
 */

.layout[b-s8w8g44860] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.sidebar[b-s8w8g44860] {
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
}

.main[b-s8w8g44860] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content[b-s8w8g44860] {
    flex: 1;
    padding: var(--space-5);
    max-width: 1200px;
    width: 100%;
}

/* Sidebar becomes a fixed left column on wider screens */
@media (min-width: 641px) {
    .layout[b-s8w8g44860] {
        flex-direction: row;
    }

    .sidebar[b-s8w8g44860] {
        width: var(--sidebar-width);
        height: 100vh;
        position: sticky;
        top: 0;
        border-bottom: none;
        border-right: 1px solid var(--border-subtle);
        overflow-y: auto;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/*
 * NavMenu — sidebar brand + navigation links.
 */

.brand[b-j20wkg2f6i] {
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--border-subtle);
}

.brand a[b-j20wkg2f6i] {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.brand a:hover[b-j20wkg2f6i] {
    color: var(--accent);
}

.nav[b-j20wkg2f6i] {
    display: flex;
    flex-direction: column;
    padding: var(--space-3) var(--space-3);
    gap: var(--space-1);
}

.nav-link[b-j20wkg2f6i] {
    color: var(--text-secondary);
    text-decoration: none;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    display: block;
}

.nav-link:hover[b-j20wkg2f6i] {
    color: var(--text-primary);
    background-color: var(--bg-surface-3);
    text-decoration: none;
}

[b-j20wkg2f6i] a.active {
    color: var(--accent);
    background-color: var(--bg-surface-2);
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
/*
 * ReconnectModal — Blazor framework SignalR reconnection dialog.
 * The element IDs and class names are required by the framework's
 * reconnection JS. Only the visual styling is customized here.
 */

.components-reconnect-first-attempt-visible[b-g5vfebjz6j],
.components-reconnect-repeated-attempt-visible[b-g5vfebjz6j],
.components-reconnect-failed-visible[b-g5vfebjz6j],
.components-pause-visible[b-g5vfebjz6j],
.components-resume-failed-visible[b-g5vfebjz6j],
.components-rejoining-animation[b-g5vfebjz6j] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-g5vfebjz6j],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-g5vfebjz6j],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-g5vfebjz6j],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-g5vfebjz6j],
#components-reconnect-modal.components-reconnect-retrying[b-g5vfebjz6j],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-g5vfebjz6j],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-g5vfebjz6j],
#components-reconnect-modal.components-reconnect-failed[b-g5vfebjz6j],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-g5vfebjz6j] {
    display: block;
}

#components-reconnect-modal[b-g5vfebjz6j] {
    background-color: var(--bg-surface);
    color: var(--text-primary);
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-g5vfebjz6j 0.5s both;

    &[open] {
        animation: components-reconnect-modal-slideUp-b-g5vfebjz6j 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-g5vfebjz6j 0.5s ease-in-out 0.3s;
        animation-fill-mode: both;
    }
}

#components-reconnect-modal[b-g5vfebjz6j]::backdrop {
    background-color: rgba(0, 0, 0, 0.6);
    animation: components-reconnect-modal-fadeInOpacity-b-g5vfebjz6j 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-g5vfebjz6j {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-g5vfebjz6j {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-g5vfebjz6j {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-g5vfebjz6j] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-g5vfebjz6j] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-g5vfebjz6j] {
    border: 1px solid var(--border);
    background-color: var(--accent);
    color: white;
    padding: 4px 24px;
    border-radius: var(--radius-sm);
}

#components-reconnect-modal button:hover[b-g5vfebjz6j] {
    background-color: var(--accent-hover);
}

#components-reconnect-modal button:active[b-g5vfebjz6j] {
    background-color: var(--accent-pressed);
}

.components-rejoining-animation[b-g5vfebjz6j] {
    position: relative;
    width: 80px;
    height: 80px;
}

.components-rejoining-animation div[b-g5vfebjz6j] {
    position: absolute;
    border: 3px solid var(--accent);
    opacity: 1;
    border-radius: 50%;
    animation: components-rejoining-animation-b-g5vfebjz6j 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.components-rejoining-animation div:nth-child(2)[b-g5vfebjz6j] {
    animation-delay: -0.5s;
}

@keyframes components-rejoining-animation-b-g5vfebjz6j {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Error.razor.rz.scp.css */
/*
 * Error page styling.
 */

.error-title[b-uhfxlad4fc] {
    color: var(--danger);
}

.error-subtitle[b-uhfxlad4fc] {
    color: var(--danger);
    opacity: 0.8;
}
/* /Components/Pages/Home.razor.rz.scp.css */
/*
 * Home — landing page. Placeholder until story selection is built.
 */

.lede[b-i4rm0gjjl9] {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: var(--space-3) 0 var(--space-5);
}
