.splitter {
  flex-shrink: 0;
  position: relative;
  transition: background-color 0.1s ease;
  z-index: 2;
}

/* ── Grip pip — a short centred tick mark ─────────────────────────── */
.splitter::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 2px;
  background: var(--white-18);
  transition: background-color 0.1s ease;
  pointer-events: none;
}

/* ── Horizontal variant: separates left and right panels ──────────── */
.horizontal {
  width: 5px;
  align-self: stretch;
  cursor: col-resize;
  background: var(--border);
}

.horizontal::after {
  width: 1.5px;
  height: 24px;
}

/* ── Vertical variant: separates code and console ─────────────────── */
.vertical {
  height: 5px;
  align-self: stretch;
  cursor: row-resize;
  background: var(--border);
}

.vertical::after {
  width: 24px;
  height: 1.5px;
}

/* ── Hover ─────────────────────────────────────────────────────────── */
.horizontal:hover,
.vertical:hover {
  background: var(--gold-55);
}

.horizontal:hover::after,
.vertical:hover::after {
  background: var(--white-38);
}

/* ── Active (while dragging) ─────────────────────────────────────── */
.active {
  background: var(--gold-75) !important;
}

.active::after {
  background: var(--white-55) !important;
}
