body.portal-body.portal-ui-v2 .portal-profile-card {
  border: 1px solid var(--portal-v2-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 22px rgba(30, 45, 75, 0.12);
  padding: 14px;
}

body.portal-body.portal-ui-v2 .portal-profile-avatar {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #2d576f 0%, #1a364f 100%);
  border: 2px solid #f4f7ff;
}

body.portal-body.portal-ui-v2 .portal-avatar-edit-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #11442f;
}

body.portal-body.portal-ui-v2 .portal-photo-actions {
  border: 1px solid var(--portal-v2-border);
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(36, 52, 82, 0.1);
}

body.portal-body.portal-ui-v2 .portal-photo-preview {
  width: 104px;
  height: 104px;
  border: 1px solid #d0dbef;
}

body.portal-body.portal-ui-v2 .portal-contact-card,
body.portal-body.portal-ui-v2 .portal-link-card {
  border-radius: 16px;
  border: 1px solid var(--portal-v2-border);
}

body.portal-body.portal-ui-v2 .portal-contact-card strong {
  color: #203457;
}

body.portal-body.portal-ui-v2 .portal-contact-card span {
  color: #60708b;
}

/* ── Profile Hero ── */
body.portal-body.portal-ui-v2 .portal-profile-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--portal-v2-radius-xl);
  padding: 32px 20px 24px;
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
  background: var(--portal-v2-gradient-hero);
  border: 1px solid var(--portal-v2-border);
  box-shadow: var(--portal-v2-shadow-float);
}

body.portal-body.portal-ui-v2 .portal-profile-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 40% at 80% 20%, rgba(201,161,79,0.15), transparent 70%);
  pointer-events: none;
}

body.portal-body.portal-ui-v2 .portal-profile-avatar-wrap {
  position: relative;
  display: inline-block;
}

body.portal-body.portal-ui-v2 .portal-profile-avatar--large {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  border: 3px solid rgba(255,255,255,0.9);
  box-shadow: var(--portal-v2-shadow-float);
  animation: portal-avatar-enter 480ms var(--portal-v2-ease-spring) both;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

body.portal-body.portal-ui-v2 .portal-profile-identity {
  display: grid;
  gap: 4px;
}

body.portal-body.portal-ui-v2 .portal-profile-name {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(28px, 7vw, 38px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--portal-v2-text);
  margin: 0;
}

body.portal-body.portal-ui-v2 .portal-profile-email {
  font-size: 13px;
  color: var(--portal-v2-muted);
  margin: 0;
}

body.portal-body.portal-ui-v2 .portal-profile-tier-badge {
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.portal-body.portal-ui-v2 .portal-profile-tier-badge[data-tier="ouro"] {
  background: var(--portal-v2-gradient-tier-ouro);
  color: #5a3800;
}

body.portal-body.portal-ui-v2 .portal-profile-tier-badge[data-tier="prata"] {
  background: var(--portal-v2-gradient-tier-prata);
  color: #2a3a50;
}

body.portal-body.portal-ui-v2 .portal-profile-tier-badge[data-tier="diamante"] {
  background: var(--portal-v2-gradient-tier-diamante);
  color: #1a3a50;
}

body.portal-body.portal-ui-v2 .portal-profile-tier-badge[data-tier="bronze"] {
  background: var(--portal-v2-gradient-tier-bronze);
  color: #3a1e0a;
}

@media (prefers-reduced-motion: reduce) {
  body.portal-body.portal-ui-v2 .portal-profile-avatar--large {
    animation: none;
  }
}
