/*
 * NaijacraftMusic 2.7.4
 * Compact, structure-preserving profile/Artist heroes and modern track rows.
 */
.ncap-profile-header {
    grid-template-columns: clamp(82px, 12vw, 150px) minmax(0, 1fr) auto;
    gap: clamp(10px, 2vw, 28px);
    padding: clamp(14px, 2.2vw, 28px);
}

.ncap-profile-avatar {
    width: clamp(82px, 12vw, 150px);
    height: clamp(82px, 12vw, 150px);
}

.ncap-profile-meta h1 {
    font-size: clamp(1.25rem, 4.4vw, 4rem);
    overflow-wrap: anywhere;
}

.ncap-profile-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .55rem;
}

.ncap-profile-actions .ncap-button {
    width: auto;
    min-height: 38px;
    padding: .65rem .9rem;
    white-space: nowrap;
}

.ncap-profile-stats-inline {
    flex-wrap: nowrap;
    gap: clamp(7px, 1.6vw, 22px);
}

.nc-artist-identity {
    display: grid;
    grid-template-columns: clamp(82px, 17vw, 230px) minmax(0, 1fr) auto;
    align-items: end;
}

.nc-artist-avatar {
    width: 100%;
}

.nc-artist-actions {
    flex-wrap: nowrap;
}

.nc-track-row {
    display: grid;
    grid-template-columns: 2rem 42px 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: .75rem;
    min-height: 70px;
    padding: .55rem .75rem;
    border: 1px solid transparent;
    border-bottom-color: rgba(255,255,255,.075);
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(255,255,255,.025), transparent);
    flex-wrap: nowrap;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.nc-track-row:hover {
    transform: translateY(-1px);
    border-color: rgba(29,185,84,.22);
    background: rgba(255,255,255,.065);
}

.nc-track-art {
    display: grid;
    width: 52px;
    height: 52px;
    overflow: hidden;
    place-items: center;
    border-radius: 9px;
    background: linear-gradient(135deg,#26342d,#101713);
    color: #1db954;
    text-decoration: none;
}

.nc-track-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nc-track-info {
    display: grid;
    min-width: 0;
}

.nc-track-title,
.nc-track-artist {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nc-track-actions {
    flex-wrap: nowrap;
}

.track-download-btn,
.track-download-mini,
.track-download-link {
    display: inline-grid;
    place-items: center;
}

button.track-download-btn,
button.track-download-mini,
button.track-download-link {
    font: inherit;
    cursor: pointer;
}

.is-premium-locked {
    border-color: rgba(255,213,95,.42) !important;
    color: #ffd55f !important;
}

.ncap-download-info-dialog {
    width: min(440px, calc(100vw - 32px));
    text-align: center;
}

.ncap-premium-mark {
    display: inline-grid;
    width: 58px;
    height: 58px;
    margin-bottom: .7rem;
    place-items: center;
    border-radius: 50%;
    background: #ffd55f;
    color: #171000;
    font-size: 1.4rem;
    font-weight: 900;
}

@media (max-width: 760px) {
    .ncap-profile-header-wrap {
        margin-top: -36px;
        padding: 0 8px;
    }

    .ncap-profile-header {
        grid-template-columns: clamp(66px, 21vw, 88px) minmax(0, 1fr) auto;
        gap: 8px;
        padding: 10px;
        border-radius: 16px;
    }

    .ncap-profile-avatar {
        width: clamp(66px, 21vw, 88px);
        height: clamp(66px, 21vw, 88px);
        border-width: 3px;
    }

    .ncap-profile-meta h1 {
        margin: 2px 0;
        font-size: clamp(1.05rem, 5vw, 1.55rem);
    }

    .ncap-eyebrow { font-size: .58rem; }
    .ncap-username { margin: 2px 0; font-size: .75rem; }
    .ncap-profile-stats-inline { margin-top: 7px; }
    .ncap-profile-stats-inline > div,
    .ncap-stat-link { min-width: 0; }
    .ncap-profile-stats-inline strong { font-size: .78rem; }
    .ncap-profile-stats-inline span { font-size: .58rem; }

    .ncap-profile-actions {
        grid-column: auto;
        display: grid;
        gap: 5px;
    }

    .ncap-profile-actions .ncap-button {
        width: auto;
        min-height: 30px;
        padding: .4rem .5rem;
        font-size: .65rem;
    }

    .nc-artist-identity {
        grid-template-columns: clamp(76px, 23vw, 112px) minmax(0, 1fr) 40px;
        align-items: end;
        gap: .65rem;
        margin-top: -4.2rem;
        padding: 0 .75rem .8rem;
    }

    .nc-artist-heading {
        order: initial;
        width: auto;
    }

    .nc-artist-heading h1 {
        font-size: clamp(1.35rem, 7vw, 2.3rem);
    }

    .nc-artist-menu-wrap {
        margin-left: 0;
    }

    .nc-artist-actions {
        gap: .45rem;
        padding: 0 .75rem .9rem;
    }

    .nc-artist-actions button {
        padding: .58rem .9rem;
        font-size: .78rem;
    }

    .nc-track-row {
        grid-template-columns: 1.4rem 36px 44px minmax(0,1fr) auto;
        gap: .42rem;
        min-height: 60px;
        padding: .42rem;
    }

    .nc-track-art {
        width: 44px;
        height: 44px;
    }

    .nc-track-actions {
        gap: 3px;
    }

    .nc-track-actions > * {
        min-width: 28px;
        padding: .35rem;
        font-size: .74rem;
    }

    .nc-track-duration {
        display: none;
    }
}
