/* Ephemeris — data-driven particle field. Pairs with js/ephemeris.js */

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #000;
  overflow: hidden;
}

#particles-js {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Ephemeral labels. Positioned in CSS pixels over the canvas. */
#sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.spark {
  position: absolute;
  transform: translate(-50%, -140%);
  white-space: nowrap;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: #fff;
  opacity: 0;
  transition: opacity 700ms ease, transform 700ms ease;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.9);
}

.spark.on {
  opacity: 0.72;
  transform: translate(-50%, -180%);
}

/* Rarer, "real coordinate" events read hotter than the texture layer. */
.spark.quake {
  font-size: 12px;
  color: #ffd9a0;
}

.spark.quake.on {
  opacity: 0.95;
}

/* Cycle readout — tiny, bottom left. Remove if you want it purely wordless. */
#readout {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.28);
  pointer-events: none;
  text-transform: uppercase;
}
