/* ============================================================
   天天降价网 · newdays.cn
   纸感底色 + 松绿主色 + 木色点缀，数字用等宽风格
   ============================================================ */

:root {
  --paper: #f6f2e8;
  --paper-2: #fffdf8;
  --ink: #1c2723;
  --ink-2: #46534d;
  --ink-3: #7c867f;
  --pine: #14513c;
  --pine-d: #0d3a2b;
  --pine-l: #e6efe9;
  --wood: #a9743c;
  --wood-l: #f4e8d7;
  --line: #ddd4c2;
  --line-2: #ece6d8;
  --up: #c0392b;
  --down: #1f8a4c;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", monospace;
  --shadow: 0 1px 2px rgba(28, 39, 35, .04), 0 12px 28px -18px rgba(28, 39, 35, .28);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--pine); text-decoration: none; }
a:hover { color: var(--wood); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  letter-spacing: .01em;
}

p { margin: 0; }

ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; width: 100%; }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: -999px; top: 0; z-index: 99;
  background: var(--pine); color: #fff; padding: 8px 16px;
}
.skip:focus { left: 8px; top: 8px; }

.muted { color: var(--ink-3); }
.mono { font-family: var(--mono); }

/* ---------------- 页头 ---------------- */

.site-head {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 30;
}

.head-in {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.brand img { width: 200px; height: auto; }
.brand-tag {
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: .12em;
  border-left: 1px solid var(--line);
  padding-left: 14px;
  line-height: 1.5;
  max-width: 96px;
}

.site-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.site-nav a {
  font-size: 15px;
  color: var(--ink-2);
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
}
.site-nav a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--pine);
  transition: right .22s ease;
}
.site-nav a:hover::after, .site-nav a.on::after { right: 0; }
.site-nav a.on { color: var(--pine); font-weight: 600; }

.head-search {
  display: flex; align-items: center;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 2px;
  padding: 0 4px 0 10px;
  height: 34px;
  flex: 0 1 200px;
}
.head-search input {
  border: 0; background: transparent; outline: none;
  font: inherit; font-size: 13px; color: var(--ink);
  width: 100%; min-width: 0;
}
.head-search input::placeholder { color: var(--ink-3); }
.head-search button {
  border: 0; background: transparent; color: var(--ink-2);
  cursor: pointer; padding: 4px 6px; display: grid; place-items: center;
}
.head-search button:hover { color: var(--pine); }

.nav-toggle {
  display: none;
  width: 40px; height: 36px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 9px 10px;
  cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 1.5px; background: var(--ink); }

