:root {
  --brand: #2f7d5d;
  --brand-2: #3f9b78;
  --brand-soft: #e6f2ea;
  --accent: #c98b3a;
  --accent-soft: #f8ecdb;

  --bg: #f7f5ef;
  --bg-soft: #efecdf;
  --surface: #ffffff;
  --surface-2: #fbfaf6;
  --ink: #1e2b24;
  --ink-2: #41544a;
  --muted: #7c8c82;
  
  /* 去除描边与边框线 */
  --line: transparent;
  --line-strong: transparent;
  --glass-line: transparent;
  
  /* 去除阴影 */
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  
  --glass: rgba(255, 255, 255, .72);
  
  /* 去除圆角 */
  --r-sm: 0;
  --r-md: 0;
  --r-lg: 0;
  --r-xl: 0;
  
  --wrap: 1220px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

html[data-theme="dark"] {
  --brand: #5cc094;
  --brand-2: #74d3aa;
  --brand-soft: rgba(92, 192, 148, .14);
  --accent: #e0a758;
  --accent-soft: rgba(224, 167, 88, .14);

  --bg: #101612;
  --bg-soft: #16201a;
  --surface: #17221c;
  --surface-2: #1b2721;
  --ink: #e7efe9;
  --ink-2: #c4d2c9;
  --muted: #93a79b;
  
  --line: transparent;
  --line-strong: transparent;
  --glass-line: transparent;
  
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  
  --glass: rgba(23, 34, 28, .72);
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.75 "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", system-ui, sans-serif;
  transition: background .45s var(--ease), color .45s var(--ease);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }
p { margin: 0; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--brand); color: #fff; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.section { padding: 64px 0; }
.section--tight { padding: 18px 0 8px; }
.section--soft { background: var(--bg-soft); border-block: 1px solid transparent; }

/* ---------- 通用组件 ---------- */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 22px;
  border: none; border-radius: 0;
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: transform .35s var(--ease), background .25s, color .25s;
}
.btn--primary { background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; box-shadow: none; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: none; }
.btn--ghost { background: var(--surface); border: none; color: var(--ink-2); }
.btn--ghost:hover { color: var(--brand); transform: translateY(-2px); }
.btn--light { background: rgba(255, 255, 255, .9); color: var(--brand); }
.btn--light:hover { transform: translateY(-2px); }
.btn--block { display: flex; width: 100%; }

.link-arrow { color: var(--brand); font-size: 13px; font-weight: 600; transition: gap .3s var(--ease); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 0;
  background: var(--brand-soft); color: var(--brand);
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: none; animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
/* ---------- 导航 ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: none;
  transition: background .45s var(--ease);
}
.header.is-stuck { border-bottom: none; box-shadow: none; }
.header__inner { display: flex; align-items: center; gap: 24px; height: 68px; }

/* Logo 样式修改 */
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; transition: opacity 0.3s; }
.logo:hover { opacity: 0.85; }
.logo__img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.nav { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.nav__link {
  position: relative; padding: 8px 12px; border-radius: 0;
  font-size: 14.5px; color: var(--ink-2); white-space: nowrap;
  transition: color .25s, background .25s;
}
.nav__link:hover { color: var(--brand); background: var(--brand-soft); }
.nav__link.is-active { color: var(--brand); font-weight: 600; }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 0; translate: -50% 0;
  width: 18px; height: 3px; border-radius: 0; background: var(--brand);
}

.header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.quicksearch { position: relative; display: flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 14px; border-radius: 0;
  background: var(--surface); border: none; color: var(--muted);
  transition: box-shadow .25s, width .3s var(--ease);
}
.quicksearch:focus-within { box-shadow: none; }
.quicksearch input { width: 150px; border: 0; outline: 0; background: none; font-size: 13.5px; color: var(--ink); }
.quicksearch input::placeholder { color: var(--muted); }
.quicksearch__panel {
  position: absolute; top: calc(100% + 10px); right: 0; width: 320px;
  padding: 8px; border-radius: 0;
  background: var(--surface); border: none;
  box-shadow: none; z-index: 20;
}
.quicksearch__panel a { display: block; padding: 8px 12px; border-radius: 0; font-size: 13.5px; color: var(--ink-2); }
.quicksearch__panel a:hover { background: var(--brand-soft); color: var(--brand); }
.quicksearch__panel .qs-empty { padding: 14px; font-size: 13px; color: var(--muted); text-align: center; }

