/**
 * Single Software Page Styles - Clean & Professional Design
 * 软件详情页样式 - 简洁专业设计
 * Version: 4.0 - 完全匹配HTML结构
 */

/* ==========================================================================
   全局样式
   ========================================================================== */

/* 详情页 Logo 扫光与全站保持一致 */
.single-software .xu5-topbar-logo-img {
  animation: xu5-shine-mask 8s ease-in-out infinite !important;
}
.single-software .sitename-metal-shine {
  animation: xu5-shine 8s ease-in-out infinite !important;
}

.single-software {
  min-height: 100vh;
}

/* 侧边栏sticky已在 unified-layout.css 定义，此处仅补充 overflow */
.xu5-page-sidebar {
  overflow: visible !important;
}

/* ==========================================================================
   软件介绍区块头部（图标、标题、标签）
   ========================================================================== */

.card-section-intro {
  padding-bottom: 10px !important;
}

.intro-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e9ecef;
}

/* 软件图标 */
.xu5-software-icon-large {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  background: #f8f9fa;
}

.xu5-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xu5-icon-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #adb5bd;
}

.xu5-icon-placeholder svg {
  width: 32px;
  height: 32px;
}

/* 软件信息 */
.intro-meta {
  flex: 1;
  min-width: 0;
}

.xu5-software-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.xu5-software-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.xu5-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 500;
}

.xu5-tag-platform {
  background: #ecf5ff;
  color: #409eff;
}

.xu5-tag-category {
  background: #f3e5f5;
  color: #7b1fa2;
}

/* 软件介绍（在卡片中） */
.xu5-software-desc {
  color: #495057;
  font-size: 14px;
  line-height: 1.6;
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.xu5-software-desc .desc-brief {
  display: block;
  margin-bottom: 8px;
}

.xu5-software-desc .desc-full {
  display: none;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #e9ecef;
}

/* 展开状态 */
.xu5-software-desc.expanded .desc-brief {
  display: none !important;
}

.xu5-software-desc.expanded .desc-full {
  display: block !important;
}

/* 游戏模式：介绍直接展开，无折叠 */
.xu5-software-desc.xu5-game-desc-open .desc-full {
  display: block;
  border-top: none;
}

.xu5-software-desc .desc-full img {
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  display: block;
  margin: 10px auto;
  border-radius: 6px;
  box-sizing: border-box;
}

.xu5-software-desc .desc-full * {
  max-width: 100% !important;
  box-sizing: border-box;
}

.xu5-software-desc .desc-full p {
  margin-bottom: 12px;
}

.xu5-toggle-desc-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 5px;
  color: #409eff;
  font-size: 12px;
  cursor: pointer;
  padding: 5px 12px;
  margin-top: 8px;
  transition: all 0.2s;
}

.xu5-toggle-desc-btn:hover {
  background: #ecf5ff;
  border-color: #409eff;
  color: #337ecc;
}

.xu5-toggle-desc-btn .btn-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.xu5-toggle-desc-btn.expanded .btn-icon {
  transform: rotate(180deg);
}

/* ==========================================================================
   主内容区域
   ========================================================================== */

.xu5-main {
  width: 100%;
}

/* 通用卡片样式 */
.card {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius:5px;
  padding: 24px;
  margin-bottom: 24px;
  width: 100%;
  box-sizing: border-box;
}

/* 统一大卡片样式 - 取消默认padding */
.card-unified {
  padding: 0;
}

/* 卡片内的各个区块 */
.card-section {
  padding: 28px 24px;
  border-bottom: 1px solid #e8e8e8;
}

.card-section:first-child {
  padding-top: 24px;
}

.card-section:last-child {
  border-bottom: none;
  padding-bottom: 24px;
}

/* 区块内的标题样式 */
.card h2,
.card-section h2 {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 16px 0;
  padding-left: 12px;
  border-left: 4px solid #409eff;
}

.card-title {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 16px 0;
  padding-left: 12px;
  border-left: 4px solid #409eff;
}

.software-features,
.software-usage,
.software-faq {
  font-size: 14px;
  line-height: 1.8;
  color: #495057;
}

/* ==========================================================================
   版本列表
   ========================================================================== */

.version-highlight-card {
  padding: 32px 24px;
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  margin-bottom: 24px;
}

.version-highlight-title {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 16px 0;
  padding-left: 12px;
  border-left: 4px solid #409eff;
  display: block;
}

.version-highlight-title .bar {
  display: none; /* 隐藏，改用border-left */
}

.version-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* 在大屏幕上固定为3-4列 */
@media (min-width: 900px) {
  .version-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1300px) {
  .version-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.version-card {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.version-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #409eff, #66b1ff);
  opacity: 0;
  transition: opacity 0.3s;
}

.version-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: #409eff;
  background: #ffffff;
}

.version-card:hover::before {
  opacity: 1;
}

.version-title-row {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e9ecef;
}

.version-title-center {
  display: flex;
  align-items: center;
  gap: 12px;
}

.version-icon-single {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.version-softname {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
}

.version-badge {
  display: inline-block;
  padding: 4px 10px;
  background: #ecf5ff;
  color: #409eff;
  font-size: 13px;
  font-weight: 500;
  border-radius: 4px;
  margin-left: 8px;
}

/* 下载按钮区域 */
.version-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.version-btns-center {
  align-items: stretch;
}

/* 下载按钮样式（由JS生成的.url类） */
.url {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 12px 20px !important;
  border: none !important;
  border-radius: 6px !important;
  background: #409eff !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  text-decoration: none !important;
  margin-right: 0 !important;
  margin-bottom: 10px !important;
}

.url:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(64, 158, 255, 0.3) !important;
  filter: brightness(0.95) !important;
}


.no-version {
  text-align: center;
  padding: 40px;
  color: #6c757d;
  font-size: 14px;
}

