.page-main-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, sans-serif;
}
body {
    background-color: #fff;
    color: #333;
}
/* 全局左右布局核心 */
.app-container {
    display: flex;
    height: 100vh;
    overflow: hidden;
}
/* 左侧固定侧边栏 */
.left-sidebar {
    width: 200px;
    background-color: #f8f9fa;
    border-right: 1px solid #eee;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    padding: 16px;
}
/* 右侧自适应内容区 */
.right-content {
    flex: 1;
    margin-left: 200px;
    height: 100vh;
    overflow-y: auto;
    padding: 20px;
    background: linear-gradient(180deg,rgb(170, 184, 247) 0%,rgb(124, 148, 253) 50%, #764ba2 100%);
}
/* 右侧内容区内部两列布局 */
.right-content-flex {
    display: flex;
    gap: 16px;
    min-height: 100%;
}
.right-col-main {
    flex: 1;
    min-width: 0;
}
.right-col-detail {
    width: 0;
    overflow: hidden;
    transition: width 0.3s ease;
    flex-shrink: 0;
    position: sticky;
    top: 2px;
    align-self: flex-start;
    z-index: 1;
}
.right-col-detail.open {
    width: 400px;
}
.detail-panel {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.detail-panel h4 {
    font-size: 15px;
    margin-bottom: 12px;
    color: #333;
}
.detail-panel .detail-img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 12px;
}
.detail-panel .detail-text {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    white-space: pre-wrap;
    word-break: break-all;
}
.detail-close {
    cursor: pointer;
    font-size: 20px;
    color: #999;
    line-height: 1;
    padding: 4px;
}
.detail-close:hover {
    color: #333;
}
/* 生成界面样式 */
.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}
.detail-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}
.detail-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.detail-copy {
    cursor: pointer;
    color: #666;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s;
}
.detail-copy:hover {
    color: #333;
    background: #f5f5f5;
}
.detail-section {
    margin-bottom: 12px;
}
.detail-section-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
}
.detail-subtitle {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
    margin-left: 20px;
}
.detail-page-stats {
    display: flex;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}
.detail-page-stat-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #888;
}
.detail-page-stat-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
.detail-page-img-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
}
.detail-page-img {
    max-width: 100%;
    max-height: calc(100vh - 80px);
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.detail-translate-btn {
    margin-left: auto;
    cursor: pointer;
    color: #999;
    padding: 4px;
    border-radius: 4px;
}
.detail-translate-btn:hover {
    color: #666;
    background: #f5f5f5;
}
.detail-upload {
    position: relative;
    border: 2px dashed #e0e0e0;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    margin-bottom: 20px;
    background: #fafafa;
    transition: all 0.2s;
    cursor: pointer;
}
.detail-upload:hover {
    border-color: #c0c0c0;
    background: #f5f5f5;
}
.detail-upload-icon {
    color: #999;
    margin-bottom: 8px;
}
.detail-upload-text {
    font-size: 13px;
    color: #666;
}
.detail-upload-hint {
    font-size: 11px;
    color: #bbb;
    margin-top: 4px;
}
.detail-ref-thumb {
    display: none;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    margin-bottom: 10px;
}
.detail-ref-thumb.show {
    display: block;
}
.detail-ref-thumb img {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
.detail-ref-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
}
.detail-ref-thumb:hover .detail-ref-remove {
    opacity: 1;
}
.detail-upload {
    background: #f8f9fa;
    border: 1px dashed #ddd;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70px;
}
.detail-prompt-box {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
    max-height: 200px;
    overflow-y: auto;
}
.detail-prompt-text {
    font-size: 13px;
    line-height: 1.8;
    color: #444;
    white-space: pre-wrap;
    word-break: break-word;
}
.detail-actions-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}
.detail-action-btn {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fff;
    font-size: 12px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s;
}
.detail-action-btn:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}
.detail-action-btn.primary {
    background: #f0f7ff;
    border-color: #4e6ef2;
    color: #4e6ef2;
}
.detail-action-btn.primary:hover {
    background: #e0efff;
}
.detail-params {
    margin-bottom: 20px;
}
.detail-param-row {
    display: flex;
    gap: 12px;
    align-items: center;
}
.detail-param-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.detail-param-label {
    font-size: 12px;
    color: #666;
}
.detail-param-value {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f5f5f5;
    border-radius: 4px;
    padding: 2px;
}
.param-minus, .param-plus {
    width: 24px;
    height: 24px;
    border: none;
    background: #fff;
    border-radius: 3px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}
