@import 'StoryBuilder.Client.73byvhiql9.bundle.scp.css';

/* /Components/Layout/PublicReaderLayout.razor.rz.scp.css */
.public-reader-shell[b-ktmmbjsb85] {
    --shell-text: #0f172a;
    --shell-card-bg: rgba(255, 255, 255, 0.9);
    --shell-card-border: rgba(148, 163, 184, 0.18);
    --shell-header-bg: rgba(248, 250, 252, 0.82);
    --shell-header-border: rgba(148, 163, 184, 0.18);
    --shell-header-link: #334155;
    --shell-header-link-active-bg: #dbeafe;
    --shell-header-link-active-text: #0f172a;
    --shell-ghost-bg: rgba(15, 23, 42, 0.06);
    --shell-ghost-text: #0f172a;
    --shell-mobile-bg: rgba(255, 255, 255, 0.92);
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    background: transparent;
    color: var(--shell-text);
    position: relative;
    z-index: 1;
}

.public-reader-shell--dark[b-ktmmbjsb85] {
    --shell-text: #e2e8f0;
    --shell-card-bg: rgba(15, 23, 42, 0.9);
    --shell-card-border: rgba(100, 116, 139, 0.24);
    --shell-header-bg: rgba(2, 6, 23, 0.82);
    --shell-header-border: rgba(100, 116, 139, 0.28);
    --shell-header-link: #cbd5e1;
    --shell-header-link-active-bg: rgba(30, 41, 59, 0.96);
    --shell-header-link-active-text: #f8fafc;
    --shell-ghost-bg: rgba(148, 163, 184, 0.12);
    --shell-ghost-text: #e2e8f0;
    --shell-mobile-bg: rgba(15, 23, 42, 0.96);
    color-scheme: dark;
}

.public-reader-shell--light[b-ktmmbjsb85] {
    color-scheme: light;
}

.public-reader-header[b-ktmmbjsb85],
.public-reader-footer[b-ktmmbjsb85] {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.public-reader-header__cluster[b-ktmmbjsb85] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.public-reader-footer__meta[b-ktmmbjsb85] {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.4rem 0.75rem;
}

.public-reader-header__brand[b-ktmmbjsb85] {
    color: var(--shell-text);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.brand-name-image[b-ktmmbjsb85] {
    display: block;
    width: min(100%, 280px);
    height: auto;
}

.public-reader-theme-toggle[b-ktmmbjsb85] {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.35rem 0.45rem 0.35rem 0.8rem;
    border: none;
    border-radius: 999px;
    background: var(--shell-ghost-bg);
    color: var(--shell-ghost-text);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
}

.public-reader-theme-toggle__state[b-ktmmbjsb85] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.4rem;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--shell-card-bg) 76%, transparent);
}

.public-reader-header__nav[b-ktmmbjsb85],
.public-reader-footer nav[b-ktmmbjsb85] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.public-reader-header__nav a[b-ktmmbjsb85],
.public-reader-footer a[b-ktmmbjsb85] {
    color: var(--shell-header-link);
    font-weight: 700;
    text-decoration: none;
}

.public-reader-header__nav a:hover[b-ktmmbjsb85],
.public-reader-header__nav a:focus-visible[b-ktmmbjsb85],
.public-reader-footer a:hover[b-ktmmbjsb85],
.public-reader-footer a:focus-visible[b-ktmmbjsb85] {
    color: var(--shell-header-link-active-text);
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

.public-reader-main[b-ktmmbjsb85] {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1rem 0 3rem;
}

.public-reader-footer[b-ktmmbjsb85] {
    color: color-mix(in srgb, var(--shell-text) 68%, transparent);
    border-top: 1px solid var(--shell-header-border);
}

.public-reader-footer__build[b-ktmmbjsb85] {
    font-size: 0.74rem;
    font-weight: 600;
    color: color-mix(in srgb, var(--shell-header-link) 78%, transparent);
    white-space: nowrap;
}

@media (max-width: 640px) {
    .public-reader-header[b-ktmmbjsb85],
    .public-reader-footer[b-ktmmbjsb85] {
        align-items: flex-start;
        flex-direction: column;
    }

    .public-reader-header__cluster[b-ktmmbjsb85] {
        width: 100%;
        justify-content: flex-start;
    }
}
/* /Components/Pages/Error.razor.rz.scp.css */
.app-error-shell[b-hy5h5rete7] {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem 1rem;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(241, 245, 249, 0.98));
}

.app-error-panel[b-hy5h5rete7] {
    width: min(100%, 70rem);
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    color: #0f172a;
}

.app-error-kicker[b-hy5h5rete7] {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #b91c1c;
}

.app-error-panel h1[b-hy5h5rete7],
.app-error-panel h2[b-hy5h5rete7],
.app-error-summary[b-hy5h5rete7],
.app-error-muted[b-hy5h5rete7] {
    margin: 0;
}

.app-error-summary[b-hy5h5rete7],
.app-error-muted[b-hy5h5rete7] {
    color: #475569;
    line-height: 1.6;
}

.app-error-details[b-hy5h5rete7] {
    display: grid;
    gap: 0.75rem;
    margin: 0;
}

