/* Global Grants Hub PWA install invitation — isolated visual styles */
.ggh-pwa-install {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 99980;
  width: min(390px, calc(100vw - 36px));
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(239, 210, 123, .75);
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg, rgba(13,45,82,.98), rgba(7,27,53,.99));
  box-shadow: 0 20px 52px rgba(7,27,53,.34), 0 0 0 1px rgba(201,154,46,.16);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .28s ease, transform .28s ease;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
.ggh-pwa-install.is-visible { opacity: 1; transform: translateY(0); }
.ggh-pwa-install img { width: 54px; height: 54px; border-radius: 14px; object-fit: cover; }
.ggh-pwa-copy { min-width: 0; }
.ggh-pwa-copy strong { display: block; color: #fff; font-size: .91rem; line-height: 1.25; }
.ggh-pwa-copy span { display: block; margin-top: 4px; color: #ced9e5; font-size: .74rem; line-height: 1.35; }
.ggh-pwa-action {
  min-height: 40px;
  padding: 9px 13px;
  border: 0;
  border-radius: 11px;
  color: #071b35;
  background: linear-gradient(135deg, #efd27b, #c99a2e);
  font: inherit;
  font-size: .77rem;
  font-weight: 850;
  cursor: pointer;
}
.ggh-pwa-action:focus-visible, .ggh-pwa-close:focus-visible { outline: 3px solid rgba(239,210,123,.75); outline-offset: 2px; }
.ggh-pwa-close {
  position: absolute;
  top: 4px;
  right: 6px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #cdd8e4;
  background: transparent;
  font: inherit;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
@media (max-width: 600px) {
  .ggh-pwa-install {
    left: 12px;
    right: 12px;
    bottom: 92px;
    width: auto;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 11px 12px;
  }
  .ggh-pwa-install img { width: 48px; height: 48px; border-radius: 12px; }
  .ggh-pwa-copy strong { font-size: .84rem; }
  .ggh-pwa-copy span { font-size: .69rem; }
  .ggh-pwa-action { padding: 8px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .ggh-pwa-install { transition: none; }
}
