/* /Components/Layout/MainLayout.razor.rz.scp.css */
.app-shell[b-qn4f6ckeex] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-header[b-qn4f6ckeex] {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(180deg, rgba(4, 15, 29, 0.94), rgba(4, 15, 29, 0.82));
    border-bottom: 1px solid rgba(142, 191, 255, 0.18);
    backdrop-filter: blur(18px);
}

.app-brand[b-qn4f6ckeex] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.app-brand-mark[b-qn4f6ckeex] {
    width: 2.4rem;
    height: 2.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #f5d76a, #ff866a);
    color: #102132;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.app-brand-copy[b-qn4f6ckeex] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.app-brand-link[b-qn4f6ckeex] {
    color: #f9fbff;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.app-brand-subtitle[b-qn4f6ckeex] {
    color: rgba(228, 238, 255, 0.72);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

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

.app-nav-form[b-qn4f6ckeex] {
    margin: 0;
}

.app-nav-button[b-qn4f6ckeex] {
    background: transparent;
}

@media (max-width: 780px) {
    .app-header[b-qn4f6ckeex] {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.app-nav[b-njph5g1n8i] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
}

.app-nav[b-njph5g1n8i]  .app-nav-link {
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    color: rgba(235, 242, 255, 0.82);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.app-nav[b-njph5g1n8i]  .app-nav-link:hover {
    background: rgba(120, 173, 255, 0.12);
    color: #ffffff;
    transform: translateY(-1px);
}

.app-nav[b-njph5g1n8i]  .app-nav-link.active {
    background: linear-gradient(135deg, rgba(245, 215, 106, 0.22), rgba(255, 134, 106, 0.18));
    color: #fff8e2;
    box-shadow: inset 0 0 0 1px rgba(255, 230, 180, 0.14);
}

.app-nav-form[b-njph5g1n8i] {
    margin: 0;
}

.app-nav-button[b-njph5g1n8i] {
    border: 0;
    background: transparent;
}

@media (max-width: 780px) {
    .app-nav[b-njph5g1n8i] {
        justify-content: flex-start;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-ykl9yudv0c],
.components-reconnect-repeated-attempt-visible[b-ykl9yudv0c],
.components-reconnect-failed-visible[b-ykl9yudv0c],
.components-pause-visible[b-ykl9yudv0c],
.components-resume-failed-visible[b-ykl9yudv0c],
.components-rejoining-animation[b-ykl9yudv0c] {
    display: none;
}

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


#components-reconnect-modal[b-ykl9yudv0c] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-ykl9yudv0c 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

#components-reconnect-modal button[b-ykl9yudv0c] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-ykl9yudv0c] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-ykl9yudv0c] {
        background-color: #6b9ed2;
    }

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

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

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

@keyframes components-rejoining-animation-b-ykl9yudv0c {
    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/About.razor.rz.scp.css */
.about-card[b-5526hu1kdb] {
    background: rgba(7, 20, 37, 0.78);
    border: 1px solid rgba(154, 198, 255, 0.16);
    border-radius: 1.2rem;
    padding: 1.5rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.about-card h2[b-5526hu1kdb] {
    margin-top: 0;
    margin-bottom: 0.65rem;
    font-size: 1.2rem;
}

.about-card p[b-5526hu1kdb] {
    color: rgba(232, 240, 255, 0.88);
}

.about-card h2:not(:first-child)[b-5526hu1kdb] {
    margin-top: 1.4rem;
}
/* /Components/Pages/Home.razor.rz.scp.css */
.home-hero[b-90tjva4kwu] {
    position: relative;
    min-height: calc(100vh - 5.5rem);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem 3rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.home-background-1[b-90tjva4kwu] {
    background-image: url('/images/home-bg-1.jpg');
}

.home-background-2[b-90tjva4kwu] {
    background-image: url('/images/home-bg-2.jpg');
}

.home-overlay[b-90tjva4kwu] {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top, rgba(75, 132, 215, 0.22), transparent 42%),
        linear-gradient(180deg, rgba(4, 14, 26, 0.4), rgba(4, 14, 26, 0.8));
}

.home-content[b-90tjva4kwu] {
    position: relative;
    z-index: 1;
    width: min(72rem, 100%);
    display: grid;
    justify-items: center;
    gap: 1.5rem;
}

.title-image[b-90tjva4kwu] {
    width: min(46rem, 92%);
    height: auto;
    filter: drop-shadow(0 18px 25px rgba(0, 0, 0, 0.3));
}

.hero-card[b-90tjva4kwu] {
    width: min(38rem, 100%);
    padding: 1.5rem;
    border-radius: 1.4rem;
    background: rgba(4, 16, 31, 0.75);
    border: 1px solid rgba(166, 205, 255, 0.16);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(14px);
}

.hero-actions[b-90tjva4kwu] {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.hero-note[b-90tjva4kwu] {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    background: rgba(245, 215, 106, 0.11);
    border: 1px solid rgba(245, 215, 106, 0.18);
    color: #ffefb1;
    font-size: 0.95rem;
}
/* /Components/Pages/Login.razor.rz.scp.css */
.login-card[b-1xl8zbv3zq] {
    padding: 1.5rem;
    border-radius: 1.2rem;
    background: rgba(7, 20, 37, 0.78);
    border: 1px solid rgba(154, 198, 255, 0.16);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
/* /Components/Pages/Play.razor.rz.scp.css */
.scenario-page[b-25fkp6muve] {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.play-shell[b-25fkp6muve] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: calc(100vh - 6rem);
    padding: 1rem;
}

.scenario-card[b-25fkp6muve],
.story-card[b-25fkp6muve],
.chat-panel[b-25fkp6muve] {
    background: rgba(7, 20, 37, 0.78);
    border: 1px solid rgba(154, 198, 255, 0.16);
    border-radius: 1.2rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.scenario-card[b-25fkp6muve] {
    padding: 1.5rem;
}

.saved-session-card[b-25fkp6muve] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1.15rem 1.25rem;
    border-radius: 1.1rem;
    background: rgba(245, 214, 118, 0.12);
    border: 1px solid rgba(245, 214, 118, 0.2);
}

.saved-session-list[b-25fkp6muve] {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

.saved-session-card h2[b-25fkp6muve] {
    margin: 0.15rem 0 0;
    color: #fff7dd;
    font-size: 1.2rem;
}

.saved-session-meta[b-25fkp6muve] {
    margin: 0.4rem 0 0;
    color: rgba(250, 242, 212, 0.8);
}

.saved-session-actions[b-25fkp6muve] {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.play-status[b-25fkp6muve] {
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    font-weight: 600;
}

.play-status-info[b-25fkp6muve] {
    color: #f4fbff;
    background: rgba(85, 163, 245, 0.2);
    border: 1px solid rgba(121, 188, 255, 0.35);
}

.play-status-error[b-25fkp6muve] {
    color: #fff1f1;
    background: rgba(170, 54, 54, 0.22);
    border: 1px solid rgba(255, 144, 144, 0.3);
}

.field-stack[b-25fkp6muve] {
    margin-top: 1rem;
}

.field-label[b-25fkp6muve] {
    display: block;
    margin-bottom: 0.55rem;
    font-weight: 700;
    color: #eef4ff;
}

.field-hint[b-25fkp6muve] {
    margin-top: 0.5rem;
    color: rgba(224, 235, 255, 0.65);
    font-size: 0.92rem;
}

.adventure-select[b-25fkp6muve],
.adventure-textarea[b-25fkp6muve] {
    background: rgba(10, 27, 47, 0.96);
    color: #f9fbff;
    border-color: rgba(149, 195, 255, 0.2);
}

.adventure-textarea[b-25fkp6muve] {
    min-height: 10rem;
}

.scenario-preview[b-25fkp6muve] {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.9rem;
    background: rgba(236, 248, 255, 0.08);
    border: 1px solid rgba(196, 225, 255, 0.14);
}

.preview-label[b-25fkp6muve] {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #f5d76a;
}

.scenario-preview pre[b-25fkp6muve],
.story-card-body pre[b-25fkp6muve],
.chat-message pre[b-25fkp6muve] {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: inherit;
}

.story-card[b-25fkp6muve] {
    overflow: hidden;
}

.story-card-header[b-25fkp6muve] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
}

.story-card-body[b-25fkp6muve] {
    overflow: hidden;
    transition: max-height 0.2s ease;
    border-top: 1px solid rgba(173, 204, 255, 0.12);
    background: rgba(255, 184, 184, 0.08);
}

.story-card-body.expanded[b-25fkp6muve] {
    max-height: 30rem;
    padding: 1rem 1.25rem;
}

.story-card-body.collapsed[b-25fkp6muve] {
    max-height: 0;
    padding: 0 1.25rem;
}

.chat-panel[b-25fkp6muve] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 1rem;
}

.play-session-grid[b-25fkp6muve] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 20rem;
    gap: 1rem;
    align-items: start;
}

.chat-panel-header[b-25fkp6muve] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.chat-panel-actions[b-25fkp6muve] {
    display: flex;
    gap: 0.65rem;
}

.chat-model-pill[b-25fkp6muve] {
    display: inline-flex;
    margin: 0.55rem 0 0;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 212, 111, 0.14);
    border: 1px solid rgba(255, 212, 111, 0.22);
    color: #ffe6aa;
    font-size: 0.8rem;
    font-weight: 700;
}

.chat-flow-pill[b-25fkp6muve] {
    display: inline-flex;
    margin: 0.55rem 0 0;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #eef4ff;
    font-size: 0.8rem;
    font-weight: 700;
}

.chat-save-pill[b-25fkp6muve] {
    margin: 0.5rem 0 0;
    color: rgba(228, 238, 255, 0.7);
    font-size: 0.84rem;
}

.chat-tts-pill[b-25fkp6muve] {
    display: inline-flex;
    margin: 0.5rem 0 0;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(130, 255, 215, 0.12);
    border: 1px solid rgba(130, 255, 215, 0.22);
    color: #cbfff1;
    font-size: 0.8rem;
    font-weight: 700;
}

.chat-history[b-25fkp6muve] {
    flex: 1;
    min-height: 18rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: 1rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(245, 249, 255, 0.96) 0%, rgba(234, 242, 252, 0.9) 100%);
}

.chat-message[b-25fkp6muve] {
    position: relative;
    max-width: min(100%, 48rem);
    padding: 0.9rem;
    border-radius: 0.9rem;
    color: #13253a;
}

.message-body[b-25fkp6muve] {
    display: grid;
    gap: 0.75rem;
}

.user-message[b-25fkp6muve] {
    align-self: flex-end;
    margin-left: auto;
    background: #cfe5ff;
    border: 1px solid #b4d6ff;
}

.assistant-message[b-25fkp6muve] {
    align-self: flex-start;
    margin-right: auto;
    background: #d8efd9;
    border: 1px solid #c2e0c4;
}

.message-meta[b-25fkp6muve] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.45rem;
}

.message-role[b-25fkp6muve] {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(16, 33, 50, 0.6);
}

.message-tools[b-25fkp6muve] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.message-tool[b-25fkp6muve] {
    border: 1px solid rgba(16, 33, 50, 0.18);
    background: rgba(255, 255, 255, 0.72);
    color: #18304a;
    border-radius: 999px;
    padding: 0.22rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
}

.message-media-grid[b-25fkp6muve] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
    gap: 0.75rem;
}

.message-media-card[b-25fkp6muve] {
    display: grid;
    gap: 0.45rem;
    padding: 0.55rem;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(16, 33, 50, 0.12);
    text-decoration: none;
}

.message-media-card img[b-25fkp6muve] {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0.65rem;
}

.message-media-meta[b-25fkp6muve] {
    font-size: 0.78rem;
    color: #27415d;
}

.story-segment[b-25fkp6muve] {
    display: grid;
    gap: 0.3rem;
}

.story-segment-dialogue[b-25fkp6muve] {
    padding: 0.8rem 0.9rem;
    border-radius: 0.85rem;
    background: rgba(17, 41, 66, 0.06);
    border-left: 3px solid rgba(41, 81, 125, 0.55);
}

.story-segment-speaker[b-25fkp6muve] {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(25, 49, 77, 0.7);
}

.pending-message[b-25fkp6muve] {
    opacity: 0.88;
}

.suggested-actions[b-25fkp6muve] {
    display: grid;
    gap: 0.65rem;
    margin-top: 0.95rem;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(16, 33, 50, 0.12);
}

.suggested-action-button[b-25fkp6muve] {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    width: 100%;
    text-align: left;
    padding: 0.8rem 0.9rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(16, 33, 50, 0.12);
    background: rgba(255, 255, 255, 0.72);
    color: #15314d;
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.suggested-action-button:hover[b-25fkp6muve] {
    transform: translateY(-1px);
    border-color: rgba(62, 124, 196, 0.4);
    box-shadow: 0 8px 18px rgba(20, 42, 68, 0.1);
}

.suggested-action-index[b-25fkp6muve] {
    min-width: 1.25rem;
    font-weight: 800;
    color: #29517d;
}

.suggested-action-freeform[b-25fkp6muve] {
    background: rgba(21, 49, 77, 0.08);
}

.composer-options[b-25fkp6muve],
.composer-freeform[b-25fkp6muve] {
    margin-bottom: 0.9rem;
}

.composer-section-title[b-25fkp6muve] {
    margin-bottom: 0.45rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(235, 242, 255, 0.72);
}

.composer-suggested-actions[b-25fkp6muve] {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.composer-focus-button[b-25fkp6muve] {
    width: 100%;
    text-align: left;
}

.composer[b-25fkp6muve] {
    margin-top: 1rem;
}

.composer-label[b-25fkp6muve] {
    margin-bottom: 0.55rem;
    font-weight: 700;
    color: #f4f7ff;
}

.composer-hint[b-25fkp6muve] {
    margin-bottom: 0.75rem;
    color: rgba(228, 238, 255, 0.7);
    font-size: 0.88rem;
}

.composer-hint kbd[b-25fkp6muve] {
    background: rgba(255, 255, 255, 0.16);
    color: #f7fbff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: none;
}

.speech-status[b-25fkp6muve] {
    margin-bottom: 0.75rem;
    padding: 0.7rem 0.85rem;
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #edf5ff;
    font-size: 0.9rem;
}

.speech-controls[b-25fkp6muve] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: rgba(130, 255, 215, 0.08);
    border: 1px solid rgba(130, 255, 215, 0.18);
}

.speech-controls-title[b-25fkp6muve] {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #cbfff1;
}

.speech-controls-subtitle[b-25fkp6muve] {
    margin-top: 0.25rem;
    color: rgba(237, 245, 255, 0.8);
    font-size: 0.92rem;
}

.speech-controls-actions[b-25fkp6muve] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.cast-panel[b-25fkp6muve] {
    padding: 1rem;
    border-radius: 1.2rem;
    background: rgba(7, 20, 37, 0.78);
    border: 1px solid rgba(154, 198, 255, 0.16);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.cast-panel-heading[b-25fkp6muve] {
    margin-bottom: 1rem;
}

.cast-panel-heading h2[b-25fkp6muve] {
    margin: 0.25rem 0 0;
    font-size: 1.2rem;
}

.cast-list[b-25fkp6muve] {
    display: grid;
    gap: 0.75rem;
}

.cast-entry[b-25fkp6muve] {
    padding: 0.85rem 0.9rem;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(154, 198, 255, 0.14);
}

.cast-role[b-25fkp6muve] {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(237, 245, 255, 0.72);
}

.cast-voice[b-25fkp6muve] {
    margin-top: 0.3rem;
    color: #f3f8ff;
    font-weight: 600;
}

.composer-row[b-25fkp6muve] {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.composer-row .form-control[b-25fkp6muve] {
    background: rgba(251, 253, 255, 0.96);
}

.composer-input[b-25fkp6muve] {
    min-height: 7rem;
    resize: vertical;
}

.composer-button[b-25fkp6muve] {
    min-width: 8rem;
}

.image-prompt-dialog[b-25fkp6muve] {
    display: grid;
    gap: 1rem;
}

.image-prompt-textarea[b-25fkp6muve] {
    min-height: 14rem;
}

.image-prompt-meta[b-25fkp6muve] {
    color: rgba(232, 240, 255, 0.78);
    font-size: 0.9rem;
}

@media (max-width: 780px) {
    .chat-panel-header[b-25fkp6muve],
    .story-card-header[b-25fkp6muve],
    .composer-row[b-25fkp6muve],
    .speech-controls[b-25fkp6muve] {
        flex-direction: column;
        align-items: stretch;
    }

    .play-session-grid[b-25fkp6muve] {
        grid-template-columns: 1fr;
    }

    .chat-panel-actions[b-25fkp6muve] {
        width: 100%;
    }

    .chat-panel-actions .btn[b-25fkp6muve],
    .composer-button[b-25fkp6muve],
    .suggested-action-button[b-25fkp6muve],
    .speech-controls-actions .btn[b-25fkp6muve] {
        width: 100%;
    }

    .chat-message[b-25fkp6muve] {
        max-width: 100%;
    }

    .saved-session-card[b-25fkp6muve] {
        flex-direction: column;
        align-items: stretch;
    }
}
/* /Components/Pages/Settings.razor.rz.scp.css */
.settings-shell[b-617xxmzgch] {
    max-width: min(1600px, calc(100vw - 2rem));
}

.settings-header[b-617xxmzgch] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.settings-layout[b-617xxmzgch] {
    display: grid;
    grid-template-columns: 18rem minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.settings-tabs[b-617xxmzgch] {
    display: grid;
    gap: 0.75rem;
    position: sticky;
    top: 1rem;
}

.settings-tab[b-617xxmzgch] {
    display: grid;
    gap: 0.3rem;
    width: 100%;
    padding: 1rem 1.05rem;
    text-align: left;
    border-radius: 1rem;
    border: 1px solid rgba(154, 198, 255, 0.14);
    background: rgba(7, 20, 37, 0.42);
    color: #eef4ff;
}

.settings-tab.active[b-617xxmzgch] {
    background: rgba(85, 163, 245, 0.18);
    border-color: rgba(121, 188, 255, 0.34);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.settings-tab-label[b-617xxmzgch] {
    font-weight: 800;
}

.settings-tab-label-row[b-617xxmzgch] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.settings-tab-badge[b-617xxmzgch] {
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: rgba(245, 215, 106, 0.16);
    color: #fff1b6;
    font-size: 0.72rem;
    font-weight: 800;
}

.settings-tab-copy[b-617xxmzgch] {
    color: rgba(232, 240, 255, 0.72);
    font-size: 0.88rem;
    line-height: 1.35;
}

.settings-tab-panels[b-617xxmzgch] {
    min-width: 0;
}

.settings-tab-panel[b-617xxmzgch] {
    display: grid;
    gap: 1rem;
}

.settings-section-heading h2[b-617xxmzgch],
.settings-card h3[b-617xxmzgch] {
    margin-bottom: 0.35rem;
}

.settings-section-heading p[b-617xxmzgch] {
    margin: 0;
    color: rgba(232, 240, 255, 0.78);
}

.settings-grid[b-617xxmzgch] {
    display: grid;
    gap: 1rem;
}

.settings-grid-two[b-617xxmzgch] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.settings-card[b-617xxmzgch] {
    background: rgba(7, 20, 37, 0.78);
    border: 1px solid rgba(154, 198, 255, 0.16);
    border-radius: 1.2rem;
    padding: 1.35rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.field-group[b-617xxmzgch] {
    margin-bottom: 1rem;
}

.field-group label[b-617xxmzgch] {
    display: block;
    margin-bottom: 0.45rem;
    font-weight: 600;
    color: #eef4ff;
}

.checkbox-group[b-617xxmzgch] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.checkbox-group label[b-617xxmzgch] {
    margin-bottom: 0;
}

.settings-note[b-617xxmzgch] {
    padding: 0.9rem;
    border-radius: 0.9rem;
    background: rgba(245, 215, 106, 0.1);
    border: 1px solid rgba(245, 215, 106, 0.16);
    color: #fff1b6;
    font-size: 0.94rem;
}

.settings-note-secondary[b-617xxmzgch] {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(154, 198, 255, 0.14);
    color: rgba(232, 240, 255, 0.86);
}

.settings-inline-status[b-617xxmzgch] {
    margin-top: 0.5rem;
    color: rgba(232, 240, 255, 0.72);
    font-size: 0.9rem;
}

.settings-disabled-toggle[b-617xxmzgch] {
    opacity: 0.72;
}

.settings-status[b-617xxmzgch] {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 0.9rem;
    border: 1px solid transparent;
}

.settings-status-success[b-617xxmzgch] {
    background: rgba(126, 214, 126, 0.12);
    border-color: rgba(126, 214, 126, 0.24);
    color: #c8f1c8;
}

.settings-status-error[b-617xxmzgch] {
    background: rgba(255, 128, 128, 0.12);
    border-color: rgba(255, 128, 128, 0.24);
    color: #ffd0d0;
}

.settings-list[b-617xxmzgch] {
    margin: 0;
    padding-left: 1.1rem;
    color: rgba(232, 240, 255, 0.88);
}

.settings-list li + li[b-617xxmzgch] {
    margin-top: 0.55rem;
}

.settings-actions[b-617xxmzgch] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.settings-actions-top[b-617xxmzgch] {
    justify-content: flex-end;
}

.field-group[b-617xxmzgch]  .validation-message {
    display: block;
    margin-top: 0.45rem;
    color: #ffacac;
    font-size: 0.92rem;
}

.range-value[b-617xxmzgch] {
    margin-top: 0.4rem;
    color: rgba(232, 240, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 600;
}

.settings-inline-actions[b-617xxmzgch] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1rem 0;
}

.voice-grid[b-617xxmzgch] {
    display: grid;
    gap: 0.85rem;
}

.voice-card[b-617xxmzgch] {
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(154, 198, 255, 0.14);
}

.voice-card-header[b-617xxmzgch] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
}

.voice-role[b-617xxmzgch] {
    font-weight: 700;
    color: #eef4ff;
}

.voice-sample-text[b-617xxmzgch] {
    margin-top: 0.25rem;
    color: rgba(232, 240, 255, 0.72);
    font-size: 0.9rem;
}

@media (max-width: 1100px) {
    .settings-layout[b-617xxmzgch],
    .settings-grid-two[b-617xxmzgch] {
        grid-template-columns: 1fr;
    }

    .settings-tabs[b-617xxmzgch] {
        position: static;
    }
}

@media (max-width: 780px) {
    .settings-header[b-617xxmzgch],
    .voice-card-header[b-617xxmzgch] {
        flex-direction: column;
        align-items: stretch;
    }

    .settings-actions-top .btn[b-617xxmzgch] {
        width: 100%;
    }
}
