/* ============================================================
   移动端主题 · 与 PC 新版同风格
   蓝 #2B7DE1 + 白卡 + 12px 圆角
   ============================================================ */
:root {
  --m-blue: #2B7DE1;
  --m-blue-dark: #1E68C4;
  --m-blue-light: #EBF3FA;
  --m-orange: #FCA51A;
  --m-bg: #F4F6F9;
  --m-text: #222222;
  --m-gray: #555555;
  --m-light: #888888;
  --m-border: #EAEAEA;
}

html, body { background: var(--m-bg); }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--m-text);
  font-size: 14px;
  -webkit-text-size-adjust: 100%;
}
a, a:visited { color: var(--m-gray); }
img { border: 0; }

/* ---------- 顶部：搜索栏 ---------- */
.g-head-full { background: var(--m-blue); padding: 8px 12px; align-items: center; }
.g-head-full .u-logo { width: 78px; margin: 0; }
.g-head-full .m-search-box { height: 32px; border-radius: 16px; margin-left: 10px; }
.g-head-full .m-search-box i { margin: 7px 0 0 10px; }
.g-head-full .m-search-box .keyword_input { height: 30px; line-height: 30px; font-size: 13px; margin-left: 8px; }

/* ---------- 顶部：导航 ---------- */
.g-nav-box { background: #fff; box-shadow: 0 1px 0 var(--m-border); }
.g-nav-box a { height: 44px; line-height: 44px; font-size: 15px; color: var(--m-gray); }
.g-nav-box a.f-hover { color: var(--m-blue); font-weight: 600; }
.g-nav-box a i { background: var(--m-blue); width: 20px; height: 3px; border-radius: 2px; }

/* 吸顶 */
.g-nav-box.m-nav-float { position: fixed; top: 0; left: 0; right: 0; z-index: 999; box-shadow: 0 4px 14px rgba(0, 0, 0, .1); }
#downAddress.m-nav-float {
  position: fixed; left: 0; right: 0; top: 44px; z-index: 998;
  margin: 0; padding: 8px 12px; background: #fff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .08); box-sizing: border-box;
}

/* ---------- 卡片 ---------- */
.g-white-box {
  background: #fff;
  border-radius: 12px;
  margin: 10px 12px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .03);
}
.g-white-box + .g-white-box { margin-top: 10px; }

/* ---------- 区块标题 ---------- */
.u-title {
  display: flex;
  align-items: center;
  height: auto;
  line-height: 1.4;
  padding: 14px 14px 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--m-text);
}
.u-title i {
  float: none;
  width: 4px;
  height: 15px;
  border-radius: 2px;
  background: var(--m-blue);
  margin: 0 8px 0 0;
}
.u-title a { float: none; margin-left: auto; font-size: 12px; font-weight: 400; color: var(--m-light); }

/* ---------- 下载信息 ---------- */
.g-game-msg { padding-bottom: 14px; }

.m-msg-top { display: flex; padding: 14px 14px 0; }
.m-msg-top .u-img {
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  border-radius: 18px;
  border: 1px solid var(--m-border);
  object-fit: cover;
}
.m-msg-top span { flex: 1; min-width: 0; margin: 0 0 0 12px; }
.m-msg-top span h1 {
  float: none;
  height: auto;
  margin: 2px 0 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--m-text);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.m-msg-top span p {
  float: none;
  height: 18px;
  line-height: 18px;
  margin: 3px 0 0;
  font-size: 12px;
  color: var(--m-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m-msg-top span p em { color: var(--m-gray); font-style: normal; }

/* 下载按钮 */
.m-down-ul { display: flex; gap: 10px; margin: 14px 14px 0; padding: 0; }
.m-down-ul li { width: 100%; float: none; padding: 0; }
.m-down-ul li a {
  display: block;
  height: 42px;
  line-height: 42px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  background: var(--m-blue);
  box-shadow: 0 4px 12px rgba(43, 125, 225, .28);
}
.m-down-ul li a:active { background: var(--m-blue-dark); }
.m-down-ul li .ios_button {
  background: #fff;
  color: var(--m-blue);
  border: 1px solid var(--m-blue);
  line-height: 40px;
  box-shadow: none;
}

/* ---------- 截图 ---------- */
#g-down-gameprevimg {
  height: auto;
  padding: 12px 14px 0;
  background: transparent;
  margin: 0;
}
.g-previmg-ul {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
}
.g-previmg-ul::-webkit-scrollbar { display: none; }
.g-previmg-ul li { flex: 0 0 auto; margin: 0; }
.g-previmg-ul li img {
  display: block;
  width: auto;
  max-width: 240px;
  max-height: 320px;
  border-radius: 10px;
  border: 1px solid var(--m-border);
}

/* ---------- 正文 ---------- */
.g-main-box { padding: 4px 14px 14px; }
.g-main-box p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--m-gray);
}
.g-main-box p img { margin: 6px auto; border-radius: 8px; }
.g-main-box h3 {
  margin: 18px 0 0;
  padding-left: 10px;
  border-left: 3px solid var(--m-blue);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--m-text);
}

