/* BeReal Template (/bereal-template): Views/SeoLanding/_BeRealTemplateDemo.cshtml */

/* The picture keeps its shape (a post or the 3:4 photo) and fits the screen's height. */
.bereal-template-app .bereal-template-canvas {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: min(82vh, 980px);
    margin-inline: auto;
    touch-action: none;
    cursor: grab;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(25, 42, 69, 0.22);
}

.bereal-template-app .bereal-template-canvas:active {
    cursor: grabbing;
}

.bereal-template-app .bereal-template-canvas:focus-visible {
    outline: 3px solid var(--landing-accent, #2563eb);
    outline-offset: 2px;
}

.bereal-template-stage {
    padding: clamp(8px, 2vw, 20px);
}

/* Back photo, Front photo and Swap on one row. */
.bereal-template-target {
    flex-wrap: nowrap;
}

.bereal-template-target .filter-landing-preset:not(.filter-landing-preset--icon) {
    flex: 1 1 0;
    min-width: 0;
}
