      /* 全屏查看器样式 */
        #image-viewer {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(255, 255, 255, 0.97);
            z-index: 1000;
            touch-action: none;
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }
        
        #image-viewer.active {
            display: flex;
        }
        
        #viewer-container {
            position: relative;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
        
        #viewer-images {
            display: flex;
            width: 100%;
            height: 100%;
            transition: transform 0.3s ease-out;
        }
        
        .viewer-image-item {
            flex: 0 0 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
        }
        
        .viewer-image-item img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }
        
        #viewer-indicator {
            position: absolute;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            color: white;
            background-color: rgba(255, 255, 255, 0.6);
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 15px;
            z-index: 1001;
            backdrop-filter: blur(4px);
        }
        
        /* 关闭按钮 */
        #viewer-close {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.6);
            color: black;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            z-index: 1001;
            cursor: pointer;
            backdrop-filter: blur(4px);
        }
        
        /* 加载动画 */
        .viewer-loading {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 40px;
            height: 40px;
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: #fff;
            animation: spin 1s ease-in-out infinite;
            z-index: 1002;
        }
        
        @keyframes spin {
            to { transform: translate(-50%, -50%) rotate(360deg); }
        }
    