/* Wheat and Chessboard (/wheat-and-chessboard): the chessboard with its grains and the scale of big numbers fill 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). */

/* A click on a square fills the board up to it; the script sets the cursor. */
.wcb-landing-app .wcb-canvas {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.wcb-landing-app .wcb-canvas:focus-visible {
    outline: 2px solid var(--ak-accent, #2563eb);
    outline-offset: -2px;
}

/* A phone gets a taller picture: the board above, the scale below. */
@media (max-width: 640px) {
    .wcb-landing-app .wcb-canvas {
        aspect-ratio: 4 / 5;
    }
}
