/* Altius HQ Mobile install prompt */
.altius-mobile-install {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 99999;
  max-width: 460px; margin: 0 auto; box-sizing: border-box;
  padding: 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  background: #fff; color: #1d2b3a; border: 1px solid #e3e8ef; border-radius: 16px;
  box-shadow: 0 12px 36px rgba(18, 48, 73, .22);
  font: 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transform: translateY(140%); transition: transform .25s ease;
}
.altius-mobile-install.is-open { transform: translateY(0); }
.altius-mobile-install-top { display: flex; gap: 12px; align-items: flex-start; }
.altius-mobile-install-icon { width: 48px; height: 48px; border-radius: 11px; flex: 0 0 48px; }
.altius-mobile-install-words { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.altius-mobile-install-words strong { font-size: 15.5px; }
.altius-mobile-install-words span { color: #5b6b7f; font-size: 14px; }
.altius-mobile-install-words b { color: #1d2b3a; }
.altius-mobile-share {
  display: inline-block; width: 14px; height: 17px; vertical-align: -3px; margin: 0 1px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 18' fill='none' stroke='%230f4c81' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 1v10M3.5 4.5 7 1l3.5 3.5M4.5 7.5H2v9.5h10V7.5H9.5'/%3E%3C/svg%3E");
}
.altius-mobile-install-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.altius-mobile-btn {
  font: inherit; font-weight: 600; font-size: 14px; padding: 9px 18px; border-radius: 999px; cursor: pointer;
  background: #fff; color: #0f4c81; border: 1px solid #c9d4e2;
}
.altius-mobile-btn-primary { background: #0f4c81; border-color: #0f4c81; color: #fff; }
@media (prefers-color-scheme: dark) {
  .altius-mobile-install { background: #1b2735; color: #e7eef7; border-color: #2c3b4d; }
  .altius-mobile-install-words span { color: #a9b8c9; }
  .altius-mobile-install-words b { color: #e7eef7; }
  .altius-mobile-btn { background: transparent; color: #cfe0f3; border-color: #3a4d63; }
  .altius-mobile-btn-primary { background: #2f6fae; border-color: #2f6fae; color: #fff; }
}

/* 1.2.1: above the bottom tab bar (Bridge 2.16.0) */
@media (max-width: 960px) {
  .altius-has-tabbar .altius-mobile-install { bottom: calc(68px + env(safe-area-inset-bottom, 0px)); padding-bottom: 16px; }
}
