/* ============================================================
   三餐顺门户 · 全局样式
   ------------------------------------------------------------
   配色与小程序 app.wxss「素纸三层」同源，改色只改 :root：
     桌 #F2EEE7 ＜ 纸 #F6F3EE ＜ 卡白 #FFFFFF
     主色 #C97B4A（品牌棕）· 墨 #2F2B26 · 辅 #8A8177
   为什么是这套色：家属多从微信里的转发链接点进来，
   再点进小程序时不应感到「换了品牌」。全站不写死色值。

   写法：移动优先。默认是小屏，min-width 媒体查询逐级增强。
   依赖：assets/js/main.js 的类名（feed/card/article…）在此保留，
        两者不可单独改动。
   ============================================================ */

/* ---------- 1. 变量与基础 ---------- */
:root {
  /* 素纸三层 */
  --desk: #F2EEE7;
  --paper: #F6F3EE;
  --card: #FFFFFF;
  --band: #EFEAE2;

  /* 墨与辅 */
  --ink: #2F2B26;
  --ink2: #5C544B;
  --ink3: #8A8177;
  --ink4: #B3ACA1;

  /* 线 */
  --line: #E8E0D6;
  --line2: #F0EAE1;

  /* 品牌 */
  --brand: #C97B4A;
  --brand-d: #B06A3D;
  --brand-l: #D9A177;
  --brand-soft: #FAF3EC;

  /* 事实色（与小程序回执同源：只用于「已送达」） */
  --green: #2E7D57;
  --green-l: #4CAF50;

  /* 夜食（深色块） */
  --night: #1F1D1B;
  --night2: #282522;
  --night-accent: #D9A05B;

  /* 圆角 / 阴影 / 宽度 */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-full: 999px;
  --sh: 0 2px 12px rgba(47, 43, 38, .06);
  --sh2: 0 12px 32px rgba(47, 43, 38, .10);
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--desk);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-d); text-decoration: underline; }
a:focus-visible,
button:focus-visible,
summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.muted { color: var(--ink3); }
.tiny { font-size: 13px; color: var(--ink4); line-height: 1.8; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 18px; }

/* ---------- 2. 排版 ---------- */
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(27px, 6.4vw, 42px); line-height: 1.32; margin: 0; }
h2 { font-size: clamp(21px, 4.4vw, 29px); line-height: 1.4; margin: 0; }
h3 { font-size: 17px; line-height: 1.55; margin: 0; }
p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }

.lead { font-size: 16.5px; line-height: 1.9; color: var(--ink2); }
.lead strong { color: var(--ink); }

/* 区块 */
.sec { margin-top: 34px; padding-top: 32px; border-top: 1px solid var(--line); }
/* 首屏后面那块不画分割线：hero 自带卡片边框，再叠一条线就重了 */
.hero + .sec { margin-top: 26px; padding-top: 30px; border-top: 0; }
.sec h2 { margin-bottom: 8px; }
.sec .sub { margin: 0 0 22px; font-size: 14.5px; color: var(--ink3); line-height: 1.8; }
.sec[id] { scroll-margin-top: 76px; }

/* ---------- 3. 顶栏 ---------- */
.scs-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(242, 238, 231, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: .5px;
}
.brand:hover { text-decoration: none; color: var(--ink); }
.brand-mark {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--brand);
  position: relative;
  flex: 0 0 24px;
}
.brand-mark::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 5px;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: #fff;
}
.brand-mark::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 14px;
  height: 6px;
  border-radius: 0 0 8px 8px;
  background: #fff;
}
.slogan { color: var(--ink4); font-size: 13px; }

.nav-toggle {
  margin-left: auto;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: var(--ink2);
  font-size: 17px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle:hover { border-color: var(--brand-l); color: var(--brand); }

.nav { display: none; }
.nav a {
  color: var(--ink2);
  font-size: 15px;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--brand); text-decoration: none; }
.nav a.active { color: var(--brand); font-weight: 600; border-bottom-color: var(--brand); }

/* 小屏展开的抽屉导航 */
.nav.open {
  display: flex;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  flex-direction: column;
  gap: 2px;
  padding: 10px 18px 16px;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--sh2);
}
.nav.open a {
  padding: 11px 4px;
  border-bottom: 1px solid var(--line2);
  font-size: 15.5px;
}
.nav.open a:last-child { border-bottom: 0; }
.nav.open a.active { border-bottom-color: var(--line2); }

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 26px;
  border-radius: var(--r-full);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.4;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.btn:hover { text-decoration: none; }
