/* 黑客生意经 · 报纸版式，与黑客书架 (hackerbooks.qiaomu.ai) 同一套设计语言：黑白、衬线标题、1px 细线、直角、无卡片阴影。
   基础部分（变量、顶栏、侧栏、筛选、按钮、页脚、弹窗）取自黑客书架 app.css，下半部分是案例页专用样式。 */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f5f3;
  --text: #121212;
  --text-2: #4a4a4a;
  --muted: #5f5f5f;
  --faint: #b4b4b4;
  --border: #e2e2e2;
  --rule: #121212;
  /* 弱分割线（最佳实践：亮色背景 8-12% 黑，如 Material rgba(0,0,0,.12)、Ant #f0f0f0、Tailwind gray-200） */
  --divider: #e5e5e2;
  --accent: #121212;
  --accent-ink: #ffffff;
  --accent-soft: #f5f5f3;
  --focus: #121212;
  --mark: transparent;
  /* reader stance: ink for recommends, mid grey for critical, light grey for plain mentions */
  --st-r: #121212; --st-n: #c9c9c6; --st-c: #767676;
  /* trend lines stay distinguishable but muted */
  --tr-1: #121212; --tr-2: #8a5a2b; --tr-3: #3d6b5a; --tr-4: #6b6b9a; --tr-5: #9a4a5a;
  --shadow: none;
  --topbar-h: 60px;
  --side-w: 232px;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --serif: "HP Serif", "HP Serif SC", "Noto Serif SC", "Songti SC", "STSong", serif;
  --latin: "Newsreader", "HP Serif", "HP Serif SC", "Songti SC", Georgia, serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #121212; --surface: #121212; --surface-2: #1c1c1c; --text: #ececea; --text-2: #b9b9b6; --muted: #8a8a87; --faint: #555553;
    --border: #2c2c2c; --rule: #ececea; --divider: #2c2c2c; --accent: #ececea; --accent-ink: #121212; --accent-soft: #1c1c1c; --focus: #ececea;
    --st-r: #ececea; --st-n: #444442; --st-c: #8a8a87;
    --tr-1: #ececea; --tr-2: #d29a62; --tr-3: #7fb39e; --tr-4: #a3a3d6; --tr-5: #d68a9a;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #121212; --surface: #121212; --surface-2: #1c1c1c; --text: #ececea; --text-2: #b9b9b6; --muted: #8a8a87; --faint: #555553;
  --border: #2c2c2c; --rule: #ececea; --divider: #2c2c2c; --accent: #ececea; --accent-ink: #121212; --accent-soft: #1c1c1c; --focus: #ececea;
  --st-r: #ececea; --st-n: #444442; --st-c: #8a8a87;
  --tr-1: #ececea; --tr-2: #d29a62; --tr-3: #7fb39e; --tr-4: #a3a3d6; --tr-5: #d68a9a;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-padding-top: calc(var(--topbar-h) + 12px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 15.5px/1.75 var(--sans); text-autospace: normal; text-spacing-trim: space-first; line-break: strict; font-kerning: normal; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.35; margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 100; top: 8px; left: 8px; background: var(--text); color: var(--bg); padding: 6px 12px; }
.noscript { padding: 24px 16px; }
kbd { font: 13px var(--latin); color: var(--muted); border: 1px solid var(--border); padding: 0 7px; line-height: 20px; }

