.ospwa-install-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 999999;
  display: flex;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  max-width: 560px;
  margin: 0 auto;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(5, 8, 22, 0.98), rgba(6, 25, 67, 0.98));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  color: #ffffff;
  font-family: inherit;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 240ms ease, opacity 240ms ease;
}

.ospwa-install-banner.ospwa-visible {
  transform: translateY(0);
  opacity: 1;
}

.ospwa-install-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #0b7cff, #20d3ff);
  color: #ffffff;
  font-weight: 900;
  font-size: 23px;
  line-height: 1;
}

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

.ospwa-install-badge {
  margin-bottom: 2px;
  color: #8fe8ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ospwa-install-title {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.15;
}

.ospwa-install-body {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.25;
}

.ospwa-install-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 7px;
}

.ospwa-install-primary,
.ospwa-install-close {
  appearance: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.ospwa-install-primary {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #061943;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.ospwa-install-close {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 24px;
  line-height: 1;
}

@media (min-width: 620px) {
  .ospwa-install-banner {
    left: auto;
    right: 18px;
    bottom: 18px;
  }
}

@media (max-width: 360px) {
  .ospwa-install-banner {
    gap: 9px;
    padding: 10px;
  }

  .ospwa-install-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .ospwa-install-body {
    display: none;
  }

  .ospwa-install-primary {
    padding: 0 11px;
  }
}
