.pwa-install-banner {
  position: fixed;
  z-index: 100;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  left: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  color: #f8fafc;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
  font: 14px/1.4 system-ui, sans-serif;
}

.pwa-install-copy {
  display: grid;
  flex: 1;
  gap: 3px;
}

.pwa-install-copy span {
  color: #cbd5e1;
  font-size: 12px;
}

.pwa-install-button {
  min-height: 44px;
  padding: 0 14px;
  color: #fff;
  background: #4f46e5;
  border: 0;
  border-radius: 10px;
  font: 600 14px system-ui, sans-serif;
  cursor: pointer;
}

.pwa-install-close {
  align-self: flex-start;
  min-width: 32px;
  min-height: 32px;
  padding: 0;
  color: #cbd5e1;
  background: transparent;
  border: 0;
  font: 24px/1 system-ui, sans-serif;
  cursor: pointer;
}

.pwa-install-dialog {
  width: min(420px, calc(100% - 32px));
  padding: 24px;
  color: #f8fafc;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  font: 15px/1.5 system-ui, sans-serif;
}

.pwa-install-dialog::backdrop {
  background: rgba(0, 0, 0, 0.65);
}

.pwa-install-dialog h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.pwa-install-dialog p {
  margin: 0 0 20px;
  color: #cbd5e1;
}

@media (min-width: 768px) {
  .pwa-install-banner {
    right: 20px;
    bottom: 20px;
    left: auto;
    width: 380px;
  }
}
