.notifications { position: relative; flex-shrink: 0; }
.head-actions .notification-trigger { position: relative; display: grid; place-items: center; padding: 10px; background: transparent; color: var(--muted); }
.notification-trigger:hover, .notification-trigger[aria-expanded="true"] { color: var(--accent); border-color: var(--accent); background: var(--accent-wash); }
.notification-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.notification-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.notification-badge { position: absolute; top: -5px; right: -6px; min-width: 19px; height: 19px; display: grid; place-items: center; padding: 0 4px; border-radius: 20px; background: var(--accent); color: var(--bg); border: 2px solid var(--header); font-size: 9px; font-weight: 900; line-height: 1; }
.notifications-panel { position: absolute; top: calc(100% + 14px); right: 0; width: 360px; max-width: calc(100vw - 24px); max-height: min(650px, calc(100dvh - 110px)); overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-top-color: var(--accent); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); text-align: left; animation: notifications-enter .18s ease-out; }
.notifications-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px 4px; }
.notifications-heading-row h2 { font: 900 13px/1.4 Inter, sans-serif; letter-spacing: .7px; }
.head-actions .notifications-close { min-width: 36px; min-height: 36px; padding: 0; border: 0; font-size: 25px; color: var(--muted); background: transparent; }
.notifications-actions { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--line); padding: 0 16px 8px; }
.head-actions .notifications-read-all, .head-actions .notifications-clear { min-width: 0; min-height: 36px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 0; border: 0; border-radius: 0; background: transparent; color: var(--accent); font-size: 9px; letter-spacing: .5px; }
.head-actions .notifications-actions button:disabled { color: var(--muted); cursor: default; }
.notifications-read-all .notification-icon svg { width: 16px; height: 16px; }
.notifications-intro { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.notifications-intro > p, .notifications-footer { color: var(--muted); font-size: 10px; line-height: 1.8; }
.head-actions .notifications-push { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 12px; padding: 8px 10px; background: transparent; color: var(--muted); font-size: 9px; letter-spacing: .8px; }
.notifications-push .notification-icon svg { width: 15px; height: 15px; }
.notifications-push-status { margin-top: 12px; }
.notifications-empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 44px 24px; color: var(--muted); }
.notifications-empty .notification-icon svg { width: 32px; height: 32px; }
.notifications-empty strong { font-size: 12px; letter-spacing: .8px; }
.notifications-empty p { font-size: 11px; line-height: 1.8; }
.notifications-list { margin: 0; padding: 0; list-style: none; }
.notification-item { padding: 16px; border-bottom: 1px solid var(--line); }
.notification-item.is-unread { background: var(--accent-wash); box-shadow: inset 3px 0 var(--accent); }
.notification-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 9px; margin-bottom: 8px; }
.notification-meta > span { color: var(--accent); font-weight: 700; }
.head-actions .notification-content { display: grid; gap: 6px; width: 100%; min-width: 0; padding: 0; border: 0; border-radius: 0; text-align: left; background: transparent; color: var(--text); font-weight: 400; overflow-wrap: anywhere; }
.notification-content strong { font-size: 12px; line-height: 1.6; }
.notification-content > span { font-size: 11px; line-height: 1.8; color: var(--text-soft); }
.notification-unread-label { color: var(--accent); font-size: 9px; }
.notification-content:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.notifications-footer { padding: 14px 16px; background: var(--surface-raised); }
.notifications-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.notifications [hidden] { display: none !important; }
@keyframes notifications-enter { from {opacity: 0; transform: translateY(-6px);} to {opacity: 1; transform: translateY(0);} }
@media (min-width: 761px) and (max-width: 1080px) { .topbar { gap: 16px; padding-right: 24px; padding-left: 24px; } #main-navigation { gap: 18px; } .head-actions { gap: 6px; } }
@media (max-width: 760px) { .notifications-panel { position: fixed; top: 82px; right: 12px; width: 360px; max-height: calc(100dvh - 96px); } }
@media (max-width: 380px) { .topbar { gap: 8px; padding-right: 12px; padding-left: 12px; } .head-actions { gap: 4px; } .topbar .brand { gap: 5px; } .topbar .brand-logo-frame { width: 32px; } .topbar .brand-name { font-size: 18px; } .head-actions .notification-trigger, .head-actions .country, .head-actions .menu, .head-actions .login { min-width: 36px; padding-right: 8px; padding-left: 8px; } }
@media (prefers-reduced-motion: reduce) { .notifications-panel { animation: none; } }
@media (max-width: 480px) { .notifications-panel { top: 132px; max-height: calc(100dvh - 146px); } }
