/* =========================================================
   投流手记 · 内容门户
   白 / 墨 / 黄，三栏信息流
   ========================================================= */

:root {
  --hi:      #93BF55;
  --hi-deep: #7FA646;
  --hi-soft: #E8F4DA;
  --hi-pale: #D3F2DE;
  --hi-dark: #3A4535;

  --ink:   #1A1A1A;
  --ink-2: #3D3D3D;
  --ink-3: #7A7A7A;
  --ink-4: #A6A6A6;

  --line:   #E7EAE3;
  --line-2: #D6DACE;

  --bg:   #FFFFFF;
  --bg-2: #FAFBF8;
  --bg-3: #EFF2EA;

  --red: #A8443A;

  --sans:  "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
           "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif;
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  --mono:  "SF Mono", ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;

  --rail: 88px;
  --aside: 300px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, h5, p, ul, ol, li, figure, blockquote, dl, dd, table, form, details, summary {
  margin: 0; padding: 0;
}
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

::selection { background: var(--hi); color: #1A1A1A; }

.wrap {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* =========================================================
   顶部通知条
   ========================================================= */
.notice {
  background: #141414;
  color: #FFFFFF;
  font-size: 12.5px;
  letter-spacing: .02em;
}
.notice__in {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 34px;
}
.notice b {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.notice b::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--hi);
  border-radius: 50%;
}
.notice span { color: rgba(255, 255, 255, .72); }
.notice a {
  margin-left: auto;
  font-weight: 700;
  color: #FFFFFF;
  border-bottom: 1px solid #FFFFFF;
}

/* =========================================================
   页头
   ========================================================= */
.hd {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.hd__in {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: none;
}
.logo__mark {
  width: 26px; height: 26px;
  background: var(--hi);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: #1A1A1A;
  border-radius: 3px;
}
.logo__txt {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .04em;
}
.logo__sub {
  font-size: 10px;
  color: var(--ink-4);
  letter-spacing: .16em;
  border-left: 1px solid var(--line-2);
  padding-left: 10px;
  margin-left: 2px;
  text-transform: uppercase;
}

.hd__nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.hd__nav a {
  position: relative;
  font-size: 14.5px;
  color: var(--ink-2);
  padding: 4px 0;
  transition: color .16s;
}
.hd__nav a:hover { color: var(--ink); }
.hd__nav a.is-on { color: var(--ink); font-weight: 700; }
.hd__nav a.is-on::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -3px;
  transform: translateX(-50%);
  width: 18px; height: 3px;
  background: var(--hi);
  border-radius: 2px;
}

.hd__search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0;
  width: 260px;
  height: 34px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-2);
  transition: border-color .16s, background .16s;
}
.hd__search:focus-within { border-color: var(--ink); background: #fff; }
.hd__search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: none;
  padding: 0 12px;
  font-size: 13px;
}
.hd__search input::placeholder { color: var(--ink-4); }
.hd__search button {
  flex: none;
  height: 100%;
  padding: 0 14px;
  border: 0;
  background: var(--hi);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .16s;
}
.hd__search button:hover { background: var(--hi-deep); }

.hd__nav--right { gap: 22px; margin-left: 18px; flex: none; }
.hd__nav--right a { font-size: 13.5px; color: var(--ink-2); }
.hd__nav a.hd__cta {
  height: 34px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  background: var(--hi-dark);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  transition: background .16s;
}
.hd__nav a.hd__cta:hover { background: #2C3529; }
.hd__nav a.hd__cta::after { display: none; }

/* =========================================================
   三栏骨架
   ========================================================= */
.layout {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr) var(--aside);
  gap: 0 26px;
  padding-top: 22px;
  padding-bottom: 60px;
  align-items: start;
}

/* ---------- 左窄导航 ---------- */
.rail {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 2px;
}
.rail a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 12px 4px 10px;
  border-radius: 4px;
  color: var(--ink-3);
  transition: background .16s, color .16s;
}
.rail a:hover { background: var(--bg-3); color: var(--ink); }
.rail a.is-on { background: var(--hi); color: #1A1A1A; font-weight: 700; }
.rail svg { width: 20px; height: 20px; }
.rail span { font-size: 12px; letter-spacing: .02em; }

.rail__foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rail__foot a {
  flex-direction: row;
  justify-content: center;
  gap: 4px;
  padding: 7px 2px;
  font-size: 11px;
  color: var(--ink-3);
  border: 1px solid var(--line-2);
  border-radius: 3px;
}
.rail__foot a:hover { border-color: var(--ink); color: var(--ink); background: none; }

/* ---------- 主栏 ---------- */
.main { min-width: 0; }

/* 详情页收窄正文栏，避免行宽过长 */
body[data-page="article"] .main > * { max-width: 786px; }

/* =========================================================
   焦点区
   ========================================================= */
.focus {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}

.focus__main {
  position: relative;
  display: block;
  min-height: 340px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--hi-dark);
  color: #fff;
  padding: 28px 30px 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform .3s;
}
.focus__main::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(147,191,85,.24) 0%, rgba(255,212,0,0) 55%),
    linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}
