/* ===================================
   软件下载站 — 完整样式
   Design: 技术感 + 可读性 + 分类色彩系统
   =================================== */

/* ---------- 字体 ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500&display=swap');

/* ---------- 重置与基础 ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #0f172a;
  background: #f8fafc;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

a { color: #0891b2; text-decoration: none; transition: color .15s; }
a:hover { color: #0e7490; }

img { max-width: 100%; height: auto; }

img[data-lazy-image] {
  opacity: 0;
  transition: opacity .22s ease;
}

img[data-lazy-image][data-loaded="true"] {
  opacity: 1;
}

[hidden] {
  display: none !important;
}

/* ---------- 布局 ---------- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 分类色彩系统 ---------- */
:root {
  --cat-video: #0ea5e9;
  --cat-video-bg: rgba(14, 165, 233, 0.06);
  --cat-image: #8b5cf6;
  --cat-image-bg: rgba(139, 92, 246, 0.06);
  --cat-system: #10b981;
  --cat-system-bg: rgba(16, 185, 129, 0.06);
  --cat-office: #f59e0b;
  --cat-office-bg: rgba(245, 158, 11, 0.06);
  --cat-dev: #3b82f6;
  --cat-dev-bg: rgba(59, 130, 246, 0.06);
  --cat-ai: #14b8a6;
  --cat-ai-bg: rgba(20, 184, 166, 0.08);
  --cat-game: #ef4444;
  --cat-game-bg: rgba(239, 68, 68, 0.08);
  --accent: #0891b2;
  --accent-hover: #0e7490;
  --accent-glow: rgba(8, 145, 178, 0.1);
}

/* ========== 头部 ========== */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: #0f172a;
  text-decoration: none;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #0891b2, #0ea5e9);
  color: #fff;
  border-radius: 6px;
  font-size: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
}

.logo:hover { color: #0f172a; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #475569;
  transition: background .12s, color .12s;
}

.main-nav a:hover {
  background: #f1f5f9;
  color: #0891b2;
}

.header-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search-input {
  width: 240px;
  height: 38px;
  border: 1px solid #dbe4ff;
  border-radius: 10px;
  background: #f8fbff;
  padding: 0 14px;
  color: #0f172a;
  font-size: 14px;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}

.header-search-input:focus {
  border-color: #0891b2;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

.header-search-button,
.search-clear-button {
  height: 38px;
  border: 0;
  border-radius: 10px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .12s, box-shadow .12s, background .12s, color .12s;
}

.header-search-button {
  background: linear-gradient(135deg, #0891b2, #0ea5e9);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.18);
}

.header-search-button:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.search-clear-button {
  background: #eef2ff;
  color: #475569;
}

.search-clear-button:hover {
  color: #0f172a;
  background: #e2e8f0;
}

.category-nav-wrap {
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.95);
}

.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.category-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.category-nav a:hover {
  color: #0f172a;
  border-color: #cbd5e1;
  background: #ffffff;
}

/* 导航分类色标 */
.main-nav a[href*="video-editing"]:hover { color: var(--cat-video); }
.main-nav a[href*="image-editing"]:hover { color: var(--cat-image); }
.main-nav a[href*="system-tools"]:hover { color: var(--cat-system); }
.main-nav a[href*="office"]:hover { color: var(--cat-office); }
.main-nav a[href*="dev-tools"]:hover { color: var(--cat-dev); }
.main-nav a[href*="ai-tools"]:hover { color: var(--cat-ai); }
.main-nav a[href*="game-downloads"]:hover { color: var(--cat-game); }

.category-nav a[href*="video-editing"] { border-color: rgba(14, 165, 233, 0.18); color: var(--cat-video); }
.category-nav a[href*="image-editing"] { border-color: rgba(139, 92, 246, 0.18); color: var(--cat-image); }
.category-nav a[href*="system-tools"] { border-color: rgba(16, 185, 129, 0.18); color: var(--cat-system); }
.category-nav a[href*="office"] { border-color: rgba(245, 158, 11, 0.18); color: var(--cat-office); }
.category-nav a[href*="dev-tools"] { border-color: rgba(59, 130, 246, 0.18); color: var(--cat-dev); }
.category-nav a[href*="ai-tools"] { border-color: rgba(20, 184, 166, 0.18); color: var(--cat-ai); }
.category-nav a[href*="game-downloads"] { border-color: rgba(239, 68, 68, 0.18); color: var(--cat-game); }

/* ========== 底部 ========== */
.site-footer {
  background: #0f172a;
  padding: 48px 0 40px;
  margin-top: 80px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #f1f5f9;
}

.footer-text {
  color: #64748b;
  font-size: 13px;
}

.breadcrumb-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-top: 22px;
  color: #64748b;
  font-size: 13px;
}

.breadcrumb-nav a {
  color: #64748b;
}

.breadcrumb-nav a:hover {
  color: #0891b2;
}

/* ========== 首页专用 ========== */

/* Hero 区域 */
.hero {
  background: linear-gradient(135deg, #f0f9ff 0%, #f5f3ff 100%);
  border-bottom: 1px solid #e2e8f0;
  padding: 64px 0 56px;
  margin-bottom: 16px;
}

.hero-content {
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(8, 145, 178, 0.08);
  color: #0891b2;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.hero h1 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 17px;
  color: #475569;
  line-height: 1.6;
  max-width: 560px;
}

/* 首页统计条 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  margin: 32px 0 48px;
}

.stat-item {
  background: #ffffff;
  padding: 20px 24px;
  text-align: center;
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
  color: #0891b2;
  line-height: 1.1;
  font-family: 'JetBrains Mono', monospace;
}

.stat-label {
  font-size: 13px;
  color: #64748b;
  margin-top: 4px;
}

/* ---------- 通用区块 ---------- */
.section {
  margin: 0 0 48px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}

.section-link {
  font-size: 13px;
  font-weight: 500;
  color: #0891b2;
}

.section-link:hover {
  color: #0e7490;
}

/* ========== 分类卡片 ========== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.category-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 24px 20px;
  transition: border-color .2s, box-shadow .15s;
  border-top: 3px solid transparent;
}

.category-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}

.category-card[href*="video-editing"] { border-top-color: var(--cat-video); }
.category-card[href*="image-editing"] { border-top-color: var(--cat-image); }
.category-card[href*="system-tools"] { border-top-color: var(--cat-system); }
.category-card[href*="office"] { border-top-color: var(--cat-office); }
.category-card[href*="dev-tools"] { border-top-color: var(--cat-dev); }
.category-card[href*="ai-tools"] { border-top-color: var(--cat-ai); }
.category-card[href*="game-downloads"] { border-top-color: var(--cat-game); }

.category-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #0f172a;
}

.category-card p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}

/* ========== 文章列表 ========== */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-card {
  background: #ffffff;
  padding: 18px 20px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  transition: border-color .15s, box-shadow .15s;
}

.article-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.article-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #0f172a;
  line-height: 1.4;
}

.article-summary {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 6px;
  line-height: 1.5;
}

.article-meta {
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  gap: 12px;
}

/* ========== 分类页 - 软件网格 ========== */
.page-header {
  padding: 32px 0 24px;
}

.page-header h1 {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.3px;
}

.page-header > p {
  font-size: 15px;
  color: #64748b;
  margin-top: 4px;
}

.page-meta {
  display: flex;
  gap: 16px;
  color: #64748b;
  font-size: 13px;
  margin-top: 8px;
}

.software-search-panel {
  display: grid;
  gap: 12px;
  padding: 18px 20px;
  margin: 0 0 22px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.06), rgba(59, 130, 246, 0.04));
  border: 1px solid #dbe4ff;
  border-radius: 16px;
}

.software-search-form {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: stretch;
}

.software-search-input {
  flex: 1;
  max-width: 520px;
  min-width: 0;
}

.software-search-tip {
  color: #64748b;
  font-size: 13px;
}

.software-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.software-card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
}

.software-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.software-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  transition: border-color .15s, box-shadow .15s;
  display: flex;
  flex-direction: column;
  content-visibility: auto;
  contain-intrinsic-size: 280px;
}

.software-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}

.software-card-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.software-card-main {
  min-width: 0;
  flex: 1;
}

.software-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e0f2fe, #dbeafe);
  color: #0f172a;
  font-size: 15px;
  font-weight: 800;
  border: 1px solid #dbeafe;
}

.software-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.software-icon__fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  color: inherit;
}

.software-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  gap: 10px;
}

.software-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.35;
}

.version-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: #0891b2;
  background: rgba(8, 145, 178, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.software-card .desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin-top: 12px;
}

.category-label {
  font-size: 11px;
  color: #0891b2;
  font-weight: 500;
  margin-top: 4px;
}

.empty-tip {
  color: #94a3b8;
  padding: 48px 0;
  text-align: center;
  font-size: 14px;
}

.empty-state-panel {
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  color: #64748b;
}

.empty-state-panel h3 {
  color: #0f172a;
  font-size: 18px;
  margin-bottom: 8px;
}

.empty-state-panel p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 10px;
}

.empty-state-panel--spacious {
  margin: 48px 0 8px;
}

.client-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 8px;
}

.client-pagination__summary {
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  margin-right: 4px;
}

.client-pagination__ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
}

.client-pagination button {
  min-width: 42px;
  height: 38px;
  border: 1px solid #dbe4ff;
  border-radius: 10px;
  background: #ffffff;
  color: #334155;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .12s, color .12s, background .12s, transform .12s;
}

.client-pagination button:hover:not(:disabled) {
  border-color: #0891b2;
  color: #0891b2;
  transform: translateY(-1px);
}

.client-pagination button.active {
  background: linear-gradient(135deg, #0891b2, #0ea5e9);
  border-color: transparent;
  color: #ffffff;
}

.client-pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ========== 软件详情 ========== */
.detail-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 0 28px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 32px;
}

.detail-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.detail-logo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e0f2fe, #dbeafe);
  color: #0f172a;
  font-size: 22px;
  font-weight: 800;
  border: 1px solid #dbeafe;
}

.detail-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0891b2;
  margin-bottom: 8px;
}

.detail-title-group h1 {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.3px;
}

.detail-title-group small {
  font-size: 15px;
  color: #64748b;
  font-weight: 400;
  margin-left: 8px;
  font-family: 'JetBrains Mono', monospace;
}

.tag-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.tag {
  font-size: 11px;
  font-weight: 500;
  background: #f1f5f9;
  padding: 3px 10px;
  border-radius: 4px;
  color: #475569;
  transition: background .12s;
}

.tag:hover { background: #e2e8f0; }

.detail-action-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0891b2, #0ea5e9);
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: opacity .15s, transform .1s;
  flex-shrink: 0;
}

.btn-download:hover {
  opacity: .92;
  transform: translateY(-1px);
  color: #fff;
}

.btn-download::after {
  content: "↗";
  font-size: 14px;
}

/* 详情内容双栏 */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: start;
}

.main-content {
  min-width: 0;
}

.content-body {
  font-size: 15px;
  color: #334155;
  line-height: 1.8;
}

.content-body p { margin: 12px 0; }

.content-body h2 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 32px 0 12px;
}

/* 功能列表 */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #334155;
  padding: 8px 12px;
  background: #f8fafc;
  border-radius: 6px;
  border: 1px solid #f1f5f9;
}

.feature-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: #0891b2;
  border-radius: 50%;
  flex-shrink: 0;
}

/* 侧栏信息卡 */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.shot-card {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  transition: transform .12s, box-shadow .12s, border-color .12s;
}

.shot-card:hover {
  transform: translateY(-1px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.shot-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.sidebar {
  position: sticky;
  top: 88px;
}

.info-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.info-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 12px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
}

.info-row + .info-row {
  border-top: 1px solid #f8fafc;
}

.info-label {
  color: #64748b;
}

.info-value {
  color: #0f172a;
  font-weight: 500;
  text-align: right;
}

.info-value a {
  color: #0891b2;
  font-weight: 500;
}

/* ========== 文章详情 ========== */
.article-content {
  background: #ffffff;
  padding: 32px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  font-size: 15px;
  color: #334155;
  line-height: 1.9;
}

.article-content h1.article-h1 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin: 32px 0 16px;
}

.article-content h2 {
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
  margin: 28px 0 12px;
}

.article-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 20px 0 10px;
}

.article-content p {
  margin: 12px 0;
}

.article-figure {
  margin: 18px 0 24px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.article-figure img {
  width: 100%;
  display: block;
}

.article-footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  font-size: 13px;
  color: #64748b;
}

/* ========== 搜索页（占位） ========== */
.search-box {
  width: 100%;
  max-width: 480px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #0f172a;
  background: #fff;
  outline: none;
  transition: border-color .15s;
}

.search-box:focus {
  border-color: #0891b2;
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

.software-search-form .header-search-button,
.software-search-form .search-clear-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 44px;
  padding: 0 18px;
  flex-shrink: 0;
}

/* ========== 分类头部的分类色条 ========== */
.page-header.video-editing h1 { color: var(--cat-video); }
.page-header.image-editing h1 { color: var(--cat-image); }
.page-header.system-tools h1 { color: var(--cat-system); }
.page-header.office h1 { color: var(--cat-office); }
.page-header.dev-tools h1 { color: var(--cat-dev); }
.page-header.ai-tools h1 { color: var(--cat-ai); }
.page-header.game-downloads h1 { color: var(--cat-game); }

