/* BLN install strip – from draft 18.11.2026 (apk-live-01/pwa-install), packaged in plugin BLN PWA Install 2026.11.18.3; only change: ✕ = 44x44. Palette: #143A52 / #C9861E / white, Heebo. */

/* The old banner is retired (its owner removes #bln-inst + bln-install-js; until then keep it hidden). */
#bln-inst, #bln-inst.is-on { display: none !important; }

#bln-pwa-strip {
  position: fixed; z-index: 99989;                 /* below the bottom nav (99991) and the zoom button (99990) */
  bottom: calc(var(--bln-strip-bottom, calc(64px + env(safe-area-inset-bottom))) + 8px);
  inset-inline-start: 12px;                        /* RTL: right edge */
  inset-inline-end: 80px;                          /* keep the left column free for #bln-zoom-btn / #bln-display-tools */
  max-width: 440px;
  display: none; align-items: center; gap: 8px;
  min-height: 44px; box-sizing: border-box; padding: 6px 6px 6px 8px; padding-inline-start: 12px;
  background: #143A52; color: #fff; border-radius: 14px;
  box-shadow: 0 6px 18px rgba(20, 58, 82, .22);
  font: 500 13.5px/1.3 Heebo, Arial, sans-serif; direction: rtl; text-align: right;
}
#bln-pwa-strip.is-on { display: flex; animation: bln-strip-in .25s ease-out; }
#bln-pwa-strip .bln-strip-ico {
  flex: none; width: 8px; height: 8px; border-radius: 50%; background: #C9861E;
}
#bln-pwa-strip .bln-strip-t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#bln-pwa-strip .bln-strip-go {
  flex: none; min-height: 32px; padding: 0 14px; border: 0; border-radius: 9px;
  background: #C9861E; color: #fff; font: 700 14px/1 Heebo, Arial, sans-serif; cursor: pointer;
}
#bln-pwa-strip .bln-strip-x {
  flex: none; width: 44px; height: 44px; margin: -6px 0; border: 0; border-radius: 10px; background: transparent;   /* 18.11 plugin: 44x44 touch target (strip stays 44px: -6px vertical margin absorbs the padding) */
  color: rgba(255, 255, 255, .8); font: 400 15px/1 Heebo, Arial, sans-serif; cursor: pointer;
}
#bln-pwa-strip button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@keyframes bln-strip-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #bln-pwa-strip.is-on { animation: none; } }

/* Content is never hidden behind it: the page end gets the strip's height as extra room while it is visible. */
html.bln-strip-on body { padding-bottom: calc(var(--bln-strip-h, 44px) + 8px); }

/* Never inside the app, never on desktop. */
html.bln-in-app #bln-pwa-strip { display: none !important; }
@media (display-mode: standalone), (display-mode: fullscreen), (display-mode: minimal-ui) { #bln-pwa-strip { display: none !important; } }
@media (min-width: 901px) { #bln-pwa-strip { display: none !important; } }