/* ---------- 猜你喜欢（专题分栏） ---------- */
#g-keyword { border-bottom: 0; margin-top: 10px; padding-bottom: 14px; }
#g-keyword .g-game-recomd { margin: 0; background: transparent; }
#g-keyword .g-game-recomd > strong { display: none; }

.g-keyword-btn {
  display: flex;
  gap: 8px;
  height: auto;
  padding: 12px 14px 0;
  border: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}
.g-keyword-btn::-webkit-scrollbar { display: none; }
.g-keyword-btn li { flex: 0 0 auto; width: auto; height: auto; padding: 0; position: static; }
.g-keyword-btn li b {
  display: block;
  height: 30px;
  line-height: 30px;
  padding: 0 14px;
  border-radius: 15px;
  background: #F4F6F9;
  font-size: 13px;
  font-weight: 400;
  color: var(--m-gray);
  border: 0;
}
.g-keyword-btn .m-hover b { background: var(--m-blue); color: #fff; }
.g-keyword-btn li i { display: none; }

.g-keyword-cont dl { padding: 12px 14px 0; }
.g-keyword-cont dl dd {
  height: auto;
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--m-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.g-keyword-cont dl .g-keyword-info {
  position: static;
  padding: 10px 0 0;
  text-align: right;
  background: transparent;
}
.g-keyword-cont dl .g-keyword-info b {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 14px;
  background: var(--m-blue-light);
  color: var(--m-blue);
  font-size: 12px;
}
.g-keyword-cont ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 10px;
  padding: 12px 14px 0;
}
.g-keyword-cont ul li { width: auto; float: none; padding: 0; }
.g-keyword-cont ul li a img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 14px;
  object-fit: cover;
}
.g-keyword-cont ul li a strong {
  height: 18px;
  line-height: 18px;
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--m-gray);
}

/* ---------- 应用信息 ---------- */
.g-white-box .appMeta { padding: 4px 14px 10px; font-size: 13px; color: var(--m-gray); }
.g-white-box .appMeta li {
  height: auto;
  line-height: 1.6;
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px dashed var(--m-border);
  white-space: normal;
  word-break: break-all;
}
.g-white-box .appMeta li:last-child { border-bottom: 0; }
.g-white-box .appMeta li em { display: inline; width: auto; color: var(--m-light); }

