/* PWA install banner — mobile only */
.gk-pwa-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  padding: 0 12px calc(12px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  transform: translateY(110%);
  transition: transform .25s ease;
}

.gk-pwa-banner.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}

.gk-pwa-inner {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: #1a2f56;
  color: #fff;
  border-radius: 1rem;
  padding: .85rem .9rem;
  box-shadow: 0 12px 32px rgba(15, 28, 53, .35);
  border: 1px solid rgba(255, 255, 255, .12);
}

.gk-pwa-icon {
  width: 44px;
  height: 44px;
  border-radius: .75rem;
  background: #edf2fa;
  object-fit: contain;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, .2);
}

.gk-pwa-copy {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: .15rem;
}

.gk-pwa-copy strong {
  font-size: .92rem;
  line-height: 1.2;
}

.gk-pwa-sub,
.gk-pwa-ios-hint {
  font-size: .75rem;
  opacity: .88;
  line-height: 1.35;
}

.gk-pwa-ios-hint {
  margin-top: .25rem;
  padding: .35rem .45rem;
  background: rgba(255, 255, 255, .1);
  border-radius: .5rem;
}

.gk-pwa-actions {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-shrink: 0;
}

.gk-pwa-install {
  border: 0;
  border-radius: .65rem;
  background: #e8913a;
  color: #1a2f56;
  font-weight: 700;
  font-size: .82rem;
  padding: .55rem .75rem;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.gk-pwa-close {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .75);
  font-size: 1.35rem;
  line-height: 1;
  padding: .2rem .35rem;
  cursor: pointer;
}

@media (min-width: 901px) {
  .gk-pwa-banner { display: none !important; }
}

/* Lift above bottom nav on mobile shells */
.mobile-shell .gk-pwa-banner {
  bottom: 64px;
}

body.auth-body .gk-pwa-banner,
body.landing .gk-pwa-banner {
  bottom: 0;
}