/* ==========================================================================
   相关推荐
   ========================================================================== */

.card-related {
  padding: 10px 12px;
}

.related-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-list li {
  padding: 4px 0;
  border-bottom: 1px solid #f5f5f5;
}

.related-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.related-list a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-size: 16px;
  transition: all 0.2s;
  line-height: 1.4;
}

.related-list a:hover {
  color: #409eff;
}

/* 相关软件缩略图样式 */
.related-thumb {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  object-fit: cover;
  margin-right: 6px;
  flex-shrink: 0;
}

.related-thumb-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #f0f0f0;
  border-radius: 3px;
  margin-right: 6px;
  font-size: 10px;
  color: #bbb;
  flex-shrink: 0;
}

/* 版本链接样式 */
.version-link {
  color: inherit;
  text-decoration: underline;
  transition: all 0.2s ease;
}

.version-link:hover {
  color: #409eff;
  text-decoration: underline;
}


/* 悬浮按钮样式由 back-to-top.php 全站统一管理 */

/* 旧版「游戏详情页 Banner（.xu5-game-banner*）」已废弃（封面改用 Hero .xu5-game-hero2-cover），整段移除。 */

/* ==========================================================================
   响应式设计
   ========================================================================== */

/* 平板 (768px - 1023px) */
@media (max-width: 1023px) {
  .xu5-software-title {
    font-size: 28px;
  }
  
  .version-list {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* 手机 (< 768px) */
@media (max-width: 768px) {
  .intro-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .xu5-software-icon-large {
    width: 80px;
    height: 80px;
  }
  
  .xu5-software-title {
    font-size: 22px;
  }
  
  .xu5-software-tags {
    justify-content: center;
  }
  
  .version-list {
    grid-template-columns: 1fr !important;
  }
  
  .card {
    padding: 20px;
  }
  
  .version-highlight-card {
    padding: 20px;
  }
}

/* 小屏手机 (< 480px) */
@media (max-width: 480px) {
  .xu5-software-title {
    font-size: 20px;
  }
  
  .version-highlight-title {
    font-size: 20px;
  }
  
  .card h2,
  .card-title {
    font-size: 18px;
  }
  
  .version-card {
    padding: 16px;
  }
}

/* ==========================================================================
   打印样式
   ========================================================================== */

@media print {
  .xu5-float-btns,
  .xu5-modal-overlay,
  .version-btns,
  .xu5-bottom-download-bar {
    display: none !important;
  }
  
  .xu5-software-hero {
    border: none;
  }
  
  .version-card,
  .card {
    break-inside: avoid;
  }
}

/* ==========================================================================
   可访问性
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  .xu5-bottom-download-bar {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: high) {
  .version-card,
  .card {
    border-width: 2px;
  }
  
  .xu5-tag {
    border: 1px solid currentColor;
  }
}


/* ==========================================================================
   软件信息列表 - 超紧凑样式
   ========================================================================== */

.xu5-software-info-list {
  margin: 0;
  padding: 0;
}

.xu5-software-info-list .info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 14px;
  gap: 8px;
}

.xu5-software-info-list .info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.xu5-software-info-list .info-label {
  color: #888;
  flex-shrink: 0;
}

.xu5-software-info-list .info-value {
  color: #333;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xu5-software-info-list .info-value a {
  color: #409eff;
  text-decoration: none;
}

.xu5-software-info-list .info-value a:hover {
  text-decoration: underline;
}

/* 教程列表样式 - 已在 unified-layout.css 中定义 */

/* 软件列表样式 - 已在 unified-layout.css 中定义 */

/* ==========================================================================
   软件详情页侧边栏卡片 - 覆盖统一样式
   ========================================================================== */

.xu5-page-sidebar .xu5-sidebar-card {
  padding: 8px 10px;
  margin-bottom: 8px;
}

.xu5-page-sidebar .xu5-sidebar-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
  padding-bottom: 6px;
}


/* ==========================================================================
   软件详情页 - 卡片区块覆盖
   ========================================================================== */

.xu5-software-wrapper .card-unified {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.xu5-software-wrapper .card-section {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 20px 0;
  margin-bottom: 0;
  box-shadow: none;
  border-bottom: 1px solid #eee;
}

.xu5-software-wrapper .card-section:last-child {
  border-bottom: none;
}

/* ==========================================================================
   版本下载 - 横向布局
   ========================================================================== */

.version-list-horizontal {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.version-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.version-row:hover {
  background: #f0f7ff;
  border-color: #409eff;
  box-shadow: 0 2px 8px rgba(64,158,255,0.1);
}

.version-info-col {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.version-icon-horizontal {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.version-icon-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: #f0f0f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.version-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.version-row .version-softname {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.version-row .version-badge {
  font-size: 12px;
  color: #666;
  background: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #ddd;
  display: inline-block;
  width: fit-content;
}

.version-btns-col {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  flex-shrink: 0;
}

/* ==========================================================================
   版本下载区 - 视觉突出
   ========================================================================== */

.card-section-download {
  background: transparent !important;
  border-left: none !important;
}

/* ==========================================================================
   右侧操作按钮（订阅 + 打赏）
   ========================================================================== */

.xu5-software-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  align-items: flex-end;
}

/* 游戏下载区块 */
.xu5-game-download-block {
  margin: 20px 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e9ecef;
}
.xu5-game-download-title {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
}
.xu5-game-dl-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f5f7fa;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 8px;
  gap: 12px;
}
.xu5-game-dl-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.xu5-game-dl-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8f0fe;
}
.xu5-game-dl-icon svg {
  width: 22px;
  height: 22px;
  stroke: #409eff;
}
.xu5-game-dl-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.xu5-game-dl-name {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.xu5-game-dl-ver {
  font-size: 13px;
  color: #888;
  margin-top: 2px;
}
.xu5-game-dl-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}
.xu5-game-dl-btns .download-btn {
  padding: 10px 24px;
  font-size: 14px;
  border-radius: 6px;
  font-weight: 600;
  white-space: nowrap;
}
.xu5-game-download-tip {
  margin-top: 6px;
  font-size: 12px;
  color: #999;
  line-height: 1.5;
}