/* ========== 响应式 ========== */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    height: auto;
    padding: 12px 0;
    gap: 10px;
  }

  .header-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-nav a {
    font-size: 13px;
    padding: 4px 10px;
  }

  .header-search-form {
    width: 100%;
  }

  .header-search-input {
    width: 100%;
    flex: 1;
  }

  .hero {
    padding: 40px 0 32px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero p {
    font-size: 15px;
  }

  .stats-bar {
    grid-template-columns: 1fr;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .detail-header {
    flex-direction: column;
  }

  .detail-title-wrap {
    width: 100%;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .software-grid {
    grid-template-columns: 1fr;
  }

  .software-card-meta {
    gap: 6px;
  }

  .article-content {
    padding: 20px;
  }
}

/* ========== 暗色滚动条（桌面） ========== */
@media (prefers-color-scheme: light) {
  ::-webkit-scrollbar { width: 8px; }
  ::-webkit-scrollbar-track { background: #f1f5f9; }
  ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
}

/* ========== motion reduce ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
  html { scroll-behavior: auto; }
}

/* ========== 2026-07 layout refresh ========== */
:root {
  --page-bg: #f4f7fb;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --surface-border: rgba(148, 163, 184, 0.18);
  --surface-shadow: 0 22px 44px rgba(15, 23, 42, 0.08);
  --text-strong: #0f172a;
  --text-muted-strong: #526277;
}

body {
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.12), transparent 32%),
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.08), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, var(--page-bg) 100%);
  color: var(--text-strong);
}

main {
  padding-bottom: 36px;
}

.container {
  max-width: 1200px;
}

.site-header {
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
}

.header-inner {
  min-height: 72px;
  gap: 18px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.main-nav {
  gap: 8px;
}

.main-nav a {
  font-weight: 600;
}

.header-search-form {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(203, 213, 225, 0.8);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.header-search-input {
  min-width: 240px;
}

.category-nav-wrap {
  background: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(241, 245, 249, 0.9);
}

.category-nav {
  gap: 10px;
  padding-top: 12px;
  padding-bottom: 14px;
}

.category-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(226, 232, 240, 0.95);
  color: #475569;
  font-size: 13px;
  font-weight: 600;
}

.category-nav a:hover {
  background: #ffffff;
  border-color: rgba(14, 165, 233, 0.28);
  color: #0f172a;
}

.portal-hero,
.catalog-hero,
.product-hero,
.topic-hero {
  border: 1px solid rgba(226, 232, 240, 0.72);
  box-shadow: var(--surface-shadow);
}

.portal-hero {
  margin-top: 20px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(240, 249, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 54%, rgba(236, 253, 245, 0.98) 100%);
  padding-top: 76px;
  padding-bottom: 70px;
}

.portal-hero-copy h1,
.catalog-hero-main h1,
.product-head-copy h1,
.topic-hero-text h1 {
  letter-spacing: -0.9px;
}

.portal-hero-copy p,
.catalog-hero-main p,
.topic-hero-text p,
.product-lead {
  color: var(--text-muted-strong);
}

.portal-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: -26px 0 18px;
  position: relative;
  z-index: 1;
}

.portal-stat-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 22px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
  padding: 22px 22px 20px;
}

.portal-stat-card strong {
  font-size: 30px;
  font-weight: 800;
  color: #0f172a;
}

.portal-stat-card span {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.portal-hero-board,
.catalog-hero-side,
.product-cta-card,
.product-info-card,
.topic-card,
.portal-zone-card,
.portal-software-card,
.catalog-row,
.software-card,
.article-card,
.article-content,
.software-search-panel,
.empty-state-panel {
  background: var(--surface);
  border-color: var(--surface-border);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.06);
}

.portal-board-item,
.catalog-row,
.topic-card,
.portal-software-card,
.software-card,
.article-card,
.product-shot-card {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.portal-board-item:hover,
.catalog-row:hover,
.topic-card:hover,
.portal-software-card:hover,
.software-card:hover,
.article-card:hover,
.product-shot-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 44px rgba(15, 23, 42, 0.1);
}

.section {
  margin-bottom: 58px;
}

.section-header {
  gap: 12px;
  margin-bottom: 22px;
}

.section-header-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.section-count {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(203, 213, 225, 0.92);
  color: #526277;
  font-size: 13px;
  font-weight: 600;
}

.listing-shell {
  position: relative;
}

.page-header,
.software-search-panel,
.catalog-hero,
.topic-hero,
.product-hero {
  border-radius: 28px;
}

.page-header {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(226, 232, 240, 0.84);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.05);
  padding: 28px 30px 26px;
}

.page-meta {
  flex-wrap: wrap;
}

.software-search-panel {
  padding: 18px 20px;
}

.software-search-form {
  align-items: stretch;
  gap: 12px;
}

.search-clear-button {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: #ffffff;
  color: #475569;
  font-weight: 600;
}

.search-clear-button:hover {
  border-color: rgba(14, 165, 233, 0.28);
  color: #0f172a;
}

.software-grid,
.portal-card-grid,
.topic-grid,
.product-shot-grid {
  gap: 20px;
}

.software-card,
.portal-software-card,
.topic-card,
.article-card {
  border-radius: 22px;
}

.software-card,
.portal-software-card {
  padding: 22px;
}

.catalog-row {
  border-radius: 22px;
  padding: 22px;
}

.portal-card-actions,
.portal-hero-actions,
.catalog-row-actions,
.product-cta-actions {
  gap: 12px;
}

.portal-mini-btn,
.catalog-btn,
.portal-link,
.product-cta-btn {
  min-height: 42px;
  border-radius: 12px;
  font-weight: 700;
}

.product-cta-card {
  padding: 22px;
}

.product-info-card {
  position: sticky;
  top: 112px;
}

.article-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.article-card {
  height: 100%;
}

.client-pagination {
  margin-top: 22px;
  justify-content: center;
  gap: 10px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.05);
}

.client-pagination__summary {
  color: #526277;
  font-weight: 700;
}

.client-pagination button {
  min-width: 42px;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(203, 213, 225, 0.92);
  background: #ffffff;
  color: #1e293b;
  font-weight: 700;
}

.client-pagination button.active {
  border-color: rgba(8, 145, 178, 0.36);
  box-shadow: 0 14px 26px rgba(8, 145, 178, 0.14);
}

.site-footer {
  margin-top: 92px;
  background: linear-gradient(180deg, #0f172a 0%, #111c33 100%);
}

@media (max-width: 1024px) {
  .portal-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-actions {
    width: 100%;
    flex-direction: column;
  }

  .header-search-form {
    width: 100%;
  }

  .header-search-input {
    min-width: 0;
    width: 100%;
  }

  .portal-hero {
    margin-top: 16px;
    padding-top: 46px;
    padding-bottom: 40px;
    border-radius: 24px;
  }

  .portal-stat-grid {
    grid-template-columns: 1fr;
    margin-top: -12px;
  }

  .page-header,
  .software-search-panel,
  .catalog-hero,
  .topic-hero,
  .product-hero,
  .client-pagination {
    border-radius: 20px;
  }

  .software-search-form {
    flex-direction: column;
  }

  .section-header-meta {
    width: 100%;
    justify-content: space-between;
  }

  .product-info-card {
    position: static;
  }
}

/* ========== 平台首页改造 ========== */
.hero-platform {
  padding: 72px 0 60px;
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(99, 102, 241, 0.18), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.9fr);
  gap: 28px;
  align-items: stretch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-primary,
.hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: transform .12s, box-shadow .12s, border-color .12s;
}

.hero-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.22);
}

.hero-primary:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.hero-secondary {
  color: #1e293b;
  border: 1px solid #dbe4ff;
  background: rgba(255, 255, 255, 0.82);
}

.hero-secondary:hover {
  color: #0f172a;
  border-color: #c7d2fe;
}

.hero-panel {
  background: rgba(15, 23, 42, 0.95);
  color: #e2e8f0;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  padding: 24px 24px 22px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.22);
}

.hero-panel-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 14px;
}

.hero-panel-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-panel-list li {
  font-size: 14px;
  line-height: 1.7;
  color: #cbd5e1;
  padding-left: 16px;
  position: relative;
}

.hero-panel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #38bdf8, #818cf8);
}

.stats-bar-platform {
  margin-top: -24px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.hero-home .hero-content {
  max-width: 760px;
}

.hero-home-compact {
  padding: 56px 0 44px;
}

.hero-shell-single {
  grid-template-columns: 1fr;
}

.hero-content-compact {
  max-width: 760px;
}

.hero-content-compact h1 {
  margin-bottom: 0;
}

.hero-panel-soft {
  min-height: 100%;
}

.ranking-board-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ranking-board {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #f59e0b;
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.ranking-board:nth-child(2) {
  border-top-color: #3b82f6;
}

.ranking-board:nth-child(3) {
  border-top-color: #fb923c;
}

.ranking-board-head {
  margin-bottom: 16px;
}

.ranking-board-head h3 {
  font-size: 22px;
  color: #0f172a;
  margin-bottom: 6px;
}

.ranking-board-head p {
  font-size: 13px;
  color: #64748b;
}

.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ranking-item {
  display: grid;
  grid-template-columns: 34px 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.ranking-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.ranking-index {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f8fafc;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
}

.ranking-index-hot {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #ffffff;
}

.ranking-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.ranking-main {
  min-width: 0;
}

.ranking-name {
  display: block;
  color: #0f172a;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.ranking-name:hover {
  color: #0891b2;
}

.ranking-meta {
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

.ranking-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fff7ed;
  color: #ea580c;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #fed7aa;
}

.ranking-action:hover {
  color: #c2410c;
  border-color: #fdba74;
}

.ranking-action-secondary {
  background: #f8fafc;
  color: #475569;
  border-color: #e2e8f0;
}

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

.portal-card {
  gap: 0;
}

.portal-card-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.portal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.portal-link-primary {
  background: linear-gradient(135deg, #0891b2, #0ea5e9);
  color: #ffffff;
}

.portal-link-primary:hover {
  color: #ffffff;
  opacity: 0.94;
}

.portal-link-secondary {
  background: #f8fafc;
  color: #334155;
  border: 1px solid #e2e8f0;
}

.portal-link-secondary:hover {
  color: #0f172a;
  border-color: #cbd5e1;
}

.quick-category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.quick-category-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #dbe4ff;
  color: #1e293b;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.quick-category-chip:hover {
  color: #2563eb;
  border-color: #bfdbfe;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.topic-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe4ff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.topic-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.08);
}

.topic-card-large {
  min-height: 200px;
}

.topic-card-cover {
  margin: -22px -22px 4px;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e2e8f0;
}

.topic-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.topic-card-cover--fallback {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.22), transparent 34%),
    radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.18), transparent 32%),
    linear-gradient(135deg, #eff6ff 0%, #f8fbff 100%);
}

.topic-card-cover--hero {
  margin: 0;
  border-radius: 20px;
  height: 100%;
}

.topic-cover-stack {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
  height: 100%;
  padding: 18px;
}

.topic-cover-chip,
.topic-cover-empty {
  border-radius: 16px;
  border: 1px solid rgba(191, 219, 254, 0.9);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.topic-cover-chip--1 {
  grid-row: 1 / span 2;
}

.topic-cover-chip img {
  width: 58%;
  height: 58%;
  object-fit: contain;
  display: block;
}

.topic-cover-chip span,
.topic-cover-empty span {
  font-size: 28px;
  font-weight: 800;
  color: #2563eb;
}

.topic-cover-label {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.72);
  color: #f8fafc;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  backdrop-filter: blur(10px);
}

.topic-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.topic-pill,
.topic-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 6px 10px;
}

.topic-pill {
  color: #2563eb;
  background: #eff6ff;
}

.topic-count {
  color: #475569;
  background: #f8fafc;
}

.topic-card h3 {
  color: #0f172a;
  font-size: 20px;
  line-height: 1.35;
}

.topic-card p {
  color: #475569;
  font-size: 14px;
  line-height: 1.75;
}

.topic-hero {
  margin: 28px 0 24px;
  padding: 30px 32px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.18), transparent 30%),
    linear-gradient(135deg, #eef4ff 0%, #f8fbff 100%);
  border: 1px solid #dbe4ff;
}

.topic-hero-has-cover {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.topic-hero-media {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #dbe4ff;
}

.topic-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.topic-hero-text h1 {
  font-size: 34px;
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 10px;
}

.topic-hero-text p {
  max-width: 760px;
  color: #475569;
  font-size: 15px;
  line-height: 1.8;
}

.section-header-stack {
  display: block;
}

.section-lead {
  margin-top: 8px;
  color: #64748b;
  font-size: 14px;
  max-width: 760px;
}

.pillar-grid,
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pillar-card,
.workflow-card,
.api-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.pillar-card h3,
.workflow-card h3 {
  font-size: 18px;
  color: #0f172a;
  margin-bottom: 10px;
}

.pillar-card p,
.workflow-card p {
  font-size: 14px;
  color: #475569;
  line-height: 1.75;
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.capability-item {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 14px;
  color: #334155;
  line-height: 1.75;
}

.api-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #64748b;
}

.api-topline code {
  font-family: 'JetBrains Mono', monospace;
  color: #2563eb;
  background: #eff6ff;
  border-radius: 999px;
  padding: 6px 10px;
}

.api-snippet {
  margin: 0;
  background: #0f172a;
  color: #dbeafe;
  border-radius: 14px;
  padding: 18px 20px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.75;
}

@media (max-width: 900px) {
  .hero-shell,
  .ranking-board-grid,
  .pillar-grid,
  .workflow-grid,
  .capability-list,
  .topic-grid {
    grid-template-columns: 1fr;
  }

  .topic-hero-has-cover {
    grid-template-columns: 1fr;
  }

  .ranking-item {
    grid-template-columns: 34px 42px minmax(0, 1fr);
  }

  .ranking-action {
    grid-column: 2 / 4;
    justify-self: start;
  }
}

/* 2026-07-21 下载站重设计覆盖 */
.portal-hero {
  padding: 40px 0 26px;
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.12), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #eff5ff 100%);
  border-bottom: 1px solid #dbe4ff;
}

