/* 移植目标CSS中的图片控制按钮和图片列表样式到entry-wrapper */
.entry-wrapper .control-btn-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8fafd;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.entry-wrapper .control-img-size, 
.entry-wrapper .control-img-shape {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.entry-wrapper .control-img-size div, 
.entry-wrapper .control-img-shape div {
    flex: 1;
    padding: 0.75rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.entry-wrapper .control-img-size div:last-child,
.entry-wrapper .control-img-shape div:last-child {
    border-right: none;
}

.entry-wrapper .control-img-size div:hover, 
.entry-wrapper .control-img-shape div:hover {
    background: rgba(61, 219, 193, 0.1);
    color: #2bbbad;
}

.entry-wrapper .control-img-size div.selected, 
.entry-wrapper .control-img-shape div.selected {
    background: linear-gradient(135deg, #3DDBC1 0%, #2bbbad 100%);
    color: #fff;
    font-weight: 600;
}

/* 图片列表容器 - 增强网格布局 */
.entry-wrapper .image-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem 0;
    margin: 1rem 0;
}

/* 图片项容器 - 增强卡片效果 */
.entry-wrapper .image-item {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.entry-wrapper .image-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    border-color: rgba(61, 219, 193, 0.3);
}

/* 图片样式 - 增强视觉效果 */
.entry-wrapper .image-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f4f5;
}

.entry-wrapper .image-item:hover img {
    transform: scale(1.03);
    filter: brightness(1.05);
}

/* 下载区域 - 优化布局和交互 */
.entry-wrapper .image-download {
    padding: 1rem;
    background: linear-gradient(135deg, #f8fafd 0%, #ffffff 100%);
    text-align: center;
    position: relative;
}

/* 下载按钮 - 增强视觉效果 */
.entry-wrapper .download-image-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    min-width: 140px;
}

.entry-wrapper .download-image-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.entry-wrapper .download-image-btn:hover::before {
    left: 100%;
}

.entry-wrapper .download-image-btn:hover {
    background: linear-gradient(135deg, #45a049 0%, #388E3C 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.3);
}

/* 下载中状态 - 修复样式 */
.entry-wrapper .download-image-btn.downloading {
    background: linear-gradient(135deg, #9E9E9E 0%, #757575 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    min-width: 120px; /* 确保下载中状态有足够宽度 */
}

.entry-wrapper .download-image-btn.downloading:hover {
    transform: none;
    box-shadow: none;
}

.entry-wrapper .download-image-btn.downloading::before {
    display: none; /* 下载中状态移除光效 */
}

/* 会员专属样式 - 移除徽章，直接通过按钮文字和颜色区分 */
.entry-wrapper .member-only-download {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}

.entry-wrapper .member-only-download:hover {
    background: linear-gradient(135deg, #1976D2 0%, #1565C0 100%);
    box-shadow: 0 6px 16px rgba(33, 150, 243, 0.3);
}

/* 移除会员徽章相关样式，因为现在直接在按钮文字中显示权限信息 */
.entry-wrapper .member-badge {
    display: none; /* 完全隐藏会员徽章 */
}

/* 圆形模式 */
.entry-wrapper .image-list.image-list-circle .image-item img {
    border-radius: 50%;
    height: 200px;
}

.entry-wrapper .image-list.image-list-circle .image-item {
    text-align: center;
}

/* PC端小尺寸优化 - 使用flex布局实现最后一行居中 */
@media (min-width: 769px) {
    /* 默认大尺寸 - 保持grid布局 */
    .entry-wrapper .image-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        justify-content: start;
    }
    
    /* 小尺寸模式 - 使用flex布局实现最后一行居中 */
    .entry-wrapper .image-list.small-image-ctrl {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
        margin: 1rem auto;
        max-width: 800px;
    }
    
    .entry-wrapper .image-list.small-image-ctrl .image-item {
        width: 160px;
        margin: 0;
        flex-shrink: 0;
    }
    
    .entry-wrapper .image-list.small-image-ctrl .image-item img {
        height: 160px;
        width: 100%;
    }
    
    .entry-wrapper .image-list.small-image-ctrl .image-download {
        padding: 0.75rem 0.5rem;
    }
    
    .entry-wrapper .image-list.small-image-ctrl .download-image-btn {
        width: 100%;
        min-width: auto;
        padding: 0.6rem 0.75rem;
        font-size: 0.8rem;
    }
    
    /* 大屏适配 - 保持flex布局但稍微放大 */
    @media (min-width: 1200px) {
        .entry-wrapper .image-list {
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        }
        
        .entry-wrapper .image-item img {
            height: 240px;
        }
        
        .entry-wrapper .image-list.small-image-ctrl {
            max-width: 900px;
        }
        
        .entry-wrapper .image-list.small-image-ctrl .image-item {
            width: 180px;
        }
        
        .entry-wrapper .image-list.small-image-ctrl .image-item img {
            height: 180px;
        }
    }
    
    /* 超大屏适配 */
    @media (min-width: 1400px) {
        .entry-wrapper .image-list.small-image-ctrl {
            max-width: 1000px;
        }
        
        .entry-wrapper .image-list.small-image-ctrl .image-item {
            width: 200px;
        }
        
        .entry-wrapper .image-list.small-image-ctrl .image-item img {
            height: 200px;
        }
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .entry-wrapper .image-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0.75rem 0;
    }
    
    .entry-wrapper .image-item img {
        height: 140px;
    }
    
    .entry-wrapper .control-btn-list {
        flex-direction: column;
        gap: 1rem;
        padding: 0.75rem;
    }
    
    .entry-wrapper .control-img-size,
    .entry-wrapper .control-img-shape {
        width: 100%;
    }
    
    .entry-wrapper .download-image-btn {
        min-width: 100px;
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
        gap: 0.25rem;
    }
    
    /* 移动端小尺寸模式 - 使用grid布局 */
    .entry-wrapper .image-list.small-image-ctrl {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
        justify-content: center;
    }
    
    .entry-wrapper .image-list.small-image-ctrl .image-item {
        border-radius: 6px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .entry-wrapper .image-list.small-image-ctrl .image-item img {
        height: 80px;
        border-bottom: none;
    }
    
    .entry-wrapper .image-list.small-image-ctrl .image-download {
        padding: 0.4rem 0.2rem;
        background: transparent;
    }
    
    /* 移动端小尺寸按钮文字优化 - 确保完整显示 */
    .entry-wrapper .image-list.small-image-ctrl .download-image-btn {
        padding: 0.3rem 0.4rem;
        font-size: 0.65rem;
        border-radius: 4px;
        min-height: 28px;
        width: 100%;
        /* 确保文字不换行且完整显示 */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 80px; /* 确保有足够空间显示文字 */
    }
    
    /* 针对不同权限的文字内容优化 */
    .entry-wrapper .image-list.small-image-ctrl .download-image-btn span {
        display: inline !important; /* 强制显示文字 */
        max-width: 60px; /* 限制文字最大宽度 */
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    /* 确保图标和文字都有空间 */
    .entry-wrapper .image-list.small-image-ctrl .download-image-btn i {
        margin-right: 2px;
        font-size: 0.7rem;
        flex-shrink: 0;
    }
    
    /* 圆形模式在移动端的优化 */
    .entry-wrapper .image-list.image-list-circle .image-item img {
        height: 120px;
    }
    
    .entry-wrapper .image-list.small-image-ctrl.image-list-circle .image-item img {
        height: 70px;
    }
}

/* 超小屏幕进一步优化 */
@media (max-width: 480px) {
    .entry-wrapper .image-list.small-image-ctrl {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.4rem;
    }
    
    .entry-wrapper .image-list.small-image-ctrl .image-item img {
        height: 70px;
    }
    
    .entry-wrapper .image-list.small-image-ctrl .download-image-btn {
        min-width: 70px;
        font-size: 0.6rem;
        padding: 0.25rem 0.3rem;
    }
    
    .entry-wrapper .image-list.small-image-ctrl .download-image-btn span {
        max-width: 50px;
    }
    
    .entry-wrapper .image-list.small-image-ctrl .download-image-btn i {
        font-size: 0.65rem;
        margin-right: 1px;
    }
    
    /* 移除小尺寸模式的悬停效果，避免移动端误触 */
    .entry-wrapper .image-list.small-image-ctrl .image-item:hover {
        transform: none;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
}

/* 圆形模式适配 */
@media (min-width: 769px) {
    .entry-wrapper .image-list.small-image-ctrl.image-list-circle .image-item img {
        height: 160px;
    }
}
    
    @media (min-width: 1200px) {
        .entry-wrapper .image-list.small-image-ctrl.image-list-circle .image-item img {
            height: 180px;
        }
    }
    
    @media (min-width: 1400px) {
        .entry-wrapper .image-list.small-image-ctrl.image-list-circle .image-item img {
            height: 200px;
        }
    }


/* 加载动画 */
.entry-wrapper .image-item img.lazyload {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
    background: #f5f5f5;
    border-radius: inherit;
}

.entry-wrapper .image-item img.lazyloaded {
    opacity: 1;
    transform: scale(1);
}

.entry-wrapper .image-list.small-image-ctrl .image-item img.lazyload {
    background: #f0f0f0;
}

/* 下载按钮状态优化 */
.entry-wrapper .image-list.small-image-ctrl .download-image-btn.downloading {
    min-width: 28px;
    width: 28px;
    border-radius: 50%;
    padding: 0;
}

.entry-wrapper .image-list.small-image-ctrl .download-image-btn.downloading i {
    margin: 0;
}

/* 空状态处理 */
.entry-wrapper .image-list:empty::before {
    content: "暂无图片";
    display: block;
    text-align: center;
    color: #999;
    padding: 3rem;
    font-style: italic;
}


.control-btn-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    flex-wrap: wrap;
    gap: 1rem;
}

.preview-label {
    font-weight: 700;
    color: #536de6;
    font-size: 1rem;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(83, 109, 230, 0.1);
    border-radius: 0.5rem;
    border-left: 3px solid #536de6;
}

.preview-label i {
    margin-right: 0.5rem;
}

.control-btn-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    flex: 1;
    justify-content: center;
}

.control-size-options, .control-shape-options {
    display: flex;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    flex: 1;
    min-width: 140px;
}

.control-size-options div, .control-shape-options div {
    flex: 1;
    padding: 0.75rem 0.75rem;
    background: white;
    color: #555;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60px;
    border: none;
}

.control-size-options div:before, .control-shape-options div:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(83, 109, 230, 0.1), transparent);
    transition: all 0.5s;
}

.control-size-options div:hover:before, .control-shape-options div:hover:before {
    left: 100%;
}

.control-size-options div:hover, .control-shape-options div:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.control-size-options div.selected, .control-shape-options div.selected {
    background: linear-gradient(145deg, #536de6, #3a54d4);
    color: white;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
    transform: translateY(0);
}

.download-btn-main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(145deg, #fd721f, #e65c0d);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(253, 114, 31, 0.2);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    min-width: 100px;
    height: 60px;
}

.download-btn-main:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.5s;
}

.download-btn-main:hover:before {
    left: 100%;
}

.download-btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(253, 114, 31, 0.3);
}

.download-btn-main i {
    margin-right: 0.5rem;
}

/* 下载区域样式 */
.download-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.download-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #536de6;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(83, 109, 230, 0.2);
}

