@charset "utf-8";
/* ==========================================================================
   law25 · 律图网  —— 版面语言「拼块索引 Block Index」
   签名结构：① 棋盘格分类区（深浅交替）② 正文夹注 .mnote ③ 实心色块区块标题
   配色：深蓝紫 #232a5c / 明黄 #ffc94a / 珊瑚 #e8563a / 浅薰衣草白 #f4f4fa
   零 CDN：系统字体栈 + 内联 SVG sprite + 本地 SVG 图片
   ========================================================================== */

:root {
  --ink: #232a5c;
  --ink-2: #3a4380;
  --ink-deep: #151a3d;
  --sun: #ffc94a;
  --sun-deep: #8a6106;
  --sun-soft: #fff6de;
  --coral: #e8563a;
  --coral-deep: #b5351d;
  --teal: #0f7b74;
  --teal-deep: #14453f;
  --paper: #f4f4fa;
  --paper-2: #e9e8f4;
  --card: #ffffff;
  --ink-3: #5d5f7a;
  --deco: #7b7f9e;
  --line: #dcdcec;
  --line-2: #c9c9e0;
  --on-dark: #f2f3fa;
  --on-dark-2: #b9bcd6;
  --on-dark-3: #9aa0c0;
  --wrap: 1200px;
  --gut: 20px;
  --r: 14px;
  --font: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: Consolas, "SFMono-Regular", Menlo, Monaco, "Courier New", monospace;
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

img, video { max-width: 100%; height: auto; display: block; border: 0; }
svg { display: inline-block; vertical-align: -0.125em; flex: 0 0 auto; }
.i { width: 17px; height: 17px; max-width: none; }
svg:where([viewBox="0 0 24 24"]) { width: 17px; height: 17px; max-width: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

::selection { background: var(--sun); color: var(--ink-deep); }

/* ---------- 容器：宽度收缩 + 居中（结构上不可能被 padding 简写清零） ---------- */
.wrap { width: min(var(--wrap), 100% - (var(--gut) * 2)); margin-inline: auto; }

/* ---------- 跳转链接 ---------- */
.skip {
  position: absolute; left: 0; top: 0; z-index: 130;
  width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip:focus {
  width: auto; height: auto; clip: auto; clip-path: none;
  padding: 10px 18px; background: var(--sun); color: var(--ink-deep); font-weight: 700;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 18px; border: 1px solid transparent; border-radius: 10px;
  font-size: 14.5px; font-weight: 700; line-height: 1.4; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .18s;
  white-space: nowrap;
}
.btn > .btn__t { color: inherit; font-size: inherit; line-height: inherit; font-weight: inherit; }
.btn--sun { background: var(--sun); color: var(--ink-deep); }
.btn--sun:hover { background: #ffd979; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--on-dark); border-color: var(--ink-2); }
.btn--ghost:hover { border-color: var(--sun); color: var(--sun); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--line:hover { border-color: var(--ink); background: var(--card); }
.btn--lg { padding: 13px 26px; font-size: 15.5px; }
.btn--blk { width: 100%; }
.btn[disabled] { opacity: .62; cursor: not-allowed; transform: none; }

/* ==========================================================================
   顶栏（单层 sticky · 深蓝紫 + 顶部明黄标线）
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--ink-deep); color: var(--on-dark);
  border-top: 4px solid var(--sun);
  box-shadow: 0 6px 24px rgba(9, 12, 32, .22);
}
.header-main {
  display: flex; align-items: center; gap: 18px;
  padding-block: 10px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; order: 1; flex: 0 0 auto; }
.brand__mark { display: block; flex: 0 0 auto; }
.brand__mark img { width: 40px; height: 40px; border-radius: 11px; }
.brand__txt { display: block; line-height: 1.2; }
.brand__name { display: block; font-size: 19px; font-weight: 800; letter-spacing: .08em; color: var(--on-dark); }
.brand__slogan { display: block; font-style: normal; font-size: 11px; letter-spacing: .16em; color: var(--sun); font-family: var(--mono); }

.nav { order: 2; margin-left: auto; min-width: 0; }
.nav__list { display: flex; gap: 3px; list-style: none; }
.nav__link {
  display: block; padding: 9px 14px; border-radius: 9px;
  font-size: 15px; color: var(--on-dark-2); white-space: nowrap;
  transition: background .18s, color .18s;
}
.nav__link:hover { color: var(--on-dark); background: var(--ink-2); }
.nav__link.is-on { color: var(--ink-deep); background: var(--sun); font-weight: 700; }

.header-side { order: 3; display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.header-tel { display: flex; align-items: center; gap: 8px; }
.header-tel > .i { color: var(--sun); width: 20px; height: 20px; }
.header-tel__txt { display: block; line-height: 1.25; }
.header-tel__txt i { display: block; font-style: normal; font-size: 11px; color: var(--on-dark-3); }
.header-tel__txt b { display: block; font-size: 15px; font-family: var(--mono); color: var(--sun); }

.nav-toggle {
  order: 4; display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; padding: 0; border: 1px solid var(--ink-2);
  border-radius: 10px; background: transparent; color: var(--on-dark); cursor: pointer;
}
.nav-toggle .i { width: 20px; height: 20px; }
.nav-toggle__close { display: none; }
.site-header.is-open .nav-toggle__open { display: none; }
.site-header.is-open .nav-toggle__close { display: inline-block; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; background: var(--ink-deep); color: var(--on-dark); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__svg { width: 100%; height: 100%; display: block; }
.hero__inner {
  position: relative; padding-block: 54px 30px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 366px);
  gap: 46px; align-items: center;
}
.hero__txt { min-width: 0; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .1em;
  color: var(--sun); border: 1px solid var(--ink-2); border-radius: 999px; padding: 5px 14px;
}
.hero__title {
  font-size: clamp(26px, 4.2vw, 46px); line-height: 1.26; font-weight: 800;
  letter-spacing: .01em; margin-bottom: 16px;
}
.hero__sub { font-size: 15.5px; color: var(--on-dark-2); line-height: 1.85; max-width: 34em; margin-bottom: 26px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.hero__tags a {
  display: inline-block; padding: 5px 13px; border: 1px solid var(--ink-2);
  border-radius: 999px; font-size: 12.5px; color: var(--on-dark-2); transition: .18s;
}
.hero__tags a:hover { border-color: var(--sun); color: var(--sun); }

.hpanel {
  background: var(--card); color: var(--ink);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 26px 60px rgba(9, 12, 32, .42);
}
.hpanel__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 18px; background: var(--sun); color: var(--ink-deep);
}
.hpanel__ttl { display: flex; align-items: center; gap: 7px; font-size: 16px; font-weight: 800; }
.hpanel__ttl .i { width: 18px; height: 18px; }
.hpanel__date { font-family: var(--mono); font-size: 12px; font-weight: 700; }
.hpanel__list { list-style: none; padding: 5px 0; }
.hpanel__it + .hpanel__it { border-top: 1px dashed var(--line); }
.hpanel__it a { display: flex; gap: 11px; padding: 11px 18px; transition: background .18s; }
.hpanel__it a:hover { background: var(--paper); }
.hpanel__no { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--sun-deep); flex: 0 0 auto; padding-top: 3px; }
.hpanel__t {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; font-size: 14px; font-weight: 700; line-height: 1.58; min-width: 0;
}
.hpanel__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 12px 18px; background: var(--paper-2); font-size: 13.5px; font-weight: 700;
  color: var(--ink); border-top: 1px solid var(--line);
}
.hpanel__foot:hover { background: var(--sun); color: var(--ink-deep); }

.hero__stats-wrap { position: relative; }
.hero__stats {
  list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink-2);
}
.hstat { padding: 18px 8px 22px; border-right: 1px solid var(--ink-2); min-width: 0; }
.hstat:last-child { border-right: 0; }
.hstat__n { font-family: var(--mono); font-size: clamp(22px, 3vw, 32px); font-weight: 700; color: var(--sun); }
.hstat__u { font-size: 13px; color: var(--on-dark-3); margin-left: 3px; }
.hstat__t { display: block; font-size: 13px; color: var(--on-dark-2); margin-top: 3px; }

/* ==========================================================================
   区块 / 区块标题（实心色块编号）
   ========================================================================== */
.sec { padding-block: 62px; }
.sec--tight { padding-block: 44px; }
.sec--paper2 { background: var(--paper-2); }
.sec--dark { background: var(--ink-deep); color: var(--on-dark); }

.sec-head { margin-bottom: 30px; }
.sec-head__row { display: flex; align-items: center; gap: 14px; }
.sec-head__no {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  min-width: 50px; height: 38px; padding: 0 11px; border-radius: 9px;
  background: var(--ink); color: var(--sun);
  font-family: var(--mono); font-size: 16px; font-weight: 700; letter-spacing: .06em;
}
.sec-head__title { flex: 0 0 auto; font-size: clamp(21px, 2.4vw, 27px); font-weight: 800; letter-spacing: .02em; }
.sec-head__more {
  margin-left: auto; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: var(--coral-deep); white-space: nowrap;
}
.sec-head__more:hover { color: var(--coral); }
.sec-head__desc { margin-top: 10px; font-size: 14.5px; color: var(--ink-3); max-width: 46em; }
.sec-foot { display: flex; justify-content: center; margin-top: 34px; }

.sec--dark .sec-head__no { background: var(--sun); color: var(--ink-deep); }
.sec--dark .sec-head__title { color: var(--on-dark); }
.sec--dark .sec-head__desc { color: var(--on-dark-2); }
.sec--dark .sec-head__more { color: var(--sun); }

/* ==========================================================================
   棋盘格分类区（深浅交替）
   ========================================================================== */
.chess {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  background: var(--card);
}
.chess__cell {
  position: relative; display: flex; flex-direction: column; gap: 9px;
  padding: 24px 22px 22px; min-width: 0; color: var(--ink);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.chess__cell:nth-child(4n) { border-right: 0; }
.chess__cell:nth-child(n+5) { border-bottom: 0; }
.chess__cell:nth-child(4n+2),
.chess__cell:nth-child(4n+3) { background: var(--ink); color: var(--on-dark); border-color: var(--ink-2); }
.chess__cell:hover { background: var(--paper-2); }
.chess__cell:nth-child(4n+2):hover,
.chess__cell:nth-child(4n+3):hover { background: var(--ink-2); }

.chess__no { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--sun-deep); }
.chess__cell:nth-child(4n+2) .chess__no,
.chess__cell:nth-child(4n+3) .chess__no { color: var(--sun); }
.chess__ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 11px;
  background: var(--paper-2); color: var(--ink);
}
.chess__ico .i { width: 22px; height: 22px; }
.chess__cell:nth-child(4n+2) .chess__ico,
.chess__cell:nth-child(4n+3) .chess__ico { background: rgba(255, 255, 255, .1); color: var(--sun); }
.chess__name { font-size: 18px; font-weight: 800; letter-spacing: .03em; }
.chess__desc { font-size: 13.5px; color: var(--ink-3); line-height: 1.7; }
.chess__cell:nth-child(4n+2) .chess__desc,
.chess__cell:nth-child(4n+3) .chess__desc { color: var(--on-dark-2); }
.chess__cnt {
  display: flex; align-items: center; gap: 5px; margin-top: auto; padding-top: 12px;
  border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3);
}
.chess__cnt b { font-family: var(--mono); font-size: 16px; color: var(--coral-deep); }
.chess__cell:nth-child(4n+2) .chess__cnt,
.chess__cell:nth-child(4n+3) .chess__cnt { color: var(--on-dark-2); border-color: var(--ink-2); }
.chess__cell:nth-child(4n+2) .chess__cnt b,
.chess__cell:nth-child(4n+3) .chess__cnt b { color: var(--sun); }

/* ==========================================================================
   带缩略图：左大卡 + 右 2×2
   ========================================================================== */
.thumb-block { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; }

.feat {
  display: flex; flex-direction: column; min-width: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; transition: transform .22s, box-shadow .22s, border-color .22s;
}
.feat:hover { transform: translateY(-4px); border-color: var(--ink-2); box-shadow: 0 18px 42px rgba(35, 42, 92, .14); }
.feat__media { position: relative; display: block; }
.feat__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.feat__tag {
  position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 7px;
  background: var(--sun); color: var(--ink-deep); font-size: 12.5px; font-weight: 700;
}
.feat__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.feat__title { font-size: 20px; font-weight: 800; line-height: 1.45; }
.feat__desc { font-size: 14px; color: var(--ink-3); line-height: 1.75; }
.feat__foot {
  display: flex; flex-wrap: wrap; gap: 16px; margin-top: auto; padding-top: 6px;
  font-size: 12.5px; color: var(--ink-3); font-family: var(--mono);
}

.thumb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tcard {
  display: flex; flex-direction: column; min-width: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tcard:hover { transform: translateY(-3px); border-color: var(--ink-2); box-shadow: 0 14px 32px rgba(35, 42, 92, .12); }
.tcard__media { display: block; }
.tcard__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.tcard__body { display: flex; flex-direction: column; gap: 6px; padding: 13px 15px 15px; }
.tcard__cat { font-size: 12px; font-weight: 700; color: var(--coral-deep); }
.tcard__title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 14.5px; font-weight: 700; line-height: 1.55;
}
.tcard__date { font-size: 12px; color: var(--ink-3); font-family: var(--mono); margin-top: auto; }

/* ==========================================================================
   双列无缩略图
   ========================================================================== */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 46px; }
.duo__it {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 15px;
  align-items: start; padding: 18px 0; min-width: 0;
  border-bottom: 1px dashed var(--line-2); transition: transform .18s;
}
.duo__it:hover { transform: translateX(4px); }
.duo__no { font-family: var(--mono); font-size: 20px; font-weight: 700; color: var(--deco); line-height: 1.3; }
.duo__it:hover .duo__no { color: var(--coral-deep); }
.duo__main { min-width: 0; }
.duo__title { display: block; font-size: 15.5px; font-weight: 700; line-height: 1.6; }
.duo__desc { display: block; font-size: 13px; color: var(--ink-3); line-height: 1.7; margin-top: 5px; }
.duo__side { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; flex: 0 0 auto; }
.duo__cat { font-size: 12px; font-weight: 700; color: var(--coral-deep); white-space: nowrap; }
.duo__date { font-size: 12px; color: var(--ink-3); font-family: var(--mono); white-space: nowrap; }
.duo--news { margin-bottom: 26px; }

/* ==========================================================================
   三列无缩略图
   ========================================================================== */
.tri { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tri__it {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  padding: 22px 20px 18px; min-width: 0; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tri__it:hover { transform: translateY(-3px); border-color: var(--ink-2); box-shadow: 0 14px 32px rgba(35, 42, 92, .12); }
.tri__bar { position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--coral); transition: background .22s; }
.tri__it:hover .tri__bar { background: var(--sun); }
.tri__cat { font-size: 12.5px; font-weight: 700; color: var(--coral-deep); margin-top: 6px; }
.tri__title { font-size: 16px; font-weight: 700; line-height: 1.6; }
.tri__foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  margin-top: auto; padding-top: 11px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-3); font-family: var(--mono);
}

/* ==========================================================================
   关于本站
   ========================================================================== */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 40px; align-items: start; }
