/* S42 Ringbahn — track scene. Position the <s42-ring> host from the page. */

s42-ring {
  display: block;
  position: relative;
  aspect-ratio: 368 / 285;
  max-width: 100%;
  pointer-events: none;
}

.ringbahn-screen {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  pointer-events: none;
}

.ringbahn-measure {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ringbahn-stations {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

.ringbahn-stop {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%) translate(calc(var(--ox) * 1.45rem), calc(var(--oy) * 1.45rem));
  font-family: var(--font-display, system-ui, sans-serif);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #1c1c1c;
  white-space: nowrap;
  text-shadow:
    0 1px 0 rgba(247, 244, 238, 0.95),
    0 0 6px rgba(247, 244, 238, 0.9);
}