.announce { background: var(--pine); color: #e9f0eb; }
.announce-in {
  display: flex; align-items: flex-start; gap: 12px;
  padding-top: 9px; padding-bottom: 9px;
}
.announce-tag {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: .14em;
  border: 1px solid rgba(255, 255, 255, .45);
  padding: 1px 7px;
  margin-top: 3px;
  border-radius: 2px;
}
.announce p {
  font-size: 12.5px;
  line-height: 1.7;
  color: #dfeae2;
}

/* ---------------- 通用区块 ---------------- */

.site-main { display: block; }

.sec { padding-top: clamp(38px, 4.4vw, 62px); padding-bottom: clamp(38px, 4.4vw, 62px); }

.sec-head { margin-bottom: 24px; }
.sec-head h2 {
  font-size: clamp(21px, 2.2vw, 27px);
  display: flex; align-items: baseline; gap: 12px;
}
.sec-head h2::before {
  content: "";
  width: 4px; height: 20px;
  background: var(--wood);
  display: inline-block;
  transform: translateY(2px);
}
.sec-head p {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 14.5px;
  max-width: 760px;
}
.sec-foot { margin-top: 18px; font-size: 14px; }
.sec-foot a { border-bottom: 1px solid var(--line); padding-bottom: 2px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 42px; padding: 0 22px;
  font-size: 14.5px; font-family: var(--sans);
  border-radius: 2px; border: 1px solid transparent;
  cursor: pointer; transition: all .18s ease;
  white-space: nowrap;
}
.btn-main { background: var(--pine); color: #fff; }
.btn-main:hover { background: var(--pine-d); color: #fff; }
.btn-ghost { border-color: var(--pine); color: var(--pine); }
.btn-ghost:hover { background: var(--pine); color: #fff; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13.5px; }

.kicker {
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow {
  font-size: 12px; letter-spacing: .16em; color: var(--wood);
}

.dlt { font-family: var(--mono); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.dlt.up { color: var(--up); }
.dlt.down { color: var(--down); }
.dlt.flat { color: var(--ink-3); }

/* ---------------- 首页 hero ---------------- */

.hero {
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(169, 116, 60, .10) 0%, rgba(169, 116, 60, 0) 55%),
    linear-gradient(180deg, var(--paper-2) 0%, rgba(255, 253, 248, .55) 100%);
  border-bottom: 1px solid var(--line-2);
}
.hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 48px;
  padding-top: clamp(36px, 4.5vw, 62px);
  padding-bottom: clamp(36px, 4.5vw, 56px);
  align-items: start;
}
.hero-main > * { min-width: 0; }
.hero h1 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.22;
  margin-top: 12px;
  letter-spacing: .01em;
}
.hero-sub {
  margin-top: 16px;
  font-size: 15.5px;
  color: var(--ink-2);
  max-width: 620px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 32px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
}
.hero-facts > div { background: var(--paper-2); padding: 12px 14px; }
.hero-facts dt { font-size: 12px; color: var(--ink-3); letter-spacing: .06em; }
.hero-facts dd {
  font-family: var(--serif); font-size: 24px; font-weight: 700;
  color: var(--pine); margin: 2px 0 0;
}

.hero-board {
  background: var(--paper-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 20px 22px 18px;
  min-width: 0;
}
.board-top { display: flex; justify-content: space-between; align-items: baseline; }
.board-label { font-size: 13px; letter-spacing: .12em; color: var(--ink-2); }
.board-date { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.board-value { display: flex; align-items: baseline; gap: 12px; margin-top: 8px; }
.board-value strong {
  font-family: var(--mono); font-size: 40px; line-height: 1;
  letter-spacing: -.02em; color: var(--pine-d);
}
.board-bars {
  display: flex; align-items: flex-end; gap: 4px;
  height: 92px; margin-top: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.board-bars .bar {
  flex: 1 1 0; min-width: 0;
  background: linear-gradient(180deg, var(--pine) 0%, rgba(20, 81, 60, .55) 100%);
  border-radius: 1px 1px 0 0;
}
.board-bars .bar:last-child { background: var(--wood); }
.board-axis {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 10.5px; color: var(--ink-3);
  margin-top: 6px;
}
.board-note { font-size: 12px; color: var(--ink-3); margin-top: 12px; line-height: 1.6; }
.board-link { display: inline-block; margin-top: 12px; font-size: 13.5px; }

/* ---------------- 指数快览 ---------------- */

.sec-quick { padding-top: 0; margin-top: -1px; }
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
  border-top: 0;
}
.quick {
  background: var(--paper-2);
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 2px;
  transition: background .18s ease;
}
.quick:hover { background: var(--pine-l); }
.quick-name { font-size: 12.5px; color: var(--ink-2); letter-spacing: .06em; }
.quick strong {
  font-family: var(--mono); font-size: 26px; font-weight: 600;
  color: var(--ink); line-height: 1.2;
}

/* ---------------- 涨跌榜 ---------------- */

.rank-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.rank-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 18px 20px;
  min-width: 0;
}
.rank-title { font-size: 16px; display: flex; align-items: center; gap: 8px; }
.rank-title::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.rank-title.up { color: var(--up); }
.rank-title.down { color: var(--down); }
.rank-list { margin-top: 12px; }
.rank-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px; align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line-2);
  font-size: 14px;
}
.rank-list li:last-child { border-bottom: 0; }
.rank-list a { color: var(--ink); }
.rank-list a:hover { color: var(--pine); }
.rank-price { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }

/* ---------------- 材种卡 ---------------- */

.sp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sp-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 16px 16px 14px;
  display: flex; flex-direction: column; gap: 4px;
  min-width: 0;
  position: relative;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.sp-card::after {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--wood); opacity: 0; transition: opacity .18s;
}
.sp-card:hover {
  transform: translateY(-2px);
  border-color: var(--wood);
  box-shadow: var(--shadow);
  color: inherit;
}
.sp-card:hover::after { opacity: 1; }
.sp-name { font-family: var(--serif); font-size: 16.5px; font-weight: 700; color: var(--ink); }
.sp-alias { font-size: 11.5px; color: var(--ink-3); letter-spacing: .04em; }
.sp-price { font-family: var(--mono); font-size: 13.5px; color: var(--pine); margin-top: 4px; }
.sp-price em { font-style: normal; font-size: 11px; color: var(--ink-3); }
.sp-meta { font-size: 11.5px; color: var(--ink-3); }
.sp-delta { font-size: 11.5px; color: var(--ink-3); }
.sp-delta em { font-style: normal; margin-right: 5px; }

/* ---------------- 头条 / 最新 ---------------- */

.lead-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 36px; }
.lead { border-left: 3px solid var(--wood); padding-left: 22px; min-width: 0; align-self: start; }
.lead h2 { font-size: clamp(24px, 2.6vw, 32px); margin-top: 10px; line-height: 1.32; }
.lead h2 a { color: var(--ink); }
.lead h2 a:hover { color: var(--pine); }
.lead-dek { margin-top: 14px; color: var(--ink-2); font-size: 15px; }
.lead-read { margin-top: 18px; font-size: 13px; color: var(--ink-3); }
.lead-read a { margin-left: 8px; }

