/* ============================================================
   粉猫笔记 · 全站样式
   设计基调：品红粉主色（#db2777）+ 琥珀警示色、小圆角、细描边、几乎不用投影

   关于配色与「差异化」的关系（改之前先看这段）：
   —— 品牌叫「粉猫」，主题色就该是粉的，这一点优先于"和 fensi168 拉开距离"。
   —— 但纯粉容易和 fensi168 的小红书红 #ff2442 撞车，所以这里选的是**偏品红的粉**：
        #ff2442  色相 ≈ 351°（暖红，红占主导）
        #db2777  色相 ≈ 333°（品红粉，粉紫占主导）
      两者放在一起是一眼能分出「红」和「粉」的。加上本站是小圆角细描边、
      fensi168 是大圆角柔和阴影，整体视觉语言仍然完全区分得开。
   ============================================================ */

:root {
  --brand: #db2777;
  --brand-deep: #be185d;
  --brand-tint: #fdf2f8;
  --brand-line: #fbcfe8;

  --warn: #f59e0b;
  --warn-tint: #fff8eb;
  --danger: #be123c;
  --danger-tint: #fff1f2;

  --bg: #ffffff;
  --bg-tint: #faf7f8;
  --line: #ebe4e7;
  --line-soft: #f2edef;

  --text: #16232e;
  --text-sub: #4a5a68;
  --muted: #7b8b99;

  --r-xs: 4px;
  --r-s: 6px;
  --r-m: 10px;

  --shell: 1080px;
  --bar-h: 62px;

  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--brand); text-decoration: none; transition: color .16s ease, border-color .16s ease, background .16s ease; }
a:hover { color: var(--brand-deep); }

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 22px; }
.shell-narrow { max-width: 820px; }
.main { min-height: 40vh; }
.empty { color: var(--muted); padding: 36px 0; text-align: center; }

/* ============================== 顶部提示条 ============================== */

.notice-bar {
  background: var(--warn-tint);
  border-bottom: 1px solid #f3e0b8;
  color: #8a5a06;
  font-size: 13px;
  line-height: 1.6;
}
.notice-bar .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 7px;
  padding-bottom: 7px;
}
.notice-link { color: #8a5a06; font-weight: 700; white-space: nowrap; text-decoration: underline; text-underline-offset: 2px; }
.notice-link:hover { color: #6b4404; }

/* ============================== 顶栏 ============================== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--bar-h);
  padding-top: 10px;
  padding-bottom: 10px;
}

.brandmark { display: flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--text); }
.brandmark img { width: 38px; height: 38px; border-radius: var(--r-s); }
.brandmark-text { display: flex; flex-direction: column; line-height: 1.3; }
.brandmark-text b { font-size: 15.5px; font-weight: 800; }
.brandmark-text i { font-size: 11px; font-style: normal; color: var(--muted); }

.navbar { display: flex; align-items: center; gap: 2px; margin-left: auto; flex-wrap: wrap; }
.navbar a {
  font-size: 14px;
  color: var(--text-sub);
  padding: 7px 10px;
  border-radius: var(--r-xs);
  white-space: nowrap;
}
.navbar a:hover { background: var(--bg-tint); color: var(--brand); }
.navbar a.on { color: var(--brand); font-weight: 700; box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }

.topbar-buy {
  flex-shrink: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand) !important;
  border: 1px solid var(--brand-line);
  background: var(--brand-tint);
  padding: 8px 15px;
  border-radius: var(--r-xs);
}
.topbar-buy:hover { background: var(--brand); color: #fff !important; border-color: var(--brand); }

.menu-btn {
  display: none;
  margin-left: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  font-size: 17px;
  padding: 4px 11px;
  cursor: pointer;
  color: var(--text);
}

/* ============================== 首屏 ============================== */

.banner {
  background: linear-gradient(180deg, var(--bg-tint) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
  padding: 44px 0 34px;
}

.banner-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
}

.banner-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--brand);
  border: 1px solid var(--brand-line);
  background: #fff;
  padding: 3px 12px;
  border-radius: var(--r-xs);
  margin-bottom: 16px;
}

