.brand { position: relative; }
.bell { margin-left: auto; position: relative; }
.bell-btn { background: transparent; border: 1px solid var(--line); cursor: pointer; font-size: 12px; font-weight: 600; position: relative; padding: 4px 10px; border-radius: 8px; color: var(--ink); }
.bell-btn:hover { background: var(--blush); }
.bell-badge, .nav-badge { background: var(--bad); color: #fff; border-radius: 999px; font-size: 11px; padding: 1px 6px; font-weight: 700; }
.bell-badge { position: absolute; top: -4px; right: -6px; }
.nav-badge { margin-left: 8px; }
.bell-panel {
  position: absolute; left: 0; top: 38px; width: min(340px, 90vw); max-height: 72vh; overflow: auto;
  background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.22); z-index: 60; padding: 0; margin: 0;
}
.bell-panel[popover] { position: fixed; inset: 64px auto auto 16px; }
.bell-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); gap: 8px; }
.bell-list { list-style: none; margin: 0; padding: 0; }
.bell-list li a { display: block; padding: 10px 12px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.bell-list li a:hover { background: var(--blush); }
.bell-list li.unread { background: var(--warn-bg); }
.bell-list .t { font-weight: 600; font-size: 13px; }
.bell-list .b { font-size: 12px; color: var(--muted); margin-top: 2px; white-space: pre-wrap; }
.bell-list .w { font-size: 11px; color: var(--muted); margin-top: 2px; }
.bell-foot { display: block; text-align: center; padding: 10px; font-size: 13px; font-weight: 600; }