.theme-switch { display: flex; gap: 2px; padding: 3px; border-radius: 0; background: var(--surface); border: none; }
.theme-switch button {
  width: 30px; height: 30px; display: grid; place-items: center;
  border: 0; border-radius: 0; background: none; cursor: pointer; color: var(--muted);
  transition: background .25s, color .25s;
}
.theme-switch button:hover { color: var(--ink); }
.theme-switch button.is-on { background: var(--brand); color: #fff; }

/* 汉堡菜单按钮及动画优化 */
.menu-toggle { 
  display: none; 
  width: 40px; 
  height: 40px; 
  border: none;
  border-radius: 0; 
  background: var(--surface); 
  cursor: pointer; 
  padding: 11px 10px;
  position: relative;
  z-index: 70;
}
.menu-toggle span { 
  display: block; 
  height: 2px; 
  background: var(--ink); 
  border-radius: 0; 
  margin: 0 0 4px; 
  transition: transform .3s var(--ease), opacity .3s var(--ease);
  transform-origin: center;
}
.menu-toggle span:last-child { margin: 0; }

/* 激活状态：变成 X */
.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 56px; overflow: hidden; }
.hero__decor { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.blob--1 { width: 420px; height: 420px; top: -120px; right: -80px; background: radial-gradient(circle, var(--brand-2), transparent 70%); }
.blob--2 { width: 340px; height: 340px; bottom: -140px; left: -100px; background: radial-gradient(circle, var(--accent), transparent 70%); opacity: .28; }
.leaf--1 {
  position: absolute; right: 6%; top: 22%; width: 150px; height: 150px;
  background: currentColor; color: var(--brand); opacity: .07;
  clip-path: polygon(50% 0, 100% 38%, 78% 100%, 22% 100%, 0 38%);
  animation: floaty 9s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-18px) rotate(8deg); } }

.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { margin: 20px 0 16px; font-size: clamp(32px, 4.2vw, 52px); letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--brand); position: relative; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; bottom: 4px; width: 100%; height: 10px;
  background: var(--accent); opacity: .28; border-radius: 0; z-index: -1;
}
.hero__desc {color: var(--ink-2); font-size: 16px; }

.hero__search {
  display: flex; align-items: center; gap: 10px; margin: 28px 0 14px;
  padding: 7px 7px 7px 18px; border-radius: 0;
  background: var(--surface); border: none; box-shadow: none;
  max-width: 620px; color: var(--muted);
  transition: box-shadow .35s var(--ease), border-color .3s;
}
.hero__search:focus-within { box-shadow: none; }
.hero__search input { flex: 1; border: 0; outline: 0; background: none; font-size: 15px; height: 40px; color: var(--ink); }
.hero__search input::placeholder { color: var(--muted); }

.hero__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.hero__tags a { padding: 4px 12px; border-radius: 0; background: var(--surface); border: none; color: var(--ink-2); transition: .25s var(--ease); }
.hero__tags a:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }

.hero__stats { display: flex; flex-wrap: wrap; gap: 50px; margin-top: 34px; padding-top: 26px; border-top: 1px dashed transparent; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats b { font-size: 26px; color: var(--brand); font-variant-numeric: tabular-nums; }
.hero__stats span { font-size: 12.5px; color: var(--muted); }

/* Hero 右侧节气卡 */
.hero__card { position: relative; }
.hero__jqcard { padding: 26px; }
.hero__jqcard-top { display: flex; align-items: center; justify-content: space-between; }
.pill { padding: 4px 12px; border-radius: 0; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; }
.hero__jqdate { font-size: 12.5px; color: var(--muted); }
.hero__jqtitle { margin: 14px 0 8px; font-size: 24px; }
.hero__jqdesc { font-size: 14px; color: var(--ink-2); }
.jq-list { margin: 18px 0; display: grid; gap: 10px; }
.jq-list li { display: flex; gap: 12px; align-items: baseline; font-size: 13.5px; color: var(--ink-2); }
.jq-list span {
  flex: 0 0 auto; padding: 2px 9px; border-radius: 0; font-size: 11.5px; font-weight: 700;
  background: var(--brand-soft); color: var(--brand);
}
.jq-list li em{font-style:normal}
.floating-mini {
  position: absolute; padding: 12px 16px; display: flex; flex-direction: column; gap: 2px;
  font-size: 12px; color: var(--muted); animation: floaty 7s ease-in-out infinite;
}
.floating-mini b { font-size: 14px; color: var(--ink); }
.floating-mini--1 { left: -46px; bottom: -56px; }
.floating-mini--2 { right: -26px; top: -40px; animation-delay: -3s; }

/* ---------- 快捷分类 ---------- */
.quickgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
  padding: 20px; border-radius: 0; background: var(--surface); border: none; box-shadow: none; }