.about__p { font-size: 15px; line-height: 1.9; color: var(--ink-3); margin-bottom: 14px; }
.about__p:last-of-type { margin-bottom: 0; }
.about__pts { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; margin-top: 22px; }
.about__pts li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; font-weight: 700; min-width: 0; }
.about__pts .i { color: var(--teal); margin-top: 3px; flex: 0 0 auto; }
.about__panel {
  background: var(--ink); color: var(--on-dark); border-radius: var(--r);
  padding: 24px 24px 20px; border-top: 5px solid var(--sun);
}
.about__panel-k {
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .14em;
  color: var(--sun); margin-bottom: 16px;
}
.about__nums { list-style: none; }
.about__nums li { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--ink-2); }
.about__nums li:last-child { border-bottom: 0; }
.about__nums b { font-family: var(--mono); font-size: 26px; font-weight: 700; color: var(--sun); flex: 0 0 auto; }
.about__nums span { font-size: 13.5px; color: var(--on-dark-2); }
.about__panel-note { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--ink-2); font-size: 12.5px; color: var(--on-dark-3); line-height: 1.7; }

/* ==========================================================================
   服务流程
   ========================================================================== */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.steps__it { position: relative; min-width: 0; padding: 24px 20px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.steps__no {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 30px; padding: 0 9px; border-radius: 8px;
  background: var(--ink); color: var(--sun); font-family: var(--mono); font-size: 14px; font-weight: 700;
}
.steps__t { font-size: 16.5px; font-weight: 800; margin: 14px 0 8px; }
.steps__d { font-size: 13.5px; color: var(--ink-3); line-height: 1.75; }

/* ==========================================================================
   咨询表单（深色区 + 浅色卡片）
   ========================================================================== */
.consult { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 552px); gap: 52px; align-items: start; }
.consult__txt { min-width: 0; }
.consult__kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .1em;
  color: var(--sun); border: 1px solid var(--ink-2); border-radius: 999px; padding: 5px 14px;
}
.consult__title { font-size: clamp(22px, 2.8vw, 32px); font-weight: 800; line-height: 1.36; color: var(--on-dark); margin-bottom: 16px; }
.consult__sub { font-size: 15px; color: var(--on-dark-2); line-height: 1.9; max-width: 34em; }
.consult__pts { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 11px; margin-top: 24px; }
.consult__pts li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--on-dark-2); }
.consult__pts .i { color: var(--sun); margin-top: 3px; flex: 0 0 auto; }
.consult__tel { margin-top: 26px; padding-top: 20px; border-top: 1px dashed var(--ink-2); font-size: 14px; color: var(--on-dark-3); }
.consult__tel a { font-family: var(--mono); font-size: 24px; font-weight: 700; color: var(--sun); }

