@charset "utf-8";
/* ==========================================================================
   法叙网 · 全站样式（零 CDN：系统字体栈 + 本地 SVG + 内联图标精灵）
   版面语言：折页目录 / 编号驱动
   --------------------------------------------------------------------------
   硬约束备忘（从 law1–law16 踩过的坑里固化）：
   1. 复位规则绝不把 svg 与 img 写在一起；内联 svg 尺寸单独定义
   2. .wrap 只负责宽度与居中（width:min + margin-inline），不写任何 padding，
      避免与修饰类的 padding 简写互相清零
   3. grid 容器必须显式写 grid-template-columns / grid-auto-columns
   4. 中文行宽用 em，不用 ch
   5. 深色区里的浅色卡片必须显式声明文字颜色（含卡内标题）
   6. 媒体查询里隐藏/改写属性时，若基础规则在文件更后面，必须提高特异性
   7. 全站零 background-image（保证对比度审计能取到真实底色）
   8. reveal 默认可见，只有 html.js-reveal 时才隐藏
   ========================================================================== */

/* ------------------------------------------------------------ 1. 令牌 */
:root {
  --paper: #f4f6f7;
  --paper-2: #e9eef1;
  --card: #ffffff;

  --ink: #16202b;
  --ink-2: #33414f;
  --muted: #5f7280;
  --deco-ink: #7f929d;

  --line: #dde4e8;
  --line-2: #c7d3d9;

  --brand: #14556b;
  --brand-deep: #0d3a4b;
  --brand-deeper: #0a2f3d;
  --brand-2: #2b7d95;
  --brand-tint: #e3edf1;

  --accent: #d9603a;
  --accent-ink: #c14a22;
  --accent-tint: #fbe9e2;
  --accent-on-dark: #f0a184;

  --gold: #c58b1f;
  --gold-ink: #8a5f10;

  --on-dark: #eef3f5;
  --on-dark-2: #a6bcc6;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --mono: Consolas, "SFMono-Regular", Menlo, "DejaVu Sans Mono", "Courier New", monospace;

  --r: 14px;
  --r-lg: 22px;
  --r-sm: 8px;

  --sh-1: 0 1px 2px rgba(13, 58, 75, .05), 0 10px 24px -18px rgba(13, 58, 75, .35);
  --sh-2: 0 2px 4px rgba(13, 58, 75, .06), 0 22px 46px -24px rgba(13, 58, 75, .42);

  --gap: 24px;
  --wrap: 1240px;
  --header-h: 66px;
}

/* ------------------------------------------------------------ 2. 复位 */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--card);
  overflow-x: clip;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.005em;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--accent-ink); }
button { font: inherit; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

img, video { max-width: 100%; height: auto; display: block; border: 0; }
svg { display: inline-block; vertical-align: middle; }
figure { margin: 0; }

/* 图标精灵容器：必须彻底不占位，否则 svg 会以默认 300×150 撑开页首 */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

/* 图标：组件级覆盖尺寸时务必 width/height 成对设置 */
.i {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: -.18em;
  color: inherit;
}

/* 无障碍工具类 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* 跳转链接：用 clip 隐藏且不带 padding（负定位会污染溢出审计） */
.skip {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 200;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  background: var(--brand-deep);
  color: #fff;
  border-radius: var(--r-sm);
}
.skip:focus {
  width: auto;
  height: auto;
  clip: auto;
  clip-path: none;
  padding: 10px 16px;
  outline: 2px solid var(--accent);
}

/* -------------------------------------------------------- 3. 布局容器 */
/* 只负责宽度与居中：不给任何 padding，修饰类可自由写 padding */
.wrap {
  width: min(calc(100% - 40px), var(--wrap));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: 74px;
  background: var(--card);
}
.section--paper { background: var(--paper); }
.section--deep {
  background: var(--brand-deep);
  color: var(--on-dark);
}
.section--consult { padding-block: 82px; }

/* ------------------------------------------------------------ 4. 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn .i { width: 17px; height: 17px; }
.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--sm .i { width: 15px; height: 15px; }
.btn--block { width: 100%; }

.btn--accent {
  background: var(--accent-ink);
  color: #fff;
}
.btn--accent:hover { background: #9c3a1a; color: #fff; transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--brand);
  border-color: var(--line-2);
}
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-deep); transform: translateY(-2px); }

.section--deep .btn--ghost,
.hero .btn--ghost { background: transparent; }

.btn:disabled { opacity: .62; cursor: not-allowed; transform: none; }

/* ------------------------------------------------- 5. 标签 / 分类小片 */
.tag,
.chip {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
  white-space: nowrap;
}
.tag {
  background: var(--accent-tint);
  color: var(--accent-ink);
}
.chip {
  background: var(--card);
  color: var(--ink-2);
  border: 1px solid var(--line-2);
  font-weight: 600;
  padding: 6px 15px;
  font-size: 13.5px;
  transition: all .16s ease;
}
.chip:hover { border-color: var(--brand); color: var(--brand-deep); }
.chip.is-on {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: #fff;
}
.chip--sm { padding: 4px 11px; font-size: 12.5px; }

/* ------------------------------------------------------- 6. 入场动画 */
/* 默认可见：脚本没跑 / 被拦截时绝不白屏 */
.reveal { opacity: 1; transform: none; }

html.js-reveal .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .62s cubic-bezier(.2, .7, .3, 1), transform .62s cubic-bezier(.2, .7, .3, 1);
}
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; }
  .ticker__track { animation: none !important; }
  * { transition-duration: .01ms !important; }
}

@media print {
  html.js-reveal .reveal { opacity: 1 !important; transform: none !important; }
  .site-header, .mobile-bar, .ticker, .rail-nav, .skip { display: none !important; }
}

