/* ============ 页面头部 ============ */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.page-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    position: relative;
    padding-left: 12px;
}

.page-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--primary);
    border-radius: 2px;
}

.category-tabs {
    display: flex;
    gap: 8px;
    align-items: center;
}

.tab-item {
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 6px 12px;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.tab-item:hover {
    color: var(--primary);
    background: var(--primary-lighter);
}

.tab-item.active {
    color: var(--primary);
    background: var(--primary-lighter);
    font-weight: 500;
}

.tab-divider {
    color: var(--border);
    margin: 0 4px;
}

/* ============ 主内容区布局 ============ */
.main-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px;
}

/* ============ 左侧分类列表 ============ */
.category-sections {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.category-section {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--primary-lighter);
    border-bottom: 1px solid var(--border);
}

.category-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.category-more {
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s ease;
}

.category-more:hover {
    color: var(--primary);
}

.app-list {
    padding: 8px 0;
}

.app-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid var(--bg-alt);
    transition: background 0.2s ease;
    cursor: pointer;
}

.app-item:last-child {
    border-bottom: none;
}

.app-item:hover {
    background: var(--bg);
}

.app-item:hover .app-title {
    color: var(--primary);
}

/* 缩略图/图标 */
.app-thumbnail {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-lighter);
}


.app-thumbnail .file-icon {
    width: 28px;
    height: 28px;
    color: var(--primary-light);
}

