/* ── Notif items ── */
.ni {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  margin: 8px 25px;
  border-radius: 7px;
  border: 1px solid var(--b);
  background: var(--w);
  position: relative;
  cursor: pointer;
  transition: box-shadow .15s, background .1s;
}
.ni:hover { box-shadow: 0 2px 10px rgba(0,0,0,.07); background: var(--bs) }
.ni.unread { background: var(--al); border-color: var(--ab) }
.nidot {
  position: absolute;
  left: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--a);
  border: 1.5px solid var(--w);
}
.niico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fd);
  font-size: 1rem;
  color: #fff;
  font-style: italic;
  overflow: hidden;
}
.niew {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--al);
  border-radius: 50%;
}
.niew svg { width: 18px; height: 18px }
.nitxt { font-size: .8rem; color: var(--ink); line-height: 1.45 }
.nitxt strong { font-weight: 700 }
.nipre {
  font-size: .72rem;
  color: var(--i3);
  margin-top: 4px;
  background: var(--bs);
  border-radius: 6px;
  padding: 4px 8px;
  font-style: italic;
  border-left: 2px solid var(--ab);
  line-height: 1.4;
}
.nitime { font-size: .62rem; color: var(--i4); margin-top: 4px }

/* ── Filter dropdown ── */
.nflt { position: relative; z-index: 500 }
.nflt-btn { display: flex; align-items: center; gap: 5px; background: none; border: none; cursor: pointer; color: var(--i3); font-size: .78rem; font-weight: 500; padding: 4px 8px; border-radius: 7px; transition: color .12s }
.nflt-btn:hover { color: var(--ink) }
.nflt-btn svg { width: 18px; height: 18px }
.nflt-label { font-size: .74rem; color: var(--i3) }
.nflt-label.active { color: var(--a); font-weight: 600 }
.nflt-menu { display: none; position: absolute; top: calc(100% + 6px); right: 0; background: var(--w); border: 1px solid var(--b); border-radius: 10px; padding: 4px 0; z-index: 500; min-width: 150px; box-shadow: 0 4px 20px rgba(0,0,0,.1); white-space: nowrap }
.nflt-menu.open { display: block }
.nflt-item { display: flex; align-items: center; justify-content: space-between; padding: 9px 14px; font-size: .8rem; color: var(--i2); cursor: pointer; transition: background .1s; border: none; background: none; width: 100%; text-align: left }
.nflt-item:hover { background: var(--bs) }
.nflt-item.on { color: var(--ink); font-weight: 600 }
.nflt-item.on::after { content: '✓'; color: var(--a); font-size: .8rem }
