.app-notifications { position: relative; flex: 0 0 auto; margin-right: .75rem; }
.app-notifications--redesign { margin-right: 0; }
.app-notifications__trigger { position: relative; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(255,255,255,.13); border-radius: 10px; background: rgba(255,255,255,.055); color: #e9edf5; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.app-notifications__trigger:hover,.app-notifications__trigger[aria-expanded="true"] { border-color: rgba(244,166,51,.55); background: rgba(244,166,51,.12); color: #f4a633; }
.app-notifications__trigger:active { transform: scale(.96); }
.app-notifications__trigger .bi { font-size: 18px; }
.app-notifications__badge { position: absolute; top: -6px; right: -7px; min-width: 19px; height: 19px; padding: 0 5px; border: 2px solid #090c12; border-radius: 10px; background: #ef5b5b; color: #fff; font: 700 10px/15px system-ui,sans-serif; text-align: center; box-shadow: 0 4px 12px rgba(239,91,91,.35); }
.app-notifications__panel { position: absolute; z-index: 1200; top: calc(100% + 10px); right: 0; width: min(390px, calc(100vw - 24px)); overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: #121720; color: #e9edf5; box-shadow: 0 22px 60px rgba(0,0,0,.55); }
.app-notifications__header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 16px 13px; border-bottom: 1px solid rgba(255,255,255,.09); background: linear-gradient(135deg,rgba(244,166,51,.09),transparent 55%); }
.app-notifications__header strong,.app-notifications__header span { display: block; }
.app-notifications__header strong { font-size: 15px; }
.app-notifications__header span { margin-top: 2px; color: #929baa; font-size: 12px; }
.app-notifications__header button { flex: none; padding: 5px 8px; border: 0; background: transparent; color: #f4a633; font-size: 12px; cursor: pointer; }
.app-notifications__list { max-height: min(480px, 65vh); overflow-y: auto; overscroll-behavior: contain; }
.app-notifications__item { display: grid; grid-template-columns: 36px 1fr auto; gap: 11px; align-items: start; width: 100%; padding: 13px 14px; border: 0; border-bottom: 1px solid rgba(255,255,255,.07); background: transparent; color: inherit; font-family: inherit; text-align: left; text-decoration: none; cursor: pointer; transition: background .15s; }
.app-notifications__item:hover { background: rgba(255,255,255,.045); color: inherit; }
.app-notifications__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(244,166,51,.13); color: #f4a633; }
.app-notifications__content { min-width: 0; }
.app-notifications__meta { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.app-notifications__meta strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.app-notifications__meta time { flex: none; color: #7f8998; font-size: 11px; }
.app-notifications__message { margin: 0; color: #c7ced8; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.app-notifications__arrow { align-self: center; color: #697382; }
.app-notifications__empty { display: grid; justify-items: center; gap: 8px; padding: 36px 20px; color: #87909e; font-size: 13px; text-align: center; }
.app-notifications__empty .bi { font-size: 26px; color: #596372; }
.app-notifications__more { padding: 9px 14px; color: #87909e; font-size: 11px; text-align: center; }
@media (max-width: 575.98px) { .app-notifications__panel { position: fixed; top: 62px; right: 8px; left: 8px; width: auto; } }
