.notification-button {
  position: relative;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .1);
  color: inherit;
  font-size: 1.05rem;
}
.notification-button.light { background: white; color: var(--navy); box-shadow: 0 1px 3px rgba(20, 43, 85, .08); }
.notification-button:hover { background: rgba(255, 255, 255, .18); }
.notification-button.light:hover { background: #f3f6fb; }
.notification-badge {
  position: absolute;
  right: -4px;
  top: -5px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border: 2px solid var(--navy);
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: white;
  font-size: .62rem;
  line-height: 1;
  font-weight: 900;
}
.notification-button.light .notification-badge { border-color: var(--page); }
.notification-dialog { width: min(520px, calc(100% - 24px)); }
.notification-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
}
.notification-list { max-height: min(62vh, 570px); overflow: auto; }
.notification-item {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 11px minmax(0, 1fr);
  gap: 12px;
  padding: 17px 22px;
  background: white;
  color: var(--ink);
  text-align: left;
}
.notification-item:last-child { border-bottom: 0; }
.notification-item:hover { background: #f7f9fd; }
.notification-item.unread { background: #f1f6ff; }
.notification-dot { width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; background: transparent; }
.notification-item.unread .notification-dot { background: var(--blue); }
.notification-copy strong, .notification-copy span, .notification-copy time { display: block; }
.notification-copy strong { font-size: .88rem; }
.notification-copy span { margin-top: 4px; color: var(--muted); font-size: .79rem; line-height: 1.45; }
.notification-copy time { margin-top: 7px; color: #929cad; font-size: .68rem; }
.notification-empty { padding: 46px 24px; text-align: center; color: var(--muted); }
.notification-empty strong { display: block; margin-bottom: 5px; color: var(--ink); }
@media (max-width: 700px) {
  .notification-dialog { margin: auto 12px 12px; width: calc(100% - 24px); max-height: 82vh; }
  .notification-toolbar { padding: 12px 18px; }
  .notification-item { padding: 16px 18px; }
  .sidebar-foot .notification-button { margin-left: auto; }
  .sidebar-foot .user-mini { display: none; }
}