/* ---- 顶栏：刊头 ---- */
.topbar { position: sticky; top: 0; z-index: 30; height: var(--topbar-h); display: flex; align-items: center; gap: 6px; padding: 0 24px; background: var(--bg); border-bottom: 1px solid var(--border); }
.icon-btn { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: transparent; color: var(--text-2); cursor: pointer; transition: color 160ms var(--ease); }
.icon-btn:hover { color: var(--text); }
.icon-btn svg, .search-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.logo { display: flex; align-items: center; flex: none; margin: 0 14px 0 4px; }
.logo:hover { text-decoration: none; }
.logo-text { font: 700 24px/1 var(--serif); letter-spacing: 0.06em; }
/* 搜索框平时无下划线，聚焦时出现黑色下划线（用透明 border 占位避免 1px 跳动） */
.search { flex: 1; max-width: 520px; margin: 0 auto; display: flex; align-items: center; min-width: 0; border-bottom: 1px solid transparent; }
.search:focus-within { border-bottom-color: var(--text); }
.search input { flex: 1; min-width: 0; height: 36px; padding: 0 4px; font: inherit; font-size: 15.5px; color: var(--text); background: transparent; border: 0; border-radius: 0; outline: none; }
.search input::placeholder { color: var(--faint); }
.search input::-webkit-search-cancel-button { display: none; }
.search-btn { width: 36px; height: 36px; border: 0; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.search-btn:hover { color: var(--text); }
.i-moon { display: none; }
:root[data-theme="dark"] .i-sun { display: none; }
:root[data-theme="dark"] .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun { display: none; }
  :root:not([data-theme="light"]) .i-moon { display: block; }
}

