@charset "utf-8";
/* ============ AI 军火库 · 页面设计层 v2 ============ */
/* 依赖 ref/style.css（reference.css）里的 :root 变量 */

/* ---------- 背景质感 ---------- */
body { position: relative; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 420px at 12% -6%, rgba(255,140,50,.10), transparent 60%),
    radial-gradient(820px 420px at 96% 4%, rgba(41,75,98,.12), transparent 62%);
}

/* ---------- 动效系统（.js 存在时启用，渐进增强） ---------- */
.js body .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js body .reveal.is-visible { opacity: 1; transform: none; }
.js body .reveal[data-delay="1"] { transition-delay: .08s; }
.js body .reveal[data-delay="2"] { transition-delay: .16s; }
.js body .reveal[data-delay="3"] { transition-delay: .24s; }
.js body .reveal[data-delay="4"] { transition-delay: .32s; }
.js body .reveal[data-delay="5"] { transition-delay: .40s; }
@keyframes floatY { from { transform: translateY(-3px); } to { transform: translateY(6px); } }
@keyframes pulseGlow { 0%,100% { opacity: .5; } 50% { opacity: 1; } }
#header.is-scrolled { box-shadow: 0 12px 32px rgba(23,49,74,.12); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js body .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============ Hero ============ */
.hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 58px 0 52px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,0)),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(560px 300px at 22% 40%, #000, transparent 72%);
  mask-image: radial-gradient(560px 300px at 22% 40%, #000, transparent 72%);
  opacity: .5;
}
.hero::after {
  content: ""; position: absolute; width: 340px; height: 340px; right: -70px; top: -90px; z-index: -1;
  background: radial-gradient(circle at center, rgba(255,140,50,.22), transparent 68%);
  animation: pulseGlow 6s var(--ease) infinite;
}
.hero > * { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent-deep); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--accent); }
.hero h1 {
  color: var(--ink); font-size: clamp(38px, 6vw, 58px); line-height: 1.08; font-weight: 850;
  letter-spacing: -.02em; margin: 0; white-space: nowrap;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--accent), var(--accent-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy { color: #5f7688; margin-top: 16px; font-size: 16px; max-width: 560px; line-height: 1.75; text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.directory-count {
  display: flex; flex-wrap: wrap; gap: 22px 44px; align-items: flex-end; justify-content: center;
  flex: 0 0 auto; padding: 28px 34px;
  background: linear-gradient(160deg, #fff, #f4f8fb);
  border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 16px 44px rgba(23,49,74,.10), inset 0 1px 0 #fff;
}
.dc-pair { display: flex; flex-direction: column; align-items: flex-start; }
.directory-count strong { font-size: 34px; color: var(--ink); font-weight: 850; letter-spacing: -.02em; line-height: 1; }
.directory-count span { display: block; font-size: 12px; color: var(--muted); margin-top: 8px; letter-spacing: .04em; }

/* ============ 区块标题（编号式） ============ */
.category-section, .tool-section { padding-top: 40px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.section-heading h2 {
  display: flex; align-items: baseline; gap: 14px;
  color: var(--ink); font-size: clamp(22px, 3vw, 28px); font-weight: 800; letter-spacing: -.01em; margin: 0;
}
.section-heading h2 .sec-no {
  font-size: 13px; font-weight: 800; color: var(--accent);
  font-variant-numeric: tabular-nums; letter-spacing: .1em;
  border-bottom: 2px solid var(--accent); padding-bottom: 2px;
}
.section-heading h2::before { display: none; }
.section-heading > span, .section-heading > a { font-size: 13px; color: var(--muted); white-space: nowrap; }
.section-heading > a { position: relative; font-weight: 600; color: var(--accent-deep); }
.section-heading > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 2px; background: var(--accent); transition: right .28s var(--ease); }
.section-heading > a:hover::after { right: 0; }
.tool-facts h2 { color: var(--ink); font-size: 16px; font-weight: 700; }
.tool-facts h2::before { display: none; }

/* ============ 分类网格 ============ */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.category-grid li { min-width: 0; }
.category-grid a {
  display: flex; align-items: center; gap: 13px; padding: 16px 18px; height: 100%;
  border: 1px solid var(--line); border-radius: 16px; background: var(--card);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s, background .3s;
}
.category-grid a:hover {
  transform: translateY(-4px); border-color: #ffd9b8; background: linear-gradient(160deg, #fff, #fff7ef);
  box-shadow: 0 14px 30px rgba(23,49,74,.09);
}
.category-icon {
  display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px;
  border-radius: 12px; background: linear-gradient(150deg, #fff2e4, #ffe4c8);
  color: var(--accent-deep); font-size: 22px;
  transition: transform .35s var(--ease);
}
.category-grid a:hover .category-icon { transform: rotate(-8deg) scale(1.06); }
.category-grid strong { color: var(--ink); display: block; font-size: 15px; font-weight: 700; white-space: nowrap; }
.category-grid small { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.category-arrow { margin-left: auto; color: #c3d0da; transition: transform .3s var(--ease), color .3s; }
.category-grid a:hover .category-arrow { transform: translateX(4px); color: var(--accent); }

/* ============ 工具卡片 ============ */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 14px; }
.tool-card {
  position: relative; min-width: 0; display: flex; flex-direction: column;
  padding: 16px; border: 1px solid #e9eef2; border-radius: 16px; background: var(--card);
  box-shadow: 0 2px 10px rgba(16,35,51,.04);
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s;
}
.tool-card::before {
  content: ""; position: absolute; left: 16px; right: 16px; top: 0; height: 3px;
  border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.tool-card:hover { transform: translateY(-5px); border-color: #d8e2ea; box-shadow: 0 22px 48px rgba(23,49,74,.13); }
.tool-card:hover::before { transform: scaleX(1); }
.tool-card:hover .card-more span { transform: translate(3px, -3px); }
.tool-card:hover .tool-avatar { transform: rotate(-5deg) scale(1.05); }
.card-stretch { position: absolute; inset: 0; z-index: 3; border-radius: 16px; text-decoration: none; }
.category-label, .card-more, .tool-avatar { position: relative; z-index: 4; }
.card-heading { display: flex; align-items: center; gap: 12px; min-width: 0; }
.card-heading > div { min-width: 0; }
.tool-avatar {
  position: relative; display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px;
  background: linear-gradient(150deg, #eef5f9, #e2edf3); border-radius: 12px; overflow: hidden;
  font-size: 21px; font-weight: 800; color: var(--ink-2);
  transition: transform .35s var(--ease);
}
.tool-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 5px; background: #fff; }
.tool-avatar.large {
  width: 64px; height: 64px; flex-basis: 64px; font-size: 32px;
  border: 1px solid var(--line); box-shadow: 0 8px 20px rgba(16,35,51,.08);
}
.tool-card h3 { margin-bottom: 0; line-height: 1.3; overflow-wrap: anywhere; font-size: 16.5px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.tool-card h3::before { display: none; }
.category-label { font-size: 12px; color: var(--muted); font-weight: 600; }
.card-intro {
  font-size: 13.5px; color: #63788a; line-height: 1.7; min-height: 58px; margin: 12px 0 14px; overflow-wrap: anywhere;
}
.card-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: auto; border-top: 1px solid #eef2f5; padding-top: 14px; }
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; background: #edf4f8; color: #536f80; border-radius: 999px; font-size: 12px; font-weight: 600;
}
.badge.price { background: #e9f6ef; color: #2f7a5c; }
.card-more { font-size: 12px; margin-left: auto; white-space: nowrap; font-weight: 600; }
.card-more span { display: inline-block; color: var(--accent-deep); font-size: 15px; transition: transform .28s var(--ease); }

/* ============ 文章卡片 ============ */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.article-card {
  display: flex; flex-direction: column; gap: 10px; padding: 24px;
  border: 1px solid #e9eef2; border-radius: 18px; background: var(--card);
  box-shadow: 0 2px 10px rgba(16,35,51,.04); position: relative; overflow: hidden;
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s;
}
.article-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease);
}
.article-card:hover { transform: translateY(-6px); border-color: #ffd9b8; box-shadow: 0 22px 48px rgba(23,49,74,.12); }
.article-card:hover::before { transform: scaleY(1); }
.article-card strong { font-size: 18px; line-height: 1.4; color: var(--ink); font-weight: 800; letter-spacing: -.01em; }
.article-card p { font-size: 14px; color: #63788a; line-height: 1.7; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-card time { font-size: 12px; color: var(--muted); margin-top: auto; }
.article-board { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: linear-gradient(120deg, #fff2e4, #ffe7cf); color: var(--accent-deep); }

/* ============ 面包屑 + 页头 ============ */
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted); padding-top: 26px; overflow-wrap: anywhere;
}
.breadcrumb a { color: var(--muted); font-weight: 500; }
.breadcrumb a:hover { color: var(--accent-deep); }
.breadcrumb span + span { color: #b8c6d1; }
.page-heading { padding: 26px 0 8px; }
.page-heading h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 850; letter-spacing: -.02em; color: var(--ink); margin: 6px 0 12px; }
.page-heading p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* ============ 分页 ============ */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding-top: 40px; }
.pagination a, .pagination button {
  background: var(--card); border: 1px solid #dbe7ee; border-radius: 10px;
  padding: 10px 16px; color: #31566f; font-weight: 650; font-size: 14px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s, color .22s;
}
.pagination a:hover, .pagination button:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(23,49,74,.1); border-color: #ffd9b8; color: var(--accent-deep); }
.pagination [aria-current="page"] { background: linear-gradient(120deg, var(--ink-2), var(--ink)); border-color: var(--ink); color: #fff; }

/* ============ 详情页 ============ */
.tool-overview {
  position: relative; overflow: hidden; margin-top: 26px; padding: 34px;
  border-radius: 22px; background: var(--card);
  box-shadow: 0 4px 22px rgba(16,35,51,.06);
}
.tool-overview::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent));
}
.detail-heading { display: flex; align-items: center; gap: 20px; }
.detail-heading > div { min-width: 0; }
.detail-intro { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.tool-facts dd.tags { display: flex; flex-wrap: wrap; gap: 5px 6px; margin-top: 8px; }
.tag-chip { display: inline-block; padding: 2px 10px; background: #edf4f8; color: #536f80; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.tool-actions, .form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 10px;
  border: 1px solid transparent; border-radius: 12px; min-height: 48px; padding: 12px 26px;
  font-weight: 750; font-size: 15px; letter-spacing: .02em; position: relative; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s;
}
.button.primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-deep)); color: #fff;
  box-shadow: 0 8px 20px rgba(255,124,32,.32);
}
.button.primary:hover { filter: brightness(1.07); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(255,124,32,.42); }
.button.primary:active { transform: scale(.98); }
.button.secondary { background: #f5f8fa; border-color: #dae4ea; color: #31566f; }
.button.secondary:hover { border-color: var(--accent); color: var(--accent-deep); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(23,49,74,.1); }
.button:disabled { opacity: .6; cursor: wait; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; margin: 34px 0; }
.tool-description { padding-top: 0; }
.content h2 { color: var(--ink); font-size: 22px; font-weight: 800; letter-spacing: -.01em; margin: 30px 0 12px; }
.content h2:first-child { margin-top: 0; }
.content h3 { margin-top: 22px; color: var(--ink); font-weight: 750; }
.content p { margin-bottom: 16px; line-height: 1.85; }
.content ul, .content ol { list-style: revert; padding-left: 26px; margin-bottom: 16px; }
.content ul li, .content ol li { line-height: 1.8; margin-bottom: 6px; }
.content pre { white-space: pre-wrap; overflow-wrap: anywhere; background: #f4f8fb; border: 1px solid var(--line); border-radius: 12px; padding: 16px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.content table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.content th, .content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.content th { background: #f4f8fb; font-weight: 700; }
.content img { max-width: 100%; border-radius: 12px; margin: 18px 0; }
.content blockquote { border-left: 4px solid var(--line); padding-left: 14px; margin: 16px 0; color: var(--ink-dim); font-style: italic; }
.tool-facts { align-self: start; position: sticky; top: 96px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); padding: 24px; box-shadow: 0 4px 18px rgba(16,35,51,.05); }
.tool-facts dl { margin: 0; }
.tool-facts dt { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-top: 18px; }
.tool-facts dt:first-of-type { margin-top: 0; }
.tool-facts dd { margin-top: 6px; overflow-wrap: anywhere; font-size: 14px; }
.tool-facts p { font-size: 12px; color: var(--muted); margin-top: 24px; border-top: 1px dashed var(--line); padding-top: 16px; }
.empty-state { padding: 40px 0; color: var(--muted); font-size: 15px; text-align: center; }

/* ============ 文章列表 / 板块 ============ */
.article-list { display: grid; gap: 4px; max-width: 900px; }
.article-list-item { border-bottom: 1px solid var(--line); padding: 24px 0; transition: padding-left .3s var(--ease); }
.article-list-item:last-child { border-bottom: 0; }
.article-list-item:hover { padding-left: 6px; }
.article-list-item h2 { font-size: 22px; margin: 8px 0; font-weight: 800; letter-spacing: -.01em; }
.article-list-item h2 a { color: var(--ink); }
.article-list-item h2 a:hover { color: var(--accent-deep); }
/* 场景页双栏布局：左文章栏 + 右工具主栏（10/05 主人反馈：进来要同屏看到文章和工具） */
.scene-split { display: grid; grid-template-columns: minmax(260px, 320px) 1fr; gap: 16px; align-items: start; }
.scene-split.no-articles { display: block; }
.scene-main-col { min-width: 0; display: grid; gap: 16px; }
.scene-articles-col { position: sticky; top: 80px; max-height: calc(100vh - 100px); overflow-y: auto; background: var(--surface, rgba(255,255,255,.02)); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.article-list.slim { max-width: none; gap: 0; }
.article-list.slim .article-list-item { padding: 10px 0; }
.article-list.slim .article-list-item h2 { font-size: 15px; margin: 0; font-weight: 700; line-height: 1.4; }
.article-list.compact { max-width: none; gap: 0; }
.article-list.compact .article-list-item { padding: 12px 0; }
.article-list.compact .article-list-item h2 { font-size: 16px; margin: 4px 0; }
.article-list.compact .article-list-item p { font-size: 13px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.scene-articles-more { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--accent, #ff8c32); }
.scene-articles-more:hover { color: var(--accent-deep, #e06a1a); }
@media (max-width: 900px) {
  .scene-split { display: block; }
  .scene-articles-col { position: static; max-height: none; overflow: visible; margin-bottom: 28px; }
}
.article-summary { color: var(--muted); line-height: 1.8; }
.article-list-item time { color: var(--muted); font-size: 12px; margin-left: 10px; }
.board-filters { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 22px; }
.board-filters a {
  padding: 9px 16px; border: 1px solid #dbe7ee; border-radius: 999px; color: #31566f; font-weight: 600; font-size: 14px;
  transition: transform .22s var(--ease), background .22s, color .22s, border-color .22s;
}
.board-filters a:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent-deep); }
.board-filters a[aria-current="page"] { background: linear-gradient(120deg, var(--ink-2), var(--ink)); border-color: var(--ink); color: #fff; }
.gpu-filters { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 10px 12px; }
.gpu-filters-label { margin-top: 9px; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.gpu-filter-options { display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; }
.gpu-tags { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 10px 0 0; }
.gpu-tag { display: inline-flex; max-width: 100%; padding: 3px 10px; background: rgba(41,75,98,.08); border: 1px solid var(--line); border-radius: 999px; font-size: 11.5px; font-weight: 650; line-height: 1.45; color: var(--ink-2); overflow-wrap: anywhere; }

/* ============ 文章正文 ============ */
.article-heading { padding: 34px 0 26px; max-width: 900px; }
.article-heading h1 { font-size: clamp(30px, 4.5vw, 44px); font-weight: 850; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); margin: 10px 0 14px; }
.article-body { min-width: 0; max-width: 900px; line-height: 1.9; font-size: 16px; overflow-wrap: anywhere; }
.article-body h2 { font-size: 26px; font-weight: 800; letter-spacing: -.01em; margin-top: 40px; color: var(--ink); }
.article-body h3 { font-size: 20px; font-weight: 750; margin-top: 28px; color: var(--ink); }
.article-body pre.codeblock {
  background: #16232f; color: #e5eef4; border-radius: 14px; overflow-x: auto;
  padding: 20px; white-space: pre; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px; line-height: 1.6;
  border: 1px solid #24384a; box-shadow: 0 8px 24px rgba(16,35,51,.14);
}
.article-body pre.codeblock code { color: inherit; }
.article-body code { background: #eef3f7; color: #375266; padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.article-body pre code { background: none; padding: 0; }
.article-body table { display: block; max-width: 100%; border-collapse: collapse; width: 100%; margin: 22px 0; border-radius: 12px; overflow-x: auto; }
.article-body th, .article-body td { border: 1px solid #dbe4ea; padding: 11px 14px; text-align: left; }
.article-body th { background: #f4f8fb; font-weight: 700; color: var(--ink); }
.article-body img { border-radius: 12px; margin: 20px 0; }
.article-body blockquote { border-left: 4px solid var(--accent); background: #fff7f0; padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 22px 0; color: #5f7688; }
.article-neighbors { display: flex; justify-content: space-between; gap: 16px; max-width: 900px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.article-neighbors a { font-weight: 650; }

/* ============ 搜索 / 筛选 ============ */
.query-row { display: flex; gap: 12px; }
.query-row input { flex: 1; width: 100%; height: 52px; border: 1px solid #dbe7ee; border-radius: 12px; padding: 0 18px; background: #fff; font-size: 15px; transition: border-color .25s, box-shadow .25s; }
.query-row input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,140,50,.16); }
.filter-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px 24px; margin-top: 24px; }
.filter-row > label:not(.check-label) { display: grid; gap: 8px; font-size: 12px; color: var(--muted); font-weight: 600; }
.filter-row select { border: 1px solid #dbe7ee; background: #fff; padding: 10px 14px; border-radius: 10px; min-height: 44px; min-width: 180px; font-weight: 500; }
.filter-row select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,140,50,.16); }
.check-label { display: flex; align-items: center; gap: 9px; min-height: 44px; font-weight: 550; }
input[type="checkbox"] { width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--accent-deep); border-radius: 5px; }
.reset-button { color: #31566f; background: none; border: 0; min-height: 44px; text-decoration: underline; font-weight: 600; }
.reset-button:hover { color: var(--accent-deep); }
.search-status { margin: 30px 0 20px; font-size: 14px; color: var(--muted); }

/* ============ 投稿表单 ============ */
.submission-form { max-width: 760px; }
.submission-form > label, .form-columns > label { display: grid; gap: 9px; font-weight: 700; margin-bottom: 22px; color: var(--ink); font-size: 14px; }
.submission-form .check-label { display: flex; font-weight: 500; }
.submission-form .fipt {
  width: 100%; background: #fff; font-weight: 400; border: 1px solid #dbe7ee;
  border-radius: 12px; padding: 13px 16px; min-height: 48px; font-size: 15px;
  transition: border-color .25s, box-shadow .25s;
}
.submission-form .fipt:focus, .fipt:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,140,50,.16); }
.form-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.fipt { border: 1px solid #dbe7ee; border-radius: 10px; max-width: 100%; padding: 10px 12px; }
.muted { color: var(--muted); font-size: 12px; }
#description-count { margin: -14px 0 20px; color: var(--accent-deep); font-weight: 600; }
#submission-status { margin-top: 18px; color: var(--accent-deep); font-weight: 700; }
.about-content { max-width: 800px; line-height: 1.85; }
.about-content h1 { font-size: 34px; font-weight: 850; letter-spacing: -.02em; margin-bottom: 18px; color: var(--ink); }

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  #topbox { gap: 20px; }
  .directory-count { gap: 18px 30px; padding: 24px; }
  .detail-layout { gap: 28px; }
}
@media (max-width: 768px) {
  .hero { padding: 36px 0 34px; display: block; }
  .hero::before, .hero::after { display: none; }
  .hero-copy { font-size: 15px; max-width: none; }
  .directory-count { width: 100%; margin-top: 28px; padding: 22px; }
  .directory-count strong { font-size: 26px; }
  .directory-count span { margin-top: 6px; }
  .dc-pair { flex: 1 1 0; align-items: center; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-icon { flex-basis: 38px; width: 38px; height: 38px; font-size: 18px; border-radius: 10px; }
  .category-grid a { gap: 10px; padding: 14px; }
  .category-grid strong { font-size: 14px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .detail-layout { grid-template-columns: 1fr; gap: 28px; }
  .tool-facts { position: static; }
  .detail-heading { align-items: flex-start; gap: 14px; }
  .tool-avatar.large { flex-basis: 56px; width: 56px; height: 56px; }
  .tool-overview { padding: 24px; }
  .tool-actions .button { padding: 11px 16px; font-size: 14px; }
  .submit-link { background: transparent; border: 1px solid rgba(255,140,50,.75); box-shadow: none; padding: 9px 14px; }
  .submit-link:hover { background: rgba(255,140,50,.12); }
  .nav-toplink { padding: 12px 0; }
  #navbox { margin-top: 8px; }
  .form-columns { grid-template-columns: 1fr; }
  .filter-row > label:not(.check-label) { width: calc(50% - 12px); }
  .filter-row select { min-width: 0; width: 100%; }
  .article-neighbors { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 480px) {
  .tool-grid { grid-template-columns: 1fr; }
  .card-intro { min-height: 0; }
  .page-heading { padding-top: 20px; }
  .filter-row > label:not(.check-label) { width: 100%; }
  .directory-count { gap: 14px 12px; }
  .directory-count strong { font-size: 22px; }
  .detail-heading h1 { font-size: 26px; }
  .tool-overview { padding: 20px; }
  .sipt { padding-left: 36px; }
  .hero h1 { font-size: 32px; white-space: normal; }
}

/* ============ 首页改版：方案 B + 数据驱动板块 ============ */
#header { top: 0; }
#topbox { min-height: 68px; }
#header.is-scrolled #topbox { min-height: 68px; }
.brand { font-size: 18px; }
.brand-mark { flex-basis: 40px; width: 40px; height: 40px; border-radius: 8px; }
.brand-caption { margin-top: 2px; }
.sipt, .sbtn { height: 42px; }

#navbox {
  position: sticky; top: 68px; z-index: 55; margin: 0;
  border-bottom: 1px solid var(--line); box-shadow: 0 8px 24px rgba(23,49,74,.05);
}
.scene-pill-row {
  display: flex; align-items: center; gap: 8px; max-width: 1200px; margin: 0 auto; padding: 10px 20px;
  overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none;
}
.scene-pill-row::-webkit-scrollbar { display: none; }
.scene-home-link, .scene-pill, .scene-all-link, .scene-vf-link {
  display: inline-flex; align-items: center; flex: 0 0 auto; min-height: 34px;
  border: 1px solid transparent; color: var(--muted); white-space: nowrap;
  font-size: 13px; font-weight: 650; transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.scene-home-link { padding: 6px 13px; border-radius: 999px; color: var(--ink); }
.scene-vf-link {
  padding: 6px 14px; border-radius: 999px;
  background: var(--accent, #f0653a); color: #fff; font-weight: 750;
}
.scene-vf-link:hover { color: #fff; background: #d9542e; }
.scene-vf-link.is-current { border-color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }
.scene-pill { gap: 7px; padding: 6px 8px 6px 13px; border-radius: 999px; }
.scene-pill small {
  display: grid; place-items: center; min-width: 21px; height: 21px; padding: 0 6px;
  border-radius: 999px; background: #edf2f5; color: #708594; font-size: 10px; line-height: 1;
}
.scene-home-link:hover, .scene-pill:hover, .scene-all-link:hover { color: var(--ink); background: #f3f6f8; }
.scene-home-link.is-current, .scene-pill.is-current {
  border-color: var(--ink); background: var(--ink); color: #fff;
}
.scene-pill.is-current small { background: rgba(255,255,255,.16); color: #fff; }
.scene-pill-spacer { flex: 1 0 18px; }
.scene-all-link { gap: 6px; padding: 6px 4px 6px 12px; color: var(--accent-deep); }
.scene-all-link:hover span { transform: translateX(3px); }
.scene-all-link span { transition: transform .2s var(--ease); }

.home-main { min-height: 70vh; }
.home-wrap { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.home-hero { border-bottom: 1px solid var(--line); background: #fff; }
.home-hero-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 56px; row-gap: 28px;
  padding-top: 52px; padding-bottom: 36px;
}
.home-kicker, .dark-kicker, .home-section-heading p, .submit-band > p {
  margin: 0 0 10px; color: var(--accent-deep); font-size: 10px; font-weight: 800; letter-spacing: .13em; line-height: 1.4;
}
.home-hero-copy h1 { margin: 0; color: var(--ink); font-size: 48px; font-weight: 850; line-height: 1.08; letter-spacing: 0; }
.home-hero-copy h1 span { color: var(--accent-deep); }
.home-hero-copy > p:last-child { max-width: 590px; margin: 14px 0 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.home-stats {
  display: grid; grid-template-columns: repeat(3, minmax(88px, 1fr)); align-self: end; margin: 0;
  border: 1px solid var(--line); border-radius: 8px; background: #f8fafb; overflow: hidden;
}
.home-stats div { min-width: 0; padding: 19px 21px; border-left: 1px solid var(--line); }
.home-stats div:first-child { border-left: 0; }
.home-stats dt { color: var(--ink); font-size: 27px; font-weight: 850; line-height: 1; font-variant-numeric: tabular-nums; }
.home-stats dd { margin: 8px 0 0; color: var(--muted); font-size: 11px; white-space: nowrap; }
.intent-row { display: flex; flex-wrap: wrap; grid-column: 1 / -1; gap: 9px; }
.intent-pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 7px 12px 7px 15px;
  border: 1px solid var(--line); border-radius: 999px; background: #f8fafb; color: var(--ink-2); font-size: 13px; font-weight: 650;
  transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.intent-pill::before { content: ""; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--accent); }
.intent-pill small { min-width: 20px; color: var(--muted); font-size: 10px; text-align: center; }
.intent-pill:hover { transform: translateY(-2px); border-color: #ffc593; background: #fff; color: var(--ink); box-shadow: 0 8px 20px rgba(23,49,74,.08); }

.home-sections { padding-top: 30px; }
.local-zone {
  position: relative; display: grid; grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr); gap: 34px;
  padding: 38px 40px; border: 1px solid rgba(255,255,255,.11); border-radius: 16px; overflow: hidden;
  background: linear-gradient(120deg, #17314a, #294b62); color: #fff; box-shadow: 0 18px 46px rgba(16,35,51,.18);
}
.local-zone::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-top: 1px solid rgba(255,176,95,.35); }
.local-zone-copy, .local-tools { position: relative; z-index: 1; min-width: 0; }
.dark-kicker { color: var(--accent-2); }
.local-zone h2 { margin: 0; color: #fff; font-size: 30px; line-height: 1.2; }
.local-zone h2 span { color: var(--accent-2); }
.local-zone-copy > p:not(.dark-kicker) { max-width: 520px; margin: 13px 0 0; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.8; }
.local-rank-lead, .local-tool-card {
  display: flex; align-items: center; gap: 14px; min-width: 0; color: #fff;
  border: 1px solid rgba(255,255,255,.14); border-radius: 10px; background: rgba(8,25,39,.4);
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.local-rank-lead { position: relative; min-height: 158px; margin-top: 22px; padding: 23px 20px; overflow: hidden; }
.local-rank-lead:hover, .local-tool-card:hover { color: #fff; border-color: rgba(255,176,95,.5); background: rgba(8,25,39,.58); transform: translateY(-2px); }
.local-rank-number { position: absolute; right: 12px; bottom: -13px; color: rgba(255,255,255,.06); font-size: 82px; font-weight: 900; line-height: 1; }
.local-rank-avatar { flex: 0 0 62px; width: 62px; height: 62px; border-radius: 12px; font-size: 21px; }
.local-rank-copy { position: relative; min-width: 0; }
.local-rank-copy small { display: block; overflow: hidden; color: var(--accent-2); font-size: 10px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.local-rank-copy strong { display: block; margin-top: 5px; overflow: hidden; color: #fff; font-size: 20px; text-overflow: ellipsis; white-space: nowrap; }
.local-rank-copy em { display: -webkit-box; margin-top: 7px; overflow: hidden; color: rgba(255,255,255,.6); font-size: 11px; font-style: normal; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.card-arrow { margin-left: auto; flex: 0 0 auto; color: var(--accent-2); transition: transform .2s var(--ease); }
a:hover > .card-arrow { transform: translateX(3px); }
.local-tools { display: flex; flex-direction: column; gap: 14px; }
.local-tools-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.local-tools-grid .local-tool-card { gap: 9px; min-height: 72px; padding: 10px; }
.local-tools-grid .tool-avatar { flex: 0 0 38px; width: 38px; height: 38px; }
.local-tools-label { margin: 0 0 2px; color: rgba(255,255,255,.55); font-size: 11px; font-weight: 750; letter-spacing: .08em; }
.local-tool-rank { flex: 0 0 19px; color: rgba(255,255,255,.38); font-size: 10px; font-weight: 800; font-variant-numeric: tabular-nums; }
.local-tool-copy { min-width: 0; }
.local-tool-copy strong { display: block; overflow: hidden; color: #fff; font-size: 12px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.local-tool-copy small { display: block; margin-top: 4px; overflow: hidden; color: rgba(255,255,255,.5); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.local-more { align-self: center; color: rgba(255,255,255,.62); font-size: 12px; font-weight: 650; }
.local-more:hover { color: var(--accent-2); }
.dark-empty { margin: 0; padding: 18px; border: 1px dashed rgba(255,255,255,.2); border-radius: 8px; color: rgba(255,255,255,.6); text-align: center; font-size: 12px; }

.home-section { padding-top: 46px; }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 17px; }
.home-section-heading p { margin-bottom: 5px; }
.home-section-heading h2 { margin: 0; color: var(--ink); font-size: 24px; font-weight: 820; line-height: 1.2; letter-spacing: 0; }
.home-section-heading h2 small { margin-left: 8px; color: var(--muted); font-size: 12px; font-weight: 500; white-space: nowrap; }
.home-section-heading > a { flex: 0 0 auto; padding-bottom: 2px; color: var(--muted); font-size: 12px; font-weight: 650; }
.home-section-heading > a:hover { color: var(--accent-deep); }
.home-section-heading > a span { display: inline-block; transition: transform .2s var(--ease); }
.home-section-heading > a:hover span { transform: translateX(3px); }

.article-duo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px; align-items: stretch; }
.article-featured {
  display: flex; flex-direction: column; min-height: 320px; padding: 27px;
  border-radius: 8px; background: linear-gradient(145deg, var(--ink), var(--ink-2)); color: #fff;
}
.article-board { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: rgba(255,140,50,.17); color: var(--accent-2); font-size: 11px; font-weight: 700; }
.article-board:hover { color: #fff; }
.article-featured h3 { margin: 16px 0 0; font-size: 20px; line-height: 1.48; }
.article-featured h3 a { color: #fff; }
.article-featured > p { margin: 11px 0 0; color: rgba(255,255,255,.67); font-size: 13px; line-height: 1.75; }
.article-gpus { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 20px; }
.article-gpus span { padding: 3px 9px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: rgba(255,255,255,.78); font-size: 10px; }
.article-read { margin-top: 15px; color: var(--accent-2); font-size: 12px; font-weight: 700; }
.article-read:hover { color: #fff; }
.article-rail { display: flex; flex-direction: column; justify-content: center; min-height: 320px; padding: 5px 20px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.article-rail-row { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.article-rail-row:last-child { border-bottom: 0; }
.article-number { flex: 0 0 36px; color: #d2dce3; font-size: 21px; font-weight: 850; font-variant-numeric: tabular-nums; transition: color .2s var(--ease); }
.article-rail-copy { min-width: 0; }
.article-rail-copy strong { display: block; font-size: 14px; line-height: 1.45; }
.article-rail-copy small { display: block; margin-top: 4px; overflow: hidden; color: var(--muted); font-size: 11px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.article-meta { margin-left: auto; flex: 0 0 auto; color: var(--muted); font-size: 10px; text-align: right; }
.article-meta b { display: block; color: var(--ink-2); font-size: 11px; }
.article-rail-row:hover .article-number { color: var(--accent); }
.article-coming { display: flex; align-items: center; gap: 16px; color: #d2dce3; }
.article-coming > span { font-size: 26px; font-weight: 850; }
.article-coming p { margin: 0; }
.article-coming strong { display: block; color: var(--ink); font-size: 15px; }
.article-coming small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }

/* 场景精选 · 每场景一个板块（轻底 + 场景色点缀，克制不花） */
.scene-icon { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px; color: #fff; font-weight: 850; box-shadow: 0 8px 18px rgba(23,49,74,.14); }
.scene-logo { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; overflow: hidden; color: #fff; font-size: 12px; font-weight: 800; box-shadow: 0 3px 8px rgba(23,49,74,.12); }
.scene-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.scene-boards { display: flex; flex-direction: column; gap: 14px; }
.scene-board {
  position: relative; overflow: hidden;
  min-width: 0; padding: 16px 22px 18px;
  border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.scene-board:hover { border-color: #ffc18c; box-shadow: 0 14px 32px rgba(23,49,74,.1); }
.scene-board::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 4px; border-radius: 999px; }
/* 各场景点缀色（左侧色条 + 计数数字） */
.scene-board.b1::before { background: #4a7fb5; }
.scene-board.b2::before { background: #b5566e; }
.scene-board.b3::before { background: #4a8a5f; }
.scene-board.b4::before { background: #7a5fa5; }
.scene-board.b5::before { background: #3a8a95; }
.scene-board.b1 .s5b-stats b { color: #4a7fb5; }
.scene-board.b2 .s5b-stats b { color: #b5566e; }
.scene-board.b3 .s5b-stats b { color: #4a8a5f; }
.scene-board.b4 .s5b-stats b { color: #7a5fa5; }
.scene-board.b5 .s5b-stats b { color: #3a8a95; }
.s5b-head { display: flex; align-items: center; gap: 16px; }
.s5b-icon { flex: 0 0 42px; width: 42px; height: 42px; font-size: 17px; }
.s5b-title { flex: 1 1 auto; min-width: 0; }
.s5b-title > strong { display: block; font-size: 17px; letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s5b-title > small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s5b-stats { flex: 0 0 auto; color: var(--muted); font-size: 12px; }
.s5b-stats b { color: var(--accent-deep); font-size: 15px; font-weight: 850; margin-right: 2px; }
.s5b-more { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: rgba(255,140,50,.1); color: var(--accent-deep); font-size: 15px; transition: transform .25s var(--ease), background .25s var(--ease); }
.scene-board:hover .s5b-more { transform: translateX(3px); background: var(--accent); color: #fff; }
.s5b-cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 26px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line-soft); }
.s5b-label { display: flex; align-items: baseline; gap: 8px; margin: 0 0 12px; font-size: 10px; font-weight: 800; letter-spacing: .16em; color: var(--muted); }
.s5b-label i { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: 0; color: var(--accent-deep); background: rgba(255,140,50,.1); border-radius: 999px; padding: 1px 8px; }
.s5b-tool-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; }
.s5b-tool { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 12px; border-radius: 12px; border: 1px solid transparent; transition: border-color .2s var(--ease), background .2s var(--ease); }
.s5b-tool:hover { border-color: var(--line); background: #fafbfd; }
.s5b-tool .scene-logo { flex: 0 0 34px; width: 34px; height: 34px; margin: 0; }
.s5b-tool-copy { min-width: 0; }
.s5b-tool-copy > strong { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s5b-tool-copy > small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s5b-art-list { display: flex; flex-direction: column; gap: 4px; }
.s5b-art { display: flex; align-items: flex-start; gap: 10px; min-width: 0; padding: 8px 12px; border-radius: 12px; transition: background .2s var(--ease); }
.s5b-art:hover { background: #fafbfd; }
.s5b-art-num { flex: 0 0 auto; margin-top: 1px; font-size: 11px; font-weight: 850; color: var(--accent-deep); }
.s5b-art-copy { min-width: 0; }
.s5b-art-name { display: block; font-size: 13px; font-weight: 650; color: var(--ink-2); line-height: 1.45; }
.s5b-art-sum { display: block; margin-top: 3px; color: var(--muted); font-size: 11.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.s5b-empty { margin: 0; font-size: 12px; color: var(--muted); font-style: italic; }

.latest-zone { margin-top: 46px; padding: 32px 34px 34px; border: 1px solid rgba(255,255,255,.11); border-radius: 16px; background: linear-gradient(120deg, #17314a, #294b62); box-shadow: 0 18px 46px rgba(16,35,51,.16); }
.latest-zone.home-section { padding-top: 32px; }
.latest-zone .home-section-heading h2 { color: #fff; }
.latest-zone .home-section-heading p { color: var(--accent-2); }
.latest-zone .home-section-heading > a { color: rgba(255,255,255,.66); }
.latest-zone .home-section-heading > a:hover { color: var(--accent-2); }
.latest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.latest-card {
  display: flex; align-items: center; gap: 13px; min-width: 0; padding: 14px 15px;
  border: 1px solid rgba(255,255,255,.14); border-radius: 10px; background: rgba(8,25,39,.4); color: #fff;
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.latest-card:hover { transform: translateY(-3px); border-color: rgba(255,176,95,.55); color: #fff; background: rgba(8,25,39,.56); box-shadow: 0 14px 30px rgba(8,25,39,.2); }
.latest-avatar { position: relative; display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 9px; overflow: hidden; color: #fff; font-size: 16px; font-weight: 850; }
.latest-copy { min-width: 0; flex: 1; }
.latest-copy strong { display: block; overflow: hidden; color: #fff; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.latest-copy small { display: block; margin-top: 3px; overflow: hidden; color: rgba(255,255,255,.54); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.latest-tag { align-self: center; flex: 0 0 auto; padding: 3px 9px; border: 1px solid rgba(255,176,95,.24); border-radius: 999px; background: rgba(255,140,50,.14); color: var(--accent-2); font-size: 10px; white-space: nowrap; }

.submit-band { margin-top: 46px; padding: 38px 28px; border-radius: 16px; background: linear-gradient(120deg, #17314a, #294b62); color: #fff; text-align: center; }
.submit-band > p { margin-bottom: 7px; color: var(--accent-2); }
.submit-band h2 { margin: 0; color: #fff; font-size: 24px; }
.submit-band > span { display: block; margin-top: 8px; color: rgba(255,255,255,.64); font-size: 13px; }
.submit-band > a { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 20px; border-radius: 8px; background: var(--accent); color: #1d2b35; font-size: 13px; font-weight: 800; transition: transform .2s var(--ease), background .2s var(--ease); }
.submit-band > a:hover { transform: translateY(-2px); background: var(--accent-2); color: #1d2b35; }
.submit-band > a b { transition: transform .2s var(--ease); }
.submit-band > a:hover b { transform: translateX(3px); }

.tone-1 { background: #4a6fa5; }
.tone-2 { background: #d1495b; }
.tone-3 { background: #2e7d5b; }
.tone-4 { background: #8a5fb0; }
.tone-5 { background: #c77b1e; }
.tone-6 { background: #3a8ea5; }
.tone-7 { background: #a5524a; }
.tone-8 { background: #5b6f8a; }
.tone-9 { background: #7a5fa5; }
.tone-10 { background: #c24a6f; }
.tone-11 { background: #4a8a5f; }
.tone-12 { background: #8a7a3a; }

@media (max-width: 1024px) {
  .home-hero-inner { column-gap: 30px; }
  .home-stats div { padding-inline: 16px; }
  .local-zone { grid-template-columns: 1fr; gap: 28px; }
  .local-tools-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  #topbox, #header.is-scrolled #topbox {
    display: flex; flex-wrap: wrap; gap: 10px; min-height: 68px; padding: 10px 16px;
  }
  .brand { min-width: 0; font-size: 16px; }
  .brand-mark { flex-basis: 38px; width: 38px; height: 38px; }
  .brand-caption { font-size: 9px; }
  #sobox { display: none; }
  .nav-toplink { margin-left: auto; padding: 8px 2px; }
  .submit-link { padding: 8px 11px; }
  #navbox { top: 68px; }
  .scene-pill-row { padding: 9px 16px; }
  .home-wrap { width: min(100% - 32px, 1200px); }
  .home-hero-inner { display: block; padding-top: 38px; padding-bottom: 30px; }
  .home-hero-copy h1 { font-size: 36px; }
  .home-hero-copy > p:last-child { font-size: 14px; }
  .home-stats { margin-top: 24px; }
  .home-stats div { padding: 15px 12px; }
  .home-stats dt { font-size: 23px; }
  .intent-row { margin-top: 22px; }
  .local-zone { padding: 27px 22px; border-radius: 12px; }
  .local-zone h2 { font-size: 25px; }
  .article-duo { grid-template-columns: 1fr; }
  .article-featured, .article-rail { min-width: 0; min-height: 0; }
  .article-featured { padding: 23px; }
  .article-gpus { margin-top: 8px; }
  .scene-board { padding: 15px 18px 16px; }
  .s5b-head { flex-wrap: wrap; gap: 12px; }
  .s5b-stats { order: 3; }
  .s5b-cols { grid-template-columns: 1fr; gap: 18px; }
  .s5b-tool-list { grid-template-columns: 1fr; }
  .latest-zone { padding: 27px 22px; border-radius: 12px; }
  .submit-band { border-radius: 12px; }
}

@media (max-width: 560px) {
  .scene-pill-spacer { display: none; }
  .scene-all-link { padding-left: 8px; }
  .home-wrap { width: calc(100% - 28px); }
  .home-kicker { font-size: 9px; }
  .home-hero-copy h1 { font-size: 32px; }
  .home-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-stats dd { font-size: 9px; }
  .intent-row { flex-wrap: nowrap; margin-inline: -14px; padding: 0 14px 4px; overflow-x: auto; scrollbar-width: none; }
  .intent-row::-webkit-scrollbar { display: none; }
  .intent-pill { flex: 0 0 auto; }
  .home-section { padding-top: 38px; }
  .home-section-heading { align-items: end; gap: 12px; }
  .home-section-heading h2 { font-size: 21px; }
  .home-section-heading h2 small { display: block; margin: 5px 0 0; }
  .local-zone { gap: 24px; padding: 24px 18px; }
  .local-tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .local-rank-lead { min-height: 142px; padding: 18px 16px; }
  .local-rank-avatar { flex-basis: 52px; width: 52px; height: 52px; }
  .local-tools-grid .local-tool-card { min-height: 58px; }
  .article-rail { padding-inline: 16px; }
  .article-meta { display: none; }
  .latest-grid { grid-template-columns: 1fr; }
  .latest-zone { margin-top: 38px; padding: 24px 18px; }
  .latest-card { padding: 12px 13px; }
  .latest-tag { max-width: 88px; overflow: hidden; text-overflow: ellipsis; }
  .submit-band { margin-top: 38px; padding: 31px 18px; }
  .submit-band h2 { font-size: 21px; }
}

@media (max-width: 390px) {
  #topbox, #header.is-scrolled #topbox { padding-inline: 12px; }
  .brand { font-size: 15px; }
  .brand-mark { flex-basis: 36px; width: 36px; height: 36px; }
  .brand-caption { display: none; }
  .nav-toplink { font-size: 12px; }
  .submit-link { font-size: 12px; padding: 7px 9px; }
  .scene-pill-row { padding-inline: 12px; }
  .home-stats div { padding-inline: 8px; }
  .home-stats dt { font-size: 21px; }
  .ranking-category { display: none; }
  .ranking-arrow { margin-left: auto; }
}

/* ============ 页脚（多列 + 友情链接 + 邮箱） ============ */
#footer { padding: 52px 0 30px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px 40px;
  align-items: start;
}
.footer-brand strong { color: #fff; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.footer-brand p { font-size: 13px; margin-top: 10px; color: #9fb6c6; letter-spacing: .02em; line-height: 1.7; }
.footer-mail {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; padding: 9px 15px;
  background: rgba(255,140,50,.12); border: 1px solid rgba(255,140,50,.35);
  color: var(--accent-2); font-size: 13px; font-weight: 600; letter-spacing: .01em;
  border-radius: 10px; transition: background .18s ease, transform .18s ease;
}
.footer-mail:hover { background: rgba(255,140,50,.22); transform: translateY(-2px); color: #fff; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  color: #7f97a9; text-transform: uppercase; margin-bottom: 6px;
}
.footer-col a {
  color: #c4d5e2; font-size: 13px; width: fit-content;
  position: relative; padding-bottom: 2px;
}
.footer-col a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--accent); transition: right .28s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-col a:hover::after { right: 0; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  margin-top: 40px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.footer-bottom .footer-note { flex: 0 1 auto; margin-top: 0; padding-top: 0; border-top: 0; font-size: 12px; color: #93a9bb; line-height: 1.8; }
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 26px 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 4px; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ============ Curated workbench list pages ============ */
.workbench-kicker {
  display: flex; align-items: center; gap: 8px; margin: 0 0 8px;
  color: var(--accent-deep); font-size: 10px; font-weight: 800; letter-spacing: .13em; line-height: 1.4;
}
.workbench-kicker::before { content: ""; width: 22px; height: 2px; flex: 0 0 22px; border-radius: 2px; background: var(--accent); }
.workbench-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px;
  padding: 14px 0 18px; border-bottom: 1px solid var(--line);
}
.workbench-hero-copy { min-width: 0; }
.workbench-hero h1 { margin: 0; color: var(--ink); font-size: clamp(34px, 5vw, 52px); font-weight: 850; line-height: 1.1; letter-spacing: 0; }
.workbench-hero-copy > p:last-child { max-width: 650px; margin: 13px 0 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
.workbench-stats { display: flex; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 12px 28px rgba(23,49,74,.08); }
.workbench-stats div { min-width: 92px; padding: 17px 20px; border-left: 1px solid var(--line); }
.workbench-stats div:first-child { border-left: 0; }
.workbench-stats dt { color: var(--ink); font-size: 26px; font-weight: 850; line-height: 1.2; font-variant-numeric: tabular-nums; }
.workbench-stats dd { margin: 8px 0 0; color: #8093a0; font-size: 10px; white-space: nowrap; }
.workbench-focus {
  position: relative; display: grid; grid-template-columns: minmax(300px, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: center;
  margin-top: 16px; padding: 14px 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 16px;
  background: linear-gradient(120deg, var(--ink), var(--ink-2)); color: #fff; box-shadow: 0 18px 46px rgba(16,35,51,.18);
}
.workbench-focus::before { content: ""; position: absolute; width: 400px; height: 400px; right: -130px; top: -220px; pointer-events: none; background: radial-gradient(circle, rgba(255,140,50,.36), transparent 68%); }
.workbench-focus::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-top: 1px solid rgba(255,176,95,.35); }
.workbench-focus > * { position: relative; z-index: 1; min-width: 0; }
.workbench-focus .focus-map { border-left: 1px solid rgba(255,255,255,.14); padding-left: 20px; }
.focus-map { margin-top: 0; }
.focus-map-label { margin-bottom: 10px; }
.focus-map-grid { gap: 8px; }
.focus-map-tool { gap: 8px; }
.focus-map-tool .tool-avatar { width: 30px; height: 30px; font-size: 13px; }
.focus-map-tool .tool-avatar img { width: 30px; height: 30px; }
.focus-map-tool strong { font-size: 13.5px; }
.focus-entry h2 { margin: 0; color: #fff; font-size: 28px; line-height: 1.25; }
.focus-entry h2 span { color: var(--accent-2); }
.focus-entry > p:not(.dark-kicker) { margin: 11px 0 0; color: rgba(255,255,255,.66); font-size: 13px; line-height: 1.8; }
.focus-tool { display: flex; align-items: center; gap: 14px; margin-top: 0; padding: 14px 16px; border: 1px solid rgba(255,176,95,.32); border-radius: 12px; background: rgba(8,25,39,.4); color: #fff; transition: transform .22s var(--ease), background .22s, border-color .22s; }
.focus-tool:hover { transform: translateY(-3px); border-color: rgba(255,176,95,.65); background: rgba(8,25,39,.58); color: #fff; }
.focus-tool .tool-avatar { flex-basis: 54px; width: 54px; height: 54px; border-radius: 12px; color: #fff; }
.focus-tool-copy { min-width: 0; }
.focus-tool-copy small { display: block; color: var(--accent-2); font-size: 10px; font-weight: 750; }
.focus-tool-copy strong { display: block; margin-top: 3px; color: #fff; font-size: 19px; overflow-wrap: anywhere; }
.focus-tool-copy em { display: -webkit-box; margin-top: 4px; overflow: hidden; color: rgba(255,255,255,.58); font-size: 11px; font-style: normal; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.focus-map { display: flex; flex-direction: column; gap: 11px; }
.focus-map-label { margin: 0; color: rgba(255,255,255,.54); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.focus-map-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.focus-map-tool { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 11px; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; background: rgba(8,25,39,.36); color: #fff; transition: transform .22s var(--ease), background .22s, border-color .22s; }
.focus-map-tool:hover { transform: translateY(-2px); border-color: rgba(255,176,95,.55); background: rgba(8,25,39,.56); color: #fff; }
.focus-map-tool .tool-avatar { flex-basis: 36px; width: 36px; height: 36px; border-radius: 9px; color: #fff; font-size: 14px; }
.focus-map-tool > span:last-child { min-width: 0; }
.focus-map-tool strong, .focus-map-tool small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.focus-map-tool strong { color: #fff; font-size: 12px; }
.focus-map-tool small { margin-top: 3px; color: rgba(255,255,255,.48); font-size: 10px; }
.workbench-directory { padding-top: 10px; }
.workbench-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.workbench-heading h2 { margin: 0; color: var(--ink); font-size: 24px; line-height: 1.25; }
.workbench-heading > p { margin: 0; color: #8295a3; font-size: 12px; }
.workflow-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.workflow-tab { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #587082; font-size: 12px; font-weight: 700; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s; }
.workflow-tab span { margin-left: 3px; color: inherit; opacity: .72; }
.workflow-tab:hover, .workflow-tab.active { transform: translateY(-2px); border-color: var(--ink); background: var(--ink); color: #fff; }
.workbench-rows, .search-result-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.workbench-row, .search-tool-row {
  display: grid; grid-template-columns: 36px 42px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-width: 0;
  padding: 14px 15px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: inherit; box-shadow: 0 2px 10px rgba(16,35,51,.035);
  transition: transform .22s var(--ease), border-color .22s, box-shadow .22s;
}
.workbench-row.tool-card, .search-tool-row.tool-card { flex-direction: initial; }
.workbench-row.tool-card::before, .search-tool-row.tool-card::before { display: none; }
.workbench-row:hover, .search-tool-row:hover { transform: translateY(-3px); border-color: #ffc18c; color: inherit; box-shadow: 0 13px 28px rgba(23,49,74,.09); }
.workbench-number { color: #c0ccd4; font-size: 18px; font-weight: 850; font-variant-numeric: tabular-nums; }
.workbench-row .tool-avatar, .search-tool-row .tool-avatar { color: #fff; box-shadow: none; }
.workbench-row-copy { min-width: 0; }
.workbench-row-copy strong { display: block; color: var(--ink); font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.workbench-row-copy > span { display: -webkit-box; margin-top: 4px; overflow: hidden; color: #6d8190; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.workflow-tags { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 5px; max-width: 148px; }
.workflow-tags > span { padding: 4px 8px; border-radius: 999px; background: #f1f5f7; color: #627b8c; font-size: 10px; line-height: 1.3; white-space: nowrap; }
.workbench-guide { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; margin: 42px 0 70px; }
.workbench-guide-main, .workbench-guide-side { padding: 25px 27px; border-radius: 8px; }
.workbench-guide-main { background: linear-gradient(145deg, var(--ink), var(--ink-2)); color: #fff; }
.workbench-guide-side { border: 1px solid var(--line); background: #fff; }
.workbench-guide h2 { margin: 0; font-size: 19px; }
.workbench-guide-main h2 { color: #fff; }
.workbench-guide p { margin: 9px 0 0; font-size: 13px; line-height: 1.75; }
.workbench-guide-main > p:not(.dark-kicker) { color: rgba(255,255,255,.68); }
.workbench-guide-main > a { display: inline-flex; margin-top: 17px; color: var(--accent-2); font-size: 12px; font-weight: 750; }
.workbench-guide-side h2 { color: var(--ink); font-size: 16px; }
.workbench-guide-side > p { color: var(--muted); font-size: 12px; }
.workbench-steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin-top: 14px; }
.workbench-steps > span { padding: 10px; border-top: 2px solid var(--accent); background: #f7f9fa; }
.workbench-steps b, .workbench-steps small { display: block; }
.workbench-steps b { color: var(--ink); font-size: 11px; }
.workbench-steps small { margin-top: 3px; color: #78909f; font-size: 10px; }

.listing-dark-head {
  position: relative; display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-top: 28px; padding: 34px 38px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: linear-gradient(120deg, var(--ink), var(--ink-2)); color: #fff; box-shadow: 0 18px 46px rgba(16,35,51,.18);
}
.listing-dark-head::before { content: ""; position: absolute; width: 390px; height: 390px; right: -120px; top: -240px; background: radial-gradient(circle, rgba(255,140,50,.36), transparent 68%); }
.listing-dark-head > * { position: relative; z-index: 1; }
.listing-dark-head h1 { margin: 0; color: #fff; font-size: 38px; line-height: 1.15; letter-spacing: 0; }
.listing-dark-head > div > p:last-child { max-width: 610px; margin: 10px 0 0; color: rgba(255,255,255,.67); font-size: 14px; }
.listing-dark-head dl { display: flex; flex: 0 0 auto; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; background: rgba(8,25,39,.3); }
.listing-dark-head dl div { min-width: 96px; padding: 15px 18px; border-left: 1px solid rgba(255,255,255,.14); }
.listing-dark-head dl div:first-child { border-left: 0; }
.listing-dark-head dt { color: #fff; font-size: 25px; font-weight: 850; line-height: 1.2; }
.listing-dark-head dd { margin: 7px 0 0; color: rgba(255,255,255,.55); font-size: 10px; }
.listing-filters { padding-top: 22px; padding-bottom: 0; }
.article-workbench { display: flex; flex-direction: column; gap: 14px; margin: 25px 0 70px; }
.article-lead { display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 27px; border-radius: 8px; background: linear-gradient(145deg, var(--ink), var(--ink-2)); color: #fff; }
.article-lead .article-board { margin-top: 8px; width: fit-content; }
.article-lead h2 { margin: 17px 0 0; font-size: 23px; line-height: 1.45; }
.article-lead h2 a { color: #fff; }
.article-lead > p:not(.dark-kicker) { margin: 11px 0 0; color: rgba(255,255,255,.67); font-size: 13px; line-height: 1.75; }
.article-lead > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 22px; }
.article-lead time { color: rgba(255,255,255,.48); font-size: 11px; }
.article-lead .article-read { margin: 0; }
.article-workbench-rows { min-width: 0; padding: 21px 23px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.article-workbench-row { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 13px; min-width: 0; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.article-workbench-row:last-child { border-bottom: 0; }
.article-workbench-row > span:nth-child(2) { min-width: 0; }
.article-workbench-row strong { display: block; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.article-workbench-row small { display: block; margin-top: 4px; overflow: hidden; color: var(--muted); font-size: 11px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.article-workbench-row time { color: var(--muted); font-size: 10px; white-space: nowrap; }
.article-workbench-row:hover .workbench-number { color: var(--accent); }
.listing-empty { margin: 30px 0 70px; padding: 50px 24px; border: 1px dashed var(--line); border-radius: 8px; background: #fff; text-align: center; }
.listing-empty .workbench-kicker { justify-content: center; }
.listing-empty h2 { margin: 0; color: var(--ink); font-size: 22px; }
.listing-empty > p:not(.workbench-kicker) { margin: 8px 0 20px; color: var(--muted); }

.search-dark-head { align-items: center; }
.search-head-mark { display: grid; place-items: center; width: 84px; height: 84px; flex: 0 0 84px; border: 1px solid rgba(255,176,95,.32); border-radius: 50%; background: rgba(8,25,39,.3); color: var(--accent-2); font-size: 42px; line-height: 1; }
.search-workbench { margin-top: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.search-workbench .filter-row { margin-top: 17px; }
.search-results-section { margin: 34px 0 70px; }
.search-results-section .workbench-heading { margin-bottom: 0; }
.search-results-section .search-status { margin: 0; text-align: right; }
.search-result-rows:empty { display: block; min-height: 150px; margin-top: 16px; border: 1px dashed var(--line); border-radius: 8px; background: #fff; }

@media (max-width: 900px) {
  .workbench-hero { grid-template-columns: 1fr; }
  .workbench-stats { justify-self: start; }
  .workbench-focus, .article-workbench { grid-template-columns: 1fr; }
  .workbench-guide { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .workbench-rows, .search-result-rows { grid-template-columns: 1fr; }
  .listing-dark-head { align-items: flex-start; flex-direction: column; padding: 27px 22px; border-radius: 12px; }
  .listing-dark-head dl { width: 100%; }
  .listing-dark-head dl div { flex: 1; }
  .search-dark-head { flex-direction: row; align-items: center; }
  .article-workbench { margin-bottom: 55px; }
}
@media (max-width: 480px) {
  .breadcrumb { padding-top: 20px; }
  .workbench-hero { padding-top: 18px; }
  .workbench-hero h1 { font-size: 34px; }
  .workbench-stats { width: 100%; }
  .workbench-stats div { flex: 1; min-width: 0; padding: 14px 8px; }
  .workbench-stats dt { font-size: 22px; }
  .workbench-stats dd { font-size: 9px; }
  .workbench-focus { grid-template-columns: 1fr; gap: 24px; padding: 24px 18px; border-radius: 12px; }
  .focus-entry h2 { font-size: 24px; }
  .focus-map-grid { grid-template-columns: 1fr; }
  .workflow-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .workflow-tabs::-webkit-scrollbar { display: none; }
  .workflow-tab { flex: 0 0 auto; }
  .workbench-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .workbench-row, .search-tool-row { grid-template-columns: 26px 38px minmax(0, 1fr); gap: 9px; padding: 12px; }
  .workbench-row .tool-avatar, .search-tool-row .tool-avatar { width: 38px; height: 38px; flex-basis: 38px; font-size: 15px; }
  .workbench-row-copy strong { font-size: 14px; }
  .workbench-row-copy > span { font-size: 11px; }
  .workflow-tags { grid-column: 3; justify-content: flex-start; max-width: 100%; margin-top: -3px; }
  .workbench-guide { margin-top: 34px; }
  .workbench-guide-main, .workbench-guide-side { padding: 21px 18px; }
  .workbench-steps { grid-template-columns: 1fr; }
  .listing-dark-head { margin-top: 20px; padding: 24px 18px; }
  .listing-dark-head h1 { font-size: 32px; }
  .search-head-mark { width: 58px; height: 58px; flex-basis: 58px; font-size: 30px; }
  .search-workbench { padding: 16px; }
  .query-row { gap: 8px; }
  .query-row .button { padding-inline: 16px; }
  .article-lead { min-height: 310px; padding: 22px 18px; }
  .article-lead h2 { font-size: 20px; }
  .article-workbench-rows { padding: 18px; }
  .article-workbench-row { grid-template-columns: 30px minmax(0,1fr); gap: 9px; }
  .article-workbench-row time { grid-column: 2; }
  .article-workbench-row small { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .gpu-filters { grid-template-columns: 1fr; }
  .search-results-section .search-status { text-align: left; }
}

/* ===== v4 文章为纲 ===== */
.home-sections { padding-top: 12px; }
.home-section { padding-top: 52px; }
.home-tutorials { padding-top: 42px; }
.home-article-list { border-top: 2px solid var(--ink); }
.home-article-item {
  display: flex; align-items: center; gap: 24px; min-width: 0; padding: 21px 4px;
  border-bottom: 1px solid var(--line); color: var(--ink);
  transition: padding .2s var(--ease), background .2s var(--ease);
}
.home-article-item:hover { padding-inline: 12px; background: rgba(255,255,255,.62); color: var(--ink); }
.home-article-copy { flex: 1; min-width: 0; }
.home-article-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; color: var(--muted); font-size: 11px; }
.home-article-meta > span { padding: 2px 8px; border-radius: 999px; background: #fff1e4; color: var(--accent-deep); font-weight: 700; }
.home-article-item strong { display: block; font-size: 18px; line-height: 1.45; }
.home-article-item small { display: block; margin-top: 6px; overflow: hidden; color: var(--muted); font-size: 13px; line-height: 1.65; text-overflow: ellipsis; white-space: nowrap; }
.home-article-arrow, .scene-row-arrow { flex: 0 0 auto; color: var(--accent-deep); font-size: 18px; transition: transform .2s var(--ease); }
.home-article-item:hover .home-article-arrow, .scene-row:hover .scene-row-arrow { transform: translateX(4px); }
.scene-rows { display: grid; border-top: 1px solid var(--line); }
.scene-row { display: grid; grid-template-columns: 40px minmax(0,1fr) auto 24px; align-items: center; gap: 16px; min-width: 0; padding: 16px 4px; border-bottom: 1px solid var(--line); color: var(--ink); }
.scene-row:hover { color: var(--ink); background: rgba(255,255,255,.62); }
.scene-row .scene-icon { width: 40px; height: 40px; border-radius: 8px; box-shadow: none; }
.scene-row-copy { min-width: 0; }
.scene-row-copy strong { display: block; font-size: 15px; }
.scene-row-copy small { display: block; margin-top: 3px; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.scene-row-count { color: var(--muted); font-size: 12px; white-space: nowrap; }
.scene-row-count b { color: var(--ink); font-size: 15px; }
.article-parts { max-width: 900px; margin-top: 48px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: #f6f8f9; }
.article-parts-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.article-parts-heading p { margin: 0; color: var(--accent-deep); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.article-parts-heading h2 { margin: 0; color: var(--ink); font-size: 21px; }
.article-parts-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px 24px; }
.article-part { display: grid; grid-template-columns: 40px minmax(0,1fr) 18px; align-items: center; gap: 12px; min-width: 0; padding: 16px 4px; border-bottom: 1px solid var(--line); color: var(--ink); }
.article-part:nth-last-child(-n+2) { border-bottom: 0; }
.article-part .tool-avatar { width: 40px; height: 40px; border-radius: 8px; }
.article-part > span:nth-child(2) { min-width: 0; }
.article-part strong { display: block; font-size: 14px; }
.article-part small { display: block; margin-top: 3px; overflow: hidden; color: var(--muted); font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
.article-part > b { color: var(--accent-deep); font-size: 15px; transition: transform .2s var(--ease); }
.article-part:hover > b { transform: translateX(3px); }

@media (max-width: 760px) {
  .home-section, .home-tutorials { padding-top: 38px; }
  .home-article-item { gap: 12px; padding: 17px 2px; }
  .home-article-item:hover { padding-inline: 6px; }
  .home-article-item strong { font-size: 16px; }
  .home-article-item small { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .home-article-arrow { display: none; }
  .scene-row { grid-template-columns: 38px minmax(0,1fr) auto; gap: 12px; }
  .scene-row .scene-icon { width: 38px; height: 38px; }
  .scene-row-arrow { display: none; }
  .scene-row-copy small { white-space: normal; line-height: 1.45; }
  .article-parts { margin-top: 38px; padding: 18px; }
  .article-parts-heading { display: block; }
  .article-parts-heading h2 { margin-top: 5px; font-size: 19px; }
  .article-parts-list { grid-template-columns: 1fr; }
  .article-part:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .article-part:last-child { border-bottom: 0; }
}