/* 游戏下载底部固定条 */
.xu5-bottom-download-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -2px 12px rgba(0,0,0,.1);
  transform: translateY(100%);
  transition: transform .25s ease;
  padding: 10px 0;
}
.xu5-bottom-download-bar.visible {
  transform: translateY(0);
}
.xu5-bottom-download-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.xu5-bottom-download-name {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.xu5-bottom-download-btns {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  flex-shrink: 0;
}
.xu5-bottom-download-btns .download-btn {
  padding: 13px 34px;
  font-size: 16px;
  border-radius: 6px;
  font-weight: 600;
  white-space: nowrap;
}

@media screen and (max-width: 768px) {
  .xu5-bottom-download-inner {
    flex-direction: column;
    gap: 8px;
  }
  .xu5-bottom-download-btns {
    width: 100%;
    justify-content: center;
  }
  .xu5-bottom-download-btns .download-btn {
    flex: 1;
    text-align: center;
  }
  .xu5-game-dl-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .xu5-game-dl-btns {
    width: 100%;
  }
  .xu5-game-dl-btns .download-btn {
    flex: 1;
    text-align: center;
  }
}

.xu5-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: 120px;
}

.xu5-action-subscribe {
  background: linear-gradient(135deg, #409eff, #337ecc);
  color: white;
  box-shadow: 0 2px 8px rgba(64, 158, 255, 0.3);
}

.xu5-action-subscribe:hover {
  box-shadow: 0 4px 12px rgba(64, 158, 255, 0.4);
}

.xu5-action-donate {
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  color: white;
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.xu5-action-donate:hover {
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

/* 主下载按钮（介绍区主 CTA） */
.xu5-action-download {
  background: linear-gradient(135deg, #34c759, #28a745);
  color: #fff;
  font-weight: 600;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.xu5-action-download:hover {
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.45);
}

.xu5-action-download:focus-visible {
  outline: 2px solid #1e7e34;
  outline-offset: 2px;
}

.xu5-action-dl-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* 下载区锚点：滚动偏移 + 抵达高亮（用 box-shadow，避开 background 的 !important） */
#xu5DownloadSection {
  scroll-margin-top: 20px;
}

.xu5-dl-flash {
  border-radius: 8px;
  animation: xu5DlFlash 1.2s ease;
}

@keyframes xu5DlFlash {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0); }
  25% { box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.55); }
}

@media (prefers-reduced-motion: reduce) {
  .xu5-dl-flash { animation: none; }
}

/* ==========================================================================
   软件 meta 信息行（介绍区内嵌）
   ========================================================================== */

.xu5-software-meta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 5px;
  font-size: 12px;
  color: #888;
}

.xu5-software-meta-inline span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   侧边栏图标统一类
   ========================================================================== */

.related-icon-emoji {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}


/* FAQ 数字编号列表 */
.xu5-faq-numbered-list {
  margin: 0;
  padding: 0 0 0 22px;
  list-style: decimal;
}
.xu5-faq-numbered-list li {
  margin-bottom: 2px;
  padding: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #888;
}
.xu5-faq-numbered-list li::marker {
  color: #aaa;
  font-size: 12px;
}
.xu5-faq-numbered-list li a {
  display: block;
  padding: 4px 2px;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
  word-break: break-word;
}
.xu5-faq-numbered-list li a:hover {
  background: #f5f5f5;
  color: #409eff;
}
.related-icon-emoji.software {
  background: #f0f0f0;
  text-align: center;
  line-height: 30px;
  font-size: 16px;
}

