/* © 2026 MEK.txt. All rights reserved. Part of the MEK design system; not licensed for reuse. */
/* MEK design system · part: tile map
   The canvas js/tilemap.js draws a map on: two-colour tiles, one a cell, every pixel whole. The script sizes it
   (whole cells, whole pixels by devicePixelRatio); this keeps it crisp and still. Its colours are dials in tokens.css
   (--tilemap-ground, -mark, -cursor) and the theme's map tones and kin inks (--map-*, --kin-*), read by the script.
   The cursor is an inverse cell in the quiet accent; the focus ring is the system's own, round the whole map.
   In the mek.parts layer, so a project's CSS wins. */

@layer mek.parts {

.tilemap { display: block; max-width: none; image-rendering: pixelated; background: var(--tilemap-ground); touch-action: none; }
.tilemap[tabindex] { cursor: pointer; }

}