/* ==========================================================================
   7. 顶栏
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--brand-deep);
  color: var(--on-dark);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 14px 30px -22px rgba(10, 47, 61, .9);
  isolation: isolate;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
  padding-block: 9px;
}

.brand { order: 1; flex: 0 0 auto; display: block; }
.brand__mark { width: 152px; height: auto; }

/* 顶栏里的 logo 是深色文字，放在深色底上需要反白处理 */
.site-header .brand__mark {
  filter: brightness(0) invert(1);
  opacity: .96;
}

.nav-toggle {
  order: 3;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: var(--on-dark);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}
.nav-toggle__bars {
  width: 16px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

.nav { order: 2; flex: 1 1 auto; min-width: 0; overflow: hidden; }
.nav__list { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; }
.nav__item { flex: 0 0 auto; }

.nav__link {
  position: relative;
  display: block;
  padding: 10px 14px;
  color: var(--on-dark);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 999px;
  transition: color .16s ease, background-color .16s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav__link:hover::after,
.nav__link.is-on::after { transform: scaleX(1); }
.nav__link.is-on { color: #fff; font-weight: 700; }

.header-side {
  order: 4;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.search {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  overflow: hidden;
  transition: border-color .18s ease, background-color .18s ease;
}
.search:focus-within { border-color: var(--accent); background: rgba(255, 255, 255, .16); }
.search__input {
  width: 176px;
  padding: 9px 6px 9px 16px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
  outline: none;
}
.search__input::placeholder { color: var(--on-dark-2); }
.search__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--on-dark);
  cursor: pointer;
}
.search__btn:hover { color: var(--accent-on-dark); }

/* ==========================================================================
   8. Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  padding-block: 62px 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #bcd0d8;
  opacity: .62;
}
.hero__glow {
  position: absolute;
  top: -180px;
  right: -140px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: rgba(217, 96, 58, .1);
}
.hero__glow::after {
  content: "";
  position: absolute;
  inset: 120px;
  border-radius: 50%;
  background: rgba(43, 125, 149, .12);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 40px;
  align-items: center;
  padding-block: 26px 30px;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  padding: 6px 14px 6px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--brand);
}
.hero__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}

.hero__title {
  font-size: clamp(31px, 4.4vw, 55px);
  line-height: 1.14;
  letter-spacing: -.02em;
  max-width: 15em;
}
.hero__title em {
  position: relative;
  font-style: normal;
  color: var(--accent-ink);
  white-space: nowrap;
}
.hero__title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .06em;
  height: .3em;
  background: var(--accent);
  opacity: .22;
  z-index: -1;
}

.hero__lead {
  margin-top: 20px;
  max-width: 34em;
  font-size: 16.5px;
  color: var(--ink-2);
}

.hero__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 24px;
}
.hero__points li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--muted);
}
.hero__points .i { width: 16px; height: 16px; color: var(--brand-2); }

.hero__art { justify-self: end; width: 100%; max-width: 460px; }
.hero__art svg { width: 100%; height: auto; }
.ha-grid { color: #c2d5dc; opacity: .5; }
.ha-rings { color: var(--brand-2); opacity: .42; }
.ha-scale { stroke: var(--brand-deep); }
.ha-core { fill: var(--accent); }
.ha-bars { color: var(--brand-2); }
.ha-ticks { stroke: var(--gold); opacity: .8; }

/* ------------------------------------------------------------ 数据条 */
.statbar {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-block: 32px 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh-1);
}
.statbar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 18px 12px;
  background: var(--card);
}
.statbar__num {
  font-family: var(--mono);
  font-size: clamp(20px, 2.4vw, 27px);
  font-weight: 700;
  color: var(--brand-deep);
  letter-spacing: -.02em;
}
.statbar__lab { font-size: 13px; color: var(--muted); }

/* ------------------------------------------------------------ 要闻条 */
.ticker {
  position: relative;
  margin-top: 34px;
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}
.ticker__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(calc(100% - 40px), var(--wrap));
  margin-inline: auto;
  padding-block: 12px;
  min-width: 0;
}
.ticker__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--brand-deep);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
}
.ticker__label .i { width: 15px; height: 15px; color: var(--accent-on-dark); }
.ticker__viewport { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.ticker__track {
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  animation: tickmove 46s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes tickmove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-size: 14px;
  white-space: nowrap;
}
.ticker__item a { color: var(--ink-2); font-weight: 600; }
.ticker__item a:hover { color: var(--accent-ink); }
.ticker__tag {
  padding: 2px 9px;
  border-radius: 4px;
  background: var(--brand-tint);
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 700;
}

/* ==========================================================================
   9. 区块标题
   ========================================================================== */
.sec-head {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.sec-head__lead {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex: 0 0 auto;
}
.sec-head__no {
  padding-bottom: 7px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--accent-ink);
}
.sec-head__kicker {
  margin-bottom: 7px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--brand-2);
}
.sec-head__title {
  font-size: clamp(21px, 2.3vw, 29px);
  letter-spacing: -.015em;
}
.sec-head__rule {
  flex: 1 1 40px;
  min-width: 24px;
  height: 1px;
  margin-bottom: 11px;
  background: var(--line-2);
}
.sec-head__desc {
  flex: 0 0 auto;
  margin-bottom: 5px;
  font-size: 14px;
  color: var(--muted);
}
.sec-head__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  margin-bottom: 4px;
  padding: 7px 15px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand);
  transition: all .16s ease;
}
.sec-head__more .i { width: 15px; height: 15px; }
.sec-head__more:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: #fff;
}

