/* 通知铃铛与面板（m13280）。放在页头右上角、账户按钮左侧。 */
.notify { position: relative; display: inline-flex; align-items: center; }
.notify__btn { position: relative; border: 0; background: transparent; font-size: 19px; line-height: 1; padding: 8px 9px;
  border-radius: 8px; cursor: pointer; color: inherit; }
.notify__btn:hover { background: rgba(127, 127, 127, .14); }
.notify__dot { position: absolute; right: 6px; bottom: 6px; width: 8px; height: 8px; border-radius: 50%;
  background: #e5484d; box-shadow: 0 0 0 2px var(--dash-bg, #fff); }
.notify__panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(360px, calc(100vw - 24px));
  max-height: min(70vh, 520px); overflow: auto; background: #fff; color: #1a1a1a; border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px; box-shadow: 0 18px 48px rgba(0,0,0,.18); z-index: 70; }
.notify__head { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-bottom: 1px solid rgba(0,0,0,.08); position: sticky; top: 0; background: #fff; }
.notify__head strong { font-size: 14px; }
.notify__head button { border: 0; background: transparent; color: #2563eb; cursor: pointer; font-size: 12px; }
.notify__unread { font-size: 12px; color: #6b7280; margin-right: auto; margin-left: 10px; }
.notify-empty { margin: 0; padding: 22px 14px; color: #6b7280; font-size: 13px; text-align: center; }
.notify-item { position: relative; padding: 12px 14px 12px; border-bottom: 1px solid rgba(0,0,0,.06); cursor: pointer; }
.notify-item:last-child { border-bottom: 0; }
.notify-item:hover { background: rgba(0,0,0,.03); }
.notify-item.is-unread { background: rgba(37, 99, 235, .05); }
.notify-item__head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.notify-item__head strong { font-size: 13px; }
.notify-item__head time { margin-left: auto; font-size: 11px; color: #9ca3af; }
.notify-item__body { margin: 6px 0 0; font-size: 12.5px; line-height: 1.6; color: #4b5563; word-break: break-word; }
.notify__tag { font-size: 10.5px; padding: 1px 6px; border-radius: 999px; background: rgba(0,0,0,.07); color: #4b5563; }
.notify__tag--new { background: #e5484d; color: #fff; }
.notify-item__clear { position: absolute; right: 10px; bottom: 8px; border: 0; background: transparent;
  color: #6b7280; font-size: 11px; cursor: pointer; }
.notify-item__clear:hover { color: #b42318; text-decoration: underline; }
@media (prefers-color-scheme: dark) {
  .notify__panel { background: #1c1d21; color: #e8e8ea; border-color: rgba(255,255,255,.14); }
  .notify__head { background: #1c1d21; border-color: rgba(255,255,255,.1); }
  .notify-item__body { color: #b5b7bd; }
}