.param-num {
    font-size: 12px;
    color: #333;
    padding: 0 8px;
}
.param-auto, .param-2k {
    font-size: 12px;
    color: #333;
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 4px;
}
.detail-quality {
    display: flex;
    gap: 8px;
}
.quality-tag {
    font-size: 12px;
    color: #666;
    padding: 6px 16px;
    border-radius: 16px;
    background: #f5f5f5;
    cursor: pointer;
    transition: all 0.2s;
}
.quality-tag:hover {
    background: #e8e8e8;
}
.quality-tag.active {
    background: #333;
    color: #fff;
}
.detail-footer {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
}
.detail-model-select {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    background: #f5f5f5;
}
.detail-model-select:hover {
    background: #e8e8e8;
}
.detail-generate-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 20px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.detail-generate-btn:hover {
    background: #2a2a4e;
}

.dcontent{
    border-radius: 10px;
    background: #fafafa;
padding: 10px;
}
/* 分类栏 - 1行两列 */
.category-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.category-left {
    gap: 1px;
row-gap: 1px;  /* 增加换行后的垂直间距 */
flex-wrap: wrap;
}
.model-item {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.2s;
}
.model-item:hover {
    background: #eee;
}
.model-logo {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.model-name {
    font-size: 13px;
    color: #333;
}
.category-right {
    display: flex;
    gap: 6px;
}
.tag {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
    background: #f0f0f0;
    cursor: pointer;
    transition: all 0.2s;
}
.tag:hover {
    background: #e0e0e0;
}
.tag-active {
    background: #1a1a2e;
    color: #fff;
}
.tag-active:hover {
    background: #2a2a4e;
}
.sidebar-header {
    display: none;
}
.sidebar-overlay {
    display: none;
}
.sidebar-inner .detail-logo-img {
    display: none;
}
.sidebar-logo {
    font-weight: bold;
    font-size: 24px;
    letter-spacing: 1px;
    background: linear-gradient(to right,rgb(240, 185, 33),rgb(9, 123, 199),rgb(240, 185, 33));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sidebar-logo1 {
    font-weight: bold;      
    font-size: 12px;
    margin-left:0px;
    letter-spacing: 2.2px;
    background: linear-gradient(to right,rgb(240, 185, 33),rgb(9, 123, 199),rgb(240, 185, 33));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;          }
.nav-item {
    display: block;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    margin-bottom: 6px;
    transition: 0.2s;
}
.nav-item:hover, .nav-item.active {
    background-color:rgb(218, 250, 144);
    color: #000;
    font-weight: 500;
}
.sidebar-divider {
    margin: 16px 0 8px;
    font-size: 12px;
    color: #666;
}
.sidebar-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 200px;
    padding: 15px;
    border-top: 1px solid #eee;
    background: #fff;
}
.sidebar-btn {
    width: 100%;
    background-color: #111;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 10px;
    cursor: pointer;
}
.sidebar-text {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
}
/* 图片网格布局 */
.grid-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.grid-card {
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}
.grid-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}
/* 瀑布流布局 — 标准图片网站风格 */
.waterfall {
    column-count: 5;
    column-gap: 12px;
}
.waterfall-item {
    break-inside: avoid;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: relative;
    transition: box-shadow 0.3s, transform 0.3s;
}
.waterfall-item:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}
.waterfall-item .img-wrap {
    position: relative;
    overflow: hidden;
}
.waterfall-item img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease, filter 0.3s ease;
}
.waterfall-item:hover img {
    transform: scale(1.05);
}
.waterfall-item a {
    display: block;
}
.img-wrap::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0);
    transition: background 0.3s ease;
    pointer-events: none;
}
.waterfall-item:hover .img-wrap::after {
    background: rgba(0,0,0,0.08);
}
.waterfall-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    background: linear-gradient(transparent 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.8) 100%);
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.25s ease;
}
.waterfall-item:hover .waterfall-overlay {
    opacity: 1;
    transform: translateY(0);
}
.waterfall-overlay .prompt-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    pointer-events: auto;
}
.waterfall-overlay .prompt-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}
.waterfall-stats {
    display: flex;
    align-items: center;
    gap: 8px;
}
.stat-item {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    white-space: nowrap;
    line-height: 1;
}
.stat-item svg {
    flex-shrink: 0;
    display: block;
}
.waterfall-title {
    padding: 6px 10px 0;
    color: #666;
    line-height: 1.2;
    word-break: break-all;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.waterfall-title a {
    text-decoration: none;
    color: #333;
    transition: color 0.2s;
}
.waterfall-title a:hover {
    color: #5c6cff;
}
.waterfall-desc {
    padding: 4px 10px 8px 8px;
    font-size: 14px;
    color: #999;
    line-height: 1.4;
    word-break: break-all;
}
.waterfall-description{

    color: #666;
    line-height: 1.2;
    word-break: break-all;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
h4 {font-size: 12px;            padding: 10px ;
font-weight: lighter;
}
/* SEO优化的样式 */
.page-title {
    display: none; /* 视觉上隐藏，但保留给SEO */
}

.model-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.model-item:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.tag:hover {
    background: rgba(255, 255, 255, 1);
    color: #333;
}

.tag.tag-active {
    background: #5c6cff;
    color: #fff;
}

/* 选中状态 - 通用 */
.selected {
    background:rgb(123, 123, 231);
    color: #fff;
}
.selected:hover {
    background: #2a2a4e;
}

/* Screen reader only class for accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
@media (max-width: 1400px) { .waterfall { column-count: 4; } }
@media (max-width: 1100px) { .waterfall { column-count: 3; } }
@media (max-width: 768px)  { .waterfall { column-count: 2; } }
@media (max-width: 480px)  { .waterfall { column-count: 1; } }

/* ========== H5 手机适配 ========== */
@media (max-width: 768px) {
    /* 顶层容器允许滚动 */
    .app-container {
        height: auto !important;
        overflow: visible !important;
        display: block !important;
    }
    /* 左侧侧边栏改为顶部固定条 */
    .left-sidebar {
        position: fixed;
        top: 0; left: 0; right: 0;
        width: 100%;
        height: auto;
        padding: 0;
        border-right: none;
        border-bottom: 1px solid #eee;
        background: #fff;
        z-index: 999;
        display: block;
    }
    /* 顶部导航条（汉堡 + Logo） */
    .sidebar-header {
        display: flex;
        align-items: center;
        padding: 8px 16px;
        background: #fff;
        z-index: 2;
        position: relative;
    }
    .sidebar-toggle {
        cursor: pointer;
        padding: 6px;
        border-radius: 6px;
        color: #333;
        margin-right: 10px;
        flex-shrink: 0;
    }
    .sidebar-toggle:active {
        background: #f0f0f0;
    }
    .sidebar-header .detail-logo-img {
        width: 100px;
        height: auto;
        margin-left: 0;
        border-radius: 6px;
        box-shadow: none;
    }
    /* 遮罩层 */
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.4);
        z-index: 998;
    }
    .sidebar-overlay.open {
        display: block;
    }
    /* 抽屉菜单 */
    .sidebar-inner {
        display: block !important;
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100%;
        background: #f8f9fa;
        z-index: 1000;
        overflow-y: auto;
        padding: 16px;
        transition: left 0.3s ease;
        box-shadow: 2px 0 12px rgba(0,0,0,0.1);
    }
    .sidebar-inner.open {
        left: 0;
    }
    .sidebar-inner .detail-logo-img {
        display: block;
        width: 120px;
        height: auto;
        margin: 0 0 10px -10px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    .sidebar-inner .sidebar-top {
        display: block;
    }
    .sidebar-inner .sidebar-logo {
        margin: 0 0 16px 0 !important;
        font-size: 14px !important;
    }
    .sidebar-inner .nav-item {
        display: block !important;
        padding: 10px 12px !important;
        margin-bottom: 2px !important;
        font-size: 14px !important;
        border-radius: 8px;
    }
    .sidebar-inner .sidebar-bottom {
/* 移除 fixed 定位 */
position: relative;
width: 100%;
margin-top: auto;
padding: 15px 0;
border-top: 1px solid #eee;
}
    /* 右侧内容区 */
    .right-content {
        margin-left: 0 !important;
        height: auto !important;
        overflow: visible !important;
        padding: 10px;
        flex: none;
        margin-top: 52px;
    }
    .right-content-flex {
        flex-direction: column;
        gap: 10px;
        min-height: auto !important;
    }
    .right-col-main {
        min-width: 0;
    }
    .right-col-detail {
        display: none;
    }
    .right-col-detail.open {
        display: block;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        width: 100% !important;
        height: 100%;
        z-index: 1000;
        background: rgba(0,0,0,0.5);
    }
    .right-col-detail.open .detail-panel {
        position: absolute;
        bottom: 0;
        left: 0; right: 0;
        max-height: 95vh;
        border-radius: 16px 16px 0 0;
        padding: 16px;
        overflow-y: auto;
    }
    .dcontent {
        padding: 8px;
        border-radius: 8px;
    }
    .waterfall {
        column-gap: 8px;
    }
    .waterfall-item {
        margin-bottom: 8px;
    }
    .waterfall-overlay {
        opacity: 1;
        transform: translateY(0);
        padding: 6px 8px;
    }
    .waterfall-overlay .prompt-btn {
        font-size: 11px;
        padding: 4px 10px;
    }
    .stat-item {
        font-size: 11px;
    }
    .stat-item svg {
        width: 12px;
        height: 12px;
    }
    .waterfall-title {
        font-size: 11px;
        padding: 4px 8px 0;
    }
    .waterfall-desc {
        font-size: 10px;
        padding: 2px 8px 6px;
    }
    .category-bar {
        flex-wrap: wrap;
        gap: 8px;
    }
 
    .category-right {
        gap: 4px;
    }
    .tag {
        font-size: 12px;
        padding: 4px 10px;
    }
    .pagination {
        gap: 3px;
        margin-top: 24px;
        margin-bottom: 24px;
    }
    .page-btn {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
        padding: 0 6px;
        border-radius: 6px;
    }
    .page-dots {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
    }
    .detail-prompt-box {
        max-height: 150px;
    }
    .detail-param-row {
        flex-wrap: wrap;
        gap: 8px;
    }
    .detail-footer {
        flex-wrap: wrap;
    }
    .footer-beian {
        padding: 12px;
    }
    .footer-beian p {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .right-content {
        padding: 6px;
    }
    .waterfall {
        column-gap: 6px;
    }
    .waterfall-item {
        margin-bottom: 6px;
    }
    .detail-panel {
        padding: 12px;
    }
    .detail-params {
        display: none;
    }
}
/* 分页 - 现代图片站风格 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    transition: all 0.2s ease;
    background: #fff;
    user-select: none;
}
.page-btn:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
    color: #333;
}
.page-btn.active {
    background: #1a1a2e;
    color: #fff;
    border-color: #1a1a2e;
    font-weight: 600;
}
.page-btn.disabled {
    color: #ccc;
    cursor: not-allowed;
    pointer-events: none;
    border-color: #f0f0f0;
    background: #fafafa;
}
.page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    font-size: 14px;
    color: #999;
    letter-spacing: 2px;
}
.detail-logo-img{
    width: 160px;
    height: auto;
    margin-left: -25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 底部备案信息 */
/* 搜索页面样式 */
.search-header-bar {
    margin-bottom: 16px;
}
.search-form-inline {
    display: flex;
    gap: 8px;
}
.search-input-inline {
    flex: 1;
    padding: 10px 16px;
    border: 2px solid #eee;
    border-radius: 24px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}
.search-input-inline:focus {
    border-color: #1a1a2e;
}
.search-btn-inline {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}
.search-btn-inline:hover {
    background: #2a2a4e;
    transform: scale(1.05);
}
.search-result-info {
    margin-bottom: 16px;
    font-size: 14px;
    color: #666;
}
.search-result-info strong {
    color: #1a1a2e;
}
.empty-state-search {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    text-align: center;
}
.empty-state-search svg {
    color: #ddd;
    margin-bottom: 24px;
}
.empty-state-search h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 8px;
}
.empty-state-search p {
    font-size: 14px;
    color: #999;
}

.footer-beian {
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 24px;
}
.footer-beian a {
    text-decoration: none;
    color: inherit;
}
.footer-beian a:hover {
    text-decoration: none;
}
.footer-beian p {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}
/* CSS 变量定义 */
:root {
--primary-color: #4e6ef2;
--secondary-color: #ff6a00;
--text-primary: #333;
--text-secondary: #666;
--background: #f5f5f5;
--card-shadow: 0 2px 8px rgba(0,0,0,0.1);
--card-hover-shadow: 0 4px 16px rgba(0,0,0,0.15);
--border-radius: 8px;
}

/* 优化后的瀑布流样式 */
.waterfall {
column-count: 4;
column-gap: 20px;
margin-top: 20px;
}

.waterfall-item {
break-inside: avoid;
margin-bottom: 20px;
background: #fff;
border-radius: var(--border-radius);
box-shadow: var(--card-shadow);
overflow: hidden;
transition: all 0.3s ease;
}

.waterfall-item:hover {
box-shadow: var(--card-hover-shadow);
transform: translateY(-2px);
}

/* 简化的图片容器 */
.img-wrap {
position: relative;
overflow: hidden;
}

.img-wrap img {
width: 100%;
height: auto;
display: block;
transition: transform 0.3s ease;
}

.waterfall-item:hover .img-wrap img {
transform: scale(1.05);
}

/* 优化后的统计信息 */
.waterfall-stats {
position: absolute;
bottom: 10px;
right: 10px;
display: flex;
gap: 8px;
background: rgba(0,0,0,0.6);
padding: 4px 8px;
border-radius: 4px;
}

.stat-item {
display: flex;
align-items: center;
gap: 4px;
color: #fff;
font-size: 12px;
}

/* 提示词详情按钮优化 */
.prompt-btn {
position: absolute;
top: 10px;
right: 10px;
background: rgba(255,255,255,0.9);
border: none;
border-radius: 4px;
padding: 6px 10px;
font-size: 12px;
cursor: pointer;
display: flex;
align-items: center;
gap: 4px;
opacity: 0;
transition: opacity 0.3s ease;
}

.waterfall-item:hover .prompt-btn {
opacity: 1;
}

/* 优化后的标题样式 */
.waterfall-title {
padding: 12px;
margin: 0;
font-size: 15px;
font-weight: 500;
color: var(--text-primary);
line-height: 1.4;
}

.waterfall-title a {
color: var(--text-primary);
text-decoration: none;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}

.waterfall-title a:hover {
color: var(--primary-color);
}

/* 快速筛选标签样式 */
.quick-filter {
display: flex;
gap: 10px;
margin: 20px 0;
flex-wrap: wrap;
}

.filter-btn {
padding: 8px 16px;
border: 1px solid #ddd;
background: #fff;
border-radius: 20px;
cursor: pointer;
font-size: 14px;
transition: all 0.3s ease;
}

.filter-btn:hover {
border-color: var(--primary-color);
color: var(--primary-color);
}

.filter-btn.active {
background: var(--primary-color);
color: #fff;
border-color: var(--primary-color);
}

/* 分类导航优化 */
.category-bar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 0;
border-bottom: 1px solid #eee;
}

