/* Ink & Smoke Fluid (/ink-smoke-fluid): Views/SeoLanding/_InkSmokeFluidDemo.cshtml */

.filter-landing-stage.ink-smoke-stage {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    box-shadow: none;
}

.ink-smoke-canvas {
    display: block;
    width: 100%;
    height: 100%;
    cursor: crosshair;
    touch-action: none;
}

/* "Drag to stir": shown until the first stroke. */
.ink-smoke-hud {
    position: absolute;
    left: 50%;
    bottom: 5%;
    margin: 0;
    padding: 4px 12px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(20, 22, 27, 0.55);
    color: #fff;
    font-size: 0.8rem;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.ink-smoke-app.isf-stirred .ink-smoke-hud {
    opacity: 0;
}

.ink-smoke-controls [data-isf-for][hidden] {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .ink-smoke-hud {
        transition: none;
    }
}

/* Fill the stage (the default Format): the fluid covers the whole stage, as the Tessellation app fills its stage.
   The page's stage then stretches to the app's height (a 4:3 box where the app has no height of its own, as on a
   phone). */
.ink-smoke-app.is-fill > .filter-landing-stage.ink-smoke-stage {
    aspect-ratio: 4 / 3;
}

body.filter-app-mode .ink-smoke-app.is-fill {
    align-items: stretch;
    min-height: 0;
}

body.filter-app-mode .ink-smoke-app.is-fill > .filter-landing-stage.ink-smoke-stage {
    align-self: stretch;
    height: 100%;
    max-height: none;
    min-height: 0;
    aspect-ratio: auto;
    border-radius: 0;
    box-shadow: none;
}
