/* ============================================================
   传奇资源聚乐部 · 前台样式
   底色沿用项目原有浅灰 #f5f6f8，主色为传奇感的金棕，正文墨黑
   ============================================================ */
:root {
  --bg: #f5f6f8;
  --bg-soft: #eceef2;
  --card: #ffffff;
  --ink: #1b1f27;
  --ink-soft: #2a303a;
  --sub: #6b7280;
  --sub-2: #8a919b;
  --line: #e2e5ea;
  --line-2: #d3d8e0;
  --gold: #a97c2c;
  --gold-2: #d2a95f;
  --gold-3: #f0e0c2;
  --gold-soft: #faf3e6;
  --jade: #2f6b5e;
  --danger: #b4462f;
  --shadow-sm: 0 2px 8px rgba(19, 23, 31, .05);
  --shadow: 0 12px 34px rgba(19, 23, 31, .08);
  --shadow-lg: 0 24px 60px rgba(19, 23, 31, .12);
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 22px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

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

/* ---------- 顶部导航 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(19, 23, 31, .05);
  background: rgba(255, 255, 255, .94);
}
.nav {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(140deg, #23262d, #14161b);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(210, 169, 95, .5), 0 6px 16px rgba(20, 22, 27, .18);
  position: relative; overflow: hidden;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(210, 169, 95, .35), transparent 60%);
}
.brand-mark svg { width: 22px; height: 22px; position: relative; z-index: 1; }
.brand-txt b { display: block; font-size: 17px; font-weight: 800; letter-spacing: .5px; line-height: 1.2; }
.brand-txt span { display: block; font-size: 10.5px; letter-spacing: 2.2px; color: var(--sub-2); }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a {
  padding: 8px 14px; border-radius: 9px;
  font-size: 14px; font-weight: 600; color: var(--sub);
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--ink); background: rgba(27, 31, 39, .05); }
.main-nav a.active { color: var(--gold); background: var(--gold-soft); }

.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: 8px; }

.burger {
  display: none; width: 40px; height: 40px; margin-left: auto;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center; cursor: pointer;
}
.burger i { width: 17px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 11px; border: 1px solid transparent;
  font-size: 14.5px; font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #b07f2b 0%, #8d6320 100%);
  box-shadow: 0 8px 22px rgba(169, 124, 44, .24);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(169, 124, 44, .3); }
.btn-ghost { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold-2); color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-dark { background: #1b1f27; color: #fff; }
.btn-dark:hover { background: #2a303a; transform: translateY(-2px); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 9px; }
.btn-block { width: 100%; }

/* ---------- 通用区块 ---------- */
.sec { padding: 84px 0; position: relative; }
.sec.sm { padding: 60px 0; }
.sec-alt { background: #fff; }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; font-weight: 800; letter-spacing: 2.6px; color: var(--gold);
  text-transform: uppercase;
}
.sec-label::before { content: ""; width: 22px; height: 1px; background: var(--gold-2); }
.sec-head h2 {
  font-size: clamp(26px, 3vw, 34px); line-height: 1.3;
  margin: 12px 0 10px; font-weight: 800; letter-spacing: -.4px;
}
.sec-head p { margin: 0; color: var(--sub); font-size: 15px; line-height: 1.85; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sec-head-row .sec-head { margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 13px; border-radius: 999px;
  border: 1px solid rgba(169, 124, 44, .28); background: rgba(250, 243, 230, .9);
  font-size: 12.5px; font-weight: 700; color: #8a6420;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 8px var(--gold-2); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 68px 0 72px; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(820px 420px at 82% -8%, rgba(210, 169, 95, .20), transparent 66%),
    radial-gradient(620px 380px at 8% 8%, rgba(47, 107, 94, .07), transparent 70%),
    linear-gradient(180deg, #f7f8fa 0%, var(--bg) 62%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    linear-gradient(rgba(27, 31, 39, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 31, 39, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(760px 420px at 30% 10%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(760px 420px at 30% 10%, #000 20%, transparent 78%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 56px; align-items: center;
}
.hero h1 {
  font-size: clamp(36px, 4.4vw, 54px); line-height: 1.16; font-weight: 900;
  letter-spacing: -1px; margin: 20px 0 18px;
}
.hero h1 .g {
  background: linear-gradient(96deg, #b9822b 12%, #d8b26a 48%, #9a6c22 86%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin: 0 0 28px; color: #4c535d; font-size: 16.5px; line-height: 1.88; max-width: 560px; }
.hero-sub b { color: var(--ink); font-weight: 700; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0; margin-top: 40px; border-top: 1px solid var(--line); padding-top: 22px;
  max-width: 560px;
}
.hero-meta .item { padding-right: 16px; }
.hero-meta .item b {
  display: block; font-size: 25px; font-weight: 900; letter-spacing: -.5px;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.hero-meta .item b i { font-style: normal; font-size: 12px; color: var(--gold); margin-left: 3px; }
.hero-meta .item span { font-size: 12px; color: var(--sub-2); letter-spacing: .4px; }

/* Hero 右侧：深色实问实答面板 + 悬浮素材卡 */
.hero-stage { position: relative; }
.qa-panel {
  position: relative; border-radius: var(--r-lg);
  background: radial-gradient(120% 120% at 85% 0%, #242a34 0%, #14171d 62%);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 30px 70px rgba(12, 15, 20, .28);
  padding: 22px 22px 24px; color: #e9ecf1; overflow: hidden;
}
.qa-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 220px at 80% -10%, rgba(210, 169, 95, .22), transparent 70%);
}
.qa-head { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #9aa3b0; position: relative; }
.qa-head .live { width: 7px; height: 7px; border-radius: 50%; background: #6fcf97; box-shadow: 0 0 10px #6fcf97; }
.qa-head b { color: #d8dee7; font-weight: 700; letter-spacing: .5px; }
.qa-q {
  position: relative; margin: 18px 0 14px; font-size: 16px; font-weight: 700; line-height: 1.65; color: #fff;
}
.qa-q span { color: var(--gold-2); }
.qa-a {
  position: relative; font-size: 13.5px; line-height: 1.9; color: #b7bfcc;
  border-left: 2px solid rgba(210, 169, 95, .45); padding-left: 12px;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.qa-foot { position: relative; display: flex; align-items: center; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.qa-chip {
  font-size: 11.5px; color: #cfd6e2; border: 1px solid rgba(255, 255, 255, .14);
  padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .04);
}
.qa-ask {
  margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--gold-2);
  border-bottom: 1px solid rgba(210, 169, 95, .4); padding-bottom: 2px;
}

/* Hero 面板内嵌的素材样张条 */
.qa-spec {
  position: relative; display: flex; align-items: center; gap: 12px;
  margin-top: 18px; padding: 10px 12px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04);
}
.qa-spec .thumb {
  width: 62px; height: 62px; border-radius: 9px; display: grid; place-items: center;
  background: radial-gradient(90px 60px at 50% 40%, #fff, transparent 78%), linear-gradient(180deg, #f7f8fa, #e9ebef);
  flex: 0 0 auto;
}
.qa-spec .thumb img { width: 56px; height: 56px; image-rendering: pixelated; }
.qa-spec .cap { display: block; min-width: 0; }
.qa-spec .cap b { display: block; color: #fff; font-size: 13px; font-weight: 700; }
.qa-spec .cap span { display: block; margin-top: 3px; color: #99a2b0; font-size: 11.5px; }
.qa-spec .tdots { display: flex; gap: 3px; margin-left: auto; flex: 0 0 auto; }
.qa-spec .tdots i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.qa-spec .tdots i.on { background: var(--gold-2); }

/* ---------- 信任条 ---------- */
.trust {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .6);
}
.trust .wrap { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; padding: 16px 24px; }
.trust .t-item { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--sub); }
.trust .t-item svg { width: 15px; height: 15px; color: var(--gold); flex: 0 0 auto; }
.trust .t-item b { color: var(--ink); font-weight: 700; }

/* ---------- 能力卡 ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.cap-card { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 208px; }
.cap-card .ico {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--gold-soft); border: 1px solid rgba(169, 124, 44, .18); color: var(--gold);
  margin-bottom: 16px;
}
.cap-card .ico svg { width: 20px; height: 20px; }
.cap-card h3 { margin: 0 0 8px; font-size: 16.5px; font-weight: 800; letter-spacing: -.2px; }
.cap-card p { margin: 0; color: var(--sub); font-size: 13.5px; line-height: 1.85; }
.cap-card .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 16px; }
.tag {
  font-size: 11.5px; color: #7a6a4e; background: #f7f3ea; border: 1px solid #ece2cf;
  padding: 3px 9px; border-radius: 6px; white-space: nowrap;
}
.tag.jade { color: #35665b; background: #eef6f3; border-color: #d7e8e2; }
.tag.ink { color: #4c5360; background: #f2f4f7; border-color: #e3e7ee; }
.cap-card .flag {
  position: absolute; right: 18px; top: 18px; font-size: 10.5px; letter-spacing: 1px;
  color: var(--sub-2); border: 1px solid var(--line); padding: 2px 7px; border-radius: 5px;
}

/* ---------- 资源卡 ---------- */
.res-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
}
.res-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.res-thumb {
  height: 186px; position: relative; display: grid; place-items: center;
  background:
    radial-gradient(320px 180px at 50% 30%, #ffffff, transparent 76%),
    linear-gradient(180deg, #f8f9fb, #edeff3);
  border-bottom: 1px solid var(--line);
}
.res-thumb img.cover { width: 100%; height: 100%; object-fit: cover; }
.res-thumb img.pix { width: 136px; height: 136px; image-rendering: pixelated; }
.thumb-empty { display: flex; flex-direction: column; align-items: center; gap: 7px; color: #9aa3ad; }
.thumb-empty svg { width: 26px; height: 26px; opacity: .45; }
.thumb-empty b { font-size: 12.5px; font-weight: 600; color: #808a95; letter-spacing: .5px; }
.thumb-empty i { font-style: normal; font-size: 11px; color: #a8afb8; }
.res-badge {
  position: absolute; left: 12px; top: 12px; font-size: 11px; font-weight: 700;
  padding: 3px 9px; border-radius: 6px; background: rgba(27, 31, 39, .82); color: #f4e9d3;
  letter-spacing: .5px;
}
.res-frames { position: absolute; right: 12px; bottom: 10px; display: flex; gap: 3px; }
.res-frames i { width: 12px; height: 3px; background: rgba(27, 31, 39, .18); border-radius: 2px; }
.res-frames i.on { background: var(--gold); }
.res-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.res-body h3 { margin: 0 0 6px; font-size: 15.5px; font-weight: 800; letter-spacing: -.2px; }
.res-body p { margin: 0 0 14px; font-size: 12.5px; color: var(--sub); line-height: 1.8; flex: 1; }
.res-foot { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--sub-2); }
.res-foot .price { margin-left: auto; font-size: 15px; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; }
.res-foot .price small { font-size: 11px; font-weight: 600; color: var(--sub-2); margin-left: 2px; }

/* ---------- 知识库 ---------- */
.kb-wrap { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: 22px; align-items: start; }
.kb-search-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.kb-search-card h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; }
.kb-search-card p { margin: 0 0 18px; color: var(--sub); font-size: 13px; }
.search-box { display: flex; gap: 8px; }
.search-box input {
  flex: 1; height: 46px; border: 1px solid var(--line-2); border-radius: 11px;
  padding: 0 16px; font-size: 14px; background: #fff; color: var(--ink); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.search-box input:focus { border-color: var(--gold-2); box-shadow: 0 0 0 3px rgba(210, 169, 95, .18); }
.search-box input::placeholder { color: #a4aab3; }
.kb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.kb-tag {
  font-size: 12.5px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: #fafbfc; color: var(--sub); transition: all .18s;
}
.kb-tag:hover { border-color: var(--gold-2); color: var(--gold); background: var(--gold-soft); }
.kb-note { margin-top: 18px; font-size: 12px; color: var(--sub-2); line-height: 1.7; border-top: 1px dashed var(--line); padding-top: 14px; }

.kb-live {
  margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
  max-height: 360px; overflow: auto; display: none;
}
.kb-live .row { padding: 12px 14px; border-bottom: 1px solid #f0f2f5; display: block; }
.kb-live .row:hover { background: #fbfaf7; }
.kb-live .row b { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 4px; }
.kb-live .row span { font-size: 12px; color: var(--sub); }
.kb-live .empty { padding: 16px; font-size: 13px; color: var(--sub); }

.kb-list { display: flex; flex-direction: column; gap: 10px; }
.kb-item {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.kb-item:hover { border-color: var(--gold-2); transform: translateX(3px); box-shadow: var(--shadow-sm); }
.kb-item .q { display: flex; gap: 10px; align-items: flex-start; }
.kb-item .q .idx {
  flex: 0 0 auto; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center;
  font-size: 11px; font-weight: 800; color: var(--gold); background: var(--gold-soft); margin-top: 2px;
}
.kb-item .q b { font-size: 14.5px; font-weight: 700; line-height: 1.6; }
.kb-item .a { margin: 6px 0 0 32px; font-size: 12.5px; color: var(--sub); line-height: 1.75;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kb-count {
  display: inline-flex; align-items: baseline; gap: 4px; margin-left: 8px;
  font-size: 11.5px; color: var(--sub-2);
}

/* ---------- 悬赏流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px;
  position: relative;
}
.step .n {
  font-size: 11px; font-weight: 800; letter-spacing: 1.5px; color: var(--gold);
  border: 1px solid rgba(169, 124, 44, .3); background: var(--gold-soft);
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
}
.step h4 { margin: 14px 0 6px; font-size: 15px; font-weight: 800; }
.step p { margin: 0; font-size: 12.5px; color: var(--sub); line-height: 1.8; }
.step::after {
  content: "→"; position: absolute; right: -13px; top: 50%; transform: translateY(-50%);
  color: var(--line-2); font-size: 14px;
}
.step:last-child::after { display: none; }

.bounty-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.bounty-card:hover { border-color: var(--gold-2); box-shadow: var(--shadow-sm); }
.bounty-card .money { flex: 0 0 auto; min-width: 92px; text-align: center; padding: 10px 8px; border-radius: 10px; background: #f8f5ee; border: 1px solid #eee3cd; }
.bounty-card .money b { display: block; font-size: 20px; font-weight: 900; color: var(--gold); font-variant-numeric: tabular-nums; }
.bounty-card .money span { font-size: 11px; color: var(--sub-2); }
.bounty-card .info b { display: block; font-size: 14.5px; font-weight: 700; margin-bottom: 4px; }
.bounty-card .info p { margin: 0 0 8px; font-size: 12.5px; color: var(--sub); line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bounty-card .meta { display: flex; gap: 10px; align-items: center; font-size: 11.5px; color: var(--sub-2); flex-wrap: wrap; }
.status-pill { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.status-open { color: #2f6b5e; background: #eaf4f1; }
.status-doing { color: #8a6420; background: #fbf2e1; }
.status-done { color: #6b7280; background: #f1f3f6; }

/* ---------- 文章卡 ---------- */
.art-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; min-height: 190px; transition: transform .2s, box-shadow .2s; }
.art-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.art-card .cat { font-size: 11.5px; color: var(--gold); font-weight: 700; letter-spacing: .8px; }
.art-card h3 { margin: 10px 0 8px; font-size: 16.5px; font-weight: 800; line-height: 1.5; }
.art-card p { margin: 0; font-size: 13px; color: var(--sub); line-height: 1.8; flex: 1; }
.art-card .foot { margin-top: 16px; font-size: 11.5px; color: var(--sub-2); display: flex; gap: 10px; }

/* ---------- 更新日志 ---------- */
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(180deg, var(--gold-2), rgba(210, 169, 95, .05)); }
.tl-item { position: relative; padding: 0 0 28px; }
.tl-item::before {
  content: ""; position: absolute; left: -26px; top: 6px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 3px rgba(210, 169, 95, .18);
}
.tl-item time { font-size: 12px; color: var(--sub-2); letter-spacing: .5px; font-variant-numeric: tabular-nums; }
.tl-item h4 { margin: 6px 0 8px; font-size: 15.5px; font-weight: 800; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tl-item .ver { font-size: 10.5px; font-weight: 700; color: #8a6420; background: var(--gold-soft); border: 1px solid #eee3cd; padding: 1px 7px; border-radius: 5px; letter-spacing: .5px; }
.tl-item .body { margin: 0; color: var(--sub); font-size: 13px; line-height: 1.85; }
.tl-item .body p { margin: 0 0 6px; }

/* ---------- 合规 ---------- */
.compliance { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; }
.compliance h3 { margin: 0 0 18px; font-size: 18px; font-weight: 800; display: flex; gap: 10px; align-items: center; }
.compliance h3 svg { width: 20px; height: 20px; color: var(--gold); }
.comp-item { display: flex; gap: 12px; padding: 14px 0; border-top: 1px dashed var(--line); }
.comp-item:first-of-type { border-top: none; padding-top: 0; }
.comp-item .k { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #f4f6f8; color: var(--sub); font-weight: 800; font-size: 12px; }
.comp-item b { display: block; font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.comp-item p { margin: 0; font-size: 12.5px; color: var(--sub); line-height: 1.8; }

/* ---------- CTA ---------- */
.cta-band {
  border-radius: var(--r-lg); padding: 40px 44px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(120% 160% at 88% 0%, #2c323d 0%, #15181e 58%);
  border: 1px solid rgba(255, 255, 255, .08);
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px 200px at 82% 10%, rgba(210, 169, 95, .28), transparent 70%);
}
.cta-band h3 { position: relative; margin: 0 0 8px; font-size: 24px; font-weight: 800; letter-spacing: -.5px; }
.cta-band p { position: relative; margin: 0; color: #b6becb; font-size: 13.5px; }
.cta-band .acts { position: relative; margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); background: #fbfbfc; padding: 54px 0 30px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer-brand b { font-size: 16px; font-weight: 800; display: block; margin-bottom: 8px; }
.footer-brand p { margin: 0; color: var(--sub); font-size: 12.5px; line-height: 1.9; max-width: 300px; }
.footer-col h4 { font-size: 12.5px; font-weight: 800; letter-spacing: 1px; color: var(--ink); margin: 0 0 12px; }
.footer-col a { display: block; font-size: 12.5px; color: var(--sub); padding: 4px 0; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: var(--sub-2);
}
.footer-bottom a { color: var(--sub-2); }

/* ---------- 内页：列表 / 详情 ---------- */
.page-head { padding: 54px 0 34px; background: linear-gradient(180deg, #f8f9fb, var(--bg)); border-bottom: 1px solid var(--line); }
.page-head h1 { margin: 10px 0 10px; font-size: clamp(26px, 3.4vw, 36px); font-weight: 900; letter-spacing: -.6px; }
.page-head p { margin: 0; color: var(--sub); font-size: 14px; max-width: 680px; line-height: 1.85; }
.crumbs { font-size: 12px; color: var(--sub-2); display: flex; gap: 8px; }
.crumbs a:hover { color: var(--gold); }

.filter-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.filter-bar .chip {
  font-size: 13px; padding: 7px 15px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--sub); transition: all .18s;
}
.filter-bar .chip:hover { border-color: var(--gold-2); color: var(--gold); }
.filter-bar .chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-bar .chip .n { font-size: 11px; opacity: .7; margin-left: 4px; }
.filter-bar .search-mini { margin-left: auto; display: flex; gap: 8px; }
.filter-bar .search-mini input {
  height: 38px; min-width: 220px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 9px;
  font-size: 13px; outline: none; background: #fff;
}
.filter-bar .search-mini input:focus { border-color: var(--gold-2); box-shadow: 0 0 0 3px rgba(210, 169, 95, .15); }

.pager { display: flex; align-items: center; gap: 6px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 36px; height: 36px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 9px; font-size: 13px; color: var(--sub); background: #fff;
}
.pager a:hover { border-color: var(--gold-2); color: var(--gold); }
.pager span.on { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 700; }
.pager .total { border: none; background: transparent; color: var(--sub-2); font-size: 12px; }

.empty-state { text-align: center; padding: 70px 20px; color: var(--sub); }
.empty-state b { display: block; font-size: 16px; color: var(--ink); margin-bottom: 6px; }

.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 34px; align-items: start; }
.detail-main { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; }
.detail-main h1 { margin: 8px 0 14px; font-size: clamp(24px, 2.8vw, 32px); font-weight: 900; line-height: 1.35; letter-spacing: -.5px; }
.detail-lead { margin: 0 0 22px; color: var(--sub); font-size: 14px; line-height: 1.9; border-left: 3px solid var(--gold-3); padding-left: 14px; }
.detail-body { font-size: 14.5px; line-height: 1.95; color: #2b3038; }
.detail-body h2 { font-size: 17px; margin: 26px 0 10px; padding-left: 10px; border-left: 3px solid var(--gold-2); }
.detail-body p { margin: 0 0 10px; }
.detail-body ul, .detail-body ol { margin: 0 0 12px; padding-left: 22px; }
.detail-body li { margin-bottom: 6px; }
.detail-body pre { background: #15181e; color: #d7dee8; padding: 14px 16px; border-radius: 10px; overflow: auto; font-size: 12.5px; line-height: 1.7; }
.detail-body code { background: #f2f4f7; padding: 1px 6px; border-radius: 4px; font-size: 12.5px; }
.detail-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; color: var(--sub-2); padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.detail-meta span { display: inline-flex; align-items: center; gap: 7px; }
.detail-meta svg { width: 15px; height: 15px; flex: 0 0 auto; }
.btn svg { width: 15px; height: 15px; flex: 0 0 auto; }

.side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 92px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.side-card h4 { margin: 0 0 14px; font-size: 14px; font-weight: 800; letter-spacing: .3px; }
.side-card .kv { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; padding: 7px 0; border-bottom: 1px dashed #eef0f3; }
.side-card .kv:last-child { border-bottom: none; }
.side-card .kv span { color: var(--sub-2); }
.side-card .kv b { color: var(--ink); font-weight: 700; text-align: right; }
.side-list a { display: block; font-size: 13px; color: var(--sub); padding: 8px 0; border-bottom: 1px dashed #eef0f3; line-height: 1.6; }
.side-list a:last-child { border-bottom: none; }
.side-list a:hover { color: var(--gold); }

.answer-box { background: #fbfaf7; border: 1px solid #eee6d6; border-radius: 12px; padding: 20px 22px; }
.answer-box .lab { font-size: 11.5px; font-weight: 800; letter-spacing: 1.5px; color: var(--gold); margin-bottom: 10px; }
.answer-box .txt { font-size: 14px; line-height: 1.95; color: #2b3038; }
.answer-box .txt p { margin: 0 0 8px; }

.mark { background: rgba(210, 169, 95, .28); border-radius: 3px; padding: 0 1px; }
mark { background: rgba(210, 169, 95, .28); color: inherit; border-radius: 3px; padding: 0 1px; }

.notice {
  border: 1px solid #eee3cd; background: #fdfaf3; border-radius: 12px;
  padding: 14px 16px; font-size: 12.5px; color: #7a6540; line-height: 1.8; margin: 18px 0;
}
.notice b { color: #5f4c2c; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stage { max-width: 560px; }
  .detail-layout { grid-template-columns: 1fr; }
  .side { position: static; }
  .kb-wrap { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1100px) {
  .main-nav a { padding: 8px 9px; font-size: 13px; }
  .brand-txt span { display: none; }
  .nav-cta .btn-sm { padding: 7px 11px; }
}
@media (max-width: 760px) {
  .nav { height: 64px; gap: 12px; }
  .main-nav {
    display: none; position: fixed; top: 64px; left: 0; right: 0; z-index: 60;
    background: rgba(255, 255, 255, .98); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 8px 18px 16px; gap: 0;
    box-shadow: 0 20px 40px rgba(19, 23, 31, .08);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 8px; border-radius: 8px; }
  .nav-cta { display: none; }
  .burger { display: flex; }
  .hero { padding: 40px 0 52px; }
  .hero h1 { font-size: 33px; }
  .hero-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 0; }
  .sec { padding: 56px 0; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .qa-spec .tdots { display: none; }
  .qa-panel { padding: 18px; }
  .detail-main { padding: 22px; }
  .cta-band { padding: 28px; }
  .cta-band .acts { margin-left: 0; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .filter-bar .search-mini { width: 100%; margin-left: 0; }
  .filter-bar .search-mini input { flex: 1; min-width: 0; }
  .kb-search-card { padding: 20px; }
  .trust .wrap { gap: 14px; }
}
