.public-install-prompt {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 1200;
  max-width: 520px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 14px 14px 16px;
  color: #21342c;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(44, 95, 79, 0.18);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(30, 45, 38, 0.18);
  backdrop-filter: blur(12px);
  font-family: Georgia, "Times New Roman", serif;
}

.public-install-prompt[hidden] {
  display: none;
}

.public-install-prompt__title {
  margin: 0 0 3px;
  color: #2c5f4f;
  font-size: 0.98rem;
  font-weight: 700;
}

.public-install-prompt__copy {
  margin: 0;
  color: #587066;
  font-size: 0.88rem;
  line-height: 1.35;
}

.public-install-prompt__actions {
  display: flex;
  gap: 7px;
  align-items: center;
}

.public-install-prompt__button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  background: #2c5f4f;
  color: #fff;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.public-install-prompt__dismiss {
  appearance: none;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(44, 95, 79, 0.16);
  border-radius: 50%;
  background: #f4f8f6;
  color: #2c5f4f;
  font: inherit;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 520px) {
  .public-install-prompt {
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    grid-template-columns: 1fr;
  }

  .public-install-prompt__actions {
    justify-content: flex-end;
  }
}
