.lpi-prompt[hidden] { display: none !important; }
.lpi-prompt { position: fixed; z-index: 999990; left: 18px; right: 18px; bottom: max(18px, env(safe-area-inset-bottom)); display: flex; justify-content: center; pointer-events: none; font-family: inherit; }
.lpi-card { position: relative; width: min(100%, 560px); box-sizing: border-box; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: center; padding: 17px 18px; border: 1px solid rgba(20, 30, 45, .12); border-radius: 18px; background: #fff; color: #172033; box-shadow: 0 12px 42px rgba(10, 20, 35, .2); pointer-events: auto; }
.lpi-brand-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: #172f58; color: #fff; font-size: 25px; font-weight: 800; }
.lpi-brand-icon span { line-height: 1; }
.lpi-copy { min-width: 0; padding-right: 18px; }
.lpi-copy strong { display: block; font-size: 15px; line-height: 1.4; font-weight: 750; }
.lpi-description, .lpi-help { margin: 4px 0 0; color: #657083; font-size: 12px; line-height: 1.5; }
.lpi-help { color: #34445c; }
.lpi-actions { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; }
.lpi-install, .lpi-later { min-height: 42px; border: 0; border-radius: 11px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.lpi-install { flex: 1; background: #18365f; color: #fff; }
.lpi-later { padding: 0 15px; background: #f0f2f5; color: #4d596b; }
.lpi-close { position: absolute; top: 8px; right: 10px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: #778195; font-size: 22px; line-height: 1; cursor: pointer; }
.lpi-shortcode-trigger { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; border: 0; border-radius: 10px; background: #18365f; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
@media (min-width: 700px) { .lpi-card { grid-template-columns: 48px minmax(0, 1fr) auto; padding: 15px 18px; } .lpi-actions { grid-column: auto; } .lpi-install { min-width: 128px; flex: 0 0 auto; padding: 0 16px; } .lpi-later { padding: 0 12px; } }
@media (prefers-reduced-motion: no-preference) { .lpi-card { animation: lpi-enter .22s ease-out; } @keyframes lpi-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } }

.lpi-done { display: block; margin-top: 7px; padding: 0; border: 0; background: transparent; color: #18365f; font: inherit; font-size: 12px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.lpi-done[hidden] { display: none !important; }

/* Admin-configurable desktop placement; mobile remains anchored to the bottom. */
@media (min-width: 700px) {
  .lpi-prompt.lpi-position-right { left: auto; right: 18px; justify-content: flex-end; }
}

.lpi-brand-icon img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: inherit; }
