/* Layout perfil: mobile = capa → hub → extras */
@media (max-width: 991.98px) {
    .ps-perfil-layout {
        display: flex;
        flex-direction: column;
    }

    .ps-perfil-layout > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .ps-perfil-sidebar {
        display: contents;
    }

    .ps-perfil-capa-wrap {
        order: 1;
        width: 100%;
    }

    .ps-perfil-main-wrap {
        order: 2;
        width: 100%;
    }

    .ps-perfil-extras-wrap {
        order: 3;
        width: 100%;
    }
}

@media (min-width: 992px) {
    .ps-perfil-extras-wrap {
        margin-top: 1.5rem;
        padding-top: 0.25rem;
    }
}

/* Hub e extras — cartões padronizados */
.ps-perfil-hub,
.ps-perfil-extras {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ps-perfil-hub__intro {
    margin-bottom: 0.25rem;
}

.ps-perfil-hub__intro h2 {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #18181b;
    margin: 0 0 0.35rem;
}

.ps-perfil-hub__intro p,
.ps-perfil-extras__lead {
    color: #71717a;
    margin: 0;
    font-size: 0.95rem;
}

.ps-perfil-extras__title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #a1a1aa;
    margin: 0.5rem 0 0;
}

.ps-perfil-hub__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

@media (max-width: 575px) {
    .ps-perfil-hub__grid {
        grid-template-columns: 1fr;
    }
}

.ps-hub-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.15rem;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    background: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    text-decoration: none !important;
    color: inherit !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    min-height: 4.5rem;
}

.ps-hub-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
    text-decoration: none;
    color: inherit;
}

.ps-hub-card.ps-player-ouvir {
    cursor: pointer;
}

.ps-hub-card--wide {
    grid-column: 1 / -1;
}

.ps-hub-card__icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
}

.ps-hub-card--video .ps-hub-card__icon { background: linear-gradient(135deg, #dc2626, #b91c1c); }
.ps-hub-card--musica .ps-hub-card__icon { background: linear-gradient(135deg, #ea580c, #c2410c); }
.ps-hub-card--foto .ps-hub-card__icon { background: linear-gradient(135deg, #0891b2, #0e7490); }
.ps-hub-card--bio .ps-hub-card__icon { background: linear-gradient(135deg, #52525b, #27272a); }
.ps-hub-card--agenda .ps-hub-card__icon { background: linear-gradient(135deg, #db2777, #be185d); }
.ps-hub-card--player .ps-hub-card__icon { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.ps-hub-card--shop .ps-hub-card__icon { background: linear-gradient(135deg, #059669, #047857); }
.ps-hub-card--app .ps-hub-card__icon { background: linear-gradient(135deg, #f59e0b, #d97706); }
.ps-hub-card--gravar .ps-hub-card__icon { background: linear-gradient(135deg, #e11d48, #be123c); }

.ps-hub-card--gravar {
    border-color: rgba(225, 29, 72, 0.22);
    background: linear-gradient(135deg, #fff 0%, #fff5f7 100%);
}

.ps-hub-card--gravar:hover {
    border-color: rgba(225, 29, 72, 0.35);
}

.ps-hub-card__badge--live {
    background: #ffe4e6;
    color: #be123c;
}

.ps-hub-card__body {
    flex: 1;
    min-width: 0;
}

.ps-hub-card__title {
    font-weight: 700;
    font-size: 1.05rem;
    color: #18181b;
    margin: 0 0 0.15rem;
    line-height: 1.25;
}

.ps-hub-card__desc {
    font-size: 0.8125rem;
    color: #71717a;
    margin: 0;
    line-height: 1.35;
}

.ps-hub-card__preview {
    font-size: 0.75rem;
    color: #71717a;
    margin: 0.35rem 0 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ps-hub-card__badge {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: #52525b;
    background: #f4f4f5;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
}

.ps-perfil-hub__owner {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.ps-perfil-hub__owner-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #a1a1aa;
    margin-bottom: 0.65rem;
}

.ps-perfil-hub__owner-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ps-hub-paywall {
    border-radius: 14px;
    border: 1px dashed #d4d4d8;
    background: #fafafa;
    padding: 1.25rem;
    text-align: center;
}

.ps-hub-paywall .display-4 {
    font-size: 1.75rem;
    font-weight: 700;
}
