/* 羊毛资讯 — 期刊风格：白纸、衬线刊名、藏青、双线刊头、期号与要目（与杂志的报纸风区分） */
:root {
  --ink: #191a1c;
  --muted: #6d6a63;
  --accent: #1e4f9c;
  --line: #ddd8cd;
  --paper: #fffef9;
  --box: #f7f4ec;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: Georgia, "Times New Roman", "Noto Serif SC", "Songti SC",
    "STSong", "SimSun", serif;
  font-size: 16.5px; line-height: 1.85;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* 刊头 */
.j-masthead { border-bottom: 4px double var(--ink); }
.j-masthead-in { max-width: 880px; margin: 0 auto; padding: 30px 20px 20px; text-align: center; }
.j-rule-top { border-top: 1px solid var(--ink); margin-bottom: 16px; }
.j-name { font-size: 40px; font-weight: 900; letter-spacing: .28em; margin: 0; text-indent: .28em; }
.j-name a { color: var(--ink); }
.j-name a:hover { text-decoration: none; }
.j-sub { margin: 8px 0 0; color: var(--muted); font-size: 14px; letter-spacing: .18em; }
.j-meta {
  margin: 14px 0 0; padding-top: 10px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--muted); letter-spacing: .06em;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.j-wrap { max-width: 880px; margin: 0 auto; padding: 8px 20px 6px; }

/* 目录（往期列表） */
.j-index-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 26px 0 6px; border-bottom: 2px solid var(--ink); padding-bottom: 6px;
}
.j-index-head h2, .j-index-head h1 { font-size: 20px; margin: 0; letter-spacing: .12em; }
.j-index-head span { color: var(--muted); font-size: 13px; }
.j-item { padding: 18px 0 16px; border-bottom: 1px solid var(--line); }
.j-item-meta {
  display: flex; gap: 14px; align-items: baseline; margin-bottom: 5px;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.j-no { color: var(--accent); font-weight: 700; font-size: 13.5px; letter-spacing: .05em; }
.j-date { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.j-item h3 { margin: 0 0 6px; font-size: 20px; line-height: 1.55; font-weight: 700; }
.j-item h3 a { color: var(--ink); }
.j-item h3 a:hover { color: var(--accent); text-decoration: none; }
.j-item p {
  margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.75;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.j-empty { color: var(--muted); padding: 28px 0; }

/* 文章页 */
.j-kicker {
  margin: 26px 0 8px; color: var(--accent); font-size: 13.5px; letter-spacing: .1em;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; font-weight: 600;
}
.j-title { font-size: 29px; line-height: 1.5; margin: 0 0 10px; font-weight: 900; }
.j-byline { color: var(--muted); font-size: 13px; margin: 0 0 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.j-toc { background: var(--box); border: 1px solid var(--line); padding: 16px 22px 12px; margin: 0 0 26px; }
.j-toc h4 { margin: 0 0 8px; font-size: 15px; letter-spacing: .2em; }
.j-toc ol { margin: 0; padding-left: 22px; }
.j-toc li { margin-bottom: 4px; font-size: 15px; }
.j-toc a { color: var(--ink); }
.j-toc a:hover { color: var(--accent); }
.j-body h2 {
  font-size: 20px; margin: 30px 0 10px; font-weight: 800; letter-spacing: .04em;
  border-bottom: 1px solid var(--line); padding-bottom: 5px;
}
.j-body p { margin: 0 0 13px; }
.j-body ul { margin: 0 0 14px; padding-left: 22px; }
.j-body li { margin-bottom: 9px; }
.j-body a { word-break: break-all; }
.j-back { margin: 10px 0 6px; font-size: 14.5px; }

/* 主题索引 / 上下期 / 分页（SEO 第二批新增组件） */
.j-topics {
  display: flex; gap: 6px 20px; flex-wrap: wrap; align-items: baseline;
  margin: 16px 0 2px; padding: 10px 0; border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.j-topics span {
  color: var(--muted); font-size: 12.5px; letter-spacing: .16em;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.j-topics a.on { color: var(--ink); font-weight: 700; }
.j-pn {
  display: flex; justify-content: space-between; gap: 10px 22px; flex-wrap: wrap;
  margin: 28px 0 2px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 14.5px;
}
.j-pn a { max-width: 46%; }
.j-pager {
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px; margin: 22px 0 8px; font-size: 14.5px;
}
.j-pager span {
  color: var(--muted); font-size: 13px;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.j-tgroup { padding: 16px 0 6px; border-bottom: 1px solid var(--line); }
.j-tgroup h3 {
  margin: 0 0 8px; font-size: 16.5px; font-weight: 700;
  display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap;
}
.j-tgroup h3 a { color: var(--ink); }
.j-tgroup h3 a:hover { color: var(--accent); text-decoration: none; }

/* 点赞条与读者数据（2026-11-06 新增） */
.j-like-bar {
  position: relative;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 0 0 24px; padding: 16px 18px;
  background: var(--box); border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
}
.j-like-btn {
  font: inherit; font-size: 19px; font-weight: 800; letter-spacing: .04em;
  color: #fff; background: var(--accent); border: none; cursor: pointer;
  padding: 10px 26px; border-radius: 6px;
  transition: transform .15s ease, background .25s ease, filter .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.j-like-btn:hover { filter: brightness(1.12); }
.j-like-btn:active { transform: scale(.94); }
.j-like-btn.liked {
  background: linear-gradient(135deg, #1e4f9c, #3a7bd5); color: #fff;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(30, 79, 156, .35);
}
.j-like-btn.pop { animation: j-pop .45s ease; }
@keyframes j-pop {
  0% { transform: scale(1); }
  35% { transform: scale(1.13) rotate(-1.5deg); }
  65% { transform: scale(.97); }
  100% { transform: scale(1); }
}
#j-like-count { display: inline-block; }
#j-like-count.bump { animation: j-bump .5s ease; }
@keyframes j-bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.45); }
  100% { transform: scale(1); }
}
.j-burst {
  position: absolute; left: 62px; top: 6px; width: 0; height: 0;
  pointer-events: none; z-index: 5;
}
.j-particle {
  position: absolute; left: 0; top: 0; line-height: 1;
  opacity: 0; animation: j-float 1.05s ease-out forwards;
}
@keyframes j-float {
  0% { opacity: 0; transform: translate(0, 6px) scale(.6) rotate(0deg); }
  15% { opacity: 1; }
  100% {
    opacity: 0;
    transform: translate(var(--dx, 0), -92px) scale(1.15) rotate(var(--rot, 0deg));
  }
}
.j-like-hint { font-size: 14.5px; color: var(--ink); transition: color .3s ease; }
.j-like-hint.thanks { color: var(--accent); font-weight: 700; }
.j-view-hint {
  margin-left: auto; font-size: 13px; color: var(--muted);
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.j-stats-cards { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 6px; }
.j-stat-card {
  flex: 1 1 140px; background: var(--box); border: 1px solid var(--line);
  padding: 14px 16px; text-align: center;
}
.j-stat-card b { display: block; font-size: 28px; color: var(--accent); }
.j-stat-card span { font-size: 13px; color: var(--muted); }
.j-stats-h { font-size: 18px; margin: 26px 0 8px; letter-spacing: .06em; }
.j-stats-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.j-stats-table th, .j-stats-table td {
  border-bottom: 1px solid var(--line); padding: 7px 8px; text-align: left;
  vertical-align: top;
}
.j-stats-table th { color: var(--muted); font-weight: 600; white-space: nowrap; }
.j-stats-url { word-break: break-all; }

.j-footer {
  max-width: 880px; margin: 26px auto 0; padding: 16px 20px 36px;
  border-top: 4px double var(--ink); color: var(--muted); font-size: 12.5px;
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