/* 深色区里的标题与点缀色需要重新指定 */
.section--deep .sec-head__kicker { color: var(--on-dark-2); }
.section--deep .sec-head__rule { background: rgba(255, 255, 255, .22); }
.section--deep .sec-head__desc { color: var(--on-dark-2); }
.section--deep .sec-head__no { color: var(--accent-on-dark); }
.section--deep .sec-head__more { border-color: rgba(255, 255, 255, .3); color: var(--on-dark); }
.section--deep .sec-head__more:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }

/* ==========================================================================
   10. 分类信息 · 折页标签卡
   ========================================================================== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 26px;
  margin-top: 46px;
}
.cat-item { display: flex; min-width: 0; }

.cat-card {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  padding: 26px 22px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-sm) var(--r) var(--r) var(--r);
  color: var(--ink-2);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-2);
  box-shadow: var(--sh-1);
  color: var(--ink-2);
}

.cat-card__tab {
  position: absolute;
  top: -30px;
  left: -1px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 16px;
  background: var(--brand-deep);
  color: #fff;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .2s ease;
}
.cat-card__tab em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  opacity: .72;
}
.cat-card:hover .cat-card__tab { background: var(--accent-ink); }

.cat-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--brand-tint);
  color: var(--brand);
}
.cat-card__icon .i { width: 23px; height: 23px; }

.cat-card__en {
  display: block;
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--brand-2);
}
.cat-card__name {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.01em;
}
.cat-card__desc {
  display: block;
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--muted);
  min-height: 3.5em;
}
.cat-card__foot {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-2);
  font-size: 13px;
  color: var(--muted);
}
.cat-card__foot em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-ink);
}
.cat-card__foot .i { width: 15px; height: 15px; margin-left: auto; color: var(--brand-2); }

/* ==========================================================================
   11. 带缩略图 · 横向轨道
   ========================================================================== */
.rail-box { position: relative; }

.rail {
  --col: 336px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--col);
  gap: 22px;
  padding-bottom: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { height: 7px; }
.rail::-webkit-scrollbar-track { background: var(--line); border-radius: 99px; }
.rail::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 99px; }

.rail-nav {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}
/* 通用 display 规则会反压 hidden，必须显式声明 */
.rail-nav[hidden] { display: none; }
.rail-nav__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--card);
  color: var(--brand);
  cursor: pointer;
  transition: all .16s ease;
}
.rail-nav__btn .i { width: 17px; height: 17px; }
.rail-nav__btn:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: #fff;
}

.rail-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.rail-hint__text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.rail-hint__text .i { width: 16px; height: 16px; color: var(--brand-2); }

.rcard {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.rcard:hover {
  transform: translateY(-4px);
  border-color: var(--brand-2);
  box-shadow: var(--sh-1);
}

.rcard__media { position: relative; display: block; overflow: hidden; }
.rcard__img {
  width: 100%;
  height: 196px;
  object-fit: cover;
  transition: transform .5s ease;
}
.rcard:hover .rcard__img { transform: scale(1.04); }
.rcard__badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--brand-deep);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.rcard__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 20px 20px 22px; min-width: 0; }
.rcard__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.rcard__sep { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); flex: 0 0 auto; }
.rcard__title { font-size: 17.5px; line-height: 1.45; }
.rcard__title a { color: var(--ink); }
.rcard__title a:hover { color: var(--brand); }
.rcard__desc {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rcard__more { margin-top: auto; padding-top: 16px; }
.rcard__more a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent-ink);
}
.rcard__more .i { width: 15px; height: 15px; transition: transform .2s ease; }
.rcard__more a:hover .i { transform: translateX(4px); }

/* ==========================================================================
   12. 无缩略图 · 双列要目
   ========================================================================== */
.pair-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 54px;
}
.pair__item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
  padding: 20px 0;
  border-bottom: 1px dashed var(--line-2);
}
.pair__no {
  flex: 0 0 auto;
  padding-top: 3px;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--deco-ink);
  transition: color .18s ease;
}
.pair__item:hover .pair__no { color: var(--accent); }
.pair__main { min-width: 0; flex: 1 1 auto; }
.pair__title { font-size: 16.5px; line-height: 1.5; font-weight: 700; }
.pair__title a { color: var(--ink); }
.pair__title a:hover { color: var(--brand); }
.pair__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.pair__tag {
  padding: 2px 9px;
  border-radius: 4px;
  background: var(--brand-tint);
  color: var(--brand-deep);
  font-family: var(--sans);
  font-weight: 700;
}

/* ==========================================================================
   13. 无缩略图 · 三列专栏
   ========================================================================== */
.col-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}
.col-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-top: 20px;
  border-top: 3px solid var(--accent);
}
.col-card__en {
  margin-bottom: 3px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--brand-2);
}
.col-card__title {
  margin-bottom: 16px;
  font-size: 20px;
  letter-spacing: -.01em;
}
.col-card__list { flex: 1 1 auto; }
.col-card__item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-width: 0;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.col-card__no {
  flex: 0 0 auto;
  padding-top: 2px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent-ink);
}
.col-card__link {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-2);
  font-weight: 600;
}
.col-card__link:hover { color: var(--brand); }
.col-card__date {
  flex: 0 0 auto;
  padding-top: 2px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
}
.col-card__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand);
}
.col-card__more .i { width: 14px; height: 14px; }

/* ==========================================================================
   14. 表单模块
   ========================================================================== */
.form-card {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-1);
  color: var(--ink);
}

.form-card__left { padding: 34px 34px 30px; min-width: 0; }

