/* Aviso de instalación de la app */
.pwa { --pwa-bottom: 0px; position: fixed; z-index: 90; left: 14px; right: 14px; bottom: calc(var(--pwa-bottom) + 14px + env(safe-area-inset-bottom, 0px)); margin: 0 auto; max-width: 560px; }
.pwa[hidden] { display: none; }
.pwa-card { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: center; padding: 16px 44px 14px 16px; border-radius: 24px; overflow: hidden; isolation: isolate; background: color-mix(in srgb, var(--surface) 95%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border: 1px solid var(--line); box-shadow: 0 24px 56px rgba(18,21,40,.3); animation: pwa-in .6s var(--ease) both; }
.pwa-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--brand-grad); }
@keyframes pwa-in { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }
.pwa-ico { width: 56px; height: 56px; border-radius: 16px; box-shadow: 0 8px 18px rgba(79,70,229,.4); animation: pwa-bob 4s ease-in-out infinite; } @keyframes pwa-bob { 50% { translate: 0 -4px; } }
.pwa-copy strong { display: block; font-size: 1.02rem; letter-spacing: -0.02em; } .pwa-copy span { display: block; color: var(--muted); font-size: .84rem; line-height: 1.45; margin-top: 2px; }
.pwa-steps { margin: 10px 0 0; padding-left: 20px; font-size: .84rem; color: var(--ink); display: grid; gap: 4px; } .pwa-steps[hidden] { display: none; } .pwa-share { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 800; }
.pwa-actions { grid-column: 1 / -1; display: flex; gap: 8px; } .pwa-actions .btn { flex: 1; min-height: 42px; }
.pwa-never { grid-column: 1 / -1; justify-self: center; background: none; border: 0; padding: 2px 8px; color: var(--muted); font: 600 .78rem var(--font); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; } .pwa-never:hover { color: var(--ink); }
.pwa-x { position: absolute; right: 10px; top: 12px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--ink); cursor: pointer; font-size: .82rem; } .pwa-x:hover { background: var(--line); }
@media (min-width: 761px) { .pwa { left: auto; right: 22px; margin: 0; max-width: 420px; } }
@media (max-width: 760px) { .pwa { left: 8px; right: 8px; max-width: none; } }
@media (prefers-reduced-motion: reduce) { .pwa-card, .pwa-ico { animation: none !important; } }
