/* Barra de instalação do PWA (par do pwa-install.js). */
.aj-pwa-install {
  position: fixed;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  left: 12px;
  z-index: 90;
  display: none;
  grid-template-columns: 38px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.aj-pwa-install__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #f4efed;
  color: var(--aj-pwa-accent, #d63a2f);
}

.aj-pwa-install__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.aj-pwa-install__title {
  font-size: 13.5px;
  font-weight: 700;
  color: #1d1d1f;
}

.aj-pwa-install__text {
  font-size: 11.5px;
  line-height: 1.35;
  color: #6e6e73;
}

.aj-pwa-install__hint {
  font-size: 11.5px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--aj-pwa-accent, #d63a2f);
}

.aj-pwa-install__btn {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: var(--aj-pwa-accent, #d63a2f);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.aj-pwa-install__btn[disabled] {
  opacity: 0.72;
  cursor: progress;
}

.aj-pwa-install__close {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: #f4efed;
  color: #6e6e73;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.aj-pwa-install__close:hover {
  background: #ece4e1;
  color: #1d1d1f;
}

@media (max-width: 720px) {
  .aj-pwa-install {
    display: grid;
  }
}
