/* ==========================================================================
   PPWR.ac.cn v2 ——「Emerald Vault 深翠金库」
   全新配色 / 全新版式：深翠 × 象牙 × 黄铜；大字重黑体标题、海报式分栏、
   图片卡、数据跑马灯、悬浮转化条。全站视觉资产为本地生成式 SVG。
   ========================================================================== */

:root {
  /* —— 色彩（v2 全新）—— */
  --emerald: #0A3527;
  --emerald-deep: #06231B;
  --emerald-soft: #0E4232;
  --teal: #155E4C;
  --teal-soft: #1E7A5F;
  --ivory: #F5F1E8;
  --ivory-dim: #E9E2D2;
  --cream: #FBF8F1;
  --brass: #C0913A;
  --brass-bright: #E0A526;
  --brass-wash: #F3E8D2;
  --ink: #17211C;
  --ink-soft: #55655C;
  --ink-faint: #8C9A91;
  --line: #DDD5C2;
  --line-dark: rgba(224, 165, 38, .25);
  --ok: #2E6B4F;
  --ok-wash: #E8F1EA;
  --warn: #B7791F;
  --warn-wash: #F7EEDC;
  --risk: #A3402F;
  --risk-wash: #F6E9E6;
  --white: #FFFFFF;

  /* —— 字体（v2：黑体 display）—— */
  --font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-serif: Georgia, "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, SimSun, serif;
  --font-mono: "IBM Plex Mono", "SF Mono", Cascadia Mono, Consolas, "Liberation Mono", Menlo, monospace;

  --w-content: 90rem;
  --w-read: 60rem;
  --sp-section: clamp(4rem, 9vw, 7.5rem);
  --radius: 10px;
  --shadow-1: 0 2px 6px rgba(6, 35, 27, .06), 0 18px 44px rgba(6, 35, 27, .10);
  --shadow-2: 0 30px 70px rgba(6, 35, 27, .22);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.85;
  color: var(--ink); background: var(--ivory); -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--emerald); text-decoration: underline; text-underline-offset: 4px; }
