@charset "UTF-8";
/* A top-layer panel covers the navigation; the document keeps its exact layout. */
.nc-panel { position: fixed; inset: 0 auto 0 0; margin: 0; padding: 0; width: 460px; max-width: 100vw; height: 100vh; height: 100dvh; max-height: none; border: 0; border-right: 1px solid var(--app-line); border-radius: 0 20px 20px 0; background: var(--theme-surface,#fff); color: var(--app-ink); font: calc(14px * var(--app-font-scale, 1))/1.5 var(--app-font); overflow: hidden; }
.nc-panel[open] { display: flex; flex-direction: column; animation: nc-enter .2s ease-out; }
.nc-panel::backdrop { background: transparent; }
.nc-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 30px 26px 14px; }
.nc-header h2 { margin: 0; font-size: calc(27px * var(--app-font-scale, 1)); font-weight: 750; letter-spacing: -.9px; }
.nc-close { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex: 0 0 40px; }
.nc-close:hover { background: var(--app-soft); }
.nc-tools { display: flex; justify-content: flex-end; padding: 0 28px 12px; }
.nc-read-all { padding: 0; font-size: calc(12px * var(--app-font-scale, 1)); font-weight: 600; color: var(--app-accent); }
.nc-read-all:disabled { color: var(--theme-muted,#a1a5ac); opacity: 1; }
.nc-filters { display: flex; gap: 7px; padding: 0 26px 20px; overflow-x: auto; scrollbar-width: none; flex-shrink: 0; }
.nc-filters::-webkit-scrollbar { display: none; }
.nc-filter { padding: 8px 15px; border: 1px solid var(--app-line); border-radius: 24px; white-space: nowrap; font-size: calc(13px * var(--app-font-scale, 1)); font-weight: 600; }
.nc-filter:hover { background: var(--theme-raised,#fafafa); }
.nc-filter[aria-pressed="true"] { background: var(--app-accent); border-color: var(--app-accent); color: var(--app-on-accent); }
.nc-scroll { min-height: 0; flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 14px max(24px,env(safe-area-inset-bottom)); scrollbar-width: thin; }
.nc-group { padding: 0 0 18px; }
.nc-group + .nc-group { border-top: 1px solid var(--app-line); padding-top: 20px; margin: 0 10px; }
.nc-group + .nc-group .nc-item { margin: 0 -10px; }
.nc-group h3 { margin: 0 12px 10px; font-size: calc(16px * var(--app-font-scale, 1)); font-weight: 700; }
.nc-group + .nc-group h3 { margin-left: 2px; }
.nc-item { position: relative; display: flex; align-items: center; gap: 12px; min-height: 86px; padding: 12px; border-radius: 12px; }
.nc-item:hover { background: var(--theme-raised,#f8f9fa); }
.nc-avatar { position: relative; display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: var(--theme-soft,#f2f3f5); color: var(--theme-muted,#9499a3); }
.nc-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nc-item-body { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.nc-copy { margin: 0; flex: 1; font-size: calc(14px * var(--app-font-scale, 1)); line-height: 1.55; word-break: keep-all; overflow-wrap: anywhere; white-space: pre-line; }
.nc-copy strong { font-weight: 700; }
.nc-time { color: var(--theme-muted,#90959f); white-space: nowrap; font-size: calc(12px * var(--app-font-scale, 1)); }
.nc-thumbnail { flex: 0 0 48px; width: 48px; height: 58px; object-fit: cover; border-radius: 7px; }
.nc-unread, .nc-read-space { padding: 0; width: 20px; height: 36px; flex: 0 0 20px; display: grid; place-items: center; margin-right: -6px; }
.nc-unread::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--app-accent); }
.nc-new, .nc-more, .nc-retry { display: block; padding: 12px 18px; margin: 10px auto; font-size: calc(13px * var(--app-font-scale, 1)); font-weight: 600; color: var(--app-accent); border-radius: 12px; }
.nc-new { background: var(--app-accent-soft); width: calc(100% - 24px); }
.nc-more:hover, .nc-retry:hover { background: var(--app-soft); }
.nc-status { text-align: center; font-size: calc(13px * var(--app-font-scale, 1)); color: var(--theme-muted,#858a94); padding: 0 20px; }
.nc-status:empty { display: none; }
.nc-empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 80px 20px; gap: 16px; }
.nc-empty > .ui-icon { width: 44px; height: 44px; flex-basis: 44px; color: var(--theme-subtle,#b5b9c1); }
.nc-empty strong { font-size: calc(17px * var(--app-font-scale, 1)); }
.nc-empty p { margin: 0; font-size: calc(13px * var(--app-font-scale, 1)); color: var(--theme-muted,#9398a0); }
[data-notifications] { position: relative; }
[data-notification-badge] { position: absolute; top: 6px; left: 30px; width: 10px; min-width: 0; height: 10px; padding: 0; display: block; border: 2px solid var(--theme-line,#fff); border-radius: 50%; background: #ff3040; }
.app-mobile-actions [data-notification-badge] { left: 23px; top: 3px; }
.nc-summary-bubble { display: none; position: absolute; flex-wrap: wrap; justify-content: center; width: max-content; box-sizing: border-box; z-index: 45; align-items: center; gap: 1px; padding: 4px 6px; border-radius: 12px; background: #ff3040; color: #fff; box-shadow: 0 4px 14px rgb(255 48 64 / .2); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-5px) scale(.96); transform-origin: center top; transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; }
.nc-summary-bubble.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1); transition-delay: 0s; }
.nc-summary-bubble::before { content: ''; position: absolute; left: calc(50% - 4px); top: -4px; width: 8px; height: 8px; background: inherit; transform: rotate(45deg); }
.nc-summary-item { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 28px; padding: 4px 5px; border-radius: 7px; color: inherit; font: 650 calc(13px * var(--app-font-scale, 1))/1 var(--app-font); white-space: nowrap; }
.nc-summary-item:hover,.nc-summary-item:focus-visible { background: rgb(255 255 255 / .16); }
.nc-summary-item:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.nc-summary-item > .ui-icon { width: 16px; height: 16px; flex-basis: 16px; }
.nc-summary-item .ui-icon--heart { --ui-icon: url("../../shared/assets/icons/heart-fill.svg"); }
.nc-summary-at { width: 16px; font-size: calc(16px * var(--app-font-scale, 1)); }
@media (min-width: 641px) and (hover: hover) and (pointer: fine) { .nc-summary-bubble { display: inline-flex; } }
[data-notifications] .ui-icon--filled.ui-icon--heart { --ui-icon: url("../../shared/assets/icons/heart-fill.svg"); }
@keyframes nc-enter { from { transform: translateX(-24px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@media (max-width: 640px) {
    .nc-panel { width: 100%; border-radius: 0; }
    .nc-header { padding: max(18px,env(safe-area-inset-top)) 20px 12px; }
    .nc-header h2 { font-size: calc(24px * var(--app-font-scale, 1)); }
    .nc-tools { padding-right: 22px; }
    .nc-filters { padding-left: 20px; padding-right: 20px; }
    .nc-scroll { padding-left: 8px; padding-right: 8px; }
}
@media (prefers-reduced-motion: reduce) { .nc-panel[open] { animation: none; } .nc-summary-bubble { transition: none; transform: none; } }