.download-title i {
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.download-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.download-btn-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    background: white;
    color: #555;
    text-decoration: none;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    font-weight: 600;
}

.download-btn-item:hover {
    background: linear-gradient(145deg, #536de6, #3a54d4);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(83, 109, 230, 0.3);
    text-decoration: none;
}

.download-btn-item i {
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .control-btn-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding: 0.75rem;
    }
    
    .preview-label {
        width: 100%;
        justify-content: center;
        margin-bottom: 0.5rem;
    }
    
    .control-btn-group {
        width: 100%;
        justify-content: space-between;
    }
    
    .control-size-options, .control-shape-options {
        min-width: 48%;
        flex: 0 0 48%;
    }
    
    .control-size-options div, .control-shape-options div {
        padding: 0.5rem 0.5rem;
        font-size: 0.9rem;
        height: 50px;
    }
    
    .download-btn-main {
        width: 100%;
        margin-top: 0.5rem;
        height: 50px;
    }

    .download-section {
        padding: 1rem;
        margin: 1.5rem 0;
    }

    .download-btn-item {
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 480px) {
    .control-btn-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .control-size-options, .control-shape-options {
        min-width: 100%;
        flex: 0 0 100%;
    }
    
    .control-size-options div, .control-shape-options div {
        height: 45px;
        font-size: 0.9rem;
    }

    .download-title {
        font-size: 1.1rem;
    }
}

/* 帝国CMS轮播专用样式 - 完全隔离版本 */
.ecms-container {
    max-width: 1200px;
    width: 100%;
    padding: 20px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
}

.ecms-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(to right, #ff7e5f, #feb47b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.ecms-slider-container {
    position: relative;
    width: 100%;
    height: 500px;
    perspective: 1500px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
}

.ecms-slider {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1);
    box-sizing: border-box;
}

