/* Browser-only install help. Keep hidden until the launch mode is known. */
.elf-install-trigger[hidden]{display:none!important}
.elf-install-trigger{margin:10px auto 0;max-width:100%;min-height:44px}
#welcomeInstall{display:block;width:min(100%,315px);margin:10px auto 0;border:1px solid #8dccac;border-radius:10px;background:linear-gradient(#298958,#175b3d);color:#fffdf0;box-shadow:0 3px 0 #123d2b;font:inherit;font-weight:700;padding:11px 14px;min-height:44px}
#profileInstall{display:block;width:min(100%,420px);margin:16px auto 10px}
#elfInstallDialog{box-sizing:border-box;padding:0;border:1px solid #729c88;margin:auto;width:min(100vw,1120px);max-width:100vw;height:min(100dvh,960px);max-height:100dvh;overflow:hidden;background:#104637;color:#fff;border-radius:14px}
#elfInstallDialog[open]{display:flex;flex-direction:column}
#elfInstallDialog::backdrop{background:#031e1be0}
#elfInstallDialog .install-header{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:max(8px,env(safe-area-inset-top)) 12px 8px;background:#0d382e;border-bottom:1px solid #60937a}
#elfInstallDialog .install-header strong{font:inherit;font-weight:800;color:#fff}
#elfInstallClose{min-width:44px;min-height:44px;color:white;background:#b62b40;border:1px solid #f7a3af;border-radius:9px;font:inherit;font-weight:700;padding:6px 12px}
#elfInstallFrame{flex:1 1 auto;min-height:0;display:block;border:0;width:100%;background:#104637}
@media(max-width:700px){#elfInstallDialog{width:100vw;height:100dvh;border:0;border-radius:0}}

#elfInstallDialog .install-header{padding:max(4px,env(safe-area-inset-top)) 10px 4px}
#elfInstallClose{min-height:38px;padding:5px 10px}
