.mr-pwa-dialog{box-sizing:border-box;width:min(390px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:20px;border:1px solid #23dcf6;border-radius:18px;background:#0b1026;color:#f4f6ff;font:15px/1.45 system-ui,sans-serif;box-shadow:0 12px 60px #0009;overflow:auto;overscroll-behavior:contain;touch-action:pan-y}
.mr-pwa-dialog::backdrop{background:#020511b8}
.mr-pwa-dialog *{box-sizing:border-box}.mr-pwa-dialog h2{font-size:21px;margin:0 24px 5px 0;line-height:1.2}.mr-pwa-dialog p{margin:10px 0}.mr-pwa-dialog .mr-pwa-header{display:flex;align-items:center;gap:12px}.mr-pwa-header img{width:58px;height:58px;border-radius:13px;flex:none}.mr-pwa-close{position:absolute;right:10px;top:8px;min-width:36px;min-height:36px;border:0;background:transparent;color:#dae6ff;font:26px system-ui;cursor:pointer}.mr-pwa-dialog button:focus-visible,.mr-pwa-dialog summary:focus-visible{outline:3px solid #62e9ff;outline-offset:3px}
.mr-pwa-steps{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0;margin:16px 0}.mr-pwa-steps li{position:relative;padding:12px 8px 10px;border:1px solid #38466f;border-radius:12px;background:#141d38;text-align:center;min-height:110px}.mr-pwa-steps svg{display:block;width:42px;height:38px;margin:0 auto 6px;color:#40e3ff;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.mr-pwa-steps strong{display:block;font-size:14px}.mr-pwa-step-number{position:absolute;left:8px;top:6px;color:#a8b8da;font-size:12px}.mr-pwa-steps small{display:block;color:#bdc9e3;font-size:12px;margin-top:3px}.mr-pwa-note{border-left:3px solid #ffd25d;padding:2px 0 2px 10px;color:#e5eafb;font-size:13px}.mr-pwa-dialog details{margin:12px 0;font-size:13px;color:#cfdbf2}.mr-pwa-dialog summary{cursor:pointer;color:#8deaff;min-height:28px}.mr-pwa-action{display:block;width:100%;min-height:46px;padding:10px 14px;border:1px solid #32e6ff;border-radius:10px;background:#0c6380;color:white;font:700 15px system-ui;cursor:pointer;margin-top:12px}.mr-pwa-action.secondary{background:#18213e;border-color:#7282af}.mr-pwa-dialog code{font-size:13px;overflow-wrap:anywhere}
html.mr-pwa-standalone,html.mr-pwa-standalone body{margin:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none;background:#08091c}
html.mr-pwa-standalone body{position:fixed;inset:0;box-sizing:border-box;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px)}
html.mr-pwa-standalone #canvas{max-width:100%;max-height:100%;display:block}
@media(max-height:620px){.mr-pwa-dialog{padding:16px}.mr-pwa-steps{gap:7px;margin:10px 0}.mr-pwa-steps li{min-height:94px;padding:8px 6px}.mr-pwa-header img{width:46px;height:46px}.mr-pwa-dialog h2{font-size:19px}}
