.store-install[hidden],
.store-install [hidden] {
    display: none !important;
}

.store-install {
    display: none;
}

@media (max-width: 1024px) and (pointer: coarse) {
    .store-install {
        display: block;
        font-family: inherit;
    }

    .store-install-trigger {
        position: fixed;
        inset-inline-end: 16px;
        inset-block-end: calc(86px + env(safe-area-inset-bottom, 0px));
        z-index: 1040;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 14px;
        border: 0;
        border-radius: 999px;
        background: var(--bs-primary, #285ce6);
        color: #fff;
        box-shadow: 0 8px 24px #0003;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.3;
        cursor: pointer;
    }

    .store-install-trigger span {
        font-size: 20px;
        line-height: 1;
    }

    .store-install-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1080;
        background: #14223a99;
    }

    .store-install-dialog {
        position: fixed;
        inset-inline: 16px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1081;
        box-sizing: border-box;
        width: min(430px, calc(100vw - 32px));
        max-height: calc(100dvh - 32px);
        margin-inline: auto;
        overflow-y: auto;
        padding: 28px 22px 24px;
        border-radius: 22px;
        background: #fff;
        color: #16233d;
        box-shadow: 0 20px 70px #0003;
        text-align: center;
    }

    .store-install-close {
        position: absolute;
        inset-block-start: 12px;
        inset-inline-start: 12px;
        width: 38px;
        height: 38px;
        border: 1px solid #dbe4f0;
        border-radius: 12px;
        background: #fff;
        color: #34445d;
        font-size: 28px;
        line-height: 1;
        cursor: pointer;
    }

    .store-install-icon {
        display: grid;
        place-items: center;
        width: 70px;
        height: 70px;
        margin: 8px auto 18px;
        border-radius: 20px;
        background: #edf3ff;
        color: var(--bs-primary, #285ce6);
        font-size: 42px;
    }

    .store-install-dialog h2 {
        margin: 0 0 10px;
        font-size: 24px;
        line-height: 1.3;
    }

    .store-install-dialog p {
        margin: 0 0 18px;
        color: #52647c;
        line-height: 1.7;
    }

    .store-install-dialog .store-install-instructions {
        padding: 14px;
        border: 1px solid #dbe4f0;
        border-radius: 14px;
        background: #f5f8fd;
        font-size: 14px;
    }

    .store-install-action {
        width: 100%;
        padding: 13px;
        border: 0;
        border-radius: 12px;
        background: var(--bs-primary, #285ce6);
        color: #fff;
        font-weight: 700;
        cursor: pointer;
    }

    .store-install-later {
        display: block;
        margin: 12px auto;
        padding: 8px;
        border: 0;
        background: none;
        color: #52647c;
        cursor: pointer;
    }

    .store-install-dialog small {
        display: block;
        color: #708198;
        line-height: 1.5;
    }
}
