/* ---------- "Install the app" sheet (phones / tablets) — see public/js/pwa.js ---------- */
.pwa-install {
    position: fixed; z-index: 2147483000;
    inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    max-width: 440px; margin-inline: auto;
    padding: 16px 16px 14px; border-radius: 20px;
    background: rgba(20, 13, 44, .97); color: #ece9f7;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .65);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    font-family: inherit; font-size: .92rem; line-height: 1.65;
    transform: translateY(calc(100% + 40px)); opacity: 0;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .35s ease;
}
.pwa-install.is-open { transform: translateY(0); opacity: 1; }
.pwa-install__close {
    position: absolute; top: 8px; inset-inline-end: 8px;
    width: 32px; height: 32px; border: 0; border-radius: 10px;
    background: transparent; color: #b7b0d4; font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.pwa-install__close:hover, .pwa-install__close:focus-visible { background: rgba(255, 255, 255, .08); color: #fff; }
.pwa-install__head { display: flex; align-items: center; gap: 12px; padding-inline-end: 32px; }
.pwa-install__icon { width: 48px; height: 48px; border-radius: 14px; flex: none; }
.pwa-install__title { font-size: 1rem; font-weight: 700; }
.pwa-install__body p { margin: 10px 0 0; color: #c9c3e4; }
.pwa-install__steps { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.pwa-install__steps li { display: flex; align-items: center; gap: 10px; }
.pwa-install__glyph {
    display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px;
    background: rgba(108, 78, 224, .22); color: #b9a8ff;
}
.pwa-install__actions { display: flex; gap: 8px; margin-top: 14px; }
.pwa-install__btn {
    flex: 1; min-height: 44px; padding: 10px 14px; border-radius: 12px; cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .14); background: transparent; color: #ece9f7;
    font: inherit; font-weight: 600;
}
.pwa-install__btn--primary { border-color: transparent; background: #6c4ee0; color: #fff; }
.pwa-install__btn:focus-visible, .pwa-install__close:focus-visible { outline: 2px solid #b9a8ff; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .pwa-install { transition: none; } }

/* ---------- "Install on Android / iPhone · iPad" buttons — partials/pwa-install-buttons.blade.php ---------- */
.pwa-apps[hidden] { display: none !important; }
.pwa-apps { display: grid; gap: 10px; margin-top: 18px; }
.pwa-apps__title { font-size: .9rem; font-weight: 700; }
.pwa-apps__row { display: flex; flex-wrap: wrap; gap: 10px; }
.pwa-apps__btn {
    display: inline-flex; align-items: center; gap: 10px; flex: 1 1 140px; min-height: 48px;
    padding: 8px 14px; border-radius: 13px; cursor: pointer; text-align: start;
    border: 1px solid rgba(255, 255, 255, .16); background: #000; color: #fff; font: inherit;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.pwa-apps__btn:hover { border-color: rgba(255, 255, 255, .35); background: #111; transform: translateY(-1px); }
.pwa-apps__btn:focus-visible { outline: 2px solid #b9a8ff; outline-offset: 2px; }
.pwa-apps__ic { flex: none; }
.pwa-apps__txt { display: grid; line-height: 1.2; }
.pwa-apps__txt small { font-size: .68rem; opacity: .75; }
.pwa-apps__txt b { font-size: .95rem; font-weight: 700; direction: ltr; unicode-bidi: isolate; }
.pwa-apps--drawer { margin-top: 4px; }
.pwa-apps--compact { margin: 0 12px 10px; }
.pwa-apps--compact .pwa-apps__btn { min-height: 40px; padding: 6px 10px; flex-basis: 110px; }
.pwa-apps--compact .pwa-apps__txt b { font-size: .82rem; }
