/* ============================================================
   单机游戏频道/列表/内容页（2026pc）
   复用 style.css 的 :root 变量；类名统一 xzg- 前缀，避免污染其他页面
   ============================================================ */

/* ---------- 公共：页头（渐变卡片，借鉴软件列表 xz-listing-hero） ---------- */
.xzg-pagehead { margin: 14px 0 4px; padding: 20px 24px; background: linear-gradient(135deg, var(--green-soft), #fff 62%), #fff; border: 1px solid var(--soft-line); border-radius: 12px; }
.xzg-pagehead h1 { margin: 0; font-size: 26px; font-weight: 700; color: var(--ink); }
.xzg-pagehead h1::after { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--green); margin-top: 8px; }
.xzg-pagehead .xzg-desc { margin: 10px 0 0; color: var(--muted); font-size: 14px; max-width: 880px; }
.xzg-pagehead .xzg-cnt { display: inline-block; margin-left: 12px; vertical-align: 6px; font-size: 12px; font-weight: 400; color: var(--green-dark); background: #fff; border: 1px solid #bbf7d0; border-radius: 12px; padding: 3px 12px; }
/* 页头语义图标：左侧标题文案 + 右侧频道图标，垂直居中对齐 */
.xzg-pagehead--ico { display: flex; align-items: center; gap: 24px; }
.xzg-pagehead__body { flex: 1 1 auto; min-width: 0; }

/* ---------- 公共：分类胶囊导航（频道页/列表页，不吸顶，仅顶部搜索行吸顶） ---------- */
.xzg-catnav { position: static; z-index: 30; background: var(--bg); padding: 12px 0; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.xzg-catnav a { padding: 6px 15px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: 13px; transition: color .2s ease, border-color .2s ease; }
.xzg-catnav a:hover { color: var(--green-dark); border-color: var(--green); }
.xzg-catnav a.is-active { background: var(--green); border-color: var(--green); color: #fff; font-weight: 600; }
.xzg-sort { display: flex; align-items: center; gap: 0; margin: 0 0 0 auto; padding: 0; list-style: none; font-size: 12px; }
.xzg-sort::before { content: "排序："; color: var(--faint); }
.xzg-sort li { margin-left: 12px; color: var(--muted); cursor: pointer; transition: color .2s ease; }
.xzg-sort li:first-child { margin-left: 4px; }
.xzg-sort li:hover { color: var(--green-dark); }
.xzg-sort li.is-active { color: var(--green-dark); font-weight: 600; }

/* ---------- 频道页：热门海报墙 ---------- */
.xzg-hotwall { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; margin-top: 10px; }
.xzg-poster { position: relative; border-radius: 10px; overflow: hidden; background: #dfe5e8; aspect-ratio: 122/163; min-width: 0; box-shadow: 0 1px 2px rgba(22, 37, 29, .05); transition: transform .22s ease, box-shadow .22s ease; }
.xzg-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xzg-poster .xzg-pn { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 7px; font-size: 12px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.xzg-poster:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(22, 37, 29, .12); }
.xzg-hotflag { position: absolute; top: 6px; left: 6px; background: #f59e0b; color: #fff; font-size: 10px; padding: 1px 7px; border-radius: 8px; z-index: 1; }

/* ---------- 频道页：分类区块 ---------- */
.xzg-sec-title { display: flex; align-items: center; gap: 10px; margin: 26px 0 14px; font-size: 18px; font-weight: 700; color: var(--ink); }
.xzg-sec-title::before { content: ""; width: 5px; height: 18px; border-radius: 3px; background: var(--green); }
.xzg-sec-title em { font-style: normal; font-size: 12px; font-weight: 400; color: var(--faint); }
.xzg-sec-title .more-link { margin-left: auto; }
.xzg-secgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.xzg-secgrid .xzg-sec-title { margin-top: 18px; }
.xzg-gamerow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.xzg-gcard { display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; min-width: 0; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.xzg-gcard:hover { transform: translateY(-4px); border-color: #cde3d4; box-shadow: 0 10px 24px rgba(22, 37, 29, .10); }
.xzg-gcover { aspect-ratio: 122/120; overflow: hidden; background: #dfe5e8; }
.xzg-gcover img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .3s ease; }
.xzg-gcard:hover .xzg-gcover img { transform: scale(1.05); }
.xzg-gbody { padding: 10px 12px 12px; }
.xzg-gn { font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s ease; }
.xzg-gcard:hover .xzg-gn { color: var(--green-dark); }
.xzg-gmeta { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11.5px; color: var(--faint); }
.xzg-gmeta .xzg-dl { color: var(--green-dark); font-weight: 600; }

/* ---------- 频道页：攻略区 ---------- */
.xzg-newsgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 8px; }
.xzg-newspanel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; min-width: 0; }
.xzg-newspanel h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 16px; font-weight: 700; color: var(--ink); }
.xzg-newspanel h2::before { content: ""; width: 4px; height: 15px; border-radius: 2px; background: var(--green); }
.xzg-newspanel h2 .more-link { margin-left: auto; font-size: 12px; font-weight: 400; }
.xzg-newslead { display: flex; gap: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); margin-bottom: 8px; min-width: 0; }
.xzg-newslead > span { min-width: 0; }
.xzg-newslead img { width: 128px; height: 84px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.xzg-newslead .xzg-nt { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.5; color: var(--ink); transition: color .2s ease; }
.xzg-newslead:hover .xzg-nt { color: var(--green-dark); }
.xzg-newslead .xzg-nd { display: block; font-size: 12px; color: var(--faint); margin-top: 6px; }
.xzg-newsitem { display: flex; gap: 8px; align-items: center; padding: 6.5px 0; font-size: 13px; color: var(--muted); transition: color .2s ease; }
.xzg-newsitem::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #cdd5da; flex-shrink: 0; }
.xzg-newsitem:hover { color: var(--green-dark); }
.xzg-newsitem span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 列表页：资源行卡片 ---------- */
.xzg-list { display: flex; flex-direction: column; gap: 12px; }
.xzg-item { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.xzg-item:hover { transform: translateY(-2px); border-color: #cde3d4; box-shadow: 0 10px 24px rgba(22, 37, 29, .10); }
.xzg-item:hover .xzg-iname { color: var(--green-dark); }
.xzg-ithumb { flex-shrink: 0; width: 86px; height: 114px; border-radius: 8px; overflow: hidden; background: #dfe5e8; }
.xzg-ithumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xzg-ibody { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.xzg-iname { font-size: 16px; font-weight: 600; color: var(--ink); transition: color .2s ease; }
.xzg-isub { font-size: 12px; color: var(--muted); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xzg-itags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.xzg-tag { font-size: 11px; border-radius: 8px; padding: 1px 9px; background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.xzg-tag--cn { background: var(--green-soft); color: var(--green-dark); border-color: transparent; }
.xzg-imeta { display: flex; align-items: center; gap: 18px; margin-top: auto; padding-top: 10px; font-size: 12px; color: var(--faint); }
.xzg-imeta b { color: var(--muted); font-weight: 600; }
.xzg-idl { margin-left: auto; align-self: center; flex-shrink: 0; border: 1px solid var(--green); color: var(--green-dark); border-radius: 18px; padding: 7px 24px; font-size: 13px; transition: background-color .2s ease, color .2s ease; }
.xzg-item:hover .xzg-idl { background: var(--green); color: #fff; }
.xzg-new { display: inline-block; font-size: 10px; color: #fff; background: #f59e0b; border-radius: 8px; padding: 1px 7px; margin-left: 8px; vertical-align: 3px; }

/* ---------- 内容页：资源 Hero ---------- */
.xzg-hero { display: flex; gap: 26px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin-top: 14px; }
.xzg-hcover { flex-shrink: 0; width: 240px; }
.xzg-hcover img { width: 100%; border-radius: 10px; display: block; background: #dfe5e8; }
.xzg-hbody { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.xzg-hbody h1 { margin: 0; font-size: 23px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.xzg-tagline { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.xzg-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 24px; margin-top: 16px; font-size: 13px; }
.xzg-specs .xzg-s { color: var(--faint); }
.xzg-specs .xzg-s b { display: block; color: var(--ink); font-weight: 600; margin-top: 1px; }
.xzg-specs .xzg-s b a { color: var(--green-dark); }
.xzg-actions { display: flex; gap: 12px; margin-top: auto; padding-top: 18px; align-items: center; flex-wrap: wrap; }
.xzg-dlcount { font-size: 12px; color: var(--faint); }

/* ---------- 内容页：Hero 操作按钮 ---------- */
.xzg-btndl { display: inline-flex; align-items: center; gap: 10px; height: 48px; background: var(--green); color: #fff; border: 0; border-radius: 24px; padding: 0 32px; font-size: 16px; font-weight: 600; cursor: pointer; box-shadow: 0 4px 12px rgba(22, 163, 74, .35); transition: background-color .2s ease; }
.xzg-btndl:hover { background: var(--green-dark); }
.xzg-btndl small { font-size: 11px; font-weight: 400; opacity: .85; }
.xzg-btndl.is-disabled { background: #cbd5d1; box-shadow: none; cursor: not-allowed; }
.xzg-btndl--buy { background: #b45309; box-shadow: 0 4px 12px rgba(180, 83, 9, .3); }
.xzg-btndl--buy:hover { background: #92400e; }
.xzg-btnghost { display: inline-flex; align-items: center; height: 48px; background: #fff; border: 1px solid var(--line); color: var(--muted); border-radius: 24px; padding: 0 22px; font-size: 13px; cursor: pointer; transition: color .2s ease, border-color .2s ease; }
.xzg-btnghost:hover { color: var(--green-dark); border-color: var(--green); }

/* ---------- 内容页：白卡面板（绿条标题） ---------- */
.xzg-panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; margin-top: 16px; }
.xzg-panel > h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 17px; font-weight: 700; color: var(--ink); }
.xzg-panel > h2::before { content: ""; width: 5px; height: 16px; border-radius: 3px; background: var(--green); flex-shrink: 0; }
.xzg-panel > h2 em { font-style: normal; font-size: 12px; font-weight: 400; color: var(--faint); }
.xzg-notice { margin-top: 14px; border-left: 3px solid var(--green); background: var(--green-soft); border-radius: 0 8px 8px 0; padding: 10px 14px; font-size: 12.5px; color: var(--green-dark); }

/* ---------- 侧栏：游戏排行 ---------- */
.xzg-rankitem { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); align-items: center; }
.xzg-rankitem:last-child { border-bottom: 0; }
.xzg-rankitem:hover .xzg-rn { color: var(--green-dark); }
.xzg-rankno { flex-shrink: 0; width: 20px; height: 20px; border-radius: 6px; background: #eceff1; color: var(--faint); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.xzg-rankno.r1 { background: #ef4444; color: #fff; }
.xzg-rankno.r2 { background: #f59e0b; color: #fff; }
.xzg-rankno.r3 { background: #fbbf24; color: #fff; }
.xzg-rthumb { flex-shrink: 0; width: 42px; height: 42px; border-radius: 8px; object-fit: cover; background: #dfe5e8; }
.xzg-rinfo { min-width: 0; flex: 1; }
.xzg-rn { display: block; font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s ease; }
.xzg-rs { display: block; font-size: 11px; color: var(--faint); margin-top: 2px; }

/* ---------- 侧栏：装机必备推广卡 ---------- */
.xzg-bibei { margin-top: 16px; background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; border-radius: 12px; padding: 20px 18px; text-align: center; }
.side-box + .xzg-bibei, .xzg-bibei + .side-box { margin-top: 16px; }
.xzg-bibei b { font-size: 16px; }
.xzg-bibei p { font-size: 12px; opacity: .85; margin: 8px 0 14px; }
.xzg-bibei a { display: inline-block; background: #fff; color: var(--green-dark); border-radius: 16px; padding: 6px 22px; font-size: 13px; font-weight: 600; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .xzg-hotwall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .xzg-secgrid, .xzg-newsgrid { grid-template-columns: 1fr; }
  .xzg-hero { flex-direction: column; }
  .xzg-hcover { width: 200px; margin: 0 auto; }
  .xzg-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* 移动端：分类胶囊条改为等宽网格，全部展示且对齐规整 */
@media (max-width: 760px) {
  .xzg-catnav {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
    gap: 6px;
    overflow-x: visible;
    padding: 10px 0;
  }
  .xzg-catnav a { flex: none; white-space: nowrap; padding: 7px 2px; font-size: 12px; text-align: center; }
  .xzg-catnav .xzg-sort { grid-column: 1 / -1; justify-self: start; margin: 2px 0 0; padding-top: 2px; white-space: nowrap; }
}
@media (max-width: 640px) {
  .xzg-hotwall { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .xzg-poster .xzg-pn { padding: 14px 4px 5px; font-size: 11px; }
  .xzg-gamerow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .xzg-gbody { padding: 7px 6px 8px; }
  .xzg-gn {
    display: -webkit-box;
    min-height: 2.6em;
    overflow: hidden;
    font-size: 11.5px;
    line-height: 1.3;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .xzg-gmeta { margin-top: 4px; font-size: 10px; gap: 2px; }
  .xzg-gmeta .xzg-dl { font-size: 10px; }
  .xzg-ithumb { width: 68px; height: 90px; }
  .xzg-isub { display: none; }
  .xzg-item { gap: 12px; padding: 12px; }
  .xzg-idl { padding: 7px 12px; font-size: 12px; }
  .xzg-imeta { flex-wrap: wrap; gap: 4px 8px; font-size: 11.5px; }
  .xzg-imeta > span { white-space: nowrap; }
  .xzg-sort { width: 100%; margin-left: 0; }
  .xzg-panel { padding: 16px; }
  .xzg-btndl { height: 44px; padding: 0 24px; font-size: 15px; }
  .xzg-btnghost { height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .xzg-poster, .xzg-gcard, .xzg-gcover img, .xzg-item { transition: none; }
  .xzg-poster:hover, .xzg-gcard:hover, .xzg-item:hover { transform: none; }
}

/* ---------- 单机内容页细节收敛：封面、下载卡片、侧栏间距 ---------- */
#game-show-page .xzg-hero { gap: 22px; padding: 22px 24px; }
#game-show-page .xzg-hcover { width: 200px; }
#game-show-page .xzg-hcover img {
  height: 250px;
  object-fit: cover;
  object-position: top center;
}
#game-show-page .xzg-actions {
  margin-top: 22px;
  margin-left: -4px;
  padding-top: 0;
}
#game-show-page .xzg-btndl {
  height: 46px;
  gap: 8px;
  padding: 0 24px;
}
#game-show-page .xzg-btndl--download::before {
  content: "↓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-right: 0;
  color: currentColor;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}
#game-show-page .xzg-report-btn {
  color: #c56a16;
  background: #fffaf3;
  border-color: #fde3bd;
  font-weight: 600;
  box-shadow: 0 5px 14px rgba(180, 83, 9, .05);
}
#game-show-page .xzg-report-btn::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 7px;
  border-radius: 50%;
  color: #fff;
  background: #f6a137;
  font-size: 12px;
  line-height: 1;
}
#game-show-page .xzg-report-btn:hover {
  color: #a44b08;
  border-color: #f6b35f;
  background: #fff3df;
  box-shadow: 0 7px 18px rgba(180, 83, 9, .09);
}
#game-show-page .layout.section {
  gap: 12px;
  margin-top: 12px;
  align-items: start;
}
#game-show-page .anchor-tabs {
  margin-bottom: 8px;
  padding: 8px;
}
#game-show-page .xzg-panel {
  margin-top: 12px;
}
#game-show-page .anchor-tabs + .xzg-panel {
  margin-top: 0;
}
#game-show-page .layout > aside {
  top: 66px;
}
#game-show-page .layout > aside .side-box {
  margin-bottom: 12px;
}
#game-show-page .side-box + .side-box {
  margin-top: 12px;
}
#game-show-page #download {
  padding: 20px 24px 24px;
}
#game-show-page #download > h2 {
  padding-left: 0;
  border-left: 0;
  margin-bottom: 18px;
  font-size: 24px;
  line-height: 1.25;
}
#game-show-page #download > h2::before {
  content: none;
}
#game-show-page #download .xz-download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}
#game-show-page #download .xz-download-card {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8fbff, #fff);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .04);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
#game-show-page #download .xz-download-card--local,
#game-show-page #download .xz-download-card--netdisk:nth-child(4n+1) {
  background: linear-gradient(135deg, #f0f9ff, #fff);
}
#game-show-page #download .xz-download-card--local {
  grid-column: 1 / -1;
}
#game-show-page #download .xz-download-card--netdisk:nth-child(4n+2) {
  background: linear-gradient(135deg, #fff7ed, #fff);
}
#game-show-page #download .xz-download-card--netdisk:nth-child(4n+3) {
  background: linear-gradient(135deg, #f5f3ff, #fff);
}
#game-show-page #download .xz-download-card--netdisk:nth-child(4n+4) {
  background: linear-gradient(135deg, #eff6ff, #fff);
}
#game-show-page #download .xz-download-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .07);
}
#game-show-page #download .xz-disk-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
#game-show-page #download .xz-disk-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: #2563eb;
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}
#game-show-page #download .xz-disk-icon::before {
  content: attr(data-icon);
}
#game-show-page #download .xz-disk-icon--local {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}
#game-show-page #download .xz-disk-icon--local::before {
  content: none;
}
#game-show-page #download .xz-download-card--netdisk .xz-disk-icon {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
}
#game-show-page #download .xz-disk-info {
  min-width: 0;
}
#game-show-page #download .xz-disk-info strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#game-show-page #download .xz-disk-info span {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 7px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}
#game-show-page #download .xz-disk-code em {
  color: #334155;
  font-style: normal;
  font-weight: 700;
}
#game-show-page #download .xz-disk-action {
  flex: 0 0 auto;
  min-width: 112px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--green);
  border-radius: 10px;
  color: #fff;
  background: var(--green);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(22, 163, 74, .12);
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
#game-show-page #download .xz-disk-action:hover {
  color: #fff;
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-1px);
}
#game-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;
}
#game-show-page #download .xz-copy-btn:hover {
  background: #fecaca;
}
#game-show-page #download .xz-password-tip {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed #dbe4ea;
  text-align: center;
  display: grid;
  gap: 12px;
  justify-items: center;
}
#game-show-page #download .xz-password-tip .xz-dl-tip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 14px;
}
#game-show-page #download .xz-password-tip .xz-dl-tip strong {
  color: var(--ink);
  font-size: 18px;
  letter-spacing: .02em;
}
#game-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;
}
#game-show-page #download .xz-download-card {
  border-color: var(--xzji-card-border);
  box-shadow: 0 6px 18px rgba(15, 23, 42, .035);
}
#game-show-page #download .xz-download-card:hover {
  border-color: rgba(22, 163, 74, .24);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .055);
}
#game-show-page #download .xz-download-card--local {
  background: linear-gradient(135deg, #F7FFF9 0%, #FFFFFF 100%);
  border-color: rgba(22, 163, 74, .18);
}
#game-show-page #download .xz-disk-info strong {
  color: var(--xzji-text-main);
}
#game-show-page #download .xz-disk-info span {
  color: var(--xzji-text-sub);
}
#game-show-page #download .xz-copy-btn {
  color: var(--xzji-danger);
  background: var(--xzji-danger-light);
}
#game-show-page #download .xz-copy-btn:hover {
  background: #FEE2E2;
}
#game-show-page #download .xz-copy-btn.is-copied {
  color: #15803d;
  background: #dcfce7;
}
#game-show-page #download .xz-password-tip {
  border-top-color: var(--xzji-card-border);
}
#game-show-page #download .xz-password-tip .xz-dl-tip strong {
  color: var(--xzji-text-main);
}
#game-show-page #versions .xzg-version-row {
  align-items: center;
  min-height: 58px;
}
#game-show-page #versions .xzg-version-row .xz-dl-row__info {
  display: flex;
  flex-direction: row;
  align-items: center;
  align-self: center;
  justify-content: flex-start;
  gap: 14px;
  min-width: 0;
  flex-wrap: wrap;
}
#game-show-page #versions .xzg-version-row .xz-dl-row__info strong,
#game-show-page #versions .xzg-version-row .xz-dl-row__info span {
  margin: 0;
}
#game-show-page #versions .xzg-version-row .xz-dl-row__info strong {
  min-width: 0;
  flex: 1 1 auto;
  text-align: left;
}
#game-show-page #versions .xzg-version-row .xz-dl-row__info span {
  flex: 0 0 180px;
  text-align: center;
}
#game-show-page #versions .xzg-version-row .xz-dl-btn {
  align-self: center;
}