.focus__main > * { position: relative; z-index: 1; }

.focus__flag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 9px;
  background: var(--hi);
  color: #1A1A1A;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 2px;
  margin-bottom: 14px;
}
.focus__main h1 {
  font-size: 30px;
  line-height: 1.36;
  font-weight: 700;
  letter-spacing: .01em;
  max-width: 20em;
  text-wrap: balance;
}
.focus__main p {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.85;
  color: rgba(255,255,255,.72);
  max-width: 34em;
}
.focus__main .focus__meta {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: rgba(255,255,255,.55);
}
.focus__main .focus__meta b { color: rgba(255,255,255,.9); font-weight: 400; }

.focus__side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}
.fmini {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 20px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  transition: border-color .2s, background .2s;
}
.fmini:hover { border-color: var(--ink); background: #fff; }
.fmini__tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #1A1A1A;
  background: var(--hi);
  padding: 2px 7px;
  border-radius: 2px;
}
.fmini h2 {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 700;
  text-wrap: balance;
}
.fmini__meta {
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--ink-4);
  display: flex;
  gap: 10px;
}

/* =========================================================
   板块头
   ========================================================= */
.sec {
  margin-bottom: 30px;
}
.sec__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 2px;
}
.sec__head h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
}
.sec__head h2 i {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--hi);
  margin-right: 8px;
  vertical-align: 1px;
  font-style: normal;
}
.sec__more {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--ink-3);
  transition: color .16s;
}
.sec__more:hover { color: var(--ink); }

/* =========================================================
   文章卡（横版）
   ========================================================= */
