/* ==========================================================================
   Mini Program Studio · site.css
   品牌层：色板、排版尺度、骨架插图、Bootstrap 组件微调
   布局交给 Bootstrap 栅格，间距/字号/圆角/底色交给 Tailwind 工具类
   ========================================================================== */

:root {
  --brand: #00b25c;
  --brand-deep: #00854b;
  --brand-ink: #05402a;
  --brand-wash: #e6f8ee;
  --brand-bright: #00d97e;

  --ink: #1e2a26;
  --ink-2: #3b4741;
  --muted: #5f6964;
  --faint: #737d77;

  --paper: #fdfcf8;
  --mist: #eff6ef;
  --line: #ebe8dd;
  --line-strong: #dcd8c9;

  --title: #0a3624;
  --font-sans: 'Inter', 'Noto Sans SC', -apple-system, 'Segoe UI', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--brand-wash); color: var(--brand-ink); }

a { color: var(--brand-deep); text-decoration: none; }
a:hover { color: var(--brand-ink); }

/* 容器宽度完全交给 Bootstrap 的 .container（≥1200 为 1140），
   这里只把横向 gutter 由 12 调到 24，与站点既有留白一致 */
.container { --bs-gutter-x: 48px; }

.mono { font-family: var(--font-mono); }
.small { font-size: 12.5px; }
.muted { color: var(--muted) !important; }

/* 双语显隐：每个文本节点内联 .only-zh / .only-en 双 span */
html[data-lang="en"] .only-zh { display: none !important; }
html:not([data-lang="en"]) .only-en { display: none !important; }

/* Tailwind 的 .collapse 工具类（visibility:collapse）与 Bootstrap 折叠组件同名，
   这里把导航内的折叠容器还原，避免菜单整体不可见 */
.navbar .collapse { visibility: visible; }

/* ---------------------------------------------------------------- 排版 */

.display {
  font-size: clamp(30px, 3.3vw, 46px);
  line-height: 1.14;
  letter-spacing: -.03em;
  font-weight: 700;
  color: var(--title);
  text-wrap: balance;
}

.h2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.16;
  letter-spacing: -.022em;
  font-weight: 700;
  color: var(--title);
}

.h3-title {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.25;
  letter-spacing: -.02em;
  font-weight: 650;
  color: var(--title);
}

.lead { font-size: 16px; line-height: 1.78; color: var(--ink-2); max-width: 720px; text-wrap: pretty; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brand-deep);
}

.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); display: inline-block; }

.num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--brand-deep);
}

/* ---------------------------------------------------------------- 导航 */

.nav {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(253, 252, 248, .92);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(235, 232, 221, .75);
  transition: box-shadow .2s ease;
}

.nav.is-stuck { box-shadow: 0 12px 28px -26px rgba(20, 42, 33, .55); }

.nav .navbar { min-height: 74px; padding: 0; }

.brand { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; }
.brand img { width: 36px; height: 36px; border-radius: 9px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.08; }
.brand-name { font-size: 15px; font-weight: 650; letter-spacing: -.01em; color: var(--ink); }
.brand-sub { font-size: 11px; color: var(--faint); letter-spacing: .02em; }

.navbar-nav .nav-link {
  font-size: 14px;
  color: var(--ink-2);
  padding: .5rem .25rem;
  border-bottom: 2px solid transparent;
  transition: color .16s ease, border-color .16s ease;
}
.navbar-nav .nav-link:hover { color: var(--ink); border-bottom-color: var(--line-strong); }
.navbar-nav .nav-link.is-active,
.navbar-nav .nav-link[aria-current="page"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--brand); }

.navbar-toggler { color: var(--ink); }
.navbar-toggler-icon { width: 1.1em; height: 1.1em; }
.navbar-toggler:focus-visible { outline: 2px solid var(--brand-deep); outline-offset: 3px; }

