        const entry = mediaCacheData[base64Key];
                
                const entryDiv = document.createElement('div');
                entryDiv.className = 'media-entry'; // Use a more generic class name
                entryDiv.dataset.base64Key = base64Key; // 存储 key 用于保存

                const reidentifyBtn = document.createElement('span');
                reidentifyBtn.className = 'reidentify-btn';
                reidentifyBtn.innerHTML = '↻';
                reidentif