/* ForumX V30 — compact profile about panel */

#profile-about {
    min-height: 0 !important;
    height: auto !important;
    padding: 18px !important;
    border-radius: 20px !important;
}

#profile-about::before {
    width: 132px !important;
    height: 2px !important;
}

#profile-about .sidebar-title {
    gap: 11px !important;
    margin: 0 0 12px !important;
}

#profile-about .sidebar-title > span {
    width: 42px !important;
    height: 42px !important;
    border-radius: 14px !important;
}

#profile-about .sidebar-title > span svg {
    width: 19px !important;
    height: 19px !important;
}

#profile-about .sidebar-title strong {
    font-size: .96rem !important;
}

#profile-about .sidebar-title small {
    font-size: .68rem !important;
}

#profile-about .profile-bio {
    min-height: 0 !important;
    height: auto !important;
    margin: 0 0 11px !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
    font-size: .82rem !important;
    line-height: 1.5 !important;
}

#profile-about > .muted {
    min-height: 0 !important;
    margin: 0 0 11px !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
    font-size: .78rem !important;
}

#profile-about .profile-detail-list {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin: 0 !important;
}

#profile-about .profile-detail-list > div {
    min-width: 0 !important;
    min-height: 72px !important;
    height: auto !important;
    align-content: center !important;
    gap: 4px !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, .018) !important;
}

#profile-about .profile-detail-list dt {
    overflow: hidden !important;
    color: var(--muted) !important;
    font-size: .64rem !important;
    font-weight: 750 !important;
    line-height: 1.25 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

#profile-about .profile-detail-list dd {
    min-width: 0 !important;
    margin: 0 !important;
    color: var(--text-strong, #fff) !important;
    font-size: .82rem !important;
    font-weight: 800 !important;
    line-height: 1.28 !important;
    overflow-wrap: anywhere !important;
}

body:has(#profile-about:not([hidden])) .profile-layout[data-profile-panels] {
    margin-top: 14px !important;
    margin-bottom: 0 !important;
}

body:has(#profile-about:not([hidden])) .page-shell {
    padding-bottom: 18px !important;
}

body:has(#profile-about:not([hidden])) .site-footer.fx-footer.fx-footer-v19 {
    margin-top: 18px !important;
}

@media (max-width: 680px) {
    #profile-about {
        padding: 14px !important;
        border-radius: 18px !important;
    }

    #profile-about .sidebar-title {
        margin-bottom: 10px !important;
    }

    #profile-about .sidebar-title > span {
        width: 40px !important;
        height: 40px !important;
        border-radius: 13px !important;
    }

    #profile-about .profile-bio,
    #profile-about > .muted {
        margin-bottom: 9px !important;
        padding: 11px 12px !important;
        border-radius: 13px !important;
    }

    #profile-about .profile-detail-list {
        grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)) !important;
        gap: 7px !important;
    }

    #profile-about .profile-detail-list > div {
        min-height: 68px !important;
        padding: 9px 10px !important;
        border-radius: 13px !important;
    }

    #profile-about .profile-detail-list > div:nth-child(n+4) {
        grid-column: 1 / -1 !important;
        min-height: 58px !important;
    }

    #profile-about .profile-detail-list dt {
        font-size: .58rem !important;
    }

    #profile-about .profile-detail-list dd {
        font-size: .75rem !important;
    }

    body:has(#profile-about:not([hidden])) .page-shell {
        padding-bottom: 10px !important;
    }

    body:has(#profile-about:not([hidden])) .site-footer.fx-footer.fx-footer-v19 {
        margin-top: 12px !important;
    }
}

@media (max-width: 390px) {
    #profile-about .profile-detail-list {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    #profile-about .profile-detail-list > div {
        padding-inline: 8px !important;
    }

    #profile-about .profile-detail-list dt {
        font-size: .54rem !important;
    }

    #profile-about .profile-detail-list dd {
        font-size: .7rem !important;
    }
}
