.notification-shell{position:relative;display:inline-flex;align-items:center}
.notification-trigger{position:relative;display:grid;place-items:center;width:42px;height:42px;padding:8px;border:1px solid #6d756f;border-radius:8px;background:#172c2b;color:#f1e5c8;cursor:pointer}
.notification-trigger svg{width:22px;height:22px}
.notification-trigger:hover,.notification-trigger:focus-visible{border-color:#e5be75;outline:2px solid transparent}
.notification-trigger .nav-unread{position:absolute;top:-7px;right:-8px;min-width:20px;padding:2px 5px;border-radius:999px;background:#ba373e;color:#fff;font:700 11px system-ui,sans-serif;text-align:center}
.notification-trigger .nav-unread[hidden]{display:none}
.notification-popover{position:absolute;z-index:80;top:calc(100% + 12px);right:0;width:min(390px,calc(100vw - 24px));max-height:min(76vh,650px);display:flex;flex-direction:column;padding:14px;background:#1b2731;border:1px solid #c79d54;border-radius:12px;box-shadow:0 16px 45px #0009;color:#f4e9d3}
.notification-popover[hidden]{display:none}
.notification-popover-head,.notification-tabs,.notification-popover-footer{display:flex;align-items:center;justify-content:space-between;gap:8px}
.notification-popover-head strong{font:700 22px Georgia,serif}
.notification-popover button{cursor:pointer}
.notification-close,.notification-tabs button,.notification-popover-footer button,.notification-popover-item button,.notification-popover-settings button{padding:7px 10px;border:1px solid #776b54;border-radius:6px;background:#203534;color:#f4e9d3;font:600 12px system-ui,sans-serif}
.notification-tabs{justify-content:stretch;margin:14px 0 8px}
.notification-tabs button{flex:1}
.notification-tabs .selected{background:#d9b76f;color:#162327;border-color:#d9b76f}
.notification-popover-list{overflow-y:auto;min-height:80px}
.notification-popover-item{padding:11px 2px;border-bottom:1px solid #ffffff22}
.notification-popover-item a{display:grid;gap:4px;color:inherit;text-decoration:none}
.notification-popover-item a:hover strong{text-decoration:underline}
.notification-popover-item span{font:13px/1.4 system-ui,sans-serif;color:#d8d9d4}
.notification-popover-item small{font:11px system-ui,sans-serif;color:#b9c1c0}
.notification-popover-item button{margin-top:7px}
.notification-popover-empty{padding:25px 12px;text-align:center;color:#c8d0ca}
.notification-popover-footer{justify-content:flex-end;padding-top:10px}
.notification-popover-settings{margin-top:10px;border-top:1px solid #ffffff22;padding-top:10px}
.notification-popover-settings summary{cursor:pointer;font:700 13px system-ui,sans-serif}
.notification-popover-settings form{display:grid;gap:8px;margin-top:10px}
.notification-popover-settings label{font:13px system-ui,sans-serif}
@media(max-width:600px){.notification-popover{position:fixed;top:64px;right:12px;left:12px;width:auto;max-height:calc(100dvh - 76px)}}
