/* ============================================================
   AU Faculty Research Hub v3
   Palette: AU red accent (#84001E) on warm neutrals — DM Sans
   v3 principles: real data only, honest empty states
   ============================================================ */

:root, [data-theme="light"] {
  --color-bg:             #f6f4f1;
  --color-surface:        #f9f8f6;
  --color-surface-2:      #fdfcfb;
  --color-surface-offset: #f0ede9;
  --color-surface-dynamic:#e8e4de;
  --color-divider:        #dbd8d2;
  --color-border:         #cec9c2;
  --color-text:           #1e1b16;
  --color-text-muted:     #6b6760;
  --color-text-faint:     #b0ada8;
  --color-text-inverse:   #f9f8f6;
  --color-primary:        #84001E;
  --color-primary-hover:  #6a0018;
  --color-primary-active: #500012;
  --color-primary-highlight: #f0dde1;
  --color-success:        #3a7a22;
  --color-gold:           #b07a00;
  --color-blue:           #005a8e;
  --color-purple:         #6a2faa;
  --color-teal:           #017070;
  --color-orange:         #b85c00;
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px oklch(0.2 0.01 50 / 0.06);
  --shadow-md: 0 4px 12px oklch(0.2 0.01 50 / 0.09);
  --shadow-lg: 0 12px 32px oklch(0.2 0.01 50 / 0.13);
  --transition: 160ms cubic-bezier(0.16, 1, 0.3, 1);
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.8125rem);
  --text-sm:   clamp(0.8125rem,0.78rem + 0.2vw,  0.875rem);
  --text-base: clamp(0.875rem, 0.85rem + 0.2vw,  0.9375rem);
  --text-lg:   clamp(1rem,     0.95rem + 0.35vw, 1.125rem);
  --text-xl:   clamp(1.125rem, 1rem    + 0.75vw, 1.375rem);
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem;
  --space-4: 1rem;    --space-5: 1.25rem;--space-6: 1.5rem;
  --space-8: 2rem;    --space-10: 2.5rem;--space-12: 3rem;
  /* School palette — light theme */
  --school-cas:   #84001E;
  --school-spa:   #005a8e;
  --school-sis:   #017070;
  --school-wcl:   #3a7a22;
  --school-soc:   #c2185b;
  --school-kogod: #6a2faa;
  --school-soe:   #455a64;
  --school-other: #6b6760;
  --link-weak:    #b5b1ab;
}
[data-theme="dark"] {
  --color-bg:             #141210;
  --color-surface:        #1a1714;
  --color-surface-2:      #1e1c19;
  --color-surface-offset: #1c1a17;
  --color-surface-dynamic:#2a2825;
  --color-divider:        #242220;
  --color-border:         #363330;
  --color-text:           #ccc9c4;
  --color-text-muted:     #766f67;
  --color-text-faint:     #504c47;
  --color-text-inverse:   #2a2724;
  --color-primary:        #e05a7a;
  --color-primary-hover:  #f07090;
  --color-primary-active: #f890a8;
  --color-primary-highlight: #3a1f24;
  --color-success:        #5faa3f;
  --color-gold:           #e8af34;
  --color-blue:           #5591c7;
  --color-purple:         #a86fdf;
  --color-teal:           #4f98a3;
  --color-orange:         #fdab43;
  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.25);
  --shadow-md: 0 4px 12px oklch(0 0 0 / 0.35);
  --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.45);
  /* School palette — brighter variants for dark backgrounds */
  --school-cas:   #e8607e;
  --school-spa:   #55a4dd;
  --school-sis:   #43b8b8;
  --school-wcl:   #7cc85a;
  --school-soc:   #f27bae;
  --school-kogod: #b088ee;
  --school-soe:   #93aebc;
  --school-other: #a8a39c;
  --link-weak:    #4e4a45;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #141210; --color-surface: #1a1714; --color-surface-2: #1e1c19;
    --color-surface-offset: #1c1a17; --color-surface-dynamic: #2a2825;
    --color-divider: #242220; --color-border: #363330;
    --color-text: #ccc9c4; --color-text-muted: #766f67; --color-text-faint: #504c47;
    --color-text-inverse: #2a2724;
    --color-primary: #e05a7a; --color-primary-hover: #f07090; --color-primary-active: #f890a8;
    --color-primary-highlight: #3a1f24;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.25);
    --shadow-md: 0 4px 12px oklch(0 0 0 / 0.35);
    --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.45);
    --school-cas:   #e8607e;
    --school-spa:   #55a4dd;
    --school-sis:   #43b8b8;
    --school-wcl:   #7cc85a;
    --school-soc:   #f27bae;
    --school-kogod: #b088ee;
    --school-soe:   #93aebc;
    --school-other: #a8a39c;
    --link-weak:    #4e4a45;
  }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; overflow: hidden; font-family: var(--font-body); font-size: var(--text-sm); color: var(--color-text); background: var(--color-bg); -webkit-font-smoothing: antialiased; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input { font: inherit; color: inherit; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: oklch(from var(--color-primary) l c h / 0.18); color: var(--color-text); }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; border-radius: var(--radius-sm); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

