/**
 * 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 {
  width: 100%;
  max-height: 360px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.xu5-game-banner-img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: cover;
  display: block;
}

.xu5-game-banner-video {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
  background: #000;
}

.xu5-game-banner-placeholder {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  color: rgba(255,255,255,0.6);
}

@media (max-width: 768px) {
  .xu5-game-banner {
    max-height: 200px;
    border-radius: 8px;
    margin-bottom: 12px;
  }
  .xu5-game-banner-img {
    max-height: 200px;
  }
  .xu5-game-banner-video {
    max-height: 220px;
  }
  .xu5-game-banner-placeholder {
    height: 120px;
    font-size: 48px;
  }
}

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

/* 平板 (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 ===== */
.single-software.game-platform .xu5-game-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 380px;
  margin-bottom: 12px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #1b2030 0%, #0b0e16 100%);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.single-software.game-platform .xu5-game-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.single-software.game-platform .xu5-game-hero-media img,
.single-software.game-platform .xu5-game-hero-media .xu5-game-banner-img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  display: block;
}
.single-software.game-platform .xu5-game-hero-media .xu5-game-banner-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 84px;
  color: rgba(255, 255, 255, 0.5);
}
.single-software.game-platform .xu5-game-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 130% at 18% 0%, rgba(99, 102, 241, 0.35), transparent 55%),
    radial-gradient(120% 130% at 92% 12%, rgba(236, 72, 153, 0.26), transparent 50%),
    linear-gradient(to top, rgba(7, 9, 14, 0.96) 6%, rgba(7, 9, 14, 0.55) 42%, transparent 88%);
}
.single-software.game-platform .xu5-game-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 34px 36px;
}
.single-software.game-platform .xu5-game-hero .xu5-software-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.08;
  margin: 12px 0;
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}
.single-software.game-platform .xu5-game-hero .xu5-software-tags {
  gap: 8px;
}
.single-software.game-platform .xu5-game-hero .xu5-tag {
  padding: 5px 13px;
  border-radius: 999px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  color: #e7ecf3;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.single-software.game-platform .xu5-game-hero .xu5-tag-platform {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #fff;
  border: none;
  box-shadow: 0 6px 18px -8px #8b5cf6;
}
.single-software.game-platform .xu5-game-hero .xu5-software-meta-inline {
  margin-top: 12px;
  gap: 6px 22px;
  font-size: 13px;
  color: #cbd3de;
}
.single-software.game-platform .xu5-game-hero .xu5-software-meta-inline span {
  color: #cbd3de;
}

