#pimpo-pwa{position:fixed;right:max(8px,env(safe-area-inset-right));top:max(8px,env(safe-area-inset-top));z-index:2000;display:flex;align-items:flex-end;flex-direction:column;gap:5px;pointer-events:none;font:12px system-ui,sans-serif;max-width:min(38vw,210px)}
#pimpo-pwa button{pointer-events:auto;min-height:44px;border:0;border-radius:12px;background:#6936b2;color:white;padding:8px 14px;font:bold 14px system-ui,sans-serif;box-shadow:0 2px 4px #0004}
#pimpo-pwa button[hidden]{display:none}#pimpo-pwa-status{max-width:200px;background:#fffD;color:#3d235b;border-radius:7px;padding:3px 6px;font-size:10px;text-align:right}
#pimpo-install-help{max-width:min(85vw,420px);border:0;border-radius:18px;background:#fff1fb;color:#35224c;font:16px/1.5 system-ui,sans-serif;padding:22px;touch-action:auto}
#pimpo-install-help::backdrop{background:#21112baa}#pimpo-install-help button{min-height:44px;padding:8px 20px;border:0;border-radius:10px;background:#6936b2;color:white;font:inherit}

/* Keep shell controls inside the free HUD corner; status stays accessible in its DOM. */
#pimpo-pwa:has(button:not([hidden])) #pimpo-pwa-status{display:none}
