/* 图库分类网格布局 */
.sixer-gallery-categories {
    display: grid;
    grid-template-columns: repeat(var(--columns, 3), 1fr);
    gap: 20px;
    margin: 20px 0;
}
.pictures-list-container {
    background-color: #f5f5f5;
    padding: 0 10px;
}

/* 分类卡片样式 */
.gallery-category-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.gallery-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.category-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-cover {
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-category-card:hover .category-image {
    transform: scale(1.05);
}

.category-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
    color: #6c757d;
}

.category-info {
    padding: 15px;
}

.category-title {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.category-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
}

.item-count {
    color: #007cba;
}

.lottery-type {
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 3px;
}

/* 分类详情页样式 */
.sixer-gallery-category-detail {
    max-width: 1200px;
    margin: 0 auto;
}

.category-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.category-header .category-title {
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
}

.category-header .category-meta {
    justify-content: center;
    gap: 20px;
}

/* 图片网格布局 */
.gallery-items-grid {
    display: grid;
    grid-template-columns: repeat(var(--columns, 4), 1fr);
    gap: 15px;
}

.gallery-item {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.item-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.item-meta {
    padding: 10px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.period-id {
    color: #333;
    font-weight: 500;
}

.six-issue {
    background: #007cba;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
}

.no-items {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 16px;
}
/* 图库列表容器 */
.sixer-gallery-list-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 标题区域 */
.gallery-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.gallery-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.current-issue {
    color: #e74c3c;
    font-weight: bold;
}

/* 搜索区域 */
.gallery-search {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    align-items: center;
    justify-content: center;
}

.search-input {
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    width: 300px;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #3498db;
}

.search-button, .reset-button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-button {
    background-color: #3498db;
    color: white;
}

.search-button:hover {
    background-color: #2980b9;
}

.reset-button {
    background-color: #95a5a6;
    color: white;
}

.reset-button:hover {
    background-color: #7f8c8d;
}

/* 表格容器 */
.gallery-table-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* 图片表格 */
.gallery-items-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.gallery-items-table th {
    background-color: #f8f9fa;
    padding: 15px 10px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #e9ecef;
}

.gallery-items-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.gallery-items-table tr:hover {
    background-color: #f8f9fa;
}

/* 列样式 */
.col-icon {
    width: 70px;
    text-align: center;
}

.col-name {
    width: 40%;
}

.col-views, .col-comments, .col-issue {
    width: 15%;
    text-align: center;
}

/* 图标样式 */
.item-icon {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.item-icon-placeholder {
    width: 48px;
    height: 48px;
    background: #f8f9fa;
    border: 1px dashed #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 10px;
}

/* 图片名称链接 */
.item-name-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.item-name-link:hover {
    color: #3498db;
    text-decoration: underline;
}

/* 数据文本 */
.views-count, .comments-count, .period-id {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

/* 无数据状态 */
.no-data, .loading, .error {
    text-align: center;
    padding: 40px !important;
    color: #6c757d;
    font-style: italic;
}

.loading {
    color: #3498db;
}

.error {
    color: #e74c3c;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .sixer-gallery-list-container {
        padding: 10px;
    }
    
    .gallery-title {
        font-size: 22px;
    }
    
    .gallery-search {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-input {
        width: 100%;
    }
    
    .gallery-items-table {
        font-size: 12px;
    }
    
    .gallery-items-table th,
    .gallery-items-table td {
        padding: 8px 5px;
    }
    
    .col-views, .col-comments {
        display: none;
    }
}

/* 分类详情页样式保持不变 */
.sixer-gallery-category-detail {
    max-width: 1200px;
    margin: 0 auto;
}

.category-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.category-header .category-title {
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
}

.category-header .category-meta {
    justify-content: center;
    gap: 20px;
}

.gallery-items-grid {
    display: grid;
    grid-template-columns: repeat(var(--columns, 4), 1fr);
    gap: 15px;
}

.gallery-item {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.item-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.item-meta {
    padding: 10px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.period-id {
    color: #333;
    font-weight: 500;
}

.six-issue {
    background: #007cba;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
}

.no-items {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 16px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .sixer-gallery-list-container {
        padding: 10px;
    }
    
    .gallery-title {
        font-size: 22px;
    }
    
    .gallery-search {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-input {
        width: 100%;
    }
    
    .gallery-categories-table {
        font-size: 12px;
    }
    
    .gallery-categories-table th,
    .gallery-categories-table td {
        padding: 8px 5px;
    }
    
    .col-views, .col-comments {
        display: none;
    }
}

/* 分类详情页样式 */
.sixer-gallery-category-detail {
    max-width: 1200px;
    margin: 0 auto;
}

.category-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.category-header .category-title {
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
}

.category-header .category-meta {
    justify-content: center;
    gap: 20px;
}

/* 图片网格布局 */
.gallery-items-grid {
    display: grid;
    grid-template-columns: repeat(var(--columns, 4), 1fr);
    gap: 15px;
}

.gallery-item {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.item-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.item-meta {
    padding: 10px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.period-id {
    color: #333;
    font-weight: 500;
}

.six-issue {
    background: #007cba;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
}

.no-items {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 16px;
}
.error-message {
    text-align: center;
    padding: 40px;
    font-size: 16px;
    color: #999;
    font-weight: 400;
}
.error-message a {
    color: #666;
    text-decoration: none;
    font-weight: 400;
}
.error-message a:hover {
    color: #078786;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .sixer-gallery-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-items-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .sixer-gallery-categories {
        grid-template-columns: 1fr;
    }
    
    .gallery-items-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-items-grid {
        grid-template-columns: 1fr;
    }
}