/* Social Fapping 1.6.04 — perfil unificado de Stars, Tags, Collections e Containers. */
.taxonomy-profile-kind,
.taxonomy-profile-kind-icon {
    display: none !important;
}

.taxonomy-profile-row > .taxonomy-header-profile {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    min-height: 0 !important;
}

.taxonomy-profile-row .taxonomy-header-thumbnail {
    position: static !important;
    inset: auto !important;
    display: block !important;
    flex: 0 0 auto !important;
    width: 70px !important;
    height: 70px !important;
    margin: 0 auto !important;
    transform: none !important;
}

.taxonomy-profile-row .taxonomy-header-profile.is-star .taxonomy-header-thumbnail,
.taxonomy-profile-row .taxonomy-header-profile.is-star .taxonomy-header-thumbnail img {
    border-radius: 50% !important;
}

.taxonomy-profile-row .taxonomy-header-profile.is-tag .taxonomy-header-thumbnail,
.taxonomy-profile-row .taxonomy-header-profile.is-tag .taxonomy-header-thumbnail img,
.taxonomy-profile-row .taxonomy-header-profile.is-channel .taxonomy-header-thumbnail,
.taxonomy-profile-row .taxonomy-header-profile.is-channel .taxonomy-header-thumbnail img,
.taxonomy-profile-row .taxonomy-header-profile.is-container .taxonomy-header-thumbnail,
.taxonomy-profile-row .taxonomy-header-profile.is-container .taxonomy-header-thumbnail img {
    border-radius: 8px !important;
}

.taxonomy-profile-row .taxonomy-profile-main,
.taxonomy-profile-row .taxonomy-profile-copy {
    position: static !important;
    inset: auto !important;
    display: flex !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    transform: none !important;
    text-align: center !important;
}

.taxonomy-profile-heading {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: center !important;
    justify-content: center !important;
}

.taxonomy-profile-row .taxonomy-header-name {
    display: block !important;
    max-width: calc(100% - 24px) !important;
    margin: 0 auto !important;
    transform: none !important;
    text-align: center !important;
    white-space: nowrap !important;
}

.taxonomy-profile-row .taxonomy-follow-button {
    margin: 0 auto !important;
}

.taxonomy-page-selection__button {
    height: 34px !important;
    min-height: 34px !important;
    padding: 2px 12px !important;
    font-size: 20px !important;
}

body.tag .site-main {
    padding-top: 90px !important;
}

body.tag .content-list {
    margin-top: 0 !important;
}

@media (min-width: 769px) {
    body.tag .taxonomy-profile-row {
        width: var(--sf-desktop-column-width, min(760px, calc(100vw - 2rem))) !important;
        max-width: none !important;
        margin-inline: auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        border-left: 1px solid #4b88db !important;
        border-right: 1px solid #4b88db !important;
    }

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

.site-header[data-header-context="tag"] {
    position: sticky;
    z-index: 100;
    top: 0;
    background: rgba(241, 241, 241, .94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.site-header[data-header-context="tag"] .smart-search {
    right: auto;
    left: 50%;
    width: min(330px, calc(100% - 260px));
    transform: translateX(-50%);
}

.site-header.top-bar.is-page-roll-down[data-header-context="tag"] .top-bar__title,
.site-header.top-bar.is-page-roll-down[data-header-context="tag"] .top-bar__taxonomy-title {
    overflow: visible !important;
}

.site-header.top-bar.is-page-roll-down[data-header-context="tag"] .top-bar__taxonomy-title {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.site-header.top-bar.is-page-roll-down[data-header-context="tag"] .top-bar__taxonomy-thumbnail,
.site-header.top-bar.is-page-roll-down[data-header-context="tag"] .top-bar__taxonomy-icon {
    opacity: 1 !important;
    visibility: visible !important;
}

@media (max-width: 768px) {
    .taxonomy-profile-row .taxonomy-header-thumbnail {
        width: 80px !important;
        height: 80px !important;
    }

    .taxonomy-page-selection__button {
        height: 34px !important;
        min-height: 34px !important;
        padding-block: 2px !important;
        font-size: 20px !important;
    }

    body.tag .site-main {
        padding-top: 30px !important;
    }

    .site-header[data-header-context="tag"] .smart-search,
    body.tag .smart-search {
        top: 65px;
        right: 0;
        left: 0;
        width: 100%;
        transform: none;
    }
}