/* 视频 Hero：媒体在流内（不遮挡控件），标题信息排在下方 */
.single-software.game-platform .xu5-game-hero--video {
  display: block;
  min-height: 0;
  background:
    radial-gradient(90% 150% at 10% 100%, rgba(99, 102, 241, 0.22), transparent 60%),
    radial-gradient(80% 140% at 96% 100%, rgba(236, 72, 153, 0.16), transparent 55%),
    linear-gradient(135deg, #1b2030 0%, #0b0e16 100%);
}
.single-software.game-platform .xu5-game-hero--video .xu5-game-hero-media {
  position: relative;
}
.single-software.game-platform .xu5-game-hero--video .xu5-game-hero-media video,
.single-software.game-platform .xu5-game-hero--video .xu5-game-hero-media iframe {
  width: 100%;
  height: auto;
  max-height: 460px;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
}
.single-software.game-platform .xu5-game-hero--video .xu5-game-hero-shade {
  display: none;
}
.single-software.game-platform .xu5-game-hero--video .xu5-game-hero-inner {
  padding: 20px 30px 4px;
}

/* 游戏操作行（订阅 / 打赏，位于 Hero 下方） */
.single-software.game-platform .intro-header.xu5-game-intro-actions {
  border-bottom: none;
  padding: 0 0 4px;
  margin-bottom: 6px;
}
.single-software.game-platform .xu5-game-intro-actions .xu5-software-actions {
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===== 玻璃拟态下载面板 ===== */
.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;
}

/* ===== 响应式 ===== */
@media screen and (max-width: 768px) {
  .single-software.game-platform .xu5-game-hero {
    min-height: 240px;
    border-radius: 14px;
  }
  .single-software.game-platform .xu5-game-hero-inner {
    padding: 22px 18px;
  }
  .single-software.game-platform .xu5-game-hero .xu5-software-title {
    font-size: 24px;
  }
  .single-software.game-platform .xu5-game-hero .xu5-software-meta-inline {
    justify-content: flex-start;
  }
}

/* ==========================================================================
   游戏详情页 · v2 对齐增强（统计块 / 评分徽章 / 截图画廊 / 更大 Hero）
   ========================================================================== */
.single-software.game-platform .xu5-game-hero {
  min-height: 340px;
}
.single-software.game-platform .xu5-game-hero-inner {
  padding: 26px 32px;
}
.single-software.game-platform .xu5-game-hero .xu5-software-title {
  font-size: 36px;
  letter-spacing: -0.5px;
  margin: 9px 0;
  background: linear-gradient(180deg, #ffffff, #c9d3e0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 评分徽章（左上） */
.single-software.game-platform .xu5-game-hero-score {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 15px 9px 11px;
  border-radius: 14px;
  background: rgba(7, 9, 14, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.single-software.game-platform .xu5-game-hero-score .num {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #ffd86b, #ff7eb3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.single-software.game-platform .xu5-game-hero-score .lab {
  font-size: 11px;
  color: #cfd6df;
  line-height: 1.3;
}
.single-software.game-platform .xu5-game-hero-score .stars {
  color: #ffd86b;
  font-size: 11px;
  letter-spacing: 1px;
}

/* 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;
}

/* 截图画廊（Hero 下方横向滚动） */
.single-software.game-platform .xu5-game-gallery {
  position: relative;
  margin: 0 0 12px;
}
.single-software.game-platform .xu5-game-gallery-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  scroll-snap-type: x mandatory;
}
.single-software.game-platform .xu5-game-gallery-strip::-webkit-scrollbar {
  height: 6px;
}
.single-software.game-platform .xu5-game-gallery-strip::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 6px;
}
.single-software.game-platform .xu5-game-shot {
  flex: 0 0 280px;
  height: 150px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  scroll-snap-align: start;
  transition: 0.25s;
  display: block;
}
.single-software.game-platform .xu5-game-shot:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 16px 36px -20px rgba(124, 58, 247, 0.6);
}
.single-software.game-platform .xu5-game-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 画廊左右切换按钮（透明玻璃态，悬浮在截图条两侧） */
.single-software.game-platform .xu5-game-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(13, 17, 23, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.single-software.game-platform .xu5-game-gallery:hover .xu5-game-gallery-nav {
  opacity: 0.85;
}
.single-software.game-platform .xu5-game-gallery-nav:hover {
  opacity: 1;
  background: rgba(99, 102, 241, 0.7);
  box-shadow: 0 10px 26px -10px rgba(124, 58, 237, 0.85);
}
.single-software.game-platform .xu5-game-gallery-nav:focus-visible {
  opacity: 1;
  outline: 2px solid #a855f7;
  outline-offset: 2px;
}
.single-software.game-platform .xu5-game-gallery-nav[hidden] {
  display: none;
}
.single-software.game-platform .xu5-game-gallery-nav.prev {
  left: 10px;
}
.single-software.game-platform .xu5-game-gallery-nav.next {
  right: 10px;
}
.single-software.game-platform .xu5-game-gallery-nav svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* 触屏设备隐藏按钮（改用手势滑动） */
@media (hover: none) and (pointer: coarse) {
  .single-software.game-platform .xu5-game-gallery-nav {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .single-software.game-platform .xu5-game-hero {
    min-height: 240px;
  }
  .single-software.game-platform .xu5-game-hero-inner {
    padding: 22px 18px;
  }
  .single-software.game-platform .xu5-game-hero .xu5-software-title {
    font-size: 26px;
  }
  .single-software.game-platform .xu5-game-hero-stats {
    gap: 10px 22px;
  }
  .single-software.game-platform .xu5-game-shot {
    flex-basis: 230px;
    height: 128px;
  }
}

/* 通栏 Hero 包裹（与两列容器同宽对齐） */
.single-software.game-platform .xu5-game-hero-wrap {
  padding: 6px 30px 0;
}
@media screen and (max-width: 768px) {
  .single-software.game-platform .xu5-game-hero-wrap {
    padding: 8px 14px 0;
  }
}

/* ==========================================================================
   游戏详情页 · v2.1 高大上美化增强 · 克制收敛版（追加层，删除本段即可整体回滚）
   调色：靛蓝 #6366f1 → 紫 #8b5cf6 双色（去粉色 ec4899、降饱和），纹理/辉光/位移均收窄
   仅 .single-software.game-platform 生效，软件（非游戏）详情页不受影响
   ========================================================================== */

/* Hero：无外框（去描边光环与浮起投影），保留轻微圆角 12px 与细腻扫描线纹理 */
.single-software.game-platform .xu5-game-hero {
  box-shadow: none;
  border-radius: 12px;
}
.single-software.game-platform .xu5-game-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.014) 0 2px, transparent 2px 8px);
  mix-blend-mode: overlay;
}

/* 平台标签：渐变胶囊增加 hover 微交互 */
.single-software.game-platform .xu5-game-hero .xu5-tag-platform {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.single-software.game-platform .xu5-game-hero .xu5-tag-platform:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 16px -10px rgba(139, 92, 246, 0.5);
}

/* 评分徽章：辉光描边更精致 */
.single-software.game-platform .xu5-game-hero-score {
  box-shadow: 0 8px 26px -12px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* 视频 Hero 变体：无外框（去掉内边距留白 / 边框光环 / 面板底色），视频铺满、信息贴底 */
.single-software.game-platform .xu5-game-hero--video {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.single-software.game-platform .xu5-game-hero--video::before {
  display: none;
}
.single-software.game-platform .xu5-game-hero--video .xu5-game-hero-media {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
}
.single-software.game-platform .xu5-game-hero--video .xu5-game-hero-media video,
.single-software.game-platform .xu5-game-hero--video .xu5-game-hero-media iframe {
  border-radius: 12px;
}
.single-software.game-platform .xu5-game-hero--video .xu5-game-hero-inner {
  padding: 16px 2px 4px;
}

/* 截图卡片：叠加斜向高光 sheen */
.single-software.game-platform .xu5-game-shot {
  position: relative;
}
.single-software.game-platform .xu5-game-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.028), transparent 62%);
}

/* 下载玻璃面板：左侧渐变光带 + 更强 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,
  .single-software.game-platform .xu5-game-hero .xu5-tag-platform {
    transition: none;
  }
}

@media screen and (max-width: 768px) {
  .single-software.game-platform .xu5-game-hero--video {
    padding: 10px;
    border-radius: 14px;
  }
  .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,
body.single-software.game-platform .xu5-game-shot:focus-visible {
  outline: 2px solid #8b5cf6;
  outline-offset: 2px;
  border-radius: 8px;
}