.portal-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: stretch;
}

.portal-hero-copy h1 {
  font-size: 54px;
  line-height: 1.02;
  letter-spacing: -1px;
  margin: 10px 0 14px;
  color: #0f172a;
}

.portal-hero-copy p {
  max-width: 760px;
  color: #475569;
  font-size: 17px;
  line-height: 1.75;
}

.portal-eyebrow,
.catalog-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.08);
  color: #0891b2;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.portal-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.portal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 156px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
}

.portal-cta-primary {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.22);
}

.portal-cta-primary:hover {
  color: #ffffff;
  opacity: 0.94;
}

.portal-cta-secondary {
  background: #ffffff;
  border: 1px solid #dbe4ff;
  color: #0f172a;
}

.portal-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.portal-stat-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #dbe4ff;
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.portal-stat-card strong {
  display: block;
  font-size: 34px;
  line-height: 1;
  color: #0f172a;
}

.portal-stat-card span {
  display: block;
  margin-top: 8px;
  color: #64748b;
  font-size: 13px;
}

.portal-hero-board {
  background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
  border-radius: 24px;
  padding: 22px;
  color: #e5eefb;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.22);
}

.portal-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.portal-board-head h2 {
  font-size: 22px;
  color: #ffffff;
}

.portal-board-head span {
  color: #94a3b8;
  font-size: 12px;
}

.portal-board-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.portal-board-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.portal-board-item:hover {
  background: rgba(255, 255, 255, 0.07);
}

.portal-board-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  overflow: hidden;
}

.portal-board-main {
  min-width: 0;
}

.portal-board-main strong {
  display: block;
  color: #ffffff;
  font-size: 14px;
}

.portal-board-main span {
  display: block;
  margin-top: 4px;
  color: #94a3b8;
  font-size: 12px;
}

.portal-board-item em {
  font-style: normal;
  color: #93c5fd;
  font-size: 12px;
  font-weight: 700;
}

.portal-quick-nav {
  padding-top: 24px;
}

.portal-category-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.portal-category-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #dbe4ff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
}

.portal-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.portal-software-card {
  background: #ffffff;
  border: 1px solid #dbe4ff;
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
}

.portal-software-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.portal-software-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  overflow: hidden;
}

.portal-software-main {
  min-width: 0;
  flex: 1;
}

.portal-software-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.portal-software-head h3 {
  font-size: 28px;
  line-height: 1.08;
  color: #0f172a;
}

.portal-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.portal-tag-row span {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
}

.portal-card-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.portal-mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}

.portal-mini-btn-primary {
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: #ffffff;
}

.portal-mini-btn-primary:hover {
  color: #ffffff;
}

.portal-mini-btn-muted {
  background: #f8fafc;
  border: 1px solid #dbe4ff;
  color: #0f172a;
}

.portal-zones-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.portal-zone-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid #dbe4ff;
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.portal-zone-card-game {
  background: linear-gradient(180deg, #ffffff 0%, #fffaf6 100%);
}

.portal-zone-head {
  margin-bottom: 16px;
}

.portal-zone-head h3 {
  font-size: 26px;
  color: #0f172a;
}

.portal-zone-head p {
  margin-top: 6px;
  font-size: 13px;
  color: #64748b;
}

.portal-zone-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.portal-zone-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #edf2f7;
}

.portal-zone-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.portal-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #fff7ed;
  color: #ea580c;
  font-size: 12px;
  font-weight: 800;
}

.portal-zone-body {
  min-width: 0;
}

.portal-zone-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.portal-zone-body span {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
}

.portal-rank-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f97316, #fb923c);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.portal-rank-btn:hover {
  color: #ffffff;
}

.portal-rank-btn-muted {
  background: #f8fafc;
  border: 1px solid #dbe4ff;
  color: #0f172a;
}

.portal-topic-card {
  border-radius: 22px;
}

.catalog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
  padding: 24px 0 18px;
}

.catalog-hero-main h1 {
  font-size: 56px;
  line-height: 1.02;
  margin: 10px 0 14px;
  color: #0f172a;
}

.catalog-hero-main p {
  max-width: 760px;
  color: #475569;
  font-size: 16px;
  line-height: 1.75;
}

.catalog-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 16px;
  color: #64748b;
  font-size: 14px;
}

.catalog-hero-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.catalog-metric-card {
  background: #ffffff;
  border: 1px solid #dbe4ff;
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.catalog-metric-card strong {
  display: block;
  font-size: 40px;
  line-height: 1;
  color: #0f172a;
}

.catalog-metric-card span {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: #64748b;
}

.catalog-platform-row {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-platform-row span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}

.catalog-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.catalog-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 170px;
  gap: 20px;
  align-items: center;
  background: #ffffff;
  border: 1px solid #dbe4ff;
  border-radius: 24px;
  padding: 20px 22px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.04);
  content-visibility: auto;
  contain-intrinsic-size: 240px;
}

.catalog-row:hover {
  border-color: #bfd5ff;
  box-shadow: 0 20px 42px rgba(37, 99, 235, 0.08);
}

.catalog-row-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  overflow: hidden;
}

.catalog-row-main {
  min-width: 0;
}

.catalog-row-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.catalog-row-title {
  display: inline-block;
  font-size: 32px;
  line-height: 1.06;
  color: #0f172a;
  font-weight: 800;
}

.catalog-row-title:hover {
  color: #2563eb;
}

.catalog-row-sub {
  margin-top: 6px;
  font-size: 13px;
  color: #64748b;
}

.catalog-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.catalog-chip-row span {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}

.catalog-row-desc {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.78;
  color: #475569;
}

.catalog-row-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.catalog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 16px 28px rgba(37, 99, 235, 0.18);
}

.catalog-btn:hover {
  color: #ffffff;
}

.catalog-btn-muted {
  background: #f8fafc;
  border: 1px solid #dbe4ff;
  color: #0f172a;
  box-shadow: none;
}

.catalog-btn-muted:hover {
  color: #0f172a;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
  padding: 18px 0 10px;
}

.product-hero-main {
  min-width: 0;
}

.product-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.product-logo {
  width: 82px;
  height: 82px;
  border-radius: 22px;
  overflow: hidden;
}

.product-head-copy h1 {
  font-size: 54px;
  line-height: 1.02;
  color: #0f172a;
  margin-top: 10px;
}

.product-tag-row,
.product-fact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-tag-row {
  margin-top: 16px;
}

.product-tag-row span,
.product-fact-row span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #dbe4ff;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.product-fact-row {
  margin-top: 18px;
}

.product-lead {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.82;
  color: #334155;
}

.product-lead p {
  margin: 0 0 10px;
}

.product-cta-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe4ff;
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.05);
}

.product-cta-head h2 {
  font-size: 18px;
  color: #0f172a;
}

.product-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.product-cta-grid div {
  background: #ffffff;
  border: 1px solid #dbe4ff;
  border-radius: 16px;
  padding: 14px;
}

.product-cta-grid span {
  display: block;
  font-size: 12px;
  color: #64748b;
}

.product-cta-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  color: #0f172a;
  line-height: 1.4;
}

.product-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.product-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
}

.product-cta-btn:hover {
  color: #ffffff;
}

.product-cta-btn-muted {
  background: #f8fafc;
  border: 1px solid #dbe4ff;
  color: #0f172a;
}

.product-cta-btn-muted:hover {
  color: #0f172a;
}

.product-shot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-shot-card {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #dbe4ff;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  content-visibility: auto;
  contain-intrinsic-size: 220px;
}

.product-shot-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.product-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.product-main-column {
  min-width: 0;
}

.product-side-column {
  position: sticky;
  top: 96px;
}

.product-info-card {
  background: #ffffff;
  border: 1px solid #dbe4ff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.product-info-card h3 {
  font-size: 18px;
  color: #0f172a;
  margin-bottom: 14px;
}

.product-info-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #f1f5f9;
}

.product-info-row:first-of-type {
  border-top: 0;
}

.product-info-row span {
  color: #64748b;
  font-size: 13px;
}

.product-info-row strong {
  color: #0f172a;
  font-size: 14px;
  text-align: right;
}

.product-feature-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0;
  margin: 12px 0 0;
}

.product-feature-grid li {
  padding: 14px 16px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #dbe4ff;
  color: #334155;
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .portal-hero-grid,
  .portal-card-grid,
  .portal-zones-grid,
  .catalog-hero,
  .product-hero,
  .product-body-grid,
  .product-shot-grid {
    grid-template-columns: 1fr;
  }

  .portal-stat-grid {
    grid-template-columns: 1fr;
  }

  .catalog-hero-main h1,
  .portal-hero-copy h1,
  .product-head-copy h1 {
    font-size: 40px;
  }

  .catalog-row {
    grid-template-columns: 1fr;
  }

  .catalog-row-actions {
    flex-direction: row;
  }

  .product-side-column {
    position: static;
  }

  .product-feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== 2026-07 下载站布局重构覆盖 ========== */
.page-meta {
  flex-wrap: wrap;
}

.mini-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.mini-meta-row span {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 12px;
}

.download-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: stretch;
}

.download-home-main {
  min-width: 0;
}

.download-home-side {
  display: flex;
}

.hero-side-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #dbe4ff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.hero-side-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.hero-side-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-side-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.hero-side-item strong {
  display: block;
  font-size: 14px;
  color: #0f172a;
}

.hero-side-item span {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
}

.hero-side-item em {
  font-style: normal;
  color: #2563eb;
  font-size: 12px;
  font-weight: 700;
}

.update-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.update-spot-card {
  background: #ffffff;
  border: 1px solid #dbe4ff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.dual-download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.download-panel {
  background: #ffffff;
  border: 1px solid #dbe4ff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.download-panel-head {
  margin-bottom: 16px;
}

.download-panel-head h3 {
  font-size: 24px;
  color: #0f172a;
  margin-bottom: 6px;
}

.download-panel-head p {
  color: #64748b;
  font-size: 13px;
}

.download-panel-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.download-panel-item {
  display: grid;
  grid-template-columns: 34px 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.download-panel-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.download-panel-main {
  min-width: 0;
}

.download-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #fff7ed;
  color: #ea580c;
  font-size: 12px;
  font-weight: 800;
}

.category-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 22px;
  align-items: start;
  padding: 26px 0 24px;
}

.category-hero-main h1 {
  font-size: 44px;
  line-height: 1.08;
  margin-top: 4px;
}

.category-hero-main p {
  max-width: 720px;
  font-size: 16px;
  color: #64748b;
  margin-top: 10px;
}

.category-hero-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.category-stat-card {
  background: #ffffff;
  border: 1px solid #dbe4ff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.category-stat-card strong {
  display: block;
  font-size: 28px;
  color: #0f172a;
  margin-bottom: 6px;
}

.category-stat-card span {
  font-size: 13px;
  color: #64748b;
}

.category-platform-list {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-platform-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
}

.download-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.download-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 150px;
  gap: 18px;
  align-items: center;
  background: #ffffff;
  border: 1px solid #dbe4ff;
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.download-row:hover {
  border-color: #bfdbfe;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.08);
}

.download-row-logo {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  overflow: hidden;
}

.download-row-main {
  min-width: 0;
}

.download-row-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.download-row-title {
  display: inline-block;
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.download-row-title:hover {
  color: #2563eb;
}

.download-row-sub {
  margin-top: 6px;
  color: #64748b;
  font-size: 13px;
}

.download-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.download-meta-list span {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
}

.download-row-desc {
  margin-top: 14px;
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
}

.download-row-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.18);
}

.download-btn:hover {
  color: #ffffff;
  opacity: 0.94;
}

.download-btn-muted {
  background: #f8fafc;
  border: 1px solid #dbe4ff;
  color: #0f172a;
  box-shadow: none;
}

.download-btn-muted:hover {
  color: #0f172a;
}

.detail-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 26px;
  align-items: start;
  padding: 10px 0 28px;
}

.detail-hero-main {
  min-width: 0;
}

.detail-lead {
  margin-top: 18px;
}

.detail-summary-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe4ff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.detail-summary-card h3 {
  font-size: 18px;
  color: #0f172a;
  margin-bottom: 16px;
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.summary-grid div {
  padding: 12px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.summary-grid span {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 6px;
}

.summary-grid strong {
  display: block;
  font-size: 14px;
  color: #0f172a;
  line-height: 1.4;
}

.detail-action-group-column {
  flex-direction: column;
}

.btn-download-muted {
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #dbe4ff;
}

.btn-download-muted:hover {
  color: #0f172a;
}

.fact-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.fact-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #dbe4ff;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
}

.station-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.station-highlight-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe4ff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.04);
}

.station-highlight-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
}

.station-highlight-card p {
  margin: 14px 0 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
}

.category-channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.category-channel-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 22px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.16), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #dbe4ff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.category-channel-card:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.08);
}

.category-channel-top,
.category-channel-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.category-channel-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.category-channel-top strong {
  color: #0f172a;
  font-size: 13px;
}

.category-channel-card h3 {
  margin: 22px 0 10px;
  font-size: 28px;
  line-height: 1.1;
  color: #0f172a;
}

.category-channel-card p {
  color: #475569;
  font-size: 14px;
  line-height: 1.8;
}

