.memories-intro {
  margin: 0 0 28px;
  color: var(--text-muted, rgba(255, 255, 255, 0.55));
  font-size: 14px;
}

.memories-loading,
.memories-empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--text-muted, rgba(255, 255, 255, 0.55));
}

.memories-empty i {
  font-size: 28px;
  opacity: 0.5;
  margin-bottom: 14px;
  display: block;
}

.memories-empty h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text, rgba(255, 255, 255, 0.92));
}

.memories-empty p {
  margin: 0 auto 8px;
  max-width: 44ch;
  font-size: 14px;
  line-height: 1.6;
}

.memories-empty__sub {
  font-size: 13px;
  opacity: 0.7;
}

.memories-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.memories-timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--border, rgba(255, 255, 255, 0.14)) 12%,
    var(--border, rgba(255, 255, 255, 0.14)) 88%,
    transparent
  );
}

.memory {
  position: relative;
  padding: 0 0 40px 30px;
}

.memory:last-child {
  padding-bottom: 8px;
}

.memory__marker {
  position: absolute;
  left: 0;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent, #7c5cff);
  box-shadow: 0 0 0 4px var(--bg, #12111c);
}

.memory:first-child .memory__marker {
  background: var(--bg, #12111c);
  border: 2px solid var(--accent, #7c5cff);
}

.memory__label {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent, #7c5cff);
}

.memory__snapshot {
  border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface, rgba(255, 255, 255, 0.03));
  max-width: 460px;
}

.memory__banner {
  height: 76px;
  background-size: cover;
  background-position: center;
}

.memory__banner--empty {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.35), rgba(124, 92, 255, 0.08));
}

.memory__head {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 0 18px;
  margin-top: -28px;
}

.memory__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--surface, #16151f);
  background: var(--surface-2, rgba(255, 255, 255, 0.06));
  flex-shrink: 0;
}

.memory__avatar--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted, rgba(255, 255, 255, 0.4));
  font-size: 20px;
}

.memory__id {
  display: flex;
  flex-direction: column;
  padding-bottom: 4px;
  min-width: 0;
}

.memory__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text, rgba(255, 255, 255, 0.92));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.memory__handle {
  font-size: 12.5px;
  color: var(--text-muted, rgba(255, 255, 255, 0.5));
}

.memory__content {
  padding: 14px 18px 4px;
}

.memory__bio {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text, rgba(255, 255, 255, 0.88));
}

.memory__nobio {
  margin: 0 0 14px;
  font-size: 14px;
  font-style: italic;
  color: var(--text-muted, rgba(255, 255, 255, 0.45));
}

.memory__links {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.memory__links li {
  padding: 4px 10px;
  border-radius: 99px;
  background: var(--surface-2, rgba(255, 255, 255, 0.06));
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  font-size: 12.5px;
  color: var(--text, rgba(255, 255, 255, 0.8));
}

.memory__meta {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--text-muted, rgba(255, 255, 255, 0.4));
}
