/* ==========================================================================
   Side lanes (background texture + level-editor brush)
   ========================================================================== */

.lanes {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background-color: var(--lane);
  background-image: url("../assets/texture.svg");   /* ← swap your seamless texture here */
  background-size: var(--tile) var(--tile);
  transition: background-color .6s ease;
}

.lane-layer { position: absolute; left: 0; top: 0; width: 100%; height: 0; will-change: transform; }

.brush {
  position: absolute;
  left: 0; top: 0;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: var(--accent);
  border: 2px solid var(--ink);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .09s linear;
}
.brush.on { opacity: 1; }
.brush::before {
  /* small crosshair through the point, like a scene-view gizmo */
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 18px;
  transform: translate(-50%, -50%);
  border: 1px solid var(--accent);
  border-radius: 50%;
  opacity: .5;
}
.brush::after {
  content: attr(data-xy);
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  padding: 4px 6px;
  background: var(--accent);
  color: var(--ink);
  border-radius: 4px;
  font: 700 10px/1 var(--mono);
  letter-spacing: .02em;
  white-space: nowrap;
}

/* HUD readouts running vertically beside the frame */
.hud {
  position: fixed;
  top: 50%;
  z-index: 1;
  color: #fff;
  opacity: .5;
  font: 600 11px/1 var(--mono);
  letter-spacing: .22em;
  text-transform: uppercase;
  white-space: nowrap;
  writing-mode: vertical-rl;
  pointer-events: none;
}
.hud-l { left: calc((100vw - var(--frame-w)) / 2 - 46px); transform: translateY(-50%) rotate(180deg); }
.hud-r { right: calc((100vw - var(--frame-w)) / 2 - 46px); transform: translateY(-50%); }