.category-channel-meta {
  margin-top: auto;
  padding-top: 18px;
  color: #64748b;
  font-size: 13px;
}

.topic-hub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
  padding: 20px 0 8px;
}

.topic-hub-main h1 {
  margin-top: 10px;
  font-size: 50px;
  line-height: 1.04;
  color: #0f172a;
}

.topic-hub-main p {
  margin-top: 12px;
  max-width: 760px;
  color: #64748b;
  font-size: 16px;
  line-height: 1.8;
}

.topic-hub-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.topic-hub-stat-card,
.topic-summary-card,
.article-meta-card {
  background: #ffffff;
  border: 1px solid #dbe4ff;
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.04);
}

.topic-hub-stat-card {
  padding: 18px;
}

.topic-hub-stat-card strong {
  display: block;
  font-size: 30px;
  color: #0f172a;
}

.topic-hub-stat-card span {
  display: block;
  margin-top: 8px;
  color: #64748b;
  font-size: 13px;
}

.topic-hub-stat-card-wide {
  grid-column: 1 / -1;
}

.topic-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.topic-card-spotlight {
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 32%),
    #ffffff;
}

.topic-collection-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
  padding: 8px 0 12px;
}

.topic-collection-main {
  min-width: 0;
}

.topic-collection-copy h1 {
  margin-top: 12px;
  font-size: 48px;
  line-height: 1.05;
  color: #0f172a;
}

.topic-collection-copy p {
  margin-top: 12px;
  color: #64748b;
  font-size: 16px;
  line-height: 1.8;
}

.topic-summary-card {
  padding: 22px;
}

.topic-summary-card h2,
.article-meta-card h2 {
  font-size: 18px;
  color: #0f172a;
}

.topic-summary-grid,
.article-meta-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.topic-summary-grid div,
.article-meta-list div {
  padding: 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.topic-summary-grid span,
.article-meta-list span {
  display: block;
  color: #64748b;
  font-size: 12px;
}

.topic-summary-grid strong,
.article-meta-list strong {
  display: block;
  margin-top: 8px;
  color: #0f172a;
  font-size: 15px;
  line-height: 1.4;
}

.topic-download-row {
  align-items: start;
}

.article-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
  padding: 18px 0 6px;
}

.article-hero-main h1 {
  margin-top: 10px;
  font-size: 48px;
  line-height: 1.08;
  color: #0f172a;
}

.article-lead {
  margin-top: 14px;
  max-width: 760px;
  color: #475569;
  font-size: 17px;
  line-height: 1.85;
}

.article-meta-card {
  padding: 22px;
}

.article-meta-card .download-btn {
  width: 100%;
  margin-top: 16px;
}

.article-layout {
  max-width: 860px;
}

@media (max-width: 768px) {
  .station-highlight-grid,
  .category-channel-grid,
  .topic-spotlight-grid,
  .download-home-hero,
  .update-strip,
  .dual-download-grid,
  .category-hero,
  .detail-hero-shell,
  .topic-hub-hero,
  .topic-collection-hero,
  .article-hero-shell {
    grid-template-columns: 1fr;
  }

  .category-hero-main h1 {
    font-size: 34px;
  }

  .topic-hub-main h1,
  .topic-collection-copy h1,
  .article-hero-main h1 {
    font-size: 36px;
  }

  .topic-hub-side,
  .topic-summary-grid,
  .article-meta-list {
    grid-template-columns: 1fr;
  }

  .download-row {
    grid-template-columns: 1fr;
  }

  .download-row-actions {
    flex-direction: row;
  }

  .software-search-form {
    flex-direction: column;
    align-items: stretch;
  }

  .header-search-button,
  .search-clear-button {
    width: 100%;
    justify-content: center;
  }
}

.lane-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.lane-badge--pc {
  background: #e0f2fe;
  color: #075985;
}

.lane-badge--android {
  background: #dcfce7;
  color: #166534;
}

.traffic-gateway-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.traffic-gateway-card,
.software-hub-card {
  display: block;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid #dbe4ff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.traffic-gateway-card {
  min-height: 220px;
}

.traffic-gateway-card--pc,
.software-hub-card--pc,
.lane-hero--pc {
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.14), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.traffic-gateway-card--android,
.software-hub-card--android,
.lane-hero--android {
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7fff8 100%);
}

.traffic-gateway-tag,
.software-hub-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.traffic-gateway-card h3 {
  margin: 24px 0 10px;
  font-size: 34px;
  line-height: 1.1;
  color: #0f172a;
}

.traffic-gateway-card p {
  color: #475569;
  font-size: 14px;
  line-height: 1.8;
}

.traffic-gateway-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  color: #64748b;
  font-size: 13px;
}

.software-hub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: stretch;
  padding: 10px 0 24px;
}

.software-hub-copy h1,
.lane-hero h1 {
  margin-top: 10px;
  font-size: 50px;
  line-height: 1.04;
  color: #0f172a;
}

.software-hub-copy p,
.lane-hero p {
  margin-top: 12px;
  color: #64748b;
  font-size: 16px;
  line-height: 1.8;
  max-width: 760px;
}

.software-hub-side {
  display: grid;
  gap: 14px;
}

.software-hub-card strong {
  display: block;
  margin-top: 18px;
  font-size: 42px;
  line-height: 1;
  color: #0f172a;
}

.software-hub-card p {
  margin-top: 10px;
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
}

.lane-hero {
  padding: 26px 28px;
  border-radius: 24px;
  border: 1px solid #dbe4ff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.product-lane-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.product-lane-tip {
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.download-panel-item--wide {
  grid-template-columns: 34px 42px minmax(0, 1fr) auto;
  background: #ffffff;
  border: 1px solid #dbe4ff;
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

@media (max-width: 768px) {
  .traffic-gateway-grid,
  .software-hub-hero {
    grid-template-columns: 1fr;
  }

  .software-hub-copy h1,
  .lane-hero h1 {
    font-size: 36px;
  }
}

/* 下载站改版：入口分流 + 侧栏推荐 + 大图详情 */
.station-home-hero {
  position: relative;
  overflow: hidden;
  padding: 52px 0 24px;
  background:
    radial-gradient(circle at top left, rgba(20, 110, 255, 0.18), transparent 32%),
    radial-gradient(circle at top right, rgba(31, 184, 117, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(242, 247, 255, 0.96), rgba(235, 244, 255, 0.72));
}

.station-home-hero__grid,
.station-lane-grid,
.station-list-hero,
.station-category-hero,
.product-stage {
  display: grid;
  gap: 24px;
}

.station-home-hero__grid,
.station-list-hero,
.station-category-hero,
.product-stage {
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.85fr);
}

.station-home-copy,
.station-list-hero__copy,
.station-category-hero__copy,
.product-showcase,
.product-side-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(154, 179, 214, 0.28);
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(28, 60, 108, 0.08);
}

.station-home-copy,
.station-list-hero__copy,
.station-category-hero__copy,
.product-showcase {
  padding: 34px;
}

.station-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(36, 123, 255, 0.1);
  color: #1270ef;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.station-home-copy h1,
.station-list-hero__copy h1,
.station-lane-hero__copy h1,
.station-category-hero__copy h1,
.product-head-copy h1 {
  margin: 18px 0 14px;
  color: #14213f;
  line-height: 1.08;
  font-size: clamp(32px, 4vw, 54px);
}

.station-home-copy p,
.station-list-hero__copy p,
.station-lane-hero__copy p,
.station-category-hero__copy p,
.product-lead p {
  margin: 0;
  color: #48617e;
  font-size: 16px;
  line-height: 1.8;
}

.station-hero-actions,
.station-home-board,
.station-lane-panel__stack,
.station-update-board__list,
.station-preview-stack,
.related-soft-list {
  display: grid;
  gap: 14px;
}

.station-hero-actions {
  grid-template-columns: repeat(3, minmax(0, max-content));
  margin-top: 28px;
}

.portal-cta-ghost {
  border: 1px solid rgba(28, 87, 199, 0.18);
  background: rgba(255, 255, 255, 0.8);
  color: #1d4fae;
}

.station-hero-metrics,
.station-list-hero__meta,
.station-lane-hero__meta,
.station-category-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.station-hero-metrics span,
.station-list-hero__meta span,
.station-lane-hero__meta span,
.station-category-hero__meta span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(157, 181, 214, 0.36);
  color: #506a86;
  font-size: 13px;
  font-weight: 600;
}

.station-route-card,
.station-update-board,
.station-lane-panel,
.station-category-card,
.station-side-route,
.station-lane-hero,
.station-category-hero__media {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(154, 179, 214, 0.28);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 42px rgba(28, 60, 108, 0.08);
}

.station-route-card::before,
.station-lane-panel::before,
.station-side-route::before,
.station-lane-hero::before,
.station-category-card::before,
.station-category-hero__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 54%);
  pointer-events: none;
}

.station-route-card--pc,
.station-lane-panel--pc,
.station-side-route--pc,
.station-lane-hero--pc {
  background: linear-gradient(135deg, rgba(233, 243, 255, 0.96), rgba(255, 255, 255, 0.92));
}

.station-route-card--android,
.station-lane-panel--android,
.station-side-route--android,
.station-lane-hero--android {
  background: linear-gradient(135deg, rgba(234, 252, 242, 0.96), rgba(255, 255, 255, 0.92));
}