.form-card {
  background: var(--card); color: var(--ink);
  border-radius: 18px; padding: 26px 26px 24px;
  box-shadow: 0 26px 64px rgba(9, 12, 32, .42);
  min-width: 0;
}
.card-light { background: var(--card); color: var(--ink); }
.form-card__title { font-size: 21px; font-weight: 800; color: var(--ink); }
.form-card__sub { margin: 6px 0 16px; font-size: 13.5px; color: var(--ink-3); }
.req { color: var(--coral-deep); font-style: normal; font-weight: 700; }

.form-alert {
  display: flex; align-items: flex-start; gap: 8px; margin: 0 0 14px;
  padding: 11px 14px; border-radius: 10px; font-size: 13.5px; font-weight: 700; line-height: 1.65;
}
.form-alert[hidden] { display: none; }
.form-alert.is-err { background: #fdeceb; color: #a8291a; border-left: 4px solid var(--coral); }
.form-alert.is-ok { background: #e9f6ee; color: #0f5c3a; border-left: 4px solid var(--teal); }

.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; margin-top: 14px; }
.field__lb { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.field__ip {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: 10px;
  background: #fbfbfe; font-size: 14.5px; font-family: inherit; color: var(--ink);
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.field__ip::placeholder { color: #6f7192; }
.field__ip:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px rgba(35, 42, 92, .14); }
.field__ta { resize: vertical; min-height: 108px; line-height: 1.7; }
.field__sel { position: relative; }
.field__sel::after {
  content: ""; position: absolute; right: 15px; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: translateY(-72%) rotate(45deg); pointer-events: none;
}
.field__sel .field__ip { appearance: none; -webkit-appearance: none; padding-right: 38px; }
.field.is-invalid .field__ip { border-color: var(--coral); background: #fff7f6; }
.field.is-invalid .field__lb { color: var(--coral-deep); }

.agree { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; font-size: 13.5px; color: var(--ink-3); line-height: 1.65; }
.agree input { flex: 0 0 auto; width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--ink); }
.agree__t { min-width: 0; }
.agree__t a { color: var(--coral-deep); text-decoration: underline; }
.agree.is-invalid { color: var(--coral-deep); }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; }
.form__hint { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); min-width: 0; }
.form__hint .i { color: var(--teal); }

/* ==========================================================================
   FAQ / 友链
   ========================================================================== */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.faq__it { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.faq__it[open] { border-color: var(--ink-2); box-shadow: 0 12px 28px rgba(35, 42, 92, .08); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 18px; cursor: pointer; font-size: 15.5px; font-weight: 700;
  list-style: none; color: var(--ink);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }
.faq__q-t { min-width: 0; }
.faq__ico { width: 18px; height: 18px; color: var(--coral-deep); transition: transform .25s; }
.faq__it[open] .faq__ico { transform: rotate(45deg); }
.faq__a { padding: 0 18px 18px; font-size: 14px; color: var(--ink-3); line-height: 1.85; }

.links {  }
.links__grp { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.links__ttl { font-size: 15.5px; font-weight: 800; padding-bottom: 10px; margin-bottom: 13px; border-bottom: 2px solid var(--sun); }
.links__list { list-style: none; }
.links__list li{display: inline-block;margin-right: 10px;}
.links__list a { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-3); }
.links__list a:hover { color: var(--coral-deep); }
.links__list .i { width: 13px; height: 13px; opacity: .7; }

/* ==========================================================================
   页脚 / 移动底栏
   ========================================================================== */
.site-footer { background: var(--ink-deep); color: var(--on-dark-2); padding-top: 52px; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
.footer-brand img { width: 36px; height: 36px; border-radius: 10px; }
.footer-brand b { font-size: 18px; font-weight: 800; color: var(--on-dark); letter-spacing: .08em; }
.footer-desc { font-size: 13.5px; line-height: 1.85; margin-bottom: 16px; }
.footer-contact { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; font-size: 13.5px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.footer-contact .i { margin-top: 3px; color: var(--sun); }
.footer-col__t { font-size: 15px; font-weight: 800; color: var(--on-dark); padding-bottom: 9px; margin-bottom: 13px; border-bottom: 1px solid var(--ink-2); }
.footer-links { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; font-size: 13.5px; }
.footer-links a:hover { color: var(--sun); }
.footer-note { margin-top: 14px; font-size: 12.5px; color: var(--on-dark-3); line-height: 1.7; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  margin-top: 40px; padding-block: 18px; border-top: 1px solid var(--ink-2);
}
.footer-copy { font-size: 12.5px; color: var(--on-dark-3); }

.mobile-bar {
  position: fixed; inset: auto 0 0 0; z-index: 70;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--ink-deep); border-top: 3px solid var(--sun);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar__it {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  padding: 9px 4px; font-size: 11.5px; color: var(--on-dark-2);
  border-right: 1px solid var(--ink-2);
}
.mobile-bar__it:last-child { border-right: 0; }
.mobile-bar__it .i { width: 19px; height: 19px; }
.mobile-bar__it--cta { background: var(--sun); color: var(--ink-deep); font-weight: 700; }

/* ==========================================================================
   内页 banner / 面包屑
   ========================================================================== */
.page-banner { position: relative; background: var(--paper-2); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-banner__bg { position: absolute; inset: 0 0 0 auto; width: 42%; overflow: hidden; }
.page-banner__bg img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.page-banner__inner {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  gap: 32px; padding-block: 32px; padding-left: 20px;
}
.page-banner__inner::before {
  content: ""; position: absolute; left: 0; top: 26px; bottom: 26px; width: 6px; background: var(--sun);
}
.page-banner__txt { min-width: 0; max-width: 56%; }
.page-banner__kicker {
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--coral-deep); margin-bottom: 8px;
}
.page-banner__title { font-size: clamp(21px, 2.8vw, 30px); font-weight: 800; line-height: 1.38; max-width: 30em; }
.page-banner__sub { margin-top: 9px; font-size: 14px; color: var(--ink-3); max-width: 46em; }
.pb-stats { list-style: none; display: flex; flex: 0 0 auto; }
.pb-stat { padding: 0 18px; border-left: 1px solid rgba(255, 255, 255, .16); text-align: center; }
.pb-stat:first-child { border-left: 0; }
.pb-stat b { display: block; font-family: var(--mono); font-size: 16px; font-weight: 700; color: var(--sun); }
.pb-stat span { display: block; font-size: 12px; color: rgba(255, 255, 255, .72); margin-top: 2px; }

.crumb { background: var(--card); border-bottom: 1px solid var(--line); }
.crumb__list {
  list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  padding-block: 12px; font-size: 13.5px; color: var(--ink-3);
}
.crumb__sp { display: inline-flex; color: var(--line-2); }
.crumb__sp .i { width: 13px; height: 13px; }
.crumb__it a { color: var(--ink-3); }
.crumb__it a:hover { color: var(--coral-deep); }
.crumb__it.is-here span { color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }

/* ==========================================================================
   列表页
   ========================================================================== */
.news-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 330px); gap: 38px; align-items: start; }
.news-main { min-width: 0; }
.side { min-width: 0; align-self: stretch; }
.side-sticky {
  position: sticky; top: 88px; display: grid; gap: 16px;
  overscroll-behavior: contain;
  scrollbar-width: thin; padding-right: 2px;
}
.widget { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.widget__t {
  display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 800;
  padding-bottom: 10px; margin-bottom: 14px; border-bottom: 2px solid var(--sun);
}
.widget__t .i { color: var(--coral-deep); }
.widget__p { font-size: 13.5px; line-height: 1.78; margin-bottom: 14px; }
.widget__tel { margin-top: 11px; text-align: center; font-size: 12.5px; }
.widget--cta { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.widget--cta .widget__t { color: var(--on-dark); border-color: var(--ink-2); }
.widget--cta .widget__t .i { color: var(--sun); }
.widget--cta .widget__p { color: var(--on-dark-2); }
.widget--cta .widget__tel { color: var(--on-dark-3); }
.widget--toc .i { color: var(--ink-3); }

.wcats { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; }
.wcats a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 10px; border-radius: 8px; font-size: 14px; color: var(--ink-3); transition: .18s;
}
.wcats a:hover { background: var(--paper); color: var(--ink); }
.wcats b { font-family: var(--mono); font-size: 12.5px; color: var(--coral-deep); }

.wtags { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; }
.wtags a {
  display: inline-block; padding: 5px 11px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 12.5px; color: var(--ink-3); transition: .18s;
}
.wtags a:hover { border-color: var(--ink); color: var(--ink); }

.slist { list-style: none; }
.slist__it + .slist__it { border-top: 1px dashed var(--line); }
.slist__it a { display: flex; gap: 10px; padding: 10px 0; min-width: 0; }
.slist__no { flex: 0 0 auto; padding-top: 3px; font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--sun-deep); }
.slist__main { min-width: 0; }
.slist__title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 14px; font-weight: 700; line-height: 1.55;
}
.slist__meta { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-3); }
.slist__it a:hover .slist__title { color: var(--coral-deep); }

