  /* ── Profile Card ── */
  .profile-card-overlay {
    position: fixed; inset: 0; z-index: 150; display: none;
    align-items: center; justify-content: center;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(2px);
  }
  .profile-card-overlay.visible { display: flex; }
  .profile-card {
    background: var(--raised); border: 1px solid var(--border-mid);
    border-radius: var(--radius-xl); width: 340px;
    box-shadow: var(--shadow-l); animation: slideUp 200ms ease;
    position: relative;
  }
  .profile-banner {
    height: 80px;
    background: linear-gradient(135deg, var(--accent), #8b7afc);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }
  .profile-card-avatar {
    width: var(--avatar-3xl); height: var(--avatar-3xl); border-radius: var(--radius-full);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: 700; color: white;
    position: absolute; top: 44px; left: var(--space-xl);
    /* Outer ring drawn as a shadow so the photo fills the whole
       72×72 disc — a `border` would carve 5px off the inside and
       leave the fallback colour ringing the image. */
    box-shadow: 0 0 0 5px var(--raised);
    z-index: 1;
  }
  .profile-card-body { padding: 48px var(--space-xl) var(--space-xl); }
  .profile-card-name { font-size: 18px; font-weight: 700; color: var(--ink); }
  .profile-card-tag { font-size: var(--font-sm); color: var(--ink-muted); margin-bottom: 4px; }
  .profile-card-last-seen { font-size: var(--font-xs); color: var(--ink-muted); margin-bottom: var(--space-md); }
  .profile-card-status {
    display: flex; align-items: center; gap: 6px;
    font-size: var(--font-md); color: var(--ink);
    padding: 8px 12px; margin: 0 0 var(--space-md);
    background: var(--elevated); border-radius: var(--radius-m);
  }
  .profile-card-status-emoji { font-size: 16px; line-height: 1; }
  .profile-card-status-text {
    flex: 1; min-width: 0;
    font-weight: 600;
    color: var(--ink);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .profile-card-status-expiry { font-size: var(--font-xs); color: var(--ink-ghost); }
  .dm-intro-status { font-size: var(--font-sm); color: var(--ink-muted); margin: 4px 0 var(--space-sm); }
  .profile-card-bio { font-size: var(--font-sm); color: var(--ink-secondary); line-height: 1.5; margin-bottom: var(--space-lg); padding-bottom: var(--space-lg); border-bottom: 1px solid var(--border); }
  .profile-card-availability {
    display: flex; flex-direction: column; gap: 4px;
    margin: 0 0 var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border);
  }
  .profile-card-availability-row {
    font-size: var(--font-sm); color: var(--ink-secondary);
    display: flex; align-items: center; gap: 6px;
  }
  .profile-card-availability-row:empty { display: none; }
  .profile-card-actions { display: flex; gap: var(--space-sm); }
  .profile-card-btn {
    flex: 1; padding: 10px; border: none; border-radius: var(--radius-m);
    font-family: inherit; font-size: var(--font-sm); font-weight: 600; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: var(--space-xs);
    transition: background var(--transition), border-color var(--transition), color var(--transition), opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  }
  .profile-card-btn.primary { background: var(--accent); color: white; }
  .profile-card-btn.primary:hover { background: var(--accent-hover); }
  .profile-card-btn.secondary { background: var(--elevated); color: var(--ink-secondary); }
  .profile-card-btn.secondary:hover { background: var(--float); color: var(--ink); }
  .profile-card-btn.danger { background: var(--coral-soft); color: var(--coral); }
  .profile-card-btn.danger:hover { background: var(--coral); color: white; }

  /* Member list items are now clickable */
  .member-item { cursor: pointer; }
  .member-item:hover { background: var(--elevated); border-radius: var(--radius-s); }
