           if (Object.keys(mediaCacheData).length === 0) {
                        mediaListDiv.innerHTML = '<p>缓存文件为空或所有条目已删除。</p>';
                    }
                });
                entryDiv.appendChild(deleteBtn);

                const title = document.createElement('h3');
                title.textContent = `时间戳: ${entry.timestamp || 'N/A'}`;
                entryDiv.appendChild(title);

                // --- DYNAMIC MEDIA ELEMENT CREATION ---
   