/* ---------- 人气排行 ---------- */
.g-hot-rank1 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 10px;
  padding: 12px 14px 4px;
}
.g-hot-rank1 li { width: auto; float: none; padding: 0; }
.g-hot-rank1 li a { padding: 0; text-align: center; }
.g-hot-rank1 li a i {
  position: static;
  display: inline-block;
  width: 20px;
  height: 20px;
  line-height: 20px;
  margin: 0 0 6px;
  border-radius: 6px;
  background: var(--m-orange);
  color: #fff;
  font-size: 12px;
}
.g-hot-rank1 li:nth-child(2) a i { background: #FFB455; }
.g-hot-rank1 li:nth-child(3) a i { background: #FFC97F; }
.g-hot-rank1 li a .u-img {
  width: 62px;
  height: 62px;
  min-height: 0;
  margin: 0 auto;
  border-radius: 16px;
  object-fit: cover;
}
.g-hot-rank1 li a strong {
  height: 18px;
  line-height: 18px;
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--m-text);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.g-hot-rank1 li a b { height: 16px; line-height: 16px; margin: 2px 0 0; font-size: 11px; color: var(--m-light); }
.g-hot-rank1 li a em {
  width: auto;
  height: 24px;
  line-height: 24px;
  margin: 6px auto 0;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--m-blue-light);
  color: var(--m-blue);
  font-size: 12px;
}

.g-hot-rank2 { margin: 8px 14px 12px; border-top: 1px dashed var(--m-border); }
.g-hot-rank2 a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--m-border);
}
.g-hot-rank2 a:last-child { border-bottom: 0; }
.g-hot-rank2 a i {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  line-height: 20px;
  border-radius: 6px;
  background: #F1F3F6;
  color: var(--m-light);
  font-size: 12px;
}
.g-hot-rank2 a .u-img {
  width: 46px;
  height: 46px;
  margin: 0;
  border-radius: 12px;
  object-fit: cover;
}
.g-hot-rank2 a span { flex: 1; min-width: 0; margin: 0; }
.g-hot-rank2 a span strong {
  height: 20px;
  line-height: 20px;
  margin: 0;
  font-size: 14px;
  color: var(--m-text);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.g-hot-rank2 a span img { height: 11px; margin: 4px 0 0; }
.g-hot-rank2 a span b {
  height: 16px;
  line-height: 16px;
  margin: 4px 0 0;
  font-size: 11px;
  color: var(--m-light);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.g-hot-rank2 a em {
  flex: 0 0 auto;
  width: auto;
  height: 28px;
  line-height: 28px;
  margin: 0;
  padding: 0 14px;
  border-radius: 14px;
  background: var(--m-blue-light);
  color: var(--m-blue);
  font-size: 12px;
}

/* ---------- 底部 ---------- */
.g-foot-full {
  height: auto;
  line-height: 1.8;
  padding: 16px 12px 26px;
  background: transparent;
  font-size: 12px;
  color: var(--m-light);
}
.g-foot-full a { color: var(--m-light); padding: 0 6px; }
/* ============================================================
   修正：卡片横向溢出（旧 downinfo.css 的 width:100% + 左右 margin）
   ============================================================ */
.g-white-box { width: auto; box-sizing: border-box; }
.g-white-box * { box-sizing: border-box; }

/* 兜底：禁止整页横向拖动（不影响卡片内部的横滑区） */
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
/* ---------- 下载条吸顶占位块 ---------- */
.m-down-ph { display: block; width: 100%; }

/* ---------- 顶部信息区：加大留白 ---------- */
.g-nav-box + .g-white-box { margin-top: 12px; }      /* 卡片与导航拉开 */
.g-game-msg { padding-bottom: 16px; }
.m-msg-top { padding: 18px 14px 0; }                 /* 图标距卡片上沿 18px */
.m-msg-top span { margin-left: 14px; }               /* 图标与文字间距 */
.m-msg-top span h1 { margin: 0 0 10px; line-height: 1.45; }
.m-msg-top span p { margin: 6px 0 0; }               /* 两行参数之间更透气 */
.m-down-ul { margin: 16px 14px 0; }

/* ============================================================
   下载信息卡片（提升选择器优先级，压过 downinfo.css）
   ============================================================ */
.g-game-msg { padding: 0 0 16px; }

.g-game-msg .m-msg-top { display: flex; padding: 18px 14px 0; }

.g-game-msg .m-msg-top .u-img {
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  border-radius: 18px;
  border: 1px solid var(--m-border);
  object-fit: cover;
}

.g-game-msg .m-msg-top span {
  flex: 1;
  min-width: 0;
  margin: 0 0 0 14px;
}

.g-game-msg .m-msg-top span h1 {
  float: none;
  height: auto;
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--m-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.g-game-msg .m-msg-top span p {
  float: none;
  height: 18px;
  line-height: 18px;
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--m-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.g-game-msg .m-msg-top span p em { color: var(--m-gray); font-style: normal; }

/* 下载按钮 */
/* 下载按钮：宽度必须 auto，否则旧 CSS 的 width:100% + margin 会溢出 */
#downAddress {
  width: auto;
  box-sizing: border-box;
  display: flex;
  gap: 10px;
  margin: 16px 14px 0;
  padding: 0;
}

#downAddress li { width: 100%; padding: 0; float: none; }

#downAddress li a {
  display: block;
  height: 44px;
  line-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--m-blue);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 12px rgba(43, 125, 225, .28);
}

/* 吸顶态同样要 auto，否则 left:0;right:0 + padding 又溢出 */
#downAddress.m-nav-float {
  width: auto;
  left: 0;
  right: 0;
  top: 44px;
  margin: 0;
  padding: 8px 14px;
  background: #fff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .08);
}
#downAddress li .ios_button {
  background: #fff;
  color: var(--m-blue);
  border: 1px solid var(--m-blue);
  line-height: 40px;
  box-shadow: none;
}

/* ============================================================
   列表页：分类条 + 条目 + 加载提示
   ============================================================ */

