.search{display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    padding: 15px 0;
    margin-bottom: 15px;}
.search_input{height: 40px;
    line-height: 40px;
    padding: 0 5px;
    border: 2px solid #1e90ff;
    border-right: 0;
    border-radius: 5px 0 0 5px;
    flex: 1;}    
.search-btn{width:40px;height:40px;background:#1e90ff;border-radius: 0 5px 5px 0;color: #fff;border: 0;cursor: pointer;}    
/* ===== 上传区域 ===== */
.upload-areaa {
    position: relative;
    width: auto;
    height: 70vh;
    padding: 60px;
    margin-bottom: 15px;
    text-align: center;
    cursor: pointer;
    border: 2px dashed #ddd;
    background: hsla(0, 0%, 100%, 0.5);
}
#download-main-btn{display:none}
/* ===== 更多信息卡片 ===== */
.c-more {
    display: flex;
    width: 248px;
    min-height: 76px;
    padding: 10px 0;
    cursor: pointer;
    background: #f9f5ff;
    justify-content: space-between;
}

.c-more2 {
    display: flex;
    width: 248px;
    min-height: 76px;
    padding: 10px 0;
    cursor: pointer;
    margin-top: 10px;
    background: #fbfbfb;
    justify-content: space-between;
}

.c-more-icon {
    display: flex;
    width: 60px;
    height: 60px;
    margin-left: 5px;
    border-radius: 6px;
    background: #fff;
    justify-content: center;
    align-items: center;
}

.c-more-title {
    display: flex;
    color: var(--content-system-primary);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    align-items: center;
}

.c-more-des {
    color: var(--content-system-tertiary);
    font-size: 12px;
    line-height: 18px;
    margin-top: 2px;
}

.c-more-body {
    width: 176px;
}

.menu-icon2 {
    font-size: 31px;
    margin-bottom: 5px;
    color: #bf53bb;
}

.tab-active {
    display: block;
    background: #f0f0f0;
}

/* ===== 图片预览 ===== */
.uploaded-image {
    max-width: 100%;
    display: none;
    border-radius: 4px;
    max-height: calc(100% - 70px);
}

.upload-area.has-image {
    padding: 0;
    border: none;
    height: calc(100% - 70px);
    display: flex;
    background: transparent;
    align-items: center;
    justify-content: center;
}

.upload-area.has-image .upload-icon,
.upload-area.has-image .upload-text {
    display: none;
}

.upload-area.has-image img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 4px;
}

/* ===== 底部按钮 ===== */
.button-containera {
    position: fixed;
    bottom: 0;
    left: 380px;
    right: 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    width: calc(100% - 380px);
}

.action-btn {
    flex: 1;
    border: none;
    padding: 12px;
    max-width: 200px;
    font-size: 15px;
    cursor: pointer;
    font-weight: 500;
    text-align: center;
    border-radius: 6px;
    transition: all 0.3s;
}

.convert-btn {
    color: white;
    background-color: #1E90FF;
}

.convert-btn:hover {
    background-color: #1C86EE;
}

.convert-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.reupload-btn {
    color: #333;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
}

.reupload-btn:hover {
    background-color: #e0e0e0;
}

.down-wen {
    flex: 1;
    color: #fff;
    max-width: 200px;
    padding: 12px;
    font-size: 15px;
    text-align: center;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s;
    border: 1px solid #ddd;
    background-color: #1c86ee;
    cursor: pointer;
}