.form-alert {
  margin-bottom: 20px;
  padding: 13px 17px;
  border-radius: var(--r-sm);
  border-left: 4px solid var(--brand);
  background: var(--brand-tint);
  color: var(--brand-deep);
  font-size: 14.5px;
  font-weight: 600;
}
.form-alert.is-err {
  border-left-color: var(--accent-ink);
  background: var(--accent-tint);
  color: #8f3512;
}
.form-alert.is-ok {
  border-left-color: #1c7a54;
  background: #e4f3ec;
  color: #14573b;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}

.field { min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field__lab {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.field__req { font-style: normal; color: var(--accent-ink); }

.field__inp {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--card);
  color: var(--ink);
  font-size: 15px;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field__inp::placeholder { color: #8b9aa4; }
.field__inp:hover { border-color: var(--brand-2); }
.field__inp:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(20, 85, 107, .14);
}
.field__inp.is-err { border-color: var(--accent-ink); background: #fdf4f0; }
.field__inp.is-ok { border-color: #1c7a54; }

textarea.field__inp { resize: vertical; min-height: 104px; line-height: 1.7; }

.field__sel {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  padding-right: 40px;
  cursor: pointer;
}
/* 下拉箭头用伪元素三角，避免 background-image 干扰对比度审计 */
.sel-wrap { position: relative; display: block; }
.sel-wrap::after {
  content: "";
  position: absolute;
  right: 17px;
  top: 50%;
  margin-top: -2px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--brand);
  pointer-events: none;
}

.field__msg {
  margin-top: 6px;
  font-size: 13px;
  color: var(--accent-ink);
  font-weight: 600;
  display: none;
}
.field__msg.is-on { display: block; }

.field--consent { margin-top: 20px; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  cursor: pointer;
}
.check__inp {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.check__box {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  margin-top: 2px;
  border: 1.5px solid var(--line-2);
  border-radius: 5px;
  background: var(--card);
  color: transparent;
  transition: all .16s ease;
}
.check__box .i { width: 14px; height: 14px; }
.check__inp:checked + .check__box {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.check__inp:focus-visible + .check__box { box-shadow: 0 0 0 3px rgba(20, 85, 107, .22); }
.check__text { font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.check__inp.is-err + .check__box { border-color: var(--accent-ink); }

.form-submit {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.form-submit__note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--muted);
}
.form-submit__note .i { width: 15px; height: 15px; color: var(--brand-2); }

.form-aside {
  padding: 34px 30px 30px;
  background: var(--brand-deep);
  color: var(--on-dark);
  min-width: 0;
}
.form-aside__kicker {
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--on-dark-2);
}
.form-aside__title {
  margin-bottom: 22px;
  font-size: 23px;
  color: #fff;
}
.form-aside__list { margin-bottom: 24px; }
.form-aside__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .18);
  font-size: 14px;
}
.form-aside__list span { color: var(--on-dark-2); }
.form-aside__list em {
  font-style: normal;
  font-weight: 700;
  color: #fff;
  text-align: right;
}
.form-aside__tel {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: var(--r-sm);
  color: #fff;
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: all .16s ease;
}
.form-aside__tel .i { width: 20px; height: 20px; color: var(--accent-on-dark); }
.form-aside__tel:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.form-aside__note { font-size: 13px; line-height: 1.75; color: var(--on-dark-2); }

/* ==========================================================================
   15. FAQ
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  align-items: start;
}
.faq__item {
  align-self: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.faq__item[open] { border-color: var(--brand-2); box-shadow: var(--sh-1); }

.faq__q {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }
.faq__no {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-ink);
  padding-top: 3px;
}
.faq__qt { flex: 1 1 auto; min-width: 0; }
.faq__mark {
  position: relative;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 3px;
}
.faq__mark::before,
.faq__mark::after {
  content: "";
  position: absolute;
  background: var(--brand);
  transition: transform .22s ease;
}
.faq__mark::before { top: 8px; left: 0; width: 17px; height: 2px; }
.faq__mark::after { left: 8px; top: 0; width: 2px; height: 17px; }
.faq__item[open] .faq__mark::after { transform: scaleY(0); }
.faq__item[open] .faq__q { background: var(--paper); }

.faq__a { padding: 0 20px 20px 58px; }
.faq__a p { font-size: 14.5px; line-height: 1.85; color: var(--muted); }

/* ==========================================================================
   16. 友情链接
   ========================================================================== */
.flink-box {
  padding: 6px 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.flink-row {
  padding: 20px 0;
  border-bottom: 1px dashed var(--line-2);
}
.flink-row:last-child { border-bottom: 0; }
.flink-row__title {
  font-size: 14px;
  font-weight: 800;
  color: var(--brand-deep);
}
.flink-row__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 8px;
  min-width: 0;
}
.flink-row__list li { display: flex; align-items: center; }
.flink-row__list li + li::before {
  content: "";
  width: 1px;
  height: 12px;
  margin-right: 8px;
  background: var(--line-2);
}
.flink-row__list a {
  font-size: 14px;
  color: var(--muted);
  transition: color .16s ease;
}
.flink-row__list a:hover { color: var(--accent-ink); }

/* ==========================================================================
   17. 关于本站（深色区）
   ========================================================================== */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}
.about__kicker {
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  color: var(--on-dark-2);
}
.about__title {
  margin-bottom: 20px;
  font-size: clamp(23px, 2.6vw, 32px);
  color: #fff;
  max-width: 18em;
}
.about__p {
  margin-bottom: 14px;
  max-width: 38em;
  font-size: 15px;
  line-height: 1.9;
  color: var(--on-dark-2);
}
.about__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.about__facts li {
  display: flex;
  gap: 12px;
  min-width: 0;
  padding: 16px 16px 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .05);
}
.about__ico {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: var(--accent-on-dark);
}
.about__ico .i { width: 16px; height: 16px; }
.about__facts em {
  display: block;
  font-style: normal;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.about__facts p { font-size: 13px; line-height: 1.7; color: var(--on-dark-2); }

/* 深色区里的浅色卡片：容器与卡内标题都要显式声明颜色 */
.section--deep .about-card,
.section--deep .about-card h1,
.section--deep .about-card h2,
.section--deep .about-card h3,
.section--deep .about-card h4,
.section--deep .about-card p,
.section--deep .about-card li { color: var(--ink); }

.about-card {
  padding: 28px 26px;
  background: var(--card);
  border-radius: var(--r);
  box-shadow: var(--sh-2);
}
.about-card__title { margin-bottom: 12px; font-size: 18px; }
.about-card__p { margin-bottom: 18px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.about-card__list { margin-bottom: 22px; }
.about-card__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line-2);
  font-size: 14px;
}
.about-card__list .i { width: 16px; height: 16px; color: var(--brand-2); }
.about-card__list a { color: var(--brand); font-weight: 600; }
.about-card__list a:hover { color: var(--accent-ink); }
.section--deep .about-card .about-card__p { color: var(--muted); }
.section--deep .about-card__list li { color: var(--ink-2); }

/* ==========================================================================
   18. 页脚
   ========================================================================== */
.site-footer {
  background: var(--brand-deeper);
  color: var(--on-dark);
  padding-top: 62px;
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 2fr);
  gap: 48px;
  padding-bottom: 46px;
}
.foot-brand__logo { filter: brightness(0) invert(1); opacity: .95; margin-bottom: 20px; }
.foot-brand__desc {
  max-width: 34em;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--on-dark-2);
}
.foot-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 11px;
  font-size: 14px;
  color: var(--on-dark-2);
}
.foot-contact .i { width: 16px; height: 16px; margin-top: 4px; color: var(--accent-on-dark); }
.foot-contact a { color: var(--on-dark); font-weight: 600; }
.foot-contact a:hover { color: var(--accent-on-dark); }