.category-left {
display: flex;
gap: 12px;
}

.model-item {
display: flex;
align-items: center;
gap: 6px;
padding: 6px 12px;
border-radius: 6px;
background: #f8f9fa;
text-decoration: none;
color: var(--text-primary);
transition: all 0.3s ease;
}

.model-item:hover {
background: #e9ecef;
transform: translateY(-1px);
}

.model-logo {
width: 24px;
height: 24px;
border-radius: 4px;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 12px;
font-weight: bold;
}

.category-right {
display: flex;
gap: 8px;
}

.tag {
padding: 6px 14px;
border-radius: 16px;
text-decoration: none;
color: var(--text-secondary);
font-size: 14px;
transition: all 0.3s ease;
}

.tag:hover {
background: #f0f0f0;
}

.tag-active {
background: var(--primary-color);
color: #fff;
}

/* 骨架屏样式 */
.skeleton-loading {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
padding: 20px 0;
}

.skeleton-card {
height: 300px;
background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
background-size: 200% 100%;
animation: skeleton-loading 1.5s infinite;
border-radius: var(--border-radius);
}

@keyframes skeleton-loading {
0% { background-position: 200% 0; }
100% { background-position: -200% 0; }
}

/* 分页导航优化 */
.pagination {
display: flex;
justify-content: center;
align-items: center;
gap: 8px;
margin: 30px 0;
}

