/* ── 通知铃铛 ─────────────────────────────────────────────────── */
.notif-wrap { position: relative; }

.notif-btn {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  position: relative;
}
.notif-btn:hover { color: var(--text); }

.notif-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: #e05050;
  color: #fff;
  font-size: 10px;
  font-family: var(--font);
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
}

.notif-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 300px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  z-index: 100;
  overflow: hidden;
}
.notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
}
.notif-actions { display: flex; align-items: center; gap: 8px; }
.notif-read-all, .notif-clear {
  background: none;
  border: none;
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--font);
}
.notif-read-all:hover { color: var(--accent); }
.notif-clear:hover { color: #c04040; }
.notif-list { max-height: 320px; overflow-y: auto; }
.notif-item {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  line-height: 1.6;
  transition: background .15s;
}
.notif-item:last-child { border-bottom: none; }
.notif-item.unread { background: var(--accent-bg); }
.notif-item-meta { font-size: 11px; color: var(--muted); margin-top: 4px; }
.notif-empty { padding: 24px 16px; text-align: center; color: var(--muted); font-size: 13px; }
