/* 超哥用AI · 前端样式 V2
   设计约束（对齐 PRD 第十一章）：专业克制、留白充足、1px 边框 + 无阴影、
   禁渐变/发光/大色块/装饰性动效，强调色仅用于主按钮、关键标签、链接 hover、评分。
   Mobile First：正文 ≥15px、点击区 ≥44px。 */

:root {
  --brand: #A72A2F;
  --brand-light: #C94A4F;
  --brand-dark: #7E1F23;
  --brand-bg: #FDF2F2;
  --text: #1A1A1A;
  --text-2: #5F5E5A;
  --text-3: #919086;
  --line: #E8E6E1;
  --line-2: #D3D1C7;
  --bg: #FFFFFF;
  --bg-2: #FAFAF9;
  --bg-3: #F1EFE8;
  --radius: 10px;
  --radius-lg: 14px;
  --max: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; font-size: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.hd {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.hd-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 650; letter-spacing: -.2px; flex: none; }
.logo-mark {
  width: 28px; height: 28px; border-radius: 7px; background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; line-height: 1;
}
.logo b { color: var(--text); }
.logo .domain { font-size: 12px; color: var(--text-3); font-weight: 400; letter-spacing: .2px; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a {
  font-size: 14px; color: var(--text-2); padding: 8px 12px;
  border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.nav a:hover { color: var(--text); }
.nav a.on { color: var(--brand); border-color: var(--brand); font-weight: 600; }
.burger {
  display: none; margin-left: auto; padding: 6px 10px; color: var(--text-2);
  font-size: 20px; line-height: 1; min-height: 44px; min-width: 44px;
}

/* ---------- Eyebrow / 栏目标号 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 1.2px;
  color: var(--brand); text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--brand); }

/* ---------- Hero ---------- */
.hero { border-bottom: 1px solid var(--line); background: var(--bg); }
.hero-in {
  display: grid; grid-template-columns: 1.12fr .88fr; gap: 56px; align-items: center;
  padding: 76px 24px 72px;
}
.hero h1 {
  font-size: 52px; font-weight: 700; letter-spacing: -2px; line-height: 1.15;
  margin: 18px 0 16px;
}
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lede { font-size: 17px; color: var(--text-2); line-height: 1.8; max-width: 520px; }
.hero .lede b { color: var(--text); font-weight: 600; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.hero-meta {
  margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--text-3); display: flex; gap: 18px; flex-wrap: wrap;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta i { font-style: normal; color: var(--brand); }

/* 站点概览卡（数据动态读取） */
.overview { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-2); padding: 22px 24px; }
.overview-hd { display: flex; align-items: baseline; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.overview-hd h2 { font-size: 14px; font-weight: 600; }
.overview-hd span { font-size: 12px; color: var(--text-3); margin-left: auto; }
.ov-stat { display: flex; align-items: baseline; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ov-stat:last-of-type { border-bottom: none; }
.ov-stat b { font-size: 30px; font-weight: 650; letter-spacing: -1px; color: var(--brand); font-variant-numeric: tabular-nums; line-height: 1; min-width: 52px; }
.ov-stat .lb { font-size: 14px; color: var(--text); font-weight: 500; }
.ov-stat .sub { font-size: 12px; color: var(--text-3); margin-left: auto; }
.overview-ft { font-size: 12px; color: var(--text-3); padding-top: 14px; border-top: 1px solid var(--line); line-height: 1.7; }

/* ---------- Section ---------- */
.sec { padding: 60px 0; border-bottom: 1px solid var(--line); }
.sec:last-of-type { border-bottom: none; }
.sec-tint { background: var(--bg-2); }
.sec-hd { display: flex; align-items: baseline; gap: 14px; margin-bottom: 26px; flex-wrap: wrap; }
.sec-no {
  font-size: 12px; font-weight: 600; color: var(--brand); letter-spacing: .5px;
  font-variant-numeric: tabular-nums; padding-right: 14px; border-right: 1px solid var(--line-2);
}
.sec-hd h2 { font-size: 23px; font-weight: 650; letter-spacing: -.4px; }
.sec-hd .sub { font-size: 13px; color: var(--text-3); }
.sec-hd .more { margin-left: auto; font-size: 13px; color: var(--brand); font-weight: 500; }
.sec-hd .more:hover { color: var(--brand-dark); }

/* ---------- 分类导航 ---------- */
.catnav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cat-col { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); padding: 18px; }
.cat-col-hd { display: flex; align-items: center; gap: 9px; padding-bottom: 14px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.cat-col-hd .ic {
  width: 26px; height: 26px; border-radius: 6px; display: flex; align-items: center; justify-content: center;
  background: var(--brand-bg); color: var(--brand); font-size: 13px; font-weight: 700; flex: none;
}
.cat-col-hd h3 { font-size: 15px; font-weight: 600; }
.cat-col-hd a { margin-left: auto; font-size: 12px; color: var(--text-3); }
.cat-col-hd a:hover { color: var(--brand); }
.cat-links { display: flex; flex-wrap: wrap; gap: 7px; }
.cat-links a {
  font-size: 13px; color: var(--text-2); border: 1px solid var(--line);
  border-radius: 6px; padding: 5px 10px; background: var(--bg); transition: .15s;
}
.cat-links a:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-bg); }
/* 提示词栏按大类分组 */
.cat-group + .cat-group { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.cat-group-hd { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.cat-group-hd a { font-size: 13px; font-weight: 600; color: var(--text); min-height: 24px; display: inline-flex; align-items: center; }
.cat-group-hd a:hover { color: var(--brand); }
.cat-group-hd span { margin-left: auto; font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }

/* ---------- Grid ---------- */
.grid { display: grid; gap: 14px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- Card ---------- */
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 17px; background: var(--bg); transition: border-color .15s, background .15s;
  display: block; position: relative;
}
a.card:hover { border-color: var(--brand); background: var(--bg-2); }
.card-top { display: flex; align-items: center; gap: 11px; margin-bottom: 11px; }
.logo-box {
  width: 38px; height: 38px; border-radius: 9px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; color: #fff; letter-spacing: -.3px;
}
.card-name { font-size: 15px; font-weight: 600; line-height: 1.35; }
.card-meta { font-size: 12px; color: var(--text-3); margin-top: 3px; }
.card-desc {
  font-size: 14px; color: var(--text-2); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-ft { display: flex; align-items: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.card-ft .ar { margin-left: auto; color: var(--text-3); font-size: 13px; }
a.card:hover .card-ft .ar { color: var(--brand); }

/* ---------- Tag / Score ---------- */
.tag {
  font-size: 11px; padding: 2px 8px; border-radius: 5px;
  background: var(--bg-3); color: var(--text-2); white-space: nowrap;
}
.tag.hot { background: var(--brand-bg); color: var(--brand); }
.score { font-size: 13px; font-weight: 650; color: var(--brand); font-variant-numeric: tabular-nums; }
.stars { font-size: 12px; color: var(--brand); letter-spacing: 1px; }

/* ---------- Scenario quick entry ---------- */
.sc-quick {
  display: flex; align-items: center; gap: 13px; min-height: 56px;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 13px 16px; background: var(--bg); transition: border-color .15s, background .15s;
}
a.sc-quick:hover { border-color: var(--brand); background: var(--bg-2); }
.sc-quick .idx { font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.sc-quick .tt { font-size: 15px; font-weight: 500; }
.sc-quick .ar { margin-left: auto; color: var(--text-3); }
a.sc-quick:hover .ar { color: var(--brand); }

/* ---------- 案例折叠卡 ---------- */
.case-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); overflow: hidden; }
.case-card + .case-card { margin-top: -1px; }
.case-card summary {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer;
  list-style: none; min-height: 56px; transition: background .15s;
}
.case-card summary::-webkit-details-marker { display: none; }
.case-card summary:hover { background: var(--bg-2); }
.case-card .c-no { font-size: 12px; color: var(--brand); font-weight: 600; font-variant-numeric: tabular-nums; }
.case-card .c-tt { font-size: 15px; font-weight: 600; }
.case-card .c-tg { font-size: 11px; color: var(--text-3); border: 1px solid var(--line); border-radius: 5px; padding: 1px 7px; }
.case-card .c-ar { margin-left: auto; color: var(--text-3); font-size: 13px; transition: transform .15s; }
.case-card[open] .c-ar { transform: rotate(90deg); color: var(--brand); }
.case-card .c-body { padding: 0 18px 18px 46px; font-size: 14px; color: var(--text-2); line-height: 1.8; border-top: 1px solid var(--line); padding-top: 14px; }
.case-card[open] { border-color: var(--line-2); }

/* ---------- Prompt block ---------- */
.prompt-box { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); overflow: hidden; }
.prompt-hd { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg); }
.prompt-hd .tt { font-size: 13px; font-weight: 500; }
.copy-btn {
  margin-left: auto; font-size: 12px; color: var(--brand);
  border: 1px solid var(--line-2); border-radius: 6px; padding: 5px 12px; background: var(--bg);
  transition: .15s; min-height: 32px;
}
.copy-btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.copy-btn.done { background: var(--brand); color: #fff; border-color: var(--brand); }
.prompt-body {
  padding: 14px; font-size: 14px; line-height: 1.8; color: var(--text-2);
  white-space: pre-wrap; word-break: break-word; max-height: 220px; overflow: hidden;
  font-family: -apple-system, "PingFang SC", sans-serif;
}
.prompt-body.open { max-height: none; }
.prompt-toggle { font-size: 12px; color: var(--text-3); padding: 8px 14px; border-top: 1px solid var(--line); background: var(--bg); text-align: center; }
.prompt-toggle:hover { color: var(--brand); }

/* ---------- Detail page ---------- */
.crumb { font-size: 13px; color: var(--text-3); padding: 22px 0 0; }
.crumb a:hover { color: var(--brand); }
.dt-hd { display: flex; gap: 18px; padding: 22px 0 28px; border-bottom: 1px solid var(--line); }
.dt-hd .logo-box { width: 60px; height: 60px; border-radius: 14px; font-size: 20px; }
.dt-hd h1 { font-size: 30px; font-weight: 700; letter-spacing: -.6px; margin-bottom: 7px; line-height: 1.3; }
.dt-hd .tagline { font-size: 16px; color: var(--text-2); margin-bottom: 14px; }
.dt-body { display: grid; grid-template-columns: 1fr 300px; gap: 44px; padding: 34px 0 60px; }
@media (max-width: 860px) { .dt-body { grid-template-columns: 1fr; gap: 28px; } }

.blk { margin-bottom: 34px; }
.blk h3 { font-size: 16px; font-weight: 650; margin-bottom: 14px; padding-left: 11px; border-left: 3px solid var(--brand); }
.blk h4 { font-size: 15px; font-weight: 600; color: var(--text); margin: 22px 0 8px; letter-spacing: -.1px; }
.blk h4:first-child { margin-top: 0; }
.blk p { font-size: 15px; color: var(--text-2); line-height: 1.85; margin-bottom: 10px; }
.blk p:last-child { margin-bottom: 0; }
.blk table { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin: 12px 0; }
.blk th { font-size: 14px; padding: 9px 12px; }
.blk td { font-size: 14px; padding: 9px 12px; }
.blk strong { color: var(--text); font-weight: 600; }
.blk ul li { font-size: 15px; color: var(--text-2); line-height: 1.85; padding-left: 17px; position: relative; margin-bottom: 7px; }
.blk ul li::before { content: ''; position: absolute; left: 0; top: 12px; width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); }
.blk ul.check li::before { background: var(--brand); }

.quote { border-left: 3px solid var(--brand); background: var(--brand-bg); padding: 17px 19px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 15px; line-height: 1.85; color: var(--text); }
.quote .lb { display: block; font-size: 12px; color: var(--brand); font-weight: 600; margin-bottom: 6px; }

.side { position: sticky; top: 84px; align-self: start; }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 17px; margin-bottom: 14px; }
.side-box h4 { font-size: 13px; font-weight: 600; margin-bottom: 11px; color: var(--text-2); }
.side-row { display: flex; justify-content: space-between; font-size: 13px; padding: 7px 0; color: var(--text-2); }
.side-row + .side-row { border-top: 1px dashed var(--line); }
.side-row b { font-weight: 500; color: var(--text); }
.side-link { display: block; font-size: 13px; padding: 8px 0; border-bottom: 1px dashed var(--line); color: var(--text-2); }
.side-link:last-child { border-bottom: none; }
.side-link:hover { color: var(--brand); }
.btn-primary { display: block; text-align: center; background: var(--brand); color: #fff; border-radius: 8px; padding: 11px; font-size: 14px; font-weight: 600; transition: background .15s; min-height: 44px; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { display: block; text-align: center; border: 1px solid var(--line-2); color: var(--text-2); border-radius: 8px; padding: 10px; font-size: 13px; margin-top: 8px; transition: .15s; min-height: 42px; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- 上一条 / 下一条 ---------- */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 0 56px; }
.pager a { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; transition: .15s; }
.pager a:hover { border-color: var(--brand); background: var(--bg-2); }
.pager .k { font-size: 12px; color: var(--text-3); display: block; margin-bottom: 4px; }
.pager .t { font-size: 14px; font-weight: 600; }
.pager .next { text-align: right; }
.pager .ph { border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- Steps ---------- */
.steps { display: flex; flex-direction: column; gap: 0; }
.step { display: flex; gap: 14px; position: relative; padding-bottom: 18px; }
.step:last-child { padding-bottom: 0; }
.step-n { width: 26px; height: 26px; border-radius: 50%; flex: none; background: var(--brand-bg); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; z-index: 1; }
.step::before { content: ''; position: absolute; left: 13px; top: 26px; bottom: 0; width: 1px; background: var(--line); }
.step:last-child::before { display: none; }
.step-c { flex: 1; padding-top: 2px; }
.step-c .nm { font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.step-c .nm a:hover { color: var(--brand); }
.step-c .nt { font-size: 14px; color: var(--text-2); line-height: 1.75; }

/* ---------- Table ---------- */
.tbl-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { background: var(--bg-2); text-align: left; font-weight: 500; color: var(--text-2); padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 13px 14px; border-bottom: 1px solid var(--line); color: var(--text-2); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg-2); }
td.num { font-variant-numeric: tabular-nums; text-align: right; }
td .nm { font-weight: 600; color: var(--text); }
td .cm { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.tbl-note { font-size: 12px; color: var(--text-3); margin-top: 11px; }

/* ---------- 内容提示词示例图 ---------- */
.card-img {
  margin: -17px -17px 14px; border-bottom: 1px solid var(--line);
  height: 148px; background: var(--bg-2); overflow: hidden;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prompt-figure {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-2); margin: 0 0 24px; overflow: hidden;
}
.prompt-figure img { width: 100%; display: block; }
.prompt-figure figcaption {
  border-top: 1px solid var(--line); padding: 10px 14px;
  font-size: 12px; color: var(--text-3);
}

/* ---------- 客户案例 ---------- */
.client-strip { display: flex; flex-wrap: wrap; gap: 8px; }
.client-chip {
  font-size: 13px; color: var(--text-2); border: 1px solid var(--line);
  border-radius: 6px; padding: 6px 12px; background: var(--bg);
}
.strip-more { margin-top: 14px; font-size: 13px; }
.strip-more a { color: var(--brand); }
.client-sum { font-size: 13px; color: var(--text-3); margin-bottom: 24px; }
.client-group { margin-bottom: 34px; }
.cg-hd {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--line);
}
.cg-no { font-size: 12px; color: var(--brand); font-weight: 600; font-variant-numeric: tabular-nums; }
.cg-hd h2 { font-size: 18px; font-weight: 600; }
.cg-cnt { margin-left: auto; font-size: 12px; color: var(--text-3); }
.client-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.client-card {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; background: var(--bg);
}
.cc-mark {
  width: 38px; height: 38px; flex: none; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-bg); color: var(--brand); font-size: 17px; font-weight: 600;
}
.cc-name { font-size: 15px; font-weight: 600; color: var(--text); }
.cc-meta { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.client-note {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-2); padding: 14px 16px;
  font-size: 13px; color: var(--text-2); line-height: 1.7;
}
.client-cta { margin-top: 22px; }

/* ---------- 提示词大类（一级筛选） ---------- */
.kinds {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 14px 16px; margin-bottom: 18px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2);
}
.kind-label { font-size: 12px; color: var(--text-3); margin-right: 4px; }
.kind-tab {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; padding: 7px 14px; min-height: 40px;
  border: 1px solid var(--line); border-radius: 7px;
  background: var(--bg); color: var(--text-2); transition: .15s;
}
.kind-tab:hover { border-color: var(--line-2); }
.kind-tab.on { border-color: var(--brand); color: var(--brand); background: var(--brand-bg); font-weight: 600; }
.kind-tab i {
  font-style: normal; font-size: 12px; color: var(--text-3);
  font-variant-numeric: tabular-nums; border-left: 1px solid var(--line); padding-left: 8px;
}
.kind-tab.on i { color: var(--brand); border-color: rgba(167, 42, 47, .28); }
.kind-desc { flex: 1 1 100%; font-size: 13px; color: var(--text-3); margin: 4px 0 0; line-height: 1.6; }
/* 生图 / 生视频独立页入口：与大类 tab 并排，但用虚线框区分「去另一个页面」 */
.kind-more {
  display: inline-flex; align-items: center; min-height: 40px;
  font-size: 13px; color: var(--brand); border: 1px dashed var(--line-2);
  border-radius: 7px; padding: 7px 14px; background: var(--bg);
}
.kind-more:hover { border-color: var(--brand); background: var(--brand-bg); }
.kind-badge {
  display: inline-block; font-size: 11px; line-height: 1.5;
  padding: 1px 6px; margin-right: 6px; border-radius: 4px;
  border: 1px solid var(--line-2); color: var(--text-2); background: var(--bg-2);
}
/* 内容 / 技能用低饱和辅助色区分，品牌红仍只用于主操作与选中态 */
.kind-badge.k-content, .tag.k-content { color: #8A5A2B; border-color: #D9B98C; background: #FAF3E7; }
.kind-badge.k-skill, .tag.k-skill { color: #1F5E55; border-color: #A9CFC5; background: #EDF6F3; }
.k-tag { font-size: 12px; }

/* ---------- Filter ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filter { font-size: 14px; padding: 7px 15px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-2); background: var(--bg); transition: .15s; min-height: 40px; }
.filter:hover { border-color: var(--line-2); }
.filter.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 500; }
.filter i { font-style: normal; font-size: 12px; margin-left: 7px; opacity: .7; font-variant-numeric: tabular-nums; }
.list-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.count { font-size: 13px; color: var(--text-3); }
.sort-sel { margin-left: auto; font-size: 13px; color: var(--text-2); border: 1px solid var(--line); border-radius: 7px; padding: 7px 10px; background: var(--bg); min-height: 40px; }

/* ---------- Page head ---------- */
.pg-hd { padding: 48px 0 28px; border-bottom: 1px solid var(--line); }
.pg-hd h1 { font-size: 34px; font-weight: 700; letter-spacing: -.7px; margin: 12px 0 8px; }
.pg-hd p { font-size: 16px; color: var(--text-2); }
.pg-main { padding: 28px 0 68px; }

/* ---------- CTA ---------- */
.cta { background: var(--bg-2); border-top: 1px solid var(--line); padding: 58px 0; text-align: center; }
.cta h2 { font-size: 25px; font-weight: 650; margin-bottom: 10px; letter-spacing: -.4px; }
.cta p { font-size: 15px; color: var(--text-2); margin-bottom: 22px; }
.cta-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.cta-btns .btn-primary { display: inline-block; padding: 12px 28px; min-height: 46px; }
.btn-line { display: inline-block; padding: 12px 28px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 14px; color: var(--text-2); background: var(--bg); min-height: 46px; transition: .15s; }
.btn-line:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Footer ---------- */
.ft { border-top: 1px solid var(--line); background: var(--bg); }
.ft-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding: 42px 0 34px; }
.ft-brand .logo { margin-bottom: 12px; }
.ft-brand p { font-size: 13px; color: var(--text-3); line-height: 1.8; max-width: 300px; }
.ft-col h4 { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 12px; }
.ft-col a { display: block; font-size: 13px; color: var(--text-3); padding: 4px 0; }
.ft-col a:hover { color: var(--brand); }
.ft-legal {
  border-top: 1px solid var(--line); padding: 18px 0 24px;
  display: flex; gap: 10px 20px; flex-wrap: wrap; align-items: center;
  font-size: 12px; color: var(--text-3);
}
.ft-legal a { color: var(--text-3); }
.ft-legal a:hover { color: var(--brand); }
.ft-legal .icp { display: inline-flex; align-items: center; gap: 6px; }
.ft-legal .r { margin-left: auto; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%) translateY(8px); background: var(--text); color: #fff; font-size: 13px; padding: 10px 18px; border-radius: 8px; opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; z-index: 100; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--line-2); background: var(--bg); color: var(--text-2);
  font-size: 17px; display: none; align-items: center; justify-content: center;
  transition: border-color .15s, color .15s;
}
.to-top.show { display: flex; }
.to-top:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Empty ---------- */
.empty { text-align: center; padding: 60px 20px; color: var(--text-3); font-size: 15px; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty .btn-ghost { display: inline-block; margin-top: 14px; padding: 9px 18px; }

/* ---------- 内容提示词画廊（图片优先，形态参考 lovimg） ----------
   守品牌规范：1px 边框、无阴影、无渐变；hover 只做功能性信息显示，不做装饰动效。 */
.gal-head {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line); padding: 0 0 14px; margin-bottom: 18px;
}
.gal-head b { font-size: 16px; color: var(--text); }
.gal-head span { font-size: 12px; color: var(--text-3); }

.gal-grid { columns: 4; column-gap: 14px; }
.gal-card {
  break-inside: avoid; margin: 0 0 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg); overflow: hidden;
}
.gal-img {
  position: relative; display: block;
  background: var(--bg-2); border-bottom: 1px solid var(--line);
}
.gal-img img { width: 100%; display: block; }
.gal-badge {
  /* 示意图左上角自带标题，标签放右上避免压字 */
  position: absolute; top: 10px; right: 10px;
  font-size: 11px; line-height: 1.4; color: var(--text-2);
  background: var(--bg); border: 1px solid var(--line-2);
  border-radius: 999px; padding: 3px 10px;
}
.gal-hover {
  display: none; position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--bg); border-top: 1px solid var(--line);
  padding: 9px 12px; font-size: 12px; color: var(--text-2);
}
.gal-card:hover .gal-hover { display: block; }
.gal-card:hover .gal-img { border-bottom-color: var(--brand); }

.gal-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px 6px; }
.gal-name { font-size: 14px; font-weight: 600; color: var(--text); flex: 1; min-width: 0; }
.gal-name:hover { color: var(--brand); }
.gal-copy {
  flex: none; font-size: 12px; color: var(--brand);
  border: 1px solid var(--line-2); border-radius: 6px;
  padding: 4px 9px; min-height: 30px;
  display: inline-flex; align-items: center;
}
.gal-copy:hover { border-color: var(--brand); background: var(--brand-bg); }
.gal-models { display: none; padding: 0 12px 11px; font-size: 12px; color: var(--text-3); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .gal-grid { columns: 3; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .hero-in { grid-template-columns: 1fr; gap: 36px; padding: 56px 24px 52px; }
  .hero h1 { font-size: 44px; }
  .overview { max-width: 520px; }
  .catnav { grid-template-columns: 1fr; }
  .ft-main { grid-template-columns: 1fr 1fr; gap: 28px; }
  .ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hd-in { gap: 12px; height: 58px; }
  .logo .domain { display: none; }
  .nav { display: none; }
  .nav.open {
    display: flex; position: absolute; top: 58px; left: 0; right: 0;
    flex-direction: column; gap: 0; align-items: stretch; background: var(--bg);
    border-bottom: 1px solid var(--line); padding: 6px 16px 12px;
  }
  .nav.open a { padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 15px; min-height: 44px; }
  .nav.open a:last-child { border-bottom: none; }
  .burger { display: flex; align-items: center; justify-content: center; }
  .hero-in { padding: 40px 16px 40px; gap: 30px; }
  .hero h1 { font-size: 34px; letter-spacing: -1.2px; }
  .hero .lede { font-size: 16px; }
  .hero-btns .btn-primary, .hero-btns .btn-line { flex: 1 1 100%; text-align: center; }
  .hero-meta { font-size: 12px; gap: 12px; }
  .overview { padding: 18px; }
  .ov-stat b { font-size: 26px; }
  .sec { padding: 38px 0; }
  .sec-hd { gap: 10px; margin-bottom: 20px; }
  .sec-hd h2 { font-size: 20px; }
  .sec-hd .more { width: 100%; margin-left: 0; }
  .g2, .g3, .g4, .pager { grid-template-columns: 1fr; }
  .card, .sc-quick, .cat-col { padding: 15px; }
  .card-desc { font-size: 15px; }
  .sc-quick .tt, .case-card .c-tt { font-size: 15px; }
  .case-card .c-body { padding-left: 18px; }
  .dt-hd h1 { font-size: 25px; }
  .dt-hd .logo-box { width: 48px; height: 48px; font-size: 17px; }
  .dt-hd .tagline, .blk p, .blk ul li, .step-c .nt, .prompt-body, .quote { font-size: 15px; }
  .tbl-scroll table { min-width: 640px; }
  .pg-hd { padding: 30px 0 22px; }
  .pg-hd h1 { font-size: 26px; }
  .pg-hd p { font-size: 15px; }
  .cta { padding: 40px 0; }
  .cta h2 { font-size: 21px; }
  .cta-btns .btn-primary, .cta-btns .btn-line { flex: 1 1 100%; }
  .ft-main { grid-template-columns: 1fr; gap: 24px; padding: 32px 0 26px; }
  .ft-legal .r { margin-left: 0; width: 100%; }
  .to-top { right: 14px; bottom: 14px; }
  .filter { min-height: 44px; }
  .kind-tab { min-height: 44px; }
  .kinds { padding: 12px; }
  .client-grid { grid-template-columns: 1fr; }
  .card-img { height: 160px; }
  .cg-hd h2 { font-size: 16px; }
  .gal-grid { columns: 2; column-gap: 10px; }
  .gal-card { margin-bottom: 10px; }
  .gal-head span { width: 100%; }
  .gal-hover { display: none !important; }
  .gal-models { display: block; }
  .gal-copy { min-height: 44px; padding: 8px 12px; }
  .gal-bar { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