/* ── App Shell ── */
.app {
  display: grid;
  grid-template-columns: 320px 1fr;
  grid-template-rows: 48px 1fr;
  height: 100dvh;
}

/* ── Top Bar ── */
.topbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: 0 var(--space-4);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-divider);
  z-index: 20;
}
.topbar-logo { display: flex; align-items: center; gap: var(--space-2); flex-shrink: 0; }
.topbar-logo svg { width: 28px; height: 28px; }
.topbar-title { font-size: var(--text-base); font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.topbar-subtitle { font-size: var(--text-xs); color: var(--color-text-muted); margin-left: var(--space-1); display: none; }
@media (min-width: 700px) { .topbar-subtitle { display: inline; } }
.topbar-divider { width: 1px; height: 20px; background: var(--color-divider); flex-shrink: 0; }
.topbar-search { flex: 1; max-width: 340px; position: relative; }
.topbar-search input {
  width: 100%;
  height: 30px;
  padding: 0 var(--space-3) 0 var(--space-8);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.topbar-search input:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px oklch(from var(--color-primary) l c h / 0.12); }
.topbar-search .search-icon {
  position: absolute;
  left: var(--space-2);
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-faint);
  pointer-events: none;
}
.topbar-actions { display: flex; align-items: center; gap: var(--space-2); margin-left: auto; }
.btn-icon {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  transition: background var(--transition), color var(--transition);
}
.btn-icon:hover { background: var(--color-surface-offset); color: var(--color-text); }
.stat-pill {
  display: flex; align-items: center; gap: var(--space-1);
  padding: 0 var(--space-2);
  height: 24px;
  background: var(--color-surface-offset);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  white-space: nowrap;
}
.stat-pill strong { color: var(--color-text); font-weight: 600; }