.app-error-details div[b-hy5h5rete7] {
    display: grid;
    gap: 0.2rem;
}

.app-error-details dt[b-hy5h5rete7] {
    font-size: 0.82rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
}

.app-error-details dd[b-hy5h5rete7] {
    margin: 0;
}

.app-error-details code[b-hy5h5rete7] {
    word-break: break-word;
}

.app-error-exception[b-hy5h5rete7] {
    display: grid;
    gap: 0.75rem;
}

.app-error-exception pre[b-hy5h5rete7] {
    margin: 0;
    overflow: auto;
    padding: 1rem;
    border-radius: 0.5rem;
    background: #0f172a;
    color: #e2e8f0;
    font-size: 0.9rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}
/* /Components/Pages/Library.razor.rz.scp.css */
.library-shell[b-augq5duzrx] {
    display: grid;
    gap: 1rem;
}

.library-header[b-augq5duzrx],
.library-message-bar[b-augq5duzrx],
.library-featured-card[b-augq5duzrx],
.library-highlight-card[b-augq5duzrx],
.library-card[b-augq5duzrx],
.library-empty[b-augq5duzrx] {
    border-radius: 1.5rem;
    background: var(--library-card-bg, rgba(255, 255, 255, 0.92));
    border: 1px solid var(--library-card-border, rgba(148, 163, 184, 0.18));
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.library-header[b-augq5duzrx] {
    display: grid;
    gap: 1rem;
    padding: 1.4rem;
}

.brand-name-image[b-augq5duzrx] {
    display: block;
    width: min(100%, 355px);
    height: auto;
    margin-bottom: 0.5rem;
}

.library-kicker[b-augq5duzrx] {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0f766e;
}

.library-message-bar[b-augq5duzrx] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.library-search[b-augq5duzrx] {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.library-search input[b-augq5duzrx] {
    flex: 1 1 18rem;
    min-height: 3rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.26);
    padding: 0 1rem;
}

.library-search button[b-augq5duzrx],
.library-filter[b-augq5duzrx],
.library-card__link[b-augq5duzrx],
.library-message-bar__link[b-augq5duzrx] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 999px;
    padding: 0.5rem 1.25rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    line-height: 1.2;
    min-height: 2.5rem;
    width: fit-content;
    align-self: start;
}

.library-search button[b-augq5duzrx],
.library-card__link[b-augq5duzrx],
.library-message-bar__link[b-augq5duzrx] {
    background: linear-gradient(135deg, #0f766e 0%, #0369a1 100%);
    color: #fff;
}

.library-message-bar[b-augq5duzrx] {
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--library-message-bar-bg, linear-gradient(135deg, rgba(240, 253, 250, 0.96) 0%, rgba(239, 246, 255, 0.96) 100%));
}

.library-message-bar--compact[b-augq5duzrx] {
    padding: 0.75rem 1rem;
}

.library-message-bar strong[b-augq5duzrx],
.library-message-bar p[b-augq5duzrx] {
    margin: 0;
}

.library-message-bar p[b-augq5duzrx] {
    color: var(--library-message-text, #475569);
    line-height: 1.6;
}

.library-message-bar__actions[b-augq5duzrx] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

.library-message-bar__link--secondary[b-augq5duzrx] {
    background: var(--library-card-bg, rgba(255, 255, 255, 0.86));
    border: 1px solid var(--library-card-border, rgba(148, 163, 184, 0.2));
    color: #0369a1;
}

.library-featured-shell[b-augq5duzrx],
.library-highlight-shell[b-augq5duzrx],
.library-browse-shell[b-augq5duzrx] {
    display: grid;
    gap: 0.85rem;
}

.library-section-heading[b-augq5duzrx] {
    display: grid;
    gap: 0.4rem;
}

.library-browse-shell[b-augq5duzrx] {
    gap: 0.75rem;
}

.library-browse-shell__header[b-augq5duzrx] {
    display: grid;
    gap: 0.65rem;
}

.library-section-heading h2[b-augq5duzrx] {
    margin: 0.2rem 0 0;
    color: var(--shell-text);
}

.library-browse-shell__header h2[b-augq5duzrx] {
    margin: 0.2rem 0 0;
    color: var(--shell-text);
}

.library-section-heading p[b-augq5duzrx] {
    margin: 0;
    color: var(--library-muted-text, color-mix(in srgb, var(--shell-text) 72%, transparent));
    line-height: 1.6;
}

.library-featured-grid[b-augq5duzrx],
.library-highlight-grid[b-augq5duzrx] {
    display: grid;
    gap: 1rem;
}

.library-sort-row[b-augq5duzrx] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.library-sort[b-augq5duzrx] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.7rem;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: var(--library-card-bg, rgba(255, 255, 255, 0.88));
    border: 1px solid var(--library-card-border, rgba(148, 163, 184, 0.2));
    color: var(--shell-text);
    font-weight: 700;
    text-decoration: none;
}