.ac {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.ac:hover { background: #FCFCFC; }

.ac__thumb {
  position: relative;
  align-self: start;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-3);
}
.ac__thumb .cv { position: absolute; inset: 0; }

.ac__body { min-width: 0; display: flex; flex-direction: column; }
.ac__body h3 {
  font-size: 17px;
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: .005em;
  text-wrap: balance;
  transition: color .16s;
}
.ac:hover h3 { color: #000; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--hi); }
.ac__body p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ac__meta {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 12px;
  color: var(--ink-4);
}
.ac__meta .who { color: var(--ink-3); }
.ac__meta .views { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; }

/* 黄底标签 */
.tg {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 2px;
  background: var(--hi);
  color: #1A1A1A;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}
.tg--l { background: var(--bg-3); color: var(--ink-2); font-weight: 400; }
.tg--red { background: #F3E6E4; color: var(--red); }

/* =========================================================
   封面块（纯 CSS，不用外部图）
   ========================================================= */
.cv {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--hi-dark);
  color: #fff;
}
.cv::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 1px, transparent 1px 9px);
}
.cv b {
  position: relative;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: .06em;
  text-align: center;
  padding: 0 12px;
}
.cv i {
  position: absolute;
  left: 8px; top: 7px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 10px;
  letter-spacing: .1em;
  opacity: .5;
}
.cv--y { background: var(--hi); color: #1A1A1A; }
.cv--y::before { background-image: repeating-linear-gradient(45deg, rgba(0,0,0,.06) 0 1px, transparent 1px 9px); }
.cv--w { background: #F2F2F2; color: #1A1A1A; }
.cv--w::before { background-image: repeating-linear-gradient(45deg, rgba(0,0,0,.05) 0 1px, transparent 1px 9px); }
.cv--r { background: #A8443A; color: #fff; }
.cv--g { background: #2B314E; color: #E9E4D8; }

/* 详情页大封面：杂志式左对齐 */
.cv--hero {
  aspect-ratio: 16 / 6;
  border-radius: 6px;
  margin: 22px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 26px 32px 28px;
}
.cv--hero b {
  font-size: 34px;
  line-height: 1.3;
  letter-spacing: .09em;
  padding: 0;
  text-align: left;
}
.cv--hero i {
  left: 32px; top: 24px;
  font-size: 11px;
  letter-spacing: .16em;
  opacity: .45;
}
.cv--hero em {
  position: absolute;
  right: 32px;
  top: 24px;
  font-style: normal;
  font-size: 11px;
  letter-spacing: .16em;
  opacity: .42;
}

/* =========================================================
   专题
   ========================================================= */
.topics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.topic {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 168px;
  padding: 16px 18px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--hi-dark);
  color: #fff;
  transition: transform .3s;
}
.topic:hover { transform: translateY(-2px); }
.topic::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.75) 100%);
}
.topic > * { position: relative; z-index: 1; }
.topic h3 {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.5;
  text-wrap: balance;
}
.topic span {
  margin-top: 6px;
  font-size: 11.5px;
  color: rgba(255,255,255,.65);
}
.topic--y { background: var(--hi); color: #1A1A1A; }
.topic--y::after { background: none; }
.topic--y h3 { font-weight: 700; }
.topic--y span { color: rgba(20,26,20,.78); }

/* =========================================================
   右侧栏
   ========================================================= */
.aside {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.box {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}
.box__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.box__head h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
}
.box__head h3 i {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--hi);
  margin-right: 7px;
  vertical-align: 1.5px;
  font-style: normal;
}
.box__head a,
.box__head span {
  margin-left: auto;
  font-size: 12px;
  color: var(--ink-4);
}
.box__head a:hover { color: var(--ink); }
.box__body { padding: 6px 14px 14px; }

/* 排行 */
.rank li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.rank li:last-child { border-bottom: 0; }
.rank .no {
  flex: none;
  width: 16px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-4);
  line-height: 1.7;
}
.rank li:nth-child(-n+3) .no { color: #1A1A1A; }
.rank li:nth-child(-n+3) .no::after {
  content: "";
  display: block;
  width: 14px; height: 2px;
  background: var(--hi);
  margin-top: 1px;
}
.rank a {
  font-size: 13px;
  line-height: 1.65;
  text-wrap: pretty;
  transition: color .16s;
}
.rank a:hover { color: #000; text-decoration: underline; text-decoration-color: var(--hi); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* 快讯 */
.news li {
  position: relative;
  padding: 9px 0 9px 14px;
  border-bottom: 1px dashed var(--line);
}
.news li:last-child { border-bottom: 0; }
.news li::before {
  content: "";
  position: absolute;
  left: 0; top: 16px;
  width: 5px; height: 5px;
  background: var(--hi);
  border: 1px solid #1A1A1A;
  border-radius: 50%;
}
.news p { font-size: 12.5px; line-height: 1.7; color: var(--ink-2); }
.news time {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-4);
}

/* 标签云 */
.tags { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.tags a {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 3px;
  background: var(--bg-3);
  font-size: 12.5px;
  color: var(--ink-2);
  transition: background .16s, color .16s;
}
.tags a:hover { background: var(--hi); color: #1A1A1A; font-weight: 700; }

/* 作者 */
.maker { display: flex; align-items: center; gap: 11px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.maker:last-child { border-bottom: 0; }
.maker__av {
  width: 38px; height: 38px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  background: var(--hi-dark);
  color: var(--hi-pale);
}
.maker__txt { min-width: 0; }
.maker__txt b { display: block; font-size: 13.5px; font-weight: 700; }
.maker__txt span { display: block; font-size: 11.5px; color: var(--ink-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.maker button {
  margin-left: auto;
  flex: none;
  height: 26px;
  padding: 0 11px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: none;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background .16s, color .16s;
}
.maker button:hover { background: var(--hi); border-color: var(--hi); }
.maker button.is-on {
  background: var(--bg-3);
  border-color: var(--line-2);
  color: var(--ink-3);
  font-weight: 400;
}


/* =========================================================
   列表页
   ========================================================= */
.pagehd {
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 4px;
  margin-bottom: 0;
}
.pagehd h1 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: .01em;
  padding: 4px 0 10px;
}
.pagehd p {
  padding-bottom: 14px;
  font-size: 13.5px;
  color: var(--ink-3);
  max-width: 60em;
}

/* 二级导航：滚动时吸附在页头下方 */
.subnav {
  position: sticky;
  top: 64px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.subnav__set { display: contents; }
.subnav__set[hidden] { display: none; }
.subnav button {
  height: 30px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: none;
  font-size: 13.5px;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .15s;
}
.subnav button:hover { background: var(--bg-3); }
.subnav button.is-on {
  background: var(--hi);
  color: #141414;
  font-weight: 700;
  border-color: var(--hi);
}
.subnav button em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 11px;
  opacity: .5;
  margin-left: 4px;
}
.subnav .sort {
  margin-left: auto;
  display: flex;
  gap: 14px;
  font-size: 12.5px;
  color: var(--ink-4);
}
.subnav .sort a,
.subnav .sort button {
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  font-size: 12.5px;
  color: var(--ink-4);
  cursor: pointer;
  transition: color .16s;
}
.subnav .sort a:hover,
.subnav .sort button:hover { color: var(--ink); }
.subnav .sort .on { color: var(--ink); font-weight: 700; }

/* 热点：日期分组的事件流 */
.hot__day {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 24px 0 10px;
  border-bottom: 2px solid var(--ink);
}
.hot__day h2 { font-size: 17px; font-weight: 700; }
.hot__day span { font-size: 12px; color: var(--ink-4); }

.hot__item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  transition: background .18s;
}
.hot__item:hover { background: #FCFDFA; }
.hot__item time {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-4);
}
.hot__item h3 {
  font-size: 14.5px;
  line-height: 1.62;
  font-weight: 400;
  text-wrap: pretty;
}
.hot__item:hover h3 {
  color: #000;
  text-decoration: underline;
  text-decoration-color: var(--hi);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.hot__item.is-hidden { display: none; }
.ac.is-hidden { display: none; }

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 30px 0 4px;
}
.pager a, .pager span {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  transition: all .16s;
}
.pager a:hover { border-color: var(--ink); }
.pager .on { background: var(--hi); border-color: var(--hi); font-weight: 700; }
.pager .next { padding: 0 14px; }
.pager span.pager__note {
  border: 0;
  height: auto;
  min-width: 0;
  padding: 0;
  font-size: 12px;
  color: var(--ink-4);
}

.empty {
  padding: 70px 0;
  text-align: center;
  font-size: 13px;
  color: var(--ink-4);
}

/* =========================================================
   详情页
   ========================================================= */
.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-4);
  padding: 4px 0 14px;
}
.crumb a:hover { color: var(--ink); }
.crumb .sep { opacity: .5; }

.art h1 {
  font-size: 32px;
  line-height: 1.42;
  font-weight: 700;
  letter-spacing: .01em;
  text-wrap: balance;
}
.art__by {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin: 16px 0 0;
  font-size: 12.5px;
  color: var(--ink-4);
}
.art__by .who { color: var(--ink-2); display: inline-flex; align-items: center; gap: 7px; }
.art__by .who i {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #1A1A1A;
  color: var(--hi);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
}

/* 正文 */
.prose {
  margin-top: 26px;
  font-size: 15.5px;
  line-height: 1.95;
  color: #262626;
}
.prose > p { margin-bottom: 20px; }
.prose > p.lead {
  font-size: 16.5px;
  color: #1A1A1A;
  line-height: 1.9;
  padding-left: 14px;
  border-left: 3px solid var(--hi);
  margin-bottom: 24px;
}
.prose h2 {
  margin: 34px 0 14px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: #1A1A1A;
  scroll-margin-top: 90px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.prose h2::before {
  content: "";
  width: 4px;
  height: 17px;
  background: var(--hi);
  flex: none;
  border-radius: 1px;
}
.prose h3 {
  margin: 26px 0 10px;
  font-size: 16px;
  font-weight: 700;
}
.prose strong { font-weight: 700; color: #111; }
.prose em {
  font-style: normal;
  background: linear-gradient(transparent 58%, var(--hi-soft) 58%);
  padding: 0 2px;
}

.prose ul, .prose ol { margin: 0 0 20px; }
.prose li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: .82em;
  width: 5px; height: 5px;
  background: var(--hi);
  border: 1px solid #1A1A1A;
}
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; padding-left: 24px; }
.prose ol li::before {
  content: counter(n) ".";
  position: absolute;
  left: 0; top: 0;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-3);
}

.prose blockquote {
  margin: 26px 0;
  padding: 16px 18px;
  background: var(--bg-2);
  border-left: 3px solid var(--hi);
  border-radius: 0 4px 4px 0;
  font-size: 16px;
  line-height: 1.9;
  color: #1A1A1A;
  font-weight: 500;
}
.prose blockquote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-4);
}

