/* 缘遇 PWA 安装引导条样式 */
#pwaBar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(64px + env(safe-area-inset-bottom, 0px) + 10px);
  z-index: 99990;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #2b2226;
  color: #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .28);
  font-size: 13px;
  line-height: 1.45;
  animation: pwaBarIn .35s ease;
}
#pwaBar.show { display: flex; }
#pwaBarIco {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  flex: 0 0 auto;
  background: #E8556D;
}
#pwaBarTxt { flex: 1 1 auto; min-width: 0; }
#pwaBarTxt b { display: block; font-size: 14px; font-weight: 500; margin-bottom: 2px; }
#pwaBarTxt span { color: rgba(255, 255, 255, .72); font-size: 12px; display: block; }
#pwaBarAdd {
  flex: 0 0 auto;
  border: 0;
  border-radius: 9px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  background: #E8556D;
  color: #fff;
  cursor: pointer;
}
#pwaBarClose {
  flex: 0 0 auto;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, .55);
  font-size: 20px;
  line-height: 1;
  padding: 6px;
  cursor: pointer;
}
@keyframes pwaBarIn {
  from { transform: translateY(18px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  #pwaBar { animation: none; }
}
/* PWA 独立窗口下隐藏版本角标避免遮挡，保留但调低透明度 */
@media all and (display-mode: standalone) {
  .ver-tag { opacity: .35; }
}
