.pwa-launch-screen {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: none;
  place-items: center;
  padding: 28px;
  background: #ffffff;
  opacity: 1;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.pwa-launch-screen.is-visible {
  display: grid;
}

.pwa-launch-screen.is-hiding {
  opacity: 0;
  visibility: hidden;
}

.pwa-launch-inner {
  text-align: center;
  color: #0b1f55;
}

.pwa-launch-inner img {
  width: 112px;
  height: 112px;
  margin: 0 auto 18px;
  display: block;
}

.pwa-launch-inner strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1.2;
}

.pwa-launch-inner span {
  display: block;
  max-width: 28ch;
  margin: 8px auto 0;
  color: #4b5d73;
  font-size: 0.92rem;
}

.pwa-install-card {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1040;
  display: none;
  gap: 14px;
  align-items: flex-start;
  width: min(calc(100% - 32px), 380px);
  transform: translate(-50%, -50%);
  padding: 14px;
  border: 1px solid #dbe7ff;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(15, 45, 95, 0.18);
  color: #122033;
}

.pwa-install-card.is-visible {
  display: flex;
}

.pwa-install-card img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.pwa-install-copy {
  min-width: 0;
  flex: 1;
}

.pwa-install-copy strong {
  display: block;
  color: #0b1f55;
  font-size: 0.96rem;
}

.pwa-install-copy p,
.pwa-install-copy ol {
  margin: 4px 0 0;
  color: #526173;
  font-size: 0.82rem;
  line-height: 1.45;
}

.pwa-install-copy ol {
  padding-left: 18px;
}

.pwa-install-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.pwa-install-actions button {
  border: 1px solid transparent;
  padding: 8px 10px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.pwa-install-primary {
  background: #2563eb;
  color: #ffffff;
}

.pwa-install-secondary {
  background: #ffffff;
  color: #0b1f55;
  border-color: #cbd8f0 !important;
}

.pwa-status-toast {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1041;
  display: none;
  width: min(calc(100% - 32px), 420px);
  transform: translate(-50%, -50%);
  padding: 11px 14px;
  border-radius: 8px;
  background: #0b1f55;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 45, 95, 0.18);
  font-size: 0.86rem;
  text-align: center;
}

.pwa-status-toast.is-visible {
  display: block;
}

@media (max-width: 420px) {
  .pwa-install-card {
    gap: 12px;
    padding: 12px;
  }

  .pwa-install-card img {
    width: 38px;
    height: 38px;
  }
}