/* 图 */
.fig { margin: 26px 0; }
.fig__box {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px 20px 16px;
  background: #FCFCFC;
}
.fig figcaption {
  margin-top: 9px;
  font-size: 12px;
  color: var(--ink-4);
}

.bars {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  height: 168px;
  padding-bottom: 22px;
}
.bars::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 22px;
  height: 1px;
  background: var(--line-2);
  pointer-events: none;
}
.bars .col {
  position: relative;
  flex: 1;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.bars .col::before {
  content: "";
  display: block;
  width: 44px;
  max-width: 86%;
  height: var(--h, 40px);
  background: #DCDCDC;
  border-radius: 2px 2px 0 0;
}
.bars .col.hi::before { background: var(--hi); }
.bars .col b {
  position: absolute;
  left: 0; right: 0;
  bottom: calc(var(--h, 40px) + 6px);
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-2);
  line-height: 1;
}
.bars .col span {
  position: absolute;
  left: 0; right: 0;
  bottom: -19px;
  text-align: center;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-4);
  line-height: 1;
}

/* 表 */
.tbl { margin: 26px 0 10px; overflow-x: auto; }
.tbl table { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.tbl caption {
  caption-side: top;
  text-align: left;
  font-size: 12px;
  color: var(--ink-4);
  padding-bottom: 8px;
}
.tbl th {
  text-align: left;
  font-weight: 700;
  font-size: 12.5px;
  color: var(--ink-2);
  padding: 9px 12px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.tbl td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
}
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.num {
  font-family: var(--mono);
  font-size: 12.5px;
  color: #1A1A1A;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tbl th:last-child, .tbl td:last-child { text-align: right; }

/* 脚注 */
.fn {
  font-family: var(--mono);
  font-size: 9px;
  vertical-align: super;
  color: var(--ink-3);
  margin-left: 1px;
}
.notes {
  margin-top: 30px;
  padding: 14px 16px;
  background: var(--bg-2);
  border-radius: 4px;
}
.notes h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.notes li {
  position: relative;
  padding-left: 16px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--ink-3);
  margin-bottom: 5px;
  counter-increment: n;
}
.notes ol { counter-reset: n; }
.notes li::before {
  content: counter(n) ".";
  position: absolute;
  left: 0;
  font-family: var(--mono);
  color: var(--ink-4);
}

/* 文末标签与操作 */
.art__tags {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.art__tags strong {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--ink-4);
  margin-right: 2px;
}
.art__tags .tg { height: 26px; padding: 0 11px; font-weight: 400; }

.art__act {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}
.art__act button {
  height: 38px;
  padding: 0 20px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: all .16s;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.art__act button:hover { border-color: var(--ink); }
.art__act button.like { background: var(--hi); border-color: var(--hi); font-weight: 700; }
.art__act button.like:hover { background: var(--hi-deep); border-color: var(--hi-deep); }

.art__src {
  margin-top: 22px;
  padding: 12px 14px;
  background: var(--bg-2);
  border-radius: 4px;
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.8;
}

/* 相关阅读 */
.relgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 22px;
}
.rel {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.rel b {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.6;
  transition: color .16s;
}
.rel:hover b { text-decoration: underline; text-decoration-color: var(--hi); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.rel span { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-4); }

/* 详情页目录 */
.toc {
  margin: 22px 0 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 16px;
  background: var(--bg-2);
}
.toc h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.toc ol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  counter-reset: t;
}
.toc li { counter-increment: t; }
.toc a {
  display: block;
  padding: 5px 0;
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.6;
  transition: color .16s;
}
.toc a:hover, .toc a.is-on { color: #1A1A1A; font-weight: 700; }
.toc a::before {
  content: counter(t, decimal-leading-zero) " ";
  font-family: var(--mono);
  color: var(--ink-4);
  font-weight: 400;
  margin-right: 4px;
}

/* 阅读进度 */
.bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--hi);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 70;
}

