/* css/pwa-install.css -- fully namespaced (n123-pwa-*), loaded as its
   own file so it can never collide with or override existing rules. */

.n123-pwa-cta {
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: flex; flex-direction: column; gap: .6em;
  background: rgba(16, 18, 27, .96);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  padding: .9em 1em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
  transform: translateY(120%);
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
  pointer-events: none;
  max-width: 420px;
  margin: 0 auto;
}
.n123-pwa-cta.n123-pwa-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.n123-pwa-text {
  margin: 0;
  color: #F5F5F2;
  font-size: .92em;
  line-height: 1.4;
}

.n123-pwa-row {
  display: flex; align-items: center; gap: .6em;
}

.n123-pwa-install-btn {
  background: #D4AF37;
  color: #14140f;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  padding: .6em 1.2em;
  font-size: .9em;
  cursor: pointer;
}

.n123-pwa-dismiss-btn {
  margin-left: auto;
  background: none;
  border: none;
  color: #9A9BA3;
  font-size: 1.2em;
  line-height: 1;
  padding: .3em .5em;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .n123-pwa-cta { transition: none; }
}