/* Installed app / install prompts.
   Files in css/ load in name order (index.html); later files win on equal selectors. */
/* ---------- Install as an app ---------- */
/* Sidebar: the logo with the notification bell; Install is a wide pill above the bottom bar (.side-install). */
.side-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; flex: none; margin-right: -6px; }
.side-top .logo { padding-right: 0; min-width: 0; }
.install-pill {
  flex: none; display: flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px 0 8px; border: 0; border-radius: 99px; cursor: pointer;
  font-weight: 800; font-size: 12px; color: #14121f; background: var(--holo); transition: filter .2s, transform .1s;
}
.install-pill[hidden] { display: none; }
.install-pill svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.install-pill:active { transform: scale(.96); }
@media (hover: hover) { .install-pill:hover { filter: brightness(1.06); } }
@media (max-width: 560px), (hover: none) { .install-pill { height: 40px; padding: 0 14px 0 12px; font-size: 13.5px; } }
.install-banner > img { width: 36px; height: 36px; border-radius: 10px; flex: none; }
.install-steps { list-style: none; margin: 4px 0 14px; padding: 0; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.install-steps li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); font-size: 14px; color: var(--muted); }
.install-steps b { color: var(--text); }
.install-ico { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--surface); border: 1px solid var(--border-2); color: #3b82f6; }
.install-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.install-ico img { width: 26px; height: 26px; border-radius: 7px; }
/* Opened from the Home Screen: no browser chrome, so the install prompts never show. */
@media (display-mode: standalone) { .install-pill, .install-banner { display: none !important; } }
@media (max-width: 560px) {
  .install-banner { gap: 10px; padding: 12px; }
  .install-banner p { font-size: 13px; }
}
@media (max-width: 560px) {
  /* Toasts span the screen width and sit above the Hunt Deck's thumb dock when it's open. */
  .toast { left: 16px; right: 16px; max-width: none; transform: translateY(20px); text-align: left; }
  .toast.show { transform: none; }
  .toast.has-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  body.drawer-open .toast { bottom: calc(160px + env(safe-area-inset-bottom)); }
}
