
        /* 自定义滑块样式 */
        input[type="range"]::-webkit-slider-thumb {
            appearance: none;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: #4F46E5;
            cursor: pointer;
            box-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }
        
        input[type="range"]::-moz-range-thumb {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: #4F46E5;
            cursor: pointer;
            border: none;
            box-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }

        /* 图片容器固定高度 */
        .preview-container {
            height: 200px;
        }
        
        @media (min-width: 768px) {
            .preview-container {
                height: 280px;
            }
        }

        /* 全屏图片预览器 */
        .image-viewer {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            z-index: 50;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s, visibility 0.3s;
        }

        .image-viewer.active {
            opacity: 1;
            visibility: visible;
        }

        .image-viewer-content {
            width: 90%;
            height: 90%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .image-viewer-img {
            max-width: 100%;
            max-height: 85%;
            object-fit: contain;
            cursor: grab;
        }

        .image-viewer-img:active {
            cursor: grabbing;
        }

        .image-viewer-controls {
            margin-top: 1rem;
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        .viewer-btn {
            padding: 0.5rem 1rem;
            background: #4F46E5;
            color: white;
            border: none;
            border-radius: 0.5rem;
            cursor: pointer;
            font-size: 0.875rem;
            transition: background 0.2s;
        }

        .viewer-btn:hover {
            background: #4338CA;
        }

        .viewer-info {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.875rem;
            margin-top: 0.5rem;
        }

        .close-viewer {
            position: absolute;
            top: 2rem;
            right: 2rem;
            width: 2.5rem;
            height: 2.5rem;
            background: rgba(255, 255, 255, 0.1);
            border: none;
            border-radius: 50%;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
        }

        .close-viewer:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        /* 自定义尺寸弹框 */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 40;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s, visibility 0.3s;
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .modal-content {
            background: white;
            border-radius: 1rem;
            padding: 2rem;
            max-width: 400px;
            width: 90%;
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
        }

        .modal-content h3 {
            font-size: 1.25rem;
            font-weight: bold;
            margin-bottom: 1rem;
            color: #1F2937;
        }

        .modal-input-group {
            margin-bottom: 1.5rem;
        }

        .modal-input-group label {
            display: block;
            font-size: 0.875rem;
            font-weight: 500;
            color: #374151;
            margin-bottom: 0.5rem;
        }

        .modal-input-group input[type="number"] {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid #D1D5DB;
            border-radius: 0.5rem;
            font-size: 1rem;
            transition: border-color 0.2s;
        }

        .modal-input-group input[type="number"]:focus {
            outline: none;
            border-color: #4F46E5;
            box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
        }

        .modal-checkbox-group {
            display: flex;
            align-items: center;
            margin-bottom: 1.5rem;
        }

        .modal-checkbox-group input[type="checkbox"] {
            width: 18px;
            height: 18px;
            cursor: pointer;
            accent-color: #4F46E5;
        }

        .modal-checkbox-group label {
            margin: 0;
            margin-left: 0.5rem;
            cursor: pointer;
            font-size: 0.875rem;
            font-weight: 500;
            color: #374151;
        }

        .modal-buttons {
            display: flex;
            gap: 1rem;
        }

        .modal-btn {
            flex: 1;
            padding: 0.75rem;
            border: none;
            border-radius: 0.5rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
        }

        .modal-btn-primary {
            background: #4F46E5;
            color: white;
        }

        .modal-btn-primary:hover {
            background: #4338CA;
        }

        .modal-btn-secondary {
            background: #E5E7EB;
            color: #374151;
        }

        .modal-btn-secondary:hover {
            background: #D1D5DB;
        }

        /* 编辑按钮样式 */
        .edit-size-btn {
            background: none;
            border: none;
            cursor: pointer;
            color: #4F46E5;
            transition: color 0.2s;
            padding: 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-left: 0.25rem;
            vertical-align: middle;
        }

        .edit-size-btn:hover {
            color: #4338CA;
        }

        .edit-size-btn svg {
            width: 14px;
            height: 14px;
        }