/* Modo app (TWA/PWA): nada de convites para descarregar o APK */
html.pn-in-app #pronisto-apk-card, html.pn-in-app #pronisto-apk-desk, html.pn-in-app #pronisto-apk-banner,
html.pn-in-app .apk-home-banner, html.pn-in-app a[href*="pronisto.apk"], html.pn-in-app a[href^="/download/"],
html.pn-in-app .pwa-install-banner, html.pn-in-app #pwa-install-banner { display: none !important; }

.pn-onb-bg { position: fixed; inset: 0; z-index: 9999; background: rgba(3,6,12,.72); backdrop-filter: blur(6px); display: flex; align-items: flex-end; justify-content: center; padding: 16px; }
@media (min-width: 640px) { .pn-onb-bg { align-items: center; } }
.pn-onb { width: 100%; max-width: 440px; max-height: 88vh; overflow: auto; background: #0f1722; color: #e8eef6; border: 1px solid rgba(255,255,255,.08); border-radius: 22px; padding: 22px 20px 18px; box-shadow: 0 24px 60px rgba(0,0,0,.5); font-family: inherit; }
.pn-onb h2 { margin: 6px 0 6px; font-size: 21px; font-weight: 800; }
.pn-onb p { margin: 0 0 12px; color: #9aabc0; font-size: 14.5px; line-height: 1.5; }
.pn-bell { font-size: 40px; line-height: 1; margin-top: 6px; }
.pn-dots { display: flex; gap: 6px; } .pn-dots i { width: 22px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); } .pn-dots i.on { background: #22e58b; }
.pn-onb input[type=search] { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.1); background: #0a1119; color: inherit; font: inherit; margin: 4px 0 8px; }
.pn-count { font-size: 12.5px; color: #22e58b; font-weight: 700; margin-bottom: 6px; }
.pn-results { display: grid; gap: 6px; max-height: 42vh; overflow: auto; }
.pn-pick { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.07); background: #111c28; color: inherit; font: inherit; cursor: pointer; text-align: left; }
.pn-pick img, .pn-crest { width: 28px; height: 28px; border-radius: 50%; object-fit: contain; flex: none; }
.pn-crest { display: grid; place-items: center; background: #1b2838; font-weight: 800; }
.pn-pick b { flex: 1; font-weight: 700; } .pn-pick span { font-size: 12.5px; color: #9aabc0; }
.pn-pick.on { border-color: #22e58b; background: rgba(34,229,139,.08); } .pn-pick.on span { color: #22e58b; font-weight: 700; }
.pn-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; }
.pn-primary, .pn-ghost, .pn-danger { display: inline-flex; align-items: center; justify-content: center; padding: 11px 16px; border-radius: 12px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; border: 1px solid transparent; }
.pn-primary { background: #22e58b; color: #04150c; } .pn-primary:disabled { opacity: .6; }
.pn-ghost { background: transparent; color: #cdd8e5; border-color: rgba(255,255,255,.14); }
.pn-danger { background: rgba(255,93,108,.12); color: #ff7a86; border-color: rgba(255,93,108,.35); }
.pn-sm { padding: 8px 13px; font-size: 14px; margin-top: 4px; }
.pn-err { color: #ff7a86 !important; font-weight: 600; } .pn-muted { color: #9aabc0; font-size: 13px; }
.pn-card .pn-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line, rgba(255,255,255,.08)); font-size: 14px; font-weight: 700; flex-wrap: wrap; }
.pn-card .pn-inline { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--muted, #9aabc0); }
.pn-card input[type=time], .pn-card select { padding: 6px 8px; border-radius: 9px; border: 1px solid var(--line, rgba(255,255,255,.12)); background: transparent; color: inherit; font: inherit; }
.pn-card select option { color: #111; }
.pn-saved { min-height: 18px; margin: 6px 0 0; font-size: 12.5px; color: #22e58b; font-weight: 700; }
.pn-needpush { padding: 8px 0 10px; }