@media (max-width: 980px) {
  #game-show-page .layout.section { gap: 14px; }
  #game-show-page .layout > aside { top: auto; }
  #game-show-page .xzg-hcover { width: 180px; }
  #game-show-page .xzg-hcover img { height: 230px; }
}
@media (max-width: 640px) {
  #game-show-page .xzg-hero { padding: 16px; }
  #game-show-page .xzg-hcover { width: 160px; }
  #game-show-page .xzg-hcover img { height: 208px; }
  #game-show-page #download .xz-download-grid { grid-template-columns: 1fr; }
  #game-show-page #download .xz-download-card {
    align-items: stretch;
    flex-direction: column;
  }
  #game-show-page #download .xz-disk-action {
    width: 100%;
  }
}

/* Game detail editorial headings and download reminder. */
#game-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;
}
#game-show-page #showContent h4 {
  margin: 20px 0 10px; padding: 0; border: 0; background: transparent;
  color: #17251d; font-size: 16px; font-weight: 700;
  line-height: 1.6; letter-spacing: 0; overflow-wrap: anywhere;
}
#game-show-page #showContent h3::before,
#game-show-page #showContent h3::after,
#game-show-page #showContent h4::before,
#game-show-page #showContent h4::after { content: none; }
#game-show-page #about .xzg-download-notice {
  margin: 20px 0 0; padding: 12px 16px; border: 1px solid #dce5df;
  border-radius: 6px; background: #f6f9f7; color: #36463d;
  font-size: 14px; line-height: 1.7; overflow-wrap: anywhere;
}
#game-show-page #about .xzg-download-notice strong {
  display: block; margin: 0 0 6px; color: #08783e; font-size: 15px;
}
#game-show-page #about .xzg-download-notice p { margin: 0; padding: 0; }

/* 2026-10 SEO：「共 N 款游戏」移出 H1（H1 只保留栏目名），外层容器保持标题与计数并排 */
.xzg-pagehead__title { display: flex; flex-wrap: wrap; align-items: flex-start; column-gap: 12px; }
.xzg-pagehead__title .xzg-cnt { margin-left: 0; margin-top: 8px; vertical-align: baseline; }
