body.classic-member-page:not(.admin-body) {
  --member-navy: var(--palette-ink,#342339);
  --member-indigo: var(--palette-deep,#49304f);
  --member-cream: var(--palette-light-accent,#f3e4dd);
  --member-gold: var(--palette-light-accent,#eed3c7);
  --member-teal: var(--palette-accent,#d9aaa5);
  --member-muted: var(--palette-primary,#805c85);
  --member-line: rgba(52, 35, 57, 0.1);
  background:
    linear-gradient(180deg, var(--palette-bg,#faf7f3) 0%, var(--palette-soft,#f6eef6) 48%, #ffffff 100%) !important;
  color: var(--member-navy) !important;
}

body.classic-member-page:not(.admin-body) .classic-profile-shell {
  width: min(100% - 32px, 1180px) !important;
  margin: 0 auto !important;
  padding: clamp(24px, 4vw, 58px) 0 72px !important;
}

body.classic-member-page:not(.admin-body) .classic-member-layout {
  display: grid !important;
  grid-template-columns: 310px minmax(0, 1fr) !important;
  gap: 26px !important;
  align-items: start !important;
  direction: rtl !important;
}

body.classic-member-page:not(.admin-body) .classic-member-layout.no-sidebar {
  grid-template-columns: 1fr !important;
}

body.classic-member-page:not(.admin-body) .classic-member-side,
body.classic-member-page:not(.admin-body) .classic-profile-cards {
  min-width: 0 !important;
  width: 100% !important;
}

body.classic-member-page:not(.admin-body) .classic-member-side {
  position: sticky !important;
  top: 104px !important;
  display: grid !important;
  gap: 16px !important;
}

body.classic-member-page:not(.admin-body) .classic-member-card,
body.classic-member-page:not(.admin-body) .classic-member-actions,
body.classic-member-page:not(.admin-body) .classic-profile-card,
body.classic-member-page:not(.admin-body) .classic-trust-panel {
  border: 1px solid var(--member-line) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 20px 52px rgba(52, 35, 57, 0.08) !important;
  overflow: hidden !important;
}

body.classic-member-page:not(.admin-body) .classic-member-card {
  padding: 20px !important;
  text-align: center !important;
}

body.classic-member-page:not(.admin-body) .classic-member-card img {
  width: 124px !important;
  height: 124px !important;
  margin: 0 auto 14px !important;
  border-radius: 50% !important;
  border: 4px solid #ffffff !important;
  outline: 1px solid rgba(238, 211, 199, 0.45) !important;
  object-fit: cover !important;
  background:
    linear-gradient(135deg, rgba(243, 228, 221, 0.95), rgba(217, 170, 165, 0.2)) !important;
  box-shadow: 0 16px 34px rgba(52, 35, 57, 0.13) !important;
}

body.classic-member-page:not(.admin-body) .classic-member-card h1 {
  margin: 6px 0 10px !important;
  color: var(--member-navy) !important;
  font-size: 1.65rem !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  font-weight: 950 !important;
}

body.classic-member-page:not(.admin-body) .photo-privacy-note,
body.classic-member-page:not(.admin-body) .secure-video-profile-note,
body.classic-member-page:not(.admin-body) .official-assistant-profile-note {
  padding: 10px 12px !important;
  border: 1px solid rgba(217, 170, 165, 0.18) !important;
  border-radius: 8px !important;
  background: rgba(217, 170, 165, 0.06) !important;
  color: var(--palette-deep,#49304f) !important;
  font-size: 0.88rem !important;
  line-height: 1.75 !important;
  font-weight: 700 !important;
}

body.classic-member-page:not(.admin-body) .online-state {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  min-height: 32px !important;
  padding: 7px 12px !important;
  border-radius: 999px !important;
  background: rgba(52, 35, 57, 0.06) !important;
  color: var(--member-muted) !important;
  font-weight: 900 !important;
}

body.classic-member-page:not(.admin-body) .online-state::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--palette-line,#c4b6c7);
}

body.classic-member-page:not(.admin-body) .online-state.is-online::before {
  background: #23c483;
  box-shadow: 0 0 0 5px rgba(35, 196, 131, 0.14);
}

body.classic-member-page:not(.admin-body) .member-country-line,
body.classic-member-page:not(.admin-body) .classic-member-card small {
  color: var(--member-muted) !important;
  font-weight: 750 !important;
}

body.classic-member-page:not(.admin-body) .member-side-stats {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin-top: 16px !important;
}

body.classic-member-page:not(.admin-body) .member-side-stats span {
  min-height: 58px !important;
  display: grid !important;
  place-items: center !important;
  gap: 2px !important;
  padding: 9px !important;
  border-radius: 8px !important;
  background: var(--palette-bg,#faf7f3) !important;
  color: var(--member-muted) !important;
  font-size: 0.82rem !important;
  font-weight: 850 !important;
}

body.classic-member-page:not(.admin-body) .member-side-stats b {
  color: var(--member-navy) !important;
  font-size: 1.1rem !important;
  font-weight: 950 !important;
}

body.classic-member-page:not(.admin-body) .classic-member-actions {
  display: grid !important;
  gap: 10px !important;
  padding: 16px !important;
}

body.classic-member-page:not(.admin-body) .classic-member-actions a,
body.classic-member-page:not(.admin-body) .classic-member-actions button {
  width: 100% !important;
  min-height: 46px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 11px 13px !important;
  border: 1px solid rgba(52, 35, 57, 0.1) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: var(--member-navy) !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

body.classic-member-page:not(.admin-body) .classic-member-actions form:first-of-type button,
body.classic-member-page:not(.admin-body) .classic-member-actions a[href*="messages"] {
  border: 0 !important;
  background: linear-gradient(135deg, var(--member-cream), var(--member-gold)) !important;
  color: var(--member-navy) !important;
}

body.classic-member-page:not(.admin-body) .member-report-link {
  color: #b42318 !important;
}

body.classic-member-page:not(.admin-body) .classic-profile-cards {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

body.classic-member-page:not(.admin-body) .classic-trust-panel {
  grid-column: 1 / -1 !important;
  padding: clamp(22px, 3vw, 34px) !important;
  background:
    radial-gradient(circle at 12% 15%, rgba(217, 170, 165, 0.18), transparent 32%),
    linear-gradient(135deg, var(--palette-ink,#342339), var(--palette-deep,#49304f)) !important;
  color: #ffffff !important;
}

body.classic-member-page:not(.admin-body) .classic-trust-panel header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin-bottom: 16px !important;
}

body.classic-member-page:not(.admin-body) .classic-trust-panel strong,
body.classic-member-page:not(.admin-body) .classic-trust-panel h2 {
  color: #ffffff !important;
  letter-spacing: 0 !important;
}

body.classic-member-page:not(.admin-body) .classic-trust-panel p,
body.classic-member-page:not(.admin-body) .classic-trust-panel li {
  color: rgba(255, 255, 255, 0.74) !important;
  line-height: 1.9 !important;
  font-weight: 700 !important;
}

body.classic-member-page:not(.admin-body) .visible-trust-badges {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

body.classic-member-page:not(.admin-body) .visible-trust-badges span,
body.classic-member-page:not(.admin-body) .matched-badge,
body.classic-member-page:not(.admin-body) .official-assistant-badge,
body.classic-member-page:not(.admin-body) .secure-video-profile-badge {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 30px !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  background: rgba(217, 170, 165, 0.12) !important;
  color: var(--member-teal) !important;
  font-size: 0.82rem !important;
  font-weight: 900 !important;
}

body.classic-member-page:not(.admin-body) .classic-profile-card {
  padding: 0 !important;
}

body.classic-member-page:not(.admin-body) .classic-profile-card header {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 76px !important;
  padding: 18px !important;
  border-bottom: 1px solid rgba(52, 35, 57, 0.08) !important;
  background:
    linear-gradient(135deg, rgba(52, 35, 57, 0.04), rgba(217, 170, 165, 0.08)) !important;
}

body.classic-member-page:not(.admin-body) .classic-profile-card header::before {
  content: "";
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--card-accent, var(--member-teal)), rgba(255, 255, 255, 0.88));
  box-shadow: 0 0 0 6px rgba(217, 170, 165, 0.08);
  flex: 0 0 auto;
}

body.classic-member-page:not(.admin-body) .classic-profile-card.pink { --card-accent: #e95d9e; }
body.classic-member-page:not(.admin-body) .classic-profile-card.gray { --card-accent: var(--palette-primary,#805c85); }
body.classic-member-page:not(.admin-body) .classic-profile-card.green { --card-accent: var(--palette-primary,#623d66); }
body.classic-member-page:not(.admin-body) .classic-profile-card.purple { --card-accent: #9b5de5; }
body.classic-member-page:not(.admin-body) .classic-profile-card.cyan { --card-accent: var(--palette-accent,#d9aaa5); }
body.classic-member-page:not(.admin-body) .classic-profile-card.lavender { --card-accent: var(--palette-line,#c4b6c7); }

body.classic-member-page:not(.admin-body) .classic-profile-card h2 {
  margin: 0 !important;
  color: var(--member-navy) !important;
  font-size: 1.12rem !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  font-weight: 950 !important;
}

body.classic-member-page:not(.admin-body) .classic-profile-card dl {
  margin: 0 !important;
  padding: 14px 18px 18px !important;
  display: grid !important;
  gap: 0 !important;
}

body.classic-member-page:not(.admin-body) .classic-profile-card dl > div {
  display: grid !important;
  grid-template-columns: minmax(92px, 0.7fr) minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: start !important;
  padding: 11px 0 !important;
  border-bottom: 1px solid rgba(52, 35, 57, 0.07) !important;
}

body.classic-member-page:not(.admin-body) .classic-profile-card dl > div:last-child {
  border-bottom: 0 !important;
}

body.classic-member-page:not(.admin-body) .classic-profile-card dt {
  color: var(--member-muted) !important;
  font-size: 0.86rem !important;
  line-height: 1.6 !important;
  font-weight: 850 !important;
}

body.classic-member-page:not(.admin-body) .classic-profile-card dd {
  margin: 0 !important;
  color: var(--member-navy) !important;
  line-height: 1.75 !important;
  font-weight: 850 !important;
}

/* Strong product pass: modern member profile hero + calmer details surface */
body.classic-member-page:not(.admin-body) .member-premium-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 300px !important;
  gap: 22px !important;
  align-items: stretch !important;
  margin-bottom: 24px !important;
  padding: clamp(22px, 3.5vw, 38px) !important;
  border: 1px solid rgba(243, 228, 221, 0.18) !important;
  border-radius: 8px !important;
  background:
    radial-gradient(circle at 12% 12%, rgba(217, 170, 165, 0.18), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(238, 211, 199, 0.16), transparent 28%),
    linear-gradient(135deg, var(--palette-ink,#342339) 0%, var(--palette-deep,#49304f) 100%) !important;
  box-shadow: 0 32px 90px rgba(52, 35, 57, 0.2) !important;
  color: #ffffff !important;
  overflow: hidden !important;
}

body.classic-member-page:not(.admin-body) .member-hero-main {
  display: grid !important;
  grid-template-columns: 152px minmax(0, 1fr) !important;
  gap: 22px !important;
  align-items: center !important;
  min-width: 0 !important;
}

body.classic-member-page:not(.admin-body) .member-hero-avatar-wrap {
  display: grid !important;
  justify-items: center !important;
  gap: 12px !important;
}

body.classic-member-page:not(.admin-body) .member-hero-avatar-wrap img {
  width: 138px !important;
  height: 138px !important;
  border-radius: 50% !important;
  border: 4px solid rgba(255, 255, 255, 0.92) !important;
  outline: 1px solid rgba(238, 211, 199, 0.55) !important;
  object-fit: cover !important;
  background: linear-gradient(135deg, var(--palette-light-accent,#f3e4dd), rgba(217, 170, 165, 0.3)) !important;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28) !important;
}

body.classic-member-page:not(.admin-body) .member-hero-status {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  min-height: 34px !important;
  padding: 7px 12px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.84) !important;
  font-weight: 900 !important;
}

body.classic-member-page:not(.admin-body) .member-hero-status::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--palette-line,#c4b6c7);
}

body.classic-member-page:not(.admin-body) .member-hero-status.is-online::before {
  background: #29D0C6;
  box-shadow: 0 0 0 5px rgba(41, 208, 198, 0.14);
}

body.classic-member-page:not(.admin-body) .member-hero-copy {
  min-width: 0 !important;
}

body.classic-member-page:not(.admin-body) .member-hero-copy .eyebrow {
  width: fit-content !important;
  margin: 0 0 12px !important;
  padding: 7px 13px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(238, 211, 199, 0.24) !important;
  background: rgba(238, 211, 199, 0.12) !important;
  color: var(--palette-light-accent,#eed3c7) !important;
  font-weight: 950 !important;
}

body.classic-member-page:not(.admin-body) .member-hero-copy h1 {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 12px !important;
  margin: 0 0 8px !important;
  color: #ffffff !important;
  font-size: clamp(2.2rem, 4.2vw, 4.25rem) !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
  font-weight: 950 !important;
}

body.classic-member-page:not(.admin-body) .member-hero-copy h1 span {
  color: var(--palette-light-accent,#f3e4dd) !important;
  font-size: clamp(1rem, 1.6vw, 1.25rem) !important;
  font-weight: 900 !important;
}

body.classic-member-page:not(.admin-body) .member-hero-location,
body.classic-member-page:not(.admin-body) .member-hero-description,
body.classic-member-page:not(.admin-body) .member-hero-side small {
  color: rgba(255, 255, 255, 0.74) !important;
  line-height: 1.9 !important;
  font-weight: 700 !important;
}

body.classic-member-page:not(.admin-body) .member-hero-location {
  margin: 0 0 10px !important;
}

body.classic-member-page:not(.admin-body) .member-hero-description {
  max-width: 680px !important;
  margin: 0 !important;
  font-size: 1rem !important;
}

body.classic-member-page:not(.admin-body) .member-hero-chips {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 18px !important;
}

body.classic-member-page:not(.admin-body) .member-hero-chips span {
  min-height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 8px 13px !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 900 !important;
}

body.classic-member-page:not(.admin-body) .member-hero-side {
  display: grid !important;
  align-content: center !important;
  gap: 14px !important;
  padding: 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.13) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.07) !important;
}

body.classic-member-page:not(.admin-body) .member-hero-stats {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

body.classic-member-page:not(.admin-body) .member-hero-stats span {
  min-height: 74px !important;
  display: grid !important;
  place-items: center !important;
  gap: 4px !important;
  padding: 10px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.74) !important;
  font-size: 0.82rem !important;
  font-weight: 850 !important;
}

body.classic-member-page:not(.admin-body) .member-hero-stats b {
  color: #ffffff !important;
  font-size: 1.28rem !important;
  font-weight: 950 !important;
}

body.classic-member-page:not(.admin-body) .member-hero-action {
  min-height: 50px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, var(--palette-light-accent,#f3e4dd), var(--palette-light-accent,#eed3c7)) !important;
  color: var(--palette-ink,#342339) !important;
  font-weight: 950 !important;
  text-decoration: none !important;
  box-shadow: 0 18px 34px rgba(238, 211, 199, 0.18) !important;
}

body.classic-member-page:not(.admin-body) .member-premium-hero ~ .classic-member-layout .classic-member-side .classic-member-card {
  display: none !important;
}

body.classic-member-page:not(.admin-body) .member-premium-hero ~ .classic-member-layout {
  grid-template-columns: 292px minmax(0, 1fr) !important;
}

body.classic-member-page:not(.admin-body) .member-premium-hero ~ .classic-member-layout .classic-profile-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

body.classic-member-page:not(.admin-body) .member-premium-hero ~ .classic-member-layout .classic-profile-card header > span {
  display: none !important;
}

body.classic-member-page:not(.admin-body) .member-premium-hero ~ .classic-member-layout .classic-profile-card {
  min-height: 0 !important;
}

body.classic-member-page:not(.admin-body) .member-premium-hero ~ .classic-member-layout .classic-profile-card header {
  min-height: 74px !important;
  background: linear-gradient(135deg, rgba(243, 228, 221, 0.5), rgba(255, 255, 255, 0.94)) !important;
}

body.classic-member-page:not(.admin-body) .member-premium-hero ~ .classic-member-layout .classic-profile-card dl > div {
  grid-template-columns: minmax(110px, 0.62fr) minmax(0, 1fr) !important;
}

body.classic-member-page:not(.admin-body) .member-premium-hero ~ .classic-member-layout .classic-profile-card {
  border-top: 0 !important;
}

body.classic-member-page:not(.admin-body) .member-premium-hero ~ .classic-member-layout .classic-profile-card dl {
  gap: 9px !important;
  padding: 16px !important;
}

body.classic-member-page:not(.admin-body) .member-premium-hero ~ .classic-member-layout .classic-profile-card dl > div {
  padding: 12px 13px !important;
  border: 1px solid rgba(52, 35, 57, 0.06) !important;
  border-radius: 8px !important;
  background: var(--palette-bg,#faf7f3) !important;
}

body.classic-member-page:not(.admin-body) .member-premium-hero ~ .classic-member-layout .classic-profile-card dt,
body.classic-member-page:not(.admin-body) .member-premium-hero ~ .classic-member-layout .classic-profile-card dd {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

@media (max-width: 1080px) {
  body.classic-member-page:not(.admin-body) .classic-member-layout {
    grid-template-columns: 1fr !important;
  }

  body.classic-member-page:not(.admin-body) .classic-member-layout > .classic-member-side,
  body.classic-member-page:not(.admin-body) .classic-member-layout > .classic-profile-cards {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }

  body.classic-member-page:not(.admin-body) .classic-member-side {
    position: static !important;
    grid-row: 1 !important;
  }

  body.classic-member-page:not(.admin-body) .classic-profile-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  body.classic-member-page:not(.admin-body) .classic-profile-shell {
    width: min(100% - 18px, 430px) !important;
    padding-top: 18px !important;
  }

  body.classic-member-page:not(.admin-body) .classic-profile-cards,
  body.classic-member-page:not(.admin-body) .member-side-stats {
    grid-template-columns: 1fr !important;
  }

  body.classic-member-page:not(.admin-body) .member-premium-hero ~ .classic-member-layout .classic-profile-cards {
    grid-template-columns: 1fr !important;
  }

  body.classic-member-page:not(.admin-body) .classic-trust-panel header {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  body.classic-member-page:not(.admin-body) .classic-profile-card dl > div {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
  }
}

@media (max-width: 900px) {
  body.classic-member-page:not(.admin-body) .member-premium-hero {
    grid-template-columns: 1fr !important;
  }

  body.classic-member-page:not(.admin-body) .member-hero-side {
    align-content: stretch !important;
  }
}

@media (max-width: 640px) {
  body.classic-member-page:not(.admin-body) .member-premium-hero {
    padding: 18px !important;
  }

  body.classic-member-page:not(.admin-body) .member-hero-main {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }

  body.classic-member-page:not(.admin-body) .member-hero-copy .eyebrow,
  body.classic-member-page:not(.admin-body) .member-hero-chips {
    margin-inline: auto !important;
    justify-content: center !important;
  }

  body.classic-member-page:not(.admin-body) .member-hero-copy h1 {
    justify-content: center !important;
    font-size: 2.1rem !important;
  }

  body.classic-member-page:not(.admin-body) .member-hero-stats {
    grid-template-columns: 1fr !important;
  }
}
