.app-install-button {
  align-items: center;
  background: #eef3ff;
  border: 1px solid #d7e2fb;
  border-radius: 12px;
  color: #245fcf;
  cursor: pointer;
  display: inline-flex;
  font: 760 .76rem/1 Inter, ui-sans-serif, system-ui, sans-serif;
  gap: 7px;
  min-height: 40px;
  padding: 0 14px;
}
.app-install-button:hover { background: #e4edff; }
.app-install-button:focus-visible { outline: 3px solid rgba(55,111,225,.25); outline-offset: 2px; }
.app-install-button.hidden { display: none !important; }
.app-install-button .lucide { height: 16px; width: 16px; }
.app-install-button-login {
  background: rgba(20,26,45,.94); border-color: rgba(255,255,255,.15); border-radius: 999px;
  bottom: max(18px,env(safe-area-inset-bottom)); box-shadow: 0 14px 35px rgba(0,0,0,.3); color: #fff;
  left: 22px; position: fixed; z-index: 30;
}
.app-install-dialog {
  background: transparent; border: 0; color: #172033; max-width: min(480px,calc(100vw - 28px)); padding: 0; width: 100%;
}
.app-install-dialog::backdrop { background: rgba(9,14,28,.58); backdrop-filter: blur(5px); }
.app-install-dialog article {
  align-items: flex-start; background: #fff; border: 1px solid #dce2ef; border-radius: 22px;
  box-shadow: 0 24px 80px rgba(15,24,48,.28); display: grid; gap: 16px; grid-template-columns: 52px 1fr;
  padding: 24px; position: relative;
}
.app-install-dialog-icon {
  align-items: center; background: linear-gradient(145deg,#2368e8,#7448ee); border-radius: 16px; color: #fff;
  display: flex; font-size: 1.55rem; font-weight: 900; height: 52px; justify-content: center; width: 52px;
}
.app-install-dialog small { color: #6f4ff2; font-size: .67rem; font-weight: 900; letter-spacing: .14em; }
.app-install-dialog h2 { font-size: 1.28rem; margin: 6px 38px 8px 0; }
.app-install-dialog p { color: #5e687c; font-size: .84rem; line-height: 1.58; margin: 0; }
.app-install-dialog .app-install-dialog-note { color: #7a8497; font-size: .73rem; margin-top: 9px; }
.app-install-dialog-close {
  align-items: center; background: #eef1f6; border: 0; border-radius: 10px; color: #39445a; cursor: pointer;
  display: flex; font-size: 1.25rem; height: 34px; justify-content: center; position: absolute; right: 18px; top: 18px; width: 34px;
}
html.app-installed body { overscroll-behavior-y: none; }
html.app-installed body.app-page,
html.app-installed body.app-page .app-shell { height: var(--installed-visual-height,100dvh); max-height: var(--installed-visual-height,100dvh); }
html.app-installed body.auth-page,
html.app-installed body.drive-page,
html.app-installed body.hubflix-page,
html.app-installed body.admin-page { min-height: var(--installed-visual-height,100dvh); }
html.app-installed body.drive-page .drive-shell,
html.app-installed body.hubflix-page .hubflix-player-dialog,
html.app-installed body.admin-page .admin-console { height: var(--installed-visual-height,100dvh); max-height: var(--installed-visual-height,100dvh); }
html.app-installed.app-android body.app-page .composer-shell { padding-bottom: calc(8px + max(env(safe-area-inset-bottom),var(--installed-bottom-guard,18px))); }
html.app-installed.app-android body.app-page .sidebar-bottom,
html.app-installed.app-android body.drive-page .drive-sidebar,
html.app-installed.app-android body.admin-page .admin-sidebar { padding-bottom: max(env(safe-area-inset-bottom),var(--installed-bottom-guard,18px)); }
html.app-installed.app-android body.hubflix-page .hubflix-player-controls { padding-bottom: max(12px,env(safe-area-inset-bottom),var(--installed-bottom-guard,18px)); }
@media (max-width: 620px) {
  .app-install-button { padding-inline: 11px; }
  .app-install-dialog article { grid-template-columns: 44px 1fr; padding: 20px; }
  .app-install-dialog-icon { border-radius: 13px; height: 44px; width: 44px; }
}
