/* S-PHANTOM page — reuses the EUL layout, with the canvas as a framed screen between the texts */

/* Width is the smallest of: 90% of the viewport, 720px, or whatever still lets
   the whole 4:3 screen plus the text fit in the viewport height (~22rem of text + button) */
#sp {
  width: min(90vw, 720px, calc((100dvh - 22rem) * 4 / 3));
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  image-rendering: pixelated;   /* canvas is low-res; scale it up with hard edges, not blur */
}

/* Live effect intensities — the "genes" of the glitch */
.sp-genes {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  min-height: 1em;
}

/* Longer name than EUL — scale it down so it fits on phones */
.eul-label {
  font-size: clamp(2rem, 9vw, 6rem);
}
