/* Wayne — ventanas emergentes, avisos rápidos y errores en página (wy-notify.js) */
.wyn-ov{position:fixed;inset:0;z-index:100000;background:rgba(15,21,33,.55);display:flex;align-items:center;justify-content:center;padding:16px;opacity:0;transition:opacity .15s ease;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
.wyn-ov.wyn-in{opacity:1}
.wyn-md{background:#fff;border-radius:16px;width:100%;max-width:380px;padding:26px 24px 20px;text-align:center;box-shadow:0 16px 40px rgba(17,24,39,.28);transform:translateY(8px) scale(.98);transition:transform .15s ease;color:#1f2430}
.wyn-in .wyn-md{transform:none}
.wyn-ic{width:56px;height:56px;border-radius:50%;margin:0 auto 14px;display:flex;align-items:center;justify-content:center}
.wyn-ic svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.wyn-ok .wyn-ic{background:#d1fae5;color:#047857}
.wyn-error .wyn-ic{background:#fee2e2;color:#b91c1c}
.wyn-info .wyn-ic{background:#dbeafe;color:#1d4ed8}
.wyn-warn .wyn-ic{background:#fef3c7;color:#b45309}
.wyn-t{font-size:18px;font-weight:600;color:#111827;margin:0 0 6px;line-height:1.3}
.wyn-s{font-size:14px;color:#64748b;line-height:1.55;margin:0;white-space:pre-line;word-wrap:break-word}
.wyn-b{display:flex;gap:10px;margin-top:20px}
.wyn-btn{flex:1;border:0;border-radius:8px;padding:10px 12px;font-size:14px;font-weight:600;cursor:pointer;font-family:inherit;background:#059669;color:#fff;transition:filter .12s}
.wyn-btn:hover{filter:brightness(.93)}
.wyn-btn:focus{outline:2px solid #2563eb;outline-offset:2px}
.wyn-btn.wyn-g{background:#fff;color:#1f2430;border:1px solid #cbd2dc}
.wyn-btn.wyn-d{background:#dc2626}
.wyn-cred{background:#f4f6f9;border-radius:10px;padding:2px 12px;margin-top:14px;text-align:left}
.wyn-cr{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 0;font-size:14px;border-bottom:1px solid #e6e9ef}
.wyn-cr:last-child{border-bottom:0}
.wyn-cr span{color:#64748b}
.wyn-cr b{font-weight:600;color:#111827;font-family:Menlo,Consolas,monospace;word-break:break-all}
.wyn-cp{border:1px solid #059669;color:#059669;background:#fff;border-radius:6px;font-size:12px;padding:2px 8px;margin-left:8px;cursor:pointer;font-family:inherit;white-space:nowrap}
.wyn-cp:hover{background:#d1fae5}
/* Toasts */
.wyn-tw{position:fixed;top:14px;right:14px;z-index:100001;display:flex;flex-direction:column;gap:8px;max-width:340px;width:calc(100% - 28px);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
.wyn-to{background:#0f1521;color:#fff;border-radius:10px;padding:11px 14px;display:flex;gap:11px;align-items:center;font-size:14px;border-left:4px solid #059669;box-shadow:0 8px 24px rgba(17,24,39,.3);opacity:0;transform:translateX(12px);transition:all .18s ease;cursor:pointer}
.wyn-to.wyn-in{opacity:1;transform:none}
.wyn-to svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.wyn-to small{display:block;color:#9aa4b6;font-size:12px;margin-top:1px}
.wyn-to.wyn-ok svg{color:#34d399}
.wyn-to.wyn-warn{border-left-color:#d97706}.wyn-to.wyn-warn svg{color:#fbbf24}
.wyn-to.wyn-error{border-left-color:#dc2626}.wyn-to.wyn-error svg{color:#f87171}
.wyn-to.wyn-info{border-left-color:#2563eb}.wyn-to.wyn-info svg{color:#60a5fa}
/* Aviso dentro de una página (fragmentos que no cargan) */
.wyn-frag{background:#fee2e2;border:1px solid #fecaca;color:#991b1b;border-radius:8px;padding:9px 12px;font-size:13px;margin:6px 0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
.wyn-frag a{color:#991b1b;text-decoration:underline;cursor:pointer}
