/* "Install the app" banner shown by js/pwa.js. */
.pwa-install {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto;
  padding: 12px 14px;
  border-radius: 14px;
  background: #101820;
  color: #e8eef3;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  font-size: .95rem;
}

.pwa-install img {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 10px;
}

.pwa-install p {
  flex: 1;
  margin: 0;
  line-height: 1.4;
}

.pwa-install__actions {
  display: flex;
  flex: none;
  gap: 8px;
}

.pwa-install button {
  font: inherit;
  font-weight: 600;
  border: 0;
  border-radius: 9px;
  padding: 8px 12px;
  cursor: pointer;
}

.pwa-install__later {
  background: transparent;
  color: #a9b6c1;
}

.pwa-install__go {
  background: #3fbf7f;
  color: #062014;
}

html[data-theme="light"] .pwa-install {
  background: #ffffff;
  color: #10202c;
  border-color: rgba(16, 32, 44, .12);
  box-shadow: 0 10px 30px rgba(16, 32, 44, .18);
}

html[data-theme="light"] .pwa-install__later {
  color: #4b5d6b;
}

@media (max-width: 420px) {
  .pwa-install {
    flex-wrap: wrap;
  }

  .pwa-install__actions {
    width: 100%;
    justify-content: flex-end;
  }
}