.page-btn {
min-width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
border: 1px solid #ddd;
background: #fff;
border-radius: 4px;
text-decoration: none;
color: var(--text-primary);
font-size: 14px;
transition: all 0.3s ease;
}

.page-btn:hover:not(.disabled):not(.active) {
border-color: var(--primary-color);
color: var(--primary-color);
}

.page-btn.active {
background: var(--primary-color);
color: #fff;
border-color: var(--primary-color);
}

.page-btn.disabled {
opacity: 0.5;
cursor: not-allowed;
}

.page-dots {
color: var(--text-secondary);
font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
.waterfall {
column-count: 3;
}

.skeleton-loading {
grid-template-columns: repeat(3, 1fr);
}
}

@media (max-width: 768px) {
.waterfall {
column-count: 2;
column-gap: 10px;
}

.waterfall-item {
margin-bottom: 10px;
}

.skeleton-loading {
grid-template-columns: repeat(2, 1fr);
gap: 10px;
}

.quick-filter {
gap: 8px;
}

.filter-btn {
padding: 6px 12px;
font-size: 13px;
}

.category-bar {
flex-direction: column;
gap: 12px;
}

.category-left,
.category-right {
justify-content: center;
}

/* 移动端隐藏一些次要信息 */
.waterfall-stats {
bottom: 8px;
right: 8px;
padding: 3px 6px;
}

.stat-item {
font-size: 11px;
}
}

