/*
 * NaijacraftMusic 2.7.7
 * Three-row profile identity and shell-gap correction.
 */
.nc-content {
    padding-top: 0 !important;
}

.ncap-profile-page {
    margin-top: 0;
}

.ncap-profile-cover {
    display: block;
    margin-top: 0;
}

.ncap-profile-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(16px, 2.2vw, 26px);
}

.ncap-profile-status-row {
    display: flex;
    width: 100%;
    justify-content: center;
    text-align: center;
}

.ncap-profile-status-row .ncap-eyebrow {
    padding: 7px 13px;
    border: 1px solid rgba(29, 185, 84, .34);
    border-radius: 999px;
    background: rgba(29, 185, 84, .1);
}

.ncap-profile-identity-row {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: clamp(14px, 3vw, 36px);
}

.ncap-profile-identity {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: clamp(12px, 2vw, 24px);
}

.ncap-profile-identity .ncap-profile-meta {
    min-width: 0;
}

.ncap-profile-actions {
    flex: 0 1 auto;
}

.ncap-profile-stats-inline {
    display: grid;
    grid-template-columns: repeat(4, minmax(72px, 1fr));
    width: 100%;
    margin-top: 0;
    gap: clamp(8px, 2vw, 22px);
}

.ncap-profile-stats-inline > div,
.ncap-profile-stats-inline > .ncap-stat-link {
    width: 100%;
    min-width: 0;
    padding: 11px 8px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    text-align: center;
}

@media (max-width: 782px) {
    .nc-content {
        padding-top: var(--nc-mobile-header-height, 118px) !important;
    }

    body.admin-bar .nc-content {
        padding-top: calc(var(--nc-mobile-header-height, 118px) + 46px) !important;
    }

    .ncap-profile-header-wrap {
        padding-inline: 8px;
    }

    .ncap-profile-header {
        padding: 12px;
        gap: 12px;
    }

    .ncap-profile-identity-row {
        gap: 8px;
    }

    .ncap-profile-identity {
        gap: 8px;
    }

    .ncap-profile-actions {
        display: flex;
        max-width: 48%;
        justify-content: flex-end;
        gap: 5px;
    }

    .ncap-profile-actions .ncap-button {
        min-height: 30px;
        padding: .4rem .5rem;
        font-size: clamp(.58rem, 2.25vw, .7rem);
        white-space: normal;
        text-align: center;
    }

    .ncap-profile-stats-inline {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 5px;
    }

    .ncap-profile-stats-inline > div,
    .ncap-profile-stats-inline > .ncap-stat-link {
        padding: 8px 2px;
        overflow: hidden;
    }

    .ncap-profile-stats-inline strong {
        font-size: .82rem;
    }

    .ncap-profile-stats-inline span {
        font-size: clamp(.52rem, 2vw, .64rem);
        overflow-wrap: anywhere;
    }
}

@media (max-width: 390px) {
    .ncap-profile-avatar {
        width: 62px;
        height: 62px;
    }

    .ncap-profile-meta h1 {
        font-size: 1rem;
    }

    .ncap-profile-actions {
        max-width: 50%;
    }
}
