/* ============================================================
   安卓频道 /android/ 四类页面样式（频道总页 / 子频道 / 列表 / 内容）
   复用 style.css 的 :root 变量；类名统一 and- 前缀，避免污染其他页面
   ============================================================ */

/* ---------- 公共：页头卡 ---------- */
.and-pagehead { margin: 14px 0 0; padding: 22px 26px; background: linear-gradient(135deg, var(--green-soft), #fff 62%), #fff; border: 1px solid var(--soft-line); border-radius: var(--radius); }
.and-pagehead h1 { margin: 0; font-size: 24px; font-weight: 700; color: var(--ink); }
.and-pagehead h1::after { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--green); margin-top: 8px; }
.and-pagehead p { margin: 10px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.8; }
.and-pagehead .cnt { display: inline-block; margin-left: 12px; vertical-align: 5px; font-size: 12px; font-weight: 400; color: var(--green-dark); background: #fff; border: 1px solid #bbf7d0; border-radius: 12px; padding: 3px 12px; }
/* 页头语义图标：左侧标题文案 + 右侧频道图标，垂直居中对齐 */
.and-pagehead--ico { display: flex; align-items: center; gap: 24px; }
.and-pagehead__body { flex: 1 1 auto; min-width: 0; }

/* 频道总页页头：左文案 + 右双入口 */
.and-pagehead--channel { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.and-pagehead__lead { flex: 1; min-width: 320px; }
.and-entry { display: flex; gap: 14px; }
.and-entry a { display: flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: var(--radius); font-weight: 600; font-size: 16px; transition: transform .18s ease, box-shadow .18s ease; }
.and-entry a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.and-entry .and-entry__app { background: var(--green-soft); color: var(--green-dark); border: 1px solid #cdeadb; }
.and-entry .and-entry__game { background: #fff7e8; color: #b45309; border: 1px solid #f5e0b8; }
.and-entry__ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.and-entry__app .and-entry__ico { background: var(--green); }
.and-entry__game .and-entry__ico { background: #f59e0b; }
.and-entry__ico svg { width: 22px; height: 22px; }
.and-entry small { display: block; font-size: 11px; font-weight: 400; color: var(--faint); margin-top: 2px; }

/* ---------- 公共：分类胶囊条（不吸顶，仅顶部搜索行吸顶） ---------- */
.and-catbar { position: static; z-index: 30; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.and-catbar a { padding: 6px 15px; border-radius: 999px; font-size: 13px; color: var(--muted); transition: color .15s ease, background-color .15s ease; }
.and-catbar a:hover { color: var(--green-dark); background: var(--green-soft); }
.and-catbar a.is-on { background: var(--green); color: #fff; font-weight: 600; }

/* ---------- 公共：两栏布局 ---------- */
.and-layout { display: flex; gap: 20px; margin-top: 20px; margin-bottom: 24px; align-items: flex-start; }
.and-main { flex: 1; min-width: 0; }
.and-side { width: 300px; flex-shrink: 0; }

/* ---------- 公共：内容区块卡 ---------- */
.and-sec { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 20px; }
.and-sec__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.and-sec__head h2 { font-size: 17px; font-weight: 700; color: var(--ink); padding-left: 12px; border-left: 4px solid var(--green); }
.and-sec__head h2.is-game { border-left-color: #f59e0b; }
.and-sec__head .more { font-size: 13px; color: var(--faint); }
.and-sec__head .more:hover { color: var(--green-dark); }
.and-sec > h2 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 16px; padding-left: 12px; border-left: 4px solid var(--green); }

/* ---------- 公共：应用商店式卡片网格 ---------- */
.and-appgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.and-appcard { display: flex; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.and-appcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #cdeadb; }
.and-appcard__ico { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: #f1f4f3; box-shadow: 0 1px 5px rgba(17, 24, 39, .10); }
.and-appcard__t { min-width: 0; }
.and-appcard__t b { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .15s ease; }
.and-appcard__t span { font-size: 11.5px; color: var(--faint); }
.and-appcard__tags, .and-appcard__go { display: none; }
.and-appcard:hover .and-appcard__t b { color: var(--green-dark); }

/* 频道总页：竖排商店卡（图标在上，居中，悬停出下载按钮） */
.and-store-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.and-storecard { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 14px; text-align: center; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.and-storecard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cdeadb; }
.and-storecard__ico { width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 10px; object-fit: cover; background: #f1f4f3; box-shadow: 0 2px 8px rgba(17, 24, 39, .10); }
.and-storecard h3 { font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.and-storecard__meta { font-size: 12px; color: var(--faint); margin-top: 3px; }
.and-storecard__meta b { color: var(--green-dark); font-weight: 500; }
.and-storecard__dl { margin-top: 10px; display: inline-block; padding: 5px 22px; border-radius: 999px; border: 1px solid var(--green); color: var(--green-dark); font-size: 13px; transition: color .15s ease, background-color .15s ease; }
.and-storecard:hover .and-storecard__dl { background: var(--green); color: #fff; }
.and-storecard__new { position: absolute; top: 10px; right: 10px; background: #ef4444; color: #fff; font-size: 10px; padding: 1px 7px; border-radius: 999px; }

/* 分类速达胶囊 */
.and-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.and-cats a { padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--muted); background: #fff; transition: color .15s ease, border-color .15s ease, background-color .15s ease; }
.and-cats a:hover { border-color: var(--green); color: var(--green-dark); background: var(--green-soft); }
.and-cats--game a:hover { border-color: #f59e0b; color: #b45309; background: #fff7e8; }

.and-note { border: 1px dashed #cdeadb; background: var(--green-soft); border-radius: var(--radius); padding: 12px 16px; font-size: 12.5px; color: var(--green-dark); margin-bottom: 20px; }

/* ---------- 列表页：资源行 ---------- */
.and-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.and-row { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); transition: background-color .15s ease; }
.and-row:last-child { border-bottom: 0; }
.and-row:hover { background: #fafcfb; }
.and-row__ico { width: 56px; height: 56px; border-radius: 14px; flex-shrink: 0; object-fit: cover; background: #f1f4f3; box-shadow: 0 1px 6px rgba(17, 24, 39, .10); }
.and-row__info { flex: 1; min-width: 0; }
.and-row__name { display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 600; color: var(--ink); transition: color .15s ease; }
.and-row:hover .and-row__name { color: var(--green-dark); }
.and-row__new { background: #ef4444; color: #fff; font-size: 10px; font-weight: 600; padding: 1px 7px; border-radius: 999px; }
.and-row__desc { font-size: 12.5px; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.and-row__tags { margin-top: 7px; display: flex; flex-wrap: wrap; gap: 6px; }
.and-row__tags i { font-style: normal; font-size: 11px; color: var(--muted); background: #f1f4f3; padding: 1px 9px; border-radius: 999px; }
.and-row__right { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.and-row__size { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; color: var(--faint); min-width: 72px; text-align: right; }
.and-row__dl { padding: 8px 24px; border-radius: 999px; border: 1px solid var(--green); color: var(--green-dark); font-size: 13.5px; font-weight: 600; white-space: nowrap; transition: color .15s ease, background-color .15s ease; }
.and-row:hover .and-row__dl { background: var(--green); color: #fff; }

/* ---------- 内容页：Hero ---------- */
.and-hero { display: flex; gap: 26px; margin-top: 14px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.and-hero__ico { width: 110px; height: 110px; border-radius: 26px; object-fit: cover; flex-shrink: 0; background: #f1f4f3; box-shadow: 0 6px 18px rgba(17, 24, 39, .14); }
.and-hero__info { flex: 1; min-width: 0; }
.and-hero__info h1 { font-size: 23px; font-weight: 700; color: var(--ink); }
.and-hero__sub { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.and-params { display: grid; grid-template-columns: repeat(4, auto); gap: 9px 34px; margin-top: 16px; font-size: 13px; justify-content: start; }
.and-params div { color: var(--ink); }
.and-params span { color: var(--faint); margin-right: 6px; }
.and-params a { color: var(--link); }
.and-params a:hover { color: var(--link-hover); }
.and-hero__actions { display: flex; align-items: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
/* 三个操作按钮：等高等宽，仅颜色不同 */
.and-act { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 48px; min-width: 134px; padding: 0 22px; border: 0; border-radius: 10px; font-size: 15px; font-weight: 600; color: #fff; cursor: pointer; transition: background-color .18s ease, box-shadow .18s ease; }
.and-act svg { width: 18px; height: 18px; flex-shrink: 0; }
.and-act--dl { background: var(--green); box-shadow: 0 6px 16px rgba(22, 163, 74, .26); }
.and-act--dl:hover { background: var(--green-dark); }
.and-act--pc { background: #2563eb; box-shadow: 0 6px 16px rgba(37, 99, 235, .22); }
.and-act--pc:hover { background: #1d4ed8; }
.and-act--report { background: #ea7a17; box-shadow: 0 6px 16px rgba(234, 122, 23, .22); }
.and-act--report:hover { background: #c2630f; }
.and-act--off { background: #cbd5d1; color: #fff; cursor: not-allowed; box-shadow: none; }
.and-hero__count { font-size: 12px; color: var(--faint); margin-left: 2px; }
/* 扫码区 */
.and-qr { flex-shrink: 0; text-align: center; border: 1px dashed #cdeadb; background: var(--green-soft); border-radius: var(--radius); padding: 14px 18px; }
.and-qr img { width: 112px; height: 112px; border-radius: 8px; margin: 0 auto 8px; background: #fff; padding: 6px; }
.and-qr b { display: block; font-size: 13px; color: var(--green-dark); }
.and-qr span { font-size: 11px; color: var(--muted); }

/* ---------- 内容页：锚点导航（不吸顶，仅顶部搜索行吸顶） ---------- */
.and-anchorbar { position: static; z-index: 30; display: flex; overflow-x: auto; margin-top: 16px; padding: 0 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.and-anchorbar a { flex: 0 0 auto; white-space: nowrap; padding: 13px 22px; font-size: 14.5px; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; transition: color .15s ease, border-color .15s ease; }
.and-anchorbar a.is-active, .and-anchorbar a:hover { color: var(--green-dark); border-bottom-color: var(--green); }

/* ---------- 内容页：正文 ---------- */
.and-article p { margin: 0 0 13px; font-size: 14.5px; line-height: 1.9; color: var(--text); }
.and-article h3 { font-size: 15.5px; font-weight: 700; margin: 18px 0 10px; color: var(--green-dark); }
.and-article img { max-width: 100%; height: auto; border-radius: 8px; margin: 8px 0; }
.and-article a { color: #087B3A; text-decoration: underline; text-underline-offset: 3px; }
.and-article a:hover { color: #0B8F45; }

/* 应用截图复用全局 .cover-grid--single 轮播（与电脑软件/单机游戏一致），此处不再单独定义 */

/* ---------- 内容页：相关推荐 ---------- */
.and-relgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.and-relcard { display: flex; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.and-relcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #cdeadb; }
.and-relcard img { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: #f1f4f3; }
.and-relcard__t { min-width: 0; }
.and-relcard__t b { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .15s ease; }
.and-relcard__t span { font-size: 11.5px; color: var(--faint); }
.and-relcard:hover .and-relcard__t b { color: var(--green-dark); }

/* ---------- 内容页：相关文章 ---------- */
.and-newslist { display: grid; grid-template-columns: 1fr; gap: 0; }
.and-newsitem { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 7px 0; color: var(--ink); }
.and-newsitem::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green); flex: 0 0 auto; }
.and-newsitem span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; transition: color .15s ease; }
.and-newsitem:hover span { color: var(--green-dark); }

/* ---------- 侧栏：排行 ---------- */
.and-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 20px; }
.and-panel h2, .and-panel h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 12px; padding-left: 10px; border-left: 4px solid var(--green); }
.and-panel h3.is-game { border-left-color: #f59e0b; }
.and-panel .box-title { display: flex; align-items: center; justify-content: space-between; }
.and-panel .box-title h2, .and-panel .box-title h3 { margin-bottom: 0; }
.and-rank { list-style: none; margin: 0; padding: 0; }
.and-rank li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.and-rank li:last-child { border-bottom: 0; }
.and-rank__no { width: 20px; height: 20px; border-radius: 6px; background: #eef1f3; color: var(--faint); font-size: 12px; font-weight: 700; display: grid; place-items: center; flex-shrink: 0; }
.and-rank li:nth-child(1) .and-rank__no { background: #ef4444; color: #fff; }
.and-rank li:nth-child(2) .and-rank__no { background: #f97316; color: #fff; }
.and-rank li:nth-child(3) .and-rank__no { background: #f59e0b; color: #fff; }
.and-rank__ico { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; flex-shrink: 0; background: #f1f4f3; }
.and-rank__t { flex: 1; min-width: 0; }
.and-rank__t b { display: block; font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .15s ease; }
.and-rank__t span { font-size: 11px; color: var(--faint); }
.and-rank li:hover b { color: var(--green-dark); }

/* ---------- 侧栏：装机必备推广卡 ---------- */
.and-promo { background: linear-gradient(135deg, var(--green), var(--green-dark)); border-radius: var(--radius); padding: 20px; color: #fff; margin-bottom: 20px; }
.and-promo h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.and-promo p { font-size: 12px; opacity: .85; margin-bottom: 12px; }
.and-promo a { display: inline-block; background: #fff; color: var(--green-dark); font-weight: 600; font-size: 13px; padding: 7px 20px; border-radius: 999px; }

/* 分页复用全局 .pager.xz-pager（含 .total 隐藏规则），此处不再单独定义 */
/* 浮动「顶部/底部」导航已迁至全局 footer + style.css 的 .xz-railnav，全站通用 */

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .and-layout { flex-direction: column; align-items: stretch; }
  .and-side { width: 100%; }
  .and-hero { flex-wrap: wrap; }
  .and-appgrid, .and-store-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .and-params { grid-template-columns: repeat(2, auto); }
  .and-relgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .and-pagehead--channel .and-entry { width: 100%; }
  .and-row__desc { display: none; }
}
@media (max-width: 640px) {
  .and-appgrid, .and-store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* 手机应用/手机游戏频道页：窄屏每个子分类一款一行 */
  .and-appgrid { grid-template-columns: 1fr; }
  .and-relgrid { grid-template-columns: 1fr; }
  .and-hero { padding: 20px; }
  .and-hero__ico { width: 80px; height: 80px; border-radius: 20px; }
  .and-qr { display: none; }
  .and-entry a { flex: 1; justify-content: center; }
  .and-anchorbar a { padding: 12px 14px; font-size: 13.5px; }
  .and-newslist { grid-template-columns: 1fr; }
  /* 手机应用/手机游戏列表：一行一款，标题一行，版本/大小/语言一行 */
  .and-row { padding: 12px 12px; gap: 8px; align-items: center; overflow: hidden; }
  .and-row__ico { width: 56px; height: 56px; border-radius: 14px; }
  .and-row__info { flex: 1 1 0; width: 0; min-width: 0; }
  .and-row__name { display: block; overflow: hidden; font-size: 15px; white-space: nowrap; text-overflow: ellipsis; }
  .and-row__size { display: none; }
  .and-row__tags { flex-wrap: nowrap; gap: 3px; margin-top: 6px; overflow: hidden; max-width: 100%; }
  .and-row__tags i { padding: 1px 4px; font-size: 10px; white-space: nowrap; }
  .and-row__dl { padding: 6px 10px; font-size: 12px; }
  .and-params { grid-template-columns: 1fr 1fr; }
  /* 频道页应用卡片：移动端与列表行一致：左图标、标题与标签、右侧查看详情 */
  .and-appcard { flex-direction: row; align-items: center; gap: 8px; padding: 12px 12px; overflow: hidden; }
  .and-appcard__ico { width: 56px; height: 56px; border-radius: 14px; }
  .and-appcard__t { flex: 1 1 0; width: 0; min-width: 0; }
  .and-appcard__t b { display: block; overflow: hidden; font-size: 15px; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; -webkit-line-clamp: unset; -webkit-box-orient: unset; }
  .and-appcard__meta { display: none; }
  .and-appcard__tags { display: flex; flex-wrap: nowrap; gap: 3px; margin-top: 6px; overflow: hidden; }
  .and-appcard__tags i { padding: 1px 4px; font-size: 10px; font-style: normal; color: var(--muted); white-space: nowrap; background: #f1f4f3; border-radius: 999px; }
  .and-appcard__go { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 6px 10px; border: 1px solid var(--green); border-radius: 999px; color: var(--green-dark); font-size: 12px; font-weight: 600; white-space: nowrap; }
  /* 移动端列表按钮文案统一为“查看”（放在末尾覆盖上方字号） */
  .and-row__dl, .and-appcard__go { font-size: 0; }
  .and-row__dl::after, .and-appcard__go::after { content: "查看"; font-size: 12px; line-height: 1; }
}
/* 移动端：分类胶囊条改为等宽网格，全部展示且对齐规整 */
@media (max-width: 760px) {
  .and-catbar {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 6px;
    overflow-x: visible;
    padding: 10px 12px;
  }
  .and-catbar::-webkit-scrollbar { display: none; }
  .and-catbar a { white-space: nowrap; padding: 6px 4px; font-size: 12.5px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .and-appcard, .and-storecard, .and-relcard, .and-entry a { transition: none; }
  .and-appcard:hover, .and-storecard:hover, .and-relcard:hover, .and-entry a:hover { transform: none; }
}

/* ---------- Android detail polish ---------- */
#android-show-page .and-layout {
  gap: 14px;
  margin-top: 12px;
  margin-bottom: 16px;
}

#android-show-page .and-sec {
  margin-bottom: 12px;
  padding: 18px 20px;
}

#android-show-page .and-hero {
  margin-top: 10px;
  padding: 24px;
}

#android-show-page .and-hero__actions {
  gap: 10px;
  margin-top: 16px;
}

#android-show-page .and-act {
  height: 42px;
  min-width: 126px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: none;
  font-weight: 700;
}

#android-show-page .and-act--dl {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}

#android-show-page .and-act--dl:hover {
  background: #15803d;
  border-color: #15803d;
}

#android-show-page .and-act--pc {
  background: #fff;
  border-color: rgba(22, 163, 74, .55);
  color: #15803d;
}

#android-show-page .and-act--pc:hover {
  background: #eaf8f0;
  border-color: #16a34a;
  color: #15803d;
}

#android-show-page .and-act--report {
  background: #fff;
  border-color: #dde3e0;
  color: #94a3b8;
}

#android-show-page .and-act--report:hover {
  background: #fef2f2;
  border-color: rgba(220, 38, 38, .32);
  color: #dc2626;
}

#android-show-page .and-hero__count {
  color: #94a3b8;
}

#android-show-page .and-anchorbar {
  margin-top: 10px;
  padding: 0 8px;
}

#android-show-page .and-anchorbar a {
  padding: 11px 20px;
}

#android-show-page .and-article {
  padding-top: 18px;
}

#android-show-page .xz-buy-box {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
  padding: 18px 20px;
}

#android-show-page .xz-buy-box__title {
  margin-bottom: 8px;
}

#android-show-page .xz-buy-box__feats {
  gap: 5px 20px;
}

#android-show-page .xz-buy-box__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 140px;
}

#android-show-page .xz-buy-box__action .xz-buy-btn {
  min-height: 46px;
  padding: 10px 24px;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #ea7a0c);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(234, 122, 12, .22);
}

#android-show-page .xz-buy-box__action .xz-buy-btn:hover {
  color: #fff;
  filter: brightness(.96);
}

#android-show-page .xz-buy-box__action .xz-buy-btn--coupon {
  color: #15803d;
  background: #fff;
  border: 1px solid rgba(22, 163, 74, .35);
  box-shadow: none;
}

#android-show-page .xz-buy-box__action .xz-buy-btn--coupon:hover {
  color: #15803d;
  background: #eaf8f0;
}

#android-show-page #download {
  padding: 20px 24px 24px;
}

#android-show-page #download > h2 {
  padding-left: 0;
  border-left: 0;
  margin-bottom: 18px;
  font-size: 24px;
  line-height: 1.25;
}

#android-show-page #download .and-download-grid,
#android-show-page #download .xz-download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

#android-show-page #download .xz-download-card {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #f7fffb, #fff);
  border: 1px solid #bbf7d0;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

#android-show-page #download .xz-download-card:hover {
  border-color: #bbf7d0;
  background: linear-gradient(135deg, #f0fdf4, #fff);
  box-shadow: 0 10px 24px rgba(22, 163, 74, .08);
}

#android-show-page #download .xz-download-card--local {
  background: linear-gradient(135deg, #f0fdf4, #fff);
}

#android-show-page #download .xz-download-card.is-off {
  color: #94a3b8;
  background: #f8fafc;
  box-shadow: none;
}

#android-show-page #download .xz-disk-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

#android-show-page #download .xz-disk-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  background: #2563eb;
  font-size: 15px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}

#android-show-page #download .xz-disk-icon--local {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}

#android-show-page #download .xz-download-card.is-off .xz-disk-icon {
  color: #94a3b8;
  background: #e2e8f0;
}

#android-show-page #download .xz-disk-icon::before {
  content: attr(data-icon);
}

#android-show-page #download .xz-disk-icon--local::before,
#android-show-page #download .xz-download-card.is-off .xz-disk-icon::before {
  content: none;
}

#android-show-page #download .xz-disk-info {
  min-width: 0;
}

#android-show-page #download .xz-disk-info strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#android-show-page #download .xz-disk-info span {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 5px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

#android-show-page #download .xz-disk-code em {
  color: var(--green-dark);
  font-style: normal;
  font-weight: 800;
}

#android-show-page #download .xz-disk-action {
  flex: 0 0 auto;
  min-width: 112px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: #fff;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

#android-show-page #download .xz-disk-action:hover {
  color: #fff;
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-1px);
}

#android-show-page #download .xz-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 9px;
  color: #b91c1c;
  background: #fee2e2;
  border: 0;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

#android-show-page #download .xz-copy-btn:hover {
  background: #fecaca;
}

#android-show-page #download .xz-copy-btn.is-copied {
  color: #15803d;
  background: #dcfce7;
}

#android-show-page #download .and-dl-tips {
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px dashed #dbe4ea;
  text-align: center;
  display: grid;
  gap: 12px;
  justify-items: center;
}

#android-show-page #download .and-dl-tips .xz-dl-tip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 14px;
}

#android-show-page #download .and-dl-tips .xz-dl-tip strong {
  color: var(--ink);
  font-size: 18px;
  letter-spacing: .02em;
}

#android-show-page #download .xz-copy-btn--password {
  min-height: 30px;
  padding: 0 13px;
  color: #dc2626;
  background: #fee2e2;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 980px) {
  #android-show-page .and-layout {
    gap: 12px;
  }
}

@media (max-width: 760px) {
  #android-show-page .xz-buy-box {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  #android-show-page .xz-buy-box__action {
    align-items: stretch;
    min-width: 0;
  }

  #android-show-page .xz-buy-box__action .xz-buy-btn {
    width: 100%;
  }

  #android-show-page #download .and-download-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #android-show-page #download .xz-download-card {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
  }

  #android-show-page #download .xz-disk-main {
    gap: 10px;
  }

  #android-show-page #download .xz-disk-action {
    width: 100%;
  }
}

