﻿/* ===== 栏目页统一样式（只做视觉，不改原有布局尺寸） ===== */
@media (min-width:1000px){
:root{
  --u-primary:#1c6fe0;--u-primary-2:#2f80ed;--u-ink:#16233a;--u-ink-2:#475467;
  --u-ink-3:#98a2b3;--u-line:#edf1f6;--u-shadow:0 2px 8px rgba(16,24,40,.05);
  --u-shadow-hover:0 8px 22px rgba(28,111,224,.14);
}

/* 面包屑 */
.fnav{color:#98a2b3;font-size:13px;}
.fnav a{color:#475467;}
.fnav a:hover{color:var(--u-primary);}

/* 左侧分类栏：保留原定位，仅换外观 */
#caname{background:#fff;border:1px solid var(--u-line);border-radius:12px;box-shadow:var(--u-shadow);padding:8px 6px;}
#caname li{background:none;padding:0;border-radius:8px;}
#caname li a{display:block;padding:6px 8px;border-radius:8px;color:var(--u-ink-2);}
#caname li a:hover{background:#f4f7fc;color:var(--u-primary);}
#caname li.curs{background:none;}
#caname li.curs a{background:#eaf2ff;color:var(--u-primary);font-weight:600;}

/* 热门下载 */
#hot_game{border:1px solid var(--u-line);border-radius:12px;box-shadow:var(--u-shadow);background:#fff;padding-bottom:10px;}
#hot_game h3{color:var(--u-ink);border-top-color:var(--u-primary);}
#hot_game li a{border-radius:10px;transition:.18s;}
#hot_game li a:hover{background:#f4f7fc;}
#hot_game li img{border-radius:12px;}

/* 内容区：不动宽度，只加卡片外观 */
#con{background:#fff;border:1px solid var(--u-line);border-radius:12px;box-shadow:var(--u-shadow);}
#con h3{border-bottom-color:#eef2f7;color:var(--u-ink);}
#con h3::after{content:"";position:absolute;left:20px;bottom:-2px;width:56px;height:2px;background:linear-gradient(90deg,var(--u-primary-2),var(--u-primary));}

/* 列表项：卡片化（不改变行高逻辑） */
#dlist li{border-bottom:0;border:1px solid #f0f3f8;border-radius:12px;margin:10px 0;padding:14px 132px 14px 14px;background:#fff;transition:border-color .18s,box-shadow .18s,transform .18s;}
#dlist li:hover{border-color:#cfe0ff;box-shadow:var(--u-shadow-hover);transform:translateY(-1px);}
#dlist li img{width:64px;height:64px;border-radius:12px;border:1px solid #f2f5fa;background:#f7f9fc;object-fit:cover;}
#dlist a{color:var(--u-ink);font-weight:600;}
#dlist a:hover{color:var(--u-primary);}
#dlist li p{color:var(--u-ink-2);font-size:13px;line-height:1.7;}
#dlist li > s{position:absolute;right:16px;top:50%;transform:translateY(-50%);width:104px;text-align:right;color:var(--u-ink-3);font-size:12px;line-height:1.9;white-space:nowrap;}

/* 右侧栏 */
#rsider{border:1px solid var(--u-line);border-radius:12px;box-shadow:var(--u-shadow);}
#rsider .hd{border-bottom:1px solid var(--u-line);}
#rsider .hd h4{font-size:16px;color:var(--u-ink);font-weight:700;}
#rsider li{border-bottom:1px dashed #f0f3f8;}

/* 文章型栏目（攻略/资讯/AI圈） */
.container.w1200 .newsBox{background:#fff;border:1px solid var(--u-line);border-radius:12px;box-shadow:var(--u-shadow);}
.container.w1200 .newsBox .hd{color:var(--u-ink);}
ul.news-ul li{border:1px solid #f0f3f8;border-radius:12px;background:#fff;transition:border-color .18s,box-shadow .18s,transform .18s;}
ul.news-ul li:hover{border-color:#cfe0ff;box-shadow:var(--u-shadow-hover);transform:translateY(-1px);}
ul.news-ul li .desc a.tit,ul.news-ul li .desc h3{color:var(--u-ink);font-weight:600;}
ul.news-ul li:hover .desc a.tit{color:var(--u-primary);}
ul.news-ul li .desc p{color:var(--u-ink-2);}
ul.news-ul li .info{color:var(--u-ink-3);}

/* 分页 */
.pages a{border-color:#e4e9f2;border-radius:10px;color:var(--u-ink-2);transition:.18s;}
.pages a:hover{border-color:#bcd6ff;color:var(--u-primary);background:#f4f8ff;}
.pages a.cur{border-color:transparent;color:#fff;background:linear-gradient(90deg,var(--u-primary-2),var(--u-primary));box-shadow:0 4px 12px rgba(28,111,224,.24);}

/* ===== 热门下载：与首页卡片一致 ===== */
#hot_game{padding:0 0 12px;}
#hot_game h3{margin:0;padding:16px 0 10px 14px;font-size:18px;color:#16233a;font-weight:700;border:0;position:relative;}
#hot_game h3::before{content:"";position:absolute;left:0;top:19px;width:4px;height:16px;border-radius:3px;background:linear-gradient(180deg,#2f80ed,#1c6fe0);}
#hot_game p{height:auto!important;display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:10px!important;padding:0 14px 10px!important;margin:0!important;}
#hot_game p a{
  float:none!important;display:block!important;width:auto!important;height:150px!important;margin:0!important;
  overflow:hidden;background:#fff;border:1px solid #eef1f6;border-radius:14px;padding:12px 6px 10px;
  text-align:center;font-size:12.5px!important;font-weight:600;color:#1f2d3d;line-height:18px!important;
  transition:all .18s ease;word-break:break-word;position:relative;
}
#hot_game p a img{
  display:block!important;float:none!important;width:84px!important;height:84px!important;
  margin:0 auto 8px!important;border-radius:18px;object-fit:contain;background:#f6f8fb;
}
#hot_game p a:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(47,128,237,.12);border-color:#d6e4ff;}
}



/* hot_game one row compact */
#hot_game p{max-height:122px!important;overflow:hidden!important}
#hot_game p a{height:104px!important;padding:8px 4px!important;font-size:12px!important;line-height:16px!important}
#hot_game p a img{width:62px!important;height:62px!important;margin:0 auto 4px!important;border-radius:14px!important}