.quickgrid__item {
  padding: 16px 12px; border-radius: 0; text-align: center;
  transition: transform .4s var(--ease), background .3s;
}
.quickgrid__item:hover { transform: translateY(-4px); background: var(--surface-2); }
.quickgrid__ico {
  width: 46px; height: 46px; margin: 0 auto 10px; display: grid; place-items: center;
  border-radius: 0; color: #fff;
  background: linear-gradient(140deg, var(--i1), var(--i2));
  box-shadow: none;
  transition: transform .45s var(--ease);
}
.quickgrid__item:hover .quickgrid__ico { transform: rotate(-8deg) scale(1.08); }
.quickgrid__item b { display: block; font-size: 14px; }
.quickgrid__item i { display: block; margin-top: 3px; font-size: 11.5px; font-style: normal; color: var(--muted); }

/* ---------- 主体布局 ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.col-main { min-width: 0; display: grid; gap: 40px; }
.col-side { display: grid; gap: 22px; position: sticky; top: 88px; }

.block__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.block__head--center { flex-direction: column; align-items: center; text-align: center; gap: 8px; margin-bottom: 32px; }
.block__title { font-size: 24px; position: relative; padding-left: 14px; }
.block__title::before {
  content: ""; position: absolute; left: 0; top: 50%; translate: 0 -50%;
  width: 5px; height: 22px; border-radius: 0; background: var(--brand);
}
.block__head--center .block__title { padding-left: 0; }
.block__head--center .block__title::before { display: none; }
.block__sub { font-size: 13.5px; color: var(--muted); }

/* ---------- Tabs + 文章列表 ---------- */
.tabs-panel { background: var(--surface); border: none; border-radius: 0; padding: 22px; box-shadow: none; }
.tabs { display: flex; align-items: center; gap: 6px; border-bottom: 1px solid transparent; padding-bottom: 14px; margin-bottom: 6px; flex-wrap: wrap; }
.tabs__btn {
  padding: 7px 16px; border: 0; border-radius: 0; cursor: pointer;
  background: none; font-size: 14.5px; color: var(--ink-2); transition: .25s var(--ease);
}
.tabs__btn:hover { background: var(--brand-soft); color: var(--brand); }
.tabs__btn.is-active { background: var(--brand); color: #fff; font-weight: 600; box-shadow: none; }
.tabs__more { margin-left: auto; font-size: 13px; color: var(--muted); }
.tabs__more:hover { color: var(--brand); }

/* 选项卡内容区 */
.tab-content {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}
.tab-content.is-active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.article-list li { border-bottom: 1px dashed transparent; }
.article-list li:last-child { border-bottom: 0; }
.article-item {
  display: grid; grid-template-columns: 1fr 160px; gap: 18px; align-items: center;
  padding: 16px 10px; border-radius: 0;
  transition: background .3s, transform .35s var(--ease);
}
.article-item:hover { background: var(--surface-2); transform: translateX(4px); }
.article-item h3 { font-size: 16px; margin-bottom: 6px; transition: color .25s; }
.article-item:hover h3 { color: var(--brand); }
.article-item p { font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-item__meta { margin-top: 8px; display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
.article-item__meta em { font-style: normal; color: var(--accent); }
.article-item__thumb {
  height: 104px; border-radius: 0; display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, var(--t1), var(--t2)); box-shadow: none;
}
.article-item__thumb img{
    display:block;
    width:100%;
    height:100%;
    object-fit: cover;
}

/* ---------- 食谱卡 ---------- */
.recipe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.recipe-card {
  background: var(--surface); border: none; border-radius: 0;
  overflow: hidden; transition: transform .45s var(--ease);
}
.recipe-card:hover { transform: translateY(-6px); box-shadow: none; border-color: transparent; }
.recipe-card__thumb {
  position: relative; height: 160px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, var(--c1), var(--c2));overflow:hidden;
}
.recipe-card__thumb img{
     display:block;
    width:100%;
    height:100%;
    object-fit: cover;
}
.recipe-card__tag {
  position: absolute; top: 12px; left: 12px; padding: 3px 10px; border-radius: 0;
  background: rgba(255,255,255,.9); color: #2f7d5d; font-size: 11.5px; font-weight: 700;
}
.recipe-card__body { padding: 16px 18px 18px; }
.recipe-card__body h3 { font-size: 16px; }
.recipe-card__body p { margin: 8px 0 12px; font-size: 13.5px; color: var(--muted); display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;}
.recipe-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.recipe-meta span { padding: 3px 10px; border-radius: 0; background: var(--bg-soft); font-size: 11.5px; color: var(--ink-2); }

/* ---------- 中医卡 ---------- */
.tcm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tcm-card {
  position: relative; padding: 22px; border-radius: 0;
  background: var(--surface); border: none;
  transition: transform .45s var(--ease);
}
.tcm-card:hover { transform: translateY(-5px); box-shadow: none; }
.tcm-card__idx { font-size: 30px; font-weight: 800; color: var(--brand); opacity: .18; line-height: 1; }
.tcm-card h3 { margin: 6px 0 8px; font-size: 17px; }
.tcm-card p { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;}

/* ---------- 运动卡 ---------- */
.sport-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sport-card {
  display: flex; flex-direction: column; gap: 6px; padding:15px;
  border-radius: 0; background: var(--surface); border: none;
  transition: transform .45s var(--ease);
}
.sport-card:hover { transform: translateY(-5px); box-shadow: none; }
.sport-card__ico { width: 100%; height: 100px; display: grid; place-items: center; border-radius: 0;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 6px; overflow:hidden;}
  .sport-card__ico img{
      display:block;
    width:100%;
    height:100%;
    object-fit: cover;
  }
.sport-card h3 { font-size: 15px; display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;}
.sport-card span { font-size: 12px; color: var(--muted); display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;}

/* ---------- 侧栏 ---------- */
.side-card { background: var(--surface); border: none; border-radius: 0; padding: 20px; box-shadow: none; }
.side-card__title { display: flex; align-items: center; gap: 10px; font-size: 16px; margin-bottom: 14px; }
.side-card__bar { width: 4px; height: 16px; border-radius: 0; background: var(--brand); }
.tip { padding: 12px 0; border-top: 1px dashed transparent; }
.tip:first-of-type { border-top: 0; padding-top: 0; }
.tip b { display: block; font-size: 14.5px; margin-bottom: 4px; }
.tip p { font-size: 13px; color: var(--muted); }

.rank-list li a { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; font-size: 14px; color: var(--ink-2); border-top: 1px dashed transparent; }
.rank-list li:first-child a { border-top: 0; }
.rank-list a:hover { color: var(--brand); }
.rank-list i {
  flex: 0 0 20px; height: 20px; border-radius: 0; display: grid; place-items: center;
  font-style: normal; font-size: 11.5px; font-weight: 700; background: var(--bg-soft); color: var(--muted);
}
.rank-list li:nth-child(1) i { background: var(--brand); color: #fff; }
.rank-list li:nth-child(2) i { background: #5fa583; color: #fff; }
.rank-list li:nth-child(3) i { background: #8fc2a8; color: #fff; }

.bmi__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.bmi__row label { display: block; font-size: 12.5px; color: var(--muted); }
.bmi__row input {
  width: 100%; height: 38px; margin-top: 5px; padding: 0 10px;
  border: none; border-radius: 0; background: var(--surface-2); outline: 0;
}
.bmi__row input:focus { box-shadow: none; }
.bmi__result { margin-top: 14px; padding: 14px; border-radius: 0; background: var(--brand-soft); }
.bmi__result b { font-size: 22px; color: var(--brand); }
.bmi__result p { font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.bmi__result .bar { height: 8px; margin: 10px 0 6px; border-radius: 0;
  background: linear-gradient(90deg, #7bb8e8, #5cc094, #e0a758, #d88181); position: relative; }
.bmi__result .bar span { position: absolute; top: -3px; width: 4px; height: 14px; border-radius: 0; background: var(--ink); }
.bmi__note { margin-top: 10px; font-size: 11.5px; color: var(--muted); }

.side-card--promo { background: linear-gradient(140deg, var(--brand-2), var(--brand)); border: 0; color: #fff; }
.side-card--promo h3 { font-size: 18px; margin: 8px 0; }
.side-card--promo p { font-size: 13.5px; opacity: .88; margin-bottom: 16px; }
.side-card__kicker { font-size: 11.5px; letter-spacing: .16em; opacity: .8; }

.follow { display: flex; gap: 14px; align-items: center; }
.follow__qr { width: 76px; height: 76px; flex: 0 0 auto; display: grid; place-items: center;
  border-radius: 0; background: var(--bg-soft); color: var(--ink); }
.follow__text b { display: block; font-size: 14px; }
.follow__text span { display: block; font-size: 12.5px; color: var(--muted); }
.follow__id { margin-top: 4px; font-family: ui-monospace, Consolas, monospace; color: var(--brand) !important; }

/* ---------- 四季养生与节气 ---------- */
.season-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.season-card {
  padding: 24px; border-radius: 0; background: var(--surface);
  border: none; border-top: 4px solid var(--brand);
  transition: transform .45s var(--ease);
}
.season-card:hover { transform: translateY(-6px); box-shadow: none; }
.season-card header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.season-card__ico { font-size: 24px; }
.season-card h3 { font-size: 18px; }
.season-card p { font-size: 13.5px; color: var(--ink-2); }
.season-card ul { margin-top: 14px; display: grid; gap: 7px; font-size: 12.5px; color: var(--muted); }
.season-card li { padding-left: 14px; position: relative; }
.season-card li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 0; background: var(--brand); opacity: .6; }
.season-card--spring { border-top-color: #6cb98a; }
.season-card--summer { border-top-color: #e8a54f; }
.season-card--autumn { border-top-color: #cf7f52; }
.season-card--winter { border-top-color: #6a9fd8; }

/* 二十四节气网格板块 */
.jieqi-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.jieqi-season {
  background: var(--surface);
  padding: 20px;
}
.jieqi-season__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-soft);
}
.jieqi-season__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.jieqi-season__tag {
  font-size: 12.5px;
  color: var(--brand);
  font-weight: 600;
}
.jieqi-season__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.jieqi-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  background: var(--bg-soft);
  color: var(--ink-2);
  font-size: 14px;
  text-align: center;
  transition: all .25s var(--ease);
}
.jieqi-cell:hover {
  background: var(--brand-soft);
  color: var(--brand);
}
.jieqi-cell.is-now {
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}
.jieqi-cell.is-now::after {
  content: "当前";
  font-size: 10px;
  background: rgba(255,255,255,0.25);
  padding: 1px 5px;
  margin-left: 6px;
}

/* ---------- 专家 ---------- */
#expert { background-color: var(--surface); }

.expert-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.expert-card {
  display: flex; gap: 14px; padding: 20px; border-radius: 0;
  background: var(--bg-soft); border: none;
  transition: transform .45s var(--ease);
}
.expert-card:hover { transform: translateY(-6px); box-shadow: none; }
.expert-card__avatar {
  flex: 0 0 52px; height: 52px; display: grid; place-items: center;
  font-size: 20px; font-weight: 700; color: #fff;
  background: linear-gradient(140deg, var(--a1), var(--a2));border-radius:50%;overflow:hidden;border:solid 2px #fff;
}
.expert-card__avatar img{
    display:block;
    width:100%;
    height:100%;
    object-fit: cover;
}
.expert-card__body { min-width: 0; }
.expert-card__body h3 { font-size: 15.5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.expert-card__body h3 span { padding: 2px 8px; border-radius: 0; background: var(--surface); color: var(--brand); font-size: 11.5px; font-weight: 600; }
.expert-card__hosp { margin: 4px 0 6px; font-size: 12.5px; color: var(--muted); }
.expert-card__skill { font-size: 12.5px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 人群 ---------- */
.crowd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.crowd-chip {
  display: flex; flex-direction: column; gap: 4px; padding: 20px;
  border-radius: 0; background: var(--surface); border: none;
  transition: transform .4s var(--ease), background .3s;
}
.crowd-chip:hover { transform: translateY(-4px); background: var(--surface-2); }
.crowd-chip b { font-size: 16px; }
.crowd-chip span { font-size: 12.5px; color: var(--muted); }

/* ---------- 页脚 ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.7); }
html[data-theme="dark"] .footer { background: #0b110d; }
.footer__top { display: grid; grid-template-columns: 1.8fr 2fr; gap: 48px; padding: 52px 0 36px; }
.footer__brand p { margin: 16px 0 14px; font-size: 13.5px; line-height: 1.9; max-width: 530px; }
.logo--footer .logo__text strong { color: #fff; }
.logo--footer .logo__text em { color: rgba(255,255,255,.5); font-style:normal;margin-left:5px;}
.footer__contact { display: grid; gap: 6px; font-size: 12.5px; color: rgba(255,255,255,.55); }
.footer__links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; justify-items: end;}
.footer__links h4 { color: #fff; font-size: 14.5px; margin-bottom: 14px; }
.footer__links a { display: block; padding: 5px 0; font-size: 13px; transition: color .25s, transform .25s; }
.footer__links a:hover { color: #fff; transform: translateX(3px); }
.footer__disclaimer {
  padding: 16px 20px; border-radius: 0; margin-bottom: 24px;
  background: rgba(255,255,255,.06); font-size: 12.5px; line-height: 1.9; color: rgba(255,255,255,.62);
}
.footer__disclaimer strong { color: #f0c48c; }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 20px 0 28px; border-top: 1px solid transparent; font-size: 12.5px; color: rgba(255,255,255,.5);
}
.footer__friendly a { margin-left: 10px; }
.footer__friendly a:hover { color: #fff; }

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 30px; z-index: 50;
  width: 44px; height: 44px; display: grid; place-items: center;
  border: none; border-radius: 0; cursor: pointer;
  background: var(--surface); color: var(--brand); box-shadow: none;
  opacity: 0; pointer-events: none; transition: opacity .35s, transform .35s var(--ease);
}
.to-top.is-on { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-4px) scale(1.05); }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001s !important; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .quickgrid { grid-template-columns: repeat(4, 1fr); }
  .expert-row { grid-template-columns: repeat(2, 1fr); }
  
  /* 移动端菜单交互与样式优化 */
  .nav {
    display: flex;
    flex-wrap: wrap;
    position: absolute; top: 100%; left: 0; right: 0;
    padding: 8px 20px;
    background: var(--surface); /* 实色背景，去除透明底 */
    border-bottom: 1px solid var(--bg-soft); /* 底部分割线 */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    z-index: 50;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav__link { 
    width: 100%; /* 单列 */
    text-align: left; /* 文字靠左 */
    padding: 14px 10px;
    border-bottom: 1px solid var(--bg-soft);
  }
  .nav__link:last-child {
    border-bottom: none;
  }
  .nav__link.is-active::after { display: none; } /* 移动端隐藏底部小横线 */
  .nav__link:hover { background: var(--brand-soft); }
  
  .menu-toggle { display: block; }
  .quicksearch { display: none; }
  .jieqi-board { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .floating-mini { display: none; }
  .layout { grid-template-columns: 1fr; }
  .col-side { position: static; grid-template-columns: repeat(2, 1fr); }
  .season-grid, .crowd-grid, .sport-row { grid-template-columns: repeat(2, 1fr); }
  .recipe-grid { grid-template-columns: 1fr; }
  .tcm-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 28px); }
  .section { padding: 44px 0; }
  .hero { padding: 44px 0 32px; }
  .quickgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 14px; }
  .season-grid, .crowd-grid, .sport-row, .expert-row, .col-side, .jieqi-board { grid-template-columns: 1fr; }
  .hero__stats { gap: 18px; }
  .hero__stats b { font-size: 21px; }
  .article-item { grid-template-columns: 1fr; }
  .article-item__thumb { display: none; }
  .header__inner { height: 60px; gap: 12px; }
  .logo__text em { display: none; }
  .topbar__left .topbar__date { display: none; }
  .footer__links { grid-template-columns: repeat(2, 1fr); }
  .to-top { right: 14px; bottom: 18px; }
  .logo__img { height: 36px; }
}

/* ---------- 纯 CSS 选项卡 ---------- */
.tabswitch { position: relative; }
.tabswitch > input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.tabswitch .tabs label.tabs__btn { font: inherit; border: 0; cursor: pointer; line-height: normal; }
.tabswitch > .article-list { display: none; }
#ts-diet:checked ~ .article-list[data-panel="diet"],
#ts-tcm:checked ~ .article-list[data-panel="tcm"],
#ts-sport:checked ~ .article-list[data-panel="sport"],
#ts-season:checked ~ .article-list[data-panel="season"],
#ts-crowd:checked ~ .article-list[data-panel="crowd"] { display: block; }
#ts-diet:checked ~ .tabs label[for="ts-diet"],
#ts-tcm:checked ~ .tabs label[for="ts-tcm"],
#ts-sport:checked ~ .tabs label[for="ts-sport"],
#ts-season:checked ~ .tabs label[for="ts-season"],
#ts-crowd:checked ~ .tabs label[for="ts-crowd"] {
  background: var(--brand); color: #fff; font-weight: 600;
  box-shadow: none;
}