@media (max-width: 480px) {
.waterfall {
column-count: 1;
}

.skeleton-loading {
grid-template-columns: 1fr;
}

.pagination {
gap: 4px;
}

.page-btn {
min-width: 32px;
height: 32px;
font-size: 13px;
}
}

/* 辅助样式 */
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border-width: 0;
}

/* 页面标题优化 */
.page-title {
font-size: 24px;
font-weight: 600;
color: var(--text-primary);
margin: 20px 0;
text-align: center;
}

/* 侧边栏优化 */
.right-col-detail {
width: 0;
overflow: hidden;
transition: width 0.3s ease;
flex-shrink: 0;
position: sticky;
top: 20px;
align-self: flex-start;
z-index: 1;
}

.right-col-detail.open {
width: 400px;
padding: 20px;
}

/* 主要内容区域 */
.right-col-main {
flex: 1;
min-width: 0;
}

.right-content-flex {
display: flex;
gap: 20px;
align-items: flex-start;
}

@media (max-width: 768px) {
.right-content-flex {
flex-direction: column;
}

.right-col-detail {
position: static;
width: 100%;
}
}
.sidebar-text a {
    text-decoration: none;
    color: #666;
    transition: color 0.2s;
}

.sidebar-text a:hover {
    color: #667eea;
}