.nt-wrap { position: relative; display: inline-flex; align-items: center; flex-shrink: 0; }
.nt-wrap .nt-bell { position: relative; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #ece8ed; border-radius: 10px; background: #fff; color: #393343; cursor: pointer; font-size: 17px; }
.nt-wrap .nt-bell:hover, .nt-wrap .nt-bell[aria-expanded="true"] { background: #fff3f6; color: #b20824; border-color: #efcdd7; }
.nt-count { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px; border: 2px solid #fff; border-radius: 12px; background: #b20824; color: #fff; font-size: 9px; font-weight: 700; line-height: 14px; text-align: center; }
.nt-count[hidden], .nt-dropdown[hidden] { display: none !important; }
.nt-dropdown { position: fixed; inset: auto; margin: 0; width: min(390px, calc(100vw - 24px)); padding: 0; border: 1px solid #e8e4eb; border-radius: 14px; box-shadow: 0 16px 48px #27122426; z-index: 10000; overflow: hidden; background: #fff; color: #272332; font-family: Sora, Arial, sans-serif; box-sizing: border-box; }
.nt-dropdown:not([hidden]) { display: flex; flex-direction: column; }
.nt-dropdown[popover]:not(:popover-open) { display: none; }
.nt-dropdown::backdrop { background: transparent; }
.nt-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; border-bottom: 1px solid #eeeaf0; flex-shrink: 0; }
.nt-head strong { display: block; font-size: 14px; line-height: 1.5; }
.nt-head span { display: block; margin-top: 3px; font-size: 10px; color: #8b8292; }
.nt-head button, .nt-page-mark { border: 0; border-radius: 5px; padding: 5px 0; background: transparent; color: #a32647; font: inherit; font-size: 10px; font-weight: 650; cursor: pointer; white-space: nowrap; }
.nt-head button:disabled, .nt-page-mark:disabled { color: #a29aa8; cursor: default; }
.nt-items { max-height: 360px; overflow-y: auto; overscroll-behavior: contain; min-height: 0; }
.nt-item { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #f0edf3; }
.nt-item:last-child { border-bottom: 0; }
.nt-item.unread, .nt-page-item.unread { background: #fff8fa; }
.nt-item-icon { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 9px; color: #ac3557; background: #faeaf0; font-size: 13px; }
.nt-item-text { flex: 1; min-width: 0; }
.nt-item strong { display: block; font-size: 11px; font-weight: 650; line-height: 1.6; overflow-wrap: anywhere; }
.nt-item p { margin: 4px 0 8px; color: #777080; font-size: 10px; line-height: 1.7; overflow-wrap: anywhere; }
.nt-item-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; column-gap: 14px; row-gap: 6px; }
.nt-item-meta time { color: #938b9b; font-size: 9px; line-height: 1.5; }
.nt-item-meta a { display: inline-flex; align-items: center; gap: 5px; color: #a32647; text-decoration: none; font-size: 9px; font-weight: 650; line-height: 1.5; }
.nt-item-meta a:hover { text-decoration: underline; }
.nt-item-meta a i { font-size: 8px; }
.nt-read { display: inline-grid; place-items: center; width: 26px; height: 26px; flex-shrink: 0; padding: 0; border: 1px solid #ecdbe2; border-radius: 7px; background: #fff; color: #ac3557; cursor: pointer; font-size: 10px; }
.nt-read:hover { background: #fce9f0; }
.nt-all-link { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 13px 16px; border-top: 1px solid #eeeaf0; background: #fdfbfc; color: #a32647; text-decoration: none; font-size: 10px; font-weight: 650; flex-shrink: 0; }
.nt-all-link:hover { background: #fff3f6; }
.nt-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 30px 18px; text-align: center; font-size: 11px; color: #8c8395; }
.nt-empty > i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #f8eef2; color: #b04d69; font-size: 17px; margin-bottom: 2px; }
.nt-empty strong { color: #4b4354; font-size: 12px; }
.nt-empty span { font-size: 10px; line-height: 1.7; }
.nt-retry { border: 1px solid #e9d2db; padding: 6px 12px; border-radius: 6px; background: #fff; color: #a32647; cursor: pointer; }
.nt-page { padding: 20px; margin-bottom: 20px; background: #fff; border: 1px solid #ece8ea; border-radius: 12px; }
.nt-page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #f0edf3; }
.nt-page-head h2 { margin: 0; font-size: 16px; }
.nt-page-item { display: flex; align-items: flex-start; gap: 12px; padding: 16px 10px; border-bottom: 1px solid #f0edf3; }
.nt-page-item:last-child { border-bottom: 0; }
.nt-page-content { flex: 1; min-width: 0; }
.nt-page-item strong { display: block; font-size: 12px; }
.nt-page-item p { font-size: 11px; color: #777080; line-height: 1.7; margin: 5px 0 8px; }
.nt-page-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
.nt-page-meta time { font-size: 10px; color: #938b9b; }
.nt-view { font-size: 10px; color: #a32647; text-decoration: none; font-weight: 650; }
.nt-dot { width: 7px; height: 7px; margin-top: 5px; flex-shrink: 0; border-radius: 50%; background: #d8ced5; }
.nt-page-item.unread .nt-dot { background: #b20824; }
.nt-wrap :is(button,a):focus-visible, .nt-dropdown :is(button,a):focus-visible { outline: 2px solid #b20824; outline-offset: 2px; }
.mob-topbar > .nt-wrap { margin-left: auto; margin-right: 10px; }
.nav-right > .nt-wrap { margin-right: 2px; }
@media (max-width: 480px) { .nt-head { padding: 14px; } .nt-item { padding: 12px; gap: 8px; } .nt-head strong { font-size: 13px; } .nt-head button { font-size: 9px; } .nt-page { padding: 14px; } }
@media (pointer: coarse) { .nt-wrap .nt-bell { width: 42px; height: 42px; } .nt-read { width: 34px; height: 34px; } .nt-item-meta a { min-height: 28px; } }
@media (prefers-reduced-motion: no-preference) { .nt-wrap .nt-bell { transition: background-color 150ms, border-color 150ms, color 150ms; } }
