/* PWA: botões discretos e ajuda para instalação */
[data-pwa-install][hidden] { display: none !important; }
.pwa-install-login { margin-top: 17px; text-align: center; }
.pwa-install-login .pwa-install-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 46px; cursor: pointer; font-size: .9rem; font-weight: 650;
  color: #554dc6; background: #f5f3ff; border: 1px solid #dad6ff;
  border-radius: 13px; transition: background .2s, border-color .2s;
}
.pwa-install-login .pwa-install-button:hover { background: #eeeaff; border-color: #bfb9ff; }
.pwa-install-login p { margin: 8px 0 0; font-size: .75rem; color: #7b7f9e; }
.pwa-install-menu-button { cursor: pointer; text-align: left; }
.pwa-install-menu-button:hover { background: rgba(108,99,255,.07); }
.pwa-install-dialog {
  border: 0; border-radius: 20px; max-width: 390px; width: calc(100% - 30px);
  padding: 0; background: #fff; color: #222742; box-shadow: 0 18px 60px rgba(25,25,50,.24);
}
.pwa-install-dialog::backdrop { background: rgba(22,26,46,.56); }
.pwa-install-help { padding: 26px 26px 24px; position: relative; text-align: center; }
.pwa-dialog-close { position: absolute; top: 9px; right: 12px; background: transparent; border: 0; font-size: 29px; color: #81869e; cursor: pointer; padding: 4px 8px; }
.pwa-dialog-icon { width: 54px; height: 54px; line-height: 54px; margin: 3px auto 12px; border-radius: 15px; background: #eeeaff; color: #6C63FF; font-size: 1.7rem; }
.pwa-install-help h2 { font-size: 1.15rem; margin: 5px 0 12px; }
.pwa-install-help p { font-size: .88rem; line-height: 1.6; color: #4e566d; }
.pwa-install-help .pwa-help-note { padding: 12px; background: #f7f7fb; border-radius: 9px; font-size: .77rem; color: #737b91; }
.pwa-dialog-ok { display: block; width: 100%; min-height: 43px; border: none; border-radius: 11px; background: #6C63FF; color: #fff; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; margin-top: 16px; }
#pwa-network-notice { position: fixed; left: 12px; right: 12px; top: calc(10px + env(safe-area-inset-top)); z-index: 100000; background: #fff7e6; border: 1px solid #e5ad45; color: #744f10; text-align: center; padding: 12px 14px; font-size: .82rem; border-radius: 12px; box-shadow: 0 8px 24px #0002; }
@media (display-mode: standalone) {
  body { -webkit-tap-highlight-color: transparent; }
}