.station-route-card__head,
.station-lane-panel__head,
.station-category-card__head,
.product-side-card__head,
.product-cta-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.station-route-card__tag,
.station-lane-panel__tag,
.station-category-card__tag {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: #14213f;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.station-route-card__head strong,
.station-lane-panel__head strong,
.station-category-card__head strong,
.station-side-route strong {
  color: #14213f;
  font-size: 38px;
  line-height: 1;
}

.station-route-card p,
.station-lane-panel p,
.station-category-card p,
.station-side-route em {
  margin: 14px 0 0;
  color: #4f6884;
  line-height: 1.7;
}

.station-route-card__list a,
.station-update-board__list a {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.station-route-card__list a:hover,
.station-update-board__list a:hover,
.station-mini-soft:hover,
.station-category-card:hover,
.station-software-card:hover,
.catalog-row:hover,
.related-soft-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(20, 55, 102, 0.08);
}

.station-route-card__list span,
.station-update-board__list strong {
  color: #1b2d4d;
  font-weight: 700;
}

.station-route-card__list em,
.station-update-board__list span,
.station-update-board__list em {
  font-style: normal;
  color: #6d839f;
  font-size: 13px;
}

.station-update-board__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.station-update-board__head h2 {
  margin: 0;
  color: #14213f;
  font-size: 22px;
}

.station-update-board__head a,
.station-category-card__foot a {
  color: #1472ef;
  text-decoration: none;
  font-weight: 700;
}

.station-lane-grid,
.station-software-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.station-mini-soft {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(157, 181, 214, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.station-mini-soft__icon,
.station-preview-tile__icon,
.related-soft-item__icon {
  width: 56px;
  height: 56px;
}

.station-mini-soft__copy,
.related-soft-item__copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.station-mini-soft__copy a,
.related-soft-item__copy a,
.station-preview-tile strong {
  color: #17305a;
  text-decoration: none;
  font-weight: 700;
}

.station-mini-soft__copy span,
.related-soft-item__copy span,
.station-preview-tile span {
  color: #69809b;
  font-size: 13px;
}

.station-mini-soft__action,
.related-soft-item__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(20, 114, 239, 0.1);
  color: #1472ef;
  text-decoration: none;
  font-weight: 700;
}

.station-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.station-category-card h3,
.station-lane-panel h3,
.station-side-route span {
  margin: 8px 0 0;
  color: #162a48;
}

.station-category-card__meta,
.station-category-card__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}

.station-category-card__meta span,
.station-category-card__foot span,
.product-cta-head span {
  color: #6b819b;
  font-size: 13px;
  font-weight: 600;
}

.station-list-hero__side {
  display: grid;
  gap: 16px;
}

.station-side-route {
  display: grid;
  gap: 8px;
  text-decoration: none;
}

.station-side-route span {
  font-size: 16px;
  font-weight: 700;
}

.station-side-route em {
  font-style: normal;
}

.station-software-card {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(154, 179, 214, 0.24);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 36px rgba(28, 60, 108, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.station-software-card__top,
.station-software-card__head,
.product-guide-grid,
.product-gallery-hero,
.product-stage__aside {
  display: grid;
  gap: 18px;
}

.station-software-card__top {
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: flex-start;
}

.station-software-card__icon {
  width: 70px;
  height: 70px;
}

.station-software-card__head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.station-software-card__head h3,
.product-side-card h3 {
  margin: 0;
  color: #14213f;
}

.station-software-card__meta,
.product-fact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.station-software-card__meta span,
.product-fact-row span,
.catalog-chip-row span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(236, 243, 251, 0.92);
  color: #58708a;
  font-size: 13px;
  font-weight: 600;
}

.station-software-card__desc {
  margin: 18px 0 0;
  color: #4d6883;
  line-height: 1.75;
}

.station-software-card__actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.station-lane-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  padding: 30px;
}

.station-lane-hero__rules {
  display: grid;
  gap: 12px;
  align-content: start;
}

.station-lane-hero__rules span {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  color: #1a355a;
  font-weight: 700;
}

.station-category-hero__media {
  display: flex;
  align-items: stretch;
}

.station-preview-stack {
  width: 100%;
}

.station-preview-tile,
.related-soft-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(157, 181, 214, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.station-preview-empty {
  display: grid;
  place-items: center;
  min-height: 220px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  color: #6f85a0;
}

.product-stage {
  align-items: start;
  margin-top: 14px;
}

.product-stage__main,
.product-stage__aside {
  display: grid;
  gap: 22px;
}

.product-showcase {
  display: grid;
  gap: 24px;
}

.product-gallery-hero {
  grid-template-columns: minmax(0, 1fr) 180px;
  align-items: stretch;
}

.product-gallery-hero__main,
.product-gallery-hero__thumb {
  display: block;
  overflow: hidden;
  border-radius: 24px;
  background: #edf3fb;
}

.product-gallery-hero__main img,
.product-gallery-hero__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-gallery-hero__main {
  min-height: 360px;
}

.product-gallery-hero__rail {
  display: grid;
  gap: 12px;
}

.product-gallery-hero__thumb {
  min-height: 112px;
}

.product-gallery-empty {
  display: grid;
  gap: 10px;
  padding: 28px;
  border-radius: 24px;
  border: 1px dashed rgba(147, 171, 205, 0.5);
  background: rgba(241, 247, 255, 0.82);
  color: #627991;
}

.product-guide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-guide-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(154, 179, 214, 0.24);
  box-shadow: 0 14px 32px rgba(28, 60, 108, 0.06);
}

.product-guide-card span {
  color: #1472ef;
  font-size: 13px;
  font-weight: 700;
}

.product-guide-card strong {
  color: #183152;
  line-height: 1.7;
}

.product-side-card {
  padding: 20px;
}

.product-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.product-cta-grid div,
.product-info-row {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(242, 247, 255, 0.88);
}

.product-cta-grid span,
.product-info-row span {
  color: #6b819b;
  font-size: 12px;
  font-weight: 700;
}

.product-cta-grid strong,
.product-info-row strong {
  color: #173154;
  font-size: 15px;
}

.product-cta-actions {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.product-side-card__head {
  margin-bottom: 16px;
}

.related-soft-item {
  grid-template-columns: 56px minmax(0, 1fr) auto;
}

.catalog-row {
  border-radius: 24px;
  border: 1px solid rgba(154, 179, 214, 0.24);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(28, 60, 108, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (max-width: 1180px) {
  .station-home-hero__grid,
  .station-list-hero,
  .station-category-hero,
  .product-stage {
    grid-template-columns: 1fr;
  }

  .station-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .station-lane-grid,
  .station-software-grid,
  .product-guide-grid {
    grid-template-columns: 1fr;
  }

  .station-hero-actions {
    grid-template-columns: 1fr;
  }

  .station-lane-hero,
  .product-gallery-hero {
    grid-template-columns: 1fr;
  }

  .station-category-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .station-home-copy,
  .station-list-hero__copy,
  .station-lane-hero,
  .station-category-hero__copy,
  .station-route-card,
  .station-lane-panel,
  .station-category-card,
  .station-side-route,
  .station-category-hero__media,
  .product-showcase,
  .product-side-card,
  .station-software-card {
    padding: 20px;
    border-radius: 22px;
  }

  .station-home-copy h1,
  .station-list-hero__copy h1,
  .station-lane-hero__copy h1,
  .station-category-hero__copy h1,
  .product-head-copy h1 {
    font-size: 30px;
  }

  .station-mini-soft,
  .related-soft-item,
  .station-preview-tile {
    grid-template-columns: 1fr;
  }

  .station-mini-soft__action,
  .related-soft-item__action {
    width: 100%;
  }
}

.home-cinema {
  padding: 44px 0 26px;
  background:
    radial-gradient(circle at top left, rgba(43, 130, 255, 0.16), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(40, 196, 130, 0.14), transparent 24%),
    linear-gradient(180deg, #f4f8ff 0%, #eef5ff 58%, #ffffff 100%);
}

.home-cinema__grid,
.home-featured,
.home-featured__actions,
.home-featured__chips,
.home-rail,
.home-rail-card__list,
.home-poster-grid,
.home-shelf-grid,
.home-soft-card__body,
.home-soft-card__meta,
.home-soft-card__actions,
.home-shot-strip,
.product-qr-panel,
.product-qr-panel__body {
  display: grid;
  gap: 16px;
}

.home-cinema__grid {
  grid-template-columns: minmax(0, 1.35fr) 340px;
  align-items: stretch;
}

.home-featured {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  border-radius: 34px;
  background: #101d39;
  border: 1px solid rgba(122, 150, 193, 0.24);
  box-shadow: 0 28px 60px rgba(13, 30, 58, 0.16);
}

.home-featured__media,
.home-featured__shade,
.home-featured__content {
  position: absolute;
  inset: 0;
}

.home-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-featured__shade {
  background:
    linear-gradient(90deg, rgba(8, 18, 40, 0.88), rgba(8, 18, 40, 0.4) 52%, rgba(8, 18, 40, 0.2)),
    linear-gradient(0deg, rgba(9, 17, 36, 0.92), rgba(9, 17, 36, 0.15));
}

.home-featured__content {
  z-index: 2;
  display: grid;
  align-content: end;
  gap: 18px;
  padding: 34px;
}

.home-featured__kicker {
  display: inline-flex;
  width: max-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.home-featured__content h1 {
  margin: 0;
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(38px, 4.6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.home-featured__content p {
  margin: 0;
  max-width: 640px;
  color: rgba(237, 244, 255, 0.92);
  font-size: 16px;
  line-height: 1.85;
}

.home-featured__chips {
  grid-template-columns: repeat(auto-fit, minmax(140px, max-content));
}

.home-featured__chips span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.home-featured__actions {
  grid-template-columns: repeat(3, minmax(0, max-content));
}

.home-rail {
  align-content: start;
}

.home-rail-card {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(154, 179, 214, 0.24);
  box-shadow: 0 18px 42px rgba(28, 60, 108, 0.08);
}

.home-rail-card--mint {
  background: linear-gradient(180deg, rgba(238, 251, 245, 0.98), rgba(255, 255, 255, 0.94));
}

.home-rail-card__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.home-rail-card__head h2,
.home-soft-card__head h3 {
  margin: 0;
  color: #122746;
}

.home-rail-card__head span,
.home-rail-card__head a {
  color: #1472ef;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.home-rail-card__list a {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(214, 226, 241, 0.8);
  color: inherit;
  text-decoration: none;
}

.home-rail-card__list a:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.home-rail-card__list strong {
  color: #173154;
  font-size: 16px;
}

.home-rail-card__list span {
  color: #6a809a;
  font-size: 13px;
}

.home-poster-grid {
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
}

.home-poster-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border-radius: 28px;
  background: #dfe9f6 center/cover no-repeat;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(28, 60, 108, 0.08);
}

.home-poster-card--large {
  min-height: 300px;
}

.home-poster-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9, 17, 36, 0.88), rgba(9, 17, 36, 0.16));
}

.home-poster-card__content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  display: grid;
  gap: 6px;
  padding: 22px;
}

.home-poster-card__content span,
.home-poster-card__content em {
  color: rgba(236, 243, 255, 0.88);
  font-style: normal;
}

.home-poster-card__content strong {
  color: #ffffff;
  font-size: 24px;
  line-height: 1.15;
}

.home-shelf-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-shelf-grid--android .home-soft-card {
  background: linear-gradient(180deg, rgba(240, 252, 244, 0.98), rgba(255, 255, 255, 0.96));
}

.home-soft-card {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(154, 179, 214, 0.24);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(28, 60, 108, 0.08);
}

.home-soft-card__cover {
  position: relative;
  overflow: hidden;
  height: 220px;
  background: #e6eef9;
}

.home-soft-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-soft-card__cover-empty {
  display: grid;
  place-items: center;
  height: 100%;
  color: #89a0b9;
  font-size: 28px;
  font-weight: 800;
}

.home-soft-card__body {
  padding: 20px;
}

.home-soft-card__head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.home-soft-card__icon {
  width: 58px;
  height: 58px;
}

.home-soft-card__head span {
  color: #6f86a0;
  font-size: 13px;
}

.home-soft-card__body p {
  margin: 0;
  color: #4f6884;
  line-height: 1.75;
}

.home-soft-card__meta {
  grid-template-columns: repeat(auto-fit, minmax(120px, max-content));
}

.home-soft-card__meta span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(237, 244, 252, 0.92);
  color: #5c7590;
  font-size: 13px;
  font-weight: 700;
}

.home-soft-card__actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-shot-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-shot-item {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border-radius: 24px;
  background: #e6eef9;
  text-decoration: none;
  box-shadow: 0 16px 38px rgba(28, 60, 108, 0.08);
}

.home-shot-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-shot-item__label {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 4px;
  padding: 18px;
  background: linear-gradient(0deg, rgba(9, 17, 36, 0.88), rgba(9, 17, 36, 0.18));
}

.home-shot-item__label strong {
  color: #ffffff;
}

.home-shot-item__label span {
  color: rgba(236, 243, 255, 0.86);
  font-size: 13px;
}

.product-qr-panel {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(239, 247, 255, 0.98), rgba(255, 255, 255, 0.94));
  border: 1px solid rgba(173, 194, 223, 0.34);
}

.product-qr-panel__copy {
  display: grid;
  gap: 6px;
}

.product-qr-panel__copy strong {
  color: #143055;
  font-size: 18px;
}

.product-qr-panel__copy span {
  color: #607992;
  line-height: 1.7;
}

.product-qr-panel__body {
  justify-items: center;
  padding: 12px;
  border-radius: 20px;
  background: #ffffff;
}

.product-qr-panel__body img {
  width: 100%;
  max-width: 220px;
  border-radius: 14px;
  display: block;
}

@media (max-width: 1180px) {
  .home-cinema__grid,
  .home-poster-grid,
  .home-shelf-grid,
  .home-shot-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .home-featured {
    min-height: 460px;
  }

  .home-featured__actions,
  .home-soft-card__actions {
    grid-template-columns: 1fr;
  }
}

.portal-home-shell {
  padding: 42px 0 18px;
  background:
    radial-gradient(circle at 0% 12%, rgba(33, 121, 255, 0.16), transparent 28%),
    radial-gradient(circle at 100% 0%, rgba(80, 189, 134, 0.12), transparent 24%),
    linear-gradient(180deg, #f3f8ff 0%, #eef5ff 58%, #ffffff 100%);
}

.portal-home-hero,
.portal-home-menu__list,
.portal-home-menu__foot,
.portal-home-stage,
.portal-home-banner__meta,
.portal-home-banner__actions,
.portal-home-thumbs,
.portal-home-rank,
.portal-home-rank__list,
.portal-home-visuals {
  display: grid;
  gap: 16px;
}

.portal-home-hero {
  grid-template-columns: 250px minmax(0, 1fr) 320px;
  align-items: start;
}

.portal-home-menu,
.portal-home-rank__card,
.portal-home-search {
  border-radius: 28px;
  border: 1px solid rgba(154, 179, 214, 0.24);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(28, 60, 108, 0.08);
}

.portal-home-menu {
  padding: 22px;
}

.portal-home-menu__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.portal-home-menu__head h2,
.portal-home-rank__head h2,
.portal-home-search input {
  margin: 0;
  color: #122746;
}

.portal-home-menu__head span {
  color: #1472ef;
  font-size: 13px;
  font-weight: 700;
}

.portal-home-menu__list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(214, 226, 241, 0.78);
  text-decoration: none;
}

.portal-home-menu__list a:last-child {
  border-bottom: 0;
}

.portal-home-menu__list strong {
  color: #173154;
}

.portal-home-menu__list span {
  color: #6c829c;
  font-size: 13px;
  font-weight: 700;
}

.portal-home-menu__foot {
  grid-template-columns: 1fr;
  margin-top: 8px;
}

.portal-home-menu__foot a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  border-radius: 14px;
  background: rgba(239, 245, 255, 0.96);
  color: #1c4fab;
  text-decoration: none;
  font-weight: 700;
}

.portal-home-banner {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: 32px;
  background: #101d39;
  border: 1px solid rgba(122, 150, 193, 0.24);
  box-shadow: 0 28px 60px rgba(13, 30, 58, 0.16);
}

.portal-home-banner__media,
.portal-home-banner__shade,
.portal-home-banner__content {
  position: absolute;
  inset: 0;
}

.portal-home-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portal-home-banner__shade {
  background:
    linear-gradient(90deg, rgba(9, 18, 40, 0.88), rgba(9, 18, 40, 0.32) 56%, rgba(9, 18, 40, 0.24)),
    linear-gradient(0deg, rgba(9, 18, 40, 0.94), rgba(9, 18, 40, 0.1));
}

.portal-home-banner__content {
  z-index: 2;
  display: grid;
  align-content: end;
  gap: 18px;
  padding: 30px;
}

.portal-home-banner__badge {
  display: inline-flex;
  width: max-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.portal-home-banner__content h1 {
  margin: 0;
  max-width: 660px;
  color: #ffffff;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1.02;
}

.portal-home-banner__content p {
  margin: 0;
  max-width: 620px;
  color: rgba(238, 245, 255, 0.92);
  line-height: 1.82;
}

.portal-home-banner__meta {
  grid-template-columns: repeat(auto-fit, minmax(120px, max-content));
}

.portal-home-banner__meta span {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.portal-home-banner__actions {
  grid-template-columns: repeat(2, minmax(0, max-content));
}

.portal-home-thumbs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portal-home-thumb {
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(154, 179, 214, 0.22);
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(28, 60, 108, 0.06);
}

.portal-home-thumb img {
  width: 100%;
  height: 156px;
  object-fit: cover;
  display: block;
}

.portal-home-thumb__copy {
  display: grid;
  gap: 4px;
  padding: 16px;
}

.portal-home-thumb__copy strong {
  color: #152d50;
}

.portal-home-thumb__copy span {
  color: #6f86a0;
  font-size: 13px;
}

.portal-home-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 14px;
  padding: 16px;
}

.portal-home-search input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(196, 212, 232, 0.96);
  border-radius: 16px;
  padding: 0 16px;
  background: #f9fbff;
  font-size: 15px;
}

