.noti-bell{flex:none;display:inline-flex;position:relative}.noti-bell__btn{position:relative}.noti-bell__btn[aria-expanded=true]{background:var(--primary-wash);color:var(--primary-text)}.noti-bell__icon{transform-origin:50% 2px;display:inline-flex}.noti-bell__icon.is-ringing{animation:.9s ease-in-out noti-ring}@keyframes noti-ring{0%,to{transform:rotate(0)}15%{transform:rotate(14deg)}30%{transform:rotate(-12deg)}45%{transform:rotate(8deg)}60%{transform:rotate(-5deg)}75%{transform:rotate(2deg)}}.noti-bell__badge{background:var(--primary);color:#fff;min-width:18px;height:18px;box-shadow:0 0 0 2px var(--surface);text-align:center;white-space:nowrap;pointer-events:none;border-radius:9px;padding:0 5px;font-size:11px;font-weight:700;line-height:18px;position:absolute;top:-6px;right:-6px}[data-theme=dark] .noti-bell__badge{background:var(--primary-text);color:var(--bg)}.noti-bell--admin .noti-bell__badge{border-radius:8px;min-width:16px;height:16px;padding:0 4px;font-size:10px;line-height:16px;top:-5px;right:-7px}.noti-panel{z-index:30;width:380px;max-width:calc(100vw - 24px);max-height:min(560px, calc(100dvh - var(--header-h) - 24px));background:var(--surface);color:var(--ink);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-dropdown);text-align:left;flex-direction:column;font-size:14px;line-height:1.5;animation:.16s ease-out panel-in;display:flex;position:absolute;top:calc(100% + 18px);right:0}.noti-bell--admin .noti-panel{max-height:min(560px, calc(100dvh - var(--header-admin) - 24px));top:calc(100% + 14px)}.noti-panel[hidden]{display:none}.noti-panel:focus{outline:none}.noti-panel__head{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 8px;padding:8px 8px 8px 16px;display:flex}.noti-panel__title{color:var(--ink);margin:0;font-size:15px;font-weight:700;line-height:1.4}.noti-panel__count{color:var(--subtle);font-size:13px;font-weight:500}.noti-panel__body{overscroll-behavior:contain;flex:auto;min-height:0;overflow-y:auto}.noti-panel__loading{gap:16px;padding:16px;display:grid}.noti-panel__state{text-align:center;color:var(--subtle);justify-items:center;gap:10px;padding:28px 16px;display:grid}.noti-panel__state p{margin:0}.noti-panel__foot{border-top:1px solid var(--border);padding:6px}.noti-panel__all{border-radius:var(--radius-sm);height:36px;color:var(--primary-text);justify-content:center;align-items:center;font-size:14px;font-weight:600;display:flex}.noti-panel__all:hover{background:var(--primary-wash);color:var(--primary-text)}.noti-link-btn{border-radius:var(--radius-sm);height:32px;color:var(--primary-text);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:0 8px;font-size:13px;font-weight:600;display:inline-flex}.noti-link-btn:hover:not(:disabled){background:var(--primary-wash)}.noti-link-btn:disabled{color:var(--subtle);cursor:not-allowed}.noti-panel__all:focus-visible,.noti-link-btn:focus-visible,.noti-item__remove:focus-visible{outline:2px solid var(--primary-text);outline-offset:1px}.noti-list:focus{outline:none}.noti-list__items{margin:0;padding:0;list-style:none}.noti-list__empty{text-align:center;color:var(--subtle);margin:0;padding:32px 16px}.noti-item{border-bottom:1px solid var(--row-divider);align-items:center;display:flex}.noti-item:last-child{border-bottom:0}.noti-item.is-unread{background:var(--primary-mist)}.noti-item__main{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:0;flex:auto;align-items:flex-start;gap:10px;margin:0;padding:12px 4px 12px 14px;display:flex}.noti-item__main.is-static{cursor:default}a.noti-item__main:hover,button.noti-item__main:hover{background:var(--primary-wash);color:inherit}.noti-item__main:focus-visible{outline:2px solid var(--primary-text);outline-offset:-2px}.noti-item__dot{border-radius:var(--radius-round);flex:none;width:8px;height:8px;margin-top:7px}.noti-item.is-unread .noti-item__dot{background:var(--primary-text)}.noti-item__text{flex-direction:column;gap:2px;min-width:0;display:flex}.noti-item__title{color:var(--ink);overflow-wrap:anywhere;font-size:14px;font-weight:500;line-height:1.45}.noti-item.is-unread .noti-item__title{font-weight:700}.noti-item__ext{vertical-align:-1px;color:var(--subtle);margin-left:4px;display:inline-flex}.noti-item__body{-webkit-line-clamp:2;color:var(--muted);overflow-wrap:anywhere;-webkit-box-orient:vertical;font-size:13px;line-height:1.5;display:-webkit-box;overflow:hidden}.noti-item__time{color:var(--subtle);font-size:12px;line-height:1.5}.noti-item__remove{border-radius:var(--radius-sm);width:32px;height:32px;color:var(--subtle);cursor:pointer;background:0 0;border:0;flex:none;place-items:center;margin-right:6px;padding:0;display:grid}.noti-item__remove:hover{background:var(--primary-wash);color:var(--ink)}.noti-page{max-width:820px;margin:0 auto}.noti-page__head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px 16px;margin-bottom:16px;display:flex}.noti-page__title{letter-spacing:-.02em;margin:0;font-size:clamp(24px,3vw,32px);font-weight:700;line-height:1.25}.noti-page__summary{color:var(--muted);margin:4px 0 0}.noti-page__tools{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.widget.noti-page__list{padding:0;overflow:hidden}.noti-list--page .noti-item__main{padding:16px 8px 16px 18px}.noti-list--page .noti-item__title{font-size:15px}.noti-list--page .noti-item__body{font-size:14px}.noti-page__pager{justify-content:center;margin-top:24px;display:flex}@media (max-width:1099.98px){.site-header .noti-panel{top:calc(100% + 12px)}.site-header .noti-bell__badge{top:3px;right:1px}}@media (max-width:767.98px){.noti-bell{position:static}.noti-bell .noti-panel{width:auto;max-width:none;max-height:calc(100dvh - var(--header-h) - 16px);top:calc(100% + 6px);left:8px;right:8px}.noti-bell--admin .noti-panel{max-height:calc(100dvh - var(--header-admin) - 16px)}.noti-link-btn{min-height:var(--control-touch)}.noti-panel__all{height:var(--control-touch)}.noti-item__remove{width:var(--control-touch);height:var(--control-touch);margin-right:0}.noti-list--page .noti-item__main{padding:14px 4px 14px 14px}.noti-page__tools .ant-btn{height:var(--control-touch)}.noti-page__tools .ant-segmented .ant-segmented-item-label{min-height:calc(var(--control-touch) - 4px);line-height:calc(var(--control-touch) - 4px)}}@media (max-width:359.98px){.site-header__inner:has(.noti-bell) .brand-logo__text{display:none}}@media (prefers-reduced-motion:reduce){.noti-bell__icon.is-ringing,.noti-panel{animation:none}}