.foot-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.foot-col__title {
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}
.foot-col__list li { margin-bottom: 10px; }
.foot-col__list a {
  font-size: 13.5px;
  color: var(--on-dark-2);
  transition: color .16s ease;
}
.foot-col__list a:hover { color: var(--accent-on-dark); }

.footer-legal { border-top: 1px solid rgba(255, 255, 255, .12); }
.footer-legal__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-block: 20px 26px;
}
.footer-legal__copy,
.footer-legal__meta {
  font-size: 12.5px;
  color: #8ba3ae;
}
.footer-legal__meta { display: flex; flex-wrap: wrap; gap: 8px; }

/* ==========================================================================
   19. 移动端底栏
   ========================================================================== */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--card);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 24px -18px rgba(13, 58, 75, .5);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.mobile-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 9px 4px 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
}
.mobile-bar__item .i { width: 20px; height: 20px; }
.mobile-bar__item:hover { color: var(--brand); }
.mobile-bar__item--cta { color: var(--accent-ink); }
.mobile-bar__item--cta .i { color: var(--accent-ink); }

/* ==========================================================================
   20. 内页 banner + 面包屑
   ========================================================================== */
.pbanner {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.pbanner__deco {
  position: absolute;
  top: 50%;
  right: -40px;
  width: 420px;
  height: 300px;
  transform: translateY(-50%);
  color: #b3c9d2;
  opacity: .6;
  pointer-events: none;
}
.pbanner__deco svg { width: 100%; height: 100%; }

.pbanner__inner {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  padding-block: 50px 42px;
}
.pbanner__main { min-width: 0; padding-left: 20px; border-left: 5px solid var(--accent); }
.pbanner__kicker {
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  color: var(--brand-2);
}
.pbanner__title {
  margin-bottom: 12px;
  font-size: clamp(25px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1.26;
  color: var(--ink);
  max-width: 22em;
  letter-spacing: -.015em;
}
.pbanner__desc {
  max-width: 42em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}
.pbanner__stats {
  display: flex;
  gap: 1px;
  flex: 0 0 auto;
  background: var(--line-2);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.pbanner__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 20px;
  background: var(--card);
  text-align: center;
}
.pbanner__num {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-deep);
}
.pbanner__lab { font-size: 12px; color: var(--muted); }

.crumb { background: var(--paper); border-bottom: 1px solid var(--line); }
.crumb__list {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  padding-block: 13px;
}
.crumb__item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--muted);
}
.crumb__item + .crumb__item::before {
  content: "";
  width: 5px;
  height: 5px;
  border-right: 1.6px solid var(--line-2);
  border-top: 1.6px solid var(--line-2);
  transform: rotate(45deg);
  flex: 0 0 auto;
}
.crumb__link { display: inline-flex; align-items: center; gap: 5px; color: var(--brand); font-weight: 600; }
.crumb__link .i { width: 14px; height: 14px; }
.crumb__link:hover { color: var(--accent-ink); }
.crumb__item[aria-current] { color: var(--ink-2); font-weight: 600; }

/* ==========================================================================
   21. 两栏布局（列表页 / 文章页）
   ========================================================================== */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 322px;
  gap: 46px;
  align-items: start;
  padding-block: 46px 76px;
}
.layout--article { grid-template-columns: minmax(0, 1fr) 320px; }
.layout__main { min-width: 0; }
.layout__side { min-width: 0; position: sticky; top: 88px; }

/* --------------------------------------------------------- 筛选与排序 */
.filter-box {
  padding: 20px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin-bottom: 26px;
}
.filter-box__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}
.filter-box__label .i { width: 16px; height: 16px; color: var(--brand-2); }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }

