/* ── Client-side search highlighting (#4) ── */
.memory-card.search-hidden {
  opacity: 0.2 !important;
  pointer-events: none !important;
  filter: grayscale(0.5);
  transition: opacity 220ms ease, filter 220ms ease;
}

.memory-card.search-match {
  box-shadow:
    0 0 0 2px rgba(31, 111, 139, 0.5),
    0 12px 36px rgba(31, 111, 139, 0.18) !important;
  z-index: 3 !important;
}