.at-notification-row { display:grid; grid-template-columns:minmax(0,1fr) 34px; gap:1px; margin:0 0 3px; padding:2px 2px 2px 0; border-radius:11px; }
.at-notification-row:has(.is-unread) { background:rgba(118,82,244,.075); }
.at-notification-row .at-notification-item { width:100%; min-width:0; padding-right:3px; border:0; background:transparent; font:inherit; text-align:left; cursor:pointer; }
.at-notification-row .at-notification-item.is-unread { background:transparent; }
.at-notification-row .at-notification-item:disabled { cursor:wait; }
.at-notification-row .at-notification-item.is-unread::after { display:none; }
.at-notification-row .at-notification-item.is-unread strong::before { content:""; display:inline-block; width:5px; height:5px; margin:0 5px 2px 0; border-radius:50%; background:#a184ff; }
.at-notification-row .at-notification-item__body { padding-right:0; }
.at-notification-row .at-notification-item__top { gap:7px; }
.at-notification-row .at-notification-item__top time { color:#938d9c; font-size:11px; }
.at-notification-item__source { display:block; margin-top:5px; color:#b8a7e5; font-size:10.5px; }
.at-notification-item__more { display:block; margin-top:6px; color:#b9a5ff; font-size:11px; font-weight:700; }
.at-notification-delete { display:grid; place-items:center; width:32px; height:34px; padding:0; margin-top:5px; border:0; border-radius:8px; background:transparent; color:#a59aaf; cursor:pointer; }
.at-notification-delete svg { width:15px; height:15px; stroke-linecap:round; stroke-linejoin:round; }
.at-notification-delete:hover { background:rgba(231,111,139,.1); color:#f0a4b1; }
.at-notification-delete:disabled { opacity:.4; cursor:wait; }
.at-notifications__footer { display:flex; justify-content:flex-end; padding:9px 14px; border-top:1px solid #302d37; }
.at-notifications__footer button, .at-notifications__undo button { padding:5px 0; border:0; background:none; color:#b9a5ff; font:inherit; font-size:11.5px; font-weight:650; cursor:pointer; }
.at-notifications__footer button:disabled { color:#80788a; cursor:default; }
.at-notifications__undo { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 8px 8px; padding:9px 11px; border:1px solid #40384f; border-radius:8px; background:#201b29; color:#e4ddeb; font-size:11.5px; }
.at-notifications__undo button { flex-shrink:0; }
.at-notifications__error { margin:0; padding:10px 14px; color:#ffbac7; font-size:12px; }
.at-notifications [hidden], .at-notification-dialog [hidden] { display:none !important; }
.at-notification-dialog { box-sizing:border-box; position:fixed; inset:0; width:calc(100vw - 32px); max-width:600px; max-height:calc(100dvh - 32px); padding:23px; margin:auto; overflow:auto; border:1px solid #3f354e; border-radius:15px; background:#141217; color:#eeebf2; font-family:var(--theme-font-family,system-ui,-apple-system,"Segoe UI",sans-serif); text-align:left; box-shadow:0 25px 80px rgba(0,0,0,.5); }
.at-notification-dialog:not([open]) { display:none; }
.at-notification-dialog[open] { display:block; }
.at-notification-dialog::backdrop { background:rgba(0,0,0,.68); }
.at-notification-dialog__bar { display:flex; align-items:center; justify-content:space-between; gap:15px; color:#baa8e8; font-size:12px; font-weight:600; }
.at-notification-dialog__bar button { display:grid; place-items:center; width:36px; height:36px; padding:0; border:1px solid #3b3346; border-radius:9px; color:#c9c1d3; background:#211c28; font-size:24px; line-height:1; cursor:pointer; }
.at-notification-dialog h2 { margin:13px 0 8px !important; color:#f3eff8 !important; font-size:clamp(20px,4vw,26px) !important; font-weight:800; line-height:1.3 !important; overflow-wrap:anywhere; }
.at-notification-dialog > time { display:block; margin-bottom:20px; color:#aaa1b4; font-size:11.5px; }
.at-notification-dialog__message { max-height:min(55dvh,480px); overflow:auto; padding-right:7px; color:#d6cfdf; font-size:14px; line-height:1.8; white-space:pre-wrap; overflow-wrap:anywhere; }
.at-notification-dialog__actions { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:15px; margin-top:22px; padding-top:16px; border-top:1px solid #342c40; }
.at-notification-dialog__actions a { color:#beaaff; font-size:12px; text-decoration:none; }
.at-notification-dialog__actions button { padding:9px 12px; border:1px solid #4b3a51; border-radius:7px; background:#241c2b; color:#e7bdce; font:inherit; font-size:12px; cursor:pointer; }
.at-notification-dialog .at-notifications__error { padding:12px 0 0; }
@media (max-width:560px), (pointer:coarse) {
  .at-notification-row { grid-template-columns:minmax(0,1fr) 44px; }
  .at-notification-delete { width:44px; height:44px; margin-top:0; }
  .at-notifications__footer button, .at-notifications__undo button { min-height:40px; }
  .at-notification-dialog { padding:18px; }
  .at-notification-dialog__bar button { width:44px; height:44px; }
  .at-notification-dialog__message { font-size:14px; }
}
