/* Starworm — game-local styles. Extends the shared claed3d-games token set
   (styles.css); never edits it. Only the additions the starfield board needs. */

/* the board frame: landscape 3:2 (24x16 grid), mostly-opaque backing so the
   worm reads over the cosmos.js starfield, with a faint violet->cyan bloom that
   echoes the head->tail hue ramp. */
.sw-frame {
  padding: 0.3rem;
  max-width: 46rem;
  margin-inline: auto;
  background:
    linear-gradient(rgba(10, 10, 16, 0.9), rgba(6, 6, 11, 0.92)),
    radial-gradient(circle at 78% 22%, rgba(105, 221, 255, 0.14), transparent 55%),
    radial-gradient(circle at 20% 82%, rgba(121, 87, 255, 0.16), transparent 58%);
  cursor: pointer;
}
.sw-frame #board {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  touch-action: none; /* we own swipe gestures for steering */
}
