/* ============================================================
   8maa养生网 — 站点样式
   ============================================================ */

:root {
  --paper: #FBF8F1;
  --paper-2: #F4EFE3;
  --paper-3: #EFE9DA;
  --card: #FFFDF8;
  --ink: #1E241F;
  --ink-2: #3A433C;
  --ink-3: #556058;
  --muted: #75817A;
  --line: #DDD5C4;
  --line-soft: #E8E1D2;
  --jade: #2C6B58;
  --jade-d: #1A4539;
  --jade-m: #3E7F6A;
  --jade-l: #E8F0EA;
  --cinnabar: #A8432E;
  --gold: #AD8838;
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
  --shadow: 0 2px 0 rgba(30, 36, 31, .04), 0 12px 28px -18px rgba(30, 36, 31, .35);
}

* { 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: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 16px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: .01em; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

.sr-only {
  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: 999;
  background: var(--jade-d); color: #fff; padding: 10px 16px;
}
.skip:focus { left: 0; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 44px 0; }
.muted { color: var(--muted); }

/* ---------------- 顶栏 ---------------- */
.topbar {
  background: var(--jade-d);
  color: #D9E5DC;
  font-size: 12.5px;
  letter-spacing: .03em;
}
.topbar-in {
  display: flex; align-items: center; gap: 8px;
  height: 34px; overflow: hidden; white-space: nowrap;
}
.tb-dot { opacity: .4; }
.tb-next { opacity: .7; }
.tb-right { margin-left: auto; opacity: .62; font-size: 12px; }

/* ---------------- 页头 ---------------- */
.masthead { background: var(--paper); border-bottom: 1px solid var(--line-soft); }
.masthead-in {
  display: flex; align-items: center; gap: 28px;
  padding-top: 20px; padding-bottom: 20px;
}
.brand { flex: 0 0 auto; }
.brand-logo { width: 240px; height: auto; }
.brand-slogan {
  flex: 1 1 auto; min-width: 0;
  font-family: var(--serif); font-size: 15px; color: var(--ink-2); line-height: 1.5;
  border-left: 1px solid var(--line); padding-left: 26px;
}
.brand-slogan span {
  display: block; font-family: var(--sans); font-size: 12px;
  color: var(--muted); letter-spacing: .06em; margin-top: 2px;
}
.search { position: relative; flex: 0 0 268px; }
.search input {
  width: 100%; height: 44px; padding: 0 46px 0 16px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 2px; outline: none; font-size: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.search input::placeholder { color: #9AA49D; }
.search input:focus { border-color: var(--jade); box-shadow: 0 0 0 3px rgba(44, 107, 88, .1); }
.search button {
  position: absolute; right: 0; top: 0; width: 44px; height: 44px;
  border: 0; background: transparent; color: var(--jade); display: grid; place-items: center;
}
.search-lg { max-width: 560px; margin: 18px 0 10px; }
.search-lg input { height: 52px; font-size: 16px; padding-left: 18px; }
.search-lg button {
  width: auto; height: 52px; right: 0; padding: 0 22px;
  background: var(--jade); color: #fff; font-size: 15px; border-radius: 0 2px 2px 0;
}

/* ---------------- 导航 ---------------- */
.navbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 248, 241, .97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(8px);
}
.nav-in { display: flex; align-items: center; height: 50px; }
.nav-list { display: flex; align-items: center; gap: 2px; flex: 1 1 auto; }
.nav-list > li > a {
  display: block; padding: 0 13px; line-height: 50px;
  font-size: 14.5px; color: var(--ink-2); position: relative; white-space: nowrap;
  transition: color .18s;
}
.nav-list > li > a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 0; height: 2px;
  background: var(--jade); transform: scaleX(0); transition: transform .2s;
}
.nav-list > li > a:hover { color: var(--jade); }
.nav-list > li > a:hover::after, .nav-list > li > a.on::after { transform: scaleX(1); }
.nav-list > li > a.on { color: var(--jade); font-weight: 600; }
.nav-tool { color: var(--cinnabar) !important; }
.nav-tool::after { background: var(--cinnabar) !important; }
.nav-about {
  flex: 0 0 auto; font-size: 13px; color: var(--muted);
  padding-left: 16px; border-left: 1px solid var(--line);
}
.nav-about:hover { color: var(--jade); }
.nav-toggle { display: none; }

/* ---------------- 公告 ---------------- */
.announce { background: var(--jade-l); border-bottom: 1px solid #D5E3D8; }
.announce-in {
  display: flex; align-items: center; gap: 14px;
  min-height: 44px; padding-top: 8px; padding-bottom: 8px;
}
.announce-tag {
  flex: 0 0 auto; background: var(--jade); color: #fff;
  font-size: 11px; letter-spacing: .18em; padding: 3px 8px 3px 10px; border-radius: 2px;
}
.announce p { flex: 1 1 auto; font-size: 13.5px; color: #33544A; line-height: 1.6; }
.announce-link {
  flex: 0 0 auto; font-size: 12.5px; color: var(--jade-d);
  border-bottom: 1px solid rgba(26, 69, 57, .35); padding-bottom: 1px;
}
.announce-link:hover { color: var(--cinnabar); border-color: var(--cinnabar); }

/* ---------------- 封面（CSS 绘制） ---------------- */
.cover {
  position: relative; display: block; overflow: hidden;
  background: #2C6B58; width: 100%;
}
.cover-md { aspect-ratio: 16 / 9; }
.cover-lg { aspect-ratio: 16 / 8.4; }
.cover-xl { aspect-ratio: 16 / 7.2; }
.cover-char {
  position: absolute; right: -2%; bottom: -26%;
  font-family: var(--serif); font-size: 260px; line-height: 1;
  color: rgba(255, 255, 255, .14); font-weight: 700; letter-spacing: -.05em;
  transform: rotate(-4deg);
}
.cover-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(160deg, #000, transparent 75%);
}
.cover-cat {
  position: absolute; left: 14px; top: 14px;
  font-size: 11px; letter-spacing: .16em; color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.4); padding: 3px 9px; border-radius: 2px;
  backdrop-filter: blur(2px);
}
.tone-jade { background: linear-gradient(150deg, #357663 0%, #1B4A3C 100%); }
.tone-clay { background: linear-gradient(150deg, #B07A52 0%, #7A4A2C 100%); }
.tone-plum { background: linear-gradient(150deg, #92566A 0%, #5C2D3C 100%); }
.tone-moss { background: linear-gradient(150deg, #78864A 0%, #445122 100%); }
.tone-indigo { background: linear-gradient(150deg, #4A5B7A 0%, #27344C 100%); }
.tone-sand { background: linear-gradient(150deg, #AC9668 0%, #6F5D38 100%); }
.tone-rust { background: linear-gradient(150deg, #A85B45 0%, #6B3024 100%); }
.tone-slate { background: linear-gradient(150deg, #5A6B66 0%, #2E3C38 100%); }
.v2::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 18%, rgba(255,255,255,.22), transparent 48%); }
.v3 .cover-char { transform: rotate(3deg); right: auto; left: -3%; opacity: .8; }
.v4 .cover-grid { background-size: 28px 28px; }

/* ---------------- 首页 Hero ---------------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, .88fr);
  gap: 30px; padding-top: 36px; padding-bottom: 12px;
}
.lead {
  background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.lead-cover-wrap { position: relative; display: block; }
.lead-flag {
  position: absolute; right: 0; bottom: 0; background: var(--cinnabar); color: #fff;
  font-size: 11px; letter-spacing: .14em; padding: 6px 12px;
}
.lead-body { padding: 26px 28px 28px; }
.kicker {
  display: inline-block; font-size: 11.5px; letter-spacing: .16em; color: var(--jade);
  border-bottom: 1px solid rgba(44, 107, 88, .3); padding-bottom: 2px; margin-bottom: 12px;
}
.lead-title { font-family: var(--serif); font-size: 34px; line-height: 1.35; letter-spacing: -.01em; }
.lead-title a:hover { color: var(--jade-d); }
.lead-sub { font-size: 16px; color: var(--ink-2); margin-top: 12px; line-height: 1.7; }
.lead-desc { font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.75; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12.5px; color: var(--muted); margin-top: 16px; }

.hero-side { display: flex; flex-direction: column; gap: 18px; }
.term-card {
  background: var(--jade-d); color: #E6EFE7; padding: 22px 22px 20px;
  position: relative; overflow: hidden;
}
.term-card::after {
  content: ""; position: absolute; right: -40px; bottom: -60px; width: 180px; height: 180px;
  border: 1px solid rgba(255,255,255,.12); border-radius: 50%;
}
.term-top { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .16em; color: rgba(230,239,231,.6); }
.term-name {
  font-family: var(--serif); font-size: 40px; line-height: 1.2; margin: 10px 0 8px;
  letter-spacing: .04em;
}
.term-name em {
  font-style: normal; font-family: var(--sans); font-size: 12px; letter-spacing: .18em;
  border: 1px solid rgba(255,255,255,.3); padding: 2px 7px; margin-left: 10px; vertical-align: 6px;
}
.term-desc { font-size: 13.5px; line-height: 1.7; color: rgba(230,239,231,.86); }
.term-list { margin-top: 14px; display: grid; gap: 8px; }
.term-list > div { display: grid; grid-template-columns: 34px 1fr; gap: 6px; font-size: 12.5px; line-height: 1.65; }
.term-list dt { color: var(--gold); }
.term-list dd { color: rgba(230,239,231,.8); }
.term-link {
  display: inline-block; margin-top: 16px; font-size: 12.5px; color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 2px;
}
.term-link:hover { color: var(--gold); border-color: var(--gold); }

.today-card { background: var(--card); border: 1px solid var(--line); padding: 20px 22px; flex: 1 1 auto; }
.today-title { font-family: var(--serif); font-size: 17px; margin-bottom: 12px; }
.today-list { display: grid; gap: 12px; }
.today-list li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.tick {
  width: 22px; height: 22px; border: 1px solid var(--jade); color: var(--jade);
  font-size: 11px; display: grid; place-items: center; border-radius: 50%; margin-top: 2px;
}
.today-list strong { display: block; font-size: 14px; line-height: 1.5; }
.today-list p { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin-top: 2px; }
.today-more { display: inline-block; margin-top: 16px; font-size: 12px; color: var(--jade); border-bottom: 1px solid rgba(44,107,88,.3); padding-bottom: 1px; }
.today-more:hover { color: var(--cinnabar); border-color: var(--cinnabar); }

/* ---------------- 工具条 ---------------- */
.toolbar {
  display: flex; align-items: stretch; gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-top: 26px; margin-bottom: 8px; background: var(--paper-2);
}
.toolbar-label {
  flex: 0 0 auto; display: grid; place-items: center; padding: 0 20px;
  font-size: 11px; letter-spacing: .22em; color: var(--muted); border-right: 1px solid var(--line);
}
.tool-chip {
  flex: 1 1 0; padding: 14px 18px; border-right: 1px solid var(--line);
  transition: background .18s;
}
.tool-chip:last-child { border-right: 0; }
.tool-chip strong { display: block; font-size: 14px; color: var(--jade-d); }
.tool-chip span { display: block; font-size: 12px; color: var(--muted); margin-top: 1px; }
.tool-chip:hover { background: #fff; }

/* ---------------- 区块标题 ---------------- */
.sec-head {
  position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 16px;
  margin-bottom: 22px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.sec-head h2 { font-family: var(--serif); font-size: 24px; letter-spacing: .02em; }
.sec-head h2::before {
  content: ""; display: inline-block; width: 4px; height: 18px; background: var(--jade);
  margin-right: 10px; vertical-align: -2px;
}
.sec-head p { font-size: 13px; color: var(--muted); }
.sec-more { margin-left: auto; font-size: 12.5px; color: var(--jade); }
.sec-more:hover { color: var(--cinnabar); }
.sec-head-light { border-color: rgba(255,255,255,.18); }
.sec-head-light h2 { color: #F3EFE4; }
.sec-head-light h2::before { background: var(--gold); }
.sec-head-light p { color: rgba(243,239,228,.6); }

/* ---------------- 栏目磁贴 ---------------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-tile {
  position: relative; display: flex; align-items: flex-start; gap: 12px;
  background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--jade);
  padding: 18px 16px 16px; min-height: 118px; overflow: hidden;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.cat-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--jade-m); }
.cat-char {
  font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--jade);
  opacity: .28; flex: 0 0 auto;
}
.cat-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cat-en { font-size: 9.5px; letter-spacing: .2em; color: var(--muted); }
.cat-body strong { font-family: var(--serif); font-size: 18px; }
.cat-body em { font-style: normal; font-size: 12px; color: var(--muted); line-height: 1.55; }
.cat-count { position: absolute; right: 12px; bottom: 10px; font-size: 11px; color: #A7B0A9; }
.cat-tile.tone-clay { border-top-color: #A9704B; } .cat-tile.tone-clay .cat-char { color: #A9704B; }
.cat-tile.tone-plum { border-top-color: #8C4A5C; } .cat-tile.tone-plum .cat-char { color: #8C4A5C; }
.cat-tile.tone-moss { border-top-color: #6B7A3E; } .cat-tile.tone-moss .cat-char { color: #6B7A3E; }
.cat-tile.tone-indigo { border-top-color: #3F4E6B; } .cat-tile.tone-indigo .cat-char { color: #3F4E6B; }
.cat-tile.tone-sand { border-top-color: #A08A5C; } .cat-tile.tone-sand .cat-char { color: #A08A5C; }
.cat-tile.tone-rust { border-top-color: #9C4E3C; } .cat-tile.tone-rust .cat-char { color: #9C4E3C; }
.cat-tile.tone-slate { border-top-color: #4E5F5B; } .cat-tile.tone-slate .cat-char { color: #4E5F5B; }

/* ---------------- 卡片 ---------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); transition: transform .18s, box-shadow .18s; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card-link { display: block; height: 100%; }
.card-body { display: block; padding: 16px 18px 18px; }
.card-kicker { display: block; font-size: 9.5px; letter-spacing: .2em; color: var(--muted); margin-bottom: 6px; }
.card-title { font-family: var(--serif); font-size: 19px; line-height: 1.45; letter-spacing: .01em; }
.card-sub { display: block; font-size: 13px; color: var(--muted); line-height: 1.65; margin-top: 7px; }
.card-desc {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 13px; color: var(--muted); line-height: 1.7; margin-top: 7px;
}
.card-meta { display: flex; gap: 6px; align-items: center; font-size: 11.5px; color: #9AA49D; margin-top: 12px; }
.card-meta i { font-style: normal; opacity: .5; }
.card:hover .card-title { color: var(--jade-d); }

/* ---------------- 列表 ---------------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 322px; gap: 34px; align-items: start; }
.row-list { border-top: 1px solid var(--line); }
.row-item {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) 76px 52px; align-items: center; gap: 12px;
  padding: 15px 0; border-bottom: 1px solid var(--line-soft);
}
.row-no { font-family: var(--serif); font-size: 15px; color: #B9C0B9; }
.row-main { display: block; min-width: 0; }
.row-title { display: block; font-family: var(--serif); font-size: 17px; line-height: 1.45; }
.row-desc { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-cat { font-size: 11.5px; color: var(--jade); text-align: right; }
.row-item > time { font-size: 11.5px; color: #9AA49D; text-align: right; }
.row-item:hover .row-title { color: var(--jade-d); }

/* ---------------- 侧栏 ---------------- */
.split-side { display: flex; flex-direction: column; gap: 18px; }
.panel { background: var(--card); border: 1px solid var(--line); padding: 20px; }
.panel-title { font-family: var(--serif); font-size: 16px; margin-bottom: 12px; padding-bottom: 9px; border-bottom: 1px solid var(--line-soft); }
.panel-soft { background: var(--paper-2); border-color: var(--line-soft); }
.panel-cta { background: var(--jade-d); border-color: var(--jade-d); color: #EAF2EB; padding: 24px 22px; }
.panel-cta .panel-en { font-size: 9.5px; letter-spacing: .24em; color: var(--gold); }
.panel-cta h2 { font-family: var(--serif); font-size: 22px; color: #fff; margin: 8px 0 8px; }
.panel-cta p { font-size: 13px; line-height: 1.7; color: rgba(234,242,235,.78); }
.panel-cta .btn { margin-top: 16px; }
.panel-note { display: block; font-size: 11px; color: rgba(234,242,235,.5); margin-top: 10px; }
.panel-quote { background: transparent; border-left: 3px solid var(--gold); border-top: 0; border-right: 0; border-bottom: 0; padding: 6px 0 6px 18px; }
.panel-quote p { font-family: var(--serif); font-size: 16px; line-height: 1.8; color: var(--ink-2); }
.panel-quote span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 8px; }
.panel-p { font-size: 13px; color: var(--ink-2); line-height: 1.75; margin-bottom: 8px; }

.tool-list { display: grid; gap: 2px; }
.tool-list a { display: block; padding: 9px 0; border-bottom: 1px dotted var(--line); }
.tool-list li:last-child a { border-bottom: 0; }
.tool-list strong { display: block; font-size: 13.5px; }
.tool-list span { display: block; font-size: 11.5px; color: var(--muted); }
.tool-list a:hover strong { color: var(--jade); }
.mini-list { display: grid; gap: 9px; }
.mini-list a { font-size: 13.5px; line-height: 1.6; color: var(--ink-2); display: block; }
.mini-list a::before { content: "—"; color: #BFC6BE; margin-right: 7px; }
.mini-list a:hover { color: var(--jade); }
.mini-list a:hover::before { color: var(--jade); }

/* ---------------- 四季带 ---------------- */
.season-band { background: var(--jade-d); color: #EDF2EA; padding: 46px 0 50px; margin-top: 10px; }
.season-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.season-card { position: relative; display: block; padding: 26px 22px 30px; border-right: 1px solid rgba(255,255,255,.16); overflow: hidden; transition: background .2s; }
.season-card:last-child { border-right: 0; }
.season-card:hover { background: rgba(255,255,255,.05); }
.season-char {
  position: absolute; right: 10px; top: 4px; font-family: var(--serif); font-size: 92px;
  color: rgba(255,255,255,.07); line-height: 1;
}
.season-en { font-size: 9.5px; letter-spacing: .24em; color: var(--gold); }
.season-card strong { display: block; font-family: var(--serif); font-size: 19px; line-height: 1.5; margin: 8px 0 8px; }
.season-card em { display: block; font-style: normal; font-size: 12.5px; color: rgba(237,242,234,.62); line-height: 1.7; }
.season-go { display: inline-block; margin-top: 16px; font-size: 11.5px; color: rgba(237,242,234,.8); border-bottom: 1px solid rgba(255,255,255,.3); }

/* ---------------- 信任带 ---------------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-item { padding: 26px 22px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-num { display: block; font-family: var(--serif); font-size: 38px; line-height: 1; color: var(--jade); }
.trust-item strong { display: block; font-size: 14px; margin: 8px 0 4px; }
.trust-item p { font-size: 12.5px; color: var(--muted); line-height: 1.65; }

/* ---------------- 分类页头 ---------------- */
.cat-hero { position: relative; background: var(--jade-d); color: #EDF2EA; overflow: hidden; }
.cat-hero-char {
  position: absolute; right: 4%; top: -34%; font-family: var(--serif); font-size: 340px;
  color: rgba(255,255,255,.06); line-height: 1; pointer-events: none;
}
.cat-hero-in { position: relative; padding-top: 26px; padding-bottom: 34px; }
.cat-hero-en { display: block; font-size: 10px; letter-spacing: .24em; color: var(--gold); margin-top: 14px; }
.cat-hero h1 { font-family: var(--serif); font-size: 40px; margin: 8px 0 10px; letter-spacing: .04em; }
.cat-hero p { max-width: 760px; font-size: 14px; line-height: 1.9; color: rgba(237,242,234,.75); }
.cat-hero.tone-clay { background: #6E4227; } .cat-hero.tone-plum { background: #552735; }
.cat-hero.tone-moss { background: #3E4A1F; } .cat-hero.tone-indigo { background: #24304A; }
.cat-hero.tone-sand { background: #665530; } .cat-hero.tone-rust { background: #60291D; }
.cat-hero.tone-slate { background: #2A3834; }

.crumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; color: var(--muted); padding: 16px 0; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--jade); }
.crumb span { opacity: .5; }
.crumb-light, .crumb-light a { color: rgba(237,242,234,.6); }
.crumb-light span { opacity: .4; }
.crumb-now { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; }
.side-cats { display: grid; }
.side-cats a {
  display: flex; align-items: center; gap: 9px; padding: 9px 0;
  border-bottom: 1px dotted var(--line); font-size: 13.5px;
}
.side-cats a.on { color: var(--jade); font-weight: 600; }
.side-cats em { margin-left: auto; font-style: normal; font-size: 11px; color: #A7B0A9; }
.sc-char {
  width: 22px; height: 22px; display: grid; place-items: center;
  background: var(--paper-2); font-family: var(--serif); font-size: 12px; color: var(--jade);
}
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 34px; }
.pager-btn { padding: 8px 18px; border: 1px solid var(--line); font-size: 13px; background: var(--card); }
.pager-btn:hover { border-color: var(--jade); color: var(--jade); }
.pager-now { font-size: 12.5px; color: var(--muted); }
.empty { padding: 60px 0; color: var(--muted); }

/* ---------------- 文章页 ---------------- */
.art-wrap { padding-bottom: 60px; }
.art-head { padding: 6px 0 26px; border-bottom: 1px solid var(--line); }
.art-head h1 { font-family: var(--serif); font-size: 38px; line-height: 1.4; letter-spacing: -.01em; margin: 8px 0 0; }
.art-sub { font-size: 16px; color: var(--ink-2); line-height: 1.8; margin-top: 14px; max-width: 820px; }
.art-meta { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; font-size: 12.5px; color: var(--muted); margin-top: 16px; }
.art-reviewed { color: var(--jade); }
.art-reviewed::before { content: "✓ "; }
.art-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.art-tags a {
  display: block; font-size: 11.5px; color: var(--ink-3); background: var(--paper-2);
  border: 1px solid var(--line-soft); padding: 3px 9px;
}
.art-tags a:hover { border-color: var(--jade); color: var(--jade); }
.art-grid { display: grid; grid-template-columns: minmax(0, 1fr) 288px; gap: 44px; align-items: start; padding-top: 30px; }
.art-main { min-width: 0; }
.art-body { font-size: 17.5px; line-height: 1.95; color: #2B332D; }
.art-body > p:first-of-type { font-size: 18px; color: var(--ink); }
.art-body p { margin: 0 0 20px; }
.art-body h2 {
  font-family: var(--serif); font-size: 25px; line-height: 1.5; margin: 42px 0 16px;
  padding-left: 14px; border-left: 4px solid var(--jade); scroll-margin-top: 80px;
}
.art-body h3 { font-size: 18.5px; margin: 30px 0 10px; color: var(--jade-d); scroll-margin-top: 80px; }
.art-body ul, .art-body ol { margin: 0 0 22px; padding-left: 4px; }
.art-body li { position: relative; padding-left: 20px; margin-bottom: 9px; }
.art-body ul > li::before {
  content: ""; position: absolute; left: 2px; top: .78em; width: 5px; height: 5px;
  background: var(--jade); border-radius: 50%;
}
.art-body ol { counter-reset: ol; }
.art-body ol > li { counter-increment: ol; padding-left: 26px; }
.art-body ol > li::before {
  content: counter(ol); position: absolute; left: 0; top: .28em;
  font-size: 12px; color: var(--jade); font-weight: 700;
  border: 1px solid rgba(44,107,88,.35); width: 18px; height: 18px;
  display: grid; place-items: center; border-radius: 50%;
}
.art-body a { color: var(--jade); border-bottom: 1px solid rgba(44,107,88,.3); }
.art-body a:hover { color: var(--cinnabar); border-color: var(--cinnabar); }
.art-body strong { color: #182019; }
.art-body blockquote {
  margin: 26px 0; padding: 16px 20px; background: var(--paper-2);
  border-left: 4px solid var(--gold); font-size: 16px; color: var(--ink-2);
}
.art-body blockquote p:last-child { margin-bottom: 0; }
.art-body table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 22px 0; background: #fff; }
.art-body th, .art-body td { border: 1px solid var(--line-soft); padding: 10px 12px; text-align: left; vertical-align: top; }
.art-body thead th { background: var(--jade-l); font-weight: 600; color: var(--jade-d); }
.art-body tbody tr:nth-child(even) { background: #FCFAF4; }
.art-body .keybox {
  background: var(--jade-l); border: 1px solid #D3E2D7; padding: 20px 22px; margin: 0 0 28px;
}
.art-body .keybox h2, .art-body .keybox h3 {
  border: 0; padding: 0; margin: 0 0 10px; font-size: 15px; font-family: var(--sans);
  letter-spacing: .04em; color: var(--jade-d);
}
.art-body .keybox ul { margin-bottom: 0; }
.art-body .keybox li { font-size: 15px; line-height: 1.75; margin-bottom: 6px; }
.art-body .keybox li::before { background: var(--gold); }
.art-body .warn {
  background: #FBF0EA; border-left: 4px solid var(--cinnabar); padding: 14px 18px;
  font-size: 15px; margin: 24px 0;
}
.art-body .warn p:last-child { margin-bottom: 0; }
.art-body .refs { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); }
.art-body .refs h2 { font-size: 15px; border: 0; padding: 0; margin: 0 0 8px; font-family: var(--sans); color: var(--muted); letter-spacing: .06em; }
.art-body .refs ol { margin-bottom: 0; }
.art-body .refs li { font-size: 12.5px; color: var(--muted); line-height: 1.7; padding-left: 0; margin-bottom: 4px; }
.art-body .refs li::before { content: none; }
.art-body .table-wrap-simple { overflow-x: auto; margin: 22px 0; -webkit-overflow-scrolling: touch; }
.art-body .table-wrap-simple table { margin: 0; min-width: 540px; }
.art-body figure { margin: 24px 0; }
.art-body figcaption { font-size: 12px; color: var(--muted); margin-top: 8px; text-align: center; }

.disclaimer {
  margin: 36px 0 0; padding: 18px 20px; background: #F6F2E8;
  border: 1px solid var(--line-soft); font-size: 13px; color: var(--ink-3); line-height: 1.8;
}
.disclaimer strong { display: block; font-size: 12px; letter-spacing: .16em; color: var(--gold); margin-bottom: 5px; }
.disclaimer p { margin: 0; }

.author-box { display: grid; grid-template-columns: 52px 1fr; gap: 16px; margin-top: 24px; padding: 20px; border: 1px solid var(--line); background: var(--card); }
.author-avatar {
  width: 52px; height: 52px; background: var(--jade-d); color: #fff; display: grid; place-items: center;
  font-family: var(--serif); font-size: 24px;
}
.author-box strong { font-size: 14.5px; }
.author-box p { font-size: 12.5px; color: var(--muted); line-height: 1.75; margin: 5px 0 6px; }
.author-box a { font-size: 12px; color: var(--jade); border-bottom: 1px solid rgba(44,107,88,.3); }

.art-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 30px 0 10px; }
.art-pager a { display: block; padding: 16px 18px; border: 1px solid var(--line); background: var(--card); }
.art-pager span { display: block; font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.art-pager strong { display: block; font-family: var(--serif); font-size: 15px; line-height: 1.5; margin-top: 4px; font-weight: 600; }
.art-pager a:hover { border-color: var(--jade); }
.art-pager .pager-next { text-align: right; }
.related { margin-top: 44px; }

.art-side { position: sticky; top: 74px; display: flex; flex-direction: column; gap: 18px; }
.toc { border-left: 2px solid var(--line); padding-left: 16px; }
.toc-head { font-size: 11px; letter-spacing: .18em; color: var(--muted); margin-bottom: 9px; }
.toc ol { display: grid; gap: 6px; }
.toc a { display: block; font-size: 13px; line-height: 1.6; color: var(--ink-3); padding: 2px 0; border-left: 2px solid transparent; margin-left: -18px; padding-left: 16px; }
.toc a:hover, .toc a.on { color: var(--jade); border-left-color: var(--jade); background: rgba(44,107,88,.04); }

/* ---------------- 页面 ---------------- */
.page-head { padding-top: 4px; padding-bottom: 6px; }
.page-head h1 { font-family: var(--serif); font-size: 36px; margin: 4px 0 10px; }
.page-sub { font-size: 14.5px; color: var(--muted); line-height: 1.85; max-width: 840px; }
.page-wrap { padding-top: 8px; }
.page-head-simple { padding-top: 4px; }
.page-body > p:first-of-type { font-size: 17.5px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.filter-chips a { display: block; font-size: 12.5px; padding: 5px 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink-3); }
.filter-chips a:hover { border-color: var(--jade); color: var(--jade); }
.filter-chips a.on { background: var(--jade); border-color: var(--jade); color: #fff; }
.grid-archive { row-gap: 24px; }
.empty-box { text-align: center; padding: 60px 20px; border: 1px dashed var(--line); background: var(--card); }
.empty-box h2 { font-family: var(--serif); font-size: 24px; margin-bottom: 10px; }
.empty-box p { font-size: 14px; color: var(--muted); margin-bottom: 16px; }

/* ---------------- 工具 ---------------- */
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tool-card { display: block; padding: 24px 22px; background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--jade); transition: transform .18s, box-shadow .18s; }
.tool-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.tool-num { font-family: var(--serif); font-size: 13px; color: var(--gold); letter-spacing: .1em; }
.tool-card strong { display: block; font-family: var(--serif); font-size: 20px; margin: 6px 0 8px; }
.tool-card p { font-size: 13px; color: var(--muted); line-height: 1.75; min-height: 68px; }
.tool-meta { display: block; font-size: 12px; color: var(--jade); margin-top: 10px; }
.tool-meta i { font-style: normal; }
.tool-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; padding-top: 8px; }
.tool-main { min-width: 0; }
.tool-side { display: flex; flex-direction: column; gap: 18px; }
.calc-card { background: var(--card); border: 1px solid var(--line); padding: 26px; }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field { display: block; }
.field > span { display: block; font-size: 12.5px; color: var(--ink-3); margin-bottom: 7px; letter-spacing: .02em; }
.field > span i { color: var(--cinnabar); font-style: normal; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); background: #fff; color: var(--ink);
  padding: 11px 13px; border-radius: 2px; outline: none; font-size: 15px;
  transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field textarea:focus { border-color: var(--jade); box-shadow: 0 0 0 3px rgba(44,107,88,.09); }
.field textarea { resize: vertical; line-height: 1.7; }
.seg { display: flex; border: 1px solid var(--line); background: #fff; }
.seg input { position: absolute; opacity: 0; width: 0; height: 0; }
.seg label { flex: 1 1 0; text-align: center; font-size: 13.5px; padding: 10px 6px; cursor: pointer; color: var(--ink-3); border-right: 1px solid var(--line-soft); }
.seg label:last-of-type { border-right: 0; }
.seg input:checked + label { background: var(--jade); color: #fff; }
.btn {
  display: inline-block; padding: 11px 24px; font-size: 14px; border: 1px solid var(--jade);
  color: var(--jade); background: transparent; text-align: center; border-radius: 2px;
  transition: background .18s, color .18s, border-color .18s;
}
.btn:hover { background: var(--jade); color: #fff; }
.btn-solid { background: var(--jade); color: #fff; }
.btn-solid:hover { background: var(--jade-d); border-color: var(--jade-d); }
.btn-ghost { border-color: var(--line); color: var(--ink-3); background: var(--card); }
.btn-ghost:hover { border-color: var(--jade); color: var(--jade); background: var(--card); }
.btn-light { background: #F3EFE4; border-color: #F3EFE4; color: var(--jade-d); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--jade-d); }
.calc-hint { font-size: 12px; color: var(--muted); margin-top: 12px; }
.calc-result { margin-top: 20px; background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--jade); padding: 24px; }
.result-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.result-label { display: block; font-size: 11.5px; letter-spacing: .14em; color: var(--muted); }
.result-num { display: block; font-family: var(--serif); font-size: 42px; line-height: 1.15; color: var(--jade-d); }
.result-badge { font-size: 13px; padding: 5px 12px; background: var(--jade-l); color: var(--jade-d); border: 1px solid #D3E2D7; }
.result-list { margin-top: 16px; display: grid; gap: 8px; }
.result-list li { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.75; color: var(--ink-2); }
.result-list li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 5px; height: 5px; background: var(--jade); border-radius: 50%; }
.result-list li strong { color: var(--jade-d); }
.result-note { font-size: 12px; color: var(--muted); line-height: 1.75; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.bmi-scale { position: relative; display: flex; height: 30px; margin: 20px 0 6px; border-radius: 2px; overflow: hidden; }
.bs-seg { flex: 1 1 0; display: grid; place-items: center; font-size: 11px; color: #fff; letter-spacing: .08em; }
.bs-1 { background: #7FA0BC; flex-grow: .5; } .bs-2 { background: #5E9273; flex-grow: 1.4; }
.bs-3 { background: #C39A4B; flex-grow: .9; } .bs-4 { background: #A9553F; flex-grow: 1.2; }
.bs-mark { position: absolute; top: -7px; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 8px solid var(--ink); transform: translateX(-50%); transition: left .35s ease; }

.quiz-q { border: 0; border-bottom: 1px solid var(--line-soft); margin: 0; padding: 20px 0; }
.quiz-q legend { font-size: 15.5px; line-height: 1.7; padding: 0; display: flex; gap: 10px; }
.q-no { font-family: var(--serif); color: var(--gold); font-size: 13px; padding-top: 3px; }
.quiz-opts { display: flex; gap: 8px; margin-top: 12px; padding-left: 30px; flex-wrap: wrap; }
.quiz-opts label { position: relative; }
.quiz-opts input { position: absolute; opacity: 0; width: 0; height: 0; }
.quiz-opts span {
  display: block; padding: 6px 15px; border: 1px solid var(--line); background: #fff;
  font-size: 13px; color: var(--ink-3); cursor: pointer; transition: all .15s;
}
.quiz-opts input:checked + span { background: var(--jade); border-color: var(--jade); color: #fff; }
.quiz-submit { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.quiz-submit p { font-size: 12px; color: var(--muted); }
.quiz-result .result-num { font-size: 34px; }
.tz-desc { font-size: 14.5px; line-height: 1.85; color: var(--ink-2); margin-top: 14px; }
.tz-tips { display: grid; gap: 8px; margin-top: 14px; }
.tz-tips li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.75; }
.tz-tips li::before { content: "✓"; position: absolute; left: 0; color: var(--jade); font-size: 12px; }
.tz-sub { font-size: 13px; letter-spacing: .1em; color: var(--muted); margin: 22px 0 12px; font-weight: 600; }
.tz-bars { display: grid; gap: 9px; }
.tz-bars li { display: grid; grid-template-columns: 46px 1fr 34px; gap: 10px; align-items: center; font-size: 12.5px; }
.tz-bar { height: 8px; background: var(--paper-3); position: relative; overflow: hidden; }
.tz-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--jade); transition: width .5s ease; }
.tz-bars li.max .tz-bar i { background: var(--cinnabar); }
.tz-bars b { font-weight: 600; text-align: right; color: var(--ink-3); }

.food-toolbar { background: var(--card); border: 1px solid var(--line); padding: 18px 20px; }
.food-search input { width: 100%; height: 44px; border: 1px solid var(--line); padding: 0 14px; outline: none; }
.food-search input:focus { border-color: var(--jade); }
.food-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.chip { font-size: 12.5px; padding: 5px 13px; border: 1px solid var(--line); background: #fff; color: var(--ink-3); }
.chip.on { background: var(--jade); border-color: var(--jade); color: #fff; }
.chip-cat.on { background: var(--jade-d); border-color: var(--jade-d); }
.food-count { font-size: 12px; color: var(--muted); margin-top: 12px; }
.table-wrap { margin-top: 16px; border: 1px solid var(--line); background: var(--card); overflow-x: auto; }
.food-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 760px; }
.food-table thead th {
  position: sticky; top: 0; background: var(--jade-d); color: #EAF1EA; font-weight: 500;
  font-size: 12px; letter-spacing: .08em; text-align: left; padding: 11px 12px; white-space: nowrap;
}
.food-table tbody th { text-align: left; font-weight: 600; padding: 12px; white-space: nowrap; border-bottom: 1px solid var(--line-soft); }
.food-table td { padding: 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; line-height: 1.65; }
.food-table tbody tr:nth-child(even) { background: #FCFAF4; }
.food-table tbody tr:hover { background: var(--jade-l); }
.food-table td em { font-style: normal; color: var(--muted); font-size: 11.5px; margin-left: 4px; }
.td-warn { color: #8A4A38; font-size: 12.5px; }
.nat { display: inline-block; font-size: 11px; padding: 1px 6px; border: 1px solid; }
.nat-温 { color: #A85B2E; border-color: #D9B79B; background: #FBF1E9; }
.nat-热 { color: #A8432E; border-color: #DDB3A6; background: #FBEDE8; }
.nat-平 { color: #4F6B57; border-color: #C3D2C5; background: #EFF4EF; }
.nat-凉 { color: #3E6E86; border-color: #B7CDD8; background: #EDF4F7; }
.nat-寒 { color: #35566E; border-color: #AEC3D1; background: #E9F1F5; }
.food-empty { padding: 30px; text-align: center; color: var(--muted); font-size: 13.5px; }

.term-now { display: grid; grid-template-columns: 260px 1fr; gap: 30px; background: var(--jade-d); color: #EAF1EA; padding: 28px 30px; }
.term-now-left { border-right: 1px solid rgba(255,255,255,.16); padding-right: 24px; }
.term-now-left strong { display: block; font-family: var(--serif); font-size: 46px; line-height: 1.2; margin: 10px 0 6px; }
.term-now-date { font-size: 12px; color: rgba(234,241,234,.6); letter-spacing: .1em; }
.term-now-right p { font-size: 14px; line-height: 1.8; color: rgba(234,241,234,.85); }
.term-now-right dl { display: grid; gap: 6px; margin: 12px 0; }
.term-now-right dl > div { display: grid; grid-template-columns: 38px 1fr; gap: 8px; font-size: 13px; }
.term-now-right dt { color: var(--gold); }
.term-now-right dd { color: rgba(234,241,234,.78); }
.term-next { font-size: 12px; color: rgba(234,241,234,.55); margin-top: 10px; }
.term-next strong { color: var(--gold); }
.season-label { font-family: var(--serif); font-size: 22px; margin: 34px 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.terms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.term-cell { background: var(--card); border: 1px solid var(--line); padding: 16px 16px 14px; }
.term-cell.on { border-color: var(--jade); box-shadow: 0 0 0 1px var(--jade) inset; }
.tc-date { font-size: 11px; color: var(--muted); }
.tc-now { float: right; font-size: 10px; background: var(--jade); color: #fff; padding: 1px 6px; }
.term-cell h3 { font-family: var(--serif); font-size: 20px; margin: 4px 0 6px; }
.tc-desc { font-size: 12px; color: var(--muted); line-height: 1.65; min-height: 58px; }
.tc-line { font-size: 11.5px; color: var(--ink-3); line-height: 1.65; margin-top: 5px; }
.tc-line span { display: inline-block; width: 16px; height: 16px; line-height: 16px; text-align: center; background: var(--paper-2); color: var(--jade); font-size: 10px; margin-right: 5px; }

/* ---------------- 提示与表单 ---------------- */
.note-box { background: var(--paper-2); border-left: 3px solid var(--gold); padding: 22px 24px; margin-top: 26px; }
.note-box h2 { font-size: 16px; margin-bottom: 10px; }
.note-box p { font-size: 13.5px; line-height: 1.85; color: var(--ink-2); margin-bottom: 8px; }
.note-box p:last-child { margin-bottom: 0; }
.note-box ul { margin-top: 8px; }
.note-box li { position: relative; padding-left: 18px; font-size: 13.5px; line-height: 1.8; margin-bottom: 6px; color: var(--ink-2); }
.note-box li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 4px; height: 4px; background: var(--gold); border-radius: 50%; }
.contact-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; padding-top: 8px; }
.contact-form { background: var(--card); border: 1px solid var(--line); padding: 26px; }
.contact-form .field { margin-bottom: 18px; }
.contact-form .btn { min-width: 140px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.notice { padding: 22px 24px; border: 1px solid; margin-bottom: 18px; }
.notice-ok { background: var(--jade-l); border-color: #C9DBD0; }
.notice-ok h2 { font-family: var(--serif); font-size: 22px; margin-bottom: 8px; }
.notice-ok p { font-size: 14px; color: var(--ink-2); margin-bottom: 12px; }
.notice-err { background: #FBEDE8; border-color: #E2C3B8; color: #8A4A38; font-size: 14px; }
.contact-side { display: flex; flex-direction: column; gap: 18px; }

/* ---------------- 404 ---------------- */
.notfound { text-align: center; padding: 70px 24px 90px; }
.nf-code { display: block; font-family: var(--serif); font-size: 96px; line-height: 1; color: var(--paper-3); letter-spacing: .08em; }
.notfound h1 { font-family: var(--serif); font-size: 30px; margin: 10px 0 10px; }
.notfound > p { font-size: 14px; color: var(--muted); }
.nf-links { display: flex; justify-content: center; gap: 12px; margin: 22px 0 30px; flex-wrap: wrap; }
.nf-suggest { max-width: 560px; margin: 0 auto; text-align: left; }
.nf-suggest h2 { font-family: var(--serif); font-size: 17px; margin-bottom: 10px; }

/* ---------------- 页脚 ---------------- */
.footer { background: #16231E; color: #B9C6BD; margin-top: 20px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; padding: 46px 24px 34px; }
.f-brand img { width: 196px; height: auto; filter: brightness(0) invert(1) opacity(.92); }
.f-brand p { font-size: 13px; line-height: 1.8; margin-top: 12px; color: #93A39A; }
.f-meta { font-size: 12px !important; color: #6F8078 !important; }
.f-col h3 { font-size: 12px; letter-spacing: .18em; color: #7E9087; font-weight: 500; margin-bottom: 12px; }
.f-col ul { display: grid; gap: 8px; }
.f-col a { font-size: 13.5px; color: #C3CFC7; }
.f-col a:hover { color: #fff; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 24px 30px; }
.legal-note { font-size: 11.5px; color: #6F8078; line-height: 1.8; margin-bottom: 8px; }
.legal-line { font-size: 12px; color: #809189; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.legal-line a { color: #A8B7AE; }
.legal-line a:hover { color: #fff; }
.sep { opacity: .35; }

/* ---------------- 回到顶部 ---------------- */
.to-top {
  position: fixed; right: 22px; bottom: 26px; z-index: 70;
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--card); border: 1px solid var(--line); color: var(--jade);
  box-shadow: var(--shadow);
}
.to-top:hover { background: var(--jade); color: #fff; border-color: var(--jade); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; }
  .hero-side { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .split, .tool-layout, .contact-wrap { grid-template-columns: 1fr; }
  .split-side { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .art-grid { grid-template-columns: 1fr; }
  .art-side { position: static; flex-direction: row; flex-wrap: wrap; }
  .art-side .toc { flex: 1 1 280px; }
  .art-side .panel { flex: 1 1 240px; }
  .terms-grid { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(1), .trust-item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .season-grid { grid-template-columns: 1fr 1fr; }
  .season-card:nth-child(2) { border-right: 0; }
  .season-card:nth-child(1), .season-card:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.16); }
  .tool-grid { grid-template-columns: 1fr 1fr; }
  .lead-title { font-size: 30px; }
  .art-head h1 { font-size: 32px; }
}

@media (max-width: 860px) {
  .wrap { padding: 0 18px; }
  .masthead-in { flex-wrap: wrap; gap: 14px; padding-top: 16px; padding-bottom: 16px; }
  .brand-logo { width: 200px; }
  .brand-slogan { display: none; }
  .search { flex: 1 1 100%; }
  .nav-toggle {
    display: flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0;
    height: 50px; color: var(--ink-2); font-size: 13.5px;
  }
  .nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--ink-2); position: relative; }
  .nav-toggle span:nth-child(1) { box-shadow: 0 -5px 0 var(--ink-2), 0 5px 0 var(--ink-2); }
  .nav-toggle span:nth-child(2), .nav-toggle span:nth-child(3) { display: none; }
  .nav-toggle em { font-style: normal; margin-left: 4px; }
  .nav-in { flex-wrap: wrap; }
  .nav-list {
    display: none; flex: 1 1 100%; flex-direction: column; align-items: stretch;
    gap: 0; border-top: 1px solid var(--line); padding: 6px 0 10px;
  }
  .nav-list.open { display: flex; }
  .nav-list > li > a { line-height: 1.4; padding: 12px 4px; border-bottom: 1px dotted var(--line); }
  .nav-list > li > a::after { display: none; }
  .nav-about { display: none; }
  .topbar-in { height: 32px; font-size: 11.5px; }
  .tb-next { display: none; }
  .tb-right { font-size: 11px; }
  .announce-in { gap: 10px; }
  .announce-link { display: none; }
  .announce p { font-size: 12.5px; }
  .section { padding: 34px 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .toolbar { flex-wrap: wrap; }
  .toolbar-label { display: none; }
  .tool-chip { flex: 1 1 50%; border-bottom: 1px solid var(--line); }
  .tool-chip:nth-child(3) { border-right: 0; }
  .tool-chip:nth-child(4), .tool-chip:nth-child(5) { border-bottom: 0; }
  .row-item { grid-template-columns: 28px minmax(0, 1fr) 46px; }
  .row-cat { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 26px; padding: 36px 18px 26px; }
  .f-brand { grid-column: 1 / -1; }
  .lead-title { font-size: 26px; }
  .lead-body { padding: 20px 20px 22px; }
  .hero-side { grid-template-columns: 1fr; }
  .term-now { grid-template-columns: 1fr; gap: 16px; padding: 22px; }
  .term-now-left { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); padding: 0 0 14px; }
  .term-now-left strong { font-size: 36px; }
  .art-head h1 { font-size: 27px; }
  .art-body { font-size: 16.5px; line-height: 1.9; }
  .art-body h2 { font-size: 21px; }
  .art-body h3 { font-size: 17.5px; }
  .art-body > p:first-of-type { font-size: 17px; }
  .art-side .toc { display: none; }
  .calc-row { grid-template-columns: 1fr; }
  .calc-card { padding: 20px; }
  .quiz-opts { padding-left: 0; gap: 6px; }
  .quiz-opts span { padding: 5px 11px; font-size: 12.5px; }
  .terms-grid { grid-template-columns: 1fr; }
  .tc-desc { min-height: 0; }
  .art-pager { grid-template-columns: 1fr; }
  .art-pager .pager-next { text-align: left; }
  .page-head h1 { font-size: 28px; }
  .cat-hero h1 { font-size: 30px; }
  .cat-hero-char { font-size: 220px; }
  .to-top { right: 14px; bottom: 16px; width: 36px; height: 36px; }
}

@media (max-width: 640px) {
  .grid-3, .tool-grid, .season-grid, .split-side, .footer-top { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-tile { min-height: 92px; padding: 13px 12px; gap: 8px; }
  .cat-char { font-size: 30px; }
  .cat-body strong { font-size: 16px; }
  .cat-body em { display: none; }
  .cat-count { right: 9px; bottom: 7px; }
  .trust { grid-template-columns: 1fr 1fr; }
  .announce p { font-size: 12px; line-height: 1.55; }
  .announce-in { min-height: 40px; }
  .season-card { border-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,.16); }
  .season-card:last-child { border-bottom: 0; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .tool-chip { flex: 1 1 100%; border-right: 0; border-bottom: 1px solid var(--line); }
  .tool-chip:last-child { border-bottom: 0; }
  .row-item { grid-template-columns: 24px minmax(0, 1fr); }
  .row-item > time { display: none; }
  .row-desc { display: none; }
  .row-title { font-size: 15.5px; }
  .footer-top { padding: 30px 18px 20px; }
  .legal-line { font-size: 11.5px; }
  .art-side { flex-direction: column; }
  .art-side .panel { flex: 1 1 auto; }
  .art-tags { display: none; }
  .result-num { font-size: 34px; }
  .bmi-scale { height: 26px; }
  .bs-seg { font-size: 10px; }
  .food-table { min-width: 0; }
  .food-table thead { display: none; }
  .food-table, .food-table tbody, .food-table tr, .food-table th, .food-table td { display: block; width: 100%; }
  .food-table tr { border-bottom: 1px solid var(--line); padding: 12px 14px; }
  .food-table tbody th { padding: 0 0 6px; font-size: 16px; border-bottom: 0; }
  .food-table td { padding: 3px 0; border-bottom: 0; font-size: 12.5px; display: grid; grid-template-columns: 46px 1fr; gap: 8px; }
  .food-table td[data-label="类别"], .food-table td[data-label="适合"] { display: none; }
  .food-table tr { padding: 10px 14px; }
  .food-table td::before { content: attr(data-label); color: var(--muted); font-size: 11.5px; }
  .term-cell { padding: 14px; }
  .notfound { padding: 50px 18px 70px; }
  .nf-code { font-size: 70px; }
  .calc-result { padding: 18px; }
  .author-box { grid-template-columns: 40px 1fr; padding: 16px; }
  .author-avatar { width: 40px; height: 40px; font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .topbar, .navbar, .announce, .search, .hero-side, .season-band, .footer, .to-top, .art-side { display: none !important; }
  body { background: #fff; }
  .art-grid { grid-template-columns: 1fr; }
}
