#nex-pwa-banner[hidden], #nex-pwa-instructions[hidden] {
  display: none !important;
}

#nex-pwa-banner {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 1200;
  box-sizing: border-box;
  max-width: 540px;
  margin-inline: auto;
  padding: 16px;
  border: 1px solid #a855f7;
  border-radius: 14px;
  background: #0b0714;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .38);
  font-family: inherit;
}

#nex-pwa-banner p {
  margin: 0 0 12px;
  color: #fff;
  line-height: 1.45;
}

#nex-pwa-banner .nex-pwa-title {
  font-size: 1rem;
  font-weight: 700;
}

#nex-pwa-banner .nex-pwa-instructions {
  padding-top: 8px;
  color: #eee7f7;
  font-size: .94rem;
}

#nex-pwa-banner .nex-pwa-actions {
  display: flex;
  gap: 10px;
}

#nex-pwa-banner button {
  min-height: 44px;
  flex: 1;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

#nex-pwa-install {
  background: #a855f7;
  color: #fff;
}

#nex-pwa-close {
  background: #374151;
  color: #f3f4f6;
}

#nex-pwa-banner button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