.portal-home-search button {
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #295cff, #4e69f0);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.portal-home-rank {
  align-content: start;
}

.portal-home-rank__card {
  padding: 22px;
}

.portal-home-rank__card--mint {
  background: linear-gradient(180deg, rgba(239, 251, 243, 0.98), rgba(255, 255, 255, 0.94));
}

.portal-home-rank__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.portal-home-rank__head span,
.portal-home-rank__head a {
  color: #1472ef;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.portal-home-rank__list a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(214, 226, 241, 0.78);
  color: inherit;
  text-decoration: none;
}

.portal-home-rank__list a:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.portal-home-rank__list b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(20, 114, 239, 0.1);
  color: #1472ef;
  font-size: 13px;
}

.portal-home-rank__list strong {
  color: #173154;
}

.portal-home-rank__list span {
  color: #6b819a;
  font-size: 13px;
}

.portal-home-visuals {
  grid-template-columns: 1.15fr 0.85fr 0.85fr 0.85fr;
}

.portal-home-visual {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border-radius: 28px;
  background: #dfe9f6;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(28, 60, 108, 0.08);
}

.portal-home-visual--large {
  min-height: 300px;
}

.portal-home-visual img,
.portal-home-visual__shade {
  position: absolute;
  inset: 0;
}

.portal-home-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portal-home-visual__shade {
  background: linear-gradient(0deg, rgba(9, 17, 36, 0.9), rgba(9, 17, 36, 0.18));
}

.portal-home-visual__copy {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  display: grid;
  gap: 6px;
  padding: 22px;
}

.portal-home-visual__copy span,
.portal-home-visual__copy em {
  color: rgba(237, 244, 255, 0.86);
  font-style: normal;
}

.portal-home-visual__copy strong {
  color: #ffffff;
  font-size: 24px;
  line-height: 1.15;
}

@media (max-width: 1280px) {
  .portal-home-hero {
    grid-template-columns: 220px minmax(0, 1fr) 300px;
  }
}

@media (max-width: 1180px) {
  .portal-home-hero,
  .portal-home-visuals {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .portal-home-thumbs {
    grid-template-columns: 1fr;
  }

  .portal-home-search,
  .portal-home-banner__actions {
    grid-template-columns: 1fr;
  }
}

/* ========== 2026-07 首页与详情页重做 ========== */
:root {
  --portal-bg: #f4f8ff;
  --portal-card: rgba(255, 255, 255, 0.92);
  --portal-line: rgba(155, 178, 213, 0.26);
  --portal-ink: #102544;
  --portal-soft: #6380a1;
  --portal-primary: #1767ff;
  --portal-primary-2: #3aa8ff;
  --portal-green: #1fb77a;
}

.container {
  max-width: 1280px;
}

.section-note {
  margin-top: 6px;
  color: #69829d;
  font-size: 14px;
  line-height: 1.75;
}

.section-header--rich {
  align-items: end;
}

.section-header-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.section-count {
  color: #6a819b;
  font-size: 13px;
  font-weight: 700;
}

.portal-home-shell {
  padding: 34px 0 26px;
  background:
    radial-gradient(circle at 0% 10%, rgba(35, 102, 255, 0.18), transparent 30%),
    radial-gradient(circle at 100% 0%, rgba(50, 196, 137, 0.12), transparent 20%),
    linear-gradient(180deg, #f3f8ff 0%, #eef5ff 56%, #ffffff 100%);
}

.portal-home-intro,
.portal-home-intro__stats,
.portal-home-hero,
.portal-home-menu__list,
.portal-home-menu__foot,
.portal-home-stage,
.portal-home-banner__meta,
.portal-home-banner__actions,
.portal-home-thumbs,
.portal-home-rank,
.portal-home-rank__list,
.portal-home-visuals,
.portal-category-block__layout,
.portal-category-grid,
.portal-category-card,
.portal-category-card__meta,
.portal-category-card__actions,
.portal-category-lead__copy,
.product-platform-row,
.product-platform-panel,
.product-mobile-hint,
.product-qr-panel__meta {
  display: grid;
  gap: 16px;
}

.portal-home-intro {
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 30px;
  align-items: end;
  margin-bottom: 24px;
}

.portal-home-intro__eyebrow {
  display: inline-flex;
  width: max-content;
  min-height: 34px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(23, 103, 255, 0.09);
  color: var(--portal-primary);
  font-size: 13px;
  font-weight: 700;
}

.portal-home-intro__copy h1 {
  margin: 16px 0 12px;
  color: var(--portal-ink);
  font-size: clamp(38px, 4.4vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.portal-home-intro__copy p {
  max-width: 760px;
  color: #4d6785;
  font-size: 16px;
  line-height: 1.85;
}

.portal-home-intro__stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portal-home-intro__stats div,
.portal-category-route,
.product-mobile-hint {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--portal-line);
  background: var(--portal-card);
  box-shadow: 0 18px 42px rgba(26, 60, 109, 0.08);
}

.portal-home-intro__stats strong {
  color: var(--portal-ink);
  font-size: 30px;
  line-height: 1;
}

.portal-home-intro__stats span {
  color: #6c849f;
  font-size: 13px;
  font-weight: 700;
}

.portal-home-hero {
  grid-template-columns: 250px minmax(0, 1fr) 320px;
  align-items: start;
}

.portal-home-menu,
.portal-home-rank__card,
.portal-home-search,
.portal-category-card,
.portal-category-route,
.product-side-card,
.product-platform-panel {
  border-radius: 28px;
  border: 1px solid var(--portal-line);
  background: var(--portal-card);
  box-shadow: 0 18px 42px rgba(28, 60, 108, 0.08);
}

.portal-home-menu {
  padding: 24px;
}

.portal-home-menu__head,
.portal-home-rank__head,
.product-cta-head,
.product-side-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.portal-home-menu__head h2,
.portal-home-rank__head h2,
.product-cta-head h2,
.product-side-card__head h3 {
  margin: 0;
  color: var(--portal-ink);
}

.portal-home-menu__head span,
.portal-home-rank__head span,
.portal-home-rank__head a,
.product-cta-head span,
.product-side-card__head span {
  color: var(--portal-primary);
  font-size: 13px;
  font-weight: 700;
}

.portal-home-menu__list a,
.portal-home-rank__list a {
  color: inherit;
  text-decoration: none;
}

.portal-home-menu__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(214, 226, 241, 0.76);
}

.portal-home-menu__list a:last-child,
.portal-home-rank__list a:last-child {
  border-bottom: 0;
}

.portal-home-menu__list strong,
.portal-home-rank__list strong,
.portal-category-card__head h3,
.portal-category-route strong {
  color: #143056;
}

.portal-home-menu__list span,
.portal-home-rank__list span,
.portal-category-card__head span,
.portal-category-route span {
  color: #6e859f;
  font-size: 13px;
  font-weight: 700;
}

.portal-home-menu__foot {
  margin-top: 8px;
}

.portal-home-menu__foot a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(23, 103, 255, 0.09), rgba(58, 168, 255, 0.08));
  color: #1e4dab;
  font-weight: 700;
  text-decoration: none;
}

.portal-home-banner {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  border-radius: 34px;
  background: #0e1b38;
  border: 1px solid rgba(122, 150, 193, 0.24);
  box-shadow: 0 32px 64px rgba(11, 25, 49, 0.18);
}

.portal-home-banner__media,
.portal-home-banner__shade,
.portal-home-banner__content,
.portal-home-visual img,
.portal-home-visual__shade,
.portal-category-lead img,
.portal-category-lead__shade {
  position: absolute;
  inset: 0;
}

.portal-home-banner__media img,
.portal-category-lead img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portal-home-banner__shade {
  background:
    linear-gradient(88deg, rgba(9, 18, 40, 0.92), rgba(9, 18, 40, 0.44) 54%, rgba(9, 18, 40, 0.2)),
    linear-gradient(0deg, rgba(9, 18, 40, 0.9), rgba(9, 18, 40, 0.1));
}

.portal-home-banner__content {
  z-index: 2;
  display: grid;
  align-content: end;
  gap: 18px;
  padding: 34px;
}

.portal-home-banner__badge {
  display: inline-flex;
  width: max-content;
  min-height: 34px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.portal-home-banner__content h2 {
  margin: 0;
  max-width: 720px;
  color: #ffffff;
  font-size: clamp(40px, 4.2vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.portal-home-banner__content p {
  margin: 0;
  max-width: 620px;
  color: rgba(235, 244, 255, 0.92);
  font-size: 16px;
  line-height: 1.85;
}

.portal-home-banner__meta {
  grid-template-columns: repeat(auto-fit, minmax(120px, max-content));
}

.portal-home-banner__meta span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.portal-home-banner__actions {
  grid-template-columns: repeat(2, minmax(0, max-content));
}

.portal-home-thumb {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--portal-line);
  background: rgba(255, 255, 255, 0.96);
  text-decoration: none;
  box-shadow: 0 18px 36px rgba(28, 60, 108, 0.07);
}

.portal-home-thumb img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  display: block;
}

.portal-home-thumb__copy {
  display: grid;
  gap: 4px;
  padding: 16px;
}

.portal-home-thumb__copy strong,
.portal-home-visual__copy strong,
.portal-category-lead__copy strong {
  color: #ffffff;
}

.portal-home-search {
  grid-template-columns: minmax(0, 1fr) 144px;
  align-items: center;
  padding: 16px;
}

.portal-home-search input {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(196, 212, 232, 0.96);
  border-radius: 16px;
  padding: 0 16px;
  background: #f9fbff;
  color: var(--portal-ink);
  font-size: 15px;
}

.portal-home-search button {
  min-height: 54px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--portal-primary), var(--portal-primary-2));
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.portal-home-rank__card {
  padding: 22px;
}

.portal-home-rank__card--mint {
  background: linear-gradient(180deg, rgba(239, 251, 243, 0.98), rgba(255, 255, 255, 0.94));
}

.portal-home-rank__list a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(214, 226, 241, 0.78);
}

.portal-home-rank__list b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(23, 103, 255, 0.1);
  color: var(--portal-primary);
  font-size: 13px;
}

.portal-home-poster-wall {
  margin-top: 18px;
}

.portal-home-visuals {
  grid-template-columns: 1.15fr 0.85fr 0.85fr 0.85fr;
}

.portal-home-visual {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  border-radius: 28px;
  background: #dfe9f6;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(28, 60, 108, 0.08);
}

.portal-home-visual--large {
  min-height: 316px;
}

.portal-home-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portal-home-visual__shade,
.portal-category-lead__shade {
  background: linear-gradient(0deg, rgba(9, 17, 36, 0.92), rgba(9, 17, 36, 0.16));
}

.portal-home-visual__copy,
.portal-category-lead__copy {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 22px;
}

.portal-home-visual__copy span,
.portal-home-visual__copy em,
.portal-category-lead__copy span {
  color: rgba(236, 243, 255, 0.88);
  font-style: normal;
}

.portal-home-visual__copy strong {
  font-size: 24px;
  line-height: 1.15;
}

.portal-category-block {
  margin-top: 12px;
}

.portal-category-block__layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1.22fr);
  align-items: stretch;
}

.portal-category-lead {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 22px 44px rgba(28, 60, 108, 0.1);
  background: #d8e5f6;
}

.portal-category-lead__empty {
  display: grid;
  place-items: center;
  height: 100%;
  color: #8ba0b8;
  font-size: 30px;
  font-weight: 800;
}

.portal-category-lead__copy {
  gap: 8px;
}

.portal-category-lead__copy p {
  margin: 0;
  max-width: 92%;
  color: rgba(234, 243, 255, 0.9);
  line-height: 1.78;
}

.portal-category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portal-category-card {
  padding: 20px;
}