@media (max-width: 640px) {
  #android-show-page .and-hero {
    padding: 18px;
  }

  #android-show-page .and-act {
    flex: 1 1 128px;
  }

  #android-show-page .and-anchorbar {
    margin-top: 8px;
  }

  #android-show-page .and-anchorbar a {
    padding: 10px 14px;
  }

  #android-show-page .and-sec {
    padding: 16px;
  }
}

/* Editorial subheadings, consistent with software and game details. */
#android-show-page #showContent h3 {
  margin: 28px 0 14px;
  padding: 0 0 10px 12px;
  border: 0;
  border-left: 3px solid #12a34a;
  border-bottom: 1px solid #dce5df;
  background: transparent;
  color: #08783e;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
#android-show-page #showContent h3::before,
#android-show-page #showContent h3::after { content: none; }

/* Android portrait screenshots; other channels keep their single-image gallery. */
#android-show-page .android-gallery {
  display: grid;
  grid-template-columns: repeat(var(--gallery-columns, 1), minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  padding: 0 32px;
  align-items: center;
  max-width: 840px;
}
#android-show-page .android-gallery img {
  width: 100%;
  min-width: 0;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  margin: 0;
}
#android-show-page .android-gallery .cover-nav { width: 28px; height: 36px; }
#android-show-page .android-gallery .cover-nav--prev { left: 0; }
#android-show-page .android-gallery .cover-nav--next { right: 0; }
#android-show-page .android-gallery .cover-nav[hidden] { display: none; }
#android-show-page .android-gallery.android-gallery--single img {
  height: auto;
  max-height: 560px;
  object-fit: contain;
}
@media (max-width: 640px) {
  #android-show-page .android-gallery { padding: 0 30px; gap: 8px; }
  #android-show-page .android-gallery img { height: auto; max-height: 560px; }
}