.btn.primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(201, 123, 74, .26);
}
.btn.primary:hover { background: var(--brand-d); color: #fff; transform: translateY(-1px); }
.btn.ghost {
  background: var(--card);
  border-color: var(--line);
  color: var(--ink2);
}
.btn.ghost:hover { border-color: var(--brand-l); color: var(--brand); }
.btn.small { padding: 9px 18px; font-size: 14px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- 5. 卡片 / 面板 / 标签 ---------- */
.card,
.panel {
  background: var(--card);
  border: 1px solid var(--line2);
  border-radius: var(--r);
  padding: 18px;
}
.panel { padding: 20px; margin: 18px 0; }
.panel.warn { background: #FDF8F1; border-color: #EFDFC6; }
.panel > :first-child { margin-top: 0; }
.panel h2, .panel h3 { margin-bottom: 8px; }
.panel h2 { font-size: 19px; }

.tag,
.pill {
  display: inline-block;
  padding: 3px 12px;
  border-radius: var(--r-full);
  background: var(--brand-soft);
  color: var(--brand-d);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.7;
}
.pill.plain { background: var(--band); color: var(--ink2); }

.grid2, .grid3 { display: grid; grid-template-columns: 1fr; gap: 14px; }

/* 痛点卡 / 双方式卡 */
.pain {
  background: var(--card);
  border: 1px solid var(--line2);
  border-radius: var(--r);
  padding: 18px;
}
.pain .n {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 1.4px;
}
.pain h3 { margin: 8px 0 8px; font-size: 16px; }
.pain p { font-size: 14.5px; line-height: 1.85; color: var(--ink2); }

/* ---------- 6. 首屏 ---------- */
.hero {
  position: relative;
  margin-top: 18px;
  padding: 30px 20px 34px;
  border: 1px solid #EAE2D7;
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 100% at 50% 0%, #FCF8F3 0%, #F6F1E9 58%, #F2EDE5 100%);
  overflow: hidden;
}
.hero::after {
  /* 素纸的细纹：极淡，只在小屏外的空间里看得见 */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(201, 123, 74, .07) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .55;
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero .eyebrow {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, .8);
  border: 1px solid #EFE3D5;
  color: var(--brand-d);
  font-size: 12.5px;
  font-weight: 600;
}
.hero h1 { margin: 16px 0 0; }
.hero .lead { margin: 14px 0 0; }
.hero .cta { margin-top: 22px; }
.hero .tiny { margin-top: 14px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; }
.hero-visual { display: flex; justify-content: center; }

/* ---------- 7. 手机示意（纯 CSS，不用截图） ---------- */
.phone {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 11px;
  box-shadow: var(--sh2);
}
.ph-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 2px 2px 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line2);
  font-size: 12px;
  color: var(--ink4);
}
.ph-bar i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex: 0 0 6px;
}
.ph-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  margin-bottom: 9px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, #F7EEE4, #EFE2D4);
  color: #B08D72;
  font-size: 12.5px;
  letter-spacing: .3px;
}
.ph-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 2px;
  border-bottom: 1px dashed var(--line2);
  font-size: 12.5px;
  color: var(--ink2);
}
.ph-row:last-of-type { border-bottom: 0; }
.ph-row b { color: var(--ink); font-weight: 600; white-space: nowrap; }
.ph-btn {
  margin-top: 10px;
  padding: 9px 0;
  border-radius: var(--r-sm);
  background: var(--brand);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
}
.ph-note {
  padding: 9px 12px;
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink3);
  font-size: 12.5px;
  line-height: 1.7;
}

/* 「已送达」回执 —— 全站唯一用绿色的地方 */
.receipt {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: #EFF8F3;
  border: 1px solid #CCE7DA;
  color: var(--green);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.6;
}
.receipt b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green-l);
  color: #fff;
  font-size: 10px;
}

/* 三格演示 */
.shots { display: grid; grid-template-columns: 1fr; gap: 22px; }
.shot h3 { margin: 16px 0 6px; }
.shot p { font-size: 14.5px; color: var(--ink2); }