/* 文件类型图标颜色 */
.app-thumbnail.icon-zip { background: #fff3e0; }
.app-thumbnail.icon-zip .file-icon { color: #e67e22; }

.app-thumbnail.icon-image { background: #e8f5e9; }
.app-thumbnail.icon-image .file-icon { color: #27ae60; }

.app-thumbnail.icon-video { background: #fce4ec; }
.app-thumbnail.icon-video .file-icon { color: #c0392b; }

.app-thumbnail.icon-audio { background: #e3f2fd; }
.app-thumbnail.icon-audio .file-icon { color: #2980b9; }

.app-thumbnail.icon-app { background: #f3e5f5; }
.app-thumbnail.icon-app .file-icon { color: #8e24aa; }

.app-thumbnail.icon-pdf { background: #ffebee; }
.app-thumbnail.icon-pdf .file-icon { color: #e53935; }

.app-thumbnail.icon-word { background: #e3f2fd; }
.app-thumbnail.icon-word .file-icon { color: #1565c0; }

.app-thumbnail.icon-excel { background: #e8f5e9; }
.app-thumbnail.icon-excel .file-icon { color: #2e7d32; }

.app-thumbnail.icon-ppt { background: #fff3e0; }
.app-thumbnail.icon-ppt .file-icon { color: #ef6c00; }

.app-thumbnail.icon-chm { background: #e0f2f1; }
.app-thumbnail.icon-chm .file-icon { color: #00695c; }

.app-thumbnail.icon-help { background: #f5f5f5; }
.app-thumbnail.icon-help .file-icon { color: #616161; }

.app-thumbnail.icon-other { background: #eceff1; }
.app-thumbnail.icon-other .file-icon { color: #78909c; }

.app-info {
    flex: 1;
    min-width: 0;
}

.app-title {
    font-size: 14px;
    color: var(--text);
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.app-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: 12px;
    white-space: nowrap;
}

/* ============ 右侧排行 ============ */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ranking-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.ranking-header {
    padding: 16px 20px;
    background: var(--primary-lighter);
    border-bottom: 1px solid var(--border);
}

.ranking-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.ranking-list {
    padding: 12px 0;
}

.ranking-item {
    display: flex;
    padding: 12px 20px;
    border-bottom: 1px solid var(--bg-alt);
    cursor: pointer;
    transition: background 0.2s ease;
}

.ranking-item:last-child {
    border-bottom: none;
}

.ranking-item:hover {
    background: var(--bg);
}

.ranking-item:hover .ranking-item-title {
    color: var(--primary);
}

.ranking-number {
    width: 24px;
    height: 24px;
    min-width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-right: 12px;
    border-radius: 4px;
}

.ranking-number.top {
    background: var(--primary);
    color: #fff;
}

.ranking-item-content {
    flex: 1;
}

.ranking-item-title {
    font-size: 13px;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.ranking-item-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}





/* ============ 列表页 ============ */
/* ============ 两栏布局 ============ */
.app-layout {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 20px;
    align-items: start;
}

/* ============ 应用列表(左) ============ */
.app-list-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.app-list {
    list-style: none;
}

.app-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s ease;
    cursor: pointer;
}

.app-item:last-child {
    border-bottom: none;
}

.app-item:hover {
    background: var(--primary-lighter);
}

.app-item:hover .app-item-title {
    color: var(--primary);
}

/* 缩略图/图标 */
.app-thumbnail {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-lighter);
}

.app-thumbnail .file-icon {
    width: 22px;
    height: 22px;
    color: var(--primary-light);
}

/* 文件类型图标颜色 */
.app-thumbnail.icon-zip { background: #fff3e0; }
.app-thumbnail.icon-zip .file-icon { color: #e67e22; }

.app-thumbnail.icon-image { background: #e8f5e9; }
.app-thumbnail.icon-image .file-icon { color: #27ae60; }

.app-thumbnail.icon-video { background: #fce4ec; }
.app-thumbnail.icon-video .file-icon { color: #c0392b; }

.app-thumbnail.icon-audio { background: #e3f2fd; }
.app-thumbnail.icon-audio .file-icon { color: #2980b9; }

.app-thumbnail.icon-app { background: #f3e5f5; }
.app-thumbnail.icon-app .file-icon { color: #8e24aa; }

.app-thumbnail.icon-pdf { background: #ffebee; }
.app-thumbnail.icon-pdf .file-icon { color: #e53935; }

.app-thumbnail.icon-word { background: #e3f2fd; }
.app-thumbnail.icon-word .file-icon { color: #1565c0; }

.app-thumbnail.icon-excel { background: #e8f5e9; }
.app-thumbnail.icon-excel .file-icon { color: #2e7d32; }

.app-thumbnail.icon-ppt { background: #fff3e0; }
.app-thumbnail.icon-ppt .file-icon { color: #ef6c00; }

.app-thumbnail.icon-chm { background: #e0f2f1; }
.app-thumbnail.icon-chm .file-icon { color: #00695c; }

.app-thumbnail.icon-help { background: #f5f5f5; }
.app-thumbnail.icon-help .file-icon { color: #616161; }

.app-thumbnail.icon-other { background: #eceff1; }
.app-thumbnail.icon-other .file-icon { color: #78909c; }

.app-item-title {
    flex: 1;
    font-size: 15px;
    color: var(--text);
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.app-item-date {
    font-size: 13px;
    color: var(--text-muted);
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

/* ============ 分类侧栏(右) ============ */
.category-sidebar {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 8px;
    position: sticky;
    top: 84px;
}

.category-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px 12px;
    font-size: 15px;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    text-align: center;
    font-weight: 500;
    margin-bottom: 12px;
}

.category-item:hover {
    color: var(--primary);
    background: var(--primary-lighter);
}

.category-item.active {
    color: var(--text);
    background: var(--primary-lighter);
    font-weight: 600;
}

.category-count {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
}

.category-item.active .category-count {
    color: var(--primary-light);
}

/* ============ 分页 ============ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
}

.page-btn {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0 12px;
}

.page-btn:hover {
    border-color: var(--primary-light);
    color: var(--primary);
    background: var(--primary-lighter);
}

.page-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.page-btn.disabled {
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.5;
}

.page-btn svg {
    width: 16px;
    height: 16px;
}

.page-ellipsis {
    color: var(--text-muted);
    font-size: 14px;
}
/* ============ 详情页 ============ */
/* ============ 解决方案 Banner ============ */
.solution-banner {
    background: linear-gradient(135deg, #1a3a6b 0%, #00317d 50%, #1a5ca0 100%);
    border-radius: var(--radius-lg);
    padding: 40px 48px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.solution-banner::before {
    content: '';
    position: absolute;
    right: -40px;
    top: -40px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.solution-banner::after {
    content: '';
    position: absolute;
    right: 60px;
    bottom: -60px;
    width: 160px;
    height: 160px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 50%;
}

.banner-industry {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.banner-industry svg {
    width: 14px;
    height: 14px;
}

.banner-title {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.4;
}

.banner-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    max-width: 720px;
    margin-bottom: 20px;
}

.banner-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.banner-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}

.banner-meta-item svg {
    width: 14px;
    height: 14px;
}

.banner-actions {
    position: absolute;
    right: 48px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.banner-btn-primary {
    background: #ffffff;
    color: var(--primary);
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.banner-btn-primary:hover {
    background: var(--primary-lighter);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.banner-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 9px 24px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.banner-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ============ 主内容区 ============ */
.main-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
}

/* ============ 内容卡片 ============ */
.content-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

/* ============ 方案概述 ============ */
.overview-content {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.9;
}

.overview-content p {
    margin-bottom: 14px;
}

.overview-content p:last-child {
    margin-bottom: 0;
}

/* ============ 方案架构 ============ */
.architecture-flow {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    padding: 8px 0;
}

.arch-step {
    flex: 1;
    min-width: 120px;
    text-align: center;
    position: relative;
}

.arch-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 10px;
    background: var(--primary-lighter);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arch-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.arch-step:nth-child(2) .arch-icon {
    background: #e8f4f8;
    border-color: #2980b9;
}

.arch-step:nth-child(2) .arch-icon svg {
    color: #2980b9;
}

.arch-step:nth-child(3) .arch-icon {
    background: #eaf5ea;
    border-color: #27ae60;
}

.arch-step:nth-child(3) .arch-icon svg {
    color: #27ae60;
}

.arch-step:nth-child(4) .arch-icon {
    background: #fff3e0;
    border-color: #e67e22;
}

.arch-step:nth-child(4) .arch-icon svg {
    color: #e67e22;
}

.arch-step:nth-child(5) .arch-icon {
    background: #fce4ec;
    border-color: #c0392b;
}

.arch-step:nth-child(5) .arch-icon svg {
    color: #c0392b;
}

.arch-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.arch-desc {
    font-size: 11px;
    color: var(--text-muted);
}

.arch-arrow {
    width: 24px;
    flex-shrink: 0;
    color: var(--border);
}

/* ============ 核心优势 ============ */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.advantage-item {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.advantage-item:hover {
    border-color: var(--primary-light);
    background: var(--primary-lighter);
}

.advantage-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-item:nth-child(1) .advantage-icon { background: #e8f4f8; }
.advantage-item:nth-child(2) .advantage-icon { background: #eaf5ea; }
.advantage-item:nth-child(3) .advantage-icon { background: #fff3e0; }
.advantage-item:nth-child(4) .advantage-icon { background: #fce4ec; }

.advantage-icon svg {
    width: 22px;
    height: 22px;
}

.advantage-item:nth-child(1) .advantage-icon svg { color: #2980b9; }
.advantage-item:nth-child(2) .advantage-icon svg { color: #27ae60; }
.advantage-item:nth-child(3) .advantage-icon svg { color: #e67e22; }
.advantage-item:nth-child(4) .advantage-icon svg { color: #c0392b; }

.advantage-text h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.advantage-text p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============ 适用场景 ============ */
.scenario-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.scenario-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.2s ease;
    cursor: pointer;
}

.scenario-item:hover {
    border-color: var(--primary-light);
    background: var(--primary-lighter);
}

.scenario-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: var(--primary-lighter);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scenario-icon svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.scenario-text h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.scenario-text p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ============ 推荐仪器 ============ */
.instrument-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.instrument-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.25s ease;
    cursor: pointer;
}

.instrument-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.instrument-image {
    width: 100%;
    height: 130px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.instrument-image img{
    height: inherit;
    margin: 0 auto;
}
.instrument-image svg {
    width: 56px;
    height: 56px;
    color: #2980b9;
    opacity: 0.6;
}

.instrument-info {
    padding: 14px;
}

.instrument-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.instrument-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============ 相关案例 ============ */
.case-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.case-item {
    display: flex;
    gap: 14px;
    padding: 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
}

.case-item:hover {
    border-color: var(--primary-light);
    background: var(--primary-lighter);
}

.case-thumb {
    width: 90px;
    height: 64px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #e8f4f8, #c5e3ed);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-thumb svg {
    width: 28px;
    height: 28px;
    color: #2980b9;
    opacity: 0.6;
}

.case-content {
    flex: 1;
    min-width: 0;
}

.case-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.case-meta {
    font-size: 11px;
    color: var(--text-muted);
}

/* ============ 侧边栏 ============ */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
}

.sidebar-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

/* 适用对象 */
.target-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.target-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 8px 12px;
    background: var(--bg);
    border-radius: var(--radius);
}

.target-item svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
    flex-shrink: 0;
}

/* 方案资料下载 */
.download-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
}

.download-item:hover {
    border-color: var(--primary);
    background: var(--primary-lighter);
}

.download-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-lighter);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.download-icon svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.download-info {
    flex: 1;
    min-width: 0;
}

.download-name {
    font-size: 13px;
    color: var(--text);
    font-weight: 500;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.download-meta {
    font-size: 11px;
    color: var(--text-muted);
}

/* 相关方案 */
.related-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-item {
    display: flex;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.related-item:hover .related-title {
    color: var(--primary);
}

.related-thumb {
    width: 72px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-item:nth-child(1) .related-thumb { background: linear-gradient(135deg, #eaf5ea, #c8e6c9); }
.related-item:nth-child(2) .related-thumb { background: linear-gradient(135deg, #fff3e0, #ffe0b2); }
.related-item:nth-child(3) .related-thumb { background: linear-gradient(135deg, #fce4ec, #f8bbd0); }

.related-thumb svg {
    width: 24px;
    height: 24px;
}

.related-item:nth-child(1) .related-thumb svg { color: #27ae60; }
.related-item:nth-child(2) .related-thumb svg { color: #e67e22; }
.related-item:nth-child(3) .related-thumb svg { color: #c0392b; }

.related-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.related-title {
    font-size: 13px;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 4px;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-meta {
    font-size: 11px;
    color: var(--text-muted);
}
/* ============ 响应式 ============ */
@media (max-width: 1024px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
    .sidebar {
        flex-direction: row;
        gap: 20px;
    }
    .ranking-card {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .meta-links { gap: 6px 12px; }
    .page-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .category-tabs { flex-wrap: wrap; }
    .sidebar { flex-direction: column; }
    .app-thumbnail { width: 40px; height: 40px; min-width: 40px; }
    .app-thumbnail .file-icon { width: 22px; height: 22px; }
}