/* 排行榜页面样式 */
.rank-page {
    background-color: #f8fafc;
    overflow-x: hidden; /* 防止横向滚动 */
}

/* 移除筛选器相关样式 */

/* 排行榜列表 */
.rank-list {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: 100%;
}

.rank-item {
    display: flex;
    align-items: center;
    padding: 15px 15px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

.rank-item:hover {
    background-color: #f9f9f9;
}

.rank-item:last-child {
    border-bottom: none;
}

/* 排名数字 */
.rank-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    margin-right: 12px;
    flex-shrink: 0;
}

/* 前三名特殊样式 */
.rank-item.top-item {
    background-color: #fff7e6;
    border-bottom: 2px solid #ffe0b2;
}

.rank-item.top-item .rank-number.first {
    background-color: #ffd700;
    color: #fff;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.rank-item.top-item .rank-number.second {
    background-color: #c0c0c0;
    color: #fff;
    box-shadow: 0 0 8px rgba(192, 192, 192, 0.5);
}

.rank-item.top-item .rank-number.third {
    background-color: #cd7f32;
    color: #fff;
    box-shadow: 0 0 8px rgba(205, 127, 50, 0.5);
}

/* 排行榜内容 */
.rank-content {
    flex: 1;
    display: flex;
    align-items: center;
    min-width: 0;
}

.rank-icon-container {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.rank-app-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rank-info {
    flex: 1;
    min-width: 0;
}

.rank-app-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-app-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.category {
    display: inline-block;
    padding: 2px 6px;
    background-color: #f3e8ff;
    color: #8b5cf6;
    border-radius: 8px;
    font-size: 12px;
}

.downloads {
    font-size: 13px;
    color: #666;
}

.rank-app-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.rank-action {
    margin-left: 10px;
    flex-shrink: 0;
}

.rank-download-btn {
    display: inline-block;
    padding: 6px 16px;
    background-color: #8b5cf6;
    color: #fff;
    border-radius: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.rank-download-btn:hover {
    background-color: #7c3aed;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(139, 92, 246, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .rank-item {
        padding: 12px 10px;
        flex-direction: row;
        align-items: center;
    }
    
    .rank-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
        margin-right: 10px;
    }
    
    .rank-content {
        flex-direction: row;
        align-items: center;
    }
    
    .rank-icon-container {
        width: 48px;
        height: 48px;
        margin-right: 10px;
    }
    
    .rank-app-name {
        font-size: 15px;
    }
    
    .rank-action {
        margin-left: 8px;
    }
    
    .rank-download-btn {
        padding: 5px 14px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .section-header {
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 18px !important;
    }
    
    .rank-list {
        border-radius: 8px;
        margin: 0 10px;
    }
    
    .rank-item {
        padding: 10px;
    }
    
    .rank-number {
        width: 28px;
        height: 28px;
        font-size: 12px;
        margin-right: 8px;
    }
    
    .rank-icon-container {
        width: 44px;
        height: 44px;
        margin-right: 8px;
    }
    
    .rank-app-name {
        font-size: 14px;
    }
    
    .rank-app-meta {
        gap: 8px;
    }
    
    .category {
        padding: 1px 5px;
        font-size: 11px;
    }
    
    .downloads {
        font-size: 12px;
    }
    
    .rank-app-desc {
        font-size: 12px;
        display: none; /* 在移动端隐藏描述，节省空间 */
    }
    
    .rank-download-btn {
        padding: 4px 12px;
        font-size: 12px;
        border-radius: 14px;
    }
}

/* 确保所有元素都不会超出容器 */
* {
    box-sizing: border-box;
}

.container {
    padding: 0 15px;
}

.section {
    margin-bottom: 20px;
}

.section-header {
    padding: 15px 0;
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin: 0;
}`,"rewrite":false}}}