/* The "Add to home screen" sheet (install.js). A card bottom-left on wide screens; a full-width
   sheet above the tab bar on phones, with the Feedback button tucked away while it's open. */
.install-card { position: fixed; left: 16px; bottom: 16px; z-index: 40; width: min(360px, calc(100vw - 32px)); padding: 14px 16px 16px; box-shadow: 0 8px 30px rgba(15, 25, 41, 0.22); background-color: var(--panel-solid, var(--bg)); }
.install-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.install-icon { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.install-title { font-weight: 700; font-size: 17px; flex: 1; }
.install-x { appearance: none; border: none; background: transparent; color: var(--soft); font: 400 26px/1 "Inter", sans-serif; width: 44px; height: 44px; margin: -8px -10px -8px 0; border-radius: 10px; cursor: pointer; flex: none; }
.install-text { margin: 0 0 8px; font-size: 15px; line-height: 1.45; color: var(--soft); }
.install-steps { margin: 0 0 12px; padding-left: 22px; font-size: 15px; line-height: 1.45; display: grid; gap: 4px; }
.install-share { width: 20px; height: 20px; vertical-align: -4px; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.install-row { display: flex; gap: 8px; flex-wrap: wrap; }
.install-row .btn { min-height: 44px; flex: 1; }
html.display-mode .install-card { display: none !important; }
@media (max-width: 640px) {
  .install-card { left: 8px; right: 8px; width: auto; bottom: calc(8px + env(safe-area-inset-bottom)); border-radius: 18px; }
  body.tabbar .install-card { bottom: calc(76px + env(safe-area-inset-bottom)); }
  body.install-open .feedback-launch { display: none; }
}
