/* =========================================================
   光速下载网 - 全站样式（全新重写）
   设计令牌 + 移动优先 + 响应式（手机 / 平板 / 桌面）
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  --primary: #07c160;
  --primary-dark: #06ae56;
  --primary-soft: #e8f8ef;
  --primary-grad: linear-gradient(135deg, #06ad56 0%, #06ad56 100%);
  --green: #4ace63;
  --green-dark: #3cb854;
  --purple: #d068f4;
  --purple-dark: #c055e6;
  --gold: #ffb800;

  --ink: #404040;        /* 标题 */
  --text: #454545;       /* 正文 */
  --gray: #999;          /* 次要文字 */
  --gray-light: #c2c2c2;
  --line: #efefef;
  --fill: #f7f7f7;       /* 浅灰底 */
  --bg: #f7f7f7;         /* 页面底色 */
  --footer-bg: #313131;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 4px 20px rgba(7, 193, 96, .10);
  --shadow-soft: 0 2px 12px rgba(0, 0, 0, .06);

  --header-h: 56px;
  --container: 1200px;

  --font: "Microsoft Yahei", "PingFang SC", "Helvetica Neue", Arial,
          "Hiragino Sans GB", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
}
img { border: 0; vertical-align: middle; max-width: 100%; }
ul, ol, li { list-style: none; }
a { color: inherit; text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { color: var(--primary); }
em, i { font-style: normal; }
button, input { font-family: inherit; outline: none; border: 0; background: none; }
button { cursor: pointer; }
table { border-collapse: collapse; }

/* 通用容器 */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 12px; }
.cfx::after { content: ""; display: table; clear: both; }