.banner-copy h1 {
  font-size: clamp(27px, 3.8vw, 40px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -.5px;
  margin-bottom: 16px;
}

.banner-sub { font-size: 15.5px; color: var(--text-sub); line-height: 1.9; margin-bottom: 24px; max-width: 560px; }
.banner-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.checkcard {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--warn);
  border-radius: var(--r-s);
  padding: 20px 22px;
}
.checkcard h2 { font-size: 15px; font-weight: 800; margin-bottom: 12px; display: flex; align-items: center; gap: 7px; }
.checkcard h2::before { content: "?"; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: var(--warn); color: #fff; font-size: 12px; font-weight: 800; }
.checkcard ul { display: flex; flex-direction: column; gap: 8px; }
.checkcard li { position: relative; padding-left: 22px; font-size: 13.5px; color: var(--text-sub); line-height: 1.65; }
.checkcard li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 11px;
  height: 11px;
  border: 1.5px solid var(--line);
  border-radius: 2px;
}
.checkcard-foot { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--muted); line-height: 1.7; }

.entry-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 30px;
}
.entry {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  padding: 12px 14px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}
.entry:hover { border-color: var(--brand); color: var(--brand); }
.cat-ico { font-size: 15px; }

/* ============================== 按钮 ============================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14.5px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: var(--r-xs);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.btn-solid { background: var(--brand); color: #fff !important; border-color: var(--brand); }
.btn-solid:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn-line { background: #fff; color: var(--text) !important; border-color: var(--line); }
.btn-line:hover { border-color: var(--brand); color: var(--brand) !important; }
.btn-white { background: #fff; color: var(--brand) !important; border-color: #fff; }
.btn-white:hover { background: var(--brand-tint); }

/* ============================== 区块 ============================== */

.block { padding: 48px 0; }
.block-tint { background: var(--bg-tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--text);
}
.block-head h2 { font-size: 21px; font-weight: 900; letter-spacing: -.3px; }
.block-head-center { justify-content: center; text-align: center; border-bottom: none; margin-bottom: 8px; }
.block-head-center h2 { font-size: 22px; }
.block-more { font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.block-note { font-size: 13.5px; color: var(--muted); }

/* ============================== 条目列表 ============================== */

.item-list { display: flex; flex-direction: column; }

.item { border-bottom: 1px solid var(--line-soft); }
.item:first-child { border-top: 1px solid var(--line-soft); }

.item-link {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 20px;
  padding: 18px 4px;
  color: var(--text);
}
.item-link:hover { background: var(--bg-tint); color: var(--text); }

.item-date {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  padding-top: 4px;
  letter-spacing: -.2px;
}

.item-main { display: block; }
.item-topic {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-tint);
  border-radius: 3px;
  padding: 1px 8px;
  margin-bottom: 7px;
}
.item-title { font-size: 17px; font-weight: 800; line-height: 1.55; margin-bottom: 6px; letter-spacing: -.2px; }
.item-link:hover .item-title { color: var(--brand); }
.item-intro { font-size: 14px; color: var(--text-sub); line-height: 1.78; }

/* ============================== 栏目网格 ============================== */

.catgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }

.catbox { background: #fff; border: 1px solid var(--line); border-radius: var(--r-s); padding: 20px 22px; }
.catbox-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.catbox-head h3 { font-size: 16.5px; font-weight: 800; display: flex; align-items: center; gap: 7px; }
.catbox-icon { font-size: 15px; }
.catbox-more { font-size: 13px; font-weight: 700; white-space: nowrap; }
.catbox-desc { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }

.catbox-list { display: flex; flex-direction: column; gap: 9px; }
.catbox-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 14px; }
.catbox-list a { color: var(--text); font-weight: 600; line-height: 1.6; }
.catbox-list a:hover { color: var(--brand); }
.catbox-list time { font-family: var(--mono); font-size: 11.5px; color: var(--muted); white-space: nowrap; }

/* ============================== 服务卡片 ============================== */

.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }

