/* Maze generation algorithms (/maze-generation-algorithms): the maze (one or two, with the texture table) fills a focus stage, with the
   five tiles in the floating panel beside it (docs/app-kit.md). Tiles, panels and buttons come from the app kit (css/app-kit,
   docs/app-kit.md). Loaded only on this app's page (StylePaths). */

/* Drag the start and exit markers; the script sets the cursor. No scrolling or zooming while a finger drags. */
.mg-landing-app .mg-canvas {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

.mg-landing-app .mg-canvas:focus-visible {
    outline: 2px solid var(--ak-accent, #2563eb);
    outline-offset: -2px;
}

/* The generator's tile in the orange of the working set. */
.mg-landing-app .mg-stat-algo {
    --ak-stat-color: #ea580c;
}

/* Growing tree picks only shows for the growing tree. */
.mg-landing-app .ak-row[hidden] {
    display: none;
}

/* Phones: a square picture (the maze above the caption and the table). */
@media (max-width: 640px) {
    .mg-landing-app .mg-canvas {
        aspect-ratio: 1 / 1;
    }
}
