/* The notification bell and its panel. */
.bell{position:relative;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;border:1px solid var(--line);background:var(--card-on);color:var(--fg);padding:0}
.bell svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bell .badge{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:var(--bad);color:#2B1B2D;font-size:11px;font-weight:800;line-height:18px;text-align:center}
.notify-panel{position:fixed;z-index:60;top:64px;right:12px;width:min(380px,calc(100vw - 24px));max-height:min(560px,calc(100vh - 84px));display:flex;flex-direction:column;border:1px solid var(--line);border-radius:18px;background:var(--deep);box-shadow:0 18px 50px rgba(0,0,0,.45);overflow:hidden}
.notify-panel header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 14px;border-bottom:1px solid var(--line)}
.notify-panel header .row{gap:6px}
.notify-list{overflow:auto;margin:0;padding:0;list-style:none}
.notify-item{display:block;width:100%;text-align:left;background:none;border:0;border-bottom:1px solid var(--line);padding:12px 14px;color:var(--fg)}
.notify-item:last-child{border-bottom:0}
.notify-item.unread{background:var(--card-on)}
.notify-item strong{display:block;font-size:14px}
.notify-item span{display:block;color:var(--muted);font-size:13px;margin-top:2px}
.notify-item time{display:block;color:var(--muted);font-size:12px;margin-top:4px;font-family:var(--mono)}
.notify-empty{padding:28px 14px;text-align:center;color:var(--muted)}
.notify-prefs{padding:12px 14px;overflow:auto}
.notify-prefs table{width:100%;border-collapse:collapse;font-size:14px}
.notify-prefs th{font-size:12px;color:var(--muted);font-weight:600;text-align:center}
.notify-prefs th:first-child,.notify-prefs td:first-child{text-align:left}
.notify-prefs td,.notify-prefs th{padding:7px 4px}
.notify-prefs td:not(:first-child){text-align:center}
.notify-prefs input{width:18px;height:18px}
@media (max-width:560px){.notify-panel{top:60px;right:8px;left:8px;width:auto}}
