/* Hive Guard (/hive-guard): only what is the game's own - the meadow 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 meadow keeps its own summer colours in both themes
   (filter-engines/hive-guard.js). */

/* The meadow: 100 x 120 units, as wide as the panel and no taller than the screen allows. */
.hive-guard-board {
    width: min(100%, 600px, calc((100vh - 230px) * 100 / 120));
    min-width: min(100%, 260px);
    aspect-ratio: 100 / 120;
}

.hive-guard-canvas {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background: #d9eef0;
    touch-action: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.hive-guard-canvas:focus-visible {
    box-shadow: 0 0 0 3px var(--ak-accent);
}
