.vanta-install-row{display:flex;justify-content:center;margin:0 auto 12px}body.searching .vanta-install-row{display:none}.vanta-install-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 17px;border-radius:999px;background:var(--glass-control,var(--panel));color:var(--fg);border:1px solid var(--glass-edge,var(--line));box-shadow:inset 0 1px 0 var(--glass-highlight,transparent);font-size:14px;font-weight:650}.vanta-install-button svg{width:19px;height:19px}#vantaInstallDialog{box-sizing:border-box;width:min(390px,calc(100% - 32px));max-height:85dvh;overflow:auto;color:var(--fg);background:var(--bg);background:var(--glass-fill,var(--bg));border:1px solid var(--glass-edge,var(--line));border-radius:28px;padding:24px;box-shadow:0 18px 70px #0004;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}#vantaInstallDialog::backdrop{background:#0006;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.vanta-install-head{display:flex;align-items:center;justify-content:space-between}.vanta-install-head img{border-radius:15px}.vanta-install-head button{border-radius:50%;width:44px;height:44px;padding:0;font-size:26px}#vantaInstallDialog h2{margin:18px 0 8px}#vantaInstallDialog p{color:var(--muted);line-height:1.6}#vantaInstallDone{width:100%;margin-top:12px;background:var(--accent);color:white}.service-blocked #vantaInstallDialog,.service-pending #vantaInstallDialog{display:none}@media(display-mode:standalone){.vanta-install-row,#vantaInstallSettings{display:none!important}}

