/* Coral Stack (/coral-stack): only what is the game's own - the canvas with the well. 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 sea keeps its own colours in both themes (filter-engines/coral-stack.js). */

/* The canvas: 20 x 21 blocks (Hold, the well, Next), no taller than the screen allows. */
.coral-stack-board {
    width: min(100%, 620px, calc((100vh - 230px) * 20 / 21));
    min-width: min(100%, 280px);
    aspect-ratio: 20 / 21;
}

.coral-stack-canvas {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: #071f2c;
    touch-action: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.coral-stack-canvas:focus-visible {
    box-shadow: 0 0 0 3px var(--ak-accent);
}
