/* ==== SETTINGS > YOUR DATA > MANAGE MEMORY — Memory & Personalization ==== */
/* Shell, columns, rows, cards, inputs and the action strip come from
   account.css. Only the constellation and the memory rows are here.
   Monochrome: distance and brightness carry meaning, never hue. */

/* ---- the constellation: a portrait of what is remembered, never a chart ---- */
.mem-portrait {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 168px;
  margin: 2px 0 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--wear-primary);
  overflow: hidden;
}
.mem-constellation { display: block; width: 100%; height: 100%; fill: currentColor; }
/* centred over its cluster, so a name never runs past the edge it sits near */
.mem-cluster__name {
  text-anchor: middle;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.45;
}
.mem-constellation__g { animation: memDrift 9s ease-in-out infinite alternate; }
@keyframes memDrift { from { opacity: 0.72; } to { opacity: 1; } }
.settings-panel.is-reduced-motion .mem-constellation__g { animation: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .mem-constellation__g { animation: none; opacity: 1; }
}
.mem-portrait__empty {
  position: absolute;
  font-size: 12px;
  font-weight: 300;
  color: var(--wear-primary);
  opacity: 0.4;
}

/* ---- search ---- */
.mem-search { padding: 2px 0 12px; }
.mem-search .acct-input { width: 100%; height: 34px; text-align: left; }

/* ---- a stored memory ---- */
.mem-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mem-item__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mem-item__what {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--wear-primary);
}
.mem-item__meta {
  font-size: 10.5px;
  font-weight: 300;
  color: var(--wear-primary);
  opacity: 0.38;
}

/* the resolved lifetime, as a quiet chip; pinned is the only emphatic state */
.mem-life {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  height: 19px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9.5px;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--wear-primary);
  opacity: 0.6;
  white-space: nowrap;
}
.mem-life--pinned {
  border-color: var(--wear-primary);
  opacity: 0.95;
}