::selection { background: var(--brass-bright); color: var(--emerald-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: 800; line-height: 1.22;
  letter-spacing: .005em; color: var(--emerald); margin: 0;
}
p { margin: 0 0 1.1em; }
strong { font-weight: 700; color: var(--emerald); }
code, .mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.wrap { max-width: var(--w-content); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.read { max-width: var(--w-read); margin: 0 auto; }

/* ==========================================================================
   顶部：黑色通告条 + 深翠巨导航
   ========================================================================== */
.notice-bar {
  background: var(--emerald-deep); color: #A8BFB2; font-size: .92rem; letter-spacing: .04em;
  border-bottom: 1px solid rgba(224,165,38,.18);
}
.notice-bar .wrap { display: flex; gap: 2.2rem; align-items: center; min-height: 2.3rem; }
.notice-bar .live { color: var(--brass-bright); font-family: var(--font-mono); flex: none; }
.notice-bar .live::before { content: "●"; margin-right: .45em; animation: pulse 2.2s infinite; }
.notice-bar .tick { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.notice-bar .hotline {
  margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: .5rem;
  color: var(--brass-bright); font-family: var(--font-mono); font-weight: 700; letter-spacing: .03em;
  font-size: .95rem; padding-left: 1.2rem; border-left: 1px solid rgba(224,165,38,.28);
}
.notice-bar .hotline:hover { color: #FFD873; text-decoration: none; }
.notice-bar .hotline svg { width: 13px; height: 13px; flex: none; }
@media (max-width: 720px) {
  .notice-bar .wrap { gap: 1rem; }
  .notice-bar .tick { display: none; }
  .notice-bar .hotline { margin-left: auto; border-left: 0; padding-left: 0; font-size: .9rem; }
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.site-head { background: var(--emerald); position: sticky; top: 0; z-index: 80; box-shadow: 0 1px 0 rgba(224,165,38,.35), 0 12px 34px rgba(6,35,27,.28); }
.site-head .bar { display: flex; align-items: center; gap: 2rem; min-height: 4.6rem; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; padding: .5rem 0; }
.brand:hover { text-decoration: none; }
.brand .glyph {
  width: 2.7rem; height: 2.7rem; flex: none; border-radius: 9px; overflow: hidden;
  filter: drop-shadow(0 3px 8px rgba(6, 35, 27, .35));
  transition: transform .18s ease;
}
.brand:hover .glyph { transform: rotate(-6deg) scale(1.05); }
.brand .glyph img { width: 100%; height: 100%; display: block; }
.brand .wordmark { font-family: var(--font-display); font-weight: 900; font-size: 1.52rem; color: var(--ivory); letter-spacing: .01em; line-height: 1.1; }
.brand .wordmark em { font-style: normal; color: var(--brass-bright); }
.brand .sub { font-size: .76rem; color: #9DB8AB; letter-spacing: .24em; display: block; margin-top: .18rem; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: .35rem; }
.main-nav a {
  font-size: 1.08rem; font-weight: 600; color: #D9E4DC; padding: .6rem 1rem; border-radius: 8px;
  letter-spacing: .02em; transition: background .15s ease, color .15s ease;
}
.main-nav a:hover { background: rgba(245, 241, 232, .1); color: var(--ivory); text-decoration: none; }
.main-nav a[aria-current="page"] { background: rgba(224, 165, 38, .16); color: var(--brass-bright); }
.main-nav a.nav-cta {
  background: var(--brass-bright); color: var(--emerald-deep) !important; font-weight: 800;
  padding: .62rem 1.25rem; box-shadow: 0 6px 18px rgba(224, 165, 38, .35);
}
.main-nav a.nav-cta:hover { background: #EBB63F; }

.nav-toggle { display: none; }

/* 中等宽度先压缩导航字距，避免 9 个栏目挤出版心 */
@media (max-width: 1360px) {
  .site-head .bar { gap: 1.2rem; }
  .main-nav a { font-size: .96rem; padding: .5rem .62rem; }
  .main-nav a.nav-cta { padding: .55rem .95rem; }
  .brand .wordmark { font-size: 1.4rem; }
}

@media (max-width: 1100px) {
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--emerald); flex-direction: column; align-items: stretch; gap: .2rem;
    padding: .8rem 1.4rem 1.2rem; border-top: 1px solid rgba(224,165,38,.2); box-shadow: var(--shadow-2);
  }
  .main-nav a { padding: .9rem .7rem; font-size: 1.12rem; border-bottom: 1px solid rgba(245,241,232,.08); border-radius: 0; }
  .nav-toggle {
    display: block; margin-left: auto; background: rgba(245,241,232,.1); border: 1px solid rgba(245,241,232,.25);
    color: var(--ivory); font: inherit; font-size: .95rem; font-weight: 600; padding: .5rem 1rem; border-radius: 8px; cursor: pointer;
  }
  .nav-open .main-nav { display: flex; }
  .brand .sub { display: none; }
}

/* ==========================================================================
   Hero（v3：全出血背景大图 + 悬浮数据卡）
   ========================================================================== */
.hero-full { position: relative; min-height: clamp(540px, 76vh, 840px); display: flex; align-items: center; overflow: hidden; background: var(--emerald-deep); }
.hero-full .bg { position: absolute; inset: 0; }
.hero-full .bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-full .veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,35,27,.95) 0%, rgba(6,35,27,.78) 32%, rgba(6,35,27,.28) 62%, rgba(6,35,27,.06) 100%); }
.hero-full .veil::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,35,27,.25), transparent 22%, transparent 72%, rgba(6,35,27,.55)); }
.hero-full .copy { position: relative; z-index: 2; padding: clamp(3.6rem, 8vw, 7rem) 0 clamp(4.5rem, 9vw, 7.5rem); max-width: 52rem; }
.hero-full .eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-mono); font-size: .74rem;
  letter-spacing: .26em; color: var(--brass-bright); border: 1px solid rgba(224,165,38,.45);
  background: rgba(6,35,27,.35); backdrop-filter: blur(4px);
  padding: .38rem .95rem; border-radius: 999px; margin-bottom: 1.6rem;
}
.hero-full h1 { color: var(--ivory); font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 900; margin-bottom: 1.3rem; text-wrap: balance; }
.hero-full h1 .accent { color: var(--brass-bright); }
.hero-full .lede { font-size: clamp(1rem, 1.5vw, 1.16rem); line-height: 2; color: #C4D5CA; max-width: 46rem; margin-bottom: 2.2rem; }
.hero-full .lede strong { color: var(--ivory); }
.hero-full .actions { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }
.hero-full .hero-note { margin: 1.7rem 0 0; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .06em; color: #7E9A8B; }

/* 悬浮数据卡（跨 hero 与内容区边界） */
.hero-float { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: -3.6rem; position: relative; z-index: 6; padding-bottom: 1.2rem; }
.hero-float .fcard {
  background: var(--ivory); border-radius: 16px; padding: 1.25rem 1.35rem 1.1rem;
  border-top: 4px solid var(--brass-bright); box-shadow: 0 24px 54px rgba(6,35,27,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-float .fcard:hover { transform: translateY(-5px); box-shadow: 0 34px 70px rgba(6,35,27,.42); }
.hero-float .v { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.6rem, 2.8vw, 2.2rem); color: var(--emerald); line-height: 1.15; font-variant-numeric: tabular-nums; }
.hero-float .v em { font-style: normal; color: var(--brass); font-size: .6em; margin-left: .04em; }
.hero-float .k { font-size: .98rem; font-weight: 700; color: var(--ink); margin-top: .35rem; }
.hero-float .n { font-family: var(--font-mono); font-size: .78rem; color: var(--ink-faint); margin-top: .3rem; }
@media (max-width: 900px) { .hero-float { grid-template-columns: repeat(2, 1fr); margin-top: -2.4rem; } }
@media (max-width: 520px) { .hero-float { grid-template-columns: 1fr; } }
.btn {
  display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-weight: 700;
  font-size: 1.05rem; letter-spacing: .02em; padding: .9rem 1.85rem; border-radius: 999px; border: 0; cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible { outline: 3px solid rgba(224,165,38,.55); outline-offset: 2px; }
.btn::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-22deg); transition: left .5s ease; pointer-events: none;
}
.btn:hover::after { left: 130%; }
.btn.primary { background: linear-gradient(135deg, #ECBA47, var(--brass)); color: var(--emerald-deep); box-shadow: 0 10px 26px rgba(224,165,38,.42), inset 0 1px 0 rgba(255,255,255,.5); }
.btn.primary:hover { background: linear-gradient(135deg, #F3C55C, #D09A33); box-shadow: 0 14px 32px rgba(224,165,38,.55), inset 0 1px 0 rgba(255,255,255,.5); }
.btn.ghost { background: transparent; color: var(--ivory); border: 1.5px solid rgba(245,241,232,.4); }
.btn.ghost:hover { border-color: var(--brass-bright); color: var(--brass-bright); }
.btn.dark { background: var(--emerald); color: var(--ivory); box-shadow: 0 10px 24px rgba(6,35,27,.25); }
.btn.dark:hover { background: var(--emerald-soft); }
/* 浅底描边变体 */
.btn.outline { background: transparent; color: var(--emerald); border: 1.5px solid var(--brass); }
.btn.outline:hover { background: var(--brass-wash); border-color: var(--brass-bright); color: var(--emerald-deep); }
/* 箭头指引（主 CTA） */
.btn .ar { font-family: var(--font-mono); font-weight: 700; transition: transform .18s ease; }
.btn:hover .ar { transform: translateX(4px); }
.hero .visual { position: relative; padding: 2.5rem 0; }
.hero .visual .frame {
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-2);
  border: 1px solid rgba(224,165,38,.35); transform: rotate(1.2deg);
}
.hero .visual .badge-float {
  position: absolute; left: -1rem; bottom: 12%; background: var(--ivory); color: var(--emerald);
  font-family: var(--font-mono); font-size: .74rem; font-weight: 600; letter-spacing: .05em;
  padding: .55rem .95rem; border-radius: 10px; box-shadow: var(--shadow-1);
}
.hero .visual .badge-float b { color: var(--brass); }
@media (max-width: 960px) { .hero .grid { grid-template-columns: 1fr; } .hero .visual { max-width: 30rem; } }

/* 数据跑马灯 */
.marquee { background: var(--brass-bright); color: var(--emerald-deep); overflow: hidden; }
.marquee .track { display: flex; gap: 3.2rem; white-space: nowrap; padding: .68rem 0; font-family: var(--font-mono); font-size: .92rem; font-weight: 600; letter-spacing: .03em; width: max-content; animation: slide 46s linear infinite; }
.marquee .track span { display: inline-flex; align-items: center; gap: .6rem; }
.marquee .track span::after { content: "◆"; font-size: .55em; opacity: .55; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   版块骨架
   ========================================================================== */
.section { padding: var(--sp-section) 0; position: relative; }
.section.cream { background: var(--cream); }
.section.emerald { background: linear-gradient(165deg, var(--emerald), var(--emerald-deep)); color: #C9D8CE; }
.section.emerald h2, .section.emerald h3 { color: var(--ivory); }
.section.emerald strong { color: var(--ivory); }
.section.emerald a { color: var(--brass-bright); }
.section.emerald .sec-lead { color: #A9C0B3; }

.sec-head { display: flex; align-items: flex-end; gap: 1.4rem; margin-bottom: clamp(1.6rem, 4vw, 2.8rem); }
.sec-head .txt { max-width: 52rem; }
.sec-tag {
  display: inline-block; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .28em;
  color: var(--brass); text-transform: uppercase; margin-bottom: .7rem; font-weight: 600;
}
.section.emerald .sec-tag { color: var(--brass-bright); }
.sec-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); text-wrap: balance; }
.sec-head .more { margin-left: auto; flex: none; font-family: var(--font-mono); font-size: .9rem; font-weight: 600; color: var(--teal); border-bottom: 1px solid currentColor; padding-bottom: .15rem; }
.sec-lead { max-width: 54rem; color: var(--ink-soft); margin: -1.2rem 0 2.4rem; font-size: 1.04rem; line-height: 1.85; }

/* ==========================================================================
   图片卡网格（v2 核心卡片）
   ========================================================================== */
.photo-grid { display: grid; gap: 1.4rem; }
.photo-grid.c2 { grid-template-columns: repeat(2, 1fr); }
.photo-grid.c3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .photo-grid.c3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px) { .photo-grid.c2, .photo-grid.c3 { grid-template-columns: 1fr; } }

.photo-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1);
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.photo-card:hover { transform: translateY(-5px); box-shadow: 0 8px 18px rgba(6,35,27,.08), 0 30px 60px rgba(6,35,27,.16); }
.photo-card .media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--emerald-deep); }
.photo-card .media img, .photo-card .media svg { width: 100%; height: 100%; object-fit: cover; }
.photo-card .media .tag {
  position: absolute; left: 1rem; top: 1rem; background: rgba(6,35,27,.78); backdrop-filter: blur(4px);
  color: var(--brass-bright); font-family: var(--font-mono); font-size: .72rem; font-weight: 700;
  letter-spacing: .18em; padding: .34rem .68rem; border-radius: 6px;
}
.photo-card .media .st {
  position: absolute; right: 1rem; bottom: 1rem; font-family: var(--font-mono); font-size: .7rem; font-weight: 700;
  letter-spacing: .12em; padding: .3rem .64rem; border-radius: 6px;
}
.st.on { background: var(--ok); color: #EAF4EE; }
.st.soon { background: var(--brass-bright); color: var(--emerald-deep); }
.st.risk { background: var(--risk); color: #F8ECEA; }
.photo-card .body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.photo-card h3 { font-size: 1.22rem; margin-bottom: .55rem; }
.photo-card h3 a { color: inherit; }
.photo-card h3 a:hover { color: var(--teal); text-decoration: none; }
.photo-card p { font-size: .98rem; color: var(--ink-soft); margin-bottom: 1rem; flex: 1; }
.photo-card .meta { font-family: var(--font-mono); font-size: .78rem; color: var(--ink-faint); border-top: 1px dashed var(--line); padding-top: .75rem; }

/* ==========================================================================
   图文分栏（split spread）
   ========================================================================== */
.spread { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.6rem, 4vw, 3.6rem); align-items: center; }
.spread.rev .media { order: 2; }
@media (max-width: 900px) { .spread { grid-template-columns: 1fr; } .spread.rev .media { order: 0; } }
.spread .media { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-1); border: 1px solid var(--line); background: var(--emerald-deep); }
.spread .media img { width: 100%; height: 100%; object-fit: cover; }
.spread h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 1rem; }
.spread p { color: var(--ink-soft); }
.spread .points { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: .75rem; }
.spread .points li { display: flex; gap: .8rem; font-size: .95rem; line-height: 1.7; }
.spread .points li::before {
  content: "→"; color: var(--brass); font-weight: 800; flex: none;
}

/* ==========================================================================
   数字带（大数字 tile）
   ========================================================================== */
.stat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
@media (max-width: 960px) { .stat-tiles { grid-template-columns: repeat(2, 1fr); } }
.stat-tiles .tile {
  background: rgba(245,241,232,.06); border: 1px solid rgba(224,165,38,.3); border-radius: 14px;
  padding: 1.5rem 1.4rem 1.3rem; position: relative; overflow: hidden;
}
.stat-tiles .tile::after { content: ""; position: absolute; right: -28px; top: -28px; width: 86px; height: 86px; border-radius: 50%; background: rgba(224,165,38,.12); }
.stat-tiles .v { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.8rem, 3.6vw, 2.7rem); color: var(--brass-bright); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-tiles .v em { font-style: normal; font-size: .55em; margin-left: .06em; }
.stat-tiles .k { font-size: 1rem; font-weight: 700; color: var(--ivory); margin-top: .5rem; }
.stat-tiles .n { font-family: var(--font-mono); font-size: .78rem; color: #93AC9E; margin-top: .35rem; }
/* 浅色版（浅底页面用） */
.stat-tiles.light .tile { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.stat-tiles.light .tile::after { background: var(--brass-wash); }
.stat-tiles.light .v { color: var(--emerald); }
.stat-tiles.light .k { color: var(--ink); }
.stat-tiles.light .n { color: var(--ink-faint); }

/* 工具页输入控件 */
input[type="number"], input[type="text"] {
  width: 100%; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 8px;
  font-family: var(--font-mono); font-size: .95rem; color: var(--ink); background: var(--white);
  margin-top: .35rem; outline: none; transition: border-color .15s ease, box-shadow .15s ease;
}
input[type="number"]:focus { border-color: var(--brass-bright); box-shadow: 0 0 0 3px rgba(224,165,38,.18); }

/* ==========================================================================
   时间轴（v2：方节点 + 琥珀轨）
   ========================================================================== */
.timeline { position: relative; list-style: none; margin: 0; padding: 0; }
.timeline::before { content: ""; position: absolute; left: 8.4rem; top: .5rem; bottom: .5rem; width: 3px; border-radius: 2px; background: linear-gradient(var(--brass-bright), rgba(192,145,58,.15)); }
.timeline li { position: relative; padding: 0 0 2.1rem 10.6rem; }
.timeline .t-date {
  position: absolute; left: 0; top: .1rem; width: 7rem; text-align: right;
  font-family: var(--font-mono); font-size: .88rem; font-weight: 700; color: var(--emerald); font-variant-numeric: tabular-nums;
}
.timeline .t-node {
  position: absolute; left: calc(8.4rem - 8px); top: .35rem; width: 19px; height: 19px; border-radius: 6px;
  background: var(--ivory); border: 3px solid var(--brass); transform: rotate(45deg);
}
.timeline li.done .t-node { background: var(--ok); border-color: var(--ok); }
.timeline li.next .t-node { background: var(--brass-bright); border-color: var(--brass-bright); box-shadow: 0 0 0 6px rgba(224,165,38,.22); }
.timeline h3 { font-size: 1.06rem; margin-bottom: .35rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.timeline p { font-size: .93rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 640px) {
  .timeline::before { left: .55rem; }
  .timeline li { padding: 0 0 1.7rem 2rem; }
  .timeline .t-date { position: static; display: block; width: auto; text-align: left; margin-bottom: .25rem; }
  .timeline .t-node { left: 0; width: 15px; height: 15px; }
}

.badge {
  display: inline-block; font-family: var(--font-mono); font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  padding: .16rem .6rem; border-radius: 6px; vertical-align: middle;
}
.badge.on { color: #DFF0E6; background: var(--ok); }
.badge.soon { color: var(--emerald-deep); background: var(--brass-bright); }
.badge.risk { color: #F8ECEA; background: var(--risk); }
.badge.grey { color: var(--ink-soft); background: var(--ivory-dim); }
.badge.gold { color: var(--emerald-deep); background: var(--brass-wash); border: 1px solid var(--brass); }

/* ==========================================================================
   表格
   ========================================================================== */
.table-wrap { overflow-x: auto; margin: 1.6rem 0 2rem; border-radius: 12px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-1); }
table.data { width: 100%; border-collapse: collapse; font-size: .97rem; min-width: 34rem; }
table.data caption {
  caption-side: top; text-align: left; font-family: var(--font-display); font-weight: 800;
  color: var(--emerald); padding: 1.1rem 1.3rem .25rem; font-size: 1.1rem;
}
table.data th {
  font-weight: 700; text-align: left; color: var(--ivory); background: var(--emerald);
  padding: .72rem 1.2rem; font-size: .86rem; letter-spacing: .05em; white-space: nowrap;
}
table.data td { padding: .75rem 1.2rem; border-top: 1px solid var(--line); vertical-align: top; line-height: 1.75; }
table.data tbody tr:nth-child(even) { background: #FDFBF6; }
table.data td.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl-note { font-size: .86rem; color: var(--ink-faint); margin: -.9rem 0 1.6rem; }

/* ==========================================================================
   引用 / 编者按 / 提示框
   ========================================================================== */
blockquote.reg {
  margin: 2rem 0; padding: 1.3rem 1.6rem; border-left: 5px solid var(--brass-bright);
  background: var(--cream); border-radius: 0 12px 12px 0; font-family: var(--font-serif);
  font-size: 1.05rem; line-height: 2; color: #3C4A42; box-shadow: inset 0 0 0 1px var(--line);
}
blockquote.reg .src { display: block; margin-top: .7rem; font-family: var(--font-mono); font-size: .73rem; color: var(--brass); letter-spacing: .04em; }

.editor-note { margin: 2rem 0; padding: 1.15rem 1.5rem; background: linear-gradient(135deg, var(--brass-wash), #F7EFDD); border-radius: 12px; font-size: .93rem; color: #5A5142; line-height: 1.9; }
.editor-note .t { font-weight: 800; color: var(--emerald); font-family: var(--font-display); margin-right: .5em; }

.callout { margin: 1.8rem 0; padding: 1.15rem 1.45rem; border-radius: 12px; font-size: .93rem; line-height: 1.85; border: 1px solid; }
.callout .t { display: block; font-weight: 800; margin-bottom: .3rem; font-family: var(--font-display); }
.callout.note { border-color: #BFD6CB; background: #EDF4EF; color: #274237; }
.callout.risk { border-color: #E0B4AA; background: var(--risk-wash); color: #6E3027; }
.callout.ok { border-color: #B7D6C2; background: var(--ok-wash); color: #274E3B; }

/* ==========================================================================
   figure（生成式图示 + 图注）
   ========================================================================== */
figure.artfig { margin: 2.2rem 0; }
figure.artfig .media { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-1); background: var(--emerald-deep); }
figure.artfig .media img { width: 100%; height: auto; }
figure.artfig figcaption { font-size: .8rem; color: var(--ink-faint); margin-top: .65rem; font-family: var(--font-mono); letter-spacing: .03em; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { display: grid; gap: .8rem; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-1); overflow: hidden; }
.faq-item[open] { border-color: var(--brass); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: .95rem;
  padding: 1rem 1.3rem; font-family: var(--font-display); font-weight: 700; font-size: 1.01rem; color: var(--emerald);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "+"; font-family: var(--font-mono); font-weight: 700; color: var(--brass-bright); background: var(--emerald);
  width: 1.7rem; height: 1.7rem; border-radius: 8px; display: grid; place-items: center; flex: none; font-size: 1rem;
  transition: transform .18s ease;
}
.faq-item[open] summary::before { content: "−"; transform: rotate(180deg); }
.faq-item summary:hover { color: var(--teal); }
.faq-item .faq-a { padding: 0 1.3rem 1.25rem 3.9rem; font-size: .94rem; color: var(--ink); line-height: 1.95; }
.faq-item .faq-a p:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .faq-item .faq-a { padding-left: 1.3rem; } }

/* ==========================================================================
   步骤 / 清单
   ========================================================================== */
.steps { counter-reset: step; display: grid; gap: .9rem; }
.steps .step {
  counter-increment: step; display: grid; grid-template-columns: 3.4rem 1fr; gap: 1.1rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 1.15rem 1.3rem;
  box-shadow: var(--shadow-1);
}
.steps .step::before {
  content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-weight: 900;
  font-size: 1.6rem; color: var(--brass-bright); background: var(--emerald); width: 3.2rem; height: 3.2rem;
  border-radius: 10px; display: grid; place-items: center; align-self: center;
}
.steps h3 { font-size: 1.03rem; margin-bottom: .3rem; }
.steps p { font-size: .91rem; color: var(--ink-soft); margin: 0; }

.checklist { list-style: none; padding: 0; margin: 1.4rem 0; border: 1px solid var(--line); border-radius: 12px; background: var(--white); overflow: hidden; box-shadow: var(--shadow-1); }
.checklist li { display: flex; gap: .85rem; padding: .72rem 1.25rem; border-top: 1px solid var(--line); font-size: .93rem; line-height: 1.8; }
.checklist li:first-child { border-top: 0; }
.checklist li::before { content: "✓"; color: var(--ok); font-weight: 800; flex: none; }
.checklist li.opt::before { content: "○"; color: var(--brass); }

/* ==========================================================================
   权威链接
   ========================================================================== */
.link-list { display: grid; gap: .6rem; }
.link-list .ext {
  display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; align-items: baseline;
  background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: .85rem 1.2rem;
  font-size: .9rem; box-shadow: var(--shadow-1); transition: border-color .15s ease, transform .15s ease;
}
.link-list .ext:hover { border-color: var(--brass-bright); transform: translateX(4px); text-decoration: none; }
.link-list .ext .u { font-family: var(--font-mono); font-size: .78rem; color: var(--ink-faint); grid-column: 1 / -1; word-break: break-all; }
.link-list .ext .org { font-family: var(--font-mono); font-size: .72rem; font-weight: 700; letter-spacing: .14em; color: var(--brass); text-transform: uppercase; background: var(--brass-wash); padding: .14rem .55rem; border-radius: 6px; }

/* ==========================================================================
   页面横幅（每页顶部 · 栏目艺术图）
   ========================================================================== */
.page-banner { position: relative; background: linear-gradient(150deg, var(--emerald) 20%, var(--emerald-deep)); overflow: hidden; }
.page-banner .art { position: absolute; inset: 0; }
.page-banner .art img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.page-banner .veil { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6,35,27,.94) 30%, rgba(6,35,27,.55) 62%, rgba(6,35,27,.25)); }
.page-banner .inner { position: relative; padding-top: clamp(2.6rem, 6vw, 4.6rem); padding-bottom: clamp(2.2rem, 5vw, 3.8rem); }
.page-banner .kicker {
  display: inline-block; font-family: var(--font-mono); font-size: .72rem; font-weight: 700; letter-spacing: .3em;
  text-transform: uppercase; color: var(--brass-bright); border: 1px solid rgba(224,165,38,.45);
  padding: .3rem .8rem; border-radius: 999px; margin-bottom: 1.2rem;
}
.page-banner h1 { color: var(--ivory); font-size: clamp(1.75rem, 4vw, 2.9rem); font-weight: 900; margin-bottom: .9rem; text-wrap: balance; max-width: 52rem; }
.page-banner .desc { font-size: 1.08rem; color: #C2D3C8; max-width: 54rem; line-height: 1.95; }
.byline {
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; align-items: center; margin-top: 1.6rem;
  font-size: .88rem; color: #A9C0B3;
}
.byline .who { font-weight: 700; color: var(--ivory); }
.byline .dt { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.byline .ver { color: var(--brass-bright); font-family: var(--font-mono); font-size: .8rem; border: 1px solid rgba(224,165,38,.5); padding: .08rem .6rem; border-radius: 6px; }
.crumbs { position: relative; z-index: 2; font-size: .88rem; color: #9DB8AB; padding: 1rem 0 0; }
.crumbs a { color: #9DB8AB; }
.crumbs a:hover { color: var(--brass-bright); }
.crumbs .sep { margin: 0 .5em; opacity: .5; }
.crumbs .cur { color: var(--ivory); }

/* ==========================================================================
   正文
   ========================================================================== */
.article-body { padding-top: clamp(2.2rem, 5vw, 3.6rem); padding-bottom: var(--sp-section); }
.article-body h2 { font-size: clamp(1.35rem, 2.8vw, 1.85rem); margin: 2.9rem 0 1.1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); scroll-margin-top: 6.5rem; }
.article-body h2:first-of-type { border-top: 0; padding-top: 0; }
.article-body h2 .no {
  font-family: var(--font-mono); font-size: .68em; font-weight: 800; color: var(--brass-bright);
  background: var(--emerald); padding: .18em .55em; border-radius: 8px; margin-right: .65em; vertical-align: .12em; letter-spacing: .06em;
}
.article-body h3 { font-size: 1.14rem; margin: 2rem 0 .8rem; }
.article-body p { font-size: 1.06rem; }
.article-body ul, .article-body ol { padding-left: 1.4em; margin: 0 0 1.2em; font-size: 1.04rem; }
.article-body li { margin-bottom: .5em; }
.article-body .tbl-note { margin-top: -1rem; }

.footnotes { margin-top: 3rem; padding: 1.5rem 1.6rem; background: var(--cream); border: 1px solid var(--line); border-radius: 12px; font-size: .9rem; color: var(--ink-soft); line-height: 1.9; }
.footnotes .t { font-family: var(--font-mono); letter-spacing: .22em; font-size: .76rem; font-weight: 700; color: var(--brass); display: block; margin-bottom: .6rem; }
.footnotes ol { padding-left: 1.3em; margin: 0; }
.footnotes sup { font-family: var(--font-mono); color: var(--brass); font-size: .78em; }

.with-toc { display: grid; grid-template-columns: minmax(0, 1fr) 15rem; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.with-toc > * { min-width: 0; }
.article-body .table-wrap { max-width: 100%; }
.toc { position: sticky; top: 6.2rem; font-size: .9rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 1.15rem 1.25rem; box-shadow: var(--shadow-1); }
.toc .t { font-family: var(--font-mono); font-size: .74rem; font-weight: 700; letter-spacing: .26em; color: var(--brass); display: block; margin-bottom: .75rem; }
.toc a { display: block; color: var(--ink-soft); padding: .3rem 0 .3rem .85rem; line-height: 1.6; border-left: 2px solid var(--line); }
.toc a:hover { color: var(--emerald); border-left-color: var(--brass-bright); text-decoration: none; font-weight: 600; }
@media (max-width: 1100px) { .with-toc { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } }
@media (max-width: 640px) { table.data { min-width: 30rem; } }

/* 空隙率计算器 */
.calc-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-1); padding: clamp(1.2rem, 3vw, 1.8rem); margin: 0 0 2.4rem; }
.calc-card .calc-intro { margin: 0 0 1.3rem; font-size: 1rem; color: var(--ink-soft); line-height: 1.8; }
.calc-card .calc-intro strong { color: var(--emerald); }
.calc-card .calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.1rem; align-items: start; }
.calc-card .calc-label { display: block; font-family: var(--font-mono); font-size: .72rem; font-weight: 700; letter-spacing: .08em; color: var(--ink-soft); margin-bottom: .5rem; }
.calc-card .calc-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.calc-card .calc-fields.two { grid-template-columns: minmax(0, 1fr); }
.calc-card input[type="number"] {
  width: 100%; min-width: 0; padding: .7rem .75rem; font: inherit; font-family: var(--font-mono); font-size: 1rem;
  color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-radius: 8px;
}
.calc-card input[type="number"]:focus { outline: 2px solid rgba(224, 165, 38, .45); outline-offset: 1px; border-color: var(--brass); }
.calc-card .calc-submit { margin: 1.3rem 0 0; }
.calc-card #gapOut { margin-top: 1.1rem; }

/* 文内转化卡 */
.cta-inline { margin: 3rem 0 0; background: linear-gradient(135deg, var(--emerald), var(--emerald-soft)); border-radius: 16px; padding: 1.7rem 1.9rem; display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; box-shadow: var(--shadow-2); position: relative; overflow: hidden; }
.cta-inline::after { content: "§"; position: absolute; right: 1.2rem; bottom: -1.6rem; font-family: var(--font-serif); font-size: 7rem; color: rgba(224,165,38,.14); }
.cta-inline .txt h3 { color: var(--ivory); font-size: 1.3rem; margin-bottom: .35rem; }
.cta-inline .txt p { color: #A9C0B3; font-size: .98rem; margin: 0; }
.cta-inline .btn { margin-left: auto; }
.cta-inline .cta-acts { margin-left: auto; display: flex; flex-wrap: wrap; gap: .7rem; }
.cta-inline .cta-acts .btn { margin-left: 0; }
.cta-inline .btn.ghost { background: rgba(245, 241, 232, .06); font-family: var(--font-mono); }
@media (max-width: 640px) { .cta-inline .cta-acts { margin-left: 0; width: 100%; } .cta-inline .cta-acts .btn { flex: 1 1 auto; justify-content: center; } }

/* 相关阅读（带图卡） */
.related { background: var(--cream); border-top: 1px solid var(--line); }
.related .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
@media (max-width: 940px) { .related .grid { grid-template-columns: 1fr; } }
.rel-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-1); transition: transform .18s ease; display: flex; flex-direction: column;
}
.rel-card:hover { transform: translateY(-4px); }
.rel-card .media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--emerald-deep); }
.rel-card .media img { width: 100%; height: 100%; object-fit: cover; }
.rel-card .body { padding: 1.15rem 1.35rem 1.3rem; }
.rel-card .k { font-family: var(--font-mono); font-size: .72rem; font-weight: 700; letter-spacing: .2em; color: var(--brass); text-transform: uppercase; }
.rel-card h3 { font-size: 1.1rem; margin: .5rem 0 .45rem; }
.rel-card h3 a { color: inherit; }
.rel-card h3 a:hover { color: var(--teal); text-decoration: none; }
.rel-card p { font-size: .94rem; color: var(--ink-soft); margin: 0; }

.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; font-size: .95rem; }
.pager a { color: var(--teal); font-weight: 600; }
.pager .nx { margin-left: auto; }

/* 栏目目录（编辑索引） */
.toc-index { display: grid; gap: .65rem; }
.toc-index .row {
  display: grid; grid-template-columns: 3rem minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 1.2rem; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.25rem;
  box-shadow: var(--shadow-1); transition: border-color .15s ease, transform .15s ease;
}
.toc-index .row:hover { border-color: var(--brass-bright); transform: translateX(4px); }
.toc-index .no {
  font-family: var(--font-mono); font-weight: 700; color: var(--ivory); background: var(--emerald);
  width: 2.8rem; height: 2.8rem; border-radius: 8px; display: grid; place-items: center; font-size: .88rem;
}
.toc-index h3 { font-size: 1.12rem; }
.toc-index h3 a { color: inherit; }
.toc-index h3 a:hover { color: var(--teal); text-decoration: none; }
.toc-index .d { font-size: .95rem; color: var(--ink-soft); line-height: 1.75; }
.toc-index .m { font-family: var(--font-mono); font-size: .78rem; font-weight: 700; color: var(--brass); background: var(--brass-wash); padding: .2rem .6rem; border-radius: 6px; white-space: nowrap; }
@media (max-width: 760px) {
  .toc-index .row { grid-template-columns: 2.6rem 1fr; }
  .toc-index .d { grid-column: 2; }
  .toc-index .m { grid-column: 2; justify-self: start; }
}

/* ==========================================================================
   悬浮转化条
   ========================================================================== */
.cta-dock {
  position: fixed; left: 50%; bottom: 1.1rem; transform: translateX(-50%); z-index: 90;
  display: flex; align-items: center; gap: 1.1rem; background: rgba(6, 35, 27, .92); backdrop-filter: blur(8px);
  border: 1px solid rgba(224,165,38,.45); border-radius: 999px; padding: .6rem .7rem .6rem 1.4rem;
  box-shadow: var(--shadow-2); font-size: .86rem; color: #CFE0D5; max-width: min(94vw, 44rem);
}
.cta-dock b { color: var(--brass-bright); font-family: var(--font-display); }
.cta-dock .btn { padding: .5rem 1.1rem; font-size: .82rem; }
.cta-dock .x { background: none; border: 0; color: #7E968A; font-size: 1rem; cursor: pointer; padding: .3rem; }
.cta-dock.hidden { display: none; }
@media (max-width: 640px) { .cta-dock span.msg { display: none; } .cta-dock { padding-left: .9rem; gap: .7rem; max-width: calc(100vw - 12rem); } }
/* 手机端底部已有「在线咨询」大按钮，再压一条悬浮转化条只会互相遮挡、稀释点击，
   这里收起悬浮条，把转化入口收敛到咨询按钮与正文内嵌转化卡 */
@media (max-width: 640px) { .cta-dock { display: none; } }
@media (max-width: 1100px) { .cta-dock { left: 1rem; transform: none; max-width: calc(100vw - 16rem); } }

/* ==========================================================================
   在线咨询（右下角）：自绘按钮 + 提示气泡，驱动易聊内嵌窗口
   ========================================================================== */
/* 隐藏易聊自带悬浮图标（#jesong_panel 由其脚本写入） */
#jesong_panel { display: none !important; }

.chat-dock {
  position: fixed; right: clamp(.9rem, 2vw, 1.5rem); bottom: clamp(.9rem, 2vw, 1.5rem);
  z-index: 120; display: flex; flex-direction: column; align-items: flex-end; gap: .8rem;
}
.chat-btn {
  position: relative; display: inline-flex; align-items: center; gap: .8rem;
  padding: .55rem 1.3rem .55rem .55rem; cursor: pointer; font: inherit;
  color: var(--ivory); background: linear-gradient(140deg, var(--emerald-soft) 0%, var(--emerald-deep) 100%);
  border: 1px solid rgba(224, 165, 38, .5); border-radius: 999px;
  box-shadow: 0 12px 32px rgba(6, 35, 27, .38);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.chat-btn:hover, .chat-btn:focus-visible {
  transform: translateY(-2px); border-color: var(--brass-bright);
  box-shadow: 0 16px 40px rgba(6, 35, 27, .5); outline: none;
}
.chat-btn .ic {
  width: 2.8rem; height: 2.8rem; border-radius: 50%; display: grid; place-items: center; flex: none;
  color: var(--brass-bright); border: 1px solid rgba(224, 165, 38, .38);
  background: radial-gradient(circle at 50% 32%, rgba(224, 165, 38, .26), rgba(224, 165, 38, 0) 72%);
}
.chat-btn .tx { display: flex; flex-direction: column; line-height: 1.25; text-align: left; padding-right: .3rem; }
.chat-btn .tx em { font-style: normal; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; letter-spacing: .03em; }
.chat-btn .tx i { font-style: normal; font-size: .68rem; letter-spacing: .16em; color: #9CB4A6; font-family: var(--font-mono); text-transform: uppercase; }
.chat-btn .badge {
  position: absolute; top: .34rem; right: .55rem; width: .42rem; height: .42rem; border-radius: 50%;
  background: var(--brass-bright); box-shadow: 0 0 0 2px rgba(6, 35, 27, .95);
}
.chat-dock .dock-actions { display: flex; align-items: center; gap: .6rem; }

.chat-teaser {
  position: relative; width: min(80vw, 19.5rem); padding: .95rem 1.1rem 1rem;
  background: var(--cream); border: 1px solid var(--line); border-top: 2px solid var(--brass);
  border-radius: 12px; box-shadow: var(--shadow-2);
  animation: fadeUp .45s cubic-bezier(.2, .7, .2, 1) both;
}
.chat-teaser::after {
  content: ""; position: absolute; right: 2.1rem; bottom: -7px; width: 12px; height: 12px;
  background: var(--cream); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}
.chat-teaser .k { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .2em; color: var(--brass); }
.chat-teaser b { display: block; margin: .35rem 0 .3rem; font-family: var(--font-display); font-size: .95rem; color: var(--emerald); }
.chat-teaser p { margin: 0 0 .55rem; font-size: .88rem; line-height: 1.7; color: var(--ink-soft); }
.chat-teaser .m { font-family: var(--font-mono); font-size: .68rem; color: var(--ink-faint); }
.chat-teaser .x {
  position: absolute; top: .3rem; right: .45rem; width: 1.5rem; height: 1.5rem; padding: 0;
  background: none; border: 0; color: var(--ink-faint); font-size: 1rem; line-height: 1; cursor: pointer;
}
.chat-teaser .x:hover { color: var(--risk); }
.chat-teaser[hidden] { display: none; }
@media (max-width: 640px) {
  .chat-btn { padding: .5rem; }
  .chat-btn .tx, .chat-btn .badge { display: none; }
  .chat-btn .ic { width: 2.9rem; height: 2.9rem; }
}

/* 易聊内嵌窗口：只校准主色 / 圆角 / 字体，不改其内部布局 */
#jesong_chat_layout {
  background: var(--white) !important;
  border: 1px solid rgba(224, 165, 38, .35) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 30px 80px rgba(6, 35, 27, .34) !important;
  font-family: var(--font-body) !important;
}
#jesong-mini-main-top,
.jesong-mini-main-top {
  background: var(--emerald) !important;
}
#jesong-mini-main-top .jesong-abstract-con,
#jesong-mini-main-top .jesong-custom,
.jesong-mini-main-top .jesong-abstract-con,
.jesong-mini-main-top .jesong-custom { color: var(--ivory) !important; }
#pc_phone.phone-icon { background-color: transparent !important; }
#jesong_chat_layout #jesong_chat_send_btn,
#jesong_chat_layout .jesong-btn-info,
#jesong_chat_layout .jesong-commit {
  background-color: var(--emerald) !important;
  background-image: none !important;
  color: var(--ivory) !important;
}
#jesong_chat_layout .jesong-btn-info:hover,
#jesong_chat_layout #jesong_chat_send_btn:hover { background-color: var(--emerald-soft) !important; }
#jesong_chat_layout .jesong_chatP_title { color: var(--ivory) !important; }
#jesong_chat_layout a { color: var(--teal) !important; }
#jesong_chat_min, #jesong_chat_min_horizontal {
  background-color: var(--emerald) !important;
  border-color: var(--emerald) !important;
}
/* 手机端头部（#jesong_full_top）与 PC 头部同色 */
#jesong_full_top,
.jesong-full-top { background: var(--emerald) !important; }
#jesong_full_top .jesong-abstract-con,
#jesong_full_top .jesong-custom,
.jesong-full-top .jesong-abstract-con,
.jesong-full-top .jesong-custom { color: var(--ivory) !important; }
/* 手机端：仅在用户主动发起（body.chat-open）时全屏铺满，正文区撑开，输入栏贴底。
   注意：绝不能在未打开时声明 display，否则易聊初始隐藏态会被覆盖，整页被窗口遮挡。 */
@media (max-width: 640px) {
  body.chat-open #jesong_chat_layout {
    display: flex !important;
    flex-direction: column !important;
    left: 0 !important; top: 0 !important; right: 0 !important; bottom: 0 !important;
    width: 100% !important; height: 100% !important;
    border: 0 !important; border-radius: 0 !important;
  }
  body.chat-open #jesong_chat_layout #jesong_chat_body { flex: 1 1 auto !important; height: auto !important; }
  body.chat-open #jesong_chat_layout .jesong-full-top { flex: 0 0 auto !important; }
  /* 易聊 PC 小窗内部是固定 560×440 的绝对尺寸，手机上需整条 flex 链撑满，
     否则对话区下方留一大片空白、输入栏悬在半空 */
  body.chat-open #jesong_container_mini_inner,
  body.chat-open .jesong-container-mini-inner {
    display: flex !important; flex-direction: column !important; height: 100% !important; min-height: 0 !important;
  }
  body.chat-open .jesong-container-mini-main {
    display: flex !important; flex-direction: column !important; flex: 1 1 auto !important; min-height: 0 !important;
  }
  body.chat-open #jesong_chat_body { display: flex !important; flex-direction: column !important; min-height: 0 !important; }
  body.chat-open .jesong_chat_left {
    display: flex !important; flex-direction: column !important;
    width: 100% !important; height: auto !important; flex: 1 1 auto !important; min-height: 0 !important;
  }
  body.chat-open #jesong_chat_record { flex: 1 1 auto !important; height: auto !important; min-height: 0 !important; }
  body.chat-open #jesong-mini-main-footer-pc { flex: 0 0 auto !important; width: 100% !important; }
  body.chat-open .jesong-operation-main,
  body.chat-open .jesong-operation-header { width: 100% !important; }
}
body.chat-open .cta-dock { display: none; }
body.chat-open .chat-teaser { display: none; }

/* 联系页 / 费用页：高转化咨询带 */
.consult-band { background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-soft) 62%, #0F4A37 100%); color: var(--ivory); border-top: 1px solid rgba(224,165,38,.28); border-bottom: 1px solid rgba(224,165,38,.28); }
.consult-band .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.6rem; padding-top: clamp(1.4rem, 3vw, 2rem); padding-bottom: clamp(1.4rem, 3vw, 2rem); }
.consult-band .cb-txt { flex: 1 1 22rem; min-width: 0; }
.consult-band .k { display: block; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .22em; color: var(--brass-bright); margin-bottom: .35rem; }
.consult-band h2 { color: var(--ivory); font-size: clamp(1.15rem, 2.4vw, 1.55rem); }
.consult-band p { margin: .45rem 0 0; font-size: .97rem; line-height: 1.75; color: #AFC6B9; max-width: 44rem; }
.consult-band .cb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.consult-band .btn { padding: 1rem 1.9rem; font-size: 1.12rem; }
.consult-band .btn.ghost { background: rgba(245,241,232,.06); }
.consult-band .btn.phone { font-family: var(--font-mono); letter-spacing: .02em; }
.consult-band .btn.phone svg { width: 16px; height: 16px; }
.consult-band .cb-note { flex-basis: 100%; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .08em; color: #8FAB9C; margin-left: auto; text-align: right; }
@media (max-width: 760px) {
  .consult-band .cb-actions { width: 100%; }
  .consult-band .btn { flex: 1 1 auto; justify-content: center; }
  .consult-band .cb-note { text-align: left; margin-left: 0; }
}

/* ==========================================================================
   页脚
   ========================================================================== */
.site-foot { background: var(--emerald-deep); color: #93AC9E; position: relative; overflow: hidden; }
.site-foot::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60rem 24rem at 85% -10%, rgba(224,165,38,.08), transparent); }
.site-foot .cta-band { position: relative; border-bottom: 1px solid rgba(245,241,232,.09); }
.site-foot .cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 1.3rem 2.5rem; padding-top: 2.6rem; padding-bottom: 2.6rem; }
.site-foot .cta-band h3 { color: var(--ivory); font-size: clamp(1.15rem, 2.4vw, 1.55rem); }
.site-foot .cta-band h3 em { font-style: normal; color: var(--brass-bright); }
.site-foot .cta-acts { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.site-foot .cta-band .btn { margin-left: 0; }
.site-foot .foot-phone {
  display: inline-flex; align-items: center; gap: .5rem; color: var(--ivory);
  font-family: var(--font-mono); font-weight: 700; font-size: .95rem; letter-spacing: .02em;
}
.site-foot .foot-phone svg { width: 16px; height: 16px; color: var(--brass-bright); }
.site-foot .foot-phone small { font-family: var(--font-mono); font-size: .66rem; font-weight: 400; letter-spacing: .12em; color: #8FAB9C; display: block; }
.site-foot .foot-phone:hover { color: var(--brass-bright); text-decoration: none; }
@media (max-width: 720px) { .site-foot .cta-acts { margin-left: 0; } }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.1fr; gap: 2.5rem; padding: 3rem 0 2.5rem; }
@media (max-width: 980px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.site-foot h4 { color: var(--ivory); font-size: .95rem; margin-bottom: 1rem; }
.site-foot h4 .dot { color: var(--brass-bright); margin-right: .4em; font-family: var(--font-mono); }
.site-foot a { color: #B9CDC0; font-size: .94rem; display: inline-block; padding: .2rem 0; text-decoration: none; }
.site-foot a:hover { color: var(--brass-bright); text-decoration: underline; text-underline-offset: 4px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
/* 页脚导航链接加可点击提示：黄铜小箭头 + 悬停位移，避免被当成纯文本 */
.site-foot .foot-grid li a { position: relative; padding-left: 1.05rem; transition: color .15s ease, padding-left .15s ease; }
.site-foot .foot-grid li a::before {
  content: "→"; position: absolute; left: 0; top: 50%; transform: translateY(-52%);
  color: var(--brass); font-size: .82em; opacity: .75;
}
.site-foot .foot-grid li a:hover { padding-left: 1.3rem; text-decoration: none; }
.site-foot .foot-grid li a:hover::before { color: var(--brass-bright); opacity: 1; }
.site-foot .brand-foot { display: flex; align-items: center; gap: .7rem; margin-bottom: .9rem; }
.site-foot .brand-foot .glyph { width: 2.6rem; height: 2.6rem; border-radius: 9px; overflow: hidden; flex: none; }
.site-foot .brand-foot .glyph img { width: 100%; height: 100%; display: block; }
.site-foot .brand-foot .wm { font-family: var(--font-display); font-weight: 900; font-size: 1.35rem; color: var(--ivory); }
.site-foot .brand-foot .wm em { font-style: normal; color: var(--brass-bright); }
.site-foot .intro { font-size: .94rem; line-height: 1.9; color: #7E968A; max-width: 27rem; }
.site-foot .official-note { font-size: .78rem; color: #6B8477; margin-top: 1rem; line-height: 1.8; }
.site-foot .bottom { border-top: 1px solid rgba(245,241,232,.09); padding-top: 1.2rem; padding-bottom: 1.2rem; font-size: .78rem; color: #6B8477; display: flex; flex-wrap: wrap; gap: .6rem 2rem; align-items: center; }
.site-foot .bottom a { color: #A8BFB2; font-size: .82rem; border-bottom: 1px solid rgba(224,165,38,.4); padding-bottom: .1rem; }
.site-foot .bottom a:hover { color: var(--brass-bright); border-bottom-color: var(--brass-bright); text-decoration: none; }
.site-foot .bottom .record { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .01em; color: #8FA79B; border-bottom-color: rgba(165,188,175,.35); }
.site-foot .bottom .record:hover { color: var(--brass-bright); }
@media (max-width: 900px) {
  .site-foot .bottom { gap: .5rem 1.1rem; }
  .site-foot .bottom .sp { margin-left: 0; flex-basis: 100%; }
}

/* ==========================================================================
   动效（v2：错落入场 + 卡片浮起）
   ========================================================================== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero-full .copy > * { animation: fadeUp .65s cubic-bezier(.2, .7, .2, 1) both; }
.hero-full .eyebrow { animation-delay: .05s; }
.hero-full h1 { animation-delay: .12s; }
.hero-full .lede { animation-delay: .2s; }
.hero-full .actions { animation-delay: .3s; }
.hero-full .hero-note { animation-delay: .4s; }
.hero-float { animation: fadeUp .7s .45s cubic-bezier(.2, .7, .2, 1) both; }

/* 流程 chips（首页五步） */
.flow-chips { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.3rem 0 0; }
.flow-chips span {
  display: inline-flex; align-items: center; gap: .55rem; font-size: .88rem; font-weight: 600; color: var(--emerald);
  background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1.05rem;
  box-shadow: var(--shadow-1); transition: border-color .15s ease, transform .15s ease;
}
.flow-chips span:hover { border-color: var(--brass-bright); transform: translateY(-2px); }
.flow-chips b { font-family: var(--font-mono); color: var(--brass-bright); background: var(--emerald); border-radius: 6px; padding: .05rem .42rem; font-size: .78rem; }

/* 栏目页图片带 */
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; margin: 2rem 0 2.8rem; }
.photo-strip figure { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-1); aspect-ratio: 16 / 9; background: var(--emerald-deep); transition: transform .2s ease; }
.photo-strip figure:hover { transform: translateY(-4px); }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 820px) { .photo-strip { grid-template-columns: 1fr; aspect-ratio: auto; } }

/* ==========================================================================
   角色卡（首页 §04）：近方媒体，与宽卡形成节奏对比
   ========================================================================== */
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 960px) { .role-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .role-grid { grid-template-columns: 1fr; } }
.role-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-1); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.role-card:hover { transform: translateY(-5px); box-shadow: 0 8px 18px rgba(6,35,27,.08), 0 30px 60px rgba(6,35,27,.16); }
.role-card .media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--emerald-deep); }
.role-card .media img { width: 100%; height: 100%; object-fit: cover; }
.role-card .media .tag {
  position: absolute; left: .9rem; top: .9rem; background: rgba(6,35,27,.78); backdrop-filter: blur(4px);
  color: var(--brass-bright); font-family: var(--font-mono); font-size: .66rem; font-weight: 700;
  letter-spacing: .18em; padding: .3rem .6rem; border-radius: 6px;
}
.role-card .media .st {
  position: absolute; right: .9rem; bottom: .9rem; font-family: var(--font-mono); font-size: .64rem; font-weight: 700;
  letter-spacing: .12em; padding: .26rem .58rem; border-radius: 6px;
}
.role-card .body { padding: 1.2rem 1.3rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.role-card h3 { font-size: 1.18rem; margin-bottom: .55rem; }
.role-card h3 a { color: inherit; }
.role-card h3 a:hover { color: var(--teal); text-decoration: none; }
.role-card p { font-size: .97rem; color: var(--ink-soft); line-height: 1.8; flex: 1; margin-bottom: 1rem; }
.role-card .meta { font-family: var(--font-mono); font-size: .78rem; color: var(--ink-faint); border-top: 1px dashed var(--line); padding-top: .75rem; }

/* ==========================================================================
   目录条卡（首页 §06）：缩略图 + 文案 + chip，双列紧凑
   ========================================================================== */
.entry-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 900px) { .entry-grid { grid-template-columns: 1fr; } }
.entry-card {
  display: grid; grid-template-columns: 4.8rem minmax(0, 1fr) auto; gap: 1.1rem; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: .95rem 1.15rem;
  box-shadow: var(--shadow-1); transition: border-color .16s ease, transform .16s ease;
}
.entry-card:hover { border-color: var(--brass-bright); transform: translateY(-3px); text-decoration: none; }
.entry-card .thumb { width: 4.8rem; height: 4.8rem; border-radius: 9px; overflow: hidden; background: var(--emerald-deep); flex: none; }
.entry-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.entry-card .txt b { font-family: var(--font-mono); font-size: .66rem; font-weight: 700; letter-spacing: .18em; color: var(--brass); text-transform: uppercase; display: block; }
.entry-card .txt strong { font-family: var(--font-display); font-weight: 800; font-size: 1.04rem; color: var(--emerald); display: block; margin: .2rem 0 .24rem; line-height: 1.35; }
.entry-card .txt em { font-style: normal; font-size: .84rem; color: var(--ink-soft); line-height: 1.65; display: block; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.entry-card:hover .txt strong { color: var(--teal); }
.entry-card .chip { font-family: var(--font-mono); font-size: .68rem; font-weight: 700; color: var(--brass); background: var(--brass-wash); padding: .24rem .58rem; border-radius: 6px; white-space: nowrap; }
@media (max-width: 640px) { .entry-card { grid-template-columns: 4.8rem minmax(0, 1fr); } .entry-card .chip { display: none; } }

@media print {
  .site-head, .notice-bar, .toc, .related, .pager, .site-foot, .cta-dock, .chat-dock, .marquee, .hero-full .actions, .hero-float { display: none !important; }
  body { background: #fff; }
  .page-banner { background: #fff; }
  .page-banner h1 { color: #000; }
}
