.pwa-install {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1000000;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(390px, calc(100% - 36px));
  padding: 14px;
  border: 1px solid rgba(0, 139, 76, .18);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .18);
  color: #24332b;
  font-family: Arial, sans-serif;
}

.pwa-install[hidden] { display: none !important; }
.pwa-install__icon { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 11px; }
.pwa-install__content { min-width: 0; flex: 1; }
.pwa-install__title { display: block; margin-bottom: 2px; font-size: 15px; font-weight: 700; }
.pwa-install__text { display: block; font-size: 12px; line-height: 1.35; color: #66736c; }
.pwa-install__action { min-height: 44px; padding: 0 14px; border: 0; border-radius: 22px; background: #008b4c; color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
.pwa-install__close { position: absolute; top: -10px; right: -10px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #24332b; color: #fff; font-size: 20px; line-height: 36px; cursor: pointer; }

.pwa-instructions {
  position: fixed;
  inset: 0;
  z-index: 1000001;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, .55);
}

.pwa-instructions[hidden] { display: none !important; }
.pwa-instructions__card { width: 100%; max-width: 390px; padding: 28px 22px 22px; border-radius: 18px; background: #fff; color: #24332b; text-align: center; box-shadow: 0 16px 50px rgba(0, 0, 0, .3); }
.pwa-instructions__card h2 { margin: 0 0 12px; font-size: 21px; color: #008b4c; }
.pwa-instructions__card p { margin: 0 0 12px; font-size: 15px; line-height: 1.5; }
.pwa-instructions__card button { min-height: 46px; margin-top: 8px; padding: 0 24px; border: 0; border-radius: 23px; background: #008b4c; color: #fff; font-weight: 700; cursor: pointer; }

@media (max-width: 767px) {
  .pwa-install {
    right: 12px;
    bottom: calc(101px + env(safe-area-inset-bottom, 0px));
    width: calc(100% - 24px);
  }
}
