/* ===========================================================================
   SPATIAL HASHING  ·  style.css
   ---------------------------------------------------------------------------
   One full-window three.js canvas (.sk-stage, made by stage3d.js) under the
   sim kit GUI (widgets/sim-kit/sim-kit.css), and the HUD line (.sh-hud)
   with the pair counts. Colours are --sk-* tokens.
   =========================================================================== */
html, body { margin: 0; height: 100%; background: var(--sk-bg); overflow: hidden; }
.sk-stage { position: fixed; inset: 0; width: 100vw !important; height: 100vh !important; display: block; touch-action: none; cursor: grab; }
.sk-stage:active { cursor: grabbing; }
.sh-hud {
  position: fixed; left: 16px; top: 76px; z-index: 5; max-width: min(560px, calc(100vw - 32px));
  font: 500 12.5px/1.45 var(--sk-sans, Inter, system-ui, sans-serif); color: var(--sk-text2, #97a2b3);
  font-variant-numeric: tabular-nums; pointer-events: none; text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
html.sk-saver .sh-hud { display: none; }
@media (max-width: 768px) { .sh-hud { top: 64px; font-size: 11.5px; } }

/* Site rule: an element with the hidden attribute stays hidden, also when
   a rule above gives it a display value. */
[hidden] { display: none !important; }
