.wgnotice-stack{position:fixed;right:24px;bottom:24px;z-index:40;width:min(420px,calc(100vw - 48px));max-height:calc(100dvh - 48px);overflow:auto;display:flex;flex-direction:column;gap:12px;pointer-events:none;font-family:Manrope,Arial,sans-serif;color:#25354a;box-sizing:border-box;padding:4px}
.wgnotice-card{--wgnotice-tint:#f0f4ff;--wgnotice-ink:#416de0;box-sizing:border-box;display:grid;grid-template-columns:36px minmax(0,1fr) 32px;align-items:start;gap:12px;padding:18px 16px;background:#fff;border:1px solid #e6eaf0;border-radius:16px;box-shadow:0 6px 24px #25354a0a,0 2px 5px #25354a04;pointer-events:auto;animation:wgnotice-enter .2s ease-out}
.wgnotice-symbol{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:var(--wgnotice-tint);color:var(--wgnotice-ink)}
.wgnotice-symbol svg{width:20px;height:20px}
.wgnotice-title{margin:1px 0 5px;font:600 16px/1.4 Manrope,Arial,sans-serif;letter-spacing:-.02em;overflow-wrap:anywhere}
.wgnotice-message{margin:0;font:400 13px/1.65 Manrope,Arial,sans-serif;color:#637083;overflow-wrap:anywhere;white-space:pre-wrap}
.wgnotice-message:empty{display:none}
.wgnotice-close,.wgnotice-action{box-sizing:border-box;font-family:Manrope,Arial,sans-serif;cursor:pointer;transition:background .16s ease,color .16s ease}
.wgnotice-close{display:grid;place-items:center;border:0;border-radius:10px;background:transparent;color:#7c8797;width:32px;height:32px;padding:0}
.wgnotice-close svg{width:16px;height:16px}
.wgnotice-close:hover{background:#f3f5f8;color:#25354a}
.wgnotice-action{margin-top:12px;background:#f0f4ff;color:#3458b8;border:0;border-radius:10px;min-height:36px;padding:8px 12px;font-size:12px;line-height:1.5;font-weight:600;max-width:100%;overflow-wrap:anywhere}
.wgnotice-action:hover{background:#e6edff}
.wgnotice-card button:focus-visible,.wgnotice-dialog button:focus-visible{outline:2px solid #416de0;outline-offset:3px}
.wgnotice-success{--wgnotice-tint:#eef7f4;--wgnotice-ink:#357461}
.wgnotice-warning{--wgnotice-tint:#f4f1fb;--wgnotice-ink:#77629a}
.wgnotice-error{--wgnotice-tint:#f9f0f2;--wgnotice-ink:#a05b6a}
.wgnotice-dialog{--wgnotice-tint:#f0f4ff;--wgnotice-ink:#416de0;position:fixed;box-sizing:border-box;width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow:auto;padding:32px;border:1px solid #e6eaf0;border-radius:22px;background:#fff;color:#25354a;box-shadow:0 20px 70px #25354a14,0 4px 18px #25354a08;font-family:Manrope,Arial,sans-serif;animation:wgnotice-enter .2s ease-out}
.wgnotice-dialog.wgnotice-success{--wgnotice-tint:#eef7f4;--wgnotice-ink:#357461}
.wgnotice-dialog.wgnotice-warning{--wgnotice-tint:#f4f1fb;--wgnotice-ink:#77629a}
.wgnotice-dialog.wgnotice-error{--wgnotice-tint:#f9f0f2;--wgnotice-ink:#a05b6a}
.wgnotice-dialog::backdrop{background:#25354a3b}
.wgnotice-dialog-close{position:absolute;right:16px;top:16px;width:40px;height:40px}
.wgnotice-dialog-symbol{display:grid;place-items:center;width:52px;height:52px;border-radius:17px;background:var(--wgnotice-tint);color:var(--wgnotice-ink);margin-bottom:24px}
.wgnotice-dialog-symbol svg{width:27px;height:27px}
.wgnotice-dialog-title{font:500 28px/1.25 Manrope,Arial,sans-serif;letter-spacing:-.04em;margin:0 0 12px;overflow-wrap:anywhere}
.wgnotice-dialog .wgnotice-message{font-size:14px;line-height:1.75}
.wgnotice-dialog-footer{display:flex;justify-content:flex-end;margin-top:28px}
.wgnotice-dialog-action{margin:0;background:#416de0;color:#fff;min-height:44px;padding:11px 22px;font-size:13px;border-radius:12px}
.wgnotice-dialog-action:hover{background:#365fc9}
.wgnotice-example{font-family:Manrope,Arial,sans-serif;color:#637083;font-size:13px;line-height:1.65}
@keyframes wgnotice-enter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:480px){.wgnotice-stack{right:12px;bottom:max(12px,env(safe-area-inset-bottom));width:calc(100vw - 24px);max-height:45dvh}.wgnotice-card{grid-template-columns:32px minmax(0,1fr) 32px;padding:16px 12px;gap:10px}.wgnotice-symbol{width:32px;height:32px;border-radius:10px}.wgnotice-close{min-height:44px}.wgnotice-action{min-height:44px}.wgnotice-dialog{padding:28px 24px}.wgnotice-dialog-title{font-size:28px}.wgnotice-dialog-close{width:44px;height:44px;right:10px;top:10px}}
@media(prefers-reduced-motion:reduce){.wgnotice-card,.wgnotice-dialog{animation:none}.wgnotice-close,.wgnotice-action{transition:none}}