.list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 8px;
}
.list-head__count { font-size: 14px; color: var(--muted); }
.list-head__count em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 700;
  color: var(--accent-ink);
}
.list-head__sort { display: flex; align-items: center; gap: 14px; }
.list-head__lab { font-size: 13px; color: var(--muted); }
.list-head__opt {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.list-head__opt.is-on { color: var(--brand-deep); border-bottom-color: var(--accent); }
.list-head__opt:hover { color: var(--brand); }

/* --------------------------------------------------------- 列表条目卡 */
.llist { display: grid; gap: 6px; }
.lcard {
  display: grid;
  grid-template-columns: 262px minmax(0, 1fr);
  gap: 26px;
  min-width: 0;
  padding: 24px 0;
  border-bottom: 1px dashed var(--line-2);
}
.lcard__media { display: block; overflow: hidden; border-radius: var(--r-sm); }
.lcard__img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  transition: transform .5s ease;
}
.lcard:hover .lcard__img { transform: scale(1.04); }
.lcard__body { min-width: 0; display: flex; flex-direction: column; }
.lcard__meta {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.lcard__sep { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); }
.lcard__title { font-size: 19px; line-height: 1.45; }
.lcard__title a { color: var(--ink); }
.lcard__title a:hover { color: var(--brand); }
.lcard__desc {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.lcard__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: auto;
  padding-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
}
.lcard__foot span { display: inline-flex; align-items: center; gap: 5px; }
.lcard__foot .i { width: 14px; height: 14px; color: var(--brand-2); }

/* ------------------------------------------------------------- 分页 */
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
}
.pager__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--card);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  transition: all .16s ease;
}
.pager__item:hover { border-color: var(--brand); color: var(--brand-deep); }
.pager__item.is-on {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: #fff;
}
.pager__item.is-disabled {
  color: #7d8f99;
  background: var(--paper);
  cursor: not-allowed;
}
.pager__gap { border-color: transparent; background: transparent; }

/* ==========================================================================
   22. 侧栏组件
   ========================================================================== */
.widget {
  padding: 24px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin-bottom: 20px;
}
.widget:last-child { margin-bottom: 0; }
.widget__title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 16.5px;
}
.widget__title .i { width: 18px; height: 18px; color: var(--brand-2); }
.widget__title--light { color: #fff; border-bottom-color: rgba(255, 255, 255, .2); }
.widget__title--light .i { color: var(--accent-on-dark); }

.hotlist__item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-width: 0;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.hotlist__item:last-child { border-bottom: 0; padding-bottom: 0; }
.hotlist__rank {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  margin-top: 2px;
  border-radius: 5px;
  background: var(--paper-2);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}
.hotlist__rank.is-top { background: var(--accent-ink); color: #fff; }
.hotlist__link {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-2);
  font-weight: 600;
}
.hotlist__link:hover { color: var(--brand); }
.hotlist__num {
  flex: 0 0 auto;
  margin-top: 2px;
  font-style: normal;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
}

.tagbox { display: flex; flex-wrap: wrap; gap: 8px; }

.lastlist__item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.lastlist__item:last-child { border-bottom: 0; padding-bottom: 0; }
.lastlist__item time {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-ink);
  padding-top: 2px;
}
.lastlist__item a {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  font-weight: 600;
}
.lastlist__item a:hover { color: var(--brand); }

.widget--deep {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: var(--on-dark);
}
.widget--deep .widget__kicker {
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--on-dark-2);
}
.widget__p {
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--on-dark-2);
}
.widget__tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 14px;
  padding: 10px;
  border: 1px dashed rgba(255, 255, 255, .3);
  border-radius: var(--r-sm);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.widget__tel .i { width: 17px; height: 17px; color: var(--accent-on-dark); }
.widget__tel:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.widget--deep .widget__title { color: #fff; }

/* 目录 */
.toc { counter-reset: toc; }
.toc__item { border-bottom: 1px dashed var(--line); }
.toc__item:last-child { border-bottom: 0; }
.toc__link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0 10px 10px;
  border-left: 2px solid transparent;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  font-weight: 600;
  transition: all .18s ease;
}
.toc__no {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--deco-ink);
  padding-top: 2px;
}
.toc__t { flex: 1 1 auto; min-width: 0; }
.toc__link:hover { color: var(--brand); }
.toc__link.is-on {
  border-left-color: var(--accent);
  background: var(--paper);
  color: var(--brand-deep);
}
.toc__link.is-on .toc__no { color: var(--accent-ink); }

/* ==========================================================================
   23. 文章页
   ========================================================================== */
.art { min-width: 0; }

.art-head {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.art-head__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
}
.art-head__meta span { display: inline-flex; align-items: center; gap: 6px; }
.art-head__meta .i { width: 15px; height: 15px; color: var(--brand-2); }
.art-head__cat {
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--brand-deep);
  color: #fff;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12.5px;
}
.art-head__cat:hover { background: var(--accent-ink); color: #fff; }
.art-head__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  padding: 11px 15px;
  border-radius: var(--r-sm);
  background: var(--brand-tint);
  color: var(--brand-deep);
  font-size: 13px;
}
.art-head__note .i { width: 16px; height: 16px; margin-top: 3px; }

.art-body { font-size: 16.5px; line-height: 1.95; color: var(--ink-2); }
.art-p { margin-bottom: 20px; }
.art-body > .art-p:first-child { font-size: 17px; color: var(--ink); }

.art-h2 {
  margin: 40px 0 18px;
  padding-left: 15px;
  border-left: 4px solid var(--accent);
  font-size: clamp(19px, 2.1vw, 23px);
  line-height: 1.4;
  scroll-margin-top: 96px;
}
.art-h2:first-child { margin-top: 0; }