/* ---------- 分类条（横向可滑） ---------- */
ul.g-nav2-box {
  display: flex;
  gap: 8px;
  margin: 10px 0 0;
  padding: 10px 12px;
  background: #fff;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .03);
}
ul.g-nav2-box::-webkit-scrollbar { display: none; }
ul.g-nav2-box li { flex: 0 0 auto; width: auto; padding: 0; float: none; }
ul.g-nav2-box li a {
  display: block;
  height: 30px;
  line-height: 30px;
  padding: 0 14px;
  border-radius: 15px;
  background: #F4F6F9;
  font-size: 13px;
  color: var(--m-gray);
  white-space: nowrap;
}
ul.g-nav2-box li.f-hover a {
  background: var(--m-blue);
  color: #fff;
  font-weight: 600;
}

/* ---------- 列表条目 ---------- */
.g-white-box .g-hot-rank2 { margin: 0; padding: 0 14px; border-top: 0; }
.g-white-box .g-hot-rank2 a { padding: 12px 0; }
.g-white-box .g-hot-rank2 a:first-child { padding-top: 14px; }
.g-white-box .g-hot-rank2 a:last-child { border-bottom: 0; }
.g-white-box .g-hot-rank2 a .u-img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
}
.g-white-box .g-hot-rank2 a span { gap: 2px; }
.g-white-box .g-hot-rank2 a span strong { margin-bottom: 2px; }

/* ---------- 加载提示 ---------- */
.u-loading-text {
  display: block;
  padding: 16px 0 26px;
  text-align: center;
  font-size: 13px;
  color: var(--m-light);
}

/* ============================================================
   列表页条目：加大行距、信息分层
   ============================================================ */
.m-list { margin: 0; padding: 0 14px; border-top: 0; }

.m-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--m-border);
}
.m-list a:last-child { border-bottom: 0; }

.m-list a .u-img {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
}

/* 文字区：标题独占一行，分类与大小日期排第二行 */
.m-list a span {
  flex: 1;
  min-width: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 8px;
  row-gap: 6px;
}

.m-list a span strong {
  flex: 0 0 100%;
  height: auto;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--m-text);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.m-list a span b {
  display: inline-block;
  height: auto;
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--m-light);
  white-space: nowrap;
}

/* 第一个 b 是分类，做成浅灰小标签 */
.m-list a span b:first-of-type {
  padding: 1px 8px;
  border-radius: 4px;
  background: #F4F6F9;
  font-size: 11px;
  color: var(--m-gray);
}

.m-list a span font { color: #F44336; }

/* 右侧下载按钮 */
.m-list a em {
  flex: 0 0 auto;
  width: auto;
  height: 30px;
  line-height: 30px;
  margin: 0;
  padding: 0 16px;
  border-radius: 15px;
  background: var(--m-blue-light);
  color: var(--m-blue);
  font-size: 13px;
}
/* ============================================================
   文章内容页
   ============================================================ */

/* ---------- 文章卡片 ---------- */
.m-article { padding: 16px 14px; }

.m-article-title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--m-text);
}

.m-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--m-border);
  font-size: 12px;
  color: var(--m-light);
}

/* ---------- 正文 ---------- */
.m-article .g-main-box { padding: 0; }

.m-article .g-main-box p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--m-gray);
}
.m-article .g-main-box img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 10px auto;
  border-radius: 8px;
}
.m-article .g-main-box h3 {
  margin: 18px 0 0;
  padding-left: 10px;
  border-left: 3px solid var(--m-blue);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--m-text);
}
.m-article .g-main-box a { color: var(--m-blue); }
.m-article .g-main-box ul,
.m-article .g-main-box ol {
  margin: 12px 0 0;
  padding-left: 22px;
}
.m-article .g-main-box ul { list-style: disc; }
.m-article .g-main-box ol { list-style: decimal; }
.m-article .g-main-box li {
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--m-gray);
}
.m-article .g-main-box blockquote {
  margin: 12px 0 0;
  padding: 10px 12px;
  background: #F7F9FC;
  border-left: 3px solid var(--m-blue-light);
  font-size: 14px;
  line-height: 1.8;
  color: var(--m-gray);
}
.m-article .g-main-box table { max-width: 100%; border-collapse: collapse; }
.m-article .g-main-box td,
.m-article .g-main-box th {
  border: 1px solid var(--m-border);
  padding: 6px 8px;
  font-size: 13px;
}

/* ---------- 最新更新列表 ---------- */
.g-news-cms { padding: 4px 14px 12px; }

.g-news-cms a {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--m-border);
}
.g-news-cms a:last-child { border-bottom: 0; }