.ecms-slide {
    position: absolute;
    width: 400px;
    height: 400px;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1), 
                opacity 1s cubic-bezier(0.23, 1, 0.32, 1),
                z-index 0.5s;
    opacity: 0.5;
    z-index: 1;
    box-sizing: border-box;
}

.ecms-slide.ecms-active {
    opacity: 1;
    z-index: 10;
    transform: translateX(-50%) scale(1);
}

.ecms-slide.ecms-prev {
    transform: translateX(-100%) scale(0.85) rotateY(15deg);
    opacity: 0.7;
}

.ecms-slide.ecms-next {
    transform: translateX(0%) scale(0.85) rotateY(-15deg);
    opacity: 0.7;
}

.ecms-slide.ecms-far-prev {
    transform: translateX(-150%) scale(0.7) rotateY(25deg);
    opacity: 0.3;
}

.ecms-slide.ecms-far-next {
    transform: translateX(50%) scale(0.7) rotateY(-25deg);
    opacity: 0.3;
}

.ecms-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
    display: block;
}

.ecms-slide:hover .ecms-slide-image {
    transform: scale(1.1);
}

.ecms-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.8s ease;
    box-sizing: border-box;
}

.ecms-slide:hover .ecms-slide-content {
    transform: translateY(0);
    opacity: 1;
}