.filter { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; margin-bottom: 22px; }
.filter__lb { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--ink-3); margin-bottom: 11px; }
.filter__lb .i { color: var(--coral-deep); }
.filter__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-block; padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 13.5px; color: var(--ink-3); background: var(--paper); transition: .18s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--sun); border-color: var(--ink); font-weight: 700; }
.filter__hint { margin-top: 12px; font-size: 12.5px; color: var(--ink-3); font-family: var(--mono); }

.news-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 26px; }
.rowline {
  display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 22px; min-width: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; transition: border-color .2s, box-shadow .2s;
}
.rowline:hover { border-color: var(--ink-2); box-shadow: 0 14px 34px rgba(35, 42, 92, .1); }
.rowline__media { position: relative; display: block; }
.rowline__media img { width: 100%; height: 100%; min-height: 176px; object-fit: cover; }
.rowline__cat {
  position: absolute; left: 10px; top: 10px; padding: 3px 9px; border-radius: 6px;
  background: var(--sun); color: var(--ink-deep); font-size: 12px; font-weight: 700;
}
.rowline__body { display: flex; flex-direction: column; gap: 9px; padding: 18px 22px 18px 0; min-width: 0; }
.rowline__title { font-size: 18px; font-weight: 800; line-height: 1.5; }
.rowline__title a:hover { color: var(--coral-deep); }
.rowline__desc { font-size: 13.5px; color: var(--ink-3); line-height: 1.78; }

