.nuffx-toast-stack{position:fixed;z-index:10000;inset-block-start:88px;inset-inline-end:22px;width:min(390px,calc(100vw - 32px));display:grid;gap:10px;pointer-events:none}
.nuffx-toast{pointer-events:auto;display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px 14px;border:1px solid rgba(89,121,180,.28);border-radius:16px;background:rgba(9,17,31,.96);box-shadow:0 18px 48px rgba(0,0,0,.32),0 1px 0 rgba(255,255,255,.035) inset;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);opacity:0;transform:translateY(-8px) scale(.985);animation:nuffx-toast-in .22s ease forwards;font:inherit;color:#eef4ff}
.nuffx-toast.is-leaving{animation:nuffx-toast-out .18s ease forwards}.nuffx-toast-pulse{animation:nuffx-toast-pulse .18s ease}.nuffx-toast-stack{pointer-events:none}.nuffx-toast-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;font-size:18px;font-weight:950;background:#132347;border:1px solid #294574;color:#8fb0ff}.nuffx-toast.success .nuffx-toast-icon{background:rgba(43,214,160,.10);border-color:rgba(43,214,160,.25);color:#56e3b6}.nuffx-toast.error .nuffx-toast-icon{background:rgba(255,108,130,.10);border-color:rgba(255,108,130,.25);color:#ff91a4}.nuffx-toast.warning .nuffx-toast-icon{background:rgba(255,193,77,.10);border-color:rgba(255,193,77,.25);color:#ffd06d}.nuffx-toast.info .nuffx-toast-icon{color:#68caff}.nuffx-toast-copy{min-width:0}.nuffx-toast-title{font-size:13px;font-weight:900;line-height:1.4}.nuffx-toast-message{margin-top:3px;color:#8ea0ba;font-size:11px;line-height:1.65}.nuffx-toast-close{width:28px;height:28px;border:0;background:transparent;color:#70819c;border-radius:8px;cursor:pointer;font:inherit;font-size:18px}.nuffx-toast-close:hover{background:#111e33;color:#dbe5f5}
.nuffx-modal-backdrop{position:fixed;z-index:10001;inset:0;display:grid;place-items:center;padding:20px;background:rgba(2,6,14,.68);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);opacity:0;animation:nuffx-modal-in .18s ease forwards}.nuffx-modal{width:min(440px,100%);border:1px solid #203455;border-radius:20px;background:linear-gradient(180deg,#0c1628,#09111f);box-shadow:0 28px 90px rgba(0,0,0,.48);padding:22px;transform:translateY(8px) scale(.985);animation:nuffx-modal-card-in .2s ease forwards;direction:inherit}.nuffx-modal-icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:#132448;color:#91adff;border:1px solid #294574;font-size:20px;margin-bottom:15px}.nuffx-modal-title{margin:0;font-size:17px;font-weight:950}.nuffx-modal-message{margin:8px 0 0;color:#8fa1bc;font-size:12px;line-height:1.9}.nuffx-modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}.nuffx-modal-btn{min-height:40px;padding:0 15px;border-radius:11px;border:1px solid #263c61;background:#101d32;color:#c8d4e7;font:inherit;font-size:12px;font-weight:850;cursor:pointer}.nuffx-modal-btn.primary{border-color:#4d70dc;background:linear-gradient(135deg,#506fff,#685cff);color:#fff;box-shadow:0 8px 22px rgba(77,111,255,.18)}
@keyframes nuffx-toast-in{to{opacity:1;transform:none}}@keyframes nuffx-toast-pulse{50%{transform:scale(1.012)}}@keyframes nuffx-toast-out{to{opacity:0;transform:translateY(-5px) scale(.985)}}@keyframes nuffx-modal-in{to{opacity:1}}@keyframes nuffx-modal-card-in{to{transform:none}}
@media(max-width:640px){.nuffx-toast-stack{inset-block-start:74px;inset-inline:12px;width:auto}.nuffx-toast{grid-template-columns:38px minmax(0,1fr) auto;padding:11px 12px;border-radius:14px}.nuffx-toast-icon{width:38px;height:38px;border-radius:11px}.nuffx-toast-title{font-size:12px}.nuffx-toast-message{font-size:10px}.nuffx-modal{padding:19px;border-radius:17px}.nuffx-modal-actions{flex-direction:column-reverse}.nuffx-modal-btn{width:100%}}
@media(prefers-reduced-motion:reduce){.nuffx-toast,.nuffx-modal-backdrop,.nuffx-modal{animation:none;opacity:1;transform:none}}

/* Persistent notification center in the authenticated app header. */
.nuffx-notification-center{position:relative;display:inline-flex;align-items:center;flex:0 0 auto}
.nuffx-notification-toggle{position:relative;width:38px;height:38px;display:grid;place-items:center;padding:0;border:1px solid var(--border,#1b2a44);border-radius:12px;background:#09111f;color:#9db2d6;cursor:pointer;transition:background .16s,border-color .16s,color .16s,transform .16s}
.nuffx-notification-toggle:hover,.nuffx-notification-toggle[aria-expanded="true"]{border-color:#344e7c;background:#101d34;color:#e6efff}
.nuffx-notification-toggle:focus-visible,.nuffx-notification-read-all:focus-visible,.nuffx-notification-item:focus-visible{outline:2px solid #7190ff;outline-offset:2px}
.nuffx-notification-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.nuffx-notification-count{position:absolute;inset-block-start:-5px;inset-inline-end:-5px;min-width:18px;height:18px;padding:0 4px;display:grid;place-items:center;border:2px solid #080f1d;border-radius:999px;background:#ff667e;color:#fff;font-size:9px;font-weight:950;line-height:1;font-variant-numeric:tabular-nums}
.nuffx-notification-count[hidden],.nuffx-notification-popover[hidden],.nuffx-notification-read-all[hidden]{display:none!important}
.nuffx-notification-popover{position:absolute;z-index:130;inset-block-start:calc(100% + 11px);inset-inline-end:0;width:min(390px,calc(100vw - 24px));overflow:hidden;border:1px solid #203454;border-radius:18px;background:linear-gradient(180deg,#0c1729,#08111f);box-shadow:0 24px 72px rgba(0,0,0,.48),0 1px 0 rgba(255,255,255,.025) inset;color:#e9f0fc;direction:inherit}
.nuffx-notification-popover:not([hidden]){transform-origin:top right;animation:nuffx-notification-popover-in .14s cubic-bezier(.22,.75,.24,1) both}
html[dir=rtl] .nuffx-notification-popover:not([hidden]){transform-origin:top left}
@keyframes nuffx-notification-popover-in{from{opacity:0;transform:translateY(-5px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
.nuffx-notification-head{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border-bottom:1px solid rgba(120,151,203,.14);background:rgba(14,27,47,.7)}
.nuffx-notification-heading-group{min-width:0;display:grid;gap:4px}
.nuffx-notification-heading-group strong{font-size:14px;font-weight:950;line-height:1.4}
.nuffx-notification-heading-group span{color:#8498b7;font-size:10px;line-height:1.5}
.nuffx-notification-read-all{flex:0 0 auto;border:1px solid #2b4165;border-radius:9px;background:#111f36;color:#a9c0ff;padding:7px 9px;font:inherit;font-size:10px;font-weight:850;cursor:pointer}
.nuffx-notification-read-all:hover{border-color:#4c6fc0;background:#172849;color:#fff}
.nuffx-notification-items{max-height:min(440px,calc(100vh - 180px));overflow-y:auto;overscroll-behavior:contain}
.nuffx-notification-item{width:100%;display:grid;grid-template-columns:38px minmax(0,1fr);gap:11px;align-items:start;padding:13px 15px;border:0;border-bottom:1px solid rgba(120,151,203,.10);background:transparent;color:inherit;text-align:start;text-decoration:none;font:inherit;cursor:pointer;transition:background .14s}
.nuffx-notification-item:last-child{border-bottom:0}
.nuffx-notification-item:hover{background:rgba(34,55,88,.35)}
.nuffx-notification-item.is-unread{background:linear-gradient(90deg,rgba(73,105,207,.10),rgba(73,105,207,.025))}
.nuffx-notification-item.is-unread:hover{background:rgba(48,75,128,.22)}
.nuffx-notification-mark{width:38px;height:38px;display:grid;place-items:center;border:1px solid #294574;border-radius:12px;background:#132347;color:#93b3ff;font-size:15px;font-weight:950}
.nuffx-notification-mark svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.nuffx-notification-mark.is-support{border-color:rgba(112,142,255,.25);background:rgba(70,96,178,.15);color:#a7baff}
.nuffx-notification-mark.is-wallet{border-color:rgba(54,218,170,.22);background:rgba(30,164,123,.12);color:#5ee3b6}
.nuffx-notification-mark.is-order{border-color:rgba(92,179,255,.23);background:rgba(43,119,187,.13);color:#7dceff}
.nuffx-notification-copy{min-width:0;display:grid;gap:4px;padding-top:1px}
.nuffx-notification-title-row{display:flex;align-items:start;gap:7px;justify-content:space-between}
.nuffx-notification-title{min-width:0;color:#e8effc;font-size:12px;font-weight:900;line-height:1.55;overflow-wrap:anywhere}
.nuffx-notification-unread-dot{flex:0 0 6px;width:6px;height:6px;margin-top:6px;border-radius:50%;background:#6c91ff;box-shadow:0 0 0 3px rgba(108,145,255,.12)}
.nuffx-notification-message{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#91a2bd;font-size:10.5px;line-height:1.8;overflow-wrap:anywhere}
.nuffx-notification-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:2px;color:#637794;font-size:9px;line-height:1.5}
.nuffx-notification-open-label{color:#8eaaff;font-weight:800}
.nuffx-notification-placeholder{padding:24px 18px;text-align:center;color:#8b9cb6;font-size:11px;line-height:1.8}
.nuffx-notification-placeholder.is-error{color:#ff9cad}
@media(max-width:640px){
  .nuffx-notification-toggle{width:35px;height:35px;border-radius:11px}
  .nuffx-notification-popover{position:fixed;inset-block-start:calc(var(--header,68px) + 8px);inset-inline:12px;width:auto;max-height:calc(100vh - var(--header,68px) - 24px);border-radius:16px}
  .nuffx-notification-items{max-height:calc(100vh - var(--header,68px) - 100px)}
  .nuffx-notification-head{padding:12px}
  .nuffx-notification-item{padding:12px;grid-template-columns:36px minmax(0,1fr);gap:10px}
  .nuffx-notification-mark{width:36px;height:36px}
}
.nuffx-notification-mark.is-announcement{border-color:rgba(140,184,255,.26);background:rgba(91,132,203,.15);color:#a4c9ff}

@media(prefers-reduced-motion:reduce){.nuffx-notification-popover:not([hidden]){animation:none!important}}