.related-icon-software-img {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

/* ==========================================================================
   版本横向布局 + 操作按钮 - 响应式
   ========================================================================== */

@media screen and (max-width: 768px) {
  .xu5-software-actions {
    display: none;
  }
  .single-software.game-platform .xu5-software-actions {
    display: flex;
  }
  .version-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .version-btns-col {
    width: 100%;
    justify-content: flex-start;
  }
  .version-btns-col .download-btn,
  .version-btns-col .tutorial-btn {
    padding: 6px 14px !important;
    font-size: 12px !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
  }
  .xu5-software-meta-inline {
    justify-content: center;
  }
  .xu5-software-wrapper .card-section {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 15px 0 !important;
    margin-bottom: 10px !important;
  }
  .card-section-download {
    background: transparent !important;
    border-left: none !important;
  }
}

/* 通用弹窗 / loading / 转存动画 已迁移至 unified-modal.css（全站共用） */

/* ==========================================================================
   游戏详情页 · 高大上深色主题（v2 落地）
   作用域：body.single-software.game-platform —— 仅游戏页生效，软件页不受影响
   ========================================================================== */

/* 页面深色基底：背景只在最外层（html / body）设一次，内部所有层强制透明，
   全页只有一个背景源 → 物理上不可能出现接缝/色差。!important 用于压过被覆盖的层。 */
html:has(body.single-software.game-platform) {
  background: #0d1117;
}
body.single-software.game-platform {
  background: #0d1117 !important;
  min-height: 100vh;
}
body.single-software.game-platform #app,
body.single-software.game-platform .container,
body.single-software.game-platform .xu5-main,
.single-software.game-platform .xu5-page-wrapper,
.single-software.game-platform .xu5-page-container,
.single-software.game-platform .xu5-page-main {
  background: transparent !important;
}
.single-software.game-platform .xu5-page-wrapper {
  box-shadow: none;
  border-radius: 0;
}
/* 吸顶导航与页面同色（半透明 + 模糊），消除滚动时的近黑色差接缝 */
body.single-software.game-platform .xu5-topbar.sticky {
  background: rgba(13, 17, 23, 0.9) !important;
}
.single-software.game-platform .xu5-page-breadcrumb {
  border-bottom-color: rgba(255, 255, 255, 0.07);
}
.single-software.game-platform .xu5-page-breadcrumb,
.single-software.game-platform .xu5-page-breadcrumb a,
.single-software.game-platform .xu5-page-breadcrumb span {
  color: #9aa3b0;
}
.single-software.game-platform .xu5-page-breadcrumb a:hover {
  color: #c8a8ff;
}

/* 卡片分区（功能介绍 / 使用方法） */
.single-software.game-platform .card-section {
  border-bottom-color: rgba(255, 255, 255, 0.07);
}
.single-software.game-platform .card-section h2 {
  color: #ffffff;
}
.single-software.game-platform .software-features,
.single-software.game-platform .software-usage {
  color: #c2cad6;
}

/* 简介文本 */
.single-software.game-platform .xu5-software-desc {
  color: #c2cad6;
}
.single-software.game-platform .xu5-software-desc.xu5-game-desc-open .desc-full {
  border-top: none;
}
.single-software.game-platform .xu5-software-desc a {
  color: #b39dff;
}

/* 旧版「电影级 Hero / 视频 Hero / intro-actions」样式已废弃（游戏改用 .xu5-game-hero2），整段移除。 */

/* ===== 玻璃拟态下载面板 ===== */
.single-software.game-platform .xu5-game-download-block {
  margin: 12px 0;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: transparent;
}
.single-software.game-platform .xu5-game-download-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  color: #ffffff;
}
.single-software.game-platform .xu5-game-download-title::before {
  content: "";
  width: 8px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(#6366f1, #a855f7);
}
.single-software.game-platform .xu5-game-dl-card {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 13px;
  padding: 14px 16px;
  transition: 0.2s;
}
.single-software.game-platform .xu5-game-dl-card:hover {
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(139, 92, 246, 0.07);
  transform: translateY(-1px);
}
.single-software.game-platform .xu5-game-dl-icon {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  box-shadow: 0 8px 20px -8px #8b5cf6;
}
.single-software.game-platform .xu5-game-dl-icon svg {
  stroke: #ffffff;
}
.single-software.game-platform .xu5-game-dl-name {
  color: #ffffff;
}
.single-software.game-platform .xu5-game-dl-ver {
  color: #9aa3b0;
}
.single-software.game-platform .xu5-game-download-tip {
  color: #7d8590;
}

/* ===== 侧栏玻璃卡 ===== */
.single-software.game-platform .xu5-sidebar-card {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: none;
}
.single-software.game-platform .xu5-sidebar-card h3 {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.single-software.game-platform .info-label {
  color: #9aa3b0;
}
.single-software.game-platform .info-value {
  color: #e6edf3;
}
.single-software.game-platform .info-value a {
  color: #b39dff;
}
.single-software.game-platform .xu5-related-list a {
  color: #cbd3de;
}
.single-software.game-platform .xu5-related-list a:hover {
  background: rgba(139, 92, 246, 0.14);
  color: #ffffff;
}
.single-software.game-platform .xu5-related-list .related-title {
  color: #dfe6ee;
}
.single-software.game-platform .related-icon-emoji.software {
  background: rgba(255, 255, 255, 0.08);
}
.single-software.game-platform .xu5-faq-numbered-list li {
  color: #9aa3b0;
}
.single-software.game-platform .xu5-faq-numbered-list li a {
  color: #cbd3de;
}
.single-software.game-platform .xu5-faq-numbered-list li a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

/* ===== 移动端底部下载条（深色） ===== */
.single-software.game-platform .xu5-bottom-download-bar {
  background: rgba(13, 17, 23, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -2px 18px rgba(0, 0, 0, 0.5);
}
.single-software.game-platform .xu5-bottom-download-name {
  color: #ffffff;
}

/* 旧版响应式 Hero 媒体查询已废弃，整段移除。 */

/* ==========================================================================
   游戏详情页 · v2 对齐增强（统计块 / 评分徽章 / 截图画廊 / 更大 Hero）
   ========================================================================== */
/* 旧版「更大 Hero / 评分徽章 .xu5-game-hero-score」已废弃，整段移除（下方统计块 .xu5-game-hero-stats 仍被新 Hero 复用，保留）。 */

/* Hero 四宫格统计块 */
.single-software.game-platform .xu5-game-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 11px;
}
.single-software.game-platform .xu5-game-hero-stats .stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.single-software.game-platform .xu5-game-hero-stats .lab {
  font-size: 12px;
  color: #9aa3af;
}
.single-software.game-platform .xu5-game-hero-stats b {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

/* 旧版「截图画廊（横向滚动 + 左右切换按钮）」已废弃（截图改为简介内 2 列网格 + 灯箱），整段移除。 */

@media screen and (max-width: 768px) {
  .single-software.game-platform .xu5-game-hero-stats {
    gap: 10px 22px;
  }
}

/* 旧版「通栏 Hero 包裹 .xu5-game-hero-wrap」已废弃，整段移除。 */

/* 旧版「v2.1 美化增强」整段（电影级 Hero / 视频 Hero / 评分徽章 / 截图卡 sheen）已废弃，整段移除。 */

/* 下载玻璃面板：左侧渐变光带 + 更强 hover 辉光 + 图标块加大 */
.single-software.game-platform .xu5-game-download-block {
  position: relative;
  overflow: hidden;
}
.single-software.game-platform .xu5-game-download-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #6366f1, #8b5cf6);
  opacity: 0.5;
}
.single-software.game-platform .xu5-game-dl-card {
  transition: transform 0.22s cubic-bezier(.2, .7, .3, 1), border-color 0.22s, background 0.22s, box-shadow 0.22s;
}
.single-software.game-platform .xu5-game-dl-card:hover {
  box-shadow: 0 12px 28px -24px rgba(124, 58, 237, 0.34);
}
.single-software.game-platform .xu5-game-dl-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

/* 下载按钮：游戏页统一圆角 + hover 抬升（保留各网盘品牌底色） */
.single-software.game-platform .xu5-game-dl-btns .download-btn,
.single-software.game-platform .xu5-bottom-download-btns .download-btn {
  border-radius: 10px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.single-software.game-platform .xu5-game-dl-btns .download-btn:hover,
.single-software.game-platform .xu5-bottom-download-btns .download-btn:hover {
  transform: translateY(-1px);
  filter: saturate(1.05) brightness(1.03);
  box-shadow: 0 8px 18px -12px rgba(0, 0, 0, 0.5);
}

/* 正文章节标题（功能介绍 / 使用方法）：加渐变强调条，统一视觉语言 */
.single-software.game-platform .card-section > h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.single-software.game-platform .card-section > h2::before {
  content: "";
  width: 8px;
  height: 18px;
  border-radius: 4px;
  flex-shrink: 0;
  background: linear-gradient(#6366f1, #a855f7);
}

@media (prefers-reduced-motion: reduce) {
  .single-software.game-platform .xu5-game-dl-card,
  .single-software.game-platform .xu5-game-dl-btns .download-btn,
  .single-software.game-platform .xu5-bottom-download-btns .download-btn {
    transition: none;
  }
}

@media screen and (max-width: 768px) {
  .single-software.game-platform .card-section > h2::before {
    height: 15px;
  }
}

/* ==========================================================================
   游戏详情页 · 综合美化增强（统计图标 / 下载按钮统一 / 去残留蓝 / 侧栏 / 滚动条 / focus）
   ========================================================================== */

/* 统计条线性小图标 */
.single-software.game-platform .xu5-game-hero-stats .lab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.single-software.game-platform .xu5-stat-ico {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  opacity: 0.75;
}

/* 相关游戏 / 侧栏列表 hover 高亮 */
.single-software.game-platform .xu5-related-list li {
  border-radius: 8px;
  transition: background 0.2s ease;
}
.single-software.game-platform .xu5-related-list li:hover {
  background: rgba(139, 92, 246, 0.1);
}

/* 干掉残留旧蓝：页脚 / 友链 / .url hover 统一到紫 */
body.single-software.game-platform .tutorial-footer-wrapper .footer-links a,
body.single-software.game-platform .tutorial-footer-wrapper .time:hover,
body.single-software.game-platform .xu5-footer-nav-link:hover,
body.single-software.game-platform .xu5-friend-link:hover {
  color: #b39dff;
}
body.single-software.game-platform .tutorial-footer-wrapper .footer-links a:hover {
  color: #c8a8ff;
}
.single-software.game-platform .url:hover {
  box-shadow: 0 6px 16px -8px rgba(124, 58, 237, 0.5) !important;
}

/* 深色自定义滚动条 */
html:has(body.single-software.game-platform) {
  scrollbar-color: #2a2f3a #0d1117;
  scrollbar-width: thin;
}
html:has(body.single-software.game-platform)::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
html:has(body.single-software.game-platform)::-webkit-scrollbar-track {
  background: #0d1117;
}
html:has(body.single-software.game-platform)::-webkit-scrollbar-thumb {
  background: #2a2f3a;
  border-radius: 8px;
  border: 3px solid #0d1117;
}
html:has(body.single-software.game-platform)::-webkit-scrollbar-thumb:hover {
  background: #3a4150;
}

/* 紫色 focus-visible 环（可访问性） */
body.single-software.game-platform a:focus-visible,
body.single-software.game-platform button:focus-visible,
body.single-software.game-platform .download-btn:focus-visible {
  outline: 2px solid #8b5cf6;
  outline-offset: 2px;
  border-radius: 8px;
}

/* ==========================================================================
   游戏详情页 · 浅色主题（v3 覆盖层 · 置于文件末尾，同特异性后置覆盖上方深色规则）
   作用域 .single-software.game-platform —— 仅游戏详情页生效；软件详情页不受影响
   Hero / 截图画廊保留电影深色视觉（媒体本身自带深色），其余区域转浅色
   整段删除即可回滚到深色主题
   ========================================================================== */
/* 画布与滚动条 */
html:has(body.single-software.game-platform){background:#f6f7fb;scrollbar-color:#c7ccd6 #eef0f4}
html:has(body.single-software.game-platform)::-webkit-scrollbar-track{background:#eef0f4}
html:has(body.single-software.game-platform)::-webkit-scrollbar-thumb{background:#c7ccd6;border:3px solid #eef0f4}
html:has(body.single-software.game-platform)::-webkit-scrollbar-thumb:hover{background:#aeb4c0}
body.single-software.game-platform{background:#f6f7fb !important}
body.single-software.game-platform .xu5-topbar.sticky{background:rgba(255,255,255,.92) !important}

/* 面包屑 */
.single-software.game-platform .xu5-page-breadcrumb{border-bottom-color:rgba(0,0,0,.07)}
.single-software.game-platform .xu5-page-breadcrumb,
.single-software.game-platform .xu5-page-breadcrumb a,
.single-software.game-platform .xu5-page-breadcrumb span{color:#6b7280}
.single-software.game-platform .xu5-page-breadcrumb a:hover{color:#7c3aed}

/* 正文分区 / 简介 */
.single-software.game-platform .card-section{border-bottom-color:#eef0f4}
.single-software.game-platform .card-section h2{color:#1a1a2e}
.single-software.game-platform .software-features,
.single-software.game-platform .software-usage{color:#4b5563}
.single-software.game-platform .xu5-software-desc{color:#4b5563}
.single-software.game-platform .xu5-software-desc a{color:#6d28d9}

/* 旧版「视频 Hero 浅色文字覆盖」已废弃，整段移除。 */

/* 下载资源卡（白底，突出多网盘按钮） */
.single-software.game-platform .xu5-game-download-block{background:#fff;border:1px solid #eceef3;box-shadow:0 1px 3px rgba(0,0,0,.05),0 14px 30px -24px rgba(20,23,40,.25)}
.single-software.game-platform .xu5-game-download-title{color:#1a1a2e}
.single-software.game-platform .xu5-game-dl-card{background:#f7f8fb;border:1px solid #eceef3}
.single-software.game-platform .xu5-game-dl-card:hover{border-color:rgba(139,92,246,.45);background:#f5f2ff;box-shadow:0 12px 28px -22px rgba(124,58,237,.4)}
.single-software.game-platform .xu5-game-dl-name{color:#1a1a2e}
.single-software.game-platform .xu5-game-dl-ver{color:#888}
.single-software.game-platform .xu5-game-download-tip{color:#999}
/* 网盘按钮放大成胶囊（!important 压过 inline 内联尺寸；品牌底色仍由 inline 提供） */
.single-software.game-platform .xu5-game-dl-btns .download-btn{padding:9px 20px !important;border-radius:10px !important;font-size:14px !important;font-weight:600 !important}

/* 侧栏卡 / 相关 / FAQ */
.single-software.game-platform .xu5-sidebar-card{background:#fff;border:1px solid #eceef3;box-shadow:0 1px 3px rgba(0,0,0,.05)}
.single-software.game-platform .xu5-sidebar-card h3{color:#1a1a2e;border-bottom-color:#eef0f4}
.single-software.game-platform .info-label{color:#888}
.single-software.game-platform .info-value{color:#333}
.single-software.game-platform .info-value a{color:#6d28d9}
.single-software.game-platform .xu5-related-list a{color:#4b5563}
.single-software.game-platform .xu5-related-list a:hover{background:rgba(139,92,246,.1);color:#1a1a2e}
.single-software.game-platform .xu5-related-list .related-title{color:#333}
.single-software.game-platform .related-icon-emoji.software{background:#f0eefb}
.single-software.game-platform .xu5-faq-numbered-list li{color:#888}
.single-software.game-platform .xu5-faq-numbered-list li a{color:#4b5563}
.single-software.game-platform .xu5-faq-numbered-list li a:hover{background:#f3f4f7;color:#1a1a2e}

/* 旧版「截图画廊浅色描边」已废弃，整段移除。 */

/* 移动端底部固定下载条 浅色 */
.single-software.game-platform .xu5-bottom-download-bar{background:rgba(255,255,255,.96);border-top:1px solid #eceef3;box-shadow:0 -2px 18px rgba(0,0,0,.08)}
.single-software.game-platform .xu5-bottom-download-name{color:#1a1a2e}

/* 旧版「v3.1 分离式白色信息卡 .xu5-game-infocard」已废弃（改用 .xu5-game-hero2），整段移除。 */

/* ==========================================================================
   游戏详情页 · 移动端自适应增强（v4）—— 仅 .single-software.game-platform 生效，软件页不受影响
   修复点：下载按钮点按高度此前 27~37px（< 44px 推荐值）→ 统一 ≥44px；手机每行 2 个更好点
   整段删除即可回滚
   ========================================================================== */
@media screen and (max-width:600px){
  /* 下载按钮：≥44px 命中区，每行 2 个 */
  .single-software.game-platform .xu5-game-dl-btns{gap:8px;width:100%}
  .single-software.game-platform .xu5-game-dl-btns .download-btn{
    flex:1 1 calc(50% - 4px);min-height:44px;display:inline-flex;align-items:center;justify-content:center;
    padding:11px 10px !important;font-size:13px !important;box-sizing:border-box;white-space:nowrap}
  .single-software.game-platform .xu5-game-dl-card{padding:12px 13px}
  /* 底部固定下载条按钮同样加大命中区 */
  .single-software.game-platform .xu5-bottom-download-btns .download-btn{
    min-height:44px;display:inline-flex;align-items:center;justify-content:center}
}
/* 极窄屏（≤380）：下载按钮单列全宽，命中区最大 */
@media screen and (max-width:380px){
  .single-software.game-platform .xu5-game-dl-btns .download-btn{flex:1 1 100%}
}

/* ==========================================================================
   游戏详情页 · 黑底 + 白卡片（对齐主页/软件站）· 覆盖上方深色透明主题
   保留电影级 Hero（封面横幅，黑底上本就好看），其余「内容」改为白卡片 + 深色文字。
   整段删除即可回滚到原深色详情主题。
   ========================================================================== */
html:has(body.single-software.game-platform){background:#000}
body.single-software.game-platform{background:#000 !important}
body.single-software.game-platform .xu5-topbar.sticky{background:rgba(0,0,0,.9) !important}

/* 主内容列 → 白卡片 */
.single-software.game-platform .xu5-page-main{background:#fff !important;border-radius:10px;padding:10px 18px 16px;box-shadow:0 1px 3px rgba(0,0,0,.06)}
.single-software.game-platform .card-section{border-bottom-color:#eef0f3 !important}
.single-software.game-platform .card-section h2{color:#1f2330}
.single-software.game-platform .software-features,
.single-software.game-platform .software-usage,
.single-software.game-platform .xu5-software-desc{color:#4a5160}
.single-software.game-platform .xu5-software-desc a{color:#2d8cf0}

/* 下载区 → 白卡片 */
.single-software.game-platform .xu5-game-download-block{background:#fff !important;border:1px solid #eef0f3}
.single-software.game-platform .xu5-game-download-title{color:#1f2330}
.single-software.game-platform .xu5-game-dl-card{background:#fafbfc !important;border:1px solid #eef0f3}
.single-software.game-platform .xu5-game-dl-card:hover{background:#f3f0ff !important;border-color:#d9cdfb}
.single-software.game-platform .xu5-game-dl-name{color:#1f2330}
.single-software.game-platform .xu5-game-dl-ver{color:#8a93a0}
.single-software.game-platform .xu5-game-download-tip{color:#9aa1ac}

/* 侧栏 → 白卡片 */
.single-software.game-platform .xu5-page-sidebar .xu5-sidebar-card,
.single-software.game-platform .xu5-sidebar-card{background:#fff !important;border:1px solid #eef0f3;box-shadow:0 1px 3px rgba(0,0,0,.05)}
.single-software.game-platform .xu5-sidebar-card h3{color:#1f2330;border-bottom-color:#eef0f3}
.single-software.game-platform .info-label{color:#8a93a0}
.single-software.game-platform .info-value{color:#1f2330}
.single-software.game-platform .info-value a{color:#2d8cf0}
.single-software.game-platform .xu5-related-list a{color:#4a5160}
.single-software.game-platform .xu5-related-list a:hover{background:#f3f0ff;color:#1f2330}
.single-software.game-platform .xu5-related-list .related-title{color:#1f2330}
.single-software.game-platform .related-icon-emoji.software{background:#f1ecff}
.single-software.game-platform .xu5-faq-numbered-list li{color:#8a93a0}
.single-software.game-platform .xu5-faq-numbered-list li a{color:#4a5160}
.single-software.game-platform .xu5-faq-numbered-list li a:hover{background:#f3f0ff;color:#1f2330}

/* —— 细化：把「整页内容」包进一张白卡（黑底 + 一张白卡，和首页完全一致）——
   Hero、截图画廊、正文、侧栏都落在这张白卡内；卡内的下载块/侧栏子卡用浅灰底做层次。 */
.single-software.game-platform .xu5-page-wrapper{background:#fff !important;max-width:1100px;width:100%;margin:5px auto 15px;padding:0 14px 16px;border-radius:6px;box-shadow:0 1px 3px rgba(0,0,0,.06);box-sizing:border-box}
.single-software.game-platform .xu5-page-main{background:transparent !important;box-shadow:none;padding:0}
.single-software.game-platform .xu5-page-breadcrumb,
.single-software.game-platform .xu5-page-breadcrumb a,
.single-software.game-platform .xu5-page-breadcrumb span{color:#5b6472}
.single-software.game-platform .xu5-page-breadcrumb{border-bottom-color:#eef0f3}
.single-software.game-platform .xu5-page-sidebar .xu5-sidebar-card,
.single-software.game-platform .xu5-sidebar-card,
.single-software.game-platform .xu5-game-download-block{background:#fafbfc !important;border:1px solid #eef0f3}

/* ==========================================================================
   游戏详情页 · v5 重构（对齐设计稿）：主内容列内「左封面 + 右信息」Hero + 截图 2 列网格
   作用域 .single-software.game-platform —— 仅游戏详情页生效；置于文件末尾后置覆盖。
   整段删除即可回滚到上一版。
   ========================================================================== */
/* Hero：左封面大图 + 右信息（标题/标签/参数/按钮），与右侧栏顶部对齐 */
.single-software.game-platform .xu5-game-hero2{display:flex;gap:22px;align-items:stretch;margin:2px 0 20px}
.single-software.game-platform .xu5-game-hero2-cover{flex:0 0 42%;max-width:360px;border-radius:12px;overflow:hidden;background:#0d1117;box-shadow:0 12px 30px -18px rgba(20,23,40,.45);align-self:flex-start}
.single-software.game-platform .xu5-game-hero2-cover img,
.single-software.game-platform .xu5-game-hero2-img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;display:block}
.single-software.game-platform .xu5-game-hero2-ph{width:100%;aspect-ratio:16/10;display:flex;align-items:center;justify-content:center;font-size:54px;background:#11151c;color:#5b6472}
/* Hero 视频（mp4 / m3u8 / bilibili·youtube iframe）：与封面同位，16:9 填充 */
.single-software.game-platform .xu5-game-hero2-cover.is-video{background:#000}
.single-software.game-platform .xu5-game-hero2-video{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;display:block;border:0;background:#000}
.single-software.game-platform .xu5-game-hero2-info{flex:1;min-width:0;display:flex;flex-direction:column}
.single-software.game-platform .xu5-game-hero2-info .xu5-software-tags{display:flex;flex-wrap:wrap;gap:8px;order:1}
.single-software.game-platform .xu5-game-hero2-info .xu5-tag{padding:4px 12px;border-radius:999px;font-size:12px;font-weight:600;background:#eef1f6;color:#5b6472;border:1px solid #e6e9ef;backdrop-filter:none;-webkit-backdrop-filter:none}
.single-software.game-platform .xu5-game-hero2-info .xu5-tag-platform{background:linear-gradient(135deg,#6366f1,#a855f7);color:#fff;border:none}
.single-software.game-platform .xu5-game-hero2-info .xu5-software-title{order:2;font-size:24px;line-height:1.25;margin:10px 0 2px;font-weight:800;color:#1f2330;background:none;-webkit-text-fill-color:#1f2330;text-shadow:none}
.single-software.game-platform .xu5-game-hero2-info .xu5-game-hero-stats{order:3;display:flex;flex-wrap:wrap;gap:12px 28px;margin:12px 0 0}
.single-software.game-platform .xu5-game-hero2-info .xu5-game-hero-stats .stat{display:flex;flex-direction:column;gap:4px}
.single-software.game-platform .xu5-game-hero2-info .xu5-game-hero-stats .lab{display:inline-flex;align-items:center;gap:5px;color:#8a93a0;font-size:12px}
.single-software.game-platform .xu5-game-hero2-info .xu5-game-hero-stats b{color:#1f2330;font-size:14px;font-weight:700}
.single-software.game-platform .xu5-game-hero2-info .xu5-stat-ico{width:13px;height:13px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:2;opacity:.7}
/* Hero 操作区：醒目「立即下载」+ 次级订阅/打赏 */
.single-software.game-platform .xu5-game-hero2-actions{order:4;display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;gap:10px;margin-top:auto;padding-top:18px;width:100%}
.single-software.game-platform .xu5-game-hero2-actions .xu5-action-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:11px 24px;border-radius:10px;font-size:14px;font-weight:700;cursor:pointer;border:none;transition:transform .15s ease,box-shadow .15s ease;line-height:1}
/* 主 CTA：整行宽、紫色（!important 压过全局绿色 .xu5-action-download） */
.single-software.game-platform .xu5-game-hero2-actions .xu5-action-download{flex:1 1 100%;padding:13px 24px;font-size:15px;background:linear-gradient(135deg,#7c3aed,#a855f7) !important;color:#fff !important;box-shadow:0 12px 24px -12px rgba(124,58,237,.75)}
.single-software.game-platform .xu5-game-hero2-actions .xu5-action-download:hover{transform:translateY(-1px);box-shadow:0 16px 30px -12px rgba(124,58,237,.85)}
.single-software.game-platform .xu5-game-hero2-actions .xu5-action-dl-icon{width:17px;height:17px}
/* 次级：订阅 / 打赏，平分第二行 */
.single-software.game-platform .xu5-game-hero2-actions .xu5-action-subscribe,
.single-software.game-platform .xu5-game-hero2-actions .xu5-action-donate{flex:1 1 auto;background:#f1ecff !important;color:#6d28d9 !important;border:1px solid #e6dbff}
.single-software.game-platform .xu5-game-hero2-actions .xu5-action-subscribe:hover,
.single-software.game-platform .xu5-game-hero2-actions .xu5-action-donate:hover{background:#e9e0ff !important}
/* 截图 2 列网格（替代单列大图竖向堆叠） */
.single-software.game-platform .xu5-game-desc-open .xu5-shot-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:14px 0}
.single-software.game-platform .xu5-game-desc-open .xu5-shot-grid figure,
.single-software.game-platform .xu5-game-desc-open .xu5-shot-grid .wp-block-image,
.single-software.game-platform .xu5-game-desc-open .xu5-shot-grid p{margin:0}
.single-software.game-platform .xu5-game-desc-open .xu5-shot-grid img{width:100%;height:100%;aspect-ratio:16/9;object-fit:cover;border-radius:10px;border:1px solid #eef0f3;display:block}
/* 简介标题 / 正文 / 单图 */
.single-software.game-platform .xu5-game-desc-open .desc-full h2{font-size:17px;font-weight:800;color:#1f2330;margin:20px 0 10px;padding-left:10px;border-left:3px solid #7c3aed;line-height:1.3}
.single-software.game-platform .xu5-game-desc-open .desc-full p{color:#4a5160;line-height:1.85;margin:0 0 12px}
.single-software.game-platform .xu5-game-desc-open .desc-full > figure img,
.single-software.game-platform .xu5-game-desc-open .desc-full > p img{max-width:100%;height:auto;border-radius:10px;display:block;margin:10px auto}
/* 响应式 */
@media screen and (max-width:768px){
  .single-software.game-platform .xu5-game-hero2{flex-direction:column;gap:14px}
  .single-software.game-platform .xu5-game-hero2-cover{flex-basis:auto;max-width:none;width:100%}
  .single-software.game-platform .xu5-game-hero2-info .xu5-software-title{font-size:20px}
  .single-software.game-platform .xu5-game-hero2-actions .xu5-action-btn{flex:1 1 auto;justify-content:center;min-height:44px}
  .single-software.game-platform .xu5-game-desc-open .xu5-shot-grid{grid-template-columns:1fr}
}

/* ==========================================================================
   游戏详情页 · v5.1 间距优化：长游戏名不再拥挤（Hero 标题 + 下载卡名称）
   ========================================================================== */
/* Hero 标题通栏：独占一行置于「封面 + 信息」上方，长中英文名也不拥挤 */
.single-software.game-platform .xu5-game-hero2-wrap{margin:2px 0 20px}
.single-software.game-platform .xu5-game-hero2-title{font-size:24px;line-height:1.4;margin:0 0 14px;font-weight:800;color:#1f2330;background:none;-webkit-text-fill-color:#1f2330;text-shadow:none;word-break:break-word}
.single-software.game-platform .xu5-game-hero2{margin:0}
.single-software.game-platform .xu5-game-hero2-info{justify-content:center}
.single-software.game-platform .xu5-game-hero2-info .xu5-software-tags{margin-bottom:2px}
.single-software.game-platform .xu5-game-hero2-info .xu5-game-hero-stats{gap:12px 26px;margin-top:0}
/* 下载卡：不显示游戏名 → 单行（图标 + 版本 左，网盘按钮 右），简洁不拥挤 */
.single-software.game-platform .xu5-game-download-block .xu5-game-dl-card{padding:14px 16px;justify-content:flex-start;gap:14px}
.single-software.game-platform .xu5-game-download-block .xu5-game-dl-info{flex:0 0 auto;align-items:center}
.single-software.game-platform .xu5-game-download-block .xu5-game-dl-btns{flex:1 1 auto}
/* 截图灯箱：点击简介图片放大查看 */
.single-software.game-platform .xu5-game-desc-open .desc-full img{cursor:zoom-in}
.xu5-lightbox{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,.86);padding:20px;cursor:zoom-out}
.xu5-lightbox.open{display:flex}
.xu5-lightbox img{max-width:95vw;max-height:92vh;border-radius:8px;box-shadow:0 20px 60px rgba(0,0,0,.6);cursor:zoom-out}