/* Shared by web and the native shell. Safe areas include the real status bar. */
:root{--notice-safe-top:env(safe-area-inset-top,0px);--notice-safe-bottom:env(safe-area-inset-bottom,0px)}
.notif-toast{top:calc(var(--notice-safe-top) + 12px);left:calc(env(safe-area-inset-left,0px) + 16px);right:calc(env(safe-area-inset-right,0px) + 16px);margin-inline:auto;width:auto;max-width:420px;max-height:calc(100dvh - var(--notice-safe-top) - var(--notice-safe-bottom) - 32px);overflow:auto;overscroll-behavior:contain;box-sizing:border-box;border-radius:18px;padding:14px 10px 14px 16px;gap:12px;background:#211a2b;box-shadow:0 10px 40px #0005;z-index:9600;visibility:hidden;opacity:0;pointer-events:none;transform:translateY(-8px);transition:opacity .2s ease,transform .2s ease,visibility .2s}
.notif-toast.show{visibility:visible;opacity:1;pointer-events:auto;transform:none}
.notif-copy{min-width:0;flex:1;padding-block:3px}
.notif-title{font:11px/1.5 var(--sans);color:#bbaaca;margin-bottom:4px}
.notif-body{font:13px/1.65 var(--sans);color:#eee4f3;overflow-wrap:anywhere}
.notif-close{display:grid;place-items:center;flex:0 0 44px;min-width:44px;min-height:44px;margin:-6px 0 0 -4px;border:0;background:none;color:#c7b2d8;border-radius:50%;font:22px/1 var(--sans)}
.notif-close:focus-visible{outline:2px solid #c7b2d8;outline-offset:-4px}
body:has(.native-storage-alert:not([hidden])) .notif-toast{top:auto;bottom:calc(var(--notice-safe-bottom) + 86px);max-height:35dvh}
.modal-overlay{padding:calc(var(--notice-safe-top) + 20px) calc(env(safe-area-inset-right,0px) + 20px) calc(var(--notice-safe-bottom) + 20px) calc(env(safe-area-inset-left,0px) + 20px)}
.modal-overlay .modal-card{max-height:100%;overflow:auto;overscroll-behavior:contain}
@media(prefers-reduced-motion:reduce){.notif-toast{transition:none}}