.art-h3 {
  position: relative;
  margin: 28px 0 14px;
  padding-left: 18px;
  font-size: 17.5px;
}
.art-h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: .48em;
  width: 9px;
  height: 9px;
  background: var(--brand-2);
  border-radius: 2px;
}

.art-ul,
.art-ol { margin: 0 0 22px; max-width: 38em; }
.art-ul li,
.art-ol li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  line-height: 1.85;
}
.art-ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .78em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--brand-2);
}
.art-ol { counter-reset: ol; }
.art-ol li { counter-increment: ol; }
.art-ol li::before {
  content: counter(ol);
  position: absolute;
  left: 0;
  top: .34em;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--brand-tint);
  color: var(--brand-deep);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
}

.art-quote {
  position: relative;
  margin: 26px 0;
  padding: 22px 26px 22px 30px;
  border-left: 4px solid var(--brand-2);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--paper);
  max-width: 38em;
}
.art-quote .i {
  width: 26px;
  height: 26px;
  color: var(--line-2);
  margin-bottom: 8px;
}
.art-quote p {
  font-size: 17px;
  line-height: 1.85;
  font-weight: 700;
  color: var(--brand-deep);
}

.art-tip {
  margin: 26px 0;
  padding: 20px 24px;
  border: 1px solid #ecd3c6;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: #fdf6f2;
  max-width: 38em;
}
.art-tip__k {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  font-size: 14.5px;
  font-weight: 800;
  color: #8f3512;
}
.art-tip__k .i { width: 17px; height: 17px; }
.art-tip__v { font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }

.tbl-wrap {
  margin: 26px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.tbl { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; }
.tbl th,
.tbl td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.7;
}
.tbl thead th {
  background: var(--brand-tint);
  color: var(--brand-deep);
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
}
.tbl tbody th {
  font-weight: 700;
  color: var(--ink);
  background: var(--paper);
  white-space: nowrap;
}
.tbl tbody tr:last-child th,
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl td { color: var(--ink-2); }

.art-fig { margin: 28px 0; }
.art-fig__img {
  width: 100%;
  border-radius: var(--r);
  border: 1px solid var(--line);
}
.art-fig figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.art-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.art-tags__lab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 4px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}
.art-tags__lab .i { width: 15px; height: 15px; color: var(--brand-2); }

.art-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}
.art-nav__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
  transition: all .18s ease;
}
.art-nav__item:hover { border-color: var(--brand-2); box-shadow: var(--sh-1); }
.art-nav__lab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-ink);
}
.art-nav__lab .i { width: 15px; height: 15px; }
.art-nav__title {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}
.art-nav__item--next { text-align: right; }
.art-nav__item--next .art-nav__lab { justify-content: flex-end; }

.art-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 28px;
  padding: 16px 20px;
  border-radius: var(--r-sm);
  background: var(--paper);
  border: 1px dashed var(--line-2);
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.art-disclaimer .i { width: 16px; height: 16px; margin-top: 3px; color: var(--gold-ink); }

/* 文章页侧栏 */
.article-side {
  min-width: 0;
  align-self: stretch;
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 108px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
}
.article-side::-webkit-scrollbar { width: 6px; }
.article-side::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 99px; }

/* ------------------------------------------------- 相关 / 最新文章列表 */
.more-sep {
  height: 1px;
  background: var(--line);
  margin: 46px 0 46px;
}

.rlist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 54px;
}
.rlist__item {
  min-width: 0;
  padding: 20px 0;
  border-bottom: 1px dashed var(--line-2);
}
.rlist__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 9px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.rlist__tag {
  padding: 2px 9px;
  border-radius: 4px;
  background: var(--brand-tint);
  color: var(--brand-deep);
  font-family: var(--sans);
  font-weight: 700;
}
.rlist__title { font-size: 16.5px; line-height: 1.5; }
.rlist__title a { color: var(--ink); }
.rlist__title a:hover { color: var(--brand); }

