
    :root {
      --nt-bg: #ffffff;
      --nt-text: #0f172a;
      --nt-text-muted: #64748b;
      --nt-border: rgba(0,0,0,0.08);
      --nt-shadow: 0 12px 32px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
      --nt-radius: 16px;
      --nt-success: #059669;
      --nt-success-dim: rgba(5,150,105,0.1);
      --nt-error: #e11d48;
      --nt-error-dim: rgba(225,29,72,0.1);
      --nt-warning: #d97706;
      --nt-warning-dim: rgba(217,119,6,0.1);
      --nt-info: #0284c7;
      --nt-info-dim: rgba(2,132,199,0.1);
      --nt-ease-spring: cubic-bezier(0.34,1.56,0.64,1);
      --nt-ease-out: cubic-bezier(0.22,1,0.36,1);
    }
    .nextoast-container { position:fixed; z-index:99999; display:flex; flex-direction:column; gap:12px; pointer-events:none; }
    .nextoast-top-right { top:24px; right:24px; align-items:flex-end; }
    .nextoast-top-left { top:24px; left:24px; align-items:flex-start; }
    .nextoast-top-center { top:24px; left:50%; transform:translateX(-50%); align-items:center; }
    .nextoast-bottom-right { bottom:24px; right:24px; align-items:flex-end; flex-direction:column-reverse; }
    .nextoast-bottom-left { bottom:24px; left:24px; align-items:flex-start; flex-direction:column-reverse; }
    .nextoast-bottom-center { bottom:24px; left:50%; transform:translateX(-50%); align-items:center; flex-direction:column-reverse; }
    .nextoast-item { width:360px; max-width:calc(100vw - 32px); background:var(--nt-bg); border-radius:var(--nt-radius); padding:16px; border:1px solid var(--nt-border); box-shadow:var(--nt-shadow); display:flex; align-items:flex-start; gap:14px; pointer-events:all; position:relative; overflow:hidden; font-family:system-ui,-apple-system,sans-serif; opacity:0; transform:scale(0.9) translateY(20px); transition:transform 0.5s var(--nt-ease-spring),opacity 0.3s var(--nt-ease-out); will-change:transform,opacity; }
    .nextoast-top-right .nextoast-item { transform:translateX(120%) scale(0.9); }
    .nextoast-top-left .nextoast-item { transform:translateX(-120%) scale(0.9); }
    .nextoast-top-center .nextoast-item { transform:translateY(-120%) scale(0.9); }
    .nextoast-bottom-center .nextoast-item { transform:translateY(120%) scale(0.9); }
    .nextoast-item.nt-show { opacity:1; transform:translate(0,0) scale(1); }
    .nextoast-item.nt-removing { opacity:0; transform:scale(0.85); transition:transform 0.3s var(--nt-ease-out),opacity 0.3s ease; }
    .nextoast-item::before { content:''; position:absolute; left:0; top:12%; bottom:12%; width:4px; border-radius:0 4px 4px 0; }
    .nt-type-success::before { background:var(--nt-success); }
    .nt-type-error::before { background:var(--nt-error); }
    .nt-type-warning::before { background:var(--nt-warning); }
    .nt-type-info::before { background:var(--nt-info); }
    .nt-icon { width:40px; height:40px; border-radius:12px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
    .nt-icon svg { width:20px; height:20px; }
    .nt-type-success .nt-icon { background:var(--nt-success-dim); color:var(--nt-success); }
    .nt-type-error .nt-icon { background:var(--nt-error-dim); color:var(--nt-error); }
    .nt-type-warning .nt-icon { background:var(--nt-warning-dim); color:var(--nt-warning); }
    .nt-type-info .nt-icon { background:var(--nt-info-dim); color:var(--nt-info); }
    .nt-content { flex:1; min-width:0; }
    .nt-title { margin:0 0 4px; font-weight:600; font-size:0.95rem; color:var(--nt-text); }
    .nt-message { margin:0; font-size:0.85rem; color:var(--nt-text-muted); line-height:1.5; }
    .nt-close { background:transparent; border:none; color:var(--nt-text-muted); width:28px; height:28px; border-radius:8px; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:all 0.2s; }
    .nt-close:hover { background:var(--nt-error-dim); color:var(--nt-error); }
    .nt-close svg { width:16px; height:16px; }
    .nt-progress { position:absolute; bottom:0; left:0; right:0; height:3px; background:rgba(0,0,0,0.05); border-radius:0 0 var(--nt-radius) var(--nt-radius); }
    .nt-progress-fill { height:100%; width:100%; transform-origin:left; }
    .nt-type-success .nt-progress-fill { background:var(--nt-success); }
    .nt-type-error .nt-progress-fill { background:var(--nt-error); }
    .nt-type-warning .nt-progress-fill { background:var(--nt-warning); }
    .nt-type-info .nt-progress-fill { background:var(--nt-info); }
    @keyframes nt-shrink { from { transform:scaleX(1); } to { transform:scaleX(0); } }
    @media (max-width:768px) {
      .nextoast-top-right,.nextoast-top-left,.nextoast-top-center { top:16px; left:16px; right:16px; align-items:center; transform:none; }
      .nextoast-bottom-right,.nextoast-bottom-left,.nextoast-bottom-center { bottom:16px; left:16px; right:16px; align-items:center; transform:none; }
      .nextoast-item { width:100%; }
    }
