/* Social notification surface: neutral, compact, and centered on the post itself. */
.notif-filter-tabs {
  gap: 18px;
  padding: 4px 18px 0;
  background: transparent;
  border-bottom: 1px solid var(--t-border-subtle);
}
.notif-tab {
  min-height:44px;
  padding: 10px 0 11px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--t-text-muted);
  font-size: 12px;
}
.notif-tab:hover { background: transparent; border-color: transparent; color: var(--t-text-primary); }
.notif-tab.active {
  position: relative;
  color: var(--t-text-primary) !important;
  background: transparent !important;
  border-color: transparent !important;
}
.notif-tab.active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--t-text-primary);
  content: "";
}
.notif-tab span:not(:empty) { color: inherit; font-size: 10px; }
.notif-modal-summary { color: var(--t-text-muted); }
.notif-modal-dialog { background: var(--t-bg-modal); border-color: var(--t-border-subtle); box-shadow: 0 18px 48px var(--t-shadow); }
.notif-modal-header { border-color: var(--t-border-subtle); }
.notif-modal-body { gap: 0; padding: 2px 16px 12px; }
.notif-item,
.notif-item.unread {
  align-items: center !important;
  gap: 12px;
  padding: 12px 2px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--t-border-subtle) !important;
  border-radius: 0 !important;
  background: transparent !important;
  transform: none !important;
}
.notif-item:hover { background: var(--t-bg-card-hover) !important; border-color: var(--t-border-subtle) !important; }
.notif-avatar-wrapper { width: 42px; height: 42px; }
.notif-avatar-wrapper .avatar { width: 42px !important; height: 42px !important; min-width: 42px !important; min-height: 42px !important; }
.notif-type-icon-badge { background: var(--t-bg-modal); border-color: var(--t-bg-modal); box-shadow: none; }
.notif-type-icon-badge svg { color: var(--t-text-secondary); }
.notif-type-icon-badge svg[fill]:not([fill="none"]),
.notif-type-icon-badge svg [fill]:not([fill="none"]) { fill: var(--t-text-secondary); }
.notif-type-icon-badge svg[stroke]:not([stroke="none"]),
.notif-type-icon-badge svg [stroke]:not([stroke="none"]) { stroke: var(--t-text-secondary); }
.notif-content-wrap { gap: 5px; }
.notif-text-primary, .notif-text-primary strong { color: var(--t-text-primary); }
.notif-text-primary { font-size: 13px; }
.notif-meta-row { color: var(--t-text-muted); font-size: 11px; }
.notif-post-preview {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: var(--t-text-secondary);
  font-size: 12px;
  line-height: 1.35;
}
.notif-post-preview img {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 5px;
  background: var(--t-bg-input);
  object-fit: cover;
}
.notif-post-preview span {
  min-width: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.notif-comment-preview { color: var(--t-text-secondary); }
.notif-item-read-btn { display: none !important; }
.notif-hdr-action-btn { color: var(--t-text-muted); }
.notif-item :is(button,a):focus-visible,.notif-tab:focus-visible,.notif-hdr-action-btn:focus-visible,.notif-modal-close-btn:focus-visible { outline-color: var(--t-border-focus); }
@media (max-width: 768px) {
  .notif-modal-body { padding: 2px 14px max(16px, env(safe-area-inset-bottom)); }
  .notif-item { padding: 13px 0 !important; }
}