/* ===== 加载动画 ===== */
.loader {
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    display: none;
    position: absolute;
    z-index: 100;
    border-radius: 50%;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1E90FF;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ===== 背景样式 ===== */
.diamond-grid {
    width: auto;
    min-height: 70vh;
    background-color: #ffffff;
    background-image: 
        linear-gradient(45deg, #e0e0e0 25%, transparent 25%),
        linear-gradient(-45deg, #e0e0e0 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #e0e0e0 75%),
        linear-gradient(-45deg, transparent 75%, #e0e0e0 75%);
    background-size: 40px 40px;
    background-position: 
        0 0,
        0 20px,
        20px -20px,
        -20px 0px;
}

/* ===== 透明图片容器 ===== */
.transparent-image-container {
    margin: 0 auto;
    max-width: 100%;
    text-align: center;
}

.transparent-image {
    max-width: 100%;
    max-height: 70vh;
    height: auto;
    padding: 1rem;
    border: 1px solid #ddd;
}
.preview-area{justify-content:unset}

/* ===== 响应式调整 ===== */
@media (max-width: 768px) {
    .c-more,
    .c-more2 {
        width: 100%;
        margin-right: 10px;
    }
    
    .c-more-body {
        width: calc(100% - 70px);
    }
    
    .action-btn {
        padding: 10px;
        font-size: 14px;
    }
    
    .button-containera {
        left: 0;
        width:100%;
        z-index:102;
    }
}

/* ===== 记录项样式 ===== */
.wens .record-item {
    gap: 10px;
    margin: 0;
    flex-wrap: wrap;
    justify-content: normal;
}

.record-item a {
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.record-item a:hover {
    transform: scale(1.02);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.wens .record-item a {
    width: calc(50% - 5px);
    border: 1px solid #ddd;
    border-radius: 4px;
}

.wens .record-item a img {
    width: 100%;
    height: auto;
    display: block;
}

.member-tab-row {
    gap: 5px;
    margin: 0;
    flex-wrap: wrap;
    justify-content: normal;
}

.member-tab-grid {
    flex: unset;
    width: calc(50% - 5px);
}

.imginfo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(255 255 255);
    color: #000;
    padding: 2px 6px;
}

.imginfo p {
    display: flex;
    gap: 10px;
}
.preview-areas{
    flex:1;
    margin: 20px;
}
/* 第一个瀑布流容器 */
        .grid {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
            margin-bottom: 30px;
        }
        
        .grid-item {
            width: calc(50% - 10px);
            border-radius: 8px;
            overflow: hidden;
            background: white;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }
        
        .grid-item:hover {
            transform: translateY(-1px);
        }
        .grid-item a{
            display:block;
            margin-top:10px;
        }
        .grid-item img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 5px 5px 0 0;
        }
        
        /* 第二个瀑布流容器 */
        .index-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .index-grid-item {
            width: calc(20% - 15px); /* 5列布局 */
            border-radius: 8px;
            overflow: hidden;
            background: white;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
            margin-bottom: 15px;
        }
        
        .index-grid-item:hover {
            transform: translateY(-5px);
        }
        
        .index-grid-item img {
            width: 100%;
            height: auto;
            display: block;
            background-image: linear-gradient(45deg, #e0e0e0 25%, transparent 25%), linear-gradient(-45deg, #e0e0e0 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #e0e0e0 75%), linear-gradient(-45deg, transparent 75%, #e0e0e0 75%);
            background-size: 40px 40px;
            background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
        }
        
        .index-grid-item .title {
            padding: 10px;
            font-size: 14px;
            color: #333;
            text-align: center;
        }
        
        /* 加载指示器 */
        .loadering {
            display: none;
            text-align: center;
            padding: 30px;
            font-size: 16px;
            color: #666;
        }
        
        .spinner {
            display: inline-block;
            width: 40px;
            height: 40px;
            border: 4px solid rgba(0, 0, 0, 0.1);
            border-radius: 50%;
            border-top-color: #3498db;
            animation: spin 1s ease-in-out infinite;
            margin-bottom: 15px;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        .no-results {
            display: none;
            text-align: center;
            padding: 30px;
            font-size: 16px;
            color: #666;
        }
        
        /* 响应式布局 */
        @media (max-width: 1200px) {
            .index-grid-item {
                width: calc(25% - 15px); /* 4列布局 */
            }
        }
        
        @media (max-width: 992px) {
            .index-grid-item {
                width: calc(33.333% - 15px); /* 3列布局 */
            }
        }
        .preview-area{margin-bottom: 60px;}
        @media (max-width: 768px) {
            
            .search{padding:5px 0}
            .function-area{margin-bottom: 0px;}
            .preview-area{margin-bottom: 0;}
            .detail.function-area{order:2;}
            .grid-item {
                width: calc(50% - 6px);
            }
            .member-tab-content.active{display:none}
            .index-grid-item {
                width: calc(50% - 8px); /* 2列布局 */
            }
            .detail.member-tab-content.active{display:block}
        }
        
        @media (max-width: 480px) {
            
        }