/* Use the existing Messages manager geometry; leave header/avatar controls visible. */
.friends-dialog.notifications-drawer{position:fixed;inset:74px 12px 12px auto;width:min(400px,calc(100vw - 24px));max-width:calc(100vw - 24px);height:auto;max-height:none;margin:0;padding:0;z-index:20010;border:1px solid #314159;border-radius:12px;background:#0f1722;color:#e4edfb;box-shadow:none;overflow:hidden;box-sizing:border-box;font-family:inherit;font-size:13px}
.friends-dialog.notifications-drawer[open]{display:flex;flex-direction:column}
.friends-dialog.notifications-drawer .friends-bar{position:static;top:auto;display:flex;flex:none;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:10px;min-height:57px;margin:0;padding:10px 12px;border-bottom:1px solid #293c51;background:#0f1722}
.friends-dialog.notifications-drawer .friends-bar h2{order:0;flex:1;margin:0;font-size:15px;font-weight:600;line-height:1.4}
.friends-dialog.notifications-drawer .friends-bar>button:first-child{order:2;display:grid;place-items:center;width:32px;height:32px;padding:0;font-size:23px;font-weight:400;line-height:1;border-color:transparent!important;background:transparent!important;color:#a9bed5;cursor:pointer}
.friends-dialog.notifications-drawer .friends-bar>button:first-child:hover{background:#203044!important;color:#fff}
.friends-dialog.notifications-drawer .friends-tools{flex:none;padding:12px;gap:8px;border-bottom:1px solid #293c51}
.friends-dialog.notifications-drawer .friends-tools button{padding:8px 10px;font:inherit;font-size:12px}
.friends-dialog.notifications-drawer>p[role=status]{flex:none;margin:0;padding:0 12px;color:#a9bed5;line-height:1.5;overflow-wrap:anywhere}
.friends-dialog.notifications-drawer>p[role=status]:not(:empty){padding-top:10px;padding-bottom:10px}
.friends-dialog.notifications-drawer .friends-content{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:12px;scrollbar-width:thin;line-height:1.5}
.friends-dialog.notifications-drawer .friends-footer{display:none}
.friends-dialog.notifications-drawer .friend-note{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:14px 36px 14px 0;margin:0;border-bottom:1px solid #293c51;font-size:13px;overflow-wrap:anywhere}
.friends-dialog.notifications-drawer .friend-note:first-child{padding-top:2px}
.friends-dialog.notifications-drawer .friend-note .member-friend-card{flex:1 1 100%;display:grid;grid-template-columns:40px minmax(0,1fr);column-gap:10px;min-width:0;max-width:none;width:100%;padding:0!important;text-align:left}
.friends-dialog.notifications-drawer .member-friend-card .friend-avatar-link{grid-column:1;grid-row:1 / span 2;width:40px!important;height:40px;margin:0!important}
.friends-dialog.notifications-drawer .member-friend-card .friend-avatar{width:40px;height:40px;border-width:2px;font-size:16px}
.friends-dialog.notifications-drawer .member-friend-card .friend-member-name{grid-column:2;grid-row:1;font-size:14px;line-height:1.4;margin:0;align-self:end}
.friends-dialog.notifications-drawer .member-friend-card small{grid-column:2;grid-row:2;font-size:11px;margin:2px 0 0;align-self:start}
.friends-dialog.notifications-drawer .member-friend-card .presence-badge{font-size:11px;margin-top:2px}
.friends-dialog.notifications-drawer .member-friend-card .presence-avatar-dot{width:10px;height:10px;border-width:2px}
.friends-dialog.notifications-drawer .friend-note-message{flex:1 1 100%;min-width:0;font-size:13px}
.friends-dialog.notifications-drawer .friend-note>button:not(.friend-note-dismiss){padding:7px 10px;font:inherit;font-size:12px;min-height:34px}
.friends-dialog.notifications-drawer .friend-note-dismiss{top:10px;right:0;width:28px;height:28px;padding:6px}
.friends-dialog.notifications-drawer .friends-content{padding-bottom:max(12px,env(safe-area-inset-bottom))}

@media(max-width:600px){.friends-dialog.notifications-drawer{top:66px}}