/* ── Left Panel: Profiles Directory ── */
.profiles-panel {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border-right: 1px solid var(--color-divider);
  overflow: hidden;
}
.panel-header {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-divider);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.panel-header h2 { font-size: var(--text-sm); font-weight: 600; letter-spacing: -0.01em; }
.panel-tabs {
  display: flex;
  gap: 0;
  padding: var(--space-2) var(--space-4);
  border-bottom: 1px solid var(--color-divider);
  flex-shrink: 0;
  overflow-x: auto;
}
.panel-tab {
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 500;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.panel-tab:hover { background: var(--color-surface-offset); color: var(--color-text); }
.panel-tab.active { background: var(--color-primary-highlight); color: var(--color-primary); }
.profiles-list { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.profile-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-divider);
  cursor: pointer;
  transition: background var(--transition);
  position: relative;
}
.profile-card:hover { background: var(--color-surface-offset); }
.profile-card.active { background: var(--color-primary-highlight); }
.profile-avatar {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
  flex-shrink: 0;
  color: white;
}
.profile-info { flex: 1; min-width: 0; }
.profile-name {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-dept {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-meta { display: flex; gap: var(--space-2); margin-top: var(--space-1); flex-wrap: wrap; }
.profile-badge {
  font-size: 11px;
  padding: 1px var(--space-2);
  border-radius: var(--radius-full);
  font-weight: 500;
  background: var(--color-surface-offset);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}
.profile-stat { font-size: 11px; color: var(--color-text-muted); display: flex; align-items: center; gap: 2px; }
.rank-badge {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  font-weight: 600;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}
/* skeleton */
@keyframes shimmer { 0%{background-position:-200% 0} 100%{background-position:200% 0} }
.skeleton {
  background: linear-gradient(90deg, var(--color-surface-offset) 25%, var(--color-surface-dynamic) 50%, var(--color-surface-offset) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: var(--radius-sm);
}
.skel-card { padding: var(--space-3) var(--space-4); display:flex; gap:var(--space-3); border-bottom:1px solid var(--color-divider); }
.skel-avatar { width:36px; height:36px; border-radius:50%; flex-shrink:0; }
.skel-lines { flex:1; display:flex; flex-direction:column; gap:var(--space-2); padding-top:2px; }
.skel-line { height:12px; }

/* ── Right Panel: Network Map ── */
.network-panel {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.network-toolbar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-4);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-divider);
  flex-shrink: 0;
  flex-wrap: wrap;
}
.toolbar-label { font-size: var(--text-xs); color: var(--color-text-muted); font-weight: 500; white-space: nowrap; }
.filter-chips { display: flex; gap: var(--space-1); flex-wrap: wrap; }
.chip {
  padding: 3px var(--space-3);
  font-size: var(--text-xs);
  font-weight: 500;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.chip:hover { border-color: var(--color-primary); color: var(--color-primary); }
.chip.active { background: var(--color-primary); border-color: var(--color-primary); color: white; }
.toolbar-sep { width:1px; height:18px; background:var(--color-divider); flex-shrink:0; }
.slider-group { display:flex; align-items:center; gap:var(--space-2); }
.slider-group input[type=range] { width: 80px; accent-color: var(--color-primary); cursor: pointer; }
.toggle-chip {
  display: flex; align-items: center; gap: 5px;
  padding: 3px var(--space-3); font-size: var(--text-xs); font-weight: 500;
  border-radius: var(--radius-full); border: 1px solid var(--color-border);
  background: var(--color-surface-2); color: var(--color-text-muted);
  cursor: pointer; transition: all var(--transition); white-space: nowrap;
}
.toggle-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex-shrink: 0; opacity: 0.35; }
.toggle-chip.active { border-color: var(--color-primary); color: var(--color-primary); }
.toggle-chip.active .dot { opacity: 1; }
/* ── View chips (All / Publications / Grants) + legend ── */
.view-chip {
  padding: 3px var(--space-3); font-size: var(--text-xs); font-weight: 500;
  border-radius: var(--radius-full); border: 1px solid var(--color-border);
  background: var(--color-surface-2); color: var(--color-text-muted);
  cursor: pointer; transition: all var(--transition); white-space: nowrap;
}
.view-chip:hover { border-color: var(--color-text-muted); color: var(--color-text); }
.view-chip.active[data-view="all"]          { background: var(--color-text); border-color: var(--color-text); color: var(--color-surface); }
.view-chip.active[data-view="publications"] { background: var(--color-primary); border-color: var(--color-primary); color: white; }
.view-chip.active[data-view="grants"]       { background: var(--color-gold); border-color: var(--color-gold); color: white; }
.legend-item { display: flex; align-items: center; gap: 5px; font-size: var(--text-xs); color: var(--color-text-muted); white-space: nowrap; }
.legend-line { width: 18px; height: 3px; border-radius: 2px; flex-shrink: 0; }
.grant-badge {
  font-size: 10px; padding: 1px 6px; border-radius: var(--radius-full);
  border: 1px solid var(--color-gold); color: var(--color-gold);
  background: color-mix(in srgb, var(--color-gold) 8%, transparent); font-weight: 600;
}

.btn-reset {
  padding: 4px var(--space-3);
  font-size: var(--text-xs);
  font-weight: 500;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  color: var(--color-text-muted);
  transition: all var(--transition);
  margin-left: auto;
}
.btn-reset:hover { border-color: var(--color-text-muted); color: var(--color-text); }

/* ── Data-source banner (honest provenance) ── */
.source-banner {
  display: flex; align-items: center; gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  background: var(--color-surface-offset);
  border-bottom: 1px solid var(--color-divider);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  flex-shrink: 0;
}
.source-banner.warn { color: var(--color-orange); }

/* ── SVG Canvas ── */
#network-svg { flex: 1; width: 100%; height: 100%; display: block; cursor: grab; }
#network-svg:active { cursor: grabbing; }

/* ── Profile Detail Drawer ── */
.detail-drawer {
  position: absolute;
  top: 0; right: 0;
  width: 340px;
  height: 100%;
  background: var(--color-surface-2);
  border-left: 1px solid var(--color-divider);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.detail-drawer.open { transform: translateX(0); }
.drawer-header {
  padding: var(--space-4);
  border-bottom: 1px solid var(--color-divider);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  flex-shrink: 0;
}
.drawer-avatar {
  width: 48px; height: 48px;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: var(--text-lg);
  color: white;
  flex-shrink: 0;
}
.drawer-name-block { flex: 1; min-width: 0; }
.drawer-name { font-size: var(--text-lg); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.drawer-dept { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: 2px; }
.drawer-school-badge {
  display: inline-block;
  margin-top: var(--space-1);
  padding: 2px var(--space-2);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  color: white;
}
.btn-close-drawer {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: background var(--transition);
}
.btn-close-drawer:hover { background: var(--color-surface-offset); color: var(--color-text); }
.drawer-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--color-divider);
  flex-shrink: 0;
}
.drawer-stat { padding: var(--space-3); background: var(--color-surface-2); text-align: center; }
.drawer-stat-value {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.drawer-stat-label { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: 1px; }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: var(--space-4); }
.drawer-section-title {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
  margin-top: var(--space-4);
}
.drawer-section-title:first-child { margin-top: 0; }
.topic-chips { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-bottom: var(--space-2); }
.topic-chip {
  padding: 3px var(--space-2);
  font-size: 11px;
  border-radius: var(--radius-full);
  background: var(--color-surface-offset);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}
.drawer-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  padding: var(--space-2) var(--space-3);
  background: var(--color-surface-offset);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  line-height: 1.5;
}
.drawer-note.pending { border-color: var(--color-orange); color: var(--color-orange); }
.collab-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-2);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition);
  text-decoration: none;
  color: inherit;
}
.collab-item:hover { background: var(--color-surface-offset); }
.collab-avatar {
  width: 28px; height: 28px;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: white;
  flex-shrink: 0;
}
.collab-name { font-size: var(--text-xs); font-weight: 600; }
.collab-shared { font-size: 11px; color: var(--color-text-muted); }
.drawer-links { flex-shrink: 0; border-top: 1px solid var(--color-divider); }
.drawer-ext-link {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: background var(--transition);
}
.drawer-ext-link:hover { background: var(--color-surface-offset); color: var(--color-text); text-decoration: none; }

