/* Celtic Knot Maker (/celtic-knot-maker): Views/SeoLanding/_CelticKnotMakerDemo.cshtml */

.filter-landing-stage.celtic-knot-maker-stage {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    box-shadow: none;
}

.celtic-knot-maker-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.celtic-knot-maker-controls [data-ck-for][hidden] {
    display: none !important;
}

/* Fill the stage (the default Format): the knot is centred on the whole stage, on its ground. 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). */
.celtic-knot-maker-app.is-fill > .filter-landing-stage.celtic-knot-maker-stage {
    aspect-ratio: 4 / 3;
}

body.filter-app-mode .celtic-knot-maker-app.is-fill {
    align-items: stretch;
    min-height: 0;
}

body.filter-app-mode .celtic-knot-maker-app.is-fill > .filter-landing-stage.celtic-knot-maker-stage {
    align-self: stretch;
    height: 100%;
    max-height: none;
    min-height: 0;
    aspect-ratio: auto;
    border-radius: 0;
    box-shadow: none;
}
