* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* 顶部信息栏 */
.top-bar {
    background-color: #f8f8f8;
    border-bottom: 1px solid #e5e5e5;
    font-size: 12px;
    color: #666;
    height: 30px;
    line-height: 30px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: #666;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: #1890ff;
}

.top-bar .divider {
    margin: 0 8px;
    color: #ddd;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
}

.logo img {
    width: 160px;
    height: 60px;
}

.logo span {
    font-size: 24px;
    font-weight: bold;
    color: #1890ff;
}

/* 主导航 */
.main-nav {
    background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
    min-width: 0;
    overflow-x: hidden;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 0;
}

.main-nav .logo {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav .logo span {
    color: #fff;
    font-weight: 600;
}

.nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}

.nav-list li {
    position: relative;
}

.nav-list li a {
    display: block;
    color: rgba(255, 255, 255, 0.95);
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    transition: background-color 0.25s ease, color 0.25s ease;
    text-decoration: none;
}

.nav-list li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.nav-list li.active a {
    background-color: rgba(255, 255, 255, 0.28);
    color: #fff;
    font-weight: 600;
}

/* 热门推荐区 */
.hot-recommend-section {
    background-color: #f5f5f5;
    padding: 15px 0;
    margin: 0;
}

.hot-recommend-wrapper {
    display: flex;
    gap: 0;
    align-items: stretch;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* 左侧热门推荐标签 */
.hot-label {
    width: 55px;
    background: linear-gradient(180deg, #ff9d5c 0%, #ff7830 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
    color: white;
    font-size: 16px;
    font-weight: 600;
    writing-mode: vertical-rl;
    letter-spacing: 6px;
}

/* 右侧内容区域 */
.hot-content-area {
    flex: 1;
    padding: 18px 25px 18px 20px;
    overflow: hidden;
    min-width: 0;
}

/* 应用图标区 */
.app-icon-list {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px 18px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
}

.app-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.app-icon:hover {
    transform: translateY(-3px);
}

.app-icon img {
    width: 77px;
    height: 77px;
    object-fit: cover;
    border-radius: 12px;
}

.app-icon span {
    font-size: 12px;
    color: #333;
    text-align: center;
    line-height: 1.3;
    max-width: 64px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 分类标签区 */
.category-tags-area {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.category-btn {
    background-color: #fff;
    color: #333;
    border: 1px solid #e5e5e5;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.25s, border-color 0.25s, color 0.25s;
    border-radius: 6px;
    max-width: 88px;
    text-align: center;
    flex-shrink: 0;
    text-decoration: none;
}

.category-btn:hover {
    border-color: #1890ff;
    color: #1890ff;
}

.category-btn.active {
    background-color: #1890ff;
    color: #fff;
    border-color: #1890ff;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
    overflow: hidden;
}

.category-tags a {
    padding: 5px 12px;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    color: #666;
    font-size: 12px;
    transition: all 0.3s;
    white-space: nowrap;
    border-radius: 3px;
    text-decoration: none;
    flex-shrink: 0;
}

.category-tags a:hover {
    background-color: #e6f7ff;
    border-color: #1890ff;
    color: #1890ff;
}

/* 主内容区 */
.main-content {
    margin: 20px 0;
}

/* 主内容区三列：以左侧高度为准，三列等高（高度由 JS 按左侧栏实际高度设置） */
.content-wrapper {
    display: flex;
    gap: 15px;
    align-items: stretch;
    min-height: 0;
    /* 高度由 initHomeContentHeight() 按 .left-sidebar 实际高度动态设置 */
}

.left-sidebar {
    width: 330px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.middle-content {
    flex: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.right-sidebar {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-height: 0;
}

/* 左侧栏 - 大图推荐（轮播） */
.featured-game {
    position: relative;
    margin-bottom: 15px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    height: 310px;
    flex-shrink: 0;
}

.featured-game-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.featured-game-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.featured-game-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.featured-game-slide img,
.featured-game img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-game .game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    padding: 20px;
    color: white;
}

.game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    padding: 20px;
    color: white;
}

.game-overlay h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.game-overlay p {
    font-size: 13px;
    color: #ddd;
    margin-bottom: 12px;
}

.download-btn-lg {
    background-color: #1890ff;
    color: white;
    border: none;
    padding: 10px 30px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.download-btn-lg:hover {
    background-color: #40a9ff;
}

.featured-game-prev,
.featured-game-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.featured-game-prev:hover,
.featured-game-next:hover {
    background: rgba(0, 0, 0, 0.6);
}

.featured-game-prev {
    left: 8px;
}

.featured-game-next {
    right: 8px;
}

.featured-game-dots {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}

.featured-game-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.2s;
}

.featured-game-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.featured-game-dot.active {
    background: #fff;
    width: 10px;
    height: 10px;
}

/* 编辑推荐 */
.editor-recommend {
    background-color: #fff;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #1890ff;
}

.editor-header h3 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.more-link {
    color: #1890ff;
    font-size: 13px;
    text-decoration: none;
}

.more-link:hover {
    color: #40a9ff;
}

.editor-apps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px 10px;
    flex: 1;
    align-content: start;
    align-items: stretch;
    min-height: 0;
}

.editor-app {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: transform 0.2s;
    height: 100%;
}

.editor-app:hover {
    transform: translateY(-3px);
}

.editor-app img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 10px;
}

.editor-app span {
    width: 60px;
    font-size: 11px;
    color: #333;
    text-align: center;
    white-space: nowrap;
    /* 防止文本换行 */
    overflow: hidden;
    /* 隐藏溢出的内容 */
    text-overflow: ellipsis;
    /* 显示省略符号来代表被修剪的文本 */
}

/* 中间内容区 - 标签导航 */
.content-tabs {
    display: flex;
    background-color: #fff;
    border-bottom: 3px solid #1890ff;
    margin-bottom: 0;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.content-tab {
    padding: 12px 25px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
}

.content-tab:hover {
    color: #1890ff;
}

.content-tab.active {
    color: #1890ff;
    font-weight: bold;
    border-bottom-color: #1890ff;
}

/* 应用列表（不滚动，内容与左侧高度一致） */
.app-list {
    background-color: #fff;
    padding: 0;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.app-list-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s;
    cursor: pointer;
}

.app-list-item:hover {
    background-color: #f8f8f8;
}

.app-category {
    color: #999;
    font-size: 12px;
    margin-right: 10px;
    min-width: 75px;
    flex-shrink: 0;
}

.app-icon-sm {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 12px;
    flex-shrink: 0;
}

.app-list-item .app-info {
    flex: 1;
    min-width: 0;
}

.app-list-item .app-info h4 {
    font-size: 13px;
    color: #333;
    font-weight: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-date {
    color: #ff5252;
    font-size: 12px;
    min-width: 45px;
    text-align: right;
    flex-shrink: 0;
    margin-left: 10px;
}

/* 右侧边栏：两块均分高度，与左侧等高，避免留白 */
.sidebar-box {
    background-color: #fff;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.sidebar-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    border-bottom: 2px solid #1890ff;
}

.sidebar-box-header h3 {
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

/* 推荐手游列表（不溢出） */
.game-recommend-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.game-recommend-item {
    padding: 8px 10px;
    background-color: #f9f9f9;
    transition: background-color 0.3s;
    cursor: pointer;
}

.game-recommend-item:first-child {
    display: flex;
    gap: 10px;
    padding: 10px;
    background-color: #fff;
}

.game-recommend-item:first-child img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

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

.game-recommend-info h4 {
    font-size: 12px;
    color: #333;
    margin-bottom: 4px;
    font-weight: normal;
    line-height: 1.4;
}

.game-recommend-info p {
    font-size: 11px;
    color: #999;
    margin-bottom: 4px;
}

.game-desc {
    font-size: 11px;
    color: #666;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.game-recommend-item:not(:first-child) h4 {
    font-size: 12px;
    color: #333;
    font-weight: normal;
}

.game-recommend-item:hover {
    background-color: #e6f7ff;
}

/* 热门专题 */
.hot-topics {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.hot-topic-banner {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.hot-topic-banner img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.topic-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    padding: 10px;
    font-size: 14px;
}

.topic-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.topic-links a {
    font-size: 12px;
    color: #666;
    text-decoration: none;
    padding: 4px 0;
    transition: color 0.3s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.topic-links a:hover {
    color: #1890ff;
}

/* 软件分类区 */
.software-categories {
    background-color: #f5f5f5;
    padding: 20px 0;
    margin: 20px 0;
}

.category-tabs-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e5e5;
}

.category-tab-link {
    font-size: 16px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
}

.category-tab-link.active {
    color: #333;
    font-weight: bold;
    font-size: 18px;
}

.category-tab-link:not(.active):hover {
    color: #1890ff;
}

.more-categories {
    margin-left: auto;
    color: #999;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

.more-categories:hover {
    color: #1890ff;
}

.categories-content {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.categories-left {
    flex: 1;
    min-width: 0;
}

.categories-right {
    width: 280px;
    flex-shrink: 0;
}

.categories-row {
    display: grid;
    grid-template-columns: repeat(4, 190px);
    gap: 20px;
    margin-bottom: 30px;
    align-items: stretch;
}

.categories-row:last-child {
    margin-bottom: 0;
}

.category-column {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.category-title {
    font-size: 14px;
    color: #333;
    font-weight: bold;
    margin-bottom: 15px;
    padding-left: 10px;
    position: relative;
}

.category-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
}

.category-title[data-color="orange"]::before {
    background-color: #ff6b35;
}

.category-title[data-color="blue"]::before {
    background-color: #1890ff;
}

.category-title[data-color="green"]::before {
    background-color: #1890ff;
}

.category-title[data-color="blue2"]::before {
    background-color: #40a9ff;
}

.category-title[data-color="purple"]::before {
    background-color: #9c27b0;
}

.category-title[data-color="blue3"]::before {
    background-color: #1890ff;
}

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

.category-app-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background-color: #fafafa;
    transition: all 0.3s;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
}

.category-app-item:hover {
    background-color: #e6f7ff;
    transform: translateX(3px);
}

.category-app-item img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.category-app-item span {
    font-size: 13px;
    color: #333;
    white-space: nowrap;
    /* 防止文本换行 */
    overflow: hidden;
    /* 隐藏溢出的内容 */
    text-overflow: ellipsis;
    /* 显示省略符号来代表被修剪的文本 */
}

/* 排行榜样式 */
.rank-box {
    background-color: #fafafa;
    padding: 15px;
    border-radius: 4px;
}

.rank-box-title {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
    color: #333;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1890ff;
}

.rank-icon {
    display: inline-block;
    width: 18px;
    height: 16px;
    background: linear-gradient(135deg, #1890ff, #40a9ff);
    position: relative;
    border-radius: 2px;
}

.rank-icon::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 2px;
    width: 2px;
    height: 12px;
    background-color: #fff;
    border-radius: 1px;
}

.rank-icon::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 5px;
    width: 2px;
    height: 9px;
    background-color: #fff;
    border-radius: 1px;
}

.rank-icon::before {
    left: 12px;
    top: 7px;
    height: 7px;
}

.rank-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rank-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background-color: #fff;
    transition: all 0.3s;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}

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

/* 仅首页分类右侧排行榜：默认隐藏图片、详情和按钮 */
.categories-right .rank-item .rank-img,
.categories-right .rank-item .rank-info,
.categories-right .rank-item .rank-btn {
    display: none;
}

/* 仅首页分类右侧：默认显示简单名称 */
.categories-right .rank-item .rank-app-name {
    display: block;
    flex: 1;
}

/* 仅首页分类右侧：active 时显示图片、详情和按钮 */
.categories-right .rank-item.active .rank-img,
.categories-right .rank-item.active .rank-info,
.categories-right .rank-item.active .rank-btn {
    display: block;
}

/* 仅首页分类右侧：active 时隐藏简单名称 */
.categories-right .rank-item.active .rank-app-name {
    display: none;
}

/* 仅首页分类右侧：active 时 flex 布局 */
.categories-right .rank-item.active {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #e5e5e5;
    background-color: #e6f7ff;
    padding: 10px;
}

.categories-right .rank-item.active .rank-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.rank-number {
    font-size: 14px;
    font-weight: bold;
    color: #999;
    min-width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.categories-right .rank-item:nth-child(1) .rank-number {
    color: #ff4d4f;
    font-size: 16px;
}

.categories-right .rank-item:nth-child(2) .rank-number {
    color: #ff7a45;
}

.categories-right .rank-item:nth-child(3) .rank-number {
    color: #ffa940;
}

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

.rank-info h4 {
    font-size: 12px;
    color: #333;
    font-weight: normal;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-info p {
    font-size: 11px;
    color: #999;
    white-space: nowrap;
}

.rank-app-name {
    font-size: 13px;
    color: #333;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.rank-btn {
    background-color: #fff;
    color: #1890ff;
    border: 1px solid #d9d9d9;
    padding: 4px 18px;
    cursor: pointer;
    font-size: 12px;
    border-radius: 3px;
    transition: all 0.3s;
    flex-shrink: 0;
}

.rank-btn:hover {
    background-color: #1890ff;
    color: #fff;
    border-color: #1890ff;
}

/* 软件更新区 */
.software-updates {
    background-color: #f5f5f5;
    padding: 20px 0;
    margin: 20px 0;
}

.updates-tabs-nav {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #1890ff;
}

.updates-tab-link {
    font-size: 15px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
}

.updates-tab-link.active {
    color: #1890ff;
    font-weight: bold;
}

.updates-tab-link:not(.active):hover {
    color: #1890ff;
}

.more-updates {
    margin-left: auto;
    color: #999;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

.more-updates:hover {
    color: #1890ff;
}

.updates-content {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.updates-list {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, 550px);
    gap: 12px 30px;
    align-items: stretch;
}

.update-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px dashed #e5e5e5;
    transition: background-color 0.3s;
}

.update-item:hover {
    background-color: #fafafa;
}

.update-tag {
    color: #1890ff;
    font-size: 12px;
    flex-shrink: 0;
    min-width: 56px;
    text-align: center;
}

.separator {
    color: #d9d9d9;
    font-size: 12px;
    flex-shrink: 0;
}

.update-name {
    flex: 1;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    transition: color 0.3s;
}

.update-name:hover {
    color: #1890ff;
}

.update-date {
    color: #999;
    font-size: 12px;
    flex-shrink: 0;
    min-width: 45px;
    text-align: right;
}

/* 首页排行榜区块（三列：游戏排行、软件排行、必备排行） */
.home-rank-section {
    background-color: #f5f5f5;
    padding: 20px 0;
    margin: 20px 0;
    overflow: hidden;
}

.home-rank-section .container {
    min-width: 0;
}

.home-rank-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    overflow: hidden;
}

.home-rank-col {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    min-width: 0;
    overflow: hidden;
}

/* 标题：左侧红色竖条 */
.home-rank-col-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0 0 16px 0;
    padding-left: 12px;
    border-left: 4px solid #1890ff;
    line-height: 1.3;
}

.home-rank-col-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 列表项通用 */
.home-rank-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s;
    min-width: 0;
    overflow: hidden;
    border-radius: 4px;
}

.home-rank-row:hover {
    background-color: #f8f8f8;
}

/* 排名徽章 */
.home-rank-row-num {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    color: #666;
    background-color: #f0f0f0;
    border-radius: 5px;
}

.home-rank-row--top .home-rank-row-num {
    color: #fff;
    background: #1890ff;
}

.home-rank-row:nth-child(2) .home-rank-row-num {
    color: #fff;
    background: #40a9ff;
}

.home-rank-row:nth-child(3) .home-rank-row-num {
    color: #fff;
    background: #1890ff;
}

/* 交互：带 active 的行展示图标/信息/下载，其余只显示序号+名称+大小；鼠标移出后保持当前展开行，直到悬停到另一行 */
.home-rank-row .home-rank-row-name,
.home-rank-row .home-rank-row-size {
    display: none;
}

.home-rank-row .home-rank-row-icon,
.home-rank-row .home-rank-row-info,
.home-rank-row .home-rank-row-dl {
    display: none;
}

/* 当前展开行：显示图标、信息、下载；隐藏名称、大小 */
.home-rank-row.active .home-rank-row-icon {
    display: block;
}

.home-rank-row.active .home-rank-row-info {
    display: block;
}

.home-rank-row.active .home-rank-row-dl {
    display: inline-block;
}

.home-rank-row.active .home-rank-row-name,
.home-rank-row.active .home-rank-row-size {
    display: none;
}

/* 非展开行：显示名称、大小；隐藏图标、信息、下载 */
.home-rank-row:not(.active) .home-rank-row-name,
.home-rank-row:not(.active) .home-rank-row-size {
    display: block;
}

.home-rank-row:not(.active) .home-rank-row-icon,
.home-rank-row:not(.active) .home-rank-row-info,
.home-rank-row:not(.active) .home-rank-row-dl {
    display: none;
}

/* 第一名：图标 + 信息 + 下载 */
.home-rank-row--top {
    padding: 10px 0;
    flex-wrap: wrap;
}

.home-rank-row-icon {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.home-rank-row-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.home-rank-row-info h4 {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin: 0 0 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s;
}

.home-rank-row:hover .home-rank-row-info h4 {
    color: #1890ff;
}

.home-rank-row-info p {
    font-size: 12px;
    color: #999;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-rank-row-dl {
    flex-shrink: 0;
    padding: 6px 14px;
    font-size: 13px;
    color: #555;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    transition: background-color 0.2s, color 0.2s;
}

.home-rank-row:hover .home-rank-row-dl {
    background-color: #e0e0e0;
    color: #333;
}

/* 第2-10名：名称 + 大小（右对齐） */
.home-rank-row-name {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-rank-row:hover .home-rank-row-name {
    color: #1890ff;
}

.home-rank-row-size {
    flex-shrink: 0;
    font-size: 12px;
    color: #999;
    text-align: right;
}

/* ==================== 游戏页排行榜（按图片：前三皇冠+圆图+标题与大小，4-12 绿色方标+单行名，纯静态） ==================== */
.game-rank-sidebar {
    width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
}

.game-rank-box {
    background-color: #fff;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.game-rank-header {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1890ff;
}

.game-rank-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.game-rank-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* 前三名：皇冠徽章 + 圆形图（橙边）+ 标题与大小 */
.game-rank-sidebar .game-rank-row--top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    min-width: 0;
    overflow: hidden;
    border-bottom: 1px solid #f0f0f0;
}

.game-rank-sidebar .game-rank-row--top:last-of-type {
    border-bottom: 1px solid #e8e8e8;
}

.game-rank-crown {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: bold;
    color: #096dd9;
    background: linear-gradient(180deg, #ffd700 0%, #f0c000 100%);
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.game-rank-sidebar .game-rank-row--top .game-rank-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #1890ff;
}

.game-rank-sidebar .game-rank-row--top .game-rank-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.game-rank-sidebar .game-rank-row--top .game-rank-info h4 {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin: 0 0 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-rank-sidebar .game-rank-row--top .game-rank-info p {
    font-size: 12px;
    color: #999;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 第 4–12 名：绿色方标 + 单行名称 */
.game-rank-sidebar .game-rank-row:not(.game-rank-row--top) {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    min-width: 0;
    overflow: hidden;
    border-bottom: 1px solid #f5f5f5;
}

.game-rank-sidebar .game-rank-row:not(.game-rank-row--top):last-child {
    border-bottom: none;
}

.game-rank-sidebar .game-rank-num {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    background-color: #1890ff;
    border-radius: 4px;
}

.game-rank-sidebar .game-rank-name {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 游戏页分类内排行榜（保留原结构，供各分类块使用） */
.game-rank-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    text-decoration: none;
    color: inherit;
    min-width: 0;
    overflow: hidden;
}

.game-rank-row .game-rank-icon {
    display: block;
}

.game-rank-row .game-rank-info {
    display: block;
}

.game-rank-row .game-rank-dl {
    display: inline-block;
}

.game-rank-row .game-rank-name,
.game-rank-row .game-rank-size {
    display: block;
}

.game-rank-num {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    color: #666;
    background-color: #f0f0f0;
    border-radius: 5px;
}

/* 分类内排行榜与右侧栏一致：前三名皇冠+圆形图橙边+标题与大小，第4名起绿色方标+单行名称 */
.game-category-rank-list .game-rank-row--top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    min-width: 0;
    overflow: hidden;
    border-bottom: 1px solid #f0f0f0;
}

.game-category-rank-list .game-rank-row--top:last-of-type {
    border-bottom: 1px solid #e8e8e8;
}

.game-category-rank-list .game-rank-row--top .game-rank-crown {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: bold;
    color: #096dd9;
    background: linear-gradient(180deg, #ffd700 0%, #f0c000 100%);
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.game-category-rank-list .game-rank-row--top .game-rank-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #1890ff;
}

.game-category-rank-list .game-rank-row--top .game-rank-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.game-category-rank-list .game-rank-row--top .game-rank-info h4 {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin: 0 0 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-category-rank-list .game-rank-row--top .game-rank-info p {
    font-size: 12px;
    color: #999;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-category-rank-list .game-rank-row:not(.game-rank-row--top) {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    min-width: 0;
    overflow: hidden;
    border-bottom: 1px solid #f5f5f5;
}

.game-category-rank-list .game-rank-row:not(.game-rank-row--top):last-child {
    border-bottom: none;
}

.game-category-rank-list .game-rank-num {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    background-color: #1890ff;
    border-radius: 4px;
}

.game-category-rank-list .game-rank-name {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 排行榜图标统一尺寸：与右侧栏、分类内排行榜一致 */
.game-rank-icon {
    width: 52px;
    height: 52px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    flex-shrink: 0;
}

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

.game-rank-info h4 {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin: 0 0 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-rank-info p {
    font-size: 12px;
    color: #999;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-rank-dl {
    flex-shrink: 0;
    padding: 6px 14px;
    font-size: 13px;
    color: #555;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: inline-block;
}

.game-rank-name {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 游戏页分类内排行榜 */
.game-category-rank {
    width: 280px;
    flex-shrink: 0;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
}

.game-category-rank-header {
    background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
    padding: 12px 15px;
}

.game-category-rank-title {
    font-size: 15px;
    color: #fff;
    margin: 0;
    font-weight: bold;
}

.game-category-rank-list {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.game-category-rank-list .game-rank-row {
    padding: 6px 0;
}

.game-category-rank-list .game-rank-icon {
    width: 52px;
    height: 52px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

.game-category-rank-list .game-rank-info h4 {
    font-size: 13px;
}

.game-category-rank-list .game-rank-info p {
    font-size: 11px;
}

/* 网站地图（居中、标题左侧蓝条、浅灰圆角链接盒、多列链接） */
.sitemap-page {
    background: #fff;
    padding: 28px 0 56px;
    min-height: 60vh;
}

.sitemap-page .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.sitemap-header {
    text-align: center;
    padding: 0 0 32px;
    margin-bottom: 8px;
}

.sitemap-page-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px;
    letter-spacing: 0.5px;
}

.sitemap-page-desc {
    font-size: 14px;
    color: #999;
    margin: 0;
    line-height: 1.6;
}

.sitemap-section {
    margin-bottom: 28px;
}

.sitemap-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: bold;
    color: #333;
    margin: 0 0 14px;
    line-height: 1.4;
}

.sitemap-section-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 20px;
    background: #1890ff;
    border-radius: 2px;
    flex-shrink: 0;
}

.sitemap-box {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 16px 20px;
}

.sitemap-links {
    display: grid;
    gap: 10px 24px;
}

.sitemap-links-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.sitemap-links-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.sitemap-link {
    font-size: 14px;
    color: #333;
    text-decoration: none;
    display: block;
    padding: 2px 0;
}

.sitemap-link:hover {
    color: #1890ff;
}

@media (max-width: 768px) {
    .sitemap-page {
        padding: 20px 0 40px;
    }

    .sitemap-page-title {
        font-size: 24px;
    }

    .sitemap-links-cols-2,
    .sitemap-links-cols-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px 16px;
    }
}

@media (max-width: 480px) {

    .sitemap-links-cols-2,
    .sitemap-links-cols-3 {
        grid-template-columns: 1fr;
    }

    .sitemap-box {
        padding: 14px 16px;
    }
}

/* 关于我们（居中固定宽度、无圆角无阴影、标题蓝线、小节蓝字、列表蓝点） */
.about-main {
    background: #fff;
    padding: 24px 0 56px;
    min-height: 60vh;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
}

.about-breadcrumb {
    font-size: 14px;
    color: #666;
    margin-bottom: 24px;
}

.about-breadcrumb a {
    color: #666;
    text-decoration: none;
}

.about-breadcrumb a:hover {
    color: #1890ff;
}

.about-article {
    margin: 0;
}

.about-title {
    font-size: 26px;
    font-weight: bold;
    color: #333;
    margin: 0 0 24px;
    padding-bottom: 14px;
    border-bottom: 3px solid #1890ff;
    line-height: 1.3;
}

/* 正文内标题为蓝色、无下划线 */
.about-text h2,
.about-text h3,
.about-text h4 {
    font-size: 18px;
    font-weight: bold;
    color: #1890ff;
    margin: 28px 0 14px;
}

.about-text h2:first-child,
.about-text h3:first-child,
.about-text h4:first-child {
    margin-top: 0;
}

.about-text p {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin: 0 0 16px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* 列表：蓝色圆点、深灰文字、适当行距 */
.about-text ul {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.about-text ul li {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 10px;
    padding-left: 22px;
    position: relative;
}

.about-text ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1890ff;
}

.about-text ol {
    margin: 0 0 20px;
    padding-left: 24px;
}

.about-text ol li {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 8px;
}

.about-text strong {
    color: #333;
}

@media (max-width: 768px) {
    .about-main {
        padding: 16px 0 40px;
    }

    .about-container {
        padding: 0 15px;
    }

    .about-title {
        font-size: 22px;
    }

    .about-text h2,
    .about-text h3,
    .about-text h4 {
        font-size: 16px;
    }

    .about-text p,
    .about-text ul li {
        font-size: 14px;
    }
}

/* 页脚 */
.footer {
    background-color: #2c2c2c;
    color: #999;
    padding: 20px 0;
    margin-top: 40px;
}

.footer-links {
    text-align: center;
    font-size: 14px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #1890ff;
}

.footer-sep {
    margin: 0 12px;
    color: #666;
}

.footer-icp {
    text-align: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #444;
    font-size: 12px;
}

.footer-icp a {
    color: #777;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-icp a:hover {
    color: #1890ff;
}

/* 响应式 */
@media (max-width: 1200px) {
    .container {
        width: 100%;
        padding: 0 20px;
    }

    .content-wrapper {
        flex-direction: column;
        height: auto;
    }

    .left-sidebar,
    .middle-content,
    .right-sidebar {
        width: 100%;
    }

    .right-sidebar {
        gap: 15px;
    }

    .home-rank-cols {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .home-rank-cols {
        grid-template-columns: 1fr;
    }

    .hot-recommend-wrapper {
        flex-direction: column;
    }

    .hot-label {
        width: 100%;
        writing-mode: horizontal-tb;
        padding: 12px;
        letter-spacing: 3px;
    }

    .hot-content-area {
        padding: 15px 20px;
    }

    .app-icon-list {
        justify-content: flex-start;
        gap: 15px;
        flex-wrap: wrap;
    }

    .app-icon img {
        width: 60px;
        height: 60px;
        border-radius: 10px;
    }

    .category-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .category-btn {
        width: 100%;
        text-align: center;
        border-radius: 8px;
    }

    .content-tabs {
        overflow-x: auto;
    }

    .content-tab {
        padding: 12px 20px;
        font-size: 14px;
    }

    .app-list-item {
        flex-wrap: wrap;
    }

    .app-category {
        min-width: 70px;
        font-size: 11px;
    }

    .editor-apps {
        grid-template-columns: repeat(4, 1fr);
    }

    .topic-links {
        grid-template-columns: 1fr;
    }

    .featured-game {
        height: 250px;
    }

    .featured-game img {
        height: 100%;
    }

    .categories-content {
        flex-direction: column;
    }

    .categories-left {
        width: 100%;
    }

    .categories-right {
        width: 100%;
    }

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

    .updates-content {
        flex-direction: column;
    }

    .updates-list {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .updates-tabs-nav {
        gap: 15px;
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    .app-icon-list {
        gap: 12px;
        justify-content: center;
    }

    .app-icon img {
        width: 55px;
        height: 55px;
        border-radius: 8px;
    }

    .app-icon span {
        font-size: 11px;
        max-width: 55px;
    }

    .category-tags a {
        font-size: 11px;
        padding: 5px 10px;
    }

    .category-btn {
        padding: 5px 15px;
        font-size: 12px;
    }

    .content-tab {
        padding: 10px 15px;
        font-size: 13px;
    }

    .app-list-item {
        padding: 10px;
    }

    .app-category {
        display: none;
    }

    .app-icon-sm {
        width: 35px;
        height: 35px;
    }

    .editor-apps {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .editor-app img {
        width: 50px;
        height: 50px;
    }

    .category-tabs-nav {
        gap: 15px;
        overflow-x: auto;
    }

    .category-tab-link {
        font-size: 14px;
        white-space: nowrap;
    }

    .category-tab-link.active {
        font-size: 16px;
    }

    .categories-content {
        flex-direction: column;
    }

    .categories-left,
    .categories-right {
        width: 100%;
    }

    .categories-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .category-app-item {
        padding: 6px;
    }

    .category-app-item img {
        width: 28px;
        height: 28px;
    }

    .category-app-item span {
        font-size: 12px;
    }

    .categories-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .categories-content {
        padding: 15px;
    }

    .category-tabs-nav {
        gap: 10px;
        padding-bottom: 10px;
    }

    .category-tab-link {
        font-size: 13px;
    }

    .category-tab-link.active {
        font-size: 15px;
    }

    .categories-content {
        padding: 15px;
    }

    .category-title {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .category-apps {
        gap: 10px;
    }

    .categories-right .rank-item.active {
        flex-wrap: wrap;
    }

    .categories-right .rank-item.active .rank-info {
        flex: 1 1 100%;
        margin-top: 8px;
    }

    .categories-right .rank-item.active .rank-btn {
        margin-top: 8px;
    }

    .updates-content {
        flex-direction: column;
        padding: 12px;
    }

    .updates-list {
        grid-template-columns: 1fr;
    }

    .updates-tabs-nav {
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .updates-tab-link {
        font-size: 12px;
    }

    .updates-tab-link.active {
        font-size: 13px;
    }

    .update-item {
        padding: 8px 0;
        gap: 6px;
    }

    .update-tag {
        min-width: 48px;
        font-size: 11px;
    }

    .update-name {
        font-size: 12px;
    }

    .update-date {
        font-size: 11px;
        min-width: 40px;
    }
}

/* ==================== 排行榜页面样式 ==================== */
.rank-page {
    background-color: #f5f5f5;
    padding: 20px 0 40px;
    min-width: 0;
    overflow-x: hidden;
}

.rank-page .container {
    min-width: 0;
    overflow-x: hidden;
}

/* 排行榜标签导航 */
.rank-tabs {
    background-color: #fff;
    padding: 0;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-wrap: wrap;
    min-width: 0;
}

.rank-tabs a {
    flex: 1;
    min-width: 120px;
    max-width: 292.5px;
    text-decoration: none;
    color: inherit;
    border-right: 1px solid #f0f0f0;
}

.rank-tabs a:last-child {
    border-right: none;
}

.rank-tabs a:hover .rank-tab-btn {
    background-color: #f9f9f9;
    color: #1890ff;
}

/* 未选中：白底 */
.rank-tabs a.rank-tab-link .rank-tab-btn {
    background-color: #fff;
    color: #666;
}

.rank-tabs a.rank-tab-link:hover .rank-tab-btn {
    background-color: #f9f9f9;
    color: #1890ff;
}

/* 选中：蓝底 */
.rank-tabs a.rank-tab-link.active .rank-tab-btn,
.rank-tabs a.active .rank-tab-btn {
    background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%) !important;
    color: #fff !important;
    font-weight: bold;
}

.rank-tab-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background-color: #fff;
    border: none;
    padding: 18px 30px;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.rank-tab-btn:last-child {
    border-right: none;
}

.rank-tab-btn:hover {
    background-color: #f9f9f9;
    color: #1890ff;
}

.rank-tab-btn.active {
    background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%) !important;
    color: #fff !important;
    font-weight: bold;
}

/* 排行榜列表容器 */
.rank-list-container {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    min-width: 0;
    overflow: hidden;
}

/* 排行榜列表项 */
.rank-list-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s;
    gap: 20px;
    min-width: 0;
    overflow: hidden;
}

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

.rank-list-item:hover {
    background-color: #fff8f0;
    border-radius: 8px;
}

/* 排行序号 */
.rank-number {
    font-size: 24px;
    font-weight: bold;
    color: #999;
    min-width: 30px;
    text-align: center;
    flex-shrink: 0;
}

.rank-number.rank-top {
    color: #fff;
    background: linear-gradient(135deg, #ff4444 0%, #ff6666 100%);
    border-radius: 8px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.3);
}

.rank-list-item:nth-child(1) .rank-number.rank-top {
    background: linear-gradient(135deg, #ff4444 0%, #ff6666 100%);
}

.rank-list-item:nth-child(2) .rank-number.rank-top {
    background: linear-gradient(135deg, #ff7744 0%, #ff9966 100%);
}

.rank-list-item:nth-child(3) .rank-number.rank-top {
    background: linear-gradient(135deg, #ffaa44 0%, #ffcc66 100%);
}

/* 排行图标 */
.rank-icon {
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

/* 排行榜页专用：排行图标加大（仅 ph 页面使用 ph-rank-icon，不影响其他页面） */
.rank-list-container .ph-rank-icon {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.rank-list-container .ph-rank-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 排行内容 */
.rank-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rank-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-list-item:hover .rank-title {
    color: #1890ff;
}

.rank-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: #999;
    flex-wrap: wrap;
    min-width: 0;
    overflow: hidden;
}

.rank-category {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%);
    color: white;
    border-radius: 4px;
    font-size: 12px;
}

.rank-size,
.rank-date {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rank-size::before {
    content: "📦";
}

.rank-date::before {
    content: "🕒";
}

/* 排行下载按钮 */
.rank-download-btn {
    padding: 10px 30px;
    background: linear-gradient(135deg, #1890ff 0%, #0066cc 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.3);
}

.rank-download-btn:hover {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.4);
}

.rank-download-btn:active {
    transform: translateY(0);
}

/* 响应式设计 - 排行榜页面 */
@media (max-width: 1200px) {
    .rank-list-item {
        padding: 15px;
        gap: 15px;
    }

    .rank-icon {
        width: 70px;
        height: 70px;
    }

    .rank-list-container .ph-rank-icon {
        width: 90px;
        height: 90px;
    }

    .rank-title {
        font-size: 16px;
    }
}

@media (max-width: 992px) {
    .rank-tabs {
        flex-direction: column;
    }

    .rank-tab-btn {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
    }

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

    .rank-list-item {
        flex-wrap: wrap;
    }

    .rank-download-btn {
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .rank-page {
        padding: 15px 0 30px;
    }

    .rank-tabs {
        margin-bottom: 15px;
    }

    .rank-tab-btn {
        padding: 14px 20px;
        font-size: 14px;
    }

    .rank-list-container {
        padding: 15px;
    }

    .rank-list-item {
        padding: 12px;
        gap: 12px;
    }

    .rank-number {
        font-size: 20px;
        min-width: 38px;
    }

    .rank-number.rank-top {
        width: 38px;
        height: 38px;
    }

    .rank-icon {
        width: 60px;
        height: 60px;
    }

    .rank-list-container .ph-rank-icon {
        width: 70px;
        height: 70px;
    }

    .rank-title {
        font-size: 15px;
    }

    .rank-desc {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }

    .rank-meta {
        gap: 15px;
        font-size: 12px;
    }

    .rank-download-btn {
        padding: 8px 20px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .rank-list-item {
        padding: 10px;
        gap: 10px;
    }

    .rank-number {
        font-size: 18px;
        min-width: 32px;
    }

    .rank-number.rank-top {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .rank-icon {
        width: 50px;
        height: 50px;
        border-radius: 8px;
    }

    .rank-list-container .ph-rank-icon {
        width: 60px;
        height: 60px;
        border-radius: 10px;
    }

    .rank-title {
        font-size: 14px;
    }

    .rank-desc {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }

    .rank-meta {
        gap: 10px;
        font-size: 11px;
    }

    .rank-category {
        padding: 3px 10px;
        font-size: 11px;
    }
}
