.feed-hero-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    grid-template-areas:
        "copy feature"
        "search search"
        "stats stats";
    align-items: start;
    min-width: 0;
}

.feed-hero-grid > * {
    min-width: 0;
}

.feed-hero-grid--guest {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
        "copy"
        "guest"
        "feature"
        "search"
        "stats";
}

.feed-hero-copy {
    grid-area: copy;
}

.feed-hero-guest-card {
    grid-area: guest;
}

.feed-hero-featured {
    grid-area: feature;
    align-self: start;
}

.feed-hero-search {
    grid-area: search;
}

.feed-hero-stats {
    grid-area: stats;
}

.feed-shell {
    padding: 1.5rem;
}

.feed-feature-stack,
.workspace-stack,
.profile-stack,
.detail-stack,
.auth-stack {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.story-excerpt {
    color: var(--sv-ink-soft);
    margin: 0;
    line-height: 1.75;
}

.hero-script-card .story-excerpt,
.hero-script-card .author-meta {
    color: rgba(255, 255, 255, 0.82);
}

.hero-script-card .btn-soft {
    background: rgba(255, 255, 255, 0.14);
    color: white;
    border-color: rgba(255, 255, 255, 0.16);
}

.hero-script-card .btn-soft:hover,
.hero-script-card .btn-soft:focus-visible {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.workspace-callout {
    padding: 1.25rem;
    border-radius: var(--sv-radius-lg);
    background: linear-gradient(180deg, rgba(21, 111, 116, 0.08), rgba(255, 255, 255, 0.85));
    border: 1px solid rgba(21, 111, 116, 0.1);
    min-width: 0;
}

.workspace-callout ul {
    margin-bottom: 0;
    padding-inline-start: 1.1rem;
    color: var(--sv-ink-soft);
}

.workspace-callout li + li {
    margin-top: 0.45rem;
}

.detail-aside,
.profile-aside {
    display: grid;
    gap: 1.5rem;
    min-width: 0;
}

.auth-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: stretch;
}

.auth-note-list {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.25rem;
    min-width: 0;
}

.auth-note-item {
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
    min-width: 0;
}

.auth-note-item strong {
    display: block;
    margin-bottom: 0.2rem;
}

.auth-note-item strong,
.auth-note-item span,
.section-copy {
    overflow-wrap: anywhere;
}

.section-copy {
    color: var(--sv-ink-soft);
    line-height: 1.75;
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(66, 82, 102, 0.18), transparent);
    margin: 0.35rem 0;
}

.profile-avatar-actions {
    display: grid;
    gap: 0.85rem;
}

.audio-list,
.comment-list,
.script-list {
    display: grid;
    gap: 1rem;
}

.meta-pair {
    display: grid;
    gap: 0.2rem;
}

.auth-frame .g-recaptcha {
    display: inline-block;
    max-width: 100%;
    overflow: visible;
    border-radius: 0;
}

.nav-drawer .offcanvas-header {
    background: transparent;
}

@media (max-width: 1199.98px) {
    .feed-hero-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "copy"
            "guest"
            "feature"
            "search"
            "stats";
    }
}

@media (max-width: 767.98px) {
    .feed-shell,
    .workspace-callout {
        padding: 1.1rem;
    }

    .auth-actions {
        display: grid;
    }

    .auth-actions .btn,
    .auth-actions .btn-link-inline,
    .auth-links .btn-link-inline {
        inline-size: 100%;
        text-align: center;
    }
}
