
/* DEN RECORDS — avatar + capa de perfil v1 */

.profile-shell {
    overflow: hidden;
    padding: 0;
}

.profile-cover {
    position: relative;
    width: 100%;
    height: clamp(180px, 26vw, 320px);
    overflow: hidden;
    background: #0a0710;
}

.profile-cover img,
.profile-cover__fallback {
    width: 100%;
    height: 100%;
    display: block;
}

.profile-cover img {
    object-fit: cover;
}

.profile-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 30%, rgba(5,5,5,.62)),
        radial-gradient(circle at 75% 20%, rgba(176,0,255,.18), transparent 30%);
    pointer-events: none;
}

.profile-cover__fallback {
    background:
        radial-gradient(circle at 76% 26%, rgba(176,0,255,.42), transparent 26rem),
        radial-gradient(circle at 22% 70%, rgba(91,0,143,.28), transparent 22rem),
        linear-gradient(135deg, #08050c, #170a23 60%, #09060d);
}

.profile-shell__body {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 28px;
    align-items: flex-start;
    padding: 0 32px 32px;
}

.profile-shell__body .profile-avatar {
    position: relative;
    z-index: 2;
    margin-top: -46px;
    border: 4px solid #08070a;
}

.profile-avatar--media {
    overflow: hidden;
    padding: 0;
}

.profile-avatar--media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.profile-shell__body .profile-hero__content {
    padding-top: 22px;
}

.profile-media-editor {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.profile-media-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-height: 150px;
    justify-content: center;
    padding: 20px;
    border: 1px dashed rgba(176,0,255,.38);
    border-radius: 17px;
    background: rgba(138,0,255,.04);
    cursor: pointer;
}

.profile-media-field:hover {
    border-color: rgba(176,0,255,.7);
    background: rgba(138,0,255,.07);
}

.profile-media-field > strong {
    font-size: 1rem;
}

.profile-media-field > span {
    color: var(--muted);
    font-size: .82rem;
}

.profile-media-field input[type="file"] {
    margin-top: 7px;
    max-width: 100%;
}

@media (max-width: 620px) {
    .profile-cover {
        height: 185px;
    }

    .profile-shell__body {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 0 20px 24px;
    }

    .profile-shell__body .profile-avatar {
        margin-top: -40px;
    }

    .profile-shell__body .profile-hero__content {
        padding-top: 0;
    }

    .profile-media-editor {
        grid-template-columns: 1fr;
    }
}