/* 列表页右侧：应用/游戏合集推荐（10 个，单列，带序号） */
.and-colls { padding: 0; overflow: hidden; }
.and-colls .box-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px 10px; }
.and-colls .box-title h2 { margin: 0; font-size: 16px; }
.and-colls__more { color: #64748b; font-size: 12px; text-decoration: none; }
.and-colls__list { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0 14px 10px; list-style: none; }
.and-colls__list li { border-bottom: 1px dashed var(--line); }
.and-colls__list li:last-child { border-bottom: 0; }
.and-colls__list a { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 0; background: transparent; color: #1f2937; text-decoration: none; }
.and-colls__list a:hover { color: var(--green-dark); }
.and-colls__no { flex: 0 0 20px; width: 20px; height: 20px; border-radius: 6px; background: #eef1f3; color: var(--faint); font-size: 11px; font-style: normal; font-weight: 700; line-height: 20px; text-align: center; }
.and-colls__list img { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 9px; object-fit: cover; background: #eef2f5; }
.and-colls__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.and-colls__name { font-size: 13px; font-weight: 600; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.and-colls__desc { font-size: 11px; line-height: 1.4; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.and-colls__meta { flex: 0 0 auto; font-size: 11px; color: #94a3b8; }

/* 移动端：详情页锚点导航紧凑排布，隐藏已合并到头部按钮的下载地址入口 */
@media (max-width: 760px) {
  #android-show-page .and-anchorbar {
    display: flex;
    gap: 2px;
    overflow-x: visible;
    padding: 0 4px;
  }
  #android-show-page .and-anchorbar a {
    flex: 1 1 auto;
    padding: 10px 4px;
    font-size: 12px;
    text-align: center;
  }
  #android-show-page .and-anchorbar a[href="#download"] {
    display: none;
  }
}
