Create Animated Tab Indicators with CSS Variables

Build smooth animated tab indicators using CSS variables, ResizeObserver, and MutationObserver.