#pwa-install-prompt {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 999999;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(1, 27, 46, 0.12);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(1, 27, 46, 0.22);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#pwa-install-button,
#pwa-install-help-close {
  border: 0;
  cursor: pointer;
  font: inherit;
}

#pwa-install-button {
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  color: #ffffff;
  background: #011b2e;
  font-weight: 700;
}

#pwa-install-button:hover,
#pwa-install-button:focus-visible {
  background: #0170b9;
}

#pwa-install-dismiss {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: #52677a;
  background: transparent;
  cursor: pointer;
  font: 700 22px/1 system-ui, sans-serif;
}

#pwa-install-dismiss:hover,
#pwa-install-dismiss:focus-visible {
  color: #011b2e;
  background: #eef3f6;
}

#pwa-install-help {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(1, 27, 46, 0.68);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#pwa-install-help[hidden],
#pwa-install-prompt[hidden] {
  display: none !important;
}

.pwa-install-help-card {
  width: min(100%, 430px);
  padding: 28px;
  border-radius: 18px;
  color: #011b2e;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(1, 27, 46, 0.3);
}

.pwa-install-help-card h2 {
  margin: 0 0 12px;
  color: #011b2e;
  font-size: 1.45rem;
}

.pwa-install-help-card p {
  margin: 0 0 22px;
  color: #52677a;
  font-size: 1rem;
  line-height: 1.6;
}

#pwa-install-help-close {
  width: 100%;
  min-height: 44px;
  border-radius: 10px;
  color: #ffffff;
  background: #0170b9;
  font-weight: 700;
}

@media (max-width: 520px) {
  #pwa-install-prompt {
    right: 14px;
    bottom: 14px;
    left: 14px;
    justify-content: space-between;
  }

  #pwa-install-button {
    flex: 1;
  }
}
