.app-store-sheet {
    position: fixed;
    right: 18px;
    bottom: 0;
    left: 18px;
    z-index: 1100;
    max-width: 560px;
    margin: 0 auto;
    border: 1px solid rgba(17, 17, 17, 0.14);
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -14px 42px rgba(17, 17, 17, 0.14);
    transform: translateY(calc(100% - 38px));
    transition: transform 220ms ease;
    backdrop-filter: blur(16px);
}

.app-store-sheet.is-open,
.app-store-sheet:focus-within {
    transform: translateY(0);
}

.app-store-sheet-handle {
    display: flex;
    width: 100%;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    color: #111318;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    background: transparent;
    cursor: pointer;
}

.app-store-sheet-handle span {
    position: absolute;
    top: 6px;
    width: 38px;
    height: 3px;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.18);
}

.app-store-sheet-body {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 6px 18px 18px;
}

.app-store-sheet-body img {
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.16);
}

.app-store-sheet-copy strong {
    display: block;
    color: #111318;
    font-size: 16px;
    line-height: 1.25;
}

.app-store-sheet-copy p {
    margin: 5px 0 0;
    color: #5f6675;
    font-size: 13px;
    line-height: 1.45;
}

.app-store-sheet-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 8px;
    color: #fff;
    font-weight: 950;
    text-decoration: none;
    background: #111318;
}

.app-store-sheet-button:hover,
.app-store-sheet-button:focus {
    color: #fff;
    background: #000;
}

@media (max-width: 640px) {
    body {
        padding-bottom: 46px;
    }

    .app-store-sheet {
        right: 10px;
        left: 10px;
        transform: translateY(calc(100% - 36px));
    }

    .app-store-sheet-body {
        grid-template-columns: 46px minmax(0, 1fr);
        padding: 4px 14px 16px;
    }

    .app-store-sheet-body img {
        width: 46px;
        height: 46px;
    }

    .app-store-sheet-button {
        grid-column: 1 / -1;
        width: 100%;
    }
}