/* 图文并排 */
.grid-media { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
.prose p { font-size: 15px; line-height: 1.95; color: var(--ink2); margin-bottom: 13px; }
.prose strong { color: var(--ink); }

/* 问答小卡 */
.ask {
  background: var(--card);
  border: 1px solid var(--line2);
  border-radius: var(--r);
  padding: 16px 18px;
}
.ask p { font-size: 15px; line-height: 1.9; color: var(--ink2); }
.ask p:first-child { margin-bottom: 6px; }
.ask p:first-child strong { font-size: 15.5px; color: var(--ink); }
.ask a { font-weight: 600; }

/* ---------- 8. 表格 ---------- */
.tbl-wrap {
  background: var(--card);
  border: 1px solid var(--line2);
  border-radius: var(--r);
  overflow: hidden;
}
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th, .tbl td {
  padding: 13px 15px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line2);
}
.tbl thead th {
  background: var(--paper);
  color: var(--ink3);
  font-size: 13px;
  font-weight: 600;
}
.tbl td:first-child { color: var(--ink); font-weight: 600; }
.tbl tbody tr:last-child td { border-bottom: 0; }

/* ---------- 9. 步骤 ---------- */
.steps { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  padding: 15px 18px;
  background: var(--card);
  border: 1px solid var(--line2);
  border-radius: var(--r);
}
.steps li::before {
  counter-increment: s;
  content: counter(s);
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-d);
  font-size: 12.5px;
  font-weight: 700;
  transform: translateY(3px);
}
.steps b { flex: 0 0 auto; font-size: 15px; color: var(--ink); }
.steps span { flex: 1 1 100%; font-size: 14.5px; color: var(--ink2); }

/* ---------- 10. 折叠问答（原生 details，无 JS 依赖） ---------- */
.faq { display: grid; gap: 10px; margin: 20px 0 0; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line2);
  border-radius: var(--r);
  overflow: hidden;
}
.faq summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  cursor: pointer;
  list-style: none;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.7;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  margin-left: auto;
  border-right: 2px solid var(--ink4);
  border-bottom: 2px solid var(--ink4);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.faq details[open] summary { border-bottom: 1px solid var(--line2); }
.faq .faq-body { padding: 14px 18px 18px; font-size: 15px; line-height: 1.9; color: var(--ink2); }
.faq .faq-body :last-child { margin-bottom: 0; }
.faq .faq-body strong { color: var(--ink); }

