// Moves the pointer over the widest tile near the top of the mosaic (hover state of mockup 01). const tiles = [...document.querySelectorAll('.tess[data-id]')]; const wide = tiles .filter((t) => t.getBoundingClientRect().top < 500) .sort((a, b) => b.getBoundingClientRect().width - a.getBoundingClientRect().width)[0]; const r = wide.getBoundingClientRect(); return { hover: [Math.round(r.left + r.width / 2), Math.round(r.top + r.height / 2)], label: wide.getAttribute('aria-label') };