/* Cellular Automata (/cellular-automata): what is its own - the canvas stage and what is drawn over it. The buttons and the accent
   come from the app kit (css/app-kit, docs/app-kit.md); the sliders and checkboxes are the shared app controls.
   Loaded only on this app's page (StylePaths). The stage is the canvas's own box, not the kit's padded
   .ak-stage column; the phone layout is the shared one for canvas apps in landing/seo-pages.css. */

.cellular-automata-landing-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.filter-landing-stage.cellular-automata-landing-stage {
    position: relative;
    display: block;
    width: 100%;
    min-height: 280px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    box-shadow: none;
    cursor: crosshair;
    touch-action: none;
    background-color: #f4efe6;
    background-image: none;
}

.cellular-automata-hud {
    position: absolute;
    left: 12px;
    right: auto;
    bottom: 10px;
    max-width: calc(100% - 24px);
    margin: 0;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(7, 11, 20, 0.62);
    color: #e2e8f0;
    font-size: 0.78rem;
    line-height: 1.35;
    pointer-events: none;
}

.cellular-automata-hud[hidden],
.cellular-automata-landing-controls [data-ca-life-panel][hidden],
.cellular-automata-landing-controls [data-ca-eca-panel][hidden],
.cellular-automata-landing-controls [data-ca-start-panel][hidden] {
    display: none;
}

body.filter-app-mode .cellular-automata-landing-app .cellular-automata-landing-canvas {
    max-width: none;
}

body.filter-app-mode .cellular-automata-landing-stage {
    box-shadow: none;
}

.cellular-automata-landing-app {
    display: grid;
    gap: 1rem;
    align-items: start;
}

.cellular-automata-landing-stage.cellular-automata-stage--transparent {
    background: var(--component-checkerboard);
}