.ecms-slide-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.ecms-slide-description {
    font-size: 1rem;
    opacity: 0;
    line-height: 1.5;
    transition: opacity 0.5s ease 0.3s;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.ecms-slide:hover .ecms-slide-description {
    opacity: 1;
}

.ecms-slider-nav {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 20;
}

.ecms-nav-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(128, 128, 128, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.ecms-nav-dot::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #ff7e5f, #feb47b);
    transition: left 0.3s ease;
}

.ecms-nav-dot.ecms-active::before {
    left: 0;
}

.ecms-nav-dot.ecms-active {
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(255, 126, 95, 0.7);
}

.ecms-slider-controls {
    position: absolute;
    top: 50%;
    width: calc(100% - 60px); /* 确保按钮在容器内 */
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: space-between;
    z-index: 20;
    pointer-events: none; /* 允许点击穿透到图片 */
}

.ecms-control-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(40, 40, 40, 0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
    box-sizing: content-box;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    pointer-events: auto; /* 恢复按钮点击 */
}

.ecms-control-btn:hover {
    background: rgba(60, 60, 60, 0.9);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 20px rgba(255, 126, 95, 0.5);
}

.ecms-progress-bar {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 4px;
    background: rgba(128, 128, 128, 0.3);
    border-radius: 2px;
    overflow: hidden;
}

.ecms-progress {
    height: 100%;
    width: 25%;
    background: linear-gradient(90deg, #ff7e5f, #feb47b);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.ecms-slide-number {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    z-index: 5;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 移动端优化 - 修复版本 */
@media (max-width: 900px) {
    .ecms-slider-container {
        height: 450px;
    }
    
    .ecms-slide {
        width: 350px;
        height: 350px;
    }
    
    .ecms-slider-controls {
        width: calc(100% - 40px);
    }
    
    /* 修复移动端transform计算 */
    .ecms-slide.ecms-prev {
        transform: translateX(calc(-50% - 180px)) scale(0.85) rotateY(15deg);
    }
    
    .ecms-slide.ecms-next {
        transform: translateX(calc(-50% + 180px)) scale(0.85) rotateY(-15deg);
    }
    
    .ecms-slide.ecms-far-prev {
        transform: translateX(calc(-50% - 280px)) scale(0.7) rotateY(25deg);
    }
    
    .ecms-slide.ecms-far-next {
        transform: translateX(calc(-50% + 280px)) scale(0.7) rotateY(-25deg);
    }
}

@media (max-width: 768px) {
    .ecms-slider-container {
        height: 400px;
    }
    
    .ecms-slide {
        width: 300px;
        height: 300px;
    }
    
    .ecms-control-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .ecms-slide-content {
        padding: 20px;
    }
    
    .ecms-slide-title {
        font-size: 1.5rem;
    }
    
    .ecms-progress-bar {
        width: 250px;
    }
    
    .ecms-slider-controls {
        width: calc(100% - 30px);
    }
    
    /* 修复移动端transform计算 */
    .ecms-slide.ecms-prev {
        transform: translateX(calc(-50% - 160px)) scale(0.85) rotateY(15deg);
    }
    
    .ecms-slide.ecms-next {
        transform: translateX(calc(-50% + 160px)) scale(0.85) rotateY(-15deg);
    }
    
    .ecms-slide.ecms-far-prev {
        transform: translateX(calc(-50% - 240px)) scale(0.7) rotateY(25deg);
    }
    
    .ecms-slide.ecms-far-next {
        transform: translateX(calc(-50% + 240px)) scale(0.7) rotateY(-25deg);
    }
}

@media (max-width: 600px) {
    .ecms-slider-container {
        height: 350px;
    }
    
    .ecms-slide {
        width: 250px;
        height: 250px;
    }
    
    .ecms-slider-controls {
        width: calc(100% - 20px);
    }
    
    .ecms-control-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .ecms-progress-bar {
        width: 200px;
    }
    
    /* 修复移动端transform计算 */
    .ecms-slide.ecms-prev {
        transform: translateX(calc(-50% - 140px)) scale(0.85) rotateY(15deg);
    }
    
    .ecms-slide.ecms-next {
        transform: translateX(calc(-50% + 140px)) scale(0.85) rotateY(-15deg);
    }
    
    .ecms-slide.ecms-far-prev {
        transform: translateX(calc(-50% - 200px)) scale(0.7) rotateY(25deg);
    }
    
    .ecms-slide.ecms-far-next {
        transform: translateX(calc(-50% + 200px)) scale(0.7) rotateY(-25deg);
    }
}

@media (max-width: 480px) {
    .ecms-container {
        padding: 10px;
    }
    
    .ecms-slider-container {
        height: 300px;
    }
    
    .ecms-slide {
        width: 220px;
        height: 220px;
    }
    
    .ecms-slide-content {
        padding: 15px;
    }
    
    .ecms-slide-title {
        font-size: 1.2rem;
    }
    
    .ecms-slide-description {
        font-size: 0.9rem;
    }
    
    .ecms-progress-bar {
        width: 180px;
    }
    
    .ecms-slider-controls {
        width: calc(100% - 10px);
    }
    
    /* 在最小屏幕上调整位置 */
    .ecms-slide.ecms-prev {
        transform: translateX(calc(-50% - 120px)) scale(0.85) rotateY(15deg);
    }
    
    .ecms-slide.ecms-next {
        transform: translateX(calc(-50% + 120px)) scale(0.85) rotateY(-15deg);
    }
    
    .ecms-slide.ecms-far-prev {
        transform: translateX(calc(-50% - 180px)) scale(0.7) rotateY(25deg);
        opacity: 0.1;
    }
    
    .ecms-slide.ecms-far-next {
        transform: translateX(calc(-50% + 180px)) scale(0.7) rotateY(-25deg);
        opacity: 0.1;
    }
}

/* 动画效果 */
@keyframes ecms-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.ecms-slide.ecms-active {
    animation: ecms-fadeIn 0.8s ease;
}

/* 新增内容页文本 */
        .art-resource-card {
            width: 99.5%;
            max-width: 100%;
            margin: 0 auto;
            padding: 2%;
            background: linear-gradient(135deg, #fff9f0 0%, #fff 100%);
            border: 1px solid #673AB7;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: #5a4a3a;
            line-height: 1.7;
            font-size: 1.1em;
            /* 移除圆角 */
            border-radius: 0;
        }

        .art-resource-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
            border-color: #d4b896;
        }

        .art-resource-card p {
            margin-bottom: 1.2em;
            text-align: justify;
        }

        /* 移动端适配 */
        @media (max-width: 768px) {
            .art-resource-card {
                width: 95%;
                padding: 8%;
                font-size: 1em;
                line-height: 1.6;
                /* 移除圆角 */
                border-radius: 0;
            }
            
            .art-resource-card:hover {
                transform: none; /* 移动端移除悬停效果 */
            }
        }

        @media (max-width: 480px) {
            .art-resource-card {
                width: 99.5%;
                padding: 2%;
                font-size: 0.95em;
                line-height: 1.5;
                /* 移除圆角 */
                border-radius: 0;
            }
        }
        
 /* 适用说明 */
         .art-dotted-card {
            width: 99.5%;
            max-width: 100%;
            margin: 0 auto;
            padding: 2%;
            background: linear-gradient(135deg, #fefcf7 0%, #fff 100%);
            border: 2px dotted #d4b896;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: #5a4a3a;
            line-height: 1.7;
            font-size: 1.1em;
        }

        .art-dotted-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
            border-color: #b89a7a;
            background: linear-gradient(135deg, #fefaf2 0%, #fff 100%);
        }

        .art-dotted-card p {
            margin-bottom: 1.2em;
            text-align: justify;
        }

        /* 移动端适配 */
        @media (max-width: 768px) {
            .art-dotted-card {
                width: 99%;
                padding: 2%;
                font-size: 1em;
                line-height: 1.6;
                border-radius: 8px;
            }
            
            .art-dotted-card:hover {
                transform: none;
            }
        }

        @media (max-width: 480px) {
            .art-dotted-card {
                width: 98%;
                padding: 2%;
                font-size: 0.95em;
                line-height: 1.5;
                border-radius: 6px;
            }
        }
 
        
        /* 右侧悬浮 */
        .floating-sidebar {
            position: fixed;
            top: 50%;
            right: 5px;
            transform: translateY(-50%);
            display: flex;
            flex-direction: column;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 8px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
            padding: 8px 0;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            border: 1px solid rgba(0, 0, 0, 0.05);
        }
        
        .floating-sidebar.active {
            opacity: 1;
            visibility: visible;
        }
        
        .floating-sidebar a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            color: #555;
            text-decoration: none;
            position: relative;
            transition: all 0.2s ease;
        }
        
        .floating-sidebar a:hover {
            color: #2c3e50;
            background: rgba(44, 62, 80, 0.05);
        }
        
        .floating-sidebar a i {
            font-size: 18px;
        }
        
        .floating-sidebar a .tooltip {
            position: absolute;
            right: 50px;
            background: #2c3e50;
            color: white;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 12px;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: all 0.2s ease;
            z-index: 1002;
        }
        
        .floating-sidebar a .tooltip:after {
            content: '';
            position: absolute;
            top: 50%;
            left: 100%;
            transform: translateY(-50%);
            border-width: 5px;
            border-style: solid;
            border-color: transparent transparent transparent #2c3e50;
        }
        
        .floating-sidebar a:hover .tooltip {
            opacity: 1;
            visibility: visible;
        }
        
        .floating-sidebar .divider {
            height: 1px;
            background: rgba(0, 0, 0, 0.1);
            margin: 4px 8px;
        }
        
        /* 分享下拉菜单 */
        .share-dropdown {
            position: relative;
        }
        
        .share-menu {
            position: absolute;
            right: 50px;
            bottom: 0;
            background: white;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            padding: 8px;
            display: none;
            flex-direction: column;
            width: auto;
            z-index: 1001;
            border: 1px solid rgba(0, 0, 0, 0.05);
            transition: opacity 0.3s ease;
        }
        
        .share-dropdown.active .share-menu {
            display: flex;
        }
        
        .share-menu a {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            width: 35px;
            height: 35px;
            border-radius: 4px;
            margin-bottom: 5px;
            color: #555;
            text-decoration: none;
        }
        
        .share-menu a:last-child {
            margin-bottom: 0;
        }
        
        .share-menu a:hover {
            background: rgba(44, 62, 80, 0.05);
        }
        
        .share-menu a i {
            font-size: 16px;
            margin: 0;
        }
        
        /* 移动端样式 */
        @media (max-width: 768px) {
            .floating-sidebar {
                position: fixed;
                top: auto;
                bottom: 0;
                left: 0;
                right: 0;
                transform: none;
                flex-direction: row;
                justify-content: space-around;
                border-radius: 10px 10px 0 0;
                padding: 5px 0;
                width: 100%;
                right: auto;
            }
            
            .floating-sidebar a {
                width: 45px;
                height: 45px;
                flex-direction: column;
            }
            
            .floating-sidebar a .tooltip {
                right: auto;
                bottom: 50px;
                left: 50%;
                transform: translateX(-50%);
            }
            
            .floating-sidebar a .tooltip:after {
                top: 100%;
                left: 50%;
                transform: translateX(-50%);
                border-color: #2c3e50 transparent transparent transparent;
            }
            
            .floating-sidebar .divider {
                width: 1px;
                height: 30px;
                margin: 8px 0;
            }
            
            /* 移动端分享下拉菜单 */
            .share-dropdown {
                position: static;
            }
            
            .share-menu {
                right: auto;
                bottom: 50px;
                left: 50%;
                transform: translateX(-50%);
                flex-direction: row;
                width: auto;
            }
            
            .share-menu a {
                margin-bottom: 0;
                margin-right: 5px;
            }
            
            .share-menu a:last-child {
                margin-right: 0;
            }
        }
        


        /* 响应式基础样式 - 仅针对PFPBase内容 */
        .pfpbase-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
            color: #333;
            line-height: 1.6;
        }
        
        /* 主标题 */
        .pfpbase-main-title {
            font-size: clamp(1.8rem, 5vw, 2.8rem);
            text-align: center;
            margin-bottom: 1.5rem;
            color: #1a2a6c;
            font-weight: 700;
            background: linear-gradient(45deg, #1a2a6c, #2a3a9c);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            line-height: 1.2;
        }
        
        /* 介绍文本 */
        .pfpbase-intro {
            font-size: clamp(1rem, 3vw, 1.2rem);
            text-align: center;
            margin-bottom: 2.5rem;
            color: #555;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }
        
        /* 副标题 */
        .pfpbase-subtitle {
            font-size: clamp(1.5rem, 4vw, 2rem);
            color: #1a2a6c;
            margin: 2.5rem 0 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid #fdbb2d;
            display: inline-block;
        }
        
        /* 特性网格 */
        .pfpbase-features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }
        
        /* 特性卡片 */
        .pfpbase-feature {
            background: white;
            border-radius: 12px;
            padding: 1.5rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            border-left: 4px solid #1a2a6c;
        }
        
        .pfpbase-feature:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
            border-left-color: #fdbb2d;
        }
        
        /* 特性图标 */
        .pfpbase-feature-icon {
            font-size: 2.5rem;
            color: #1a2a6c;
            margin-bottom: 1rem;
            text-align: center;
        }
        
        /* 特性标题 */
        .pfpbase-feature-title {
            font-size: 1.4rem;
            margin-bottom: 0.8rem;
            color: #1a2a6c;
            text-align: center;
        }
        
        /* 特性描述 */
        .pfpbase-feature-desc {
            color: #555;
            font-size: 1rem;
            text-align: center;
        }
        
        /* 行动号召区域 */
        .pfpbase-cta {
            text-align: center;
            padding: 2.5rem 1.5rem;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 16px;
            margin: 2.5rem 0;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        }
        
        .pfpbase-cta-title {
            font-size: clamp(1.5rem, 4vw, 2.2rem);
            margin-bottom: 1.5rem;
            color: #1a2a6c;
        }
        
        .pfpbase-cta-text {
            font-size: clamp(1rem, 3vw, 1.2rem);
            margin-bottom: 1.5rem;
            color: #555;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
        
        /* 行动按钮 */
        .pfpbase-button {
            display: inline-block;
            background: linear-gradient(45deg, #1a2a6c, #2a3a9c);
            color: white;
            padding: 0.8rem 1.8rem;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(26, 42, 108, 0.4);
            border: none;
            cursor: pointer;
        }
        
        .pfpbase-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(26, 42, 108, 0.5);
            background: linear-gradient(45deg, #2a3a9c, #3a4aac);
        }
        
        /* 联系信息 */
        .pfpbase-contact {
            text-align: center;
            padding: 2rem 1.5rem;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 16px;
            margin-top: 2rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        }
        
        .pfpbase-contact-title {
            font-size: clamp(1.3rem, 3.5vw, 1.8rem);
            margin-bottom: 1rem;
            color: #1a2a6c;
        }
        
        .pfpbase-contact-email {
            font-size: clamp(1rem, 2.5vw, 1.3rem);
            color: #1a2a6c;
            font-weight: 600;
        }
        
        /* 移动端优化 */
        @media (max-width: 768px) {
            .pfpbase-content {
                padding: 15px;
            }
            
            .pfpbase-features {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
            
            .pfpbase-feature {
                padding: 1.2rem;
            }
            
            .pfpbase-feature-icon {
                font-size: 2rem;
            }
            
            .pfpbase-feature-title {
                font-size: 1.2rem;
            }
            
            .pfpbase-cta, .pfpbase-contact {
                padding: 1.5rem 1rem;
                margin: 1.5rem 0;
            }
        }
        
        @media (max-width: 480px) {
            .pfpbase-content {
                padding: 10px;
            }
            
            .pfpbase-feature {
                padding: 1rem;
            }
            
            .pfpbase-button {
                width: 100%;
                text-align: center;
            }
        }
        
        .footer-links-container {
            max-width: 800px;
            margin: 40px auto;
            padding: 30px;
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
            text-align: center;
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            border-radius: 16px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        }
        
        .footer-summary {
            font-size: 1.2rem;
            color: #495057;
            margin-bottom: 25px;
            line-height: 1.6;
            font-weight: 500;
        }
        
        .footer-links {
            display: flex;
            justify-content: center;
            gap: 25px;
            flex-wrap: wrap;
        }
        
        .footer-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 20px;
            background: white;
            color: #1a2a6c;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            border: 2px solid transparent;
        }
        
        .footer-link:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
            background: #1a2a6c;
            color: white;
            border-color: #1a2a6c;
        }
        
        .footer-link i {
            font-size: 1.1rem;
        }
        
        /* 移动端适配 */
        @media (max-width: 768px) {
            .footer-links-container {
                padding: 25px 20px;
                margin: 30px 15px;
            }
            
            .footer-summary {
                font-size: 1.1rem;
            }
            
            .footer-links {
                gap: 15px;
            }
            
            .footer-link {
                padding: 10px 18px;
                font-size: 0.95rem;
            }
        }
        
        @media (max-width: 480px) {
            .footer-links {
                flex-direction: column;
                align-items: center;
            }
            
            .footer-link {
                width: 200px;
                justify-content: center;
            }
        }