/* ─── Resizer Handles ─── */
.resizer {
  position: absolute;
  top: 0;
  bottom: var(--player-height);
  width: 6px;
  cursor: col-resize;
  z-index: 50;
  background: transparent;
  transition: background var(--transition-fast);
}

.resizer:hover, .resizer:active {
  background: var(--accent);
}

.resizer-queue { right: calc(var(--queue-width) - 3px); }
.resizer-queue { overflow: visible; }
/* Queue handle has its own visual affordance; don't paint seam stripe on hover. */
.resizer-queue:hover, .resizer-queue:active { background: transparent; }

.resizer-queue-handle {
  z-index: 101;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-muted);
  /* The round handle is primarily a click-to-collapse button; the seam strip
     (.resizer) keeps col-resize, and an actual drag sets the body cursor to
     col-resize via useQueueResizer. */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--shadow-sm);
}

.resizer-queue-handle:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
}

/* While dragging an overlay scrollbar thumb, hide queue resizer so the
   pointer does not pick up col-resize / queue resize (thumb sits under the
   resizer hit box near the main/queue edge). */
body.is-overlay-scrollbar-thumb-drag .resizer {
  pointer-events: none !important;
}

/* In native fullscreen the resizer sits flush against the screen edge and
   would interfere with OS edge-swipe gestures — hide it entirely. */
.app-shell[data-fullscreen] .resizer { display: none; }