.meta { display: flex; flex-wrap: wrap; gap: 15px; margin-top: auto; font-size: 12.5px; color: var(--ink-3); font-family: var(--mono); }
.meta__it { display: inline-flex; align-items: center; gap: 5px; }
.meta .i { width: 13px; height: 13px; opacity: .9; }

.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pager__it {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px;
  font-family: var(--mono); font-size: 14px; color: var(--ink-3); background: var(--card); transition: .18s;
}
.pager__it:hover { border-color: var(--ink); color: var(--ink); }
.pager__it.is-on { background: var(--ink); color: var(--sun); border-color: var(--ink); font-weight: 700; }
.pager__it.is-disabled { color: #4f5a68; background: var(--paper-2); }
.pager__sum { margin-left: auto; font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }

/* ==========================================================================
   文章页
   ========================================================================== */
.art-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 296px);
  gap: 40px; align-items: start; max-width: 1060px; margin-inline: auto;
}
.prose {
  min-width: 0; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); padding: 32px 34px 34px; font-size: 16.5px; line-height: 1.9;
}
.prose .lede {
  font-size: 16.5px; line-height: 1.9; color: var(--ink);
  background: var(--sun-soft); border-left: 5px solid var(--coral);
  border-radius: 0 12px 12px 0; padding: 18px 22px; margin-bottom: 26px;
}
.prose > h2 {
  font-size: 21px; font-weight: 800; line-height: 1.5;
  margin: 38px 0 14px; padding-left: 15px; border-left: 5px solid var(--sun);
}
.prose > h2:first-of-type { margin-top: 30px; }
.prose > h3 { display: flex; align-items: center; gap: 10px; font-size: 17.5px; font-weight: 800; margin: 26px 0 10px; }
.prose > h3::before {
  content: ""; flex: 0 0 auto; width: 9px; height: 9px;
  background: var(--coral); border-radius: 2px; transform: rotate(45deg);
}
.prose > p { margin-bottom: 16px; }
.prose > ul { list-style: none; margin-bottom: 18px; }
.prose > ul li { position: relative; padding-left: 21px; margin-bottom: 9px; }
.prose > ul li::before {
  content: ""; position: absolute; left: 4px; top: .68em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sun); border: 1.5px solid var(--ink);
}
.prose > blockquote {
  margin: 22px 0; padding: 18px 22px; background: var(--paper);
  border-left: 4px solid var(--ink); border-radius: 0 10px 10px 0;
}
.prose > blockquote p { margin: 0; font-family: var(--serif); font-size: 17px; line-height: 1.9; }