.g-news-cms a .u-img {
  flex: 0 0 auto;
  width: 108px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
}
.g-news-cms a span {
  flex: 1;
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.g-news-cms a span strong {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--m-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.g-news-cms a span b {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 400;
  color: var(--m-light);
}
/* ============================================================
   首页
   ============================================================ */

/* ---------- 轮播（自带最简 Swiper 结构样式） ---------- */
.g-ppt-box { margin: 10px 12px 0; border-radius: 12px; overflow: hidden; }

.g-index-ppt { position: relative; overflow: hidden; aspect-ratio: 2 / 1; }
.g-index-ppt .swiper-wrapper { display: flex; width: 100%; height: 100%; }
.g-index-ppt .swiper-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.g-index-ppt .swiper-slide img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.g-index-ppt .swiper-slide strong {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 12px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .75));
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.g-index-ppt .swiper-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  z-index: 10;
  text-align: center;
}
.g-index-ppt .swiper-pagination-bullet {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .55);
}
.g-index-ppt .swiper-pagination-bullet-active { width: 16px; background: #fff; }

/* ---------- 图标网格（8 个，4 列） ---------- */
.m-hotgame-cont {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 10px;
  padding: 12px 14px 14px;
}
.m-hotgame-cont li { min-width: 0; }
.m-hotgame-cont a { display: block; text-align: center; }
.m-hotgame-cont .u-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 16px;
  border: 1px solid var(--m-border);
  object-fit: cover;
}
.m-hotgame-cont strong {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 400;
  color: var(--m-gray);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ---------- 专题合集（4 个，2 列大图） ---------- */
.m-keyword-cont {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px 14px 14px;
}
.m-keyword-cont li { min-width: 0; }
.m-keyword-cont a { display: block; position: relative; border-radius: 10px; overflow: hidden; }
.m-keyword-cont .u-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
.m-keyword-cont strong {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 10px 8px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .75));
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-align: left;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ---------- 友情链接 ---------- */
.g-friend-link { padding: 4px 14px 14px; font-size: 13px; color: var(--m-light); }

/* ---------- 备案号（原模板是内联蓝底，这里压掉） ---------- */
.foot_txt {
  background: transparent !important;
  padding: 0 0 22px;
  margin: 0 !important;
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
}
.foot_txt a { color: var(--m-light) !important; font-size: 12px; }
/* ============================================================
   专题列表页
   ============================================================ */

/* ---------- 专题卡片（2 列） ---------- */
.m-zt-cont {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 10px;
  padding: 12px 14px 14px;
}
.m-zt-cont li { min-width: 0; }
.m-zt-cont a { display: block; }
.m-zt-cont a img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  border: 1px solid var(--m-border);
  object-fit: cover;
}
.m-zt-cont a strong {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--m-text);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.m-zt-cont li p {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--m-light);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ---------- 分页 ---------- */
.list-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 16px 12px 4px;
}
.list-pager a,
.list-pager b,
.list-pager span {
  display: inline-block;
  min-width: 34px;
  height: 34px;
  line-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--m-border);
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  color: var(--m-gray) !important;
  text-align: center;
}
.list-pager a:hover,
.list-pager b {
  background: var(--m-blue);
  border-color: var(--m-blue);
  color: #fff !important;
}
/* ============================================================
   专题内容页
   ============================================================ */

/* ---------- 面包屑 ---------- */
.g-guide-box {
  height: auto;
  line-height: 1.6;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--m-light);
}
.g-guide-box i { display: none; }
.g-guide-box a { color: var(--m-light); }

/* ---------- 专题头部 ---------- */
.g-key-introduction { padding: 0 0 14px; }

.g-key-introduction > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  background: #F2F4F7;
}
.g-key-introduction h1 {
  margin: 14px 14px 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--m-text);
}
.g-key-introduction .m-excerpt { margin: 0 14px; }
.g-key-introduction .m-excerpt p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--m-light);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* ---------- 推荐列表 ---------- */
.g-day-recomd { padding: 4px 14px 6px; }

.g-day-recomd a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--m-border);
}
.g-day-recomd a:last-child { border-bottom: 0; }

.g-day-recomd a .u-img {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid var(--m-border);
  object-fit: cover;
}

.g-day-recomd a span { flex: 1; min-width: 0; margin: 0; }

.g-day-recomd a span strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--m-text);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.g-day-recomd a span b {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--m-light);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.g-day-recomd a em {
  flex: 0 0 auto;
  height: 30px;
  line-height: 30px;
  padding: 0 14px;
  border-radius: 15px;
  background: var(--m-blue-light);
  color: var(--m-blue);
  font-size: 13px;
  font-weight: 600;
}