.notif-list { display: flex; flex-direction: column; gap: 0.5rem; max-width: 42rem; }

/* Wrapper holds notif-item + 3-dot side by side */
.notif-item-wrap {
  display: flex; align-items: stretch; gap: 0.375rem;
}
.notif-item-wrap .notif-item { flex: 1; }

/* 3-dot column */
.notif-dots-wrap { position: relative; display: flex; align-items: center; }
.notif-dots-btn {
  width: 2rem; height: 2rem; border: none; background: none;
  color: oklch(0.92 0.04 15 / 0.45); cursor: pointer; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s; flex-shrink: 0;
}
.notif-dots-btn:hover { background: oklch(0.92 0.04 15 / 0.08); color: var(--rose); }
.notif-dots-btn svg { width: 1.125rem; height: 1.125rem; }
.notif-dots-menu {
  position: absolute; right: 0; top: 2.25rem; z-index: 50;
  background: oklch(0.2 0.08 18);
  border: 1px solid oklch(0.92 0.04 15 / 0.12);
  border-radius: 0.625rem; overflow: hidden;
  box-shadow: 0 6px 24px oklch(0 0 0 / 0.5); min-width: 8rem;
}
.notif-dots-item {
  display: flex; align-items: center; gap: 0.5rem;
  width: 100%; padding: 0.5rem 0.75rem; border: none; background: none;
  color: oklch(0.65 0.22 22); font-size: 0.8rem; cursor: pointer;
  transition: background 0.1s;
}
.notif-dots-item:hover { background: oklch(0.55 0.22 22 / 0.1); }
.notif-dots-item svg { width: 0.8rem; height: 0.8rem; fill: none; stroke: currentColor; stroke-width: 1.75; flex-shrink: 0; }

.notif-item {
  display: flex; align-items: center; gap: 1rem; padding: 1rem; border-radius: 1rem;
  background: oklch(0.92 0.04 15 / 0.05);
  box-shadow: inset 0 0 0 1px oklch(0.92 0.04 15 / 0.1);
  transition: background 0.15s ease;
  text-decoration: none; color: inherit; cursor: pointer;
}
.notif-item.unread { background: oklch(0.92 0.04 15 / 0.1); }
.notif-item:hover { background: oklch(0.92 0.04 15 / 0.12); }
.notif-body .line em { font-style: normal; opacity: 0.7; }

.notif-icon {
  width: 2.5rem; height: 2.5rem; border-radius: 9999px; flex-shrink: 0;
  background: oklch(0.15 0.07 18 / 0.4); display: grid; place-items: center;
}
.notif-icon svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.75; }
.notif-icon.like, .notif-icon.mention { color: var(--rose-hot); }
.notif-icon.comment, .notif-icon.system { color: var(--bubble-deep); }
.notif-icon.follow { color: var(--rose); }
.notif-icon.thread-vote { color: oklch(0.72 0.18 280); }
.notif-icon.thread-vote svg { fill: currentColor; stroke: none; }
.notif-icon.report { color: oklch(0.72 0.2 30); }
.notif-icon.warning { color: oklch(0.82 0.2 75); }
.notif-icon.warning svg { fill: oklch(0.82 0.2 75 / 0.15); stroke: currentColor; }
.notif-icon.deleted { color: oklch(0.65 0.22 22); }
.notif-icon.reviewed { color: oklch(0.72 0.2 145); }
.notif-icon.reviewed svg { stroke: currentColor; fill: none; }
.notif-icon.default { color: oklch(0.92 0.04 15 / 0.7); }

.notif-body { flex: 1; min-width: 0; }
.notif-body .line { font-size: 0.875rem; color: var(--rose); line-height: 1.4; }
.notif-body .line .actor { font-weight: 600; margin-right: 0.25rem; }
.notif-body .preview { font-size: 0.75rem; color: oklch(0.92 0.04 15 / 0.6); margin-top: 0.125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.notif-time { font-size: 0.6875rem; color: oklch(0.92 0.04 15 / 0.5); white-space: nowrap; }

.notif-empty { padding: 5rem 0; text-align: center; color: oklch(0.92 0.04 15 / 0.5); font-family: var(--font-mono); font-size: 0.875rem; }

/* Follow-request row */
.notif-request { cursor: default; align-items: center; flex-wrap: wrap; gap: 0.75rem; }
.notif-req-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
.notif-req-btn {
  padding: 0.375rem 0.875rem; border-radius: 9999px; border: none; cursor: pointer;
  font-size: 0.8rem; font-weight: 600; font-family: var(--font-sans); line-height: 1;
  transition: opacity 0.15s;
}
.notif-req-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.notif-req-btn.confirm { background: var(--rose-hot); color: #fff; }
.notif-req-btn.confirm:hover:not(:disabled) { opacity: 0.85; }
.notif-req-btn.ignore  { background: oklch(0.92 0.04 15 / 0.12); color: oklch(0.92 0.04 15 / 0.8); }
.notif-req-btn.ignore:hover:not(:disabled)  { background: oklch(0.92 0.04 15 / 0.18); }

/* ── Two-column layout ───────────────────────────────────────── */
.notif-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 720px) {
  .notif-layout { grid-template-columns: 3fr 1fr; gap: 2rem; }
}

.notif-main-col { min-width: 0; }

/* ── Extras panel (right side, ~quarter of screen) ────────────── */
.notif-extras-col {
  background: oklch(0.92 0.04 15 / 0.045);
  border: 1px solid oklch(0.92 0.04 15 / 0.12);
  border-radius: 1.25rem;
  padding: 1.25rem 1.125rem 1rem;
  position: sticky;
  top: 1.5rem;
}
.extras-eyebrow {
  font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: oklch(0.92 0.04 15 / 0.5); font-weight: 700;
  margin: 0 0 1rem 0.25rem;
}
.extras-list { display: flex; flex-direction: column; gap: 0.25rem; }
.extras-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 0.625rem; border-radius: 0.875rem;
  transition: background 0.15s;
}
.extras-item:hover { background: oklch(0.92 0.04 15 / 0.07); }
.extras-icon {
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: oklch(0.15 0.07 18 / 0.5);
  display: grid; place-items: center; flex-shrink: 0;
  color: oklch(0.92 0.04 15 / 0.5);
}
.extras-icon svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.75; }
.extras-icon.like, .extras-icon.mention { color: var(--rose-hot); }
.extras-icon.follow { color: var(--rose); }
.extras-icon.comment { color: var(--bubble-deep, oklch(0.6 0.15 250)); }
.extras-body {
  flex: 1; min-width: 0;
  font-size: 0.8125rem; color: oklch(0.92 0.04 15 / 0.7);
  line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.extras-actor { font-weight: 700; color: oklch(0.92 0.04 15 / 0.9); }
.extras-time {
  font-size: 0.6875rem; color: oklch(0.92 0.04 15 / 0.4);
  white-space: nowrap; flex-shrink: 0; font-family: var(--font-mono);
}
.extras-delete {
  width: 1.625rem; height: 1.625rem;
  border: none; background: none; cursor: pointer; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 0;
  color: oklch(0.92 0.04 15 / 0.3);
  transition: color 0.15s, background 0.15s;
}
.extras-delete:hover { color: oklch(0.65 0.22 22); background: oklch(0.55 0.22 22 / 0.1); }
.extras-delete svg { width: 0.8125rem; height: 0.8125rem; fill: none; stroke: currentColor; }
