/* ================================================
   Notification Bell
================================================ */
.notif-wrapper { position: relative; display: inline-flex; }
.notif-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.notif-btn:hover { color: var(--gold); }

.notif-badge {
  position: absolute;
  top: -2px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: #f87171;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  font-family: var(--mono);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
}
.notif-badge.hidden { display: none; }

.notif-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 320px;
  max-height: 420px;
  background: var(--bg2);
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  display: none;
  z-index: 80;
  flex-direction: column;
  overflow: hidden;
}
.notif-panel.open { display: flex; }

.notif-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
}
.notif-clear {
  background: none;
  border: none;
  color: var(--gold);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0;
}
.notif-clear:hover { color: #e8c875; }

.notif-list {
  overflow-y: auto;
  flex: 1;
}
.notif-item {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: background 0.1s;
}
.notif-item:hover { background: rgba(255,255,255,0.02); }
.notif-item:last-child { border-bottom: none; }
.notif-item.unread { border-left: 2px solid var(--gold); padding-left: 12px; }
.notif-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.notif-body { flex: 1; min-width: 0; }
.notif-text {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}
.notif-item.unread .notif-text { color: var(--text); }
.notif-time {
  font-size: 10px;
  color: var(--text-muted);
  font-family: var(--mono);
  margin-top: 3px;
}

.notif-empty {
  padding: 24px 14px;
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-muted);
}