/* 夹注 —— 签名结构 */
.mnote {
  display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px;
  margin: 22px 0; padding: 16px 18px; background: #fffaf0;
  border: 1px dashed var(--sun); border-radius: 12px;
}
.mnote__tag {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--sun); color: var(--ink-deep);
  font-family: var(--serif); font-size: 16px; font-weight: 800;
}
.mnote__txt { font-size: 14.5px; line-height: 1.85; color: #5a4a1e; }

.tipbox {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px;
  margin: 22px 0; padding: 16px 18px; background: #eef7f5;
  border-left: 4px solid var(--teal); border-radius: 0 10px 10px 0;
}
.tipbox__ico { width: 19px; height: 19px; color: var(--teal); margin-top: 4px; }
.tipbox p { margin: 0; font-size: 15px; line-height: 1.85; color: var(--teal-deep); }

.table-wrap { margin: 24px 0; overflow-x: auto; }
.table-wrap caption {
  caption-side: top; text-align: left; padding-bottom: 10px;
  font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--ink-3);
}
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.7; }
.prose th, .prose td { border: 1px solid var(--line-2); padding: 10px 13px; text-align: left; vertical-align: top; }
.prose thead th { background: var(--ink); color: var(--sun); font-weight: 700; font-size: 14px; }
.prose tbody th { background: var(--paper-2); font-weight: 700; width: 30%; }

.flow { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 24px 0; }
.flow__it {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: center;
  padding: 12px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
}
.flow__no {
  padding: 5px 0; border-radius: 7px; text-align: center;
  background: var(--sun); color: var(--ink-deep);
  font-family: var(--mono); font-size: 13px; font-weight: 700;
}
.flow__t { font-size: 15px; font-weight: 700; }