.portal-category-card__head {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.portal-category-card__icon {
  width: 56px;
  height: 56px;
}

.portal-category-card p,
.portal-category-route p {
  margin: 0;
  color: #56708d;
  line-height: 1.75;
}

.portal-category-card__meta {
  grid-template-columns: repeat(2, minmax(0, max-content));
  align-items: center;
}

.portal-category-card__meta span:first-child {
  color: #6b829d;
  font-size: 13px;
  font-weight: 700;
}

.portal-category-card__actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portal-category-route {
  align-content: space-between;
  text-decoration: none;
}

.portal-category-route strong {
  font-size: 28px;
  line-height: 1.1;
}

.platform-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.platform-icons--compact {
  gap: 8px;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(173, 193, 220, 0.28);
  background: rgba(248, 251, 255, 0.92);
  color: #183559;
}

.platform-chip svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.platform-chip em {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
}

.platform-icons--compact .platform-chip {
  min-height: 30px;
  padding: 0 10px;
}

.platform-icons--compact .platform-chip em {
  display: none;
}

.platform-chip--android {
  color: #0f8b5a;
  background: rgba(232, 250, 241, 0.95);
}

.platform-chip--windows {
  color: #1362c9;
  background: rgba(236, 245, 255, 0.96);
}

.platform-chip--macos,
.platform-chip--ios {
  color: #2b3442;
  background: rgba(245, 247, 250, 0.96);
}

.platform-chip--linux {
  color: #bb5b00;
  background: rgba(255, 245, 232, 0.96);
}

.platform-chip--web {
  color: #0f6d85;
  background: rgba(232, 248, 252, 0.96);
}

.platform-qr-trigger {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
}

.platform-chip--hoverable {
  appearance: none;
  cursor: default;
  font: inherit;
}

.platform-chip--hoverable:focus {
  outline: none;
}

.platform-qr-popover {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 20;
  width: 248px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(173, 194, 223, 0.34);
  background: linear-gradient(180deg, rgba(245, 249, 255, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: 0 18px 36px rgba(28, 60, 108, 0.12);
  display: grid;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  will-change: opacity, transform;
}

.platform-qr-popover strong {
  color: #143055;
  font-size: 16px;
  line-height: 1.3;
}

.platform-qr-popover > span {
  color: #607992;
  font-size: 12px;
  line-height: 1.6;
}

.platform-qr-popover__eyebrow {
  color: #6b829c;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.platform-qr-popover__frame {
  display: grid;
  place-items: center;
  padding: 10px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.96);
  box-shadow: inset 0 0 0 1px rgba(241, 246, 255, 0.88);
}

.platform-qr-popover__frame img {
  width: 100%;
  max-width: 164px;
  display: block;
}

.platform-qr-popover p {
  color: #607992;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

.platform-qr-trigger:hover .platform-qr-popover,
.platform-qr-trigger:focus-within .platform-qr-popover {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.product-stage {
  margin-top: 16px;
}

.product-stage__main,
.product-stage__aside,
.product-showcase,
.product-cta-grid,
.product-cta-actions,
.related-soft-list {
  display: grid;
  gap: 18px;
}

.product-showcase,
.product-side-card {
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--portal-line);
  box-shadow: 0 18px 42px rgba(28, 60, 108, 0.08);
}

.product-showcase {
  padding: 30px;
}

.product-head-copy h1 {
  margin: 6px 0 0;
  color: var(--portal-ink);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.06;
}

.product-head-copy h1 small {
  margin-left: 10px;
  color: #6d83a0;
  font-size: 18px;
  font-weight: 600;
}

.product-lane-tip {
  color: #5f7896;
  font-weight: 700;
}

.product-platform-row span:first-child,
.product-platform-panel > span,
.product-mobile-hint span,
.product-qr-panel__eyebrow {
  color: #6b829c;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.product-fact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-fact-row span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(239, 245, 255, 0.96);
  color: #234362;
  font-size: 13px;
  font-weight: 700;
}

.product-side-card {
  padding: 20px;
}

.product-side-card--download {
  background: linear-gradient(180deg, rgba(246, 250, 255, 0.98), rgba(255, 255, 255, 0.96));
}

.product-platform-panel,
.product-mobile-hint {
  gap: 10px;
}

.product-mobile-hint strong {
  color: #173154;
  font-size: 14px;
  line-height: 1.45;
}

.product-cta-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-cta-grid div,
.product-info-row {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(242, 247, 255, 0.88);
}

.product-cta-grid span,
.product-info-row span {
  color: #6b819b;
  font-size: 12px;
  font-weight: 700;
}

.product-cta-grid strong,
.product-info-row strong {
  color: #173154;
  font-size: 15px;
}

.product-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--portal-primary), var(--portal-primary-2));
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 16px 32px rgba(23, 103, 255, 0.22);
}

.product-cta-btn:hover {
  color: #ffffff;
}

.product-cta-btn-muted {
  background: #eff4ff;
  color: #184a9a;
  box-shadow: none;
}

.product-qr-panel {
  margin-top: 4px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(239, 247, 255, 0.98), rgba(255, 255, 255, 0.94));
  border: 1px solid rgba(173, 194, 223, 0.34);
}

.product-qr-panel__copy {
  display: grid;
  gap: 6px;
}

.product-qr-panel__copy strong {
  color: #143055;
  font-size: 20px;
}

.product-qr-panel__copy span:last-child {
  color: #607992;
  line-height: 1.75;
}

.product-qr-panel__body {
  justify-items: center;
  padding: 14px;
  border-radius: 20px;
  background: #ffffff;
  display: grid;
  gap: 10px;
}

.product-qr-panel__body img {
  width: 100%;
  max-width: 220px;
  border-radius: 14px;
  display: block;
}

.product-qr-panel__body p {
  color: #607992;
  font-size: 13px;
  font-weight: 700;
}

.product-qr-panel__meta {
  grid-template-columns: repeat(2, minmax(0, max-content));
}

.product-qr-panel__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #46627f;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 1280px) {
  .portal-home-hero {
    grid-template-columns: 220px minmax(0, 1fr) 300px;
  }
}

@media (max-width: 1180px) {
  .portal-home-intro,
  .portal-home-hero,
  .portal-home-visuals,
  .portal-category-block__layout,
  .product-stage {
    grid-template-columns: 1fr;
  }

  .portal-category-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .portal-home-intro__stats,
  .portal-home-thumbs,
  .portal-category-grid,
  .product-cta-grid,
  .product-guide-grid {
    grid-template-columns: 1fr;
  }

  .portal-home-search,
  .portal-home-banner__actions,
  .portal-category-card__actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .portal-home-intro__copy h1,
  .portal-home-banner__content h2,
  .portal-category-route strong {
    font-size: 32px;
  }

  .portal-home-menu,
  .portal-home-rank__card,
  .portal-home-search,
  .portal-category-card,
  .portal-category-route,
  .product-showcase,
  .product-side-card {
    border-radius: 22px;
  }

  .portal-home-intro__stats div,
  .portal-category-route,
  .product-mobile-hint,
  .product-showcase,
    .product-side-card {
    padding: 20px;
  }
}

/* ========== OSSNAV 主体结构首页 ========== */
.home-oss-page {
  background: #eef2f7;
}

.home-oss-page .site-header {
  position: sticky;
  top: 8px;
  margin: 8px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(14px);
}

.home-oss-page .header-inner {
  height: 48px;
}

.home-oss-page .main-nav a {
  font-size: 13px;
}

.oss-home-hero {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  margin-top: -64px;
  padding: 142px 0 156px;
  background:
    radial-gradient(circle at 50% 0%, rgba(89, 24, 61, 0.65), transparent 34%),
    linear-gradient(180deg, #16040d 0%, #050505 24%, #000000 100%);
}

.oss-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 44%, rgba(255, 74, 74, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 18% 58%, rgba(255, 183, 0, 0.8) 0 1px, transparent 2px),
    radial-gradient(circle at 32% 36%, rgba(255, 74, 74, 0.8) 0 1px, transparent 2px),
    radial-gradient(circle at 44% 62%, rgba(71, 157, 255, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 68% 50%, rgba(255, 192, 0, 0.76) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 40%, rgba(255, 74, 74, 0.82) 0 1px, transparent 2px),
    radial-gradient(circle at 92% 58%, rgba(255, 204, 0, 0.8) 0 1px, transparent 2px);
  opacity: 0.9;
}

.oss-home-hero__skyline {
  position: absolute;
  inset: auto 0 112px;
  height: 150px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 28px;
  opacity: 0.9;
}

.oss-home-hero__skyline span {
  display: block;
  width: 72px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, rgba(19, 19, 19, 0.98), rgba(4, 4, 4, 1));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.oss-home-hero__skyline span:nth-child(1) { height: 70px; }
.oss-home-hero__skyline span:nth-child(2) { height: 116px; }
.oss-home-hero__skyline span:nth-child(3) { height: 96px; }
.oss-home-hero__skyline span:nth-child(4) { height: 136px; }
.oss-home-hero__skyline span:nth-child(5) { height: 118px; }
.oss-home-hero__skyline span:nth-child(6) { height: 88px; }
.oss-home-hero__skyline span:nth-child(7) { height: 128px; }
.oss-home-hero__skyline span:nth-child(8) { height: 74px; }

.oss-home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 14px;
}

.oss-home-hero__tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.oss-home-hero__tab {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  padding: 0 2px 8px;
  border-bottom: 3px solid transparent;
}

