/* Grid & carousel maker (/instagram-grid-maker): the Eye Editor's stage (css/apps/eye-color-changer.css), the colour row
   of Virtual makeup and, here, the picture: the script sets its shape (--gs-aspect: the frame with a margin in Crop,
   the profile or the slides in Preview), no taller than the stage on a phone (about the screen's width). The photo is
   dragged and the slides swiped with the pointer, so the page does not scroll under a finger on it. */
.instagram-grid-maker-landing-app .gs-frame {
    position: relative;
    width: 100%;
    max-width: min(900px, calc(70vh * var(--gs-aspect, 1)), calc(92vw * var(--gs-aspect, 1)));
}

.instagram-grid-maker-landing-app.is-preview .gs-frame {
    max-width: min(420px, calc(74vh * var(--gs-aspect, 1)), calc(92vw * var(--gs-aspect, 1)));
}

.instagram-grid-maker-landing-app .gs-canvas {
    display: block;
    width: 100%;
    aspect-ratio: var(--gs-aspect, 1);
    touch-action: none;
    cursor: grab;
    border-radius: var(--ak-radius-sm, 6px);
}

.instagram-grid-maker-landing-app .gs-canvas:active {
    cursor: grabbing;
}

.instagram-grid-maker-landing-app.is-preview .gs-canvas {
    cursor: pointer;
}

.instagram-grid-maker-landing-app .gs-canvas:focus-visible {
    outline: 2px solid var(--ak-accent, #2563eb);
    outline-offset: 3px;
}

.instagram-grid-maker-landing-app .gs-download {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
}

.instagram-grid-maker-landing-app .gs-info {
    font-size: var(--ak-fs-xs, 0.75rem);
}
