/* OG Save notification centre: persistent across auth/header re-renders. */
.top-actions .og-notification-button,
.top-actions #ogNotificationButton{
  display:inline-flex!important;align-items:center;justify-content:center;position:relative;
  flex:0 0 39px!important;width:39px!important;height:39px!important;padding:0!important;
  border:0;border-radius:50%;background:#f0efff;color:#5b5ce2;cursor:pointer
}
.top-actions .og-notification-button[aria-expanded="true"]{background:#e4dcff;color:#624ee5}
.top-actions .og-notification-button img{display:block;width:23px;height:23px;object-fit:contain}
.top-actions [data-og-notification-badge]{
  position:absolute;top:-3px;right:-5px;min-width:17px;height:17px;padding:0 3px;border-radius:12px;
  background:#d72d61;color:#fff;font:700 10px/17px sans-serif;text-align:center;pointer-events:none
}
#og-notification-inbox{box-sizing:border-box;position:fixed;top:72px;right:12px;z-index:1100;width:min(390px,calc(100vw - 24px));max-height:min(72dvh,650px);overflow-y:auto;background:#fff;color:#17182c;border:1px solid #e4e3f0;border-radius:20px;box-shadow:0 18px 55px #20204425;padding:18px}
#og-notification-inbox[hidden]{display:none!important}
#og-notification-inbox h2{margin:0 0 14px;font-size:19px;font-weight:750;letter-spacing:-.02em}
#og-notification-inbox [data-notification-list]{font-size:14px;line-height:1.5;color:#484b63}
#og-notification-inbox [data-notification-list]>div{padding:12px 0;border-bottom:1px solid #eeedf5}
#og-notification-inbox [data-notification-list] button,#og-notification-inbox [data-revisit-open]{display:block;margin-top:8px;padding:7px 10px;border:1px solid #ddd8ff;background:#f5f2ff;color:#5949d9;border-radius:10px;font-weight:650}
@media(max-width:600px){
  #og-notification-inbox{top:76px;left:12px;right:12px;width:auto;max-height:calc(100dvh - 170px);padding:16px}
  .top-actions{gap:6px;min-width:0;flex-shrink:1}
  .top-actions .og-notification-button{flex-basis:37px!important;width:37px!important;height:37px!important}
  .top-actions #authButton{min-width:0;max-width:min(34vw,150px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}

#og-notification-inbox .og-notification-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}
#og-notification-inbox .og-notification-head p{margin:0 0 2px;color:#6658df;font-size:10px;font-weight:850;letter-spacing:.14em}
#og-notification-inbox .og-notification-head h2{margin:0;font-size:21px}
#og-notification-inbox .og-notification-head-actions{display:flex;align-items:center;gap:7px}
#og-notification-inbox .og-notification-head-actions button{margin:0;padding:6px 8px;min-height:32px;border:0;background:#f2efff;color:#5548d5;border-radius:9px;font-size:11px;font-weight:780}
#og-notification-inbox .og-notification-head-actions [data-notification-close]{width:32px;padding:0;font-size:22px;line-height:1}
#og-notification-inbox .og-notification-row{display:grid;grid-template-columns:40px minmax(0,1fr) 18px;gap:10px;align-items:center;padding:12px 9px!important;margin:0 -3px;border-bottom:1px solid #eeedf5;border-radius:12px;transition:background .15s ease}
#og-notification-inbox .og-notification-row[role="link"]{cursor:pointer}
#og-notification-inbox .og-notification-row[role="link"]:hover,#og-notification-inbox .og-notification-row[role="link"]:focus-visible{background:#f7f5ff;outline:0}
#og-notification-inbox .og-notification-row.is-unread{background:#f5f3ff}
#og-notification-inbox .og-notification-avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:linear-gradient(145deg,#5b5ce2,#9d55f3);color:#fff;font-size:12px;font-weight:850}
#og-notification-inbox .og-notification-avatar img{display:block;width:100%;height:100%;object-fit:cover}
#og-notification-inbox .og-notification-copy{min-width:0}
#og-notification-inbox .og-notification-copy p{margin:0;color:#2c2d42;font-size:13px;line-height:1.4}
#og-notification-inbox .og-notification-copy p strong{font-weight:820}
#og-notification-inbox .og-notification-copy small{display:block;margin-top:3px;color:#77798f;font-size:11px}
#og-notification-inbox .og-notification-read{display:block!important;width:10px;height:10px;min-height:10px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:#6755e8!important;box-shadow:0 0 0 5px #e7e2ff;color:transparent!important}
#og-notification-inbox .og-notification-read:disabled{opacity:.45}
#og-notification-inbox .og-notification-empty{display:grid;gap:4px;padding:28px 8px;text-align:center;color:#77798f}
#og-notification-inbox .og-notification-empty strong{color:#2c2d42;font-size:15px}
#og-notification-inbox .og-notification-skeleton{grid-template-columns:40px 1fr}
#og-notification-inbox .og-notification-skeleton>span,#og-notification-inbox .og-notification-skeleton b,#og-notification-inbox .og-notification-skeleton small{display:block;background:linear-gradient(90deg,#eeedf5 25%,#f9f8ff 45%,#eeedf5 65%);background-size:220% 100%;animation:ogNotificationShimmer 1.1s linear infinite}
#og-notification-inbox .og-notification-skeleton>span{width:40px;height:40px;border-radius:50%}
#og-notification-inbox .og-notification-skeleton b{width:85%;height:11px;border-radius:6px}
#og-notification-inbox .og-notification-skeleton small{width:48%;height:8px;margin-top:7px;border-radius:5px}
@keyframes ogNotificationShimmer{to{background-position:-220% 0}}
@media(prefers-reduced-motion:reduce){#og-notification-inbox .og-notification-skeleton>span,#og-notification-inbox .og-notification-skeleton b,#og-notification-inbox .og-notification-skeleton small{animation:none}}
@media(max-width:600px){
  #og-notification-inbox{top:70px;max-height:calc(100dvh - 150px);padding:15px}
  #og-notification-inbox .og-notification-row{grid-template-columns:38px minmax(0,1fr) 16px;gap:9px;padding:11px 7px!important}
  #og-notification-inbox .og-notification-avatar{width:38px;height:38px}
}