/*图片懒加载服务*/
.pic.lazy-loading {
    background-color: #f5f5f5;
    min-height: 150px;
    position: relative;
    transition: all 0.3s ease;
}

.pic.lazy-loading:before {
    content: "🔄 自动加载中...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #666;
    font-size: 14px;
    text-align: center;
    z-index: 2;
    white-space: nowrap;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.pic.loading {
    background: #e8f5e9;
}

.pic.loading:before {
    content: '🔄 加载中...';
    color: #4CAF50;
    animation: pulse 1.5s infinite;
}

.pic.loading:after {
    content: '';
    position: absolute;
    top: calc(50% + 30px);
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #4CAF50, transparent);
    border-radius: 2px;
}

@keyframes pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.pic.loaded {
    opacity: 1;
    transition: opacity 0.3s ease;
}