/* ---- 布局与侧栏：栏目目录 ---- */
.layout { display: flex; align-items: flex-start; min-height: calc(100vh - var(--topbar-h) - 120px); }
.sidebar { position: sticky; top: var(--topbar-h); flex: none; width: var(--side-w); max-height: calc(100vh - var(--topbar-h)); overflow-y: auto; padding: 22px 16px 28px 24px; border-right: 1px solid var(--border); scrollbar-width: thin; }
.nav { list-style: none; margin: 0; padding: 0; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--text-2); font-size: 15px; font-weight: 500; transition: color 160ms var(--ease); }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav a:focus-visible { outline: none; }
.nav a.active { color: var(--text); font-weight: 700; }
.nav a svg, .nav-more svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--muted); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; transition: stroke 160ms var(--ease); }
.nav a:hover svg, .nav a.active svg, .nav-more:hover svg { stroke: var(--text); }
.nav-more { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 0; border: 0; background: none; color: var(--text-2); font: 500 15px var(--sans); cursor: pointer; text-align: left; transition: color 160ms var(--ease); }
.nav-more:hover { color: var(--text); }
.nav-more:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.nav-more .chev { width: 14px; height: 14px; margin-left: auto; transition: transform 200ms var(--ease); }
.nav-more[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-extra { margin-top: 2px; }
.nav.topics a { justify-content: space-between; font-size: 14px; font-weight: 400; padding: 4px 0; }
.nav.topics a.active { font-weight: 700; }
.nav.topics .count { color: var(--muted); font: 13px var(--latin); }
/* 分割线在「关于本站」与「话题分类」正中间：上方间距 = 导航项 padding 6 + margin 26 = 32 */
.nav-h { margin: 26px 0 8px; padding-top: 32px; border-top: 1px solid var(--divider); font: 15px/1 var(--latin); letter-spacing: 0.04em; color: var(--muted); }
.main, main { flex: 1; min-width: 0; padding: 32px 40px 56px; }
body.side-collapsed .sidebar { display: none; }

.scrim { display: none; }
@media (max-width: 899px) {
  .topbar { padding: 0 10px; }
  .sidebar { position: fixed; z-index: 40; top: var(--topbar-h); bottom: 0; left: 0; background: var(--bg); transform: translateX(-102%); transition: transform .22s var(--ease); border-right: 1px solid var(--rule); }
  body.drawer-open .sidebar { transform: none; }
  body.drawer-open .scrim { display: block; position: fixed; inset: var(--topbar-h) 0 0 0; z-index: 35; background: rgba(0, 0, 0, .45); }
  .main, main { padding: 22px 16px 44px; }
  .logo { margin: 0 6px 0 0; }
  .logo-text { font-size: 19px; }
  .hide-sm { display: none; }
  .search { max-width: none; }
}
@media (max-width: 420px) { #reward-btn { display: none; } }

/* ---- 页头 / 筛选：文字切换，不用胶囊 ---- */
.page-h { margin-bottom: 6px; padding-top: 10px; }
.page-h h1 { font: 700 clamp(30px, 3.4vw, 42px)/1.25 var(--serif); letter-spacing: 0.005em; }
.sub { color: var(--text-2); margin: 12px 0 0; max-width: 40em; font-size: 16px; line-height: 1.8; }
.sub a { color: var(--text); font-weight: 500; text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 0.22em; }
.sub a:hover { text-decoration-color: currentColor; }
.chips { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin: 16px 0 4px; }
.chips .lbl { color: var(--muted); font-size: 14px; margin-right: 2px; }
.chip { display: inline-block; padding: 2px 0; border: 0; background: none; font-size: 14px; color: var(--text-2); transition: color 160ms var(--ease); }
.sentinel { padding: 24px 0 8px; color: var(--muted); font-size: 13.5px; text-align: center; }
.sentinel.end { padding-bottom: 0; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border: 1px solid var(--rule); background: var(--bg); color: var(--text); font: 600 14px var(--sans); cursor: pointer; transition: background 160ms var(--ease), color 160ms var(--ease); }
.btn:hover { background: var(--surface-2); text-decoration: none; }
.btn.primary { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn.primary:hover { background: var(--text-2); color: var(--bg); }
.sec { margin-top: 48px; max-width: 920px; }
.sec h2 { font: 700 26px var(--serif); letter-spacing: 0.005em; padding-top: 16px; border-top: 1px solid var(--rule); margin-bottom: 14px; }
.chart { width: 100%; max-width: 680px; height: auto; }
.chart text, .tr-bump text, .tr-cmpchart text { font: 12px var(--latin); fill: var(--muted); }
.chart rect.bar { fill: var(--text); }
.chart line { stroke: var(--border); }
.chart line[stroke-dasharray] { stroke: var(--muted); }
.comments { list-style: none; margin: 0; padding: 0; }
.comment { padding: 16px 0; border-bottom: 1px solid var(--border); }
.comment-h { font-size: 13px; color: var(--muted); margin-bottom: 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.comment-h a { color: var(--text-2); font: 14px var(--latin); }
.comment p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: 16.5px/1.65 var(--latin); color: var(--text); }
.comment mark { background: none; color: inherit; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
details.orig { margin: 8px 0 0; max-width: 40em; }
details.orig summary { cursor: pointer; color: var(--muted); font-size: 13.5px; list-style: none; text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 0.25em; transition: color 160ms var(--ease); }
details.orig summary::-webkit-details-marker { display: none; }
details.orig summary::before { content: "▸ "; font-size: 11px; }
details.orig[open] summary::before { content: "▾ "; }
details.orig summary:hover { color: var(--text); }
details.orig[open] summary { margin-bottom: 2px; }
details.orig .desc { margin: 6px 0 0; font-size: 15px; color: var(--text-2); }
/* ---- 关于页 / 长文 ---- */
.prose { max-width: 40em; }
.prose h1 { font: 700 clamp(30px, 3.4vw, 42px)/1.25 var(--serif); letter-spacing: 0.005em; padding-top: 18px; border-top: 1px solid var(--rule); margin-bottom: 16px; }
.prose h2 { font: 700 22px var(--serif); margin: 32px 0 10px; }
.prose p, .prose li { color: var(--text-2); font-size: 16px; line-height: 1.85; }
.prose a { color: var(--text); font-weight: 500; text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 0.22em; }
.prose a:hover { text-decoration-color: currentColor; }
.prose ol, .prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }

/* ---- 页脚 ---- */
.footer { border-top: 1px solid var(--divider); padding: 26px 40px 56px; color: var(--muted); font-size: 13.5px; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 18px 56px; max-width: 1100px; }
.foot-about { flex: 1 1 380px; max-width: 46em; }
.foot-about p { margin: 0 0 6px; }
.foot-about a, .foot-links a { color: var(--text-2); font-weight: 500; }
.foot-about a:hover, .foot-links a:hover { color: var(--text); }
.foot-brand { font: 700 18px var(--serif); color: var(--text); letter-spacing: 0.04em; }
.foot-brand span { color: var(--muted); font: 400 13px var(--latin); margin-left: 8px; letter-spacing: 0; }
.foot-links { display: flex; flex-direction: column; gap: 6px; }
#footer-meta { margin: 16px 0 0; font: 13px var(--latin); }
@media (max-width: 899px) { .footer { padding: 22px 16px 44px; } }

/* ---- 弹窗：直角、墨线 ---- */
dialog { border: 1px solid var(--rule); background: var(--bg); color: var(--text); padding: 26px 30px 22px; max-width: min(92vw, 380px); }
dialog::backdrop { background: rgba(0, 0, 0, .5); }
dialog h2 { font: 700 22px var(--serif); letter-spacing: 0.005em; margin: 0 0 8px; }
dialog img { display: block; margin: 14px auto; background: #fff; }
.qr-note { color: var(--text-2); font-size: 14px; margin: 0; }
.qr-links { text-align: center; font-size: 14px; }
.qr-links a { color: var(--text); font-weight: 500; }
.keys { margin: 10px 0 16px; }
.keys div { display: flex; align-items: baseline; gap: 12px; margin: 8px 0; }
.keys dt { flex: none; min-width: 72px; }
.keys dd { margin: 0; color: var(--text-2); font-size: 14px; }
@media (pointer: coarse) { .icon-btn { width: 44px; height: 44px; } .nav a, .nav-more { padding: 9px 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
@media print { .topbar, .sidebar, .footer { display: none; } }
.totop { position: fixed; z-index: 40; right: 22px; bottom: 26px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--border); background: var(--bg); color: var(--text); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(8px); transition: all 200ms var(--ease); }
.totop.show { opacity: 1; pointer-events: auto; transform: none; }
.totop:hover { background: var(--surface-2); }
.totop svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip:hover { color: var(--text); text-decoration: none; }
.chip.on { color: var(--text); font-weight: 700; }
.chip.tag { color: var(--text-2); border: 1px solid var(--border); padding: 0 8px; font-size: 13px; }
.chip.tag:hover { color: var(--text); border-color: var(--text); }
.empty { padding: 40px 0; color: var(--muted); text-align: center; }
.empty h2 { font: 700 22px var(--serif); color: var(--text); margin-bottom: 8px; }
.skel { padding: 56px 0; color: var(--muted); text-align: center; }

/* ==================== 黑客生意经专用 ==================== */
.num { font-family: var(--latin); font-variant-numeric: tabular-nums; }

/* ---- 首页刊头 ---- */
.mast { padding: 12px 0 26px; border-bottom: 1px solid var(--rule); max-width: 1180px; }
.mast h1 { font: 700 clamp(34px, 4.4vw, 56px)/1.15 var(--serif); letter-spacing: 0.01em; }
.mast .lede { margin: 14px 0 0; max-width: 40em; color: var(--text-2); font-size: 17.5px; line-height: 1.85; }
.figures { display: flex; flex-wrap: wrap; gap: 14px 44px; margin: 22px 0 0; }
.figures div b { display: block; font: 400 34px/1.1 var(--latin); }
.figures div span { color: var(--muted); font-size: 14px; }
.home-sec { margin-top: 48px; max-width: 1180px; }
.home-sec > header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--rule); }
.home-sec h2 { font: 700 26px/1.35 var(--serif); letter-spacing: 0; }
.home-sec .more { flex: none; font-size: 14px; color: var(--text-2); }
.home-sec .note { margin: 6px 0 0; color: var(--text-2); font-size: 15px; }

/* ---- 案例列表：两栏细线分隔，不用卡片 ---- */
.cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr)); gap: 0 56px; margin-top: 10px; max-width: 1180px; }
.case { display: block; padding: 22px 0 24px; border-bottom: 1px solid var(--divider); min-width: 0; }
.case:hover { text-decoration: none; }
.case .kick { margin: 0 0 8px; color: var(--muted); font-size: 13px; line-height: 1.5; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.case .kick b { color: var(--text); font-weight: 600; }
.case h3 { font: 700 21px/1.4 var(--serif); letter-spacing: 0; text-decoration-line: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 0.22em; transition: text-decoration-color 160ms var(--ease); }
.case:hover h3 { text-decoration-color: currentColor; }
.case .one { margin: 8px 0 0; color: var(--text-2); font-size: 15.5px; line-height: 1.75; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.case .meta { margin: 12px 0 0; color: var(--muted); font-size: 13.5px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; }
.case .rev { color: var(--text); font: 600 17px var(--latin); font-variant-numeric: tabular-nums; }
.case .rev small { font: 12.5px var(--sans); color: var(--muted); margin-left: 2px; }
.case .en { margin: 3px 0 0; color: var(--muted); font: 13.5px/1.4 var(--latin); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cases.rank { counter-reset: rk; }
.cases.rank .case { position: relative; padding-left: 46px; }
.cases.rank .case::before { counter-increment: rk; content: counter(rk); position: absolute; left: 0; top: 16px; font: 400 26px/1 var(--latin); color: var(--faint); }
.count-line { margin: 18px 0 0; color: var(--muted); font-size: 13.5px; }
.count-line b { color: var(--text); font: 500 15px var(--latin); }

/* ---- 筛选面板 ---- */
.filters { margin-top: 8px; max-width: 1180px; }
.filters .chips { margin: 8px 0 0; }
.filters .reset { font-size: 13.5px; color: var(--muted); margin-left: 4px; }

/* ---- 详情页 ---- */
.art { max-width: 720px; padding-top: 12px; }
.art .kick { color: var(--muted); font-size: 13.5px; margin: 0 0 10px; }
.art .kick a { color: var(--text-2); }
.art h1 { font: 700 clamp(28px, 3.4vw, 40px)/1.3 var(--serif); letter-spacing: 0.005em; }
.art .en { margin: 10px 0 0; color: var(--muted); font: 17px/1.45 var(--latin); overflow-wrap: anywhere; }
.art .lede { margin: 18px 0 0; font-size: 18.5px; line-height: 1.75; color: var(--text); font-weight: 500; }
.art .byline { margin: 14px 0 0; color: var(--muted); font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.art .byline a { color: var(--text-2); }
.art .links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 20px 0 0; }
.art .links .tl { font-weight: 500; font-size: 14px; color: var(--text); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 0.25em; background: none; border: 0; padding: 4px 0; cursor: pointer; font-family: var(--sans); }
.art .links .tl:hover { text-decoration-color: currentColor; }
.art .links .tl.on { font-weight: 700; }
.art .sec { margin-top: 40px; }
.art .sec h2 { font-size: 22px; }
.deep h3 { font: 700 18px/1.4 var(--serif); letter-spacing: 0.01em; margin: 22px 0 6px; }
.deep h3:first-of-type { margin-top: 4px; }
.deep p { margin: 0; font-size: 17px; line-height: 1.95; }
.art .sum { font-size: 17px; line-height: 1.95; color: var(--text); margin: 0; }
.nums { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 0 28px; margin: 0; padding: 0; list-style: none; }
.nums li { padding: 12px 0 14px; border-bottom: 1px solid var(--divider); min-width: 0; }
.nums b { display: block; font: 400 24px/1.2 var(--latin); overflow-wrap: anywhere; }
.nums span { display: block; margin-top: 4px; color: var(--text-2); font-size: 14.5px; line-height: 1.6; }
.nums details { margin-top: 6px; }
.nums summary { cursor: pointer; color: var(--muted); font-size: 13px; list-style: none; }
.nums summary::-webkit-details-marker { display: none; }
.nums summary::before { content: "▸ "; font-size: 10px; }
.nums details[open] summary::before { content: "▾ "; }
.nums q { display: block; margin-top: 4px; font: 14px/1.55 var(--latin); color: var(--text-2); quotes: "“" "”"; overflow-wrap: anywhere; }
.lessons { margin: 0; padding: 0; list-style: none; counter-reset: ls; }
.lessons li { position: relative; padding: 12px 0 12px 38px; border-bottom: 1px solid var(--divider); font-size: 16.5px; line-height: 1.85; }
.lessons li::before { counter-increment: ls; content: counter(ls); position: absolute; left: 0; top: 8px; font: 400 22px/1.2 var(--latin); color: var(--muted); }
.quote { padding: 16px 0; border-bottom: 1px solid var(--divider); }
.quote .zh { margin: 0; font-size: 17px; line-height: 1.9; }
.quote .src { margin: 8px 0 0; font: 14.5px/1.6 var(--latin); color: var(--muted); overflow-wrap: anywhere; }
.quote .who { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.quote .who a { color: var(--text-2); font-family: var(--latin); }
.voices { margin: 0; padding: 0; list-style: none; }
.voice { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 4px 18px; padding: 14px 0; border-bottom: 1px solid var(--divider); }
.voice .v-rev { font: 400 22px/1.2 var(--latin); }
.voice .v-rev small { display: block; color: var(--muted); font: 12.5px var(--sans); margin-top: 2px; }
.voice .v-rev .u, .case .rev small { font: 12.5px var(--sans); color: var(--muted); margin-left: 2px; }
.voice .v-by a[href^="/"] { font-family: var(--sans); }
.voice .v-zh { margin: 0; font-size: 16px; line-height: 1.8; }
.voice .v-by { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.voice .v-by a { color: var(--text-2); font-family: var(--latin); }
.voice details { margin-top: 4px; }
.voice summary { cursor: pointer; color: var(--muted); font-size: 13px; }
.voice q { display: block; margin-top: 4px; font: 14px/1.55 var(--latin); color: var(--text-2); overflow-wrap: anywhere; }
.tags { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0; }
.tags .lbl { color: var(--muted); font-size: 13px; width: 100%; margin-top: 6px; }
.disclaim { margin-top: 28px; color: var(--muted); font-size: 13px; }

/* ---- 数据洞察 ---- */
.ins { max-width: 1000px; }
.ins .sec { max-width: 1000px; }
.ins .sec .note { margin: -6px 0 14px; color: var(--muted); font-size: 14px; max-width: 46em; }
.bars { margin: 0; padding: 0; list-style: none; }
.bars li { display: grid; grid-template-columns: 9.5em minmax(0, 1fr) 7.5em; align-items: center; gap: 12px; padding: 5px 0; font-size: 14px; }
.bars li a { color: var(--text); }
.bars .bar { height: 10px; background: var(--surface-2); }
.bars .bar i { display: block; height: 100%; background: var(--text); }
.bars .v { font: 14px var(--latin); color: var(--text-2); text-align: right; white-space: nowrap; }
.bars .v small { color: var(--muted); font: 12px var(--sans); }
.svgchart { width: 100%; height: auto; display: block; }
.svgchart text { font: 12px var(--latin); fill: var(--muted); }
.svgchart .ax { stroke: var(--border); }
.svgchart .b1 { fill: var(--text); }
.svgchart .b2 { fill: var(--st-c); }
.svgchart .b3 { fill: var(--st-n); }
.svgchart .ln { fill: none; stroke: var(--text); stroke-width: 2; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; }
.heat { border-collapse: collapse; font-size: 13px; width: 100%; }
.heat th { font-weight: 400; color: var(--muted); padding: 4px 6px; text-align: left; white-space: nowrap; }
.heat th.y { font: 12px var(--latin); text-align: center; }
.heat td { height: 26px; border: 1px solid var(--bg); text-align: center; font: 11.5px var(--latin); }
.heat-wrap { overflow-x: auto; }
.tip { color: var(--muted); font-size: 13px; }

/* ---- 搜索 / 收藏按钮 ---- */
.save-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; vertical-align: -3px; margin-right: 4px; }
.save-btn.on svg { fill: currentColor; }

/* ---- 手机 ---- */
@media (max-width: 640px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; gap: 0 16px; margin-right: -16px; padding-right: 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .chips::-webkit-scrollbar { display: none; }
  .chips .lbl { flex: none; position: sticky; left: 0; z-index: 1; background: var(--bg); padding-right: 10px; margin-right: -6px; }
  .chip { flex: none; }
  .tags { flex-wrap: wrap; }
  .mast .lede { font-size: 16px; }
  .figures { gap: 12px 28px; }
  .figures div b { font-size: 28px; }
  .case h3 { font-size: 18px; }
  .art .lede { font-size: 17px; }
  .voice { grid-template-columns: 1fr; }
  .bars li { grid-template-columns: 6.5em minmax(0, 1fr) 5.5em; gap: 8px; font-size: 13px; }
  .svgchart text { font-size: 20px; }
  .cases.rank .case { padding-left: 38px; }
}
@media (pointer: coarse) {
  .chip { padding: 9px 0; }
  .chip.tag { padding: 6px 10px; }
  .logo { padding: 10px 0; }
}