.nlist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.nlist__item {
  min-width: 0;
  padding: 20px 20px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: all .18s ease;
}
.nlist__item:hover { border-color: var(--brand-2); transform: translateY(-3px); box-shadow: var(--sh-1); }
.nlist__no {
  display: block;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--deco-ink);
}
.nlist__meta {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 9px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.nlist__tag {
  padding: 2px 9px;
  border-radius: 4px;
  background: var(--accent-tint);
  color: var(--accent-ink);
  font-family: var(--sans);
  font-weight: 700;
}
.nlist__title { font-size: 16px; line-height: 1.5; }
.nlist__title a { color: var(--ink); }
.nlist__title a:hover { color: var(--brand); }

/* ==========================================================================
   24. 响应式
   ========================================================================== */

/* ---- ≤1180px：侧栏略窄 ---- */
@media (max-width: 1180px) {
  .layout { grid-template-columns: minmax(0, 1fr) 296px; gap: 34px; }
  .layout--article { grid-template-columns: minmax(0, 1fr) 292px; }
}

/* ---- ≤1080px：hero 收窄、三列降为两列 ---- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, .78fr); gap: 28px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .col-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .col-grid > .col-card:last-child { grid-column: 1 / -1; }
  .nlist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail { --col: 300px; }
  .about { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; }
  .footer-main { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}

/* ---- ≤980px：导航转抽屉（脚本没跑也要可用） ---- */
@media (max-width: 980px) {
  :root { --header-h: 60px; }

  .header-inner { flex-wrap: wrap; gap: 14px; }

  .brand { order: 1; }
  .header-side { order: 2; }
  .nav-toggle { order: 3; }
  .site-header.is-collapsible .nav-toggle { display: inline-flex; }
  .nav { order: 4; }

  .search { display: none; }

  /* 折叠只在脚本接管后生效：无 JS 时导航整体展开可点 */
  .nav { overflow: hidden; }
  .site-header.is-collapsible .nav { flex: 1 0 100%; max-height: 0; transition: max-height .28s ease; }
  .site-header.is-collapsible .nav.is-open { max-height: 70vh; overflow-y: auto; }
  .site-header:not(.is-collapsible) .nav { flex: 1 0 100%; }
  .site-header:not(.is-collapsible) .nav__list { flex-wrap: wrap; }
  .site-header.is-collapsible .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-header.is-collapsible .nav__link { padding: 13px 4px; border-radius: 0; }
  .site-header.is-collapsible .nav__item + .nav__item { border-top: 1px solid rgba(255, 255, 255, .12); }
  .site-header.is-collapsible .nav__link::after { left: 4px; right: auto; width: 22px; bottom: 8px; transform-origin: left; }

  .layout,
  .layout--article { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 32px 54px; }
  .layout__side { position: static; }
  .article-side {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .widget--toc { display: none; }

  .form-card { grid-template-columns: minmax(0, 1fr); }
  .about { grid-template-columns: minmax(0, 1fr); }
  .about__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__art { max-width: 380px; }
}

/* 桌面端隐藏移动底栏：必须提特异性，否则会被后面的基础规则反压 */
@media (min-width: 981px) {
  body .mobile-bar { display: none; }
}
@media (max-width: 980px) {
  body { padding-bottom: 62px; }
}

/* 2 列断点下 9 张分类卡会剩一个孤卡，让最后一张跨满整行 */
@media (max-width: 1080px) and (min-width: 769px) {
  .cat-grid > .cat-item:last-child { grid-column: 1 / -1; }
}

/* ---- ≤768px：单列化 ---- */
@media (max-width: 768px) {
  .section { padding-block: 50px; }
  .section--consult { padding-block: 54px; }

  .hero { padding-block: 40px 0; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 14px 24px; }
  .hero__art { justify-self: center; max-width: 300px; margin-top: 26px; }
  .hero__lead { font-size: 15.5px; }

  /* 移动端：标题行右侧留给「更多」，说明文字独占一行，避免三级堆叠 */
  .sec-head { gap: 10px 12px; margin-bottom: 26px; }
  .sec-head__lead { flex: 1 1 auto; min-width: 0; order: 1; }
  .sec-head__rule { display: none; }
  .sec-head__more { order: 2; margin-bottom: 0; }
  .sec-head__desc { flex: 1 1 100%; order: 3; margin-bottom: 0; }

  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 18px; margin-top: 40px; }
  .cat-card { padding: 22px 18px 18px; }
  .cat-card__desc { min-height: 0; }

  .col-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .col-grid > .col-card:last-child { grid-column: auto; }

  .pair-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq__a { padding-left: 20px; }

  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-card__left { padding: 26px 20px 24px; }
  .form-aside { padding: 26px 20px 26px; }

  .flink-box { padding: 4px 18px; }
  .flink-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  /* 换行后竖线会落在行首，窄屏改用留白分隔 */
  .flink-row__list { gap: 10px 18px; }
  .flink-row__list li + li::before { display: none; }

  .lcard { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .lcard__img { height: 200px; }

  .rlist-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .nlist-grid { grid-template-columns: minmax(0, 1fr); }
  .art-nav { grid-template-columns: minmax(0, 1fr); }
  .art-nav__item--next { text-align: left; }
  .art-nav__item--next .art-nav__lab { justify-content: flex-start; }

  .pbanner__inner { flex-direction: column; align-items: flex-start; gap: 26px; padding-block: 34px 30px; }
  .pbanner__deco { display: none; }
  .pbanner__main { padding-left: 15px; border-left-width: 4px; }
  .pbanner__stats { width: 100%; }
  .pbanner__stat { flex: 1 1 0; min-width: 0; padding: 12px 8px; }

  .about__facts { grid-template-columns: minmax(0, 1fr); }
  .foot-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .footer-legal__inner { flex-direction: column; align-items: flex-start; }
}

/* ---- ≤560px：顶栏精简、卡片再收 ---- */
@media (max-width: 560px) {
  .wrap { width: min(calc(100% - 32px), var(--wrap)); }
  .header-side { display: none; }
  .brand__mark { width: 132px; }
  .nav-toggle__text { display: none; }

  .hero__title { font-size: 28px; }
  .hero__acts .btn { flex: 1 1 100%; }
  .hero__points { flex-direction: column; gap: 8px; }
  .statbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .ticker__inner { width: min(calc(100% - 32px), var(--wrap)); gap: 12px; }

  .cat-grid { grid-template-columns: minmax(0, 1fr); }
  .rail { --col: min(268px, 78vw); }
  .rcard__img { height: 172px; }

  .tbl { font-size: 13.5px; }
  .art-body { font-size: 16px; }
  .art-quote p { font-size: 16px; }

  .foot-nav { grid-template-columns: minmax(0, 1fr); }
  .form-submit .btn { flex: 1 1 100%; }
}

/* ---- ≤400px：极窄屏兜底 ---- */
@media (max-width: 400px) {
  .wrap { width: min(calc(100% - 24px), var(--wrap)); }
  .faq__q { padding: 15px 16px; gap: 10px; }
  .faq__q .faq__qt { font-size: 14.5px; }
  .art-h2 { font-size: 18.5px; }
  .mobile-bar__item { font-size: 11px; }
  .pbanner__stat { padding: 10px 4px; }
  .pbanner__num { font-size: 17px; }
}