.svc {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--r-s) var(--r-s) 0;
  padding: 20px 22px;
  color: var(--text);
}
.svc:hover { border-left-color: var(--brand-deep); background: var(--bg-tint); color: var(--text); }
.svc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-xs);
  background: var(--brand-tint);
  color: var(--brand);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 12px;
}
.svc h3 { font-size: 16px; font-weight: 800; margin-bottom: 7px; }
.svc p { font-size: 13.5px; color: var(--text-sub); line-height: 1.78; }
.svc-go { display: inline-block; margin-top: 12px; font-size: 12.5px; font-weight: 700; color: var(--brand); }
.svc:hover .svc-go { text-decoration: underline; text-underline-offset: 3px; }

/* ============================== CTA ============================== */

.cta { background: var(--brand); color: #fff; padding: 38px 0; }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.band-inner h2 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.band-inner p { font-size: 13.5px; opacity: .92; line-height: 1.8; max-width: 640px; }

.inline-cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 30px 0 6px; }

/* ============================== 问答 ============================== */

.qa-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 30px 16px 0;
  font-size: 15.5px;
  font-weight: 700;
  position: relative;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}
.qa[open] summary::after { content: "−"; }
.qa-body { padding: 0 30px 18px 0; font-size: 14.5px; color: var(--text-sub); line-height: 1.88; }

/* ============================== 面包屑 / 页头 ============================== */

.crumbs { font-size: 13px; color: var(--muted); padding: 20px 0 2px; line-height: 1.9; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumb-sep { margin: 0 7px; color: #ccc2c6; }
.crumbs span[aria-current] { color: var(--text-sub); }

.pagehead { padding: 12px 0 22px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.pagehead h1 { font-size: clamp(23px, 3.2vw, 30px); font-weight: 900; letter-spacing: -.4px; margin-bottom: 9px; }
.pagehead p { font-size: 14.5px; color: var(--text-sub); line-height: 1.9; max-width: 760px; }
.pagehead-meta { font-size: 13px !important; color: var(--muted) !important; margin-top: 7px; }

.pill-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.pill {
  display: inline-block;
  font-size: 12.5px;
  color: var(--text-sub);
  background: var(--bg-tint);
  border: 1px solid var(--line);
  padding: 4px 11px;
  border-radius: var(--r-xs);
}
.pill:hover { color: var(--brand); border-color: var(--brand-line); background: var(--brand-tint); }

/* ============================== 搜索 ============================== */

.findbar { display: flex; gap: 9px; margin-bottom: 20px; }
.findbar input {
  flex: 1;
  font-family: inherit;
  font-size: 15px;
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  background: var(--bg-tint);
  outline: none;
}
.findbar input:focus { border-color: var(--brand); background: #fff; }
.findbar button {
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
  border: 1px solid var(--brand);
  padding: 11px 22px;
  border-radius: var(--r-xs);
  cursor: pointer;
}
.findbar button:hover { background: var(--brand-deep); }
.find-status { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }

/* ============================== 分页 ============================== */

.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 34px 0 6px; }
.pager-item {
  min-width: 36px;
  height: 36px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
}
.pager-item:hover { color: var(--brand); border-color: var(--brand); }
.pager-item.is-now { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager-item.dir { padding: 0 14px; }
.pager-gap { color: #ccc2c6; padding: 0 3px; }

/* ============================== 文章详情 ============================== */

.doc { padding-top: 6px; }

.doc-head { padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.doc-topic {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-tint);
  border-radius: 3px;
  padding: 2px 10px;
  margin-bottom: 12px;
}
.doc-head h1 { font-size: clamp(22px, 3vw, 31px); font-weight: 900; line-height: 1.42; letter-spacing: -.5px; margin-bottom: 14px; }
.doc-intro {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.95;
  border-left: 3px solid var(--warn);
  background: var(--warn-tint);
  padding: 13px 16px;
  border-radius: 0 var(--r-xs) var(--r-xs) 0;
}
.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
}

/* 目录：可折叠（fensi168 是平铺块） */
.doc-toc {
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--r-xs) var(--r-xs) 0;
  background: var(--bg-tint);
  margin-bottom: 28px;
}
.doc-toc summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 800;
  position: relative;
}
.doc-toc summary::-webkit-details-marker { display: none; }
.doc-toc summary::after { content: "▾"; position: absolute; right: 16px; color: var(--brand); font-size: 13px; }
.doc-toc[open] summary::after { content: "▴"; }
.doc-toc ol { counter-reset: t; padding: 0 16px 14px; display: grid; gap: 5px; }
.doc-toc li { counter-increment: t; font-size: 13.5px; line-height: 1.7; padding-left: 26px; position: relative; }
.doc-toc li::before {
  content: counter(t, decimal-leading-zero);
  position: absolute;
  left: 0;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--brand);
  font-weight: 700;
}
.doc-toc a { color: var(--text-sub); }
.doc-toc a:hover { color: var(--brand); }

/* 正文排版 */
.doc-body { font-size: 16px; line-height: 1.95; color: #1d2b36; }
.doc-body > *:first-child { margin-top: 0; }

.doc-body h2 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
  margin: 38px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
  scroll-margin-top: calc(var(--bar-h) + 16px);
  position: relative;
  padding-left: 16px;
}
.doc-body h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 2px;
}

