= (containerWidth - totalGap) / visibleItems;
            
            for (let i = 0; i < visibleItems; i++) {
                const index = currentHourIndex + i;
                if (index >= hoursData.length) break;
                const hour = hoursData[index];
                
                const div = document.createElement('div');
                div.className = 'hourly-item';
                div.style.width = `${itemWidth}px`;
                div.innerHTML = `
                    <div>${hour.time}<