/* Installed app only: keep the content below the native status bar. */
html.vanta-standalone { background-color: #18191c; min-height: 100%; }
html.vanta-standalone:not(.service-pending):not(.service-blocked) body::before {
  content: "";
  display: block;
  height: env(safe-area-inset-top, 0px);
  background-color: #18191c;
  flex-shrink: 0;
  pointer-events: none;
}
html.vanta-standalone main {
  min-height: calc(100dvh - env(safe-area-inset-top, 0px));
}
html.vanta-standalone .dock {
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
}
/* Installed-app launch only. The overlay never blocks the web version. */
#vantaAppSplash[hidden]{display:none!important}
html:not(.vanta-standalone) #vantaAppSplash{display:none!important}
#vantaAppSplash{position:fixed;inset:0;z-index:2147483647;display:grid;place-items:center;background:#09090b;color:#fff;padding:calc(20px + env(safe-area-inset-top,0px)) 24px calc(20px + env(safe-area-inset-bottom,0px));transition:opacity .28s ease;}
#vantaAppSplash.leaving{opacity:0;pointer-events:none}
.vanta-splash-inner{display:grid;justify-items:center;gap:20px;width:min(240px,80vw);text-align:center}
.vanta-splash-inner img{width:120px;height:120px;object-fit:contain;border-radius:28px;box-shadow:0 12px 40px #0008}
.vanta-splash-track{width:112px;height:3px;border-radius:8px;background:#ffffff20;overflow:hidden}
.vanta-splash-track span{display:block;width:45%;height:100%;background:#f3f3f5;border-radius:8px;animation:vantaLaunch 1.15s ease-in-out infinite alternate}
.vanta-splash-inner p{margin:0;color:#a5a5af;font:13px system-ui,sans-serif}
@keyframes vantaLaunch{from{transform:translateX(-30%)}to{transform:translateX(155%)}}
@media(prefers-reduced-motion:reduce){.vanta-splash-track span{animation:none;width:100%}#vantaAppSplash{transition:none}}
#vantaInstallSettings{margin:8px 0 12px;min-height:48px;width:100%}

/* 1.6: compact installation sheet, scoped to this dialog only. */
#vantaInstallDialog{position:fixed;inset:0;margin:auto;width:min(380px,calc(100% - 36px));max-height:calc(100dvh - 48px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));padding:26px 22px 22px;border-radius:32px;text-align:center;background:var(--bg);background:var(--glass-fill,var(--bg));box-shadow:0 24px 80px #0005;overflow:auto;overscroll-behavior:contain}
#vantaInstallDialog:not([open]){display:none!important}
#vantaInstallDialog .vanta-install-head{position:relative;display:flex;justify-content:center;align-items:center;min-height:76px}
#vantaInstallDialog .vanta-install-head img{width:76px;height:76px;object-fit:contain;border-radius:21px;box-shadow:0 8px 22px #0003}
#vantaInstallClose{position:absolute;right:0;top:0;width:36px!important;height:36px!important;font-size:23px!important;background:var(--glass-control,var(--panel));color:var(--fg);border:1px solid var(--glass-edge,var(--line));line-height:1}
#vantaInstallDialog h2{font-size:25px;line-height:1.2;letter-spacing:-.7px;margin:18px 0 14px}
#vantaInstallHelp{font-size:14px;line-height:1.8;white-space:pre-line;text-align:start;margin:0 0 20px;padding:14px 16px;background:var(--glass-control,var(--panel));border:1px solid var(--glass-edge,var(--line));border-radius:18px;overflow-wrap:anywhere}
#vantaProfileInstall{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;padding:12px 14px;border-radius:18px;background:var(--accent);color:#fff;text-decoration:none;font-size:15px;font-weight:650;margin:0;box-shadow:inset 0 1px 0 #ffffff33}
#vantaProfileInstall[hidden]{display:none!important}
#vantaInstallDialog.ios-install #vantaInstallDone{display:none!important}
#vantaInstallDone{min-height:48px;border-radius:18px;margin:0}
#vantaInstallDialog[open]{animation:vantaInstallEnter .22s ease-out}
@keyframes vantaInstallEnter{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){#vantaInstallDialog[open]{animation:none}}

/* App-only unified browser-style control surface; web layout stays unchanged. */
#vantaAppToolbar[hidden],html:not(.vanta-standalone) #vantaAppToolbar,.service-pending #vantaAppToolbar,.service-blocked #vantaAppToolbar{display:none!important}
html.vanta-standalone #vantaAppToolbar{position:fixed;z-index:11;bottom:calc(max(12px,env(safe-area-inset-bottom,0px)) + 80px);left:50%;transform:translateX(-50%);width:min(460px,calc(100% - 24px));padding:5px;border:1px solid var(--glass-edge,var(--line));border-radius:24px;background:var(--bg);background:var(--glass-fill,var(--bg));box-shadow:inset 0 1px 0 var(--glass-highlight,transparent),0 8px 26px #0002;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
#vantaAppAddress{display:flex;align-items:center;gap:9px;padding:2px 4px 2px 10px;margin:0;min-height:44px;color:var(--fg)}#vantaAppAddress svg{flex:none;color:var(--muted)}#vantaAppAddress input{flex:1;min-width:0;width:0;background:transparent;border:0;padding:8px 0;color:var(--fg);font-size:16px}#vantaAppAddress button{flex:none;min-height:40px;min-width:44px;padding:8px 13px;border-radius:18px;background:var(--accent);color:white;font-weight:600}#vantaAppAddressStatus{margin:4px 10px 8px;color:var(--fg);font-size:12px;overflow-wrap:anywhere}
html.vanta-standalone main{padding-bottom:calc(190px + env(safe-area-inset-bottom,0px))}html.vanta-standalone :is(input,button,a){scroll-margin-bottom:calc(160px + env(safe-area-inset-bottom,0px))}
/* 3.0: desktop web search and installed app have different chrome. */
#vantaWebTop{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;position:relative;z-index:12;max-width:1200px;margin:auto}
#vantaWebTop button{border-radius:24px;min-height:38px;padding:8px 13px;font:600 13px system-ui}#vantaWebHome{letter-spacing:3px;background:transparent;border:0;color:var(--fg)}.vanta-web-actions{display:flex;align-items:center;gap:10px}#vantaWebTop #vantaInstallRow{margin:0;padding:0}#vantaWebTop #vantaInstallHome{box-shadow:none;background:transparent;border:1px solid var(--line);color:var(--fg);white-space:nowrap}#vantaWebAccount{display:grid;place-items:center;width:42px;height:42px;padding:0!important;background:var(--panel);border:1px solid var(--line);color:var(--fg)}#vantaWebAccount.signed-in{border-color:var(--accent)}
html:not(.vanta-standalone) .dock,html:not(.vanta-standalone) .vanta-bookmark-action,html:not(.vanta-standalone) #vantaDownloadsOpen,html:not(.vanta-standalone) #feed,html:not(.vanta-standalone) #prefs,html:not(.vanta-standalone) #settings,html.vanta-standalone #vantaWebTop,.service-pending #vantaWebTop,.service-blocked #vantaWebTop{display:none!important}html:not(.vanta-standalone) main{padding-bottom:24px}html:not(.vanta-standalone) #saved,html:not(.vanta-standalone) #history{display:none!important}
html.vanta-standalone #vantaAppToolbar{position:relative;inset:auto;transform:none;width:100%;max-width:760px;margin:0 auto 18px;z-index:auto;box-sizing:border-box;border-radius:40px;padding:8px 10px 8px 24px;min-height:64px}html.vanta-standalone #vantaAppAddress{min-height:46px}html.vanta-standalone main{padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))}
#vantaDownloads:not([open]){display:none!important}#vantaDownloads{width:min(420px,calc(100% - 30px));max-height:75dvh;overflow:auto;border-radius:24px;border:1px solid var(--line);background:var(--bg);color:var(--fg);padding:22px}#vantaDownloadList a{display:block;overflow-wrap:anywhere;padding:8px 0}#vantaDownloadsOpen{width:100%;margin:10px 0}
