/* Social Fapping 1.3.26 — coluna desktop igual ao content-list. */

@media (min-width: 769px) {
    :root {
        --sf-desktop-column-width: min(760px, calc(100vw - 2rem));
        --sf-desktop-content-width: 760px;
        --sf-desktop-profile-width: 600px;
    }

    /* Moldura externa e content-list compartilham exatamente os mesmos 760px. */
    body:not(.single-post) .site-main {
        width: var(--sf-desktop-column-width) !important;
        max-width: none !important;
        margin-inline: auto !important;
    }

    body:not(.single-post) .site-main > .content-list,
    body:not(.single-post) .site-main > .feed-loader,
    body:not(.single-post) .site-main > .discover-header,
    body:not(.single-post) .site-main > #social-fapping-discover-results {
        width: min(100%, var(--sf-desktop-content-width)) !important;
        max-width: var(--sf-desktop-content-width) !important;
        margin-inline: auto !important;
    }

    /* A faixa dedicada usa os mesmos 760px; profile permanece nos antigos 600px. */
    body.tax-social_star .taxonomy-profile-row,
    body.tax-social_channel .taxonomy-profile-row {
        width: var(--sf-desktop-column-width) !important;
        max-width: none !important;
        padding: 0 !important;
    }

    body.tax-social_star .taxonomy-profile-row > .taxonomy-header-profile,
    body.tax-social_channel .taxonomy-profile-row > .taxonomy-header-profile {
        width: min(100%, var(--sf-desktop-profile-width)) !important;
        max-width: var(--sf-desktop-profile-width) !important;
        margin-inline: auto !important;
        padding: 18px 20px 28px 50px !important;
        box-sizing: border-box !important;
    }

    /* O top bar usa a mesma referência visual do content-list,
       sem reposicionar os controles internos. */
    .site-header.top-bar {
        --sf-header-column-width: var(--sf-desktop-column-width);
    }
}
