body { background-color: #f8f9fa; font-size:14px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
.main-container { max-width: 1200px; margin: 0 auto; }
.logo { max-width: 50px; }
.carousel-item img { width: 100%; height: 370px; object-fit: cover; border-radius: 8px; }
.tab-pane-content { background-color: #ffffff; border-radius: 0 0 8px 8px; padding: 15px; box-shadow: 0 0 10px rgba(0,0,0,0.05); }
.nav-pills .nav-link { background-color: #fff; border-bottom: 1px solid #f0f0f0; }
.list-group-item {
    border: none;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    font-size: 15px;
    color: #333;
}
.list-group-item:last-child { border-bottom: none; }
.list-group-item span.time {
    color: #999;
    font-size: 12px;
}
.card-img-top { height: 120px; object-fit: cover; }
.section-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    border-left: 4px solid #0d6efd;
    padding-left: 10px;
}

/* part2 */
.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.card-header-custom {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 20px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.card-header-custom h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    color: #333;
}
.card-header-custom h3 i {
    margin-right: 8px;
    color: #ffc107; /* 黄色图标 */
}
.more-link {
    font-size: 14px;
    color: #999;
    text-decoration: none;
}
/* .nav-tabs-custom {
    border-bottom: none;
    gap: 25px;
}
.nav-tabs-custom .nav-link {
    border: none;
    color: #666;
    font-size: 16px;
    padding: 10px 0;
    border-radius: 0;
    border-bottom: 2px solid transparent;
    background: none;
}
.nav-tabs-custom .nav-link:hover {
    color: #f59f00;
}
.nav-tabs-custom .nav-link.active {
    background: none;
    color: #f59f00;
    font-weight: bold;
    border-bottom: 2px solid #f59f00;
} */


.article-item {
    padding: 20px 10px; margin-left:0; margin-right:0;
    border-bottom: 1px solid #f0f0f0;
}
.article-item:last-child {
    border-bottom: none;
}

.article-img {
    width: 100%;
    max-width: 160px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    background-color: #e9ecef;
}
.article-tag {
    display: inline-block;
    background-color: #f0f7f0;
    color: #28a745;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 8px;
}
.article-date {
    color: #999;
    font-size: 12px;
}
.article-title {
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ranking-list {
    padding: 10px 20px;
}
.ranking-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
}
.ranking-item a {
    text-decoration: none;
    color: #333;
    margin-left: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 240px;
}
.ranking-num {
    width: 20px;
    height: 20px;
    background-color: #e9ecef;
    color: #666;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}
.ranking-item:nth-child(1) .ranking-num,
.ranking-item:nth-child(2) .ranking-num,
.ranking-item:nth-child(3) .ranking-num {
    background-color: #ffc107;
    color: #fff;
}

@media (max-width: 768px) {
	.carousel-item img { height:200px; }
    .article-img { max-width: 120px; height: 80px; }
    .article-title { font-size: 16px; }
    /* .nav-tabs-custom { gap: 15px; overflow-x: auto; white-space: nowrap; padding-bottom: 5px; } */
}

/* part3 
.main-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);

}*/
.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid #eef2f5;
    padding-bottom: 15px;
    margin-bottom: 25px;
}
.nav-tabs-custom {
    border-bottom: none;
    display: flex;
    gap: 30px;
}
.nav-tabs-custom .nav-link {
    border: none;
    background: none;
    color: #666666;
    font-size: 18px;
    font-weight: 500;
    padding: 0 0 2px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}
.nav-tabs-custom .nav-link:hover {
    color: #faad14;
}
.nav-tabs-custom .nav-link.active {
    color: #faad14;
    font-weight: 700;
    border-bottom-color: #faad14;
}

.col-1-10 { width: 10%; flex: 0 0 auto; }
@media (max-width: 768px) {
	.col-1-10 { width: 25%; flex: 0 0 auto; }
}

.more-link {
    color: #999999;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

.more-link:hover {
    color: #333333;
}
.game-card {
    background-color: #ffffff;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    margin-bottom: 20px;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.game-card img {
    width: 100%;
    aspect-ratio: 1 / 1; /* 确保图片保持正方形 */
    border-radius: 8px;
    object-fit: cover;
    background-color: #e9ecef;
}

.game-card .game-title {
    margin-top: 6px;
    font-size: 14px;
    color: #333333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .nav-header {
flex-direction: column;
align-items: flex-start;
gap: 15px;
    }
    .nav-tabs-custom {
gap: 15px;
    }
}

/* mm */
.beauty-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 220px;
    background-color: #000;
}
.beauty-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    opacity: 0.9;
}
.beauty-card:hover img {
    transform: scale(1.05);
    opacity: 1;
}
.beauty-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 15px 15px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 100%);
    color: #fff;
}
.beauty-title {
    font-size: 14px;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.beauty-stats {
    font-size: 12px;
    color: #ddd;
}
@media (max-width: 768px) {
	.beauty-col .col { width: 50%; flex: 0 0 auto; }
	.beauty-card { height: 160px; }
	
}

/* 三列攻略 */
.strategy-card {
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
}
.paiming-item {
    padding: 10px 15px;
    border-bottom: 1px dashed #f0f0f0;
    display: flex;
    gap: 10px;
}
.paiming-item:last-child {
    border-bottom: none;
}
.paiming-card { text-decoration:none; }
.paiming-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    opacity: 0.9;
}
.paiming-card:hover img {
    transform: scale(1.05);
    opacity: 1;
}

