/* PWA install banner — 固定底部、不擋內容 */
#pwa-install-banner {
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(72px + env(safe-area-inset-bottom));
  z-index: 9999;
  pointer-events: none;
  animation: pwaBnIn .35s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
@keyframes pwaBnIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.pwa-bn-card {
  pointer-events: auto;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(244,196,48,0.15), rgba(26,26,26,0.95));
  background-color: rgba(20,20,20,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(244,196,48,0.40);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 18px rgba(244,196,48,0.10);
  max-width: 520px;
  margin: 0 auto;
}
.pwa-bn-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  flex: 0 0 auto;
}
.pwa-bn-text { flex: 1; min-width: 0; }
.pwa-bn-title {
  font-size: 14px; font-weight: 900; color: #FFD54F;
  letter-spacing: 0.3px;
}
.pwa-bn-sub {
  font-size: 11.5px; color: #d0d0d0;
  margin-top: 2px; line-height: 1.45;
}
.pwa-bn-sub b { color: #FFD54F; font-weight: 800; }
.pwa-bn-actions {
  display: flex; gap: 6px; flex: 0 0 auto;
  flex-direction: column;
}
.pwa-bn-install, .pwa-bn-close {
  font-size: 12px; font-weight: 800;
  padding: 7px 12px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s, opacity .15s;
}
.pwa-bn-install {
  background: linear-gradient(135deg, #FFD54F, #d9a829);
  color: #1a1a1a;
}
.pwa-bn-install:hover { transform: translateY(-1px); }
.pwa-bn-close {
  background: rgba(255,255,255,0.06);
  color: #a8a8a8;
}
.pwa-bn-close:hover { opacity: .75; }

@media (max-width: 480px) {
  .pwa-bn-card { padding: 10px 12px; gap: 10px; }
  .pwa-bn-icon { width: 38px; height: 38px; }
  .pwa-bn-title { font-size: 13px; }
  .pwa-bn-sub { font-size: 11px; }
  .pwa-bn-install, .pwa-bn-close { padding: 6px 10px; font-size: 11.5px; }
}