/* ---------- 11. 行动区 ---------- */
.band {
  margin-top: 40px;
  padding: 30px 20px;
  border: 1px solid #EAE2D7;
  border-radius: var(--r-lg);
  background: radial-gradient(120% 140% at 50% 0%, #FCF7F1 0%, #F4EFE7 78%);
  text-align: center;
}
.band h2 { margin-bottom: 8px; }
.band p { font-size: 15.5px; color: var(--ink2); max-width: 620px; margin: 0 auto 20px; }
.band .cta { justify-content: center; }
.band .tel {
  margin: 16px 0 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: .5px;
}
.band .tel a { color: inherit; }
.band .tiny { margin-top: 10px; }

/* 深色块（夜食）：只用于一处，制造节奏 */
.band.night {
  background: var(--night);
  border-color: var(--night);
  color: #F2EFEA;
}
.band.night h2 { color: #F2EFEA; }
.band.night p { color: #B9B1A8; }
.band.night .tel { color: var(--night-accent); }
.band.night .btn.primary { background: var(--night-accent); color: var(--night); box-shadow: none; }
.band.night .btn.primary:hover { background: #E3AE69; color: var(--night); }
.band.night .btn.ghost { background: transparent; border-color: #453F3A; color: #D8D0C7; }
.band.night .btn.ghost:hover { border-color: var(--night-accent); color: var(--night-accent); }
.band.night .tiny { color: #8C847B; }

/* ---------- 12. 品牌内容列表（main.js 渲染，类名勿改） ---------- */
.feed { display: grid; grid-template-columns: 1fr; gap: 14px; }
.feed-hint { font-size: 14.5px; margin: 0; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.date { font-size: 13px; }
.card-title { margin: 0 0 6px; font-size: 18px; line-height: 1.5; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--brand); text-decoration: none; }
.card-summary { margin: 0 0 8px; font-size: 14.5px; color: var(--ink2); }
.card-tags, .article-tags { margin-top: 8px; }
.mini-tag {
  display: inline-block;
  margin: 0 6px 6px 0;
  padding: 1px 10px;
  border-radius: var(--r-full);
  background: var(--paper);
  color: var(--ink3);
  font-size: 12px;
}
.read-more { font-size: 13.5px; font-weight: 600; }

/* ---------- 13. 文章阅读（main.js 渲染，类名勿改） ---------- */
.article { max-width: 720px; margin: 0 auto; padding: 24px 0 10px; }
.back { font-size: 14px; color: var(--ink3); }
.back:hover { color: var(--brand); }
.article-type { display: flex; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.article-title { font-size: clamp(23px, 5.4vw, 31px); line-height: 1.4; margin: 12px 0 12px; }
.article-summary {
  padding: 13px 16px;
  border-radius: var(--r-sm);
  background: var(--brand-soft);
  color: #8A5730;
  font-size: 14.5px;
  line-height: 1.85;
}
.article-body { font-size: 16px; color: var(--ink2); }
.article-body h2 { font-size: 21px; margin: 28px 0 10px; }
.article-body h3 { font-size: 17.5px; margin: 22px 0 8px; }
.article-body p { margin: 12px 0; }
.article-body ul { padding-left: 22px; }
.article-body li { margin: 5px 0; }
.article-body img { border-radius: var(--r-sm); }
.article-body strong { color: var(--ink); }
.ai-note {
  margin-top: 28px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink4);
  font-size: 12.5px;
  line-height: 1.8;
  text-align: center;
}
.more-title { max-width: 720px; margin: 28px auto 0; font-size: 18px; }

/* ---------- 14. 静态正文页 ---------- */
.page { padding: 26px 0 44px; }
.page > h1 { margin-bottom: 10px; }
.page .page-lead { font-size: 16px; color: var(--ink3); margin-bottom: 8px; }
.page h2 { margin: 34px 0 12px; }
.page h3 { margin: 22px 0 8px; }
.page p { color: var(--ink2); }
.page ul { padding-left: 22px; }
.page ul li { margin: 6px 0; color: var(--ink2); }
.page strong { color: var(--ink); }
.page .tbl-wrap { margin: 18px 0; }

/* 目录（长页面的锚点导航） */
.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 6px;
}
.toc a {
  padding: 6px 14px;
  border-radius: var(--r-full);
  background: var(--card);
  border: 1px solid var(--line2);
  color: var(--ink2);
  font-size: 13.5px;
}
.toc a:hover { border-color: var(--brand-l); color: var(--brand); text-decoration: none; }

/* ---------- 15. 页脚 ---------- */
.scs-footer {
  margin-top: 44px;
  padding: 28px 0 34px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  color: var(--ink3);
  font-size: 13.5px;
  line-height: 2;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 14px;
  font-size: 14px;
}
.foot-links a { color: var(--ink2); }
.foot-links a:hover { color: var(--brand); text-decoration: none; }
.foot-links a.active { color: var(--brand); font-weight: 600; }
.scs-footer .foot-main { color: var(--ink2); }
.scs-footer .icp { font-size: 12.5px; color: var(--ink4); }
/* 工信部备案号链接（管局要求：首页底部展示并链接到工信部首页） */
.scs-footer .icp a { color: var(--ink4); }
.scs-footer .icp a:hover { color: var(--brand); text-decoration: none; }

/* ---------- 16. 滚动淡入 ---------- */
/* 只在 JS 就绪后才隐藏元素：ui.js 未加载或报错时，内容仍完整可见（不做「无 JS 就白屏」的设计） */
html.js-ready .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
html.js-ready .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js-ready .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- 17. 逐级增强 ---------- */
@media (min-width: 700px) {
  .wrap { padding: 0 24px; }
  .nav-toggle { display: none; }
  .nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
  }
  .nav.open {
    position: static;
    flex-direction: row;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    gap: 22px;
  }
  .nav.open a { padding: 6px 2px; border-bottom: 2px solid transparent; font-size: 15px; }
  .nav.open a.active { border-bottom-color: var(--brand); }
  .grid2 { grid-template-columns: repeat(2, 1fr); }
  .grid3 { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .shots { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .feed { grid-template-columns: repeat(2, 1fr); }
  .hero { margin-top: 24px; padding: 40px 34px 42px; }
  .sec { margin-top: 46px; padding-top: 44px; }
  .tbl td:first-child { width: 32%; }
  .steps li { flex-wrap: nowrap; }
  .steps span { flex: 1 1 auto; }
  .page { padding: 34px 0 54px; }
}

@media (min-width: 960px) {
  .hero { padding: 52px 48px 54px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 40px; }
  .hero-grid .hero-copy { text-align: left; }
  .grid-media { grid-template-columns: 320px 1fr; gap: 34px; }
  .feed { grid-template-columns: repeat(3, 1fr); }
  .article { padding-top: 34px; }
}

/* 打印：去掉装饰，只留正文 */
@media print {
  .scs-header, .nav, .band, .scs-footer, .toc { display: none !important; }
  body { background: #fff; }
  .wrap { max-width: none; padding: 0; }
}
