/* ant0: the whole screen is the ground; the scout (gold) walks first, the colony follows its trail. Dark soil first. */
:root {
  --soil: #17140f;      /* ground */
  --grain: #2a241b;     /* specks in the soil */
  --ink: #efe6d6;       /* text */
  --muted: #a89c86;     /* captions */
  --ant: #d8ccb6;       /* colony ants */
  --scout: #f0a63a;     /* Ant0 and its trail */
  --fire: #e2452e;      /* a fire ant: a shard that found something */
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --soil: #e4ded1; --grain: #d3cbbb; --ink: #1d1912; --muted: #5f5545; --ant: #2b241a;
    --scout: #b8650a; --fire: #c22f1c; color-scheme: light;
  }
}
:root[data-theme="light"] {
  --soil: #e4ded1; --grain: #d3cbbb; --ink: #1d1912; --muted: #5f5545; --ant: #2b241a;
  --scout: #b8650a; --fire: #c22f1c; color-scheme: light;
}
html, body { height: 100%; margin: 0; }
body { background: var(--soil); color: var(--ink); overflow: hidden; }
canvas { position: fixed; inset: 0; width: 100%; height: 100%; display: block; cursor: crosshair; }