/* 单行 / 多行省略 */
.ell { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ell2 {
  overflow: hidden; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.ell3 {
  overflow: hidden; display: -webkit-box;
  -webkit-line-clamp: 3; -webkit-box-orient: vertical;
}

/* =========================================================
   Header 顶部导航
   ========================================================= */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: var(--primary-grad);
  box-shadow: 0 2px 10px rgba(6, 174, 86, .25);
}
.site-head .bar {
  max-width: var(--container); margin: 0 auto;
  height: var(--header-h); padding: 0 12px;
  display: flex; align-items: center; gap: 10px;
  position: relative;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img {  width: auto; }
.logo .logo-txt { display: none; line-height: 1.1; }
.logo .logo-txt b { color: #fff; font-size: 20px; letter-spacing: 1px; }
.logo .logo-txt b em { font-style: normal; opacity: .85; }
.logo .logo-txt i { display: block; color: rgba(255,255,255,.75); font-size: 11px; letter-spacing: 2px; }
.logo img.hide { display: none; }
.logo:has(img.hide) .logo-txt { display: block; }

/* 移动端功能键 */
.nav-toggle, .search-toggle {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
}
.nav-toggle:active, .search-toggle:active { background: rgba(255,255,255,.15); }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  content: ""; display: block; width: 20px; height: 2px;
  background: #fff; border-radius: 2px; position: relative; transition: .25s;
}
.nav-toggle .bars::before { position: absolute; top: -6px; left: 0; }
.nav-toggle .bars::after  { position: absolute; top: 6px;  left: 0; }
.search-toggle svg { width: 21px; height: 21px; }

/* 主导航（移动端：白色胶囊条） */
.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; }
.main-nav li { position: relative; }
.main-nav li a {
  display: block; padding: 8px 14px;
  color: rgba(255,255,255,.92); font-size: 16px; font-weight: 700;
  border-radius: 8px;
}
.main-nav li a:hover { color: #fff; background: rgba(255,255,255,.12); }
.main-nav li.current a { color: #fff; }
.main-nav li.current::after {
  content: ""; position: absolute; left: 50%; bottom: -6px;
  transform: translateX(-50%);
  border: 6px solid transparent; border-bottom-color: #fff;
  border-top-width: 0;
}

/* 顶部搜索（桌面端展示） */
.head-search {
  margin-left: auto; display: none;
  align-items: center;
  background: #fff; border-radius: 20px;
  height: 38px; padding: 0 8px 0 16px; width: 220px;
}
.head-search input { flex: 1; font-size: 14px; color: var(--ink); min-width: 0; }
.head-search input::placeholder { color: #bbb; }
.head-search button {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.head-search button svg { width: 18px; height: 18px; }

/* 移动端搜索下拉条 */
.m-search {
  display: none; padding: 8px 12px 12px;
  background: var(--primary-grad);
}
.m-search.open { display: block; }
.m-search .inner {
  display: flex; align-items: center;
  background: #fff; border-radius: 20px; height: 38px; padding: 0 8px 0 16px;
}
.m-search input { flex: 1; font-size: 14px; color: var(--ink); min-width: 0; }
.m-search button { color: var(--primary); font-weight: 700; font-size: 14px; padding: 4px 10px; }

/* 移动端抽屉菜单 */
.drawer-mask {
  position: fixed; inset: 0; background: rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; transition: .25s; z-index: 200;
}
.drawer {
  position: fixed; top: 0; left: -280px; bottom: 0; width: 260px;
  background: #fff; z-index: 201; transition: left .28s ease;
  display: flex; flex-direction: column;
}
body.drawer-open .drawer-mask { opacity: 1; visibility: visible; }
body.drawer-open .drawer { left: 0; }
.drawer .d-head {
  background: var(--primary-grad); color: #fff;
  padding: 20px 16px;
}
.drawer .d-head .d-logo { font-size: 20px; font-weight: 700; }
.drawer .d-head .d-sub { font-size: 12px; opacity: .8; margin-top: 2px; }
.drawer nav { flex: 1; overflow-y: auto; padding: 8px 0; }
.drawer nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 20px; font-size: 15px; color: var(--ink);
}
.drawer nav a:active, .drawer nav a.active { color: var(--primary); background: var(--primary-soft); }
.drawer nav a .arr { color: var(--gray-light); }
.drawer .d-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}

/* 移动端胶囊导航条 */
.pill-nav {
  background: #fff; margin: 12px 12px 0; border-radius: 22px;
  box-shadow: var(--shadow-soft);
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.pill-nav::-webkit-scrollbar { display: none; }
.pill-nav ul { display: flex; padding: 4px; min-width: max-content; }
.pill-nav a {
  display: block; padding: 9px 18px; border-radius: 18px;
  font-size: 15px; color: var(--ink); white-space: nowrap;
}
.pill-nav li.current a { color: var(--primary); background: var(--primary-soft); font-weight: 700; }

/* =========================================================
   Hero 轮播区（首页）
   ========================================================= */
.hero { padding: 12px 0 0; }

/* 轮播主体 */
.slider { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.slider-track { display: flex; transition: transform .5s ease; }
.slider-track a { flex: 0 0 100%; position: relative; display: block; }
.slider-track img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 16 / 9; }
.slider-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 16px 12px;
  color: #fff; font-size: 16px; font-weight: 700;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
}
.slider-dots {
  position: absolute; bottom: 10px; right: 14px;
  display: flex; gap: 6px; align-items: center;
}
.slider-dots span {
  width: 8px; height: 8px; border-radius: 4px;
  background: rgba(255,255,255,.5); cursor: pointer; transition: .3s;
}
.slider-dots span.on { width: 22px; background: var(--primary); }

/* 每日好游（移动端横向一排，可滑动） */
.daily { margin-top: 12px; }
.daily-card { background: #fff; border-radius: var(--radius-lg); padding: 14px; }
.daily-card .d-tit {
  display: flex; align-items: center; gap: 8px;
  font-size: 17px; font-weight: 700; color: var(--ink);
  margin-bottom: 12px;
}
.daily-card .d-tit::before {
  content: ""; width: 22px; height: 22px; border-radius: 6px;
  background: conic-gradient(from 200deg, #0fd576, #07c160, #06ad56, #0fd576);
}
.daily-row { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.daily-row::-webkit-scrollbar { display: none; }
.daily-row a {
  flex: 0 0 100px; text-align: center; color: var(--ink);
}
.daily-row img {
  width: 100px; height: 100px; border-radius: 22px; object-fit: cover;
  border: 1px solid var(--line); display: block; margin: 0 auto 6px;
}
.daily-row .d-name {
  display: block; font-size: 13px; color: var(--ink);
  width: 100px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.daily-row .d-view {
  display: inline-block; margin-top: 4px; padding: 1px 10px;
  font-size: 12px; color: var(--primary); background: var(--primary-soft);
  border-radius: 10px;
}
/* =========================================================
   版块标题
   ========================================================= */
.sec { margin-top: 14px; }
/* 版块内容白底圆角卡片（与资讯列表卡片风格一致） */
.sec-card { background: #fff; border-radius: var(--radius-lg); padding: 14px 12px; }
.sec-head { display: flex; align-items: center; justify-content: space-between;  margin-bottom: 14px; }
.sec-head h2 {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700; color: var(--ink);
  width: 30%;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.sec-head h2 .ico {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  background: url("../img/logo.svg") center/contain no-repeat;
}
.sec-head .more { font-size: 14px; color: var(--gray); display: flex; align-items: center; gap: 2px; }
.sec-head .more::after { content: "›"; font-size: 18px; line-height: 1; }

/* =========================================================
   首页 - 资讯攻略
   ========================================================= */
.news-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; }

/* 图文资讯卡片：桌面一行 5 个，标题压在图片底部的半透明黑条上 */
.news-pic-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}
.news-pic-grid a {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius-lg); aspect-ratio: 16 / 9;
  background: var(--line);
}
.news-pic-grid img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.news-pic-grid a:hover img { transform: scale(1.06); }
.news-pic-grid .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px 8px 7px; color: #fff; font-size: 13px; text-align: center;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}

/* 纯文字资讯网格：桌面一行 4 个，窄屏按断点减少列数（见文件末尾媒体查询） */
.news-text-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px 24px;
}
.news-text-grid li { min-width: 0; }
.news-text-grid a {
  position: relative; display: block;
  padding: 11px 0 11px 16px;
  color: var(--ink); font-size: 15px;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.news-text-grid a::before {
  content: ""; position: absolute; left: 0; top: 50%; margin-top: -3px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary);
}
.news-text-grid a:hover { color: var(--primary); }

/* =========================================================
   首页 - 手机游戏 / Tab 版块
   ========================================================= */
.tab-bar {
  display: flex; gap: 6px; overflow-x: auto;
  scrollbar-width: none; margin-bottom: 14px;
  -webkit-overflow-scrolling: touch;
}
.tab-bar::-webkit-scrollbar { display: none; }
.tab-bar span {
  flex-shrink: 0; padding: 5px 10px; border-radius: 10px;
  font-size: 14px; color: var(--ink); background: #fff;
  cursor: pointer; transition: .2s;
  box-shadow: var(--shadow-soft);
}
.tab-bar span:hover { color: var(--primary); }
.tab-bar span.current { color: #fff; background: var(--primary-grad); font-weight: 700; }

/* 版块标题内的标签行：移动端换行铺满，桌面端行内文字样式见媒体查询 */
.sec-head .tab-bar { flex: 1 1 100%; order: 3; margin-bottom: 0; }

.tab-pane { display: none; }
.tab-pane.on { display: block; }

/* 游戏宫格（首页） */
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px 10px; }
.app-grid a { text-align: center; color: var(--ink); position: relative; }
.app-grid img {
  width: 100%; max-width: 100px; aspect-ratio: 1/1; height: auto;
  border-radius: 22px; object-fit: cover;
  border: 1px solid var(--line); display: block; margin: 0 auto;
  transition: transform .3s cubic-bezier(.22,.9,.34,1.2), box-shadow .3s, border-color .3s;
}
.app-grid a { transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.app-grid a:hover { transform: translateY(-6px); }
.app-grid a:hover img {
  transform: scale(1.05) rotate(-2deg);
  border-color: rgba(7, 193, 96, .4);
  box-shadow: 0 12px 24px rgba(7, 193, 96, .22), 0 0 0 5px rgba(7, 193, 96, .08);
}
.app-grid a:hover p { color: var(--primary); }
.app-grid p {
  font-size: 13px; color: var(--ink); margin-top: 9px;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 0 2px;
}
/* =========================================================
   首页 - 专题推荐
   ========================================================= */
.zt-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.zt-grid a { display: block; color: var(--ink); }
.zt-grid img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block;
  border-radius: var(--radius); transition: transform .3s;
}
.zt-grid a:hover img { transform: scale(1.03); }
.zt-grid .zt-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 2px 0;
}
.zt-grid .zt-name {
  font-size: 16px;  color: var(--ink);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  transition: color .2s;
}
.zt-grid a:hover .zt-name { color: var(--primary); }
.zt-grid .zt-date { font-size: 12px; color: var(--gray-light); flex-shrink: 0; }
.zt-list { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.zt-item {
  display: flex; flex-direction: column; 
  border: 1px solid #FFFFFF; border-radius: var(--radius-lg);
  padding: 0px; transition: border-color .2s, box-shadow .2s;
}
/* .zt-item:hover { border-color: var(--primary); box-shadow: var(--shadow-soft); } */
.zt-item-cover { width: 100%; }
/* 封面容器固定比例 + overflow 裁剪：图片 hover 缩放只在框内放大，容器大小保持不变 */
.zt-item-cover a {
  position: relative; display: block; width: 100%;
  aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: 12px 12px 0px 0px; color: #fff;
}
.zt-item-cover img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.zt-item-cover a:hover img { transform: scale(1.08); }
/* 标题 + 日期叠加在封面底部（整条黑色半透明背景条，左标题右日期） */
.zt-cover-meta {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 10px;
  background: rgba(0, 0, 0, .6);
}
.zt-cover-title {
  font-size: 16px;  color: #fff; line-height: 1.3;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.zt-cover-date { font-size: 11px; color: rgba(255,255,255,.9); flex-shrink: 0; }
.zt-item-body { min-width: 0; padding: 10px 15px 15px 15px; background-color: #F7F7F7; border-radius: 0px 0px 12px 12px; }
.zt-item-desc {
  font-size: 14px; color: var(--gray);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 15px; line-height: 1.6;
}
.zt-item-res { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
.zt-res-item {
  display: flex; flex-direction: column; gap: 4px;
  align-items: center;
  color: var(--ink); font-size: 12px; transition: border-color .2s, box-shadow .2s;
}
.zt-res-item:hover { border-color: var(--primary); box-shadow: var(--shadow-soft); }
.zt-res-item img { width: 100%; max-width: 72px; aspect-ratio: 16 / 16; object-fit: cover; border-radius: 12px; }
.zt-res-item span {
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px;
}
.zt-res-item:hover span { color: var(--primary); }
.zt-res-empty { font-size: 12px; color: var(--gray-light); }
.zt-links { margin-top: 16px; display: grid; gap: 6px 28px; }
.zt-links li a {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); font-size: 14px; padding: 7px 0;
}
.zt-links .tag {
  flex-shrink: 0; font-size: 12px; line-height: 1; font-style: normal;
  padding: 4px 8px; border-radius: 6px; border: 1px solid transparent;
}
.zt-links .tag.tg { color: var(--primary); background: var(--primary-soft); border-color: rgba(7, 193, 96, .25); }
.zt-links .tag.tapp { color: #3b82f6; background: #eef4ff; border-color: #d6e4ff; }
.zt-links li a .d { flex-shrink: 0; font-size: 13px; color: var(--gray-light); }
.zt-links li a .t { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* =========================================================
   首页 - 排行榜
   ========================================================= */
.rank-list { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; }
.rank-list li {
  background: #fff; border-radius: var(--radius-lg); padding: 14px;
  box-shadow: var(--shadow-soft); transition: .2s;
}
.rank-list li:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.rank-list li a { display: flex; align-items: flex-start; gap: 12px; }
.rank-list img {
  width: 84px; height: 84px; border-radius: 18px; object-fit: cover;
  border: 1px solid var(--line); flex-shrink: 0;
}
.rank-list .rinfo { flex: 1; min-width: 0; }
.rank-list .rt { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.rank-list .no {
  width: 20px; height: 20px; border-radius: 6px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; font-style: normal;
  background: #eef0f4; color: var(--gray);
}
.rank-list li:nth-child(1) .no { background: var(--primary-grad); color: #fff; }
.rank-list li:nth-child(2) .no { background: #ff8a00; color: #fff; }
.rank-list li:nth-child(3) .no { background: var(--gold); color: #fff; }
.rank-list .rt .t {
  font-size: 16px;  color: var(--ink);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.rank-list .rinfo p {
  font-size: 12px; color: var(--gray); line-height: 1.9;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.medal-tit svg { margin-right: 8px; vertical-align: -6px; }

/* =========================================================
   面包屑
   ========================================================= */
.crumb {
  padding-top: 14px; color: var(--gray); font-size: 14px;
}
.crumb a { color: var(--gray); }
.crumb a:hover { color: var(--primary); }
.crumb .sep { margin: 0 6px; opacity: .7; }
.crumb .cur { color: var(--ink);  }
.crumb-band { background: transparent; }

/* =========================================================
   列表页 - 分类筛选 + 卡片
   ========================================================= */
.filter-card { background: #fff; border-radius: var(--radius-lg); padding: 20px; }
.filter-card .f-tit {
  display: flex; align-items: center; gap: 8px;
  font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 20px;
}
.filter-card .f-tit::before {
  /* content: ""; width: 5px; height: 18px; border-radius: 3px;
  background: var(--primary-grad); */
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 15px; }
.filter-chips a {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 18px; border-radius: 18px; background: var(--fill);
  color: var(--ink); font-size: 14px; transition: .2s;
}
.filter-chips a img { width: 30px; height: 30px; border-radius: 5px; object-fit: cover; }
.filter-chips a:hover { color: var(--primary); }
.filter-chips a.on { color: var(--primary); background: var(--primary-soft); font-weight: 700; }

.soft-list { margin-top: 14px; display: grid; gap: 22px; }
.soft-card {
  position: relative; background: #fff; border-radius: var(--radius-lg); padding: 14px;
  box-shadow: var(--shadow-soft); border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.soft-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(7,193,96,.12);
}
.soft-card .top { display: flex; gap: 12px; }
.soft-card .top img {
  width: 76px; height: 76px; border-radius: 16px; object-fit: cover;
  border: 1px solid var(--line); flex-shrink: 0;
}
.soft-card .meta { flex: 1; min-width: 0; }
.soft-card .meta h3 {
  font-size: 16px; color: var(--ink); margin-bottom: 4px;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.soft-card .meta h3 a:hover { color: var(--primary); }
.soft-card .meta .row {
  font-size: 13px; color: var(--gray); margin-bottom: 2px;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.soft-card .desc {
  margin-top: 10px; font-size: 13px; color: var(--gray); line-height: 1.7;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden;
}
.soft-card .desc b { color: var(--gray); font-weight: 400; }
.soft-card .go {
  display: block; margin-top: 12px; text-align: center;
  height: 36px; line-height: 36px; border-radius: 18px;
  background: var(--primary-soft); color: var(--primary); font-size: 14px;
  transition: .2s;
}
.soft-card .go:hover { background: var(--primary); color: #fff; }

/* 详情页左栏内的相关资源：紧凑卡片，一行三个 */
.detail-page .related-list { gap: 12px; margin-top: 14px; }
.detail-page .related-list .soft-card { padding: 10px; }
.detail-page .related-list .top { gap: 9px; }
.detail-page .related-list .top img { width: 54px; height: 54px; border-radius: 12px; }
.detail-page .related-list .meta h3 { font-size: 14px; margin-bottom: 3px; }
.detail-page .related-list .meta .row { font-size: 12px; }
.detail-page .related-list .desc { margin-top: 8px; font-size: 12px; line-height: 1.6; -webkit-line-clamp: 1; }
.detail-page .related-list .go { margin-top: 8px; height: 32px; line-height: 32px; border-radius: 16px; font-size: 13px; }

/* 分页 */
.pagecode { display: flex; justify-content: center; gap: 8px; margin: 24px 0 8px; }
.pagecode a, .pagecode span {
  min-width: 36px; height: 36px; padding: 0 10px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; background: #fff; color: var(--ink); font-size: 14px;
  box-shadow: var(--shadow-soft);
}
.pagecode span.on, .pagecode a:hover, .pagecode a.current { background: var(--primary); color: #fff; }
.pagecode a.pre::after, .pagecode a.next::after { content: ''; display: inline-block; width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(135deg); }
.pagecode a.next::after { transform: rotate(-45deg); }
.pagecode a.first, .pagecode a.last { padding: 0 14px; }
.pagecode a.pre, .pagecode a.next { font-size: 0; }

/* =========================================================
   内页布局（侧栏）
   ========================================================= */
.page-body { display: grid; grid-template-columns: minmax(0,1fr); gap: 18px; align-items: start; }
.side { display: grid; grid-template-columns: minmax(0,1fr); gap: 18px; }
.side-card { background: #fff; border-radius: var(--radius-lg); padding: 14px; }
.side-card .s-tit {
  display: flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 12px;
}
.side-card .s-tit::before {
  content: ""; width: 5px; height: 16px; border-radius: 3px; background: var(--primary-grad);
}
.side-g2 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px 10px; }
.side-g2 a { text-align: center; color: var(--ink); }
.side-g2 img {
  width: 100%; max-width: 60px; aspect-ratio: 1; border-radius: 12px; object-fit: cover;
  border: 1px solid var(--line); margin-bottom: 6px;
}
.side-g2 .n {
  display: block; font-size: 12px; color: var(--ink);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
/* 侧栏「专题合集」：一行两个横版封面卡片，底部黑条显示标题+日期 */
.side-zt { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px; }
.side-zt-item {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 16 / 10; border-radius: 10px; color: #fff;
}
.side-zt-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.side-zt-item:hover img { transform: scale(1.06); }
.side-zt-meta {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  padding: 6px 7px; background: rgba(0,0,0,.6);
}
.side-zt-name {
  font-size: 14px;  color: #fff; line-height: 1.3;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
@media (max-width: 767px) {
  .side-zt { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
}
.side-rank li { margin-bottom: 4px; }
.side-rank li a {
  display: flex; align-items: center; gap: 10px; padding: 8px 4px;
  border-radius: 10px;
}
.side-rank li a:hover { background: var(--fill); }
.side-rank .no {
  width: 20px; text-align: center; font-style: italic; font-weight: 700;
  font-size: 15px; color: var(--gray-light); flex-shrink: 0;
}
.side-rank li:nth-child(1) .no { color: var(--primary); }
.side-rank li:nth-child(2) .no { color: #ff8a00; }
.side-rank li:nth-child(3) .no { color: var(--gold); }
.side-rank img { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.side-rank .rank-meta {
  flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px;
}
.side-rank .n {
  font-size: 14px; color: var(--ink);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.side-rank .tp {
  font-size: 11px; color: var(--gray-light);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.side-news li { border-bottom: 1px dashed var(--line); }
.side-news li:last-child { border-bottom: 0; }
.side-news a {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 9px 0; color: var(--ink); font-size: 14px;
}
.side-news a::before { content: "·"; color: var(--primary); font-weight: 700; margin-right: 2px; }
.side-news .t { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.side-news .d { color: var(--gray); font-size: 12px; }

/* =========================================================
   详情页 - 顶部信息卡
   ========================================================= */
.intro-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 16px; box-shadow: var(--shadow);
}
.intro-card .row1 { display: flex; gap: 14px; }
.intro-card .icon {
  width: 88px; height: 88px; border-radius: 20px; object-fit: cover;
  border: 1px solid var(--line); flex-shrink: 0;
}
.intro-card .info { flex: 1; min-width: 0; }
.intro-card h1 {
  font-size: 20px; color: var(--ink); margin-bottom: 6px;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.intro-card .kv {
  display: grid; grid-template-columns: minmax(0,1fr); gap: 2px;
  font-size: 13px; color: var(--gray);
}
.intro-card .tags { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.intro-card .tags label { font-size: 13px; color: var(--gray); }
.intro-card .tags a {
  font-size: 12px; color: var(--gray); background: var(--fill);
  padding: 2px 10px; border-radius: 12px;
}
.intro-card .tags a:hover { color: var(--primary); }

.intro-card .btns { margin-top: 14px; display: grid; gap: 10px; }
.btn-dl {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; border-radius: 12px;
  color: #fff; font-size: 16px; font-weight: 700;
  transition: filter .2s, transform .1s;
}
.btn-dl:active { transform: scale(.98); }
.btn-dl:hover { filter: brightness(1.06); color: #fff; }
.btn-dl svg { width: 20px; height: 20px; fill: currentColor; }
.btn-adr { background: linear-gradient(135deg, #5ada71, var(--green)); box-shadow: 0 4px 12px rgba(74,206,99,.35); }
.btn-pc  {
  background: linear-gradient(135deg, #e08bf8, var(--purple));
  box-shadow: 0 4px 12px rgba(208,104,244,.35);
  flex-direction: column; gap: 0; height: 52px;
}
.btn-pc .l1 { font-size: 15px; font-weight: 700; line-height: 1.2; }
.btn-pc .l2 { font-size: 11px; opacity: .85; font-weight: 400; }

.intro-card .tip {
  margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line);
  font-size: 12px; color: var(--gray-light); line-height: 1.7;
}

/* 评分徽章 */
.rate-badge { display: none; }

/* =========================================================
   资源详情页（page-body 两栏：左详情 + 右侧栏）
   ========================================================= */
.detail-page { min-width: 0; }
.detail-page .sec {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 18px 22px; margin-top: 14px; box-shadow: var(--shadow-soft);
}
.detail-header { display: flex; gap: 26px; align-items: flex-start; 
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  margin-top: 14px;
  box-shadow: var(--shadow-soft);
}
.detail-cover { flex: 0 0 180px; width: 180px; align-self: center; }
.detail-cover img {
  width: 100%; display: block; border-radius: 14px;
  border: 1px solid var(--line);
}
.detail-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 22px 18px; align-items: flex-start; }
.detail-info h1 { font-size: 22px; font-weight: 700; color: var(--ink); margin: 0; line-height: 1.4; }
.detail-subtitle { margin: 0; font-size: 14px; color: var(--gray); line-height: 1.6; }
/* 详情页标签/专题胶囊：浅灰底全圆角，hover 转主题橙 */
.detail-tags { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.dt-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.dt-label { flex: none; font-size: 13px; color: #9a9da3; }
.dt-chip {
  display: inline-flex; align-items: center;
  height: 30px; padding: 0 18px;
  background: #f5f6f8; color: #6b7077;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 13px; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.dt-chip:hover { background: #fff2e8; color: #ff6a00; border-color: #ffd2ad; }
/* align-items:center：详情页 meta 行内可能并排「时间 + 标签胶囊(.dt-chip 高 30px)」，
   不居中的话纯文字项会被拉伸成 30px 高的盒子、文字顶对齐，与胶囊视觉错位 */
.detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 13px; color: var(--gray); }
/* 右侧操作区：评分 + 下载（融入整体白底，无独立底色） */
.detail-action {
  flex: 0 0 208px; width: 208px; margin-left: auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; padding: 22px 18px;
  background: transparent;
}
.da-score { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.da-score .da-score-tit { font-size: 13px; color: var(--gray); }
.detail-action .download-buttons { flex-direction: column; width: 100%; margin-top: 0; }
.detail-action .btn-download { width: 100%; justify-content: center; }

/* 平台下载分段按钮（安卓/苹果/电脑，一排三个不换行） */
.dl-row { display: flex; flex-wrap: nowrap; gap: 10px; margin-top: 6px; }
.dl-group {
  display: inline-flex; height: 48px; min-width: 0; flex: 1 1 0;
  border-radius: 10px; overflow: visible;
  box-shadow: 0 6px 14px rgba(31,35,41,.12);
}
.dl-group > a, .dl-group > button { border: 0; color: #fff; font-family: inherit; }
.dl-main {
  flex: 1 1 auto; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 0 6px; border-radius: 10px 0 0 10px; text-decoration: none;
  font-size: 15px; font-weight: 700; white-space: nowrap; transition: filter .2s;
}
.dl-main:hover, .dl-go:hover, .dl-qr:hover { filter: brightness(1.07); }
.dl-ic { width: 21px; height: 21px; flex-shrink: 0; }
.dl-qr, .dl-go {
  position: relative; flex: 0 0 46px; width: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 0 10px 10px 0; border-left: 1px solid rgba(255,255,255,.3);
  background: rgba(0,0,0,.12); cursor: pointer; padding: 0;
}
.dl-go { text-decoration: none; }
.dl-android { background: #1fc16b; }
.dl-android .dl-main { background: #1fc16b; }
.dl-apple { background: #4f8ef7; }
.dl-apple .dl-main { background: #4f8ef7; }
.dl-pc { background: #ffa030; }
.dl-pc .dl-main { background: #ffa030; }
/* hover 二维码弹层 */
.dl-pop {
  position: absolute; top: calc(100% + 12px); right: -10px; z-index: 40;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px; background: #fff; border-radius: 12px;
  box-shadow: 0 10px 34px rgba(0,0,0,.2);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.dl-pop::before {
  content: ''; position: absolute; top: -7px; right: 32px;
  border: 7px solid transparent; border-bottom-color: #fff; border-top: 0;
}
.dl-qr:hover .dl-pop, .dl-qr.on .dl-pop { opacity: 1; visibility: visible; transform: translateY(0); }
.dl-qrcode { display: flex; width: 156px; height: 156px; }
.dl-qrcode svg, .dl-qrcode canvas, .dl-qrcode img { width: 156px; height: 156px; display: block; }
.dl-qr-tip { font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.dl-qr-pwd { font-size: 12px; color: var(--gray); white-space: nowrap; }
.score-ring { position: relative; width: 92px; height: 92px; min-width: 92px; max-width: 92px; max-height: 92px; flex: 0 0 92px; overflow: hidden; }
.score-ring svg { width: 92px; height: 92px; display: block; transform: rotate(-90deg); }
.score-ring .sr-track { fill: none; stroke: #e6e6e6; stroke-width: 9; }
.score-ring .sr-bar {
  fill: none; stroke: #ff6a00; stroke-width: 9; stroke-linecap: round;
  transition: stroke-dashoffset .8s ease;
}
.score-ring .sr-num {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #ff6a00; font-weight: 800; line-height: 1; white-space: nowrap;
}
.score-ring .sr-num .sr-v { font-size: 28px; }
.score-ring .sr-num em { font-style: normal; font-size: 13px; font-weight: 600; margin-left: 2px; }
.download-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.btn-download {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 28px;
  border-radius: 22px; color: #fff; font-size: 15px; font-weight: 700;
  background: var(--primary-grad); box-shadow: 0 4px 12px rgba(7,193,96,.28);
  transition: transform .2s, box-shadow .2s;
}
.btn-download:hover {
  color: #fff; transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(7,193,96,.35);
}
.btn-download .extract-code {
  font-size: 12px; font-weight: 400; opacity: .92;
  background: rgba(255,255,255,.22); padding: 2px 8px; border-radius: 10px;
}
.section-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 18px; font-weight: 700; color: var(--ink); margin: 0 0 14px;
}
.section-title::before {
  content: ""; width: 5px; height: 18px; border-radius: 3px; background: var(--primary-grad);
}
/* 截图预览：左右箭头横滑条 */
.detail-shots .shot-box { position: relative; }
.shot-viewport {
  overflow-x: auto; overflow-y: hidden; scroll-behavior: smooth;
  -ms-overflow-style: none; scrollbar-width: none;
}
.shot-viewport::-webkit-scrollbar { display: none; }
.shot-track { display: flex; gap: 12px; padding: 4px 2px; }
.shot-thumb {
  position: relative; flex: 0 0 auto; width: 240px;
  border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid var(--line); background: #fafafa; cursor: zoom-in;
}
.shot-thumb img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block;
  transition: transform .3s;
}
.shot-thumb:hover img { transform: scale(1.05); }
.shot-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 38px; height: 38px; padding: 0; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,255,255,.95);
  color: #333; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.18); cursor: pointer;
  transition: opacity .2s, background .2s, color .2s, border-color .2s;
}
.shot-arrow svg { width: 22px; height: 22px; }
.shot-arrow:hover { color: #fff; background: var(--primary); border-color: var(--primary); }
.shot-prev { left: -10px; }
.shot-next { right: -10px; }
.shot-arrow[disabled] { opacity: 0; pointer-events: none; }

/* 截图大图灯箱 */
.shot-lb {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.9);
  display: none; align-items: center; justify-content: center;
}
.shot-lb.on { display: flex; animation: shotLbFade .18s ease; }
@keyframes shotLbFade { from { opacity: 0; } to { opacity: 1; } }
.shot-lb .lb-img {
  max-width: 92vw; max-height: 84vh; border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,.5); background: #111;
}
.shot-lb .lb-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.35);
  color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s;
}
.shot-lb .lb-arrow svg { width: 26px; height: 26px; }
.shot-lb .lb-arrow:hover { background: var(--primary); border-color: var(--primary); }
.shot-lb .lb-aprev { left: 24px; }
.shot-lb .lb-anext { right: 24px; }
.shot-lb .lb-close {
  position: absolute; top: 18px; right: 24px;
  width: 40px; height: 40px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.35);
  color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.shot-lb .lb-close:hover { background: var(--primary); border-color: var(--primary); }
.shot-lb .lb-count {
  position: absolute; top: 26px; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 14px; letter-spacing: 1px;
  background: rgba(0,0,0,.35); padding: 4px 14px; border-radius: 14px;
}
.content-body { font-size: 16px; color: var(--text); line-height: 36px; word-break: break-word; }
.content-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 8px auto; display: block; }
.content-body p { margin-bottom: 10px; }

/* 正文折叠：默认限高 + 底部渐隐遮罩 + 查看全文 */
.content-fold { position: relative; }
.content-fold .content-body {
  max-height: 900px; overflow: hidden;
  transition: max-height .45s cubic-bezier(.4,0,.2,1);
}
.cf-foot { display: none; }
.content-fold.is-foldable .cf-foot {
  display: flex; justify-content: center;
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 72px 0 2px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 58%);
  pointer-events: none;
}
.content-fold.is-open .cf-foot {
  position: static; padding: 16px 0 0;
  background: none; pointer-events: auto;
}
/* 现代胶囊按钮：白底橙描边，hover 橙渐变填充上浮，箭头翻转 */
.cf-btn {
  pointer-events: auto;
  display: inline-flex; align-items: center; gap: 7px;
  height: 42px; padding: 0 28px;
  border-radius: 999px; border: 1px solid #ffd2ad;
  background: #fff; color: #ff6a00;
  font-family: inherit; font-size: 14px; font-weight: 600; letter-spacing: .5px;
  box-shadow: 0 4px 16px rgba(255,106,0,.14);
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.cf-btn:hover {
  background: linear-gradient(135deg, #ff8a3d 0%, #ff6a00 100%);
  border-color: transparent; color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255,106,0,.30);
}
.cf-btn:active { transform: translateY(0); }
.cf-btn-ic { width: 16px; height: 16px; transition: transform .3s ease; }
.content-fold.is-open .cf-btn-ic { transform: rotate(180deg); }

/* 简介块：淡橙底提示框（标题与正文之间，橙色沿用评分环橙系） */
.detail-intro {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 16px; padding: 14px 16px;
  background: linear-gradient(135deg, #fff7ef 0%, #fff1e3 100%);
  border: 1px solid #ffe3c7; border-left: 4px solid #ff8a3d;
  border-radius: 10px;
}
.di-badge {
  flex: none; display: inline-flex; align-items: center;
  height: 24px; margin-top: 1px; padding: 0 10px;
  background: #ff8a3d; color: #fff; border-radius: 6px;
  font-size: 13px; font-weight: 700; font-style: normal; line-height: 1;
}
.di-text {
  margin: 0; min-width: 0; font-size: 14px; line-height: 1.8;
  color: #6b5d50; word-break: break-word;
}
.related-section .resource-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.resource-card .card-img {
  border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 1/1; background: #fafafa;
}
.resource-card .card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.resource-card a:hover .card-img img { transform: scale(1.06); }
.resource-card .card-info { padding: 8px 2px 0; }
.resource-card .card-info h3 {
  font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.4; margin: 0;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.resource-card a:hover h3 { color: var(--primary); }
.resource-card .card-meta { display: flex; gap: 8px; font-size: 12px; color: var(--gray-light); margin-top: 4px; }

@media (max-width: 1199px) {
  .related-section .resource-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 991px) {
  .detail-header { flex-direction: column; gap: 14px; align-items: stretch; }
  .detail-cover { flex: 0 0 auto; width: 150px; align-self: center; }
  .detail-action { flex: 0 0 auto; width: 100%; margin-left: 0; }
}
@media (max-width: 767px) {
  .detail-page .sec { padding: 14px; }
  .detail-header { flex-direction: column; gap: 14px; align-items: center; text-align: center; }
  .detail-cover { flex: 0 0 auto; width: 150px; }
  .detail-info { align-items: center; width: 100%; }
  .detail-meta { justify-content: center; }
  .detail-tags { gap: 8px; }
  .dt-row { justify-content: center; gap: 8px 10px; }
  .dt-label { font-size: 12px; }
  .dt-chip { height: 28px; padding: 0 14px; font-size: 12px; }
  .detail-intro { padding: 12px; gap: 10px; }
  .di-badge { height: 22px; padding: 0 9px; font-size: 12px; }
  .di-text { font-size: 13px; line-height: 1.7; }
  .content-fold .content-body { max-height: 600px; }
  .content-fold.is-foldable .cf-foot { padding-top: 60px; }
  .cf-btn { height: 38px; padding: 0 22px; font-size: 13px; }
  .detail-action { flex: 0 0 auto; width: 100%; margin-left: 0; }
  /* 手机端三个按钮竖排整行，保留图标+文字，便于点按 */
  .dl-row { flex-wrap: wrap; gap: 10px; }
  .dl-group { flex: 1 1 100%; max-width: none; height: 52px; }
  .dl-main { gap: 9px; padding: 0 12px; font-size: 17px; }
  .dl-ic { width: 25px; height: 25px; }
  .dl-qr, .dl-go { flex-basis: 54px; width: 54px; }
  /* 弹层与按钮右缘对齐向左展开：居中定位会让 184px 弹层右悬出视口（手机端横向滚动条根因） */
  .dl-pop { right: 0; left: auto; transform: translateY(-6px); }
  .dl-qr:hover .dl-pop, .dl-qr.on .dl-pop { transform: translateY(0); }
  .dl-pop::before { right: 20px; left: auto; margin-left: 0; }
  .download-buttons { justify-content: center; width: 100%; }
  .btn-download { width: 100%; justify-content: center; }
  .shot-thumb { width: 46vw; }
  .shot-prev { left: 2px; }
  .shot-next { right: 2px; }
  .shot-lb .lb-aprev { left: 8px; }
  .shot-lb .lb-anext { right: 8px; }
  .related-section .resource-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* =========================================================
   详情页 - 正文版块
   ========================================================= */
.detail-sec { background: #fff; border-radius: var(--radius-lg); padding: 16px; margin-top: 14px; }
.detail-sec .d-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 14px;
}
.detail-sec .d-head::before {
  content: ""; width: 5px; height: 18px; border-radius: 3px; background: var(--primary-grad);
}
.detail-sec h3 {
  font-size: 15px; color: var(--ink); margin: 16px 0 8px; font-weight: 700;
}
.detail-sec .rich { font-size: 14px; color: var(--text); line-height: 1.9; }
.detail-sec .rich p { margin-bottom: 8px; }
.detail-sec .rich img { max-width: 100%; border-radius: 8px; margin: 6px auto; display: block; }

/* 截图横向滚动 */
.shots { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.shots img {
  height: 200px; width: auto; max-width: 78vw;
  border-radius: 10px; border: 1px solid var(--line); flex-shrink: 0; object-fit: cover;
}

/* 信息表格 */
.info-table { width: 100%; font-size: 14px; }
.info-table td { padding: 9px 4px; border-bottom: 1px dashed var(--line); vertical-align: top; }
.info-table tr:last-child td { border-bottom: 0; }
.info-table .k { color: var(--gray); width: 88px; white-space: nowrap; }
.info-table .v { color: var(--ink); word-break: break-all; }
.info-table .v a { color: var(--primary); }

/* 版本列表 */
.ver-list li { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; transition: .2s; }
.ver-list li:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.ver-list li a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.ver-list img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.ver-list .vi { flex: 1; min-width: 0; }
.ver-list .vi .n { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }
.ver-list .vi .m { font-size: 12px; color: var(--gray); }
.ver-list .vi .m span { margin-right: 10px; }
.ver-list .dl-tag {
  flex-shrink: 0; font-size: 13px; color: #fff;
  background: var(--primary-grad); border-radius: 14px; padding: 4px 14px;
}

/* 上下篇 */
.pn-nav { display: grid; gap: 8px; margin-top: 14px; }
.pn-nav a {
  background: #fff; border-radius: var(--radius); padding: 12px 14px;
  color: var(--ink); font-size: 14px;
  display: flex; gap: 8px; align-items: center;
}
.pn-nav a:hover { color: var(--primary); }
.pn-nav .lab { color: var(--gray); flex-shrink: 0; }
.pn-nav .t { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* 资讯大列表 */
.zx-list { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; }
.zx-item { background: #fff; border-radius: var(--radius-lg); padding: 14px; display: flex; gap: 14px; }
.zx-thumb { flex-shrink: 0; display: block; }
.zx-thumb img {
  width: 160px; height: 110px; border-radius: 10px; object-fit: cover; display: block;
}
.zx-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.zx-info .zt {
  display: block; font-size: 18px;  color: var(--ink); margin-bottom: 6px;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.zx-info .zt:hover { color: var(--primary); }
.zx-info .desc {
  flex: 1; font-size: 14px; color: var(--gray); line-height: 1.7; margin: 0;
}
.zx-info .date {  font-size: 12px; color: var(--gray-light); }
/* 手机端：缩略图缩小，标题允许两行 */
@media (max-width: 767px) {
  .zx-thumb img { width: 108px; height: 78px; }
  .zx-info .zt { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

/* =========================================================
   资讯详情
   ========================================================= */
.article-head {
  background: #fff; border-radius: var(--radius-lg);
  text-align: center; padding: 26px 18px;
}
.article-head h1 { font-size: 22px; color: var(--ink); line-height: 1.5; }
.article-head .time { margin-top: 10px; font-size: 13px; color: var(--gray); }

.article-body { background: #fff; border-radius: var(--radius-lg); padding: 18px 16px; margin-top: 14px; }
.article-body .rich { font-size: 15px; line-height: 1.9; color: var(--text); }
.article-body .rich p { margin-bottom: 12px; }
.article-body .rich img { max-width: 100%; display: block; margin: 10px auto; border-radius: 8px; }
.article-body .rich h3 {
  font-size: 16px; color: var(--primary); margin: 18px 0 10px; font-weight: 700;
}

/* =========================================================
   专题页
   ========================================================= */
.zt-feat { position: relative; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 12px; }
.zt-feat img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.zt-feat .zt-cap {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 18px 16px;
  background: linear-gradient(transparent 40%, rgba(0,0,0,.7)); color: #fff;
}
.zt-feat .zt-cap h3 { font-size: 20px; margin-bottom: 4px; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.zt-feat .zt-cap p { font-size: 13px; opacity: .9; }
.zt-mini { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.zt-mini a { text-align: center; color: var(--ink); }
.zt-mini img {
  width: 100%; aspect-ratio: 1; border-radius: 12px; object-fit: cover;
  border: 1px solid var(--line); margin-bottom: 4px;
}
.zt-mini .n { font-size: 12px; display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* =========================================================
   Footer
   ========================================================= */
.site-foot { background: var(--footer-bg); color: #9a9a9a; margin-top: 30px; padding: 22px 0 30px; }
.site-foot .flinks {
  display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center;
   margin-bottom: 14px;
}
.site-foot .flinks .ft { color: #9a9a9a; font-weight: 700; font-size: 16px; }
.site-foot .flinks a { font-size: 14px; color: #9a9a9a; }
.site-foot .flinks a:hover { color: #fff; }
.site-foot .flogo { height: 30px; margin-bottom: 10px; opacity: .9; }
.site-foot .copy { font-size: 12px; line-height: 2; text-align: center; }
.site-foot .copy a { color: #9a9a9a; }
.site-foot .copy a:hover { color: #fff; }

/* 返回顶部 */
.back-top {
  position: fixed; right: 14px; bottom: 84px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,0,0,.16);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: .25s;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top svg { width: 20px; height: 20px; fill: currentColor; }

/* =========================================================
   资讯详情页：关联资源下载卡（正文上方）、相关资讯列表分隔线
   ========================================================= */
.nres-list { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; margin-bottom: 20px;  }
.nres-card {
  display: flex; align-items: center; gap: 14px;
  background: #F7F7F7; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 14px 16px; text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}
.nres-card:hover { border-color: #ff8a3d; box-shadow: 0 4px 16px rgba(255,106,0,.12); }
.nres-cover {
  flex: 0 0 auto; width: 84px; height: 84px; border-radius: 14px;
  border: 1px solid var(--line); object-fit: cover; background: #f6f7f9;
}
.nres-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.nres-tit { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.nres-tit h3 {
  margin: 0; font-size: 17px; font-weight: 700; color: var(--ink);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.nres-ver { flex-shrink: 0; font-size: 13px; color: var(--gray); }
.nres-tag {
  flex-shrink: 0; font-size: 12px; line-height: 18px; padding: 0 7px; border-radius: 4px;
  color: #ff6a00; background: #fff1e6; border: 1px solid #ffd9b8;
}
/* 星级：灰色底星 + 橙色按评分比例覆盖 */
.nres-stars {
  position: relative; display: inline-block; align-self: flex-start;
  font-size: 15px; line-height: 1; letter-spacing: 2px; color: #dfe1e5;
}
.nres-stars::before { content: "★★★★★"; }
.nres-stars i {
  position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap;
  font-style: normal; color: #ff9500;
}
.nres-stars i::before { content: "★★★★★"; }
.nres-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; color: var(--gray); }
.nres-meta b { font-weight: 600; color: var(--ink); }
.nres-meta .nres-score { color: #ff6a00; }
.nres-btn {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 26px; border-radius: 8px;
  background: linear-gradient(135deg, #ff8a3d, #ff6a00); color: #fff;
  font-size: 15px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(255,106,0,.22);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.nres-card:hover .nres-btn { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,106,0,.3); filter: brightness(1.03); }
/* 相关资讯：卡片式网格（区别于右侧栏「资讯攻略」的纯文字列表） */
.rn-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.rn-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 12px;
  background: #f7f8fa; border: 1px solid transparent;
  transition: background .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.rn-item:hover {
  background: #fff; border-color: rgba(7, 193, 96, .45);
  box-shadow: 0 6px 18px rgba(7, 193, 96, .12); transform: translateY(-2px);
}
.rn-no {
  flex: none; width: 24px; height: 24px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; font-style: italic;
  color: var(--primary); background: var(--primary-soft);
  transition: color .2s, background .2s;
}
.rn-item:hover .rn-no { color: #fff; background: var(--primary-grad); }
.rn-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.rn-t {
  font-size: 15px; color: var(--ink); transition: color .2s;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.rn-item:hover .rn-t { color: var(--primary); }
.rn-d { font-size: 12px; color: var(--gray-light); font-variant-numeric: tabular-nums; }
.rn-arrow {
  flex: none; width: 16px; height: 16px; color: var(--primary);
  opacity: 0; transform: translateX(-4px);
  transition: opacity .2s, transform .2s;
}
.rn-item:hover .rn-arrow { opacity: 1; transform: translateX(0); }

/* 相关专题：复用专题列表页卡片版式（封面+黑条标题日期+简介+资源缩略图），
   侧栏内一行一个铺满，资源缩略图改一行两个（专题列表页仍是一行四个） */
.szt-list { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; }
.szt-item { border-color: var(--line); }
.szt-item .zt-cover-title { font-size: 14px; }
.szt-item .zt-item-body { padding: 10px 12px 12px; }
.szt-item .zt-item-desc { font-size: 13px; margin-bottom: 12px; }
.szt-item-res { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.szt-item-res .zt-res-item img { max-width: 84px; }
.szt-item-res .zt-res-item span { width: 100%; text-align: center; font-size: 13px; }

/* =========================================================
   专题详情页「专题内资源」：沿用 category 列表卡片（.soft-list/.soft-card 的完整版式），
   但该页左栏含右侧栏后宽度有限（桌面约 820px），沿用 category 的 3 列会把
   卡片内 meta 行挤成省略号（"系统工具 ｜ 69…"），因此固定为桌面 2 列 / 手机・平板单列
   ========================================================= */
.soft-list.tres-list { grid-template-columns: minmax(0,1fr); }

/* 专题详情页左栏「相关专题」：复用专题列表页的 .zt-item 卡片（.szt-item 修饰），
   左栏宽度约 820px，桌面一行 3 个；手机・平板单列（.szt-list 基类即单列） */
@media (min-width: 1200px) {
  .szt-list.td-list { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
/* 该区块内的资源图标比专题列表页更小：最大宽高 60px（专题列表页 72px / 资讯详情侧栏 84px） */
.szt-list.td-list .zt-res-item img { max-width: 60px; max-height: 60px; }

@media (max-width: 767px) {
  .nres-card { flex-wrap: wrap; gap: 12px; padding: 12px; }
  /* 封面与信息必须同排：info 的 flex-basis 必须为 0。
     基类里 flex: 1 1 auto 会按 max-content（长标题 + 一行 meta）算基准宽度，
     手机上放不下就整块换到下一行，导致封面独占一行、右侧一大片留白 */
  .nres-info { flex: 1 1 0; gap: 6px; }
  .nres-cover { width: 64px; height: 64px; border-radius: 12px; }
  .nres-tit h3 { font-size: 15px; }
  .nres-stars { font-size: 13px; }
  .nres-meta { font-size: 12px; gap: 2px 12px; }
  .nres-btn { flex: 1 0 100%; height: 38px; padding: 0; font-size: 14px; border-radius: 10px; }
  .rn-list { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .rn-item { padding: 11px 12px; gap: 10px; }
  .rn-t { font-size: 14px; }
  .rn-arrow { display: none; }
  .szt-list { gap: 12px; }
  .szt-item-res .zt-res-item img { max-width: 96px; }
}

/* =========================================================
   动画
   说明：已移除 .anim 入场动画（fadeUp），避免切换页面时
   卡片出现上移抖动，页面内容即时稳定呈现。
   ========================================================= */

/* =========================================================
   ===============  响应式：平板 ≥768px  ====================
   ========================================================= */
/* —— 防撑破加固：grid/flex 子项允许收缩，避免 nowrap 文本与横向滚动区把页面撑宽 —— */
.page-body > *, .soft-list > *, .zx-list > *, .zt-links > *, .side > *,
.pn-nav > *, .intro-card .btns > *, .side-g2 > *, .app-grid > *, .zt-grid > *,
.news-grid > *, .zt-mini > *, .detail-top > *, .hero > *,
.home-duo > *, .detail-sec, .intro-card, .media, .zt-item > * {
  min-width: 0;
}
.ell, .pn-nav .t, .side-news .t, .zt-links li a .t, .soft-card .meta h3,
.soft-card .meta .row, .soft-card .meta, .ver-list .vi, .info-table .v {
  min-width: 0;
}

/* 手机端*/
@media (max-width: 767px) {
  .logo img { height: 30px; width: auto; }
  .flinks { display: none!important;}
  .zt-list { grid-template-columns: minmax(0,1fr); gap: 12px; }
}

@media (min-width: 768px) {
  .container { padding: 0 20px; }
  .app-grid { grid-template-columns: repeat(6, minmax(0,1fr)); }
  .zt-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .zt-list { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .zt-links { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .zt-mini { grid-template-columns: repeat(6, minmax(0,1fr)); }

  .soft-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .related-list { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .zx-list { grid-template-columns: minmax(0,1fr); }

  .side-g2 { grid-template-columns: repeat(3, minmax(0,1fr)); }

  .intro-card .kv { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .intro-card .btns { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .shots img { height: 260px; }
  .rank-list { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .rank-list img { width: 72px; height: 72px; }

  /* 详情页 hero + 侧栏推荐 */
  .detail-top { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 14px; align-items: stretch; }
  .rec-card .daily-row { flex-direction: column; }
  .rec-card .daily-row a { display: flex; align-items: center; gap: 10px; flex: none; text-align: left; }
  .rec-card .daily-row img { margin: 0; width: 52px; height: 52px; }
  .rec-card .daily-row .rc-info { flex: 1; min-width: 0; }
  .rec-card .daily-row .d-name { width: auto; }
  .rec-card .daily-row .d-view { margin-top: 2px; }
  .rec-card .news-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }

  .page-body { grid-template-columns: minmax(0,1fr) 300px; }
  .side { position: sticky; top: calc(var(--header-h) + 12px); }

  .article-head { padding: 34px 30px; }
  .article-body { padding: 26px 30px; }

  .site-foot .copy { 
    text-align: center;
    font-size: 16px;
    line-height: 2;
    color: #9a9a9a;
  }
  .site-foot .copy .copyright { 
    text-align: center;
    display: block;
    padding: 15px 25px;
    background: rgba(0, 0, 0, .08);
    overflow: hidden;
    border-radius: 10px;
  }
  .back-top { bottom: 30px; }
}

/* =========================================================
   ===============  响应式：桌面 ≥1200px  ===================
   ========================================================= */
@media (min-width: 1200px) {
  :root { --header-h: 88px; }

  /* 桌面导航布局 */
  .nav-toggle, .search-toggle, .pill-nav, .m-search { display: none; }
  .main-nav { display: block; margin: 0 auto; }
  .main-nav li a { padding: 10px 22px; font-size: 18px; }
  .main-nav li.current::after { bottom: -14px; }
  .head-search { display: flex; width: 230px; }
  .logo { margin-right: 6px; }

  /* 桌面首页：每日好游一排横排（轮播已移除） */
  .hero { padding-top: 16px; }

  .daily { margin-top: 0; }
  .daily-card { display: flex; flex-direction: column; }
  .daily-row { overflow: visible; flex: 1; align-items: center; }
  .daily-row a { flex: 1; }
  .daily-row .d-name { margin: 0 auto; }

  /* 首页两栏资讯（轮播 + 列表卡片） */
  .news-grid { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); }
  .nf-nav { display: flex; }
  .sec-card { padding: 20px 16px; }
  .news-list-card { padding: 8px 26px; }
  .news-list-card .feat .ft { font-size: 20px; }

  .sec-head h2 { font-size: 20px;width:auto; }
  .sec-head h2 .ico { width: 36px; height: 36px; border-radius: 11px; }

  .app-grid { grid-template-columns: repeat(8, minmax(0,1fr)); gap: 24px 14px; }
  .zt-list { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .app-grid p { font-size: 16px; }

  /* 标题行内文字标签（当前项高亮 + "/" 分隔） */
  .sec-head .tab-bar { flex: 1 1 auto; order: 0; margin: 0 4px 0 24px; overflow-x: visible; justify-content: flex-start; }
  .sec-head .tab-bar span { position: relative; padding: 4px 16px; background: none; box-shadow: none; border-radius: 0; font-size: 15px; color: var(--gray); }
  .sec-head .tab-bar span + span::before { content: "/"; position: absolute; left: -4px; color: var(--gray-light); }
  .sec-head .tab-bar span:hover { color: var(--primary); }
  .sec-head .tab-bar span.current { background: none; box-shadow: none; color: var(--primary); font-weight: 700; }
  .soft-list { grid-template-columns: repeat(3, minmax(0,1fr)); }
  /* 专题详情页「专题内资源」左栏较窄，桌面固定两列（见文件前部 .tres-list 说明） */
  .soft-list.tres-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .zt-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .zt-links { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .zt-mini { grid-template-columns: repeat(8, minmax(0,1fr)); }

  /* 首页双栏：排行 + 侧栏推荐位 */
  .home-duo { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px; }
  .rank-list { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .rank-list img { width: 84px; height: 84px; }

  /* 内页 */
  .page-body { grid-template-columns: minmax(0,1fr) 320px; gap: 20px; }

  /* 详情页 */
  .detail-top { grid-template-columns: minmax(0,1fr) 300px; }
  .intro-card { padding: 22px 26px; }
  .intro-card .row1 { gap: 18px; }
  .intro-card .icon { width: 110px; height: 110px; border-radius: 22px; }
  .intro-card h1 { font-size: 24px; }
  .intro-card .kv { font-size: 14px; gap: 6px; }
  .intro-card .btns { margin-top: 0; grid-template-columns: minmax(0,1fr); width: 170px; flex-shrink: 0; }
  .intro-card .row1 { flex-wrap: nowrap; }
  .intro-card .info { order: 0; }
  .rate-badge {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    flex-shrink: 0; width: 110px; align-self: center;
  }
  .rate-badge .medal {
    width: 74px; height: 74px; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #ffe08a, #ffb800 70%);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px rgba(255, 184, 0, .4);
    position: relative;
  }
  .rate-badge .medal::after {
    content: "✓"; color: #fff; font-size: 34px; font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,.15);
  }
  .rate-badge .rt { margin-top: 8px; font-size: 14px; color: var(--ink); }
  .rate-badge .rt em { color: var(--gold); font-size: 22px; font-weight: 700; font-style: normal; }

  .shots img { height: 300px; }
  .detail-sec, .article-body, .zx-item, .soft-card { padding: 22px 26px; }
  .article-head h1 { font-size: 28px; }
  .article-body .rich { font-size: 16px; }

  .crumb { font-size: 14px; padding-top: 14px; }
}

/* 超宽屏微调 */
@media (min-width: 1440px) {
  :root { --container: 1280px; }
}

/* 深色模式跟随系统（保持品牌色的柔和暗色） */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101214;
    --fill: #1d2023;
    --line: #2a2e33;
    --ink: #e8e8e8;
    --text: #c9c9c9;
    --gray: #8a8f94;
    --gray-light: #5c6268;
    --footer-bg: #17191c;
  }
  .app-grid img, .daily-row img, .side-g2 img, .rank-list img,
  .side-rank img, .soft-card .top img, .intro-card .icon, .ver-list img,
  .zt-mini img, .shots img, .filter-chips a img {
    border-color: var(--line);
  }
  .news-list-card li, .side-news li,
  .info-table td, .intro-card .tip { border-color: var(--line); }
  .filter-chips a, .tab-bar span, .pagecode a, .pagecode span,
  .rank-list li, .news-grid .news-list-card, .daily-card, .side-card,
  .filter-card, .soft-card, .zx-item, .detail-sec, .article-body,
  .article-head, .intro-card, .pn-nav a, .ver-list li,
  .sec-card {
    background: #191c1f;
  }
  .slider-dots span { background: rgba(255,255,255,.35); }
  .back-top { background: #23262a; }
  
}

/* =========================================================
   首页 - 资讯攻略文字网格：窄屏自适应
   ========================================================= */
@media (max-width: 1100px) {
  .news-pic-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .news-text-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .news-pic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .news-pic-grid .cap { font-size: 12px; padding: 16px 6px 5px; }
  .news-text-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
}
@media (max-width: 480px) {
  /* .news-text-grid { grid-template-columns: minmax(0, 1fr); } */
  .filter-chips {grid-template-columns: repeat(3, minmax(0, 1fr));display: grid;}
  .filter-chips a {  padding: 7px 8px;}
  .filter-chips a img { width: 20px; height: 20px; border-radius: 3px; }
  .news-text-grid a { font-size: 14px; padding: 10px 0 10px 14px; }
}