/* ── Loading overlay ── */
.loading-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  z-index: 30;
  gap: var(--space-4);
  transition: opacity 400ms ease;
}
.loading-overlay.hidden { opacity: 0; pointer-events: none; }
.loading-spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--color-divider);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { font-size: var(--text-sm); color: var(--color-text-muted); font-weight: 500; }
.loading-sub { font-size: var(--text-xs); color: var(--color-text-faint); max-width: 50ch; text-align: center; line-height: 1.5; }

/* ── Empty / Error states ── */
.empty-state {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: var(--space-10); text-align: center;
  color: var(--color-text-muted); height: 200px;
}
.empty-state svg { color: var(--color-text-faint); margin-bottom: var(--space-3); }
.empty-state p { font-size: var(--text-xs); max-width: 26ch; line-height: 1.5; }

/* ── D3 network styles ── */
.node circle { stroke-width: 1.5; cursor: pointer; transition: opacity 200ms; }
.node circle:hover { stroke-width: 2.5; }
.node text { pointer-events: none; font-family: var(--font-body); }
.link { stroke-opacity: 0.3; transition: stroke-opacity 200ms; cursor: pointer; }
.link.highlighted { stroke-opacity: 0.85; }
.grant-link { stroke-opacity: 0.6; transition: stroke-opacity 200ms; cursor: pointer; }
.grant-link.highlighted { stroke-opacity: 1; }
.grant-link.dimmed { stroke-opacity: 0.04; }
.node.dimmed circle { opacity: 0.15; }
.node.dimmed text { opacity: 0.08; }
.link.dimmed { stroke-opacity: 0.04; }

/* ── Tooltip ── */
.net-tooltip {
  position: absolute;
  pointer-events: none;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-xs);
  box-shadow: var(--shadow-md);
  max-width: 220px;
  z-index: 5;
  opacity: 0;
  transition: opacity 120ms;
}
.net-tooltip.visible { opacity: 1; }
.net-tooltip strong { display: block; font-weight: 600; margin-bottom: 2px; }

/* ── List sections synced with the network view ── */
.list-section-header {
  padding: var(--space-2) var(--space-4);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  background: var(--color-surface-offset);
  border-bottom: 1px solid var(--color-divider);
  position: sticky;
  top: 0;
  z-index: 1;
}
.profile-card.not-in-view { opacity: 0.55; }
.profile-card.not-in-view:hover, .profile-card.not-in-view.active { opacity: 1; }
