.pwa-install-toast {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 12000;
  width: min(92vw, 420px);
  transform: translate(-50%, 120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.pwa-install-toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}
.pwa-install-card {
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
  border: 1px solid rgba(218, 111, 13, 0.22);
  border-radius: 1rem;
  box-shadow: 0 20px 45px rgba(0, 24, 48, 0.18);
  padding: 1rem;
}
.pwa-install-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.pwa-install-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #da6f0d 0%, #8b4808 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pwa-install-copy {
  min-width: 0;
  flex: 1;
}
.pwa-install-title {
  margin: 0;
  color: #111827;
  font-size: 0.95rem;
  font-weight: 800;
}
.pwa-install-text {
  margin: 0.2rem 0 0;
  color: #475569;
  font-size: 0.82rem;
  line-height: 1.5;
}
.pwa-install-actions {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.55rem;
}
.pwa-install-btn {
  flex: 1;
  border: none;
  border-radius: 0.8rem;
  padding: 0.78rem 0.95rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}
.pwa-install-btn.primary {
  background: #da6f0d;
  color: #fff;
}
.pwa-install-btn.secondary {
  background: #f1f5f9;
  color: #334155;
}
html[data-theme-resolved="dark"] .pwa-install-card {
  background: linear-gradient(135deg, #0f172a 0%, #162033 100%);
  border-color: #334155;
}
html[data-theme-resolved="dark"] .pwa-install-title {
  color: #f8fafc;
}
html[data-theme-resolved="dark"] .pwa-install-text {
  color: #cbd5e1;
}
html[data-theme-resolved="dark"] .pwa-install-btn.secondary {
  background: #1e293b;
  color: #e2e8f0;
}
@media (max-width: 480px) {
  .pwa-install-actions {
    flex-direction: column;
  }
}