.oss-home-hero__tab.is-active {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.oss-home-hero__search {
  width: min(640px, calc(100vw - 40px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px;
  border: 3px solid rgba(255, 255, 255, 0.84);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.oss-home-hero__search input {
  min-height: 42px;
  border: 0;
  padding: 0 16px;
  color: #1f2937;
  background: transparent;
  font-size: 14px;
  outline: none;
}

.oss-home-hero__search button {
  border: 0;
  background: #1f2937;
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
}

.oss-home-main {
  position: relative;
  margin-top: -64px;
  z-index: 2;
}

.oss-home-main__grid {
  display: grid;
  grid-template-columns: 174px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.oss-side-menu,
.oss-panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #eaedf3;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.oss-side-menu {
  position: sticky;
  top: 80px;
  border-radius: 10px;
  padding: 12px;
}

.oss-side-menu__list {
  display: grid;
  gap: 4px;
}

.oss-side-menu__item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 30px;
  color: #4b5563;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 0 6px;
  border-radius: 7px;
}

.oss-side-menu__item:hover {
  background: #f5f7fb;
  color: #111827;
}

.oss-side-menu__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  color: #6b7280;
  font-size: 12px;
}

.oss-side-menu__foot {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #edf1f6;
}

.oss-side-menu__foot a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 34px;
  border-radius: 7px;
  background: #f4f7fb;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.oss-home-content {
  display: grid;
  gap: 14px;
}

.oss-panel {
  border-radius: 10px;
  padding: 12px;
}

.oss-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.oss-panel__head h2 {
  color: #374151;
  font-size: 16px;
  font-weight: 700;
}

.oss-panel__head a {
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.oss-hot-row,
.oss-card-grid {
  display: grid;
  gap: 12px;
}

.oss-hot-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.oss-card-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.oss-hot-card,
.oss-soft-card {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #f0f3f7;
  background: linear-gradient(180deg, #ffffff, #fbfcfe);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.oss-hot-card:hover,
.oss-soft-card:hover {
  transform: translateY(-2px);
  border-color: #dbe3ee;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.oss-soft-head,
.oss-soft-actions,
.oss-soft-meta {
  display: grid;
  gap: 8px;
}

.oss-soft-head {
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
}

.oss-soft-head__icon {
  width: 52px;
  height: 52px;
}

.oss-soft-head__copy h3 {
  color: #374151;
  font-size: 14px;
  line-height: 1.25;
  margin: 0;
}

.oss-soft-head__copy span {
  color: #9ca3af;
  font-size: 12px;
}

.oss-hot-card p,
.oss-soft-card p {
  min-height: 38px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.55;
  margin: 10px 0 8px;
}

.oss-soft-meta {
  grid-template-columns: repeat(2, minmax(0, max-content));
  align-items: center;
}

.oss-soft-meta span {
  color: #9ca3af;
  font-size: 11px;
  font-weight: 600;
}

.oss-soft-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 8px;
}

.oss-soft-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 7px;
  background: linear-gradient(135deg, #19b8f1, #1598ea);
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.oss-soft-action:hover {
  color: #ffffff;
}

.oss-soft-action--ghost {
  background: #f4f7fb;
  color: #4b5563;
}

.oss-soft-action--ghost:hover {
  color: #111827;
}

@media (max-width: 1280px) {
  .oss-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .oss-home-main__grid {
    grid-template-columns: 1fr;
  }

  .oss-side-menu {
    position: static;
  }

  .oss-side-menu__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .oss-home-hero {
    min-height: 360px;
    padding: 128px 0 120px;
  }

  .oss-hot-row,
  .oss-card-grid,
  .oss-side-menu__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-oss-page .site-header {
    margin: 0;
    top: 0;
    border-radius: 0;
  }

  .oss-home-hero {
    margin-top: 0;
    padding-top: 92px;
  }

  .oss-home-main {
    margin-top: -32px;
  }

  .oss-hot-row,
  .oss-card-grid,
  .oss-side-menu__list {
    grid-template-columns: 1fr;
  }

  .oss-home-hero__tabs {
    gap: 10px;
  }

  .oss-home-hero__tab {
    font-size: 13px;
  }
}

/* ========== OSSNAV 风格首页覆写 ========== */
.home-oss-page {
  background:
    linear-gradient(180deg, #eef2f7 0%, #eef2f7 520px, #edf1f6 100%);
}

.home-oss-page .site-header {
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.home-oss-page .logo {
  font-size: 18px;
}

.home-oss-page .main-nav {
  gap: 8px;
}

.home-oss-page .main-nav a {
  font-weight: 700;
}

.oss-home-hero {
  min-height: 430px;
  padding: 142px 0 170px;
  background:
    radial-gradient(circle at 50% 0%, rgba(122, 32, 85, 0.62), transparent 36%),
    linear-gradient(180deg, #19040f 0%, #040404 22%, #000000 100%);
}

.oss-home-hero::before,
.oss-home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.oss-home-hero::before {
  background:
    radial-gradient(circle at 1% 38%, rgba(255, 60, 60, 0.95) 0 1px, transparent 2px),
    radial-gradient(circle at 8% 48%, rgba(255, 193, 7, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 16% 44%, rgba(77, 164, 255, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 24% 30%, rgba(255, 60, 60, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 34% 52%, rgba(255, 193, 7, 0.85) 0 1px, transparent 2px),
    radial-gradient(circle at 47% 42%, rgba(255, 60, 60, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 59% 56%, rgba(77, 164, 255, 0.88) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 33%, rgba(255, 193, 7, 0.82) 0 1px, transparent 2px),
    radial-gradient(circle at 83% 52%, rgba(255, 60, 60, 0.92) 0 1px, transparent 2px),
    radial-gradient(circle at 95% 46%, rgba(255, 193, 7, 0.82) 0 1px, transparent 2px);
  opacity: 0.92;
  animation: ossTwinkle 7s ease-in-out infinite;
}

.oss-home-hero::after {
  background:
    linear-gradient(180deg, transparent 0%, transparent 60%, rgba(0, 0, 0, 0.35) 100%),
    radial-gradient(circle at 50% 22%, rgba(232, 92, 173, 0.1), transparent 38%);
}

.oss-home-hero__skyline {
  inset: auto 0 120px;
  height: 162px;
  gap: 18px;
  opacity: 0.94;
}

.oss-home-hero__skyline span {
  width: 64px;
  border-radius: 4px 4px 0 0;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.95), rgba(5, 5, 5, 1)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 191, 73, 0.2) 0 2px,
      transparent 2px 8px
    );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02),
    inset 0 0 0 1px rgba(255, 255, 255, 0.015);
}

.oss-home-hero__skyline span:nth-child(1) { height: 70px; width: 46px; }
.oss-home-hero__skyline span:nth-child(2) { height: 116px; width: 64px; }
.oss-home-hero__skyline span:nth-child(3) { height: 94px; width: 58px; }
.oss-home-hero__skyline span:nth-child(4) { height: 134px; width: 76px; }
.oss-home-hero__skyline span:nth-child(5) { height: 122px; width: 72px; }
.oss-home-hero__skyline span:nth-child(6) { height: 92px; width: 54px; }
.oss-home-hero__skyline span:nth-child(7) { height: 128px; width: 68px; }
.oss-home-hero__skyline span:nth-child(8) { height: 86px; width: 50px; }
.oss-home-hero__skyline span:nth-child(9) { height: 108px; width: 66px; }
.oss-home-hero__skyline span:nth-child(10) { height: 74px; width: 48px; }

.oss-home-hero__tabs {
  gap: 22px;
}

.oss-home-hero__search {
  width: min(644px, calc(100vw - 44px));
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.oss-home-hero__search:focus-within {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}

.oss-home-hero__search button {
  background: #2a3142;
}

.oss-home-hero__hint {
  color: rgba(232, 239, 250, 0.76);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.oss-home-main {
  margin-top: -62px;
}

.oss-home-main__grid {
  grid-template-columns: 212px minmax(0, 1fr);
  gap: 16px;
}

.oss-side-menu,
.oss-panel {
  border-color: rgba(223, 228, 236, 0.98);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.05);
}

.oss-side-menu {
  border-radius: 16px;
  padding: 12px 10px;
  background: linear-gradient(180deg, rgba(247, 249, 252, 0.98), rgba(240, 244, 249, 0.98));
}

.oss-side-menu__item {
  grid-template-columns: 36px minmax(0, 1fr) 30px;
  min-height: 48px;
  font-weight: 700;
  padding: 0 10px 0 8px;
  border-radius: 12px;
  transition: background .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.oss-side-menu__item:hover {
  background: rgba(255, 255, 255, 0.96);
  transform: translateX(2px);
  box-shadow: 0 10px 24px rgba(148, 163, 184, 0.14);
}

.oss-side-menu__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.96);
  font-size: 11px;
  font-weight: 800;
}

.oss-side-menu__icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

.oss-side-menu__item strong {
  color: #425168;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.oss-side-menu__item em {
  color: #9aa3b4;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  text-align: right;
}

.oss-home-content {
  gap: 16px;
}

.oss-panel {
  border-radius: 14px;
  padding: 14px;
  background: rgba(247, 249, 252, 0.98);
}

.oss-panel--featured {
  background: linear-gradient(180deg, rgba(248, 249, 252, 0.98), rgba(244, 247, 251, 0.98));
}

.oss-panel__head {
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
  padding: 2px 2px 0;
}

.oss-panel__head h2 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.oss-panel__head p {
  margin-top: 4px;
  color: #8b96a8;
  font-size: 12px;
  line-height: 1.6;
}

.oss-panel__head a {
  font-weight: 800;
}

.oss-hot-row,
.oss-card-grid {
  gap: 12px;
}

.oss-hot-card,
.oss-soft-card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  border-color: rgba(234, 238, 244, 0.98);
  background: linear-gradient(180deg, #ffffff, #fcfdff);
}

.oss-hot-card:hover,
.oss-soft-card:hover {
  transform: translateY(-3px);
  border-color: #dfe5ef;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.oss-soft-card__top {
  display: grid;
  gap: 10px;
}

.oss-soft-head__copy h3 {
  color: #334155;
  line-height: 1.35;
}

.oss-soft-head__copy span {
  display: block;
  margin-top: 4px;
  color: #98a2b3;
}

.oss-lane-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.oss-lane-badge.is-pc {
  color: #0f69d5;
  background: rgba(231, 242, 255, 0.98);
}

.oss-lane-badge.is-android {
  color: #128857;
  background: rgba(231, 248, 240, 0.98);
}

.oss-hot-card p,
.oss-soft-card p {
  min-height: 40px;
  color: #667387;
  line-height: 1.65;
  margin: 0;
}

.oss-soft-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.oss-soft-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f3f6fa;
  color: #7a8698;
  font-size: 11px;
  font-weight: 700;
}

.oss-soft-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
}

.oss-text-link {
  color: #536075;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.oss-text-link:hover {
  color: #182234;
}

.oss-text-link--primary {
  color: #1297df;
}

.oss-text-link--primary:hover {
  color: #0c7ec3;
}

@keyframes ossTwinkle {
  0%, 100% { opacity: 0.84; }
  50% { opacity: 1; }
}

@media (max-width: 1080px) {
  .oss-home-main__grid {
    grid-template-columns: 1fr;
  }

  .oss-side-menu__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .oss-home-hero {
    min-height: 372px;
    padding: 128px 0 124px;
  }

  .oss-home-hero__skyline {
    inset: auto 0 102px;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .oss-home-main {
    margin-top: -34px;
  }

  .oss-home-hero__tabs {
    gap: 12px;
  }

  .oss-panel__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .oss-side-menu__item {
    grid-template-columns: 30px minmax(0, 1fr) 32px;
  }
}

/* ========== 首页二次收口 ========== */
.footer-notes {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.footer-text--notice {
  max-width: 560px;
  text-align: right;
  line-height: 1.7;
}

.home-oss-page {
  position: relative;
}

.home-oss-page .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 12;
  margin: 0;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(5, 10, 18, 0.82) 0%, rgba(5, 10, 18, 0.5) 62%, rgba(5, 10, 18, 0) 100%);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.home-oss-page .header-inner {
  min-height: 74px;
}

.home-oss-page .logo,
.home-oss-page .main-nav a {
  color: rgba(245, 247, 250, 0.96);
}

.home-oss-page .main-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.oss-home-hero {
  position: relative;
  z-index: 1;
  min-height: 430px;
  margin-top: 0;
  padding: 118px 0 156px;
  background:
    radial-gradient(circle at 50% 0%, rgba(122, 32, 85, 0.36), transparent 36%),
    linear-gradient(180deg, #13040d 0%, #020203 24%, #000000 100%);
}

.oss-home-hero__grid {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(rgba(106, 125, 163, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106, 125, 163, 0.08) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.78), transparent 92%);
  opacity: 0.32;
  animation: ossGridDrift 18s linear infinite;
}

.oss-home-hero__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.oss-home-hero__particles span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: rgba(155, 219, 255, 1);
  box-shadow:
    0 0 16px rgba(82, 184, 255, 0.92),
    0 0 34px rgba(82, 184, 255, 0.34);
  mix-blend-mode: screen;
  opacity: 0.95;
  animation: ossParticleFloat var(--duration) ease-in-out var(--delay) infinite alternate;
}

.oss-home-hero__particles span::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  pointer-events: none;
}

.oss-home-hero__particles span::after {
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.42), transparent 72%);
  opacity: 0.42;
}

.oss-home-hero__particles span:nth-child(3n) {
  background: rgba(255, 197, 79, 1);
  box-shadow:
    0 0 16px rgba(255, 197, 79, 0.84),
    0 0 34px rgba(255, 197, 79, 0.26);
}

.oss-home-hero__particles span:nth-child(4n) {
  background: rgba(255, 89, 111, 0.96);
  box-shadow:
    0 0 16px rgba(255, 89, 111, 0.88),
    0 0 34px rgba(255, 89, 111, 0.3);
}

.oss-home-hero__search {
  position: relative;
  z-index: 3;
}

.oss-home-hero__hint {
  position: relative;
  z-index: 3;
}

.oss-hot-row,
.oss-card-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.oss-home-main {
  position: relative;
  z-index: 3;
  margin-top: -54px;
}

.oss-side-menu__item {
  position: relative;
  overflow: hidden;
}

.oss-side-menu__item--hot .oss-side-menu__icon { color: #ff8a00; }
.oss-side-menu__item.is-teal .oss-side-menu__icon { color: #19b8a5; }
.oss-side-menu__item.is-gold .oss-side-menu__icon { color: #d4a017; }
.oss-side-menu__item.is-green .oss-side-menu__icon { color: #27ae60; }
.oss-side-menu__item.is-blue .oss-side-menu__icon { color: #2f80ed; }
.oss-side-menu__item.is-violet .oss-side-menu__icon { color: #8b5cf6; }
.oss-side-menu__item.is-rose .oss-side-menu__icon { color: #e85d75; }
.oss-side-menu__item.is-orange .oss-side-menu__icon { color: #f2994a; }
.oss-side-menu__item.is-red .oss-side-menu__icon { color: #eb5757; }

.oss-hot-card,
.oss-soft-card {
  padding: 0;
  overflow: hidden;
}

.oss-card-link {
  display: grid;
  grid-template-rows: auto minmax(52px, auto) auto;
  align-content: start;
  gap: 12px;
  min-height: 100%;
  padding: 13px 14px 14px;
  color: inherit;
  text-decoration: none;
}

.oss-card-link:hover {
  color: inherit;
}

.oss-soft-card__top {
  min-height: 58px;
}

.oss-soft-head {
  align-items: flex-start;
  gap: 12px;
}

.oss-soft-head__copy {
  display: grid;
  align-content: start;
  gap: 0;
  min-width: 0;
}

.oss-soft-head__copy h3 {
  display: -webkit-box;
  min-height: 22px;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.oss-soft-head__copy span {
  min-height: 18px;
}

.oss-soft-desc {
  display: -webkit-box;
  min-height: 2.96em;
  max-height: 2.96em;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #67758a;
  font-size: 13px;
  line-height: 1.48;
  letter-spacing: 0.01em;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.oss-soft-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-self: end;
  justify-content: start;
}

.oss-soft-meta .platform-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  min-height: 28px;
  padding-top: 2px;
}

.oss-soft-meta .platform-chip {
  min-height: 28px;
  border: 0;
  background: #eff4fb;
}

.oss-soft-meta > span:last-child {
  width: fit-content;
  min-height: 28px;
  padding: 0 12px;
  justify-self: start;
  flex-shrink: 0;
}

.oss-soft-meta:empty {
  display: none;
}

@keyframes ossParticleFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.55;
  }

  50% {
    transform: translate3d(calc(var(--dx) * 1), calc(var(--dy) * 1), 0) scale(1.24);
    opacity: 1;
  }
}

@keyframes ossGridDrift {
  from {
    background-position: 0 0, 0 0, 0 0;
  }

  to {
    background-position: 0 0, 72px 72px, -72px -72px;
  }
}

@media (max-width: 1180px) {
  .oss-hot-row,
  .oss-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .home-oss-page .header-inner {
    min-height: 68px;
  }

  .oss-home-hero {
    min-height: 372px;
    padding: 110px 0 124px;
  }

  .oss-hot-row,
  .oss-card-grid,
  .oss-side-menu__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .footer-notes {
    justify-items: start;
  }

  .footer-text--notice {
    text-align: left;
  }

  .home-oss-page .site-header {
    background:
      linear-gradient(180deg, rgba(5, 10, 18, 0.86) 0%, rgba(5, 10, 18, 0.44) 70%, rgba(5, 10, 18, 0) 100%);
  }

  .home-oss-page .header-inner {
    min-height: 64px;
  }

  .oss-home-hero {
    padding: 98px 0 118px;
  }

  .oss-home-main {
    margin-top: -34px;
  }

  .oss-hot-row,
  .oss-card-grid,
  .oss-side-menu__list {
    grid-template-columns: 1fr;
  }
}

/* ========== 详情页二维码优化 ========== */
.product-stage {
  gap: 18px;
}

.product-stage__main,
.product-stage__aside {
  gap: 14px;
}

.product-showcase {
  padding: 24px;
  gap: 16px;
}

.product-side-card {
  padding: 20px;
}

.product-cta-head {
  margin-bottom: 12px;
}

.product-cta-grid {
  gap: 8px;
  margin-top: 10px;
}

.product-cta-actions {
  margin-top: 10px;
}

.product-lane-tip {
  line-height: 1.6;
}

.product-side-card--detail {
  display: grid;
  gap: 12px;
}

.product-side-card--detail .product-side-card__head {
  margin-bottom: 0;
}

.product-side-card--detail .product-info-row {
  gap: 8px;
  padding: 16px 18px;
}

.product-stage .section {
  margin-bottom: 24px;
}

.product-stage .section-header {
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  .product-stage {
    margin-top: 12px;
  }

  .product-stage__main,
  .product-stage__aside {
    gap: 14px;
  }

  .product-showcase,
  .product-side-card {
    padding: 20px;
  }

  .platform-qr-trigger {
    display: none;
  }
}