.library-sort--selected[b-augq5duzrx] {
    background: linear-gradient(135deg, #0f766e 0%, #0369a1 100%);
    color: #fff;
}

.library-quick-filter-groups[b-augq5duzrx],
.library-filter-groups[b-augq5duzrx] {
    display: grid;
    gap: 0.75rem;
}

.library-quick-filter-group[b-augq5duzrx],
.library-filter-group[b-augq5duzrx] {
    display: grid;
    gap: 0.35rem;
    align-content: start;
    padding: 0.75rem 0.85rem;
    border-radius: 0.85rem;
    background: color-mix(in srgb, var(--shell-card-bg) 92%, rgba(14, 165, 233, 0.04));
    border: 1px solid color-mix(in srgb, var(--shell-card-border) 92%, rgba(14, 165, 233, 0.1));
}

.library-quick-filter-group > span[b-augq5duzrx],
.library-filter-group > span[b-augq5duzrx] {
    color: color-mix(in srgb, var(--shell-text) 68%, transparent);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.library-filter-shell[b-augq5duzrx] {
    display: grid;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: 0.85rem;
    background: color-mix(in srgb, var(--shell-card-bg) 94%, transparent);
    border: 1px solid var(--shell-card-border);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.library-filter-shell__header[b-augq5duzrx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: color-mix(in srgb, var(--shell-text) 70%, transparent);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.library-filter-shell__header a[b-augq5duzrx] {
    color: #0369a1;
    text-decoration: none;
    letter-spacing: 0;
    text-transform: none;
}

.library-filters[b-augq5duzrx],
.library-card__facets[b-augq5duzrx],
.library-card__meta[b-augq5duzrx] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.library-filters[b-augq5duzrx] {
    align-items: flex-start;
}

@media (min-width: 720px) {
    .library-browse-shell__header[b-augq5duzrx] {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
    }

    .library-quick-filter-groups[b-augq5duzrx],
    .library-filter-groups[b-augq5duzrx] {
        grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    }
}

@media (min-width: 960px) {
    .library-filter-shell[b-augq5duzrx] {
        top: 1rem;
        position: sticky;
        z-index: 8;
        max-height: min(34vh, 17rem);
        overflow: auto;
        overscroll-behavior: contain;
    }
}

.library-filter[b-augq5duzrx] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.2rem;
    padding: 0.45rem 0.8rem;
    background: color-mix(in srgb, var(--shell-card-bg) 88%, rgba(14, 165, 233, 0.1));
    border: 1px solid color-mix(in srgb, var(--shell-card-border) 90%, rgba(14, 165, 233, 0.16));
    color: var(--shell-text);
    box-shadow: none;
}

.library-filter--selected[b-augq5duzrx] {
    background: linear-gradient(135deg, color-mix(in srgb, #0f766e 18%, var(--shell-card-bg)) 0%, color-mix(in srgb, #0369a1 18%, var(--shell-card-bg)) 100%);
    border-color: color-mix(in srgb, #0369a1 32%, var(--shell-card-border));
    color: color-mix(in srgb, var(--shell-text) 88%, #0369a1);
}

.library-results[b-augq5duzrx] {
    display: grid;
    gap: 0.85rem;
}

.library-card[b-augq5duzrx] {
    padding: 1rem;
    display: grid;
    gap: 0.75rem;
}

.library-featured-card[b-augq5duzrx],
.library-highlight-card[b-augq5duzrx] {
    padding: 1rem;
    display: grid;
    gap: 0.75rem;
    align-content: start;
}

.library-card h2[b-augq5duzrx],
.library-featured-card h3[b-augq5duzrx],
.library-header h1[b-augq5duzrx] {
    margin: 0.35rem 0 0;
    color: var(--shell-text);
}

.library-card p[b-augq5duzrx],
.library-featured-card p[b-augq5duzrx],
.library-header p[b-augq5duzrx] {
    margin: 0;
    color: color-mix(in srgb, var(--shell-text) 72%, transparent);
    line-height: 1.7;
}

.library-card__topline[b-augq5duzrx] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: color-mix(in srgb, var(--shell-text) 58%, transparent);
    font-size: 0.85rem;
    font-weight: 600;
}

.library-card__facets span[b-augq5duzrx] {
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    background: rgba(219, 234, 254, 0.92);
    color: #0f172a;
    font-weight: 600;
    font-size: 0.88rem;
}

.library-card__meta[b-augq5duzrx] {
    color: color-mix(in srgb, var(--shell-text) 58%, transparent);
    font-size: 0.85rem;
}

.library-card__meta-pill[b-augq5duzrx] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: var(--library-pill-bg, color-mix(in srgb, #0369a1 12%, var(--shell-card-bg)));
    color: var(--library-pill-text, color-mix(in srgb, var(--shell-text) 68%, #0369a1));
    font-weight: 700;
}

.library-card__meta-icon[b-augq5duzrx] {
    display: inline-flex;
    width: 1rem;
    height: 1rem;
    align-items: center;
    justify-content: center;
    color: currentColor;
    font-size: 1rem;
    line-height: 1;
}

.library-empty[b-augq5duzrx] {
    padding: 1.5rem;
}

.library-highlight-card__meta[b-augq5duzrx],
.library-highlight-card__actions[b-augq5duzrx] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

.library-highlight-card__meta[b-augq5duzrx] {
    color: var(--library-muted-text, color-mix(in srgb, var(--shell-text) 60%, transparent));
    font-weight: 600;
}

.library-highlight-card__story[b-augq5duzrx] {
    display: grid;
    gap: 0.35rem;
    padding: 0.8rem 0.9rem;
    border-radius: 0.85rem;
    background: var(--library-highlight-bg, color-mix(in srgb, #0f766e 8%, var(--shell-card-bg)));
    border: 1px solid var(--library-highlight-border, color-mix(in srgb, #0369a1 16%, var(--shell-card-border)));
}

.library-highlight-card__story strong[b-augq5duzrx] {
    color: var(--shell-text);
}

.library-highlight-card__secondary[b-augq5duzrx] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    background: var(--library-card-bg, rgba(255, 255, 255, 0.86));
    border: 1px solid var(--library-card-border, rgba(148, 163, 184, 0.22));
    color: #0369a1;
    font-weight: 700;
    text-decoration: none;
    width: fit-content;
    align-self: start;
}

@media (min-width: 900px) {
    .library-featured-grid[b-augq5duzrx] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .library-highlight-grid[b-augq5duzrx] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* /Components/Pages/PublicProfile.razor.rz.scp.css */
.public-profile-shell[b-1n916me5fy] {
    display: grid;
    gap: 1rem;
}

.public-profile-header[b-1n916me5fy],
.public-profile-panel[b-1n916me5fy],
.public-profile-story[b-1n916me5fy],
.public-profile-empty[b-1n916me5fy] {
    border-radius: 8px;
    background: var(--shell-card-bg);
    border: 1px solid var(--shell-card-border);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.public-profile-header[b-1n916me5fy],
.public-profile-panel[b-1n916me5fy],
.public-profile-empty[b-1n916me5fy] {
    padding: 1.25rem;
}

.public-profile-kicker[b-1n916me5fy] {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0f766e;
}

.public-profile-header h1[b-1n916me5fy],
.public-profile-section-heading h2[b-1n916me5fy],
.public-profile-story h3[b-1n916me5fy],
.public-profile-story p[b-1n916me5fy],
.public-profile-muted[b-1n916me5fy] {
    margin: 0;
}

.public-profile-section-heading[b-1n916me5fy] {
    display: grid;
    gap: 0.25rem;
    margin-bottom: 0.85rem;
}

.public-profile-tags[b-1n916me5fy],
.public-profile-story__meta[b-1n916me5fy] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.public-profile-tags a[b-1n916me5fy],
.public-profile-story__meta span[b-1n916me5fy] {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.4rem 0.75rem;
    background: color-mix(in srgb, #0369a1 12%, var(--shell-card-bg));
    color: color-mix(in srgb, var(--shell-text) 72%, #0369a1);
    font-weight: 700;
    text-decoration: none;
}

.public-profile-muted[b-1n916me5fy],
.public-profile-story p[b-1n916me5fy] {
    color: var(--shell-muted);
    line-height: 1.65;
}

.public-profile-stories[b-1n916me5fy] {
    display: grid;
    gap: 1rem;
}

.public-profile-story[b-1n916me5fy] {
    display: grid;
    gap: 0.7rem;
    padding: 1rem;
}

.public-profile-story > span[b-1n916me5fy] {
    color: var(--shell-muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.public-profile-story > a[b-1n916me5fy] {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    background: #0f766e;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}
/* /Components/Pages/PublishedStory.razor.rz.scp.css */
.published-story-shell[b-5lpfduc5ag] {
    --reader-ui-panel-bg: var(--shell-card-bg);
    --reader-ui-panel-border: var(--shell-card-border);
    --reader-ui-text: var(--shell-text);
    --reader-ui-muted: color-mix(in srgb, var(--shell-text) 72%, transparent);
    --reader-ui-subtle: color-mix(in srgb, var(--shell-text) 52%, transparent);
    --reader-ui-soft-surface: color-mix(in srgb, var(--shell-card-bg) 84%, transparent);
    --reader-ui-accent: #0f766e;
    --reader-ui-link: #0369a1;
    --reader-ui-shell-bg: transparent;
    --reader-ui-heading-font: "Inter", "Segoe UI", sans-serif;
    display: grid;
    gap: 1rem;
    position: relative;
    z-index: 0;
    padding: 0.25rem;
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--reader-ui-accent) 8%, transparent) 0%, transparent 38%),
        radial-gradient(circle at bottom right, color-mix(in srgb, var(--reader-ui-link) 8%, transparent) 0%, transparent 40%),
        var(--reader-ui-shell-bg);
}

.published-story-message-bar[b-5lpfduc5ag],
.published-story-warning[b-5lpfduc5ag],
.published-story-outline[b-5lpfduc5ag],
.published-story-section[b-5lpfduc5ag],
.published-story-empty[b-5lpfduc5ag] {
    border-radius: 1.5rem;
    background: var(--reader-ui-panel-bg);
    border: 1px solid var(--reader-ui-panel-border);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.published-story-message-bar[b-5lpfduc5ag] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, color-mix(in srgb, #ccfbf1 72%, white) 0%, color-mix(in srgb, #dbeafe 78%, white) 100%);
}

.published-story-warning[b-5lpfduc5ag] {
    max-width: 46rem;
    margin: 2rem auto;
    padding: 1.5rem;
    display: grid;
    gap: 0.9rem;
    border-radius: 8px;
}

.published-story-warning h1[b-5lpfduc5ag],
.published-story-warning p[b-5lpfduc5ag] {
    margin: 0;
}

.published-story-warning p[b-5lpfduc5ag] {
    color: var(--shell-muted);
    line-height: 1.7;
}

.published-story-warning .published-story-kicker[b-5lpfduc5ag] {
    color: #0f766e;
}

.published-story-warning__actions[b-5lpfduc5ag] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.published-story-warning__primary[b-5lpfduc5ag],
.published-story-warning__secondary[b-5lpfduc5ag],
.published-story-reaction button[b-5lpfduc5ag],
.published-story-reaction a[b-5lpfduc5ag] {
    border: 0;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.45rem;
    padding: 0.55rem 0.9rem;
    font-weight: 800;
    text-decoration: none;
}

.published-story-warning__primary[b-5lpfduc5ag],
.published-story-reaction button[b-5lpfduc5ag] {
    background: #0f766e;
    color: #fff;
}

.published-story-warning__secondary[b-5lpfduc5ag],
.published-story-reaction a[b-5lpfduc5ag] {
    background: color-mix(in srgb, #0369a1 10%, var(--shell-card-bg));
    color: #0369a1;
}

.published-story-reaction[b-5lpfduc5ag] {
    display: flex;
    align-items: center;
}

.published-story-reaction__forms[b-5lpfduc5ag] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.published-story-reaction form[b-5lpfduc5ag] {
    margin: 0;
}

.published-story-reaction button[b-5lpfduc5ag] {
    cursor: pointer;
}

.published-story-reaction button:disabled[b-5lpfduc5ag] {
    cursor: default;
    opacity: 0.72;
}

.published-story-reaction__secondary[b-5lpfduc5ag] {
    background: color-mix(in srgb, #0369a1 10%, var(--shell-card-bg)) !important;
    color: #0369a1 !important;
}

.published-story-message-bar strong[b-5lpfduc5ag],
.published-story-message-bar p[b-5lpfduc5ag] {
    margin: 0;
}

.published-story-message-bar p[b-5lpfduc5ag] {
    color: var(--reader-ui-muted);
    line-height: 1.6;
}

.published-story-message-bar__actions[b-5lpfduc5ag] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

.published-story-outline[b-5lpfduc5ag] {
    padding: 1.3rem;
    display: grid;
    gap: 0.9rem;
    position: relative;
    z-index: 1;
}

.published-story-kicker[b-5lpfduc5ag] {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--reader-section-kicker, var(--reader-ui-accent));
}

.published-story-outline h1[b-5lpfduc5ag],
.published-story-section h2[b-5lpfduc5ag] {
    margin: 0.35rem 0 0;
    font-family: var(--reader-ui-heading-font);
}

.published-story-outline p[b-5lpfduc5ag] {
    margin: 0;
    color: var(--reader-ui-muted);
    line-height: 1.7;
}

.published-story-meta[b-5lpfduc5ag],
.published-story-facets[b-5lpfduc5ag],
.published-story-section__heading[b-5lpfduc5ag],
.published-story-share[b-5lpfduc5ag] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.published-story-chip[b-5lpfduc5ag],
.published-story-message-bar__link[b-5lpfduc5ag] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--reader-ui-link) 14%, var(--shell-card-bg));
    font-weight: 600;
}

.published-story-chip[b-5lpfduc5ag] {
    color: var(--reader-ui-subtle);
}

.published-story-chip__icon[b-5lpfduc5ag] {
    display: inline-flex;
    width: 0.95rem;
    height: 0.95rem;
    align-items: center;
    justify-content: center;
    color: currentColor;
}

.published-story-chip__icon.e-icons[b-5lpfduc5ag] {
    font-size: 0.95rem;
    line-height: 1;
}

.published-story-shell--adult[b-5lpfduc5ag] {
    --reader-ui-accent: #0f766e;
    --reader-ui-link: #0369a1;
    --reader-ui-shell-bg:
        linear-gradient(180deg, color-mix(in srgb, #dbeafe 10%, transparent) 0%, transparent 100%);
    --reader-ui-heading-font: "Georgia", "Times New Roman", serif;
}

.published-story-shell--young-adult[b-5lpfduc5ag] {
    --reader-ui-accent: #c2410c;
    --reader-ui-link: #7c3aed;
    --reader-ui-shell-bg:
        linear-gradient(180deg, color-mix(in srgb, #ffedd5 22%, transparent) 0%, transparent 100%);
    --reader-ui-heading-font: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
}

.published-story-shell--children[b-5lpfduc5ag] {
    --reader-ui-accent: #0f766e;
    --reader-ui-link: #2563eb;
    --reader-ui-shell-bg:
        linear-gradient(180deg, color-mix(in srgb, #fef3c7 24%, transparent) 0%, transparent 100%);
    --reader-ui-heading-font: "Trebuchet MS", "Avenir Next", "Segoe UI", sans-serif;
}

.published-story-chip__icon :is(svg)[b-5lpfduc5ag] {
    width: 100%;
    height: 100%;
}

.published-story-share[b-5lpfduc5ag] {
    align-items: center;
}

.published-story-share__title[b-5lpfduc5ag] {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--reader-ui-subtle);
}

.published-story-share__icon-link[b-5lpfduc5ag] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    border: 1px solid var(--reader-ui-panel-border);
    background: color-mix(in srgb, var(--shell-card-bg) 92%, transparent);
    color: var(--reader-ui-text);
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.published-story-share__icon-link:hover[b-5lpfduc5ag] {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    border-color: rgba(14, 165, 233, 0.28);
}

.published-story-share__brand[b-5lpfduc5ag] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    height: 1.4rem;
}

.published-story-share__brand svg[b-5lpfduc5ag] {
    width: 100%;
    height: 100%;
}

.published-story-share__brand--x[b-5lpfduc5ag] {
    color: var(--reader-ui-text);
}

.published-story-share__brand--facebook[b-5lpfduc5ag] {
    color: #1877f2;
}

.published-story-share__brand--reddit[b-5lpfduc5ag] {
    color: #ff4500;
}

.published-story-share__brand--email[b-5lpfduc5ag] {
    color: #0369a1;
}

.published-story-message-bar__link[b-5lpfduc5ag] {
    background: linear-gradient(135deg, #0f766e 0%, #0369a1 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.published-story-message-bar__link--secondary[b-5lpfduc5ag] {
    background: color-mix(in srgb, var(--reader-ui-link) 10%, var(--shell-card-bg));
    color: var(--reader-ui-link);
}

.published-story-outline-list[b-5lpfduc5ag] {
    display: grid;
    gap: 0.6rem;
}

.published-story-outline-list a[b-5lpfduc5ag] {
    display: grid;
    gap: 0.25rem;
    text-align: left;
    color: var(--reader-ui-text);
    border: 1px solid var(--reader-ui-panel-border);
    background: var(--reader-ui-soft-surface);
    border-radius: 1rem;
    padding: 0.8rem 0.9rem;
    text-decoration: none;
}

.published-story-outline-list span[b-5lpfduc5ag],
.published-story-meta[b-5lpfduc5ag] {
    color: var(--reader-ui-subtle);
}

.published-story-body[b-5lpfduc5ag] {
    display: grid;
    gap: 1rem;
}

.published-story-section[b-5lpfduc5ag] {
    padding: 1.2rem;
    background: var(--reader-section-surface, var(--reader-ui-soft-surface));
    border-color: var(--reader-section-border, var(--reader-ui-panel-border));
    scroll-margin-top: 1rem;
}

.published-story-section__heading[b-5lpfduc5ag] {
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.8rem;
}

.published-story-section__meta[b-5lpfduc5ag] {
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: var(--reader-ui-soft-surface);
    color: var(--reader-ui-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.published-story-section__meta-group[b-5lpfduc5ag] {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: end;
    gap: 0.55rem;
}

.published-story-section__content[b-5lpfduc5ag] {
    color: var(--reader-section-text, var(--reader-ui-text));
    line-height: 1.85;
}

.published-story-section__image[b-5lpfduc5ag] {
    display: block;
    width: 100%;
    margin: 0;
    height: auto;
}

.published-story-section__image-wrap[b-5lpfduc5ag] {
    overflow: hidden;
    background-color: color-mix(in srgb, var(--shell-card-bg) 80%, transparent);
}

.published-story-section__image-wrap--header[b-5lpfduc5ag] {
    margin: -1.2rem -1.2rem 1rem;
}

.published-story-section__image-wrap--footer[b-5lpfduc5ag] {
    margin: 1rem -1.2rem -1.2rem;
    border-top: 1px solid var(--reader-section-border, var(--reader-ui-panel-border));
}

.published-story-section__image--header[b-5lpfduc5ag],
.published-story-section__image--footer[b-5lpfduc5ag] {
    aspect-ratio: auto;
}

.published-story-empty[b-5lpfduc5ag] {
    padding: 1.5rem;
}
/* /Components/Pages/Stories.razor.rz.scp.css */
.stories-shell[b-cey3ynbdok] {
    --stories-ui-panel-bg: var(--shell-card-bg);
    --stories-ui-panel-border: var(--shell-card-border);
    --stories-ui-text: var(--shell-text);
    --stories-ui-muted: color-mix(in srgb, var(--shell-text) 72%, transparent);
    --stories-ui-subtle: color-mix(in srgb, var(--shell-text) 58%, transparent);
    --stories-ui-soft-surface: color-mix(in srgb, var(--shell-card-bg) 86%, transparent);
    --stories-ui-soft-surface-strong: color-mix(in srgb, var(--shell-card-bg) 94%, transparent);
    --stories-ui-tag-surface: color-mix(in srgb, #0ea5e9 14%, var(--shell-card-bg));
    --stories-ui-selected-surface: color-mix(in srgb, #0ea5e9 10%, var(--shell-card-bg));
    --stories-ui-accent: #0f766e;
    --stories-ui-link: #0369a1;
    --stories-ui-shell-bg: transparent;
    --stories-ui-heading-font: "Inter", "Segoe UI", sans-serif;
    display: grid;
    gap: 1.25rem;
    padding: 0.25rem;
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--stories-ui-accent) 8%, transparent) 0%, transparent 38%),
        radial-gradient(circle at bottom right, color-mix(in srgb, var(--stories-ui-link) 8%, transparent) 0%, transparent 40%),
        var(--stories-ui-shell-bg);
}

.stories-list-panel[b-cey3ynbdok],
.stories-detail-panel[b-cey3ynbdok] {
    min-width: 0; /* Stabilizes grid items with internal overflow */
    border-radius: 1.75rem;
    background: var(--stories-ui-panel-bg);
    border: 1px solid var(--stories-ui-panel-border);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.08);
    padding: 1.25rem;
}

.stories-panel-header[b-cey3ynbdok],
.stories-detail-header[b-cey3ynbdok] {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.stories-panel-actions[b-cey3ynbdok] {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

.stories-header-toggle[b-cey3ynbdok] {
    border-radius: 999px;
}

.stories-kicker[b-cey3ynbdok],
.detail-label[b-cey3ynbdok],
.story-mode[b-cey3ynbdok] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--stories-ui-accent);
}

.stories-panel-header h1[b-cey3ynbdok],
.stories-detail-header h2[b-cey3ynbdok] {
    margin: 0.35rem 0 0;
    color: var(--stories-ui-text);
    font-family: var(--stories-ui-heading-font);
}

.stories-shell--adult[b-cey3ynbdok] {
    --stories-ui-accent: #0f766e;
    --stories-ui-link: #0369a1;
    --stories-ui-shell-bg:
        linear-gradient(180deg, color-mix(in srgb, #dbeafe 10%, transparent) 0%, transparent 100%);
    --stories-ui-heading-font: "Georgia", "Times New Roman", serif;
}

.stories-shell--young-adult[b-cey3ynbdok] {
    --stories-ui-accent: #c2410c;
    --stories-ui-link: #7c3aed;
    --stories-ui-tag-surface: color-mix(in srgb, #fed7aa 28%, var(--shell-card-bg));
    --stories-ui-selected-surface: color-mix(in srgb, #ffedd5 58%, var(--shell-card-bg));
    --stories-ui-shell-bg:
        linear-gradient(180deg, color-mix(in srgb, #ffedd5 22%, transparent) 0%, transparent 100%);
    --stories-ui-heading-font: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
}

.stories-shell--children[b-cey3ynbdok] {
    --stories-ui-accent: #0f766e;
    --stories-ui-link: #2563eb;
    --stories-ui-tag-surface: color-mix(in srgb, #dcfce7 32%, var(--shell-card-bg));
    --stories-ui-selected-surface: color-mix(in srgb, #dbeafe 38%, var(--shell-card-bg));
    --stories-ui-shell-bg:
        linear-gradient(180deg, color-mix(in srgb, #fef3c7 24%, transparent) 0%, transparent 100%);
    --stories-ui-heading-font: "Trebuchet MS", "Avenir Next", "Segoe UI", sans-serif;
}

.stories-primary-action[b-cey3ynbdok],
.stories-secondary-action[b-cey3ynbdok] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.1rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap; /* Prevents text wrapping */
    flex-shrink: 0;      /* Prevents button from squeezing text */
}

.stories-primary-action[b-cey3ynbdok] {
    background: linear-gradient(135deg, #0f766e 0%, #0369a1 100%);
    color: white;
}

.stories-secondary-action[b-cey3ynbdok] {
    background: var(--shell-ghost-bg);
    color: var(--shell-ghost-text);
}

.stories-publish-dialog__summary[b-cey3ynbdok],
.stories-publish-dialog__title[b-cey3ynbdok] {
    margin: 0;
    color: var(--stories-ui-text);
}

.stories-toast.e-toast-container[b-cey3ynbdok] {
    z-index: 1400;
}

.stories-toast :global(.e-toast)[b-cey3ynbdok] {
    border-radius: 0.5rem;
    border: 1px solid var(--stories-ui-panel-border);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.16);
}

.stories-toast :global(.e-toast-title)[b-cey3ynbdok] {
    font-weight: 800;
}

.stories-toast :global(.stories-toast--success)[b-cey3ynbdok] {
    background: color-mix(in srgb, #dcfce7 84%, white);
    color: #14532d;
}

.stories-toast :global(.stories-toast--warning)[b-cey3ynbdok] {
    background: color-mix(in srgb, #fef3c7 84%, white);
    color: #854d0e;
}

.stories-toast :global(.stories-toast--error)[b-cey3ynbdok] {
    background: color-mix(in srgb, #fee2e2 86%, white);
    color: #991b1b;
}

.stories-publish-dialog__summary[b-cey3ynbdok] {
    line-height: 1.6;
}

.stories-publish-dialog__title[b-cey3ynbdok] {
    margin-top: 0.75rem;
    font-weight: 700;
}

.stories-list[b-cey3ynbdok] {
    margin-top: 1rem;
    display: grid;
    gap: 0.65rem;
    max-height: 66vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.25rem;
}

.story-card[b-cey3ynbdok] {
    display: block;
    width: 100%;
    border: 1px solid var(--stories-ui-panel-border);
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--stories-ui-soft-surface-strong) 96%, transparent) 0%,
        color-mix(in srgb, var(--stories-ui-soft-surface) 92%, transparent) 100%);
    border-radius: 0.5rem;
    padding: 0.85rem;
    text-align: left;
    text-decoration: none;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.05);
}

.story-card__link[b-cey3ynbdok] {
    display: block;
    color: inherit;
    text-decoration: none;
}

.story-card--compact[b-cey3ynbdok] {
    padding: 0.72rem 0.8rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.story-card--selected[b-cey3ynbdok] {
    border-color: rgba(14, 165, 233, 0.45);
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--stories-ui-selected-surface) 92%, transparent) 0%,
        color-mix(in srgb, var(--stories-ui-soft-surface) 94%, transparent) 100%);
    box-shadow: 0 20px 45px rgba(3, 105, 161, 0.12);
}

.story-card__topline[b-cey3ynbdok] {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.45rem;
}

.story-status[b-cey3ynbdok],
.story-meta[b-cey3ynbdok] {
    color: var(--stories-ui-subtle);
    font-size: 0.92rem;
}

.story-card__quickline[b-cey3ynbdok] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.65rem;
    margin-top: 0.45rem;
    color: var(--stories-ui-subtle);
    font-size: 0.8rem;
    font-weight: 650;
}

.story-card__metrics[b-cey3ynbdok] {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.story-card__actions[b-cey3ynbdok] {
    margin-top: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.story-card__actions form[b-cey3ynbdok],
.stories-detail-actions form[b-cey3ynbdok] {
    margin: 0;
}

.stories-inline-action[b-cey3ynbdok],
.stories-button-action[b-cey3ynbdok] {
    border: 0;
    cursor: pointer;
    font: inherit;
}

.stories-inline-action[b-cey3ynbdok] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.7rem;
    border-radius: 0.5rem;
    background: var(--shell-ghost-bg);
    color: var(--shell-ghost-text);
    font-size: 0.78rem;
    font-weight: 750;
}

.stories-inline-action--primary[b-cey3ynbdok] {
    background: var(--stories-ui-accent);
    color: white;
}

.story-progress[b-cey3ynbdok] {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: var(--stories-ui-soft-surface);
    color: var(--stories-ui-text);
    font-size: 0.82rem;
    font-weight: 700;
}

.story-card h2[b-cey3ynbdok] {
    margin: 0;
    color: var(--stories-ui-text);
    font-size: 1rem;
    line-height: 1.25;
}

.story-card p[b-cey3ynbdok],
.stories-detail-header p[b-cey3ynbdok] {
    margin: 0.7rem 0 0;
    color: var(--stories-ui-muted);
    line-height: 1.65;
}

.stories-detail-actions[b-cey3ynbdok] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.stories-detail-grid[b-cey3ynbdok] {
    margin-top: 1.1rem;
    display: grid;
    gap: 0.85rem;
}

.detail-card[b-cey3ynbdok],
.detail-surface[b-cey3ynbdok],
.stories-empty[b-cey3ynbdok],
.stories-detail-empty[b-cey3ynbdok],
.stories-alert[b-cey3ynbdok] {
    margin-top: 1rem;
    border-radius: 1.25rem;
    padding: 1rem;
    border: 1px solid var(--stories-ui-panel-border);
    background: var(--stories-ui-soft-surface);
}

.detail-card strong[b-cey3ynbdok] {
    display: block;
    margin-top: 0.4rem;
    color: var(--stories-ui-text);
    font-size: 1rem;
}

.detail-surface h3[b-cey3ynbdok],
.stories-empty h2[b-cey3ynbdok],
.stories-detail-empty h2[b-cey3ynbdok] {
    margin-top: 0;
    color: var(--stories-ui-text);
}

.detail-outline[b-cey3ynbdok] {
    margin: 0;
    padding-left: 1rem;
    display: grid;
    gap: 0.7rem;
    color: var(--stories-ui-muted);
}

.detail-outline__item--current strong[b-cey3ynbdok] {
    color: var(--stories-ui-link);
}

.detail-outline li[b-cey3ynbdok] {
    display: grid;
    gap: 0.2rem;
}

.detail-tags[b-cey3ynbdok] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.detail-tags span[b-cey3ynbdok] {
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    background: var(--stories-ui-tag-surface);
    color: var(--stories-ui-text);
    font-weight: 600;
}

@media (min-width: 960px) {
    .stories-shell[b-cey3ynbdok] {
        grid-template-columns: minmax(360px, 440px) minmax(0, 1fr);
        align-items: start;
    }

    .stories-list-panel[b-cey3ynbdok],
    .stories-detail-panel[b-cey3ynbdok] {
        min-height: 76vh;
    }

    .stories-detail-grid[b-cey3ynbdok] {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .stories-panel-actions[b-cey3ynbdok] {
        width: 100%;
        justify-content: stretch;
    }

    .stories-panel-actions > *[b-cey3ynbdok] {
        flex: 1 1 auto;
    }
}