.toc { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.toc__lk { display: flex; gap: 9px; padding: 8px; border-radius: 8px; font-size: 13.5px; color: var(--ink-3); line-height: 1.55; }
.toc__lk:hover { background: var(--paper); color: var(--ink); }
.toc__lk.is-on { background: var(--sun); color: var(--ink-deep); font-weight: 700; }
.toc__no { flex: 0 0 auto; padding-top: 2px; font-family: var(--mono); font-size: 12px; }
.toc__t { min-width: 0; }

.art-note {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 11px;
  margin-top: 30px; padding: 14px 16px; background: var(--paper-2); border-radius: 10px;
}
.art-note__ico { width: 17px; height: 17px; color: var(--ink-3); margin-top: 4px; }
.art-note p { margin: 0; font-size: 13px; line-height: 1.75; color: var(--ink-3); }
.art-tags {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
  margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line-2);
}
.art-tags__lb { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); }
.art-tags a {
  display: inline-block; padding: 5px 12px; border: 1px solid var(--line-2);
  border-radius: 999px; font-size: 12.5px; color: var(--ink-3); transition: .18s;
}
.art-tags a:hover { border-color: var(--ink); color: var(--ink); }
.art-author { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 16px; background: var(--paper); border-radius: 12px; }
.art-author__av {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--sun);
}
.art-author__av .i { width: 22px; height: 22px; }
.art-author__nm { font-size: 15.5px; font-weight: 800; }
.art-author__tt { margin-top: 3px; font-size: 12.5px; color: var(--ink-3); }

.art-side { min-width: 0; align-self: stretch; }
.art-side__sticky {
  position: sticky; top: 88px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-self: stretch;
  max-height: calc(100vh - 112px); overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; padding-right: 2px;
}

.prevnext { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.prevnext__it {
  display: flex; flex-direction: column; gap: 8px; min-width: 0;
  padding: 18px 20px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); transition: border-color .2s, box-shadow .2s;
}
.prevnext__it:hover { border-color: var(--ink-2); box-shadow: 0 14px 30px rgba(35, 42, 92, .1); }
.prevnext__it--next { text-align: right; align-items: flex-end; }
.prevnext__lb { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--coral-deep); }
.prevnext__t { font-size: 15px; font-weight: 700; line-height: 1.6; }

/* ==========================================================================
   入场动画（渐进增强：默认可见，仅脚本接管后才隐藏）
   ========================================================================== */
.reveal { opacity: 1; transform: none; }
html.js-reveal .reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
html.js-reveal .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js-reveal .reveal { opacity: 1; transform: none; transition: none; }
}
@media print {
  html.js-reveal .reveal { opacity: 1 !important; transform: none !important; }
  .mobile-bar, .nav-toggle { display: none !important; }
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1199px) {
  .header-main { gap: 12px; }
  .header-tel { display: none; }
  .nav__link { padding: 9px 11px; font-size: 14.5px; }
}