/* =========================================================
   页脚
   ========================================================= */
.ft {
  background: var(--hi-dark);
  color: #FFFFFF;
  padding: 40px 0 28px;
  margin-top: 40px;
}
.ft__in {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}
.ft h4 {
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
}
.ft p { font-size: 12.5px; line-height: 1.9; }
.ft li { margin-bottom: 7px; }
.ft a,
.ft li span { font-size: 12.5px; transition: color .16s; }
.ft a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
.ft__bot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 18px;
  font-size: 11.5px;
  color: #FFFFFF;
}

/* =========================================================
   工具导航
   ========================================================= */
.toolgroup { margin-bottom: 44px; }
.toolgroup__title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 700;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.toolgroup__title i {
  width: 4px;
  height: 16px;
  background: var(--hi);
  border-radius: 1px;
  flex: none;
}
.toolgroup__title span {
  margin-left: auto;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-4);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 18px;
}

.tool {
  display: flex;
  gap: 12px;
  padding: 13px 12px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: background .18s, border-color .18s;
}
.tool:hover {
  background: var(--bg-2);
  border-color: var(--line);
}
.tool.is-hidden { display: none; }

.tool__ico {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--ink-3);
}
.tool__ico svg {
  width: 21px;
  height: 21px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tool__ico--g  { background: #3A4535; }
.tool__ico--y  { background: #93BF55; }
.tool__ico--b  { background: #3F6B8F; }
.tool__ico--o  { background: #B5763A; }
.tool__ico--r  { background: #A8443A; }
.tool__ico--p  { background: #6B5B8F; }
.tool__ico--c  { background: #3F8A82; }

.tool__body { min-width: 0; }
.tool h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tool:hover h3 { text-decoration: underline; text-decoration-color: var(--hi); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.tool p {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tool__badge {
  flex: none;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .02em;
  color: var(--ink-4);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  padding: 0 4px;
  line-height: 15px;
}
.tool__badge--dl {
  color: #4E6B33;
  border-color: #C6DDA6;
  background: var(--hi-soft);
}

/* 下载提示 */
.tool__hint {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  color: var(--ink-4);
}

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1300px) {
  .layout { grid-template-columns: minmax(0, 1fr) var(--aside); }
  .rail { display: none; }
  .tools-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; }
  .focus { grid-template-columns: 1fr; }
  .focus__side { grid-template-rows: auto; grid-template-columns: 1fr 1fr; }
  .focus__main { min-height: 300px; }
  .hd__nav { display: none; }
  .hd__nav--right { display: flex; margin-left: 16px; }
  .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hd__nav--right a:not(.hd__cta) { display: none; }
  .hd__nav a.hd__cta { height: 32px; padding: 0 14px; font-size: 13px; }
  .topics { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .wrap { padding-inline: 14px; }
  .hd { position: static; }
  .hd__in {
    height: auto;
    padding: 12px 0;
    gap: 10px;
    flex-wrap: wrap;
  }
  .logo__sub { display: none; }
  .logo__txt { font-size: 16px; }
  .hd__search {
    order: 3;
    width: 100%;
    flex: none;
    height: 34px;
    margin-left: 0;
  }
  .hd__nav--right { margin-left: auto; }
  .hd__nav a.hd__cta { height: 32px; padding: 0 13px; font-size: 12.5px; }
  .notice__in { height: 30px; font-size: 11.5px; }
  .notice span { display: none; }

  .layout { padding-top: 14px; }
  .focus__main { min-height: 260px; padding: 20px; }
  .focus__main h1 { font-size: 21px; }
  .focus__main p { font-size: 12.5px; }
  .focus__side { grid-template-columns: 1fr; }
  .fmini { padding: 14px 16px; }

  .sec__head h2 { font-size: 16px; }
  .ac { grid-template-columns: 118px minmax(0, 1fr); gap: 12px; padding: 14px 0; }
  .ac__body h3 { font-size: 15px; line-height: 1.55; }
  .ac__body p { display: none; }
  .ac__meta { font-size: 11px; gap: 6px 10px; }
  .ac__meta .views { display: none; }

  .topics { grid-template-columns: 1fr; }
  .topic { min-height: 120px; }

  .pagehd h1 { font-size: 26px; }
  .subnav { top: 0; }
  .subnav button { padding: 0 10px; font-size: 13px; }
  .subnav .sort { display: none; }
  .hot__item { grid-template-columns: 44px minmax(0, 1fr); }
  .hot__item .tg { display: none; }
  .tools-grid { grid-template-columns: 1fr; }
  .tool { padding: 11px 6px; }
  .tool__ico { width: 38px; height: 38px; }
  .tool__ico svg { width: 19px; height: 19px; }

  .art h1 { font-size: 23px; line-height: 1.45; }
  .prose { font-size: 15px; }
  .prose h2 { font-size: 18px; }
  .toc ol { grid-template-columns: 1fr; }
  .relgrid { grid-template-columns: 1fr; }
  .art__act button { flex: 1; justify-content: center; }

  .ft__in { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}

/* ===== 第 182 轮 · 动态内容适配（不改设计令牌，只处理长短不定的数据） ===== */
.rail a span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11.5px}
@media (max-width: 760px){
  .notice__in{gap:8px}
  .notice__in span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
  .notice__in a{flex:none}
  .ac__thumb{width:118px}
}