.lang-toggle {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.lang-toggle button {
  border: 0;
  background: transparent;
  min-width: 34px;
  padding: 5px 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--muted);
  cursor: pointer;
}
.lang-toggle button[aria-pressed="true"] { background: var(--brand-deep); color: #fff; }

/* ---------------------------------------------------------------- 按钮 */

.btn-brand,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
.btn-brand { background: linear-gradient(180deg, #00d97e, #00bd63); color: #04291c; }
.btn-brand:hover { background: linear-gradient(180deg, #00e488, #00b25c); color: #04291c; transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, .72); border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }

.btn-nav { height: 36px; padding: 0 16px; font-size: 13px; border-radius: 7px; }
.btn.w-100 { width: 100%; }

/* ---------------------------------------------------------------- 首屏 */

.hero {
  padding: 72px 0 44px;
  background: linear-gradient(180deg, #f2faf5 0%, var(--paper) 82%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(0, 178, 92, .05) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(0, 178, 92, .05) 0 1px, transparent 1px 64px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 46%, transparent 96%);
  mask-image: linear-gradient(180deg, #000 0%, #000 46%, transparent 96%);
}

.hero-figure { margin: 0; }

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
}
.hero-note::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}

.hero-meta strong {
  display: block;
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -.02em;
  color: var(--ink);
  white-space: nowrap;
}
.hero-meta span { font-size: 12.5px; color: var(--muted); }

/* ---------------------------------------------------------------- 指标带 */

.figures {
  background: var(--brand-wash);
  border-radius: 18px;
  padding: 34px 36px;
}
.figures strong {
  display: block;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -.03em;
  font-weight: 700;
  color: var(--brand-deep);
}
.figures span { font-size: 12.5px; color: var(--muted); line-height: 1.5; display: block; margin-top: 4px; }

/* ---------------------------------------------------------------- 分栏 */

.split-tint {
  border-radius: 16px;
  padding: 46px 40px;
  background: #f3f8f2;
}
.split-row { padding: 46px 40px; }

.spec { list-style: none; margin: 26px 0 0; padding: 0; }
.spec li {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(235, 232, 221, .75);
  font-size: 13.5px;
}
.spec li:last-child { border-bottom: 0; }
.spec b { font-weight: 600; font-size: 13px; color: var(--brand-deep); }
.spec span { color: var(--ink-2); }

/* ---------------------------------------------------------------- 卡片 / 步骤 */

.card { background: #fff; }
.card-body { display: flex; flex-direction: column; }

.step-num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; color: var(--brand-deep); }
.step-h { font-size: 19px; font-weight: 650; letter-spacing: -.02em; color: var(--title); margin: 12px 0 6px; }
.step-p { font-size: 13.5px; line-height: 1.7; color: var(--muted); }

/* ---------------------------------------------------------------- 表格 */

.table { --bs-table-bg: transparent; --bs-table-striped-bg: #f4faf6; font-size: 14px; }
.table > :not(caption) > * > * { padding: 13px 16px; border: 0; vertical-align: top; }
.table thead th {
  font-size: 12px;
  letter-spacing: .06em;
  font-weight: 600;
  color: var(--brand-deep);
  text-align: left;
}
.table tbody th[scope="row"] { font-weight: 600; color: var(--brand-ink); text-align: left; }
.table td { color: var(--ink-2); }
.table tbody tr > :first-child { border-radius: 10px 0 0 10px; }
.table tbody tr > :last-child { border-radius: 0 10px 10px 0; }

/* ---------------------------------------------------------------- 提示 / 代码 */

.notice {
  background: var(--brand-wash);
  color: var(--brand-ink);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 13.5px;
  line-height: 1.7;
}

.codeblock {
  background: linear-gradient(160deg, #0a3b28, #052318);
  color: #dbeadf;
  border-radius: 12px;
  padding: 24px 26px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.85;
  overflow-x: auto;
}
.codeblock b { color: #fff; font-weight: 600; }
.codeblock .dim { color: #7f8d84; }

/* ---------------------------------------------------------------- 授权卡 */

.tier {
  border-radius: 14px;
  box-shadow: 0 18px 40px -34px rgba(20, 42, 33, .35);
}
.tier .card-body { height: 100%; }
.tier-h {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin: 0;
}
.price { font-size: 34px; font-weight: 700; letter-spacing: -.03em; margin: 10px 0 4px; color: var(--title); }
.price small { font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.tier-list { list-style: none; margin: 20px 0 24px; padding: 0; font-size: 13.5px; color: var(--ink-2); }
.tier-list li { padding: 8px 0; }

.tier-focus {
  background: linear-gradient(165deg, #06402a, #03291d);
  color: #eef5f0;
  box-shadow: 0 26px 52px -30px rgba(15, 36, 30, .55);
}
.tier-focus .tier-h { color: #a8ceb8; }
.tier-focus .price { color: #f2fbf6; }
.tier-focus .price small { color: #9db4a7; }
.tier-focus .tier-list { color: #a8ceb8; }

/* ---------------------------------------------------------------- 模板墙 */

.wall-item { margin: 0; }
.wall-phone { justify-content: space-between; min-height: 210px; }
.wall-cap {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

/* ---------------------------------------------------------------- 骨架插图 */

.frame {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px -40px rgba(20, 42, 33, .45);
}
.frame-bar { height: 34px; background: #faf9f4; }
.frame-dot { display: block; width: 7px; height: 7px; border-radius: 50%; background: #d7d3c6; }
.frame-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--faint);
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.frame-body { padding: 14px; background: #fdfcf7; }

.sk-3 { display: grid; grid-template-columns: 66px minmax(0, 1fr) 100px; gap: 16px; align-items: start; min-height: 200px; }
.sk-msg { display: block; border-radius: 5px; background: #edf1e4; }
.sk-msg-me { background: var(--brand-wash); margin-left: 22px; }

.sk-phone {
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: #fff;
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 10px 24px -18px rgba(20, 42, 33, .5);
}
.sk-cap { display: block; height: 20px; border-radius: 4px; background: linear-gradient(120deg, #00d97e, #00b25c); }
.sk-cap-sand { background: linear-gradient(120deg, #eed9b4, #d8bd8c); }
.sk-cap-sage { background: linear-gradient(120deg, #b9e3cb, #8cc9a8); }
.sk-cap-mist { background: linear-gradient(120deg, #e4f8ec, #c6ecd7); }
.sk-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.sk-grid4 i { display: block; height: 16px; border-radius: 3px; background: #f4f7ef; }

.sk-welcome { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 16px; min-height: 208px; }
.sk-mark { width: 26px; height: 26px; border-radius: 7px; background: rgba(0, 178, 92, .82); }
.sk-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; width: 92%; }
.sk-tile { display: flex; flex-direction: column; gap: 7px; padding: 8px 7px; border-radius: 5px; background: #fff; }
.sk-tile i { display: block; width: 12px; height: 12px; border-radius: 3px; background: rgba(0, 178, 92, .55); }
.sk-list { display: flex; flex-direction: column; gap: 7px; width: 92%; }

.sk-canvas {
  position: relative;
  min-height: 208px;
  border-radius: 6px;
  background-color: #f5f8ee;
  background-image: radial-gradient(#dbe2d4 0.8px, transparent 0.8px);
  background-size: 14px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sk-art {
  width: 112px;
  padding: 10px;
  border: 1px solid var(--brand);
  border-radius: 3px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.sk-handle { position: absolute; width: 5px; height: 5px; background: #fff; border: 1px solid var(--brand); border-radius: 1px; }

.sk-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sk-thumbs .sk-phone { min-height: 210px; }

.sk-usage { display: block; height: 6px; border-radius: 3px; background: #e6e2d5; overflow: hidden; }
.sk-usage i { display: block; height: 100%; width: 46%; background: linear-gradient(90deg, #00d97e, #00a95a); }

/* ---------------------------------------------------------------- 页脚 */

.footer { background: var(--mist); padding: 60px 0 44px; }
.footer-word { font-size: 17px; font-weight: 650; letter-spacing: -.01em; color: var(--title); }
.footer-h {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 14px;
}
.footer-list { list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
.footer-list li { margin-bottom: 9px; color: var(--ink-2); }
.footer-list a { color: var(--ink-2); }
.footer-list a:hover { color: var(--brand-deep); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 44px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------------------------------------------------------------- 复制按钮 */

.copy-btn .copy-done { display: none; }
.copy-btn[data-state="copied"] { border-color: var(--brand); color: var(--brand-deep); }
.copy-btn[data-state="copied"] .copy-idle { display: none; }
.copy-btn[data-state="copied"] .copy-done { display: inline; }

/* ---------------------------------------------------------------- 可访问性 */

.skip-link:focus {
  position: fixed !important;
  top: 12px;
  left: 16px;
  z-index: 2000;
  width: auto !important;
  height: auto !important;
  padding: 10px 16px;
  clip: auto !important;
  background: var(--brand-deep);
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
}

:focus-visible { outline: 2px solid var(--brand-deep); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------------------------------------------------------------- 响应式 */

@media (min-width: 768px) and (max-width: 991.98px) {
  /* 平板横向导航：英文标签更长，收紧字号与间距避免把下载按钮挤出容器 */
  .navbar-nav .nav-link { font-size: 13px; padding: .5rem .1rem; }
  .brand-name { font-size: 14px; }
  /* 英文标签更长，平板下只留标记，避免把下载按钮挤出去 */
  html[data-lang="en"] .brand-text { display: none; }
  .lang-toggle button { min-width: 30px; font-size: 11.5px; }
  .nav .btn-brand { padding: 0 16px; font-size: 13.5px; }
}

@media (max-width: 991.98px) {
  .hero { padding: 52px 0 28px; }
  /* 首屏单列堆叠后沿用同一条 720 列宽，插画不再单独收窄 */
  .split-tint .frame, .split-row .frame { max-width: 620px; margin-left: auto; margin-right: auto; }
  .split-tint, .split-row { padding: 32px 26px; }
}

@media (max-width: 767.98px) {
  /* 导航折叠面板（768 起为横向展开，不再套面板样式） */
  .navbar-collapse {
    background: var(--paper);
    border-radius: 12px;
    padding: 6px 14px 14px;
    margin-top: 8px;
  }
  .navbar-nav .nav-link { padding: .6rem 0; border-bottom: 0; }
  .container { --bs-gutter-x: 40px; }
  .brand-sub { display: none; }
  .display { font-size: clamp(28px, 8vw, 38px); }
  .lead { font-size: 15.5px; }
  .figures { padding: 24px 22px; border-radius: 16px; }
  .hero-meta strong { font-size: 15.5px; letter-spacing: -.01em; white-space: nowrap; }
  .hero-meta span { font-size: 11.5px; }
  .figures strong { font-size: 22px; }
  .spec li { grid-template-columns: 1fr; gap: 4px; }
  .frame-body { padding: 12px; }
  .sk-3 { grid-template-columns: 54px minmax(0, 1fr) 84px; gap: 12px; }
  .sk-welcome { grid-template-columns: 54px minmax(0, 1fr); gap: 12px; }
  .split-tint, .split-row { padding: 26px 18px; border-radius: 16px; }
}

/* ---------------------------------------------------------------- 窄屏表格 */
/* 双列键值表在手机上改为上下结构：标签一行、取值一行，避免列宽互挤 */
@media (max-width: 767.98px) {
  .table.kv-table thead { display: none; }
  .table.kv-table th,
  .table.kv-table td { display: block; width: auto !important; }
  .table.kv-table tr { display: block; padding: 10px 0 12px; }
  .table.kv-table th { padding: 0 0 2px; font-size: 12.5px; letter-spacing: .01em; }
  .table.kv-table td { padding: 0; }
  .table.kv-table tr:last-child { padding-bottom: 4px; }
  /* 多列表（更新记录）：版本与日期并排一行，说明另起一行，避免横向滚动 */
  .table.data-table thead { display: none; }
  .table.data-table tbody { display: block; }
  .table.data-table tr {
    display: grid; grid-template-columns: auto 1fr; gap: 2px 14px;
    padding: 12px 0; border-bottom: 1px solid var(--line);
  }
  .table.data-table tr:last-child { border-bottom: 0; }
  .table.data-table th,
  .table.data-table td { display: block; width: auto !important; padding: 0; }
  .table.data-table td:nth-child(1) { font-weight: 600; color: var(--title); }
  .table.data-table td:nth-child(2) { color: var(--muted); font-size: 13px; align-self: center; }
  .table.data-table td:nth-child(3) { grid-column: 1 / -1; margin-top: 4px; }
}
/* 英文主标题在平板档放开强制断行，交给 text-wrap:balance 均分两行 */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .display .br-mid { display: none; }
}
/* ---------------------------------------------------------------- 移动端骨架 */

.sk-device {
  width: 254px;
  margin: 0 auto;
  padding: 9px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  box-shadow: 0 24px 50px -34px rgba(5, 64, 42, .38);
}
.sk-device-slot {
  display: block;
  width: 56px;
  height: 5px;
  margin: 2px auto 9px;
  border-radius: 3px;
  background: #dfe4d8;
}
.sk-device-screen {
  display: flex;
  flex-direction: column;
  gap: 7px;
  height: 452px;
  padding: 12px 11px 11px;
  background: #f7f9f3;
  border-radius: 20px;
}
.sk-dot { width: 9px; height: 9px; border-radius: 3px; background: var(--brand); flex: none; }
.sk-preview-mini {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: #fff;
  border-radius: 12px;
}

.pair { display: inline-block; margin-right: 26px; }
.pair b { font-size: 12px; font-weight: 500; color: var(--faint); margin-right: 7px; letter-spacing: .02em; }
@media (max-width: 767.98px) {
  .pair { display: block; margin: 0 0 5px; }
  .pair:last-child { margin-bottom: 0; }
}

/* ---------------------------------------------------------------- 浮动联系窗 */

.cw {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1035;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.cw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 18px 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--brand-deep);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  box-shadow: 0 14px 30px -14px rgba(5, 64, 42, .6);
  cursor: pointer;
  transition: background .16s ease, transform .16s ease;
}
.cw-btn svg { width: 20px; height: 20px; flex: none; }
.cw-btn:hover { background: var(--brand-ink); transform: translateY(-1px); }
.cw-btn:focus-visible { outline: 2px solid var(--brand-deep); outline-offset: 3px; }

.cw-panel {
  width: 320px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 30px 64px -30px rgba(5, 64, 42, .5);
  overflow: hidden;
}
.cw-panel[hidden] { display: none; }
.cw-panel:not([hidden]) { animation: cw-in .18s ease-out; }
@keyframes cw-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.cw-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 8px 16px;
}
.cw-head b { font-size: 14.5px; color: var(--title); letter-spacing: -.01em; }
.cw-close {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.cw-close svg { width: 15px; height: 15px; }
.cw-close:hover { background: var(--mist); color: var(--ink); }

.cw-body { display: flex; flex-direction: column; gap: 2px; padding: 0 8px 10px; }

.cw-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 8px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: background .14s ease;
}
.cw-row:hover { background: var(--mist); }
.cw-row:focus-visible { outline: 2px solid var(--brand-deep); outline-offset: -2px; }

.cw-ico {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 9px;
  background: var(--brand-wash);
  color: var(--brand-deep);
}
.cw-ico svg { width: 18px; height: 18px; }

.cw-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cw-txt b { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.cw-txt small {
  font-size: 11.5px;
  color: var(--faint);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cw-go { margin-left: auto; display: grid; place-items: center; color: var(--faint); }
.cw-go svg { width: 14px; height: 14px; }

.cw-qrs {
  display: flex;
  gap: 12px;
  margin-top: 6px;
  padding: 12px 8px 4px;
  border-top: 1px solid var(--line);
}
.cw-qr { flex: 1; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cw-qr img { border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.cw-qr figcaption { font-size: 11.5px; color: var(--muted); }

@media (max-width: 767.98px) {
  .cw {
    right: 0;
    left: 0;
    bottom: 0;
    align-items: flex-end;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .cw-btn {
    width: 48px;
    height: 48px;
    padding: 0;
    margin: 0 16px 16px 0;
  }
  .cw-btn span { display: none; }
  .cw-panel {
    width: 100%;
    border-radius: 18px 18px 0 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    max-height: 72vh;
    overflow-y: auto;
  }
  .cw-qr img { width: 104px; height: 104px; }
}

/* 移动端抽屉打开时收起触发按钮，避免被面板压住 */
@media (max-width: 767.98px) {
  .cw.is-open .cw-btn { display: none; }
  .cw-panel { padding-bottom: 10px; }
}



/* ---------------------------------------------------------------- 行业模板配图 */

/* 手机样机：浅色金属中框 + 屏幕内嵌，整卡悬停轻抬；点击看全图 */
.wall-phone {
  position: relative;
  display: block;
  width: 100%;
  padding: 6px;
  border: 0;
  border-radius: 24px;
  background: linear-gradient(160deg, #ffffff 0%, #efeade 48%, #fbf9f3 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset 0 -1px 0 rgba(5, 64, 42, .06),
    0 2px 4px rgba(5, 64, 42, .05),
    0 26px 46px -32px rgba(5, 64, 42, .42);
  transition: transform .35s ease, box-shadow .35s ease;
  cursor: zoom-in;
  font: inherit;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
}

.wall-phone:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

/* 听筒：细横条，只落中框上，不压页面 */
.wall-phone::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 50%;
  width: 44px;
  height: 3px;
  margin-left: -22px;
  border-radius: 2px;
  background: rgba(5, 64, 42, .14);
}

.wall-item:hover .wall-phone {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset 0 -1px 0 rgba(5, 64, 42, .06),
    0 2px 4px rgba(5, 64, 42, .05),
    0 34px 56px -30px rgba(5, 64, 42, .5);
}

.wall-screen {
  position: relative;
  display: block;
  border-radius: 19px;
  overflow: hidden;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(5, 64, 42, .09);
}

/* 屏幕反光：只在上沿一道极淡的斜光，不压内容 */
.wall-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(126deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, .06) 26%, rgba(255, 255, 255, 0) 46%);
}

.wall-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  background: #f2f0e6;
}

@media (max-width: 767.98px) {
  .wall-phone { padding: 4px; border-radius: 18px; box-shadow: 0 0 0 1px rgba(5, 64, 42, .07), 0 14px 24px -20px rgba(5, 64, 42, .38); }
  .wall-phone::after { top: 1px; width: 32px; height: 2px; margin-left: -16px; }
  .wall-screen { border-radius: 14px; }
}

/* ---------------------------------------------------------------- 关于页：行业场景插画 */

.indgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 768px) {
  .indgrid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

.indgrid figure { margin: 0; }

.indgrid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #f2f0e6;
}

.indgrid figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

/* ---------------------------------------------------------------- 模板全图灯箱 */

.lb {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  background: rgba(6, 26, 18, .78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.lb.is-open { display: flex; }

.lb-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 100%;
}

.lb-img {
  display: block;
  width: auto;
  max-width: min(94vw, 560px);
  max-height: 78vh;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .8);
}

.lb-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  color: #eaf2ec;
  font-size: 13px;
  padding: 0 2px;
}

.lb-bar .mono {
  color: rgba(234, 242, 236, .62);
  font-size: 12px;
}

.lb-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #f3f7f4;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lb-close:hover { background: rgba(255, 255, 255, .16); }

.lb-close:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

body.is-lb-open { overflow: hidden; }

.lb-nav {
  position: absolute;
  top: 50%;
  margin-top: -20px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #f3f7f4;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lb-prev { left: max(18px, calc(50% - 340px)); }
.lb-next { right: max(18px, calc(50% - 340px)); }

.lb-nav:hover { background: rgba(255, 255, 255, .16); }

.lb-nav:focus-visible,
.lb-close:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.lb-meta {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  white-space: nowrap;
}

.lb-counter { color: rgba(234, 242, 236, .5); letter-spacing: .04em; }

@media (max-width: 767.98px) {
  .lb { padding: 18px 12px; }
  .lb-nav { display: none; }
  .lb-img { max-width: 92vw; }
}

.lb-dot { color: rgba(234, 242, 236, .3); }