@media (max-width: 1099px) {
  .chess { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chess__cell:nth-child(4n) { border-right: 1px solid var(--line); }
  .chess__cell:nth-child(2n) { border-right: 0; }
  .chess__cell:nth-child(n+5) { border-bottom: 1px solid var(--line); }
  .chess__cell:nth-child(n+7) { border-bottom: 0; }
  .chess__cell:nth-child(4n+1),
  .chess__cell:nth-child(4n+4) { background: var(--card); color: var(--ink); border-color: var(--line); }
  .chess__cell:nth-child(4n+2),
  .chess__cell:nth-child(4n+3) { background: var(--ink); color: var(--on-dark); border-color: var(--ink-2); }
  .news-layout, .art-layout { grid-template-columns: minmax(0, 1fr); max-width: none; }
  .side-sticky, .art-side__sticky { position: static; max-height: none; overflow: visible; }
  .side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .side-sticky { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .widget--cta { grid-column: 1 / -1; }
}

@media (max-width: 979px) {
  body { padding-bottom: 64px; }

  .header-main { flex-wrap: wrap; row-gap: 8px; }
  .nav { order: 4; flex: 1 0 100%; margin-left: 0; }
  .nav-toggle { order: 2; display: inline-flex; margin-left: auto; }
  .header-side { order: 3; }
  .site-header.is-collapsible .nav { max-height: 0; overflow: hidden; transition: max-height .34s ease; }
  .site-header.is-collapsible.is-open .nav { max-height: 560px; overflow-y: auto; }
  .site-header:not(.is-collapsible) .nav { max-height: none; overflow: visible; }
  .nav__list { flex-direction: column; gap: 0; padding-block: 4px; }
  .nav__list > li { flex: 0 0 auto; }
  .nav__link { padding: 12px 10px; border-bottom: 1px solid var(--ink-2); border-radius: 0; }
  .nav__link.is-on { background: var(--sun); }

  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-block: 40px 26px; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hstat { border-bottom: 1px solid var(--ink-2); }
  .hstat:nth-child(2n) { border-right: 0; }
  .hstat:nth-child(n+3) { border-bottom: 0; }

  .thumb-block { grid-template-columns: minmax(0, 1fr); }
  .thumb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tri { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .consult { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-banner__inner { padding-block: 26px; }
  .pb-stats { display: none; }
  .rowline { grid-template-columns: 220px minmax(0, 1fr); }
}

@media (max-width: 767px) {
  .sec { padding-block: 46px; }
  .sec--tight { padding-block: 34px; }
  .duo { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .tri { grid-template-columns: minmax(0, 1fr); }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .links { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .side, .side-sticky { grid-template-columns: minmax(0, 1fr); }
  .rowline { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .rowline__media img { min-height: 0; aspect-ratio: 16 / 9; }
  .rowline__body { padding: 16px 18px 18px; }
  .prevnext { grid-template-columns: minmax(0, 1fr); }
  .prevnext__it--next { text-align: left; align-items: flex-start; }
  .art-tags { gap: 7px; }
  .form__grid { grid-template-columns: minmax(0, 1fr); }
  .field--full { margin-top: 8px; }
}

@media (max-width: 619px) {
  :root { --gut: 16px; }

  .brand__slogan { display: none; }
  .header-side { display: none; }
  .nav-toggle { margin-left: auto; }

  .hero__inner { padding-block: 32px 22px; }
  .hero__title { font-size: clamp(24px, 7.4vw, 32px); }
  .hero__sub { font-size: 14.5px; }
  .hero__stats { grid-template-columns: minmax(0, 1fr); }
  .hstat { border-right: 0; border-bottom: 1px solid var(--ink-2); }
  .hstat:nth-child(n+3) { border-bottom: 1px solid var(--ink-2); }
  .hstat:last-child { border-bottom: 0; }
  .hstat__t { display: inline; margin-left: 8px; }
  .hpanel__date { display: none; }

  .chess { grid-template-columns: minmax(0, 1fr); }
  .chess__cell,
  .chess__cell:nth-child(4n),
  .chess__cell:nth-child(2n) { border-right: 0; }
  .chess__cell:nth-child(n+5),
  .chess__cell:nth-child(n+7) { border-bottom: 1px solid var(--line); }
  .chess__cell:last-child { border-bottom: 0; }
  .chess__cell,
  .chess__cell:nth-child(4n+1),
  .chess__cell:nth-child(4n+4) { background: var(--card); color: var(--ink); border-color: var(--line); }
  .chess__cell:nth-child(4n+2),
  .chess__cell:nth-child(4n+3) { background: var(--card); color: var(--ink); border-color: var(--line); }
  .chess__cell:nth-child(4n+2) .chess__no,
  .chess__cell:nth-child(4n+3) .chess__no { color: var(--sun-deep); }
  .chess__cell:nth-child(4n+2) .chess__ico,
  .chess__cell:nth-child(4n+3) .chess__ico { background: var(--paper-2); color: var(--ink); }
  .chess__cell:nth-child(4n+2) .chess__desc,
  .chess__cell:nth-child(4n+3) .chess__desc { color: var(--ink-3); }
  .chess__cell:nth-child(4n+2) .chess__cnt,
  .chess__cell:nth-child(4n+3) .chess__cnt { color: var(--ink-3); border-color: var(--line); }
  .chess__cell:nth-child(4n+2) .chess__cnt b,
  .chess__cell:nth-child(4n+3) .chess__cnt b { color: var(--coral-deep); }

  .about__pts { grid-template-columns: minmax(0, 1fr); }
  .footer-main { grid-template-columns: minmax(0, 1fr); }
  .form-card { padding: 20px 18px 20px; border-radius: 14px; }
  .consult__tel a { font-size: 21px; }
  .duo__it { grid-template-columns: auto minmax(0, 1fr); gap: 12px; }
  .duo__side { flex-direction: row; align-items: center; gap: 10px; grid-column: 2 / -1; }
  .page-banner__bg { display: none; }
  .page-banner__txt { max-width: none; }
  .page-banner__inner { padding-left: 16px; }
  .page-banner__inner::before { width: 5px; top: 20px; bottom: 20px; }
  .prose { padding: 22px 18px 24px; font-size: 16px; }
  .prose .lede { font-size: 15.5px; padding: 15px 16px; }
  .prose > h2 { font-size: 19px; padding-left: 12px; margin-top: 32px; }
  .prose > h3 { font-size: 16.5px; }
  .prose table, .prose thead, .prose tbody, .prose tr, .prose th, .prose td { display: block; width: auto; }
  .prose thead { display: none; }
  .prose tbody tr { margin-bottom: 14px; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
  .prose tbody th { width: auto; border: 0; border-radius: 0; background: var(--ink); color: var(--sun); }
  .prose td { border: 0; border-top: 1px dashed var(--line); }
  .prose td::before {
    content: attr(data-label); display: block; margin-bottom: 3px;
    font-size: 12px; font-weight: 700; color: var(--ink-3);
  }
  .table-wrap { overflow-x: visible; }
  .mnote { grid-template-columns: 34px minmax(0, 1fr); gap: 11px; padding: 14px; }
  .mnote__tag { width: 32px; height: 32px; font-size: 14px; }
  .mnote__txt { font-size: 14px; }
  .flow__it { grid-template-columns: 34px minmax(0, 1fr); gap: 11px; padding: 11px 13px; }
  .pager__sum { margin-left: 0; width: 100%; }
  .footer-bottom { margin-top: 30px; }
}

@media (max-width: 419px) {
  .hero__cta .btn { width: 100%; }
  .sec-head { margin-bottom: 22px; }
  .sec-head__no { min-width: 44px; height: 34px; font-size: 15px; }
  .sec-head__more span { display: none; }
  .thumb-grid { grid-template-columns: minmax(0, 1fr); }
  .duo__no { font-size: 19px; }
}

/* 桌面端：隐藏移动专属控件（提特异性，避免被靠后的裸选择器反压） */
@media (min-width: 980px) {
  body .mobile-bar { display: none; }
  body .nav-toggle { display: none; }
  .site-header.is-collapsible .nav { max-height: none; overflow: visible; }
}