.doc-body h3 { font-size: 16.5px; font-weight: 800; margin: 26px 0 10px; color: #14222c; }
.doc-body p { margin-bottom: 15px; }

.doc-body ul, .doc-body ol { margin: 0 0 17px; }
.doc-body ul li, .doc-body ol li { position: relative; padding-left: 24px; margin-bottom: 8px; font-size: 15.5px; line-height: 1.9; }
.doc-body ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 13px;
  width: 7px;
  height: 2px;
  background: var(--brand);
}
.doc-body ol { counter-reset: ol; }
.doc-body ol li::before {
  counter-increment: ol;
  content: counter(ol) ".";
  position: absolute;
  left: 0;
  font-family: var(--mono);
  font-weight: 700;
  color: var(--brand);
}

.doc-body strong { color: #0f1b24; font-weight: 800; }
.doc-body em { font-style: normal; color: var(--warn); font-weight: 700; }

.doc-body blockquote {
  border: 1px solid var(--line);
  border-left: 3px solid var(--warn);
  background: var(--warn-tint);
  border-radius: 0 var(--r-xs) var(--r-xs) 0;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 14.5px;
  color: #6b4d10;
}
.doc-body blockquote p:last-child { margin-bottom: 0; }

.doc-body .tbl {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14.5px;
}
.doc-body .tbl th {
  background: var(--brand-tint);
  color: var(--brand-deep);
  font-weight: 800;
  text-align: left;
  padding: 11px 14px;
  border: 1px solid var(--brand-line);
}
.doc-body .tbl td { padding: 11px 14px; border: 1px solid var(--line); color: var(--text-sub); vertical-align: top; }

.doc-body code {
  font-family: var(--mono);
  font-size: 13.5px;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1px 5px;
}

/* 文末风险提示块（fensi168 没有这个元素） */
.risk-note {
  margin-top: 34px;
  background: var(--danger-tint);
  border: 1px solid #fecdd3;
  border-left: 3px solid var(--danger);
  border-radius: 0 var(--r-xs) var(--r-xs) 0;
  padding: 15px 18px;
}
.risk-note b { display: block; font-size: 13.5px; color: var(--danger); margin-bottom: 6px; }
.risk-note p { font-size: 13.5px; color: #9f1239; line-height: 1.85; margin-bottom: 10px; }
.risk-note-link { font-size: 13.5px; font-weight: 700; color: var(--danger); }
.risk-note-link:hover { color: #a00f30; }

.doc-foot { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.doc-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.doc-author { font-size: 13px; color: var(--muted); }
.doc-author b { color: var(--text-sub); }

.docnav { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin-bottom: 6px; }
.docnav-item {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  padding: 14px 18px;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.7;
}
.docnav-item em { display: block; font-style: normal; font-size: 12.5px; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.docnav-item:hover { border-color: var(--brand); color: var(--brand); }

/* ============================== 通用正文块 ============================== */

.bodytext { font-size: 15.5px; line-height: 1.95; color: var(--text-sub); }
.bodytext h2 {
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}
.bodytext h3 { font-size: 16px; font-weight: 800; color: var(--text); margin: 20px 0 7px; }
.bodytext p { margin-bottom: 13px; }
.bodytext ul, .bodytext ol { margin: 0 0 17px; }
.bodytext li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.bodytext ul li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 7px; height: 2px; background: var(--brand); }
.bodytext ol { counter-reset: p; }
.bodytext ol li { counter-increment: p; }
.bodytext ol li::before {
  content: counter(p) ".";
  position: absolute;
  left: 0;
  font-family: var(--mono);
  font-weight: 700;
  color: var(--brand);
}
.bodytext strong { color: var(--text); font-weight: 800; }

/* ============================== 404 ============================== */

.notfound { text-align: center; padding: 64px 0 84px; }
.notfound-code { font-family: var(--mono); font-size: 76px; font-weight: 800; color: var(--brand); line-height: 1; margin-bottom: 16px; opacity: .25; }
.notfound h1 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.notfound p { color: var(--muted); font-size: 14.5px; margin-bottom: 26px; }
.notfound .inline-cta { justify-content: center; }

/* ============================== 页脚 ============================== */

.foot { background: #211a1d; color: #a89ea2; padding: 44px 0 24px; font-size: 13.5px; line-height: 1.85; margin-top: 36px; }

.foot-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid #332a2e;
}
.foot-col h4 { color: #fff; font-size: 14px; font-weight: 800; margin-bottom: 12px; }
.foot-col ul { display: flex; flex-direction: column; gap: 7px; }
.foot-col a { color: #a89ea2; }
.foot-col a:hover { color: #f9a8d4; }
.foot-about p { color: #8f8589; margin-bottom: 8px; }
.foot-dim { color: #7a7074 !important; font-size: 12.5px; }

.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; color: #7a7074; font-size: 12.5px; }

/* ============================== 响应式 ============================== */

@media (max-width: 900px) {
  .banner-inner { grid-template-columns: 1fr; gap: 26px; }
  .entry-row { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .item-link { grid-template-columns: 92px 1fr; gap: 16px; }
}

@media (max-width: 720px) {
  .notice-bar .shell { font-size: 12.5px; }
  .topbar-inner { flex-wrap: wrap; gap: 10px; }
  .brandmark-text i { display: none; }
  .menu-btn { display: block; }
  .topbar-buy { display: none; }

  .navbar {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin-left: 0;
    padding-bottom: 8px;
  }
  .navbar.is-open { display: flex; }
  .navbar a { background: var(--bg-tint); padding: 10px 12px; }
  .navbar a.on { box-shadow: inset 3px 0 0 var(--brand); border-radius: var(--r-xs); }

  .banner { padding: 32px 0 26px; }
  .block { padding: 34px 0; }
  .block-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .block-head h2 { font-size: 19px; }

  .entry-row { grid-template-columns: repeat(2, 1fr); }
  .entry { padding: 10px 12px; font-size: 13px; }

  .item-link { grid-template-columns: 1fr; gap: 6px; padding: 15px 2px; }
  .item-date { padding-top: 0; }
  .item-title { font-size: 15.5px; }

  .svc-grid { grid-template-columns: 1fr; }
  .catgrid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }

  .doc-head h1 { font-size: 20.5px; }
  .doc-body { font-size: 15.5px; }
  .doc-body h2 { font-size: 18px; }
  .doc-body .tbl { font-size: 13.5px; }
  .doc-body .tbl th, .doc-body .tbl td { padding: 9px 11px; }
  .docnav { grid-template-columns: 1fr; }

  .band-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .foot-bottom { flex-direction: column; gap: 6px; }
}

@media (max-width: 420px) {
  .entry-row { grid-template-columns: repeat(2, 1fr); }
  .notfound-code { font-size: 60px; }
}

@media print {
  .notice-bar, .topbar, .foot, .cta, .docnav, .doc-toc, .findbar, .risk-note { display: none; }
}
