/* Hedge Dash (/hedge-dash): only what is the game's own - the maze canvas. Tiles, buttons,
   fields and the accent come from the app kit (css/app-kit, docs/app-kit.md), the button row and touch pad from
   css/app-kit/games.css (every game). Loaded only on this page (StylePaths).
   The garden keeps its own night colours in both themes (filter-engines/hedge-dash.js). */

/* The maze: 19 x 21 squares, as wide as the panel and no taller than the screen allows. */
.hedge-dash-board {
    width: min(100%, 600px, calc((100vh - 230px) * 19 / 21));
    min-width: min(100%, 280px);
    aspect-ratio: 19 / 21;
}

.hedge-dash-canvas {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background: #0f2219;
    touch-action: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.hedge-dash-canvas:focus-visible {
    box-shadow: 0 0 0 3px var(--ak-accent);
}