.second { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.second-item { border-top: 1px solid var(--line); padding-top: 16px; }
.second-item h3 { font-size: 18px; margin-top: 6px; line-height: 1.45; }
.second-item h3 a { color: var(--ink); }
.second-item p:last-child { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); }

.post-list { border-top: 1px solid var(--line); }
.post-list li {
  display: flex; align-items: baseline; gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-2);
  min-width: 0;
}
.post-title { font-size: 16px; color: var(--ink); flex: 1 1 auto; min-width: 0; }
.post-list li:hover .post-title { color: var(--pine); }
.post-tag {
  flex: 0 0 auto; font-size: 11.5px; color: var(--ink-3);
  border: 1px solid var(--line); padding: 0 7px; border-radius: 2px;
}
.post-list time {
  flex: 0 0 auto; font-family: var(--mono); font-size: 12px; color: var(--ink-3);
}

.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.guide {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-top: 2px solid var(--pine);
  padding: 18px 20px 16px;
  min-width: 0;
  display: flex; flex-direction: column;
}
.guide h3 { font-size: 18px; margin-top: 8px; line-height: 1.45; }
.guide h3 a { color: var(--ink); }
.guide h3 a:hover { color: var(--pine); }
.guide > p { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); flex: 1 1 auto; }
.guide .more { margin-top: 14px; font-size: 13px; }

/* ---------------- 工具条 ---------------- */

