.download-dialog{color:#fff;border:1px solid #5a4b66;border-radius:20px;background:#21172b;padding:28px;width:min(420px,calc(100% - 32px));box-shadow:0 24px 80px #0008}
.download-dialog::backdrop{background:#090611b3}
.download-dialog h2{margin:0 0 14px;font-size:22px}
.download-dialog p{margin:0 0 24px;color:#d7cde0;line-height:1.7}
.download-dialog .btn{width:100%}
.download-frame-dialog{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#fff;overflow:hidden}
.download-frame-dialog iframe{display:block;width:100%;height:100%;border:0}
.download-frame-close{position:absolute;top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));min-height:44px;padding:0 18px;border:1px solid #5a4b66;border-radius:12px;background:#21172b;color:#fff;font:inherit;cursor:pointer;z-index:1}
.download-frame-close:focus-visible,.download-dialog button:focus-visible{outline:3px solid #ffd46a;outline-offset:3px}
