/* profile-hero.css — héroe compartido entre user/profile.php y
   models/model.php. Ver profile_render.php para el contrato de $ctx que
   genera este HTML. */
.profile-hero { position: relative; border-radius: 16px; overflow: hidden; background: var(--surface, #0f0f13); margin-bottom: 16px; }
.profile-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.55); }
.profile-hero-overlay { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 16px 20px; gap: 10px; }
.profile-hero-avatar { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 3px solid var(--surface, #0f0f13); background: var(--surface2, #17171e); }
.profile-hero-avatar-fallback { display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--muted, rgba(240,238,248,.5)); }
.profile-hero-info { display: flex; flex-direction: column; align-items: center; gap: 8px; max-width: 480px; }
.profile-hero-name-row { display: flex; align-items: center; gap: 8px; }
.profile-hero-name { font-family: var(--font-h, 'Geist'), sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--text, #f0eef8); margin: 0; }
.profile-hero-badge { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--green, #01FF95); color: #070709; flex-shrink: 0; }
.profile-hero-pronouns { font-size: .78rem; color: var(--muted, rgba(240,238,248,.5)); }
.profile-hero-bio { font-size: .85rem; color: var(--muted, rgba(240,238,248,.5)); }
.profile-hero-stats { display: flex; gap: 22px; margin: 4px 0; }
.phs-stat { display: flex; flex-direction: column; align-items: center; }
.phs-amount { font-weight: 800; font-size: 1rem; color: var(--text, #f0eef8); }
.phs-label { font-size: .72rem; color: var(--muted, rgba(240,238,248,.5)); }
.profile-hero-follow { width: 100%; max-width: 280px; padding: 11px 0; border: none; border-radius: 9px; background: var(--green, #01FF95); color: #070709; font: inherit; font-weight: 800; font-size: .9rem; cursor: pointer; margin-top: 4px; }
.profile-hero-follow.ph-following { background: rgba(255,255,255,.1); color: var(--text, #f0eef8); }
.profile-hero-follow:disabled { opacity: .6; cursor: default; }

@media (min-width: 700px) {
  .profile-hero-overlay { padding: 32px 24px 28px; }
  .profile-hero-avatar { width: 112px; height: 112px; }
  .profile-hero-name { font-size: 1.6rem; }
}

/* Deeplink al catálogo completo (2026-08-27) — tira en /u/<username>/ que
   enlaza a /models/<slug>/. Ver profile_render.php's renderCatalogDeeplink()
   para el contrato de $ctx. */
.catalog-deeplink {
  display: block; margin: 14px 20px 0; padding: 14px 16px;
  background: var(--surface2, #17171e); border: 1px solid var(--border, rgba(255,255,255,.08));
  border-radius: 12px; text-decoration: none; color: inherit;
  transition: border-color .15s;
}
.catalog-deeplink:hover { border-color: var(--green, #01FF95); }
.catalog-deeplink-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.catalog-deeplink-info { display: flex; flex-direction: column; gap: 2px; }
.catalog-deeplink-title { font-weight: 800; font-size: .92rem; color: var(--text, #f0eef8); }
.catalog-deeplink-stats { font-size: .78rem; color: var(--muted, rgba(240,238,248,.5)); }
.catalog-deeplink-arrow { font-size: 1.2rem; color: var(--green, #01FF95); flex-shrink: 0; }
.catalog-deeplink-thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.catalog-deeplink-thumb { aspect-ratio: 2/3; border-radius: 8px; overflow: hidden; background: var(--bg, #070709); }
.catalog-deeplink-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
