.app-bottom-sheet-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(24, 16, 48, .48);
    opacity: 0;
    visibility: hidden;
    transition: .25s ease;
}

.app-bottom-sheet-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.app-bottom-sheet {
    position: relative;
    width: min(520px, 100%);
    padding: 22px 20px 18px;
    border-radius: 24px 24px 0 0;
    background: #fff;
    box-shadow: 0 -18px 50px rgba(45, 28, 95, .18);
    transform: translateY(100%);
    transition: transform .32s cubic-bezier(.2, .8, .2, 1);
}

.app-bottom-sheet-overlay.is-open .app-bottom-sheet {
    transform: translateY(0);
}

.app-bottom-sheet::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 42px;
    height: 4px;
    border-radius: 20px;
    background: #DDD7E8;
    transform: translateX(-50%);
}

.app-bottom-sheet-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 10px;
    color: #8D8797;
    background: #F6F3FC;
    font-size: 12px;
}

.app-bottom-sheet-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 42px;
}

.app-bottom-sheet-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    overflow: hidden;
    border-radius: 15px;
    background: var(--primary-soft);
    box-shadow: 0 8px 20px rgba(109, 66, 245, .15);
}

.app-bottom-sheet-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-bottom-sheet-head span {
    display: block;
    margin-bottom: 2px;
    color: var(--primary);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .07em;
}

.app-bottom-sheet-head h3 {
    margin: 0;
    color: var(--text);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.25;
}

.app-bottom-sheet > p {
    margin: 14px 0 16px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.app-bottom-sheet-buttons {
    display: flex;
    gap: 8px;
}

.app-download-btn {
    flex: 1;
    min-width: 0;
    height: 52px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 10px;
    border-radius: 11px;
    color: #fff !important;
    background: #070707;
    text-decoration: none !important;
}

.app-download-btn > i {
    width: 28px;
    flex: 0 0 28px;
    text-align: center;
    font-size: 25px;
}

.app-download-btn small {
    display: block;
    color: rgba(255,255,255,.7);
    font-size: 6px;
    line-height: 1;
}

.app-download-btn strong {
    display: block;
    margin-top: 2px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.1;
}

.app-bottom-sheet-later {
    display: block;
    margin: 13px auto 0;
    padding: 4px 10px;
    border: 0;
    color: #8C8594;
    background: transparent;
    font-size: 10px;
    font-weight: 700;
}

body.app-download-open {
    overflow: hidden;
}

@media (max-width: 420px) {
    .app-bottom-sheet {
        padding: 21px 14px 16px;
    }

    .app-bottom-sheet-head h3 {
        font-size: 17px;
    }

    .app-bottom-sheet-buttons {
        gap: 6px;
    }

    .app-download-btn {
        height: 49px;
        padding: 6px 8px;
        gap: 6px;
    }

    .app-download-btn > i {
        width: 24px;
        flex-basis: 24px;
        font-size: 22px;
    }

    .app-download-btn strong {
        font-size: 11px;
    }
}