.paiming-img-sm {
    width: 80px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    background-color: #e9ecef;
}
.paiming-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.paiming-title a {
    font-size: 15px;
    color: #333; text-decoration:none;
    margin: 3px 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.paiming-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mixed-item {
    padding: 10px 15px;
    border-bottom: 1px dashed #f0f0f0;
}
.mixed-item:last-child {
    border-bottom: none;
}
.mixed-img-lg {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}
.mixed-img-lg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mixed-overlay-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 8px 6px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 100%);
    color: #fff;
    font-size: 15px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}





/*list*/
.breadcrumb-cs{ padding:0 20px 20px 20px; }
.section-header {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* 侧边栏标题 */
.section-header {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.section-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    padding-left: 10px;
    border-left: 4px solid #f59e0b; /* 琥珀色左边框 */
    line-height: 1;
}
.section-header a {
    font-size: 12px;
    color: #999;
    text-decoration: none;
}

/* 资讯列表卡片 */
.news-item {
    display: flex;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
}
.news-item:last-child {
    border-bottom: none;
}
.news-thumb {
    width: 200px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
    background-color: #e9ecef;
    margin-right: 20px;
}
.news-content {
    flex: 1;
}
.news-title {
    font-size: 18px;
    font-weight: bold;
    color: #222;
    margin-bottom: 8px;
    display: block;
    text-decoration: none;
    line-height: 1.4;
}
.news-title:hover {
    color: #f59e0b;
}
.news-desc {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-meta {
    color: #999;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.news-source {
    margin-left: auto;
}

/* 侧边栏列表样式 */
.sidebar-list {
    padding: 10px 20px;
    list-style: none;
    margin-bottom: 0;
}
.sidebar-list li {
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.5;
    display: flex;
    align-items: baseline;
}
.sidebar-list a {
    color: #333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 100%;
}
.sidebar-list a:hover {
    color: #f59e0b;
}

/* 阅读排行数字样式 */
.rank-num {
    display: inline-flex;
    width: 18px;
    height: 18px;
    background-color: #e0e0e0;
    color: #666;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    margin-right: 10px;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}
.rank-num.num-1 { background-color: #f59e0b; color: #fff; }
.rank-num.num-2 { background-color: #f59e0b; color: #fff; }
.rank-num.num-3 { background-color: #f59e0b; color: #fff; }

/* 热门专区 3x3 宫格 */
.zone-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 20px;
}
.zone-item { width:100%; overflow:hidden;
    text-align: center;
}
.zone-item img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
    background-color: #f0f0f0;
}
.zone-item a {
    font-size: 12px;
    color: #333;
    text-decoration: none;
    display: block;
}
.zone-item a span{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.zone-item a:hover {
    color: #f59e0b;
}

/* 底部横幅广告 */
.zone-banner { padding: 10px 20px; }
.zone-banner a{ color: #333; text-decoration:none; text-align: center; }
.zone-banner a:hover{ color: #f59e0b; }
.zone-banner h6{ padding-top:10px; }

@media (max-width: 768px) {
    .news-item {flex-direction: column;    }
    .news-thumb {width: 100%;height: 180px;margin-right: 0;margin-bottom: 15px; }
    .news-title {font-size: 16px;    }
    .news-meta {flex-wrap: wrap;    }
    .news-source {margin-left: 0;margin-top: 5px;    }
    .main-wrapper {padding: 0 15px;    }
}

/*专区*/
.zq-bg { background-position:center 70px !important; background-size:100% auto !important; }
.top-banner { width: 100%; height: 180px; }
.top-banner h2{ color:#FFF; font-weight:bold; }
.conpd { padding:20px; }
.article-content { font-size:16px; line-height:1.8; text-align:left; }
.article-content img{ max-width:100%; }
.article-content h1 {font-size: 22px; font-weight: bold; margin-bottom: 20px; }
.article-content h2 {font-size: 18px; font-weight: bold; margin-bottom: 20px; }
.article-content iframe { width: 100%; min-height:470px; }

.game-info-card { text-align: center; padding:20px; }
.game-logo { margin:0 auto;width: 80px; height: 80px;border-radius: 50%;object-fit: cover;margin-bottom: 15px; border: 2px solid #eee; }
.game-info-list {
            font-size: 13px;
            color: #666;
            margin-bottom: 15px;
            line-height: 1.8;
        }
.badge-custom {
            background-color: #dc3545;
            color: #fff;
            padding: 4px 12px;
            border-radius: 4px;
            font-size: 12px;
            text-decoration: none;
        }
.game-desc {
            font-size: 12px;
            color: #999;
            line-height: 1.6;
            text-align: left;
            margin-top: 15px;
            border-top: 1px solid #eee;
            padding-top: 15px;
        }

@media (max-width: 768px) {
    .article-content iframe { min-height:220px; }
    .top-banner { height:100px; }
}

/* 卡片基础样式 */
.az-nav-item li a{ color: #666; text-decoration:none; transition: all 0.3s ease; font-size:18px; padding: 0 0 2px 0; }
.az-nav-item li a.active{ color: #faad14; text-decoration:none; font-weight: 700; font-size:18px; padding: 0 0 2px 0; border-bottom-color: #faad14; border-bottom: 2px solid #f59f00; }
.az-nav-item li a:hover{ color: #faad14; }

.zq-nav-bg { background-color: #0d6efd;}
.zq-header-custom { background: #0d6efd; border-bottom: 1px solid #005fea; padding: 15px 20px; border-radius: 8px 8px 0 0; display: flex; justify-content: space-between; align-items: center;}
.zq-nav-item { gap: 60px; }
.zq-nav-item li a{ color: #c3e4ff; text-decoration:none; transition: all 0.3s ease; font-size:18px; padding: 0 0 2px 0; }
.zq-nav-item li a.active{ color: #fff; text-decoration:none; font-weight: 700; font-size:18px; padding: 0 0 2px 0; }
.zq-nav-item li a:hover{ color: #fff; }

.az-card { position:relative; border:#f0f0f0 1px solid;
            border-radius: 8px;
            overflow: hidden;
            height: 100%;
            transition: all 0.3s ease;
}
        .az-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.08);
        }
		
        .az-body {
            padding: 20px;
            display: flex;
            gap: 15px;
			flex: none;
        }
        .az-footer-custom {
            padding: 0 20px 0px 20px;
            background-color: #fff;
        }		
        /* 卡片图片 
        .game-icon {
            width: 90px;
            height: 90px;
            object-fit: cover;
            border-radius: 8px;
            background-color: #e9ecef;
            flex-shrink: 0;
        }*/

        /* 卡片内容排版 */
        .az-title {
            font-size: 18px;
            font-weight: bold;
            color: #212529;
            margin-bottom: 8px;
        }
        .az-meta {
            font-size: 13px;
            color: #868e96;
            margin-bottom: 6px;
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 5px;
        }
        .az-meta .dot {
            color: #ced4da;
        }
        
        /* 按钮样式 */
        .btn-details {
            background-color: #64b5f6;
            border: none;
            color: #fff;
            padding: 3px 10px;
            border-radius: 4px;
            font-size: 13px;
            text-decoration: none;
            display: inline-block;
            margin-top: 5px; margin-bottom: 0;
        }
        .btn-details:hover {
            background-color: #42a5f5;
            color: #fff;
        }
		
        /* 底部摘要区域 */
        .az-summary {
            border-top: 1px solid #f1f3f5;
            padding: 5px 0 0 0;
        }
        .badge-genre {
            background-color: #e3f2fd; margin-right:5px;
            color: #2196f3;
            font-size: 12px;
            padding: 2px 8px;
            border-radius: 4px;
        }
.summary-text { font-size: 13px; color: #868e96; line-height: 1.5; height: 38px; margin-top: 8px; overflow: hidden; }
/* 游戏头部基本信息 */
.game-icon { width: 110px; height: 110px; border-radius: 12px; object-fit: cover; border: 1px solid #eee; }
.game-meta { color: #6c757d; font-size: 13px; }

.az-tag a{ display:inline-block; background-color: #eee; text-decoration:none; color: #666; border: 1px solid #dbe4ff; border-radius: 4px; font-size:13px; padding: 3px 10px; margin-right: 8px; margin-bottom: 3px; }
.btn-download { text-decoration: none; background-color: #28a745;color: white;border: none;padding: 10px 30px;font-size: 16px;border-radius: 6px;font-weight: bold;transition: all 0.2s; }
.btn-download:hover { background-color: #218838; color: white; }
.btn-zhuanqu { text-decoration: none; background-color: #333;color: white;border: none;padding: 10px 30px;font-size: 16px;border-radius: 6px;transition: all 0.2s; }
.btn-zhuanqu:hover { background-color: #555555; color: white; }

@media (max-width: 992px) {
    .zq-header-custom { padding: 15px; }
    .zq-nav-item { gap: 15px; }
    .zq-nav-item li a{ font-size:16px; }
    .zq-nav-item li a.active{ font-size:16px; }
    .az-header {text-align: center;}
    .game-icon { display: block; }
    .az-header .d-flex {flex-direction: column;}
    .btn-download, .btn-zhuanqu { display:block; text-align: center; margin-top: 8px; }
}

.card-footer { border-top:none; }
.pagination{ margin:20px 0; flex-wrap: wrap;  justify-content: center; }
.pagination a,.pagination span{display:block;padding:5px 12px;margin:3px;border:1px solid #ccc;text-decoration:none; border-radius: var(--bs-border-radius);}
.pagination .active span{background:rgba(var(--bs-primary-rgb)); color:#fff; border-color:rgba(var(--bs-primary-rgb));}
.pagination .disabled{color:#aaa;cursor:not-allowed;}