/* Digit Recognizer (/digit-recognizer): the pad, the input grid, the hidden layers and the probability bars fill a focus stage, with
   the four 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). */

/* Draw on the pad with the mouse, a pen or a finger: no scrolling or zooming while a finger draws. The script sets the cursor. */
.dr-landing-app .dr-canvas {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    cursor: crosshair;
}

.dr-landing-app .dr-canvas:focus-visible {
    outline: 2px solid var(--ak-accent, #2563eb);
    outline-offset: -2px;
}

/* Phones: a square picture (the pad on top, the network beside and under it). */
@media (max-width: 640px) {
    .dr-landing-app .dr-canvas {
        aspect-ratio: 1 / 1;
    }
}