.tool-band {
  background: var(--pine-d);
  color: #e8f0ea;
  padding-top: clamp(38px, 4.4vw, 58px);
  padding-bottom: clamp(38px, 4.4vw, 58px);
  margin-top: 8px;
}
.tool-band .sec-head h2 { color: #fff; }
.tool-band .sec-head h2::before { background: var(--wood); }
.tool-band .sec-head p { color: #b9c9bf; }
.tool-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.tool-card {
  border: 1px solid rgba(255, 255, 255, .18);
  padding: 16px 16px 18px;
  display: flex; flex-direction: column; gap: 6px;
  min-width: 0;
  transition: background .18s ease, border-color .18s ease;
}
.tool-card:hover { background: rgba(255, 255, 255, .07); border-color: var(--wood); color: #fff; }
.tool-card strong { font-size: 15px; color: #fff; font-family: var(--serif); }
.tool-card span { font-size: 12px; color: #a9bdb1; line-height: 1.55; }

/* ---------------- FAQ ---------------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  cursor: pointer; padding: 15px 30px 15px 0;
  font-family: var(--serif); font-size: 16.5px; font-weight: 600;
  position: relative; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 13px;
  font-family: var(--mono); font-size: 18px; color: var(--wood);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 40px 16px 0; color: var(--ink-2); font-size: 14.5px; }

/* ---------------- CTA ---------------- */

.cta { padding-bottom: clamp(48px, 5vw, 72px); }
.cta-in {
  background: var(--wood-l);
  border: 1px solid #e3cfb4;
  padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
}
.cta-in h2 { font-size: 23px; color: #5c3d1d; }
.cta-in p { margin-top: 6px; font-size: 14px; color: #7a5a34; max-width: 620px; }

/* ---------------- 页脚 ---------------- */

.site-foot { background: #12211b; color: #b9c6bf; margin-top: 20px; }
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, .8fr));
  gap: 36px;
  padding-top: 44px; padding-bottom: 34px;
}
.foot-brand img {
  width: 180px; background: #fff; padding: 4px 8px; border-radius: 2px;
}
.foot-brand p { margin-top: 14px; font-size: 12.5px; line-height: 1.8; color: #93a49b; max-width: 380px; }
.foot-note { color: #7d8f86 !important; }
.foot-col h3 { font-size: 13px; letter-spacing: .14em; color: #e6eee9; font-family: var(--sans); font-weight: 600; }
.foot-col ul { margin-top: 12px; }
.foot-col li { margin-bottom: 8px; }
.foot-col a { color: #a9bab1; font-size: 13px; }
.foot-col a:hover { color: #fff; }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 16px; padding-bottom: 22px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 12px; color: #7f9188;
}
.foot-bottom a { color: #a2b3aa; }

/* ---------------- 页面头 / 面包屑 ---------------- */

.page-head { padding-top: 26px; padding-bottom: 22px; }
.crumbs { font-size: 12.5px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); }
.crumbs .sep { margin: 0 7px; color: var(--line); }
.crumbs .cur { color: var(--ink-3); }
.page-head h1 {
  font-size: clamp(26px, 3vw, 36px);
  margin-top: 14px;
}
.page-lead {
  margin-top: 12px; font-size: 15px; color: var(--ink-2); max-width: 820px;
}
.page-intro {
  margin-top: 8px; font-size: 13.5px; color: var(--ink-3);
  border-left: 2px solid var(--wood); padding-left: 12px;
}

/* ---------------- 行情页 ---------------- */

.brief {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.brief-main { padding: 22px 24px; min-width: 0; }
.brief-date { font-family: var(--mono); font-size: 12px; color: var(--wood); letter-spacing: .06em; }
.brief h2 { font-size: clamp(20px, 2.2vw, 26px); margin-top: 8px; }
.brief-main > p:last-child { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); }
.brief-side {
  background: var(--pine-l);
  border-left: 1px solid var(--line);
  padding: 22px 22px;
  min-width: 0;
}
.brief-label { font-size: 11.5px; letter-spacing: .14em; color: var(--pine); }
.brief-side p { margin-top: 8px; font-size: 13.5px; color: #2f4a3e; }

.idx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.idx-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 16px 18px 14px;
  min-width: 0;
}
.idx-card header { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.idx-card h3 { font-size: 15px; }
.idx-val { font-family: var(--mono); font-size: 21px; font-weight: 600; color: var(--pine-d); }
.idx-delta { font-size: 12px; margin-top: 4px; }
.idx-bars {
  display: flex; align-items: flex-end; gap: 3px;
  height: 58px; margin-top: 14px;
  border-bottom: 1px solid var(--line-2); padding-bottom: 2px;
}
.idx-bars span {
  flex: 1 1 0; min-width: 0;
  background: rgba(20, 81, 60, .55);
}
.idx-bars span:last-child { background: var(--wood); }
.idx-note { margin-top: 10px; font-size: 11.5px; color: var(--ink-3); line-height: 1.6; }

.table-tools {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px; flex-wrap: wrap;
}
.table-tools label { font-size: 13px; color: var(--ink-2); }
.table-tools input {
  flex: 1 1 240px; max-width: 360px; min-width: 0;
  height: 36px; border: 1px solid var(--line); background: var(--paper-2);
  padding: 0 12px; font: inherit; font-size: 13.5px; border-radius: 2px;
  outline: none;
}
.table-tools input:focus { border-color: var(--pine); }
.table-hint { font-size: 12px; color: var(--ink-3); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--paper-2); -webkit-overflow-scrolling: touch; }
.price-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 720px; }
.price-table th, .price-table td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.price-table thead th {
  background: var(--pine);
  color: #e8f0ea; font-weight: 500; font-size: 12.5px; letter-spacing: .04em;
  border-bottom: 0; white-space: nowrap;
}
.price-table tbody th { font-weight: 600; white-space: nowrap; }
.price-table tbody tr:hover { background: #faf7ef; }
.price-table .num { text-align: right; font-family: var(--mono); white-space: nowrap; }
.price-table .price { color: var(--pine-d); font-weight: 600; }
.price-table .price em { font-style: normal; font-size: 10.5px; color: var(--ink-3); margin-left: 2px; font-weight: 400; }
.price-table .specs { color: var(--ink-2); font-size: 12.5px; }
.table-note { margin-top: 10px; font-size: 12px; color: var(--ink-3); line-height: 1.7; }

/* ---------------- 材种列表 ---------------- */

.sp-list { border-top: 1px solid var(--line); }
.sp-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-2);
  align-items: start;
}
.sp-row:hover { background: rgba(255, 253, 248, .7); }
.sp-row-main { min-width: 0; }
.sp-row h2 { font-size: 19px; color: var(--ink); }
.sp-row:hover h2 { color: var(--pine); }
.sp-row-alias { font-size: 12px; color: var(--ink-3); margin-top: 3px; letter-spacing: .02em; }
.sp-row-sum { font-size: 13.5px; color: var(--ink-2); margin-top: 7px; }
.sp-row-data {
  display: flex; flex-direction: column; gap: 3px; align-items: flex-end;
  font-family: var(--mono); font-size: 12.5px; min-width: 0;
}
.sp-row-price { color: var(--pine); font-size: 14px; font-weight: 600; }
.sp-row-price em { font-style: normal; font-size: 10.5px; color: var(--ink-3); font-weight: 400; }
.sp-row-density { color: var(--ink-3); }
.sp-row-delta { }

.scene-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.scene {
  background: var(--paper-2); border: 1px solid var(--line);
  padding: 16px 18px; min-width: 0;
}
.scene h3 { font-size: 15px; color: var(--pine); }
.scene ul { margin-top: 10px; }
.scene li {
  display: flex; justify-content: space-between; gap: 8px;
  font-size: 13px; padding: 5px 0; border-bottom: 1px dashed var(--line-2);
}
.scene li:last-child { border-bottom: 0; }
.scene li span { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); white-space: nowrap; }

/* ---------------- 材种详情 ---------------- */

.sp-head {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px; align-items: start;
  padding-bottom: 26px; border-bottom: 1px solid var(--line);
}
.sp-head h1 { font-size: clamp(26px, 3vw, 38px); margin-top: 8px; }
.sp-summary { margin-top: 12px; font-size: 15px; color: var(--ink-2); max-width: 760px; }
.sp-quote {
  background: var(--paper-2); border: 1px solid var(--line);
  border-top: 3px solid var(--wood);
  padding: 16px 18px; min-width: 0;
}
.sp-quote-label { font-size: 11.5px; letter-spacing: .1em; color: var(--ink-3); }
.sp-quote-value {
  font-family: var(--mono); font-size: 20px; font-weight: 600; color: var(--pine-d);
  margin-top: 4px; line-height: 1.35;
}
.sp-quote-value em { font-style: normal; font-size: 11px; color: var(--ink-3); font-weight: 400; margin-left: 3px; }
.sp-quote-delta { margin: 6px 0 12px; display: flex; gap: 14px; }
.sp-quote-delta em { font-style: normal; color: var(--ink-3); font-size: 11.5px; margin-right: 3px; }

.sp-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px; padding-top: 28px;
}
.sp-main { min-width: 0; }
.sp-aside { min-width: 0; }

.spec-box {
  background: var(--paper-2); border: 1px solid var(--line);
  padding: 18px 18px 16px;
}
.spec-box h2 { font-size: 15px; letter-spacing: .04em; }
.spec-dl { margin-top: 12px; }
.spec-dl > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--line-2); }
.spec-dl dt { font-size: 12px; color: var(--ink-3); }
.spec-dl dd { font-size: 13px; color: var(--ink); }
.spec-box h3 { font-size: 12.5px; color: var(--ink-3); margin-top: 14px; letter-spacing: .06em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.chips span {
  font-family: var(--mono); font-size: 11.5px;
  border: 1px solid var(--line); background: var(--paper);
  padding: 1px 7px; border-radius: 2px; color: var(--ink-2);
}

.pc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.pc-grid section { border: 1px solid var(--line); background: var(--paper-2); padding: 16px 18px; min-width: 0; }
.pc-grid h2 { font-size: 15px; }
.pros h2 { color: var(--down); }
.cons h2 { color: var(--up); }
.pc-grid ul { margin-top: 10px; }
.pc-grid li { position: relative; padding-left: 16px; font-size: 13.5px; color: var(--ink-2); margin-bottom: 7px; }
.pc-grid li::before { content: ""; position: absolute; left: 0; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.pros li::before { background: var(--down); }
.cons li::before { background: var(--up); }

.tips { margin-top: 22px; border-left: 3px solid var(--wood); padding: 4px 0 4px 18px; }
.tips h2 { font-size: 16px; }
.tips ol { margin-top: 10px; counter-reset: t; }
.tips li { counter-increment: t; position: relative; padding-left: 26px; font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
.tips li::before {
  content: counter(t); position: absolute; left: 0; top: 2px;
  font-family: var(--mono); font-size: 11px; color: #fff; background: var(--wood);
  width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%;
}

.sp-mini { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.sp-mini a {
  border: 1px solid var(--line); background: var(--paper-2);
  padding: 14px 14px; display: flex; flex-direction: column; gap: 3px;
  min-width: 0;
}
.sp-mini a:hover { border-color: var(--wood); }
.sp-mini strong { font-family: var(--serif); font-size: 14.5px; color: var(--ink); }
.sp-mini span { font-family: var(--mono); font-size: 12px; color: var(--pine); }
.sp-mini em { font-style: normal; font-size: 11px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------- 文章页 ---------------- */

.art-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  gap: 42px; padding-top: 6px; padding-bottom: 20px;
}
.art-main { min-width: 0; }
.art-head h1 { font-size: clamp(25px, 3vw, 36px); margin-top: 8px; line-height: 1.32; }
.art-dek {
  margin-top: 14px; font-size: 16px; color: var(--ink-2);
  border-left: 2px solid var(--wood); padding-left: 14px; line-height: 1.7;
}
.art-meta { margin: 16px 0 22px; font-size: 12.5px; color: var(--ink-3); font-family: var(--mono); }
.dot { margin: 0 8px; color: var(--line); }

.art-body { font-size: 16px; line-height: 1.9; color: #26332d; }
.art-body > * + * { margin-top: 18px; }
.art-body h2 {
  font-size: clamp(19px, 2vw, 22px);
  margin-top: 34px; padding-top: 18px;
  border-top: 1px solid var(--line-2);
  scroll-margin-top: 20px;
}
.art-body h3 { font-size: 17px; margin-top: 24px; }
.art-body p { color: #2d3a34; }
.art-body a { border-bottom: 1px solid rgba(20, 81, 60, .3); }
.art-body ul, .art-body ol { padding-left: 22px; }
.art-body li { list-style: disc; margin: 6px 0; }
.art-body ol li { list-style: decimal; }
.art-body strong { color: var(--pine-d); }
.art-body blockquote {
  margin: 22px 0; padding: 14px 18px;
  background: var(--pine-l); border-left: 3px solid var(--pine);
  color: #2f4a3e; font-size: 15px;
}
.art-body table { width: 100%; border-collapse: collapse; font-size: 14px; }
.art-body th, .art-body td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.art-body th { background: var(--pine-l); }

.art-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.art-nav a {
  border: 1px solid var(--line); background: var(--paper-2);
  padding: 14px 16px; font-size: 14px; color: var(--ink);
  display: block; min-width: 0;
}
.art-nav a:hover { border-color: var(--wood); color: var(--pine); }
.art-nav span { display: block; font-size: 11.5px; color: var(--ink-3); margin-bottom: 3px; letter-spacing: .08em; }
.art-next { text-align: right; }

.art-aside { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.toc { background: var(--paper-2); border: 1px solid var(--line); padding: 16px 18px; }
.toc h2 { font-size: 14px; letter-spacing: .06em; color: var(--ink-2); }
.toc ol { margin-top: 10px; counter-reset: s; }
.toc li { counter-increment: s; font-size: 13px; padding: 5px 0 5px 22px; position: relative; line-height: 1.5; }
.toc li::before {
  content: counter(s); position: absolute; left: 0; top: 5px;
  font-family: var(--mono); font-size: 10.5px; color: var(--ink-3);
}
.toc a { color: var(--ink-2); }
.toc a:hover { color: var(--pine); }

.aside-card { background: var(--paper-2); border: 1px solid var(--line); padding: 16px 18px; }
.aside-card h2 { font-size: 14px; color: var(--ink-2); letter-spacing: .04em; }
.aside-card p { margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.aside-card .btn { margin-top: 12px; }
.aside-list { margin-top: 10px; }
.aside-list li { font-size: 13px; padding: 6px 0; border-bottom: 1px dashed var(--line-2); line-height: 1.55; }
.aside-list li:last-child { border-bottom: 0; }

/* ---------------- 频道页 ---------------- */

.ch-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
.ch-main { min-width: 0; }
.ch-list { border-top: 1px solid var(--line); }
.ch-list > li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.ch-num { font-family: var(--mono); font-size: 22px; color: var(--line); line-height: 1.2; }
.ch-item { min-width: 0; }
.ch-item h2 { font-size: 20px; margin-top: 5px; }
.ch-item h2 a { color: var(--ink); }
.ch-item h2 a:hover { color: var(--pine); }
.ch-dek { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.ch-aside { min-width: 0; display: flex; flex-direction: column; gap: 18px; }

.pager { display: flex; gap: 8px; margin-top: 26px; flex-wrap: wrap; }
.pg {
  min-width: 36px; height: 36px; padding: 0 12px;
  border: 1px solid var(--line); background: var(--paper-2);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-family: var(--mono); color: var(--ink-2);
}
.pg:hover { border-color: var(--pine); color: var(--pine); }
.pg.on { background: var(--pine); border-color: var(--pine); color: #fff; }

.empty { padding: 40px 0; color: var(--ink-3); font-size: 14.5px; }

/* ---------------- 联系表单 ---------------- */

.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; padding-bottom: 40px; }
.contact-main { min-width: 0; }
.contact-aside { min-width: 0; display: flex; flex-direction: column; gap: 18px; }

.lead-form { background: var(--paper-2); border: 1px solid var(--line); padding: 22px 24px; }
.field { margin-bottom: 14px; min-width: 0; }
.field label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.field label b { color: var(--up); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); background: #fff;
  padding: 9px 12px; font: inherit; font-size: 14px; color: var(--ink);
  border-radius: 2px; outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--pine); }
.field textarea { resize: vertical; min-height: 110px; line-height: 1.7; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.check-row { display: flex; flex-wrap: wrap; gap: 18px; margin: 4px 0 14px; }
.check-row label { font-size: 13.5px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin-top: 12px; font-size: 12px; color: var(--ink-3); }
.form-note a { border-bottom: 1px solid var(--line); }

.notice { border: 1px solid var(--line); padding: 14px 18px; margin-bottom: 18px; font-size: 14px; }
.notice.ok { background: var(--pine-l); border-color: #bcd4c6; color: #1d4a37; }
.notice.err { background: #fbeceb; border-color: #e8c2bd; color: #8c2f26; }
.notice ul { margin-top: 6px; }
.notice li { list-style: disc; margin-left: 18px; font-size: 13.5px; }

.big-search { display: flex; gap: 10px; margin-top: 16px; max-width: 620px; }
.big-search input {
  flex: 1 1 auto; min-width: 0; height: 42px;
  border: 1px solid var(--line); background: var(--paper-2);
  padding: 0 14px; font: inherit; font-size: 14px; border-radius: 2px; outline: none;
}
.big-search input:focus { border-color: var(--pine); }
.search-list { margin-top: 10px; }
.search-list li { padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.search-list h3 { font-size: 18px; margin-top: 4px; }
.search-list h3 a { color: var(--ink); }
.search-list p { margin-top: 6px; font-size: 13.5px; color: var(--ink-2); }

/* ---------------- 工具 ---------------- */

.tool-list { border-top: 1px solid var(--line); }
.tool-row {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) 72px;
  gap: 16px; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--line-2);
  color: inherit;
}
.tool-row:hover { background: rgba(255, 253, 248, .8); }
.tool-num { font-family: var(--mono); font-size: 24px; color: var(--line); }
.tool-row h2 { font-size: 19px; color: var(--ink); }
.tool-row:hover h2 { color: var(--pine); }
.tool-row p { margin-top: 5px; font-size: 13.5px; color: var(--ink-2); }
.tool-go { font-size: 13px; color: var(--wood); text-align: right; }
.tool-note { margin-top: 28px; border-left: 3px solid var(--wood); padding-left: 18px; }
.tool-note h2 { font-size: 16px; }
.tool-note p { margin-top: 8px; font-size: 14px; color: var(--ink-2); max-width: 820px; }

.tool-wrap {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 28px; align-items: start; padding-bottom: 10px;
}
.calc { background: var(--paper-2); border: 1px solid var(--line); padding: 22px 24px; min-width: 0; }
.calc h2 { font-size: 16px; letter-spacing: .04em; margin-bottom: 16px; }
.calc-hint { font-size: 12px; color: var(--ink-3); line-height: 1.7; margin-top: 4px; }

.calc-out {
  background: var(--pine-d); color: #e8f0ea;
  border: 1px solid var(--pine-d); padding: 22px 24px;
  min-width: 0;
  position: sticky; top: 16px;
}
.calc-out h2 { font-size: 15px; color: #fff; letter-spacing: .06em; }
.out-list { margin-top: 14px; }
.out-list > div {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 9px 0; border-bottom: 1px dashed rgba(255, 255, 255, .14);
  font-size: 13.5px;
}
.out-list dt { color: #a9bdb1; flex: 0 0 auto; }
.out-list dd { font-family: var(--mono); text-align: right; color: #fff; min-width: 0; }
.out-total {
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .25);
  display: flex; flex-direction: column; gap: 2px;
}
.out-total span { font-size: 12px; color: #a9bdb1; letter-spacing: .08em; }
.out-total strong { font-family: var(--mono); font-size: 26px; color: #f0c98b; line-height: 1.3; }
.out-total em { font-style: normal; font-family: var(--mono); font-size: 12px; color: #a9bdb1; }
.calc-note { margin-top: 14px; font-size: 11.5px; color: #93a99c; line-height: 1.7; }
.calc-wide { position: static; }

.mini-table { margin-top: 14px; overflow-x: auto; }
.mini { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 480px; }
.mini th, .mini td { padding: 8px 6px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, .12); white-space: nowrap; }
.mini thead th { color: #a9bdb1; font-weight: 500; font-size: 11.5px; }
.mini .num { text-align: right; font-family: var(--mono); }
.mini .strong { color: #f0c98b; font-weight: 600; }
.mini .best { background: rgba(240, 201, 139, .10); }
.best-tag {
  font-size: 10px; background: #f0c98b; color: #3d2a13;
  padding: 0 5px; border-radius: 2px; margin-left: 4px;
}
.mini em { font-style: normal; color: #93a99c; font-size: 10.5px; margin-left: 3px; }

.prose-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 30px; }
.prose-2 p { font-size: 14.5px; color: var(--ink-2); line-height: 1.85; }

/* ---------------- 广告位 ---------------- */

.ad {
  border: 1px dashed var(--line);
  background: repeating-linear-gradient(45deg, rgba(221, 212, 194, .18) 0 8px, transparent 8px 16px);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  color: var(--ink-3); font-size: 12px;
}
.ad-banner { min-height: 92px; margin: 18px 0; }
.ad-square { min-height: 200px; }
.ad-tag { border: 1px solid var(--line); padding: 1px 6px; font-size: 11px; background: var(--paper-2); }
.ad-note { font-family: var(--mono); font-size: 11px; }

/* body 末尾注入的第三方脚本 iframe：避免页脚下方出现白带 */
body > iframe { background: var(--paper); }

/* ---------------- 响应式 ---------------- */

@media (max-width: 1080px) {
  .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 32px; }
  .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sp-mini { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .scene-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-tag { display: none; }
}

@media (max-width: 900px) {
  .head-in { flex-wrap: wrap; gap: 12px 16px; }
  .brand img { width: 168px; }
  .nav-toggle { display: flex; margin-left: auto; order: 2; }
  .head-search { order: 3; flex: 1 1 100%; max-width: none; }
  .site-nav {
    order: 4; flex: 1 1 100%;
    display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    border-top: 1px solid var(--line);
    padding-top: 4px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 11px 2px; border-bottom: 1px solid var(--line-2); font-size: 15px; }
  .site-nav a::after { display: none; }

  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rank-grid { grid-template-columns: minmax(0, 1fr); }
  .lead-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .guide-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brief { grid-template-columns: minmax(0, 1fr); }
  .brief-side { border-left: 0; border-top: 1px solid var(--line); }
  .idx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .art-layout, .sp-layout, .ch-layout, .contact-layout, .tool-wrap { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .sp-head { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .calc-out { position: static; }
  .sp-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .sp-row-data { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
  .prose-2 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero h1 { font-size: 28px; }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-facts dd { font-size: 21px; }
  .board-value strong { font-size: 34px; }
  .sp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sp-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .idx-grid { grid-template-columns: minmax(0, 1fr); }
  .scene-grid { grid-template-columns: minmax(0, 1fr); }
  .pc-grid { grid-template-columns: minmax(0, 1fr); }
  .row2 { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .post-list li { flex-wrap: wrap; gap: 6px 10px; }
  .post-title { flex: 1 1 100%; font-size: 15px; }
  .post-tag { order: 2; }
  .post-list time { order: 3; margin-left: auto; }
  .art-body { font-size: 15.5px; }
  .cta-in { padding: 22px 20px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
  .ch-list > li { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; }
  .ch-num { font-size: 18px; }
  .ch-item h2 { font-size: 18px; }
  .tool-row { grid-template-columns: 34px minmax(0, 1fr); }
  .tool-go { display: none; }
  .art-nav { grid-template-columns: minmax(0, 1fr); }
  .art-next { text-align: left; }
  .ad-banner { min-height: 76px; }
  .tool-grid { grid-template-columns: minmax(0, 1fr); }
  .header-in { gap: 10px; }
}

@media (max-width: 400px) {
  .sp-grid { grid-template-columns: minmax(0, 1fr); }
  .sp-mini { grid-template-columns: minmax(0, 1fr); }
  .brand img { width: 148px; }
}

@media print {
  .site-head, .site-foot, .ad, .cta, .tool-band, .art-aside, .sp-aside { display: none !important; }
  body { background: #fff; }
  .art-layout, .sp-layout { grid-template-columns: minmax(0, 1fr); }
}
