/* ============================================================
   优客RPA — 版式与配色严格沿用原站
   红橙主视觉 · 深蓝导航 · 浅灰卡片 · 红色小标题
   仅做排版精致化，不引入其他风格
   ============================================================ */
:root {
  --blue: #0067E0;        /* 原站链接蓝 */
  --blue-d: #0a53b8;
  --blue-nav1: #1173d6;   /* 原站导航蓝 */
  --blue-nav2: #0757b4;
  --red: #ED545F;         /* 原站公司简介标题红 */
  --orange: #F0812B;      /* 原站 banner 橙 */
  --tag: #cf9879;         /* 原站产品标签棕橙 */
  --card: #efefef;        /* 原站卡片底灰 */
  --foot: #f8f8f8;        /* 原站页脚灰 */
  --ink: #1f2329;
  --ink-2: #5a6069;
  --ink-3: #8b919a;
  --line: #e6e6e6;
}
* { box-sizing: border-box; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
html { scroll-behavior: smooth; }
#top, #products, #partner, #news, #qa, #contact, #footer { scroll-margin-top: 58px; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 14px/1.6 "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: 1000px; max-width: calc(100% - 32px); margin: 0 auto; }

/* 欢迎条 */
.welcome {
  background: #f2f6fc;
  border-bottom: 1px solid #e3ecf8;
  height: 30px;
}
.welcome-in {
  height: 30px; display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: #6b7480;
}
.welcome a { color: var(--blue); }
.welcome a:hover { text-decoration: underline; }
.welcome-time { color: #98a1ac; }
/* 演示模式提示（未接入 PHP 后端时自动出现） */
.demo-flag {
  display: inline-block; margin-left: 12px; padding: 1px 9px; border-radius: 10px;
  background: #fff3e0; border: 1px solid #ffd9a8; color: #d9822b;
  font-size: 11.5px; font-weight: 700; cursor: help; vertical-align: 1px;
}

/* 导航 */
.nav {
  background: linear-gradient(180deg, var(--blue-nav1), var(--blue-nav2));
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 10px rgba(6, 70, 150, .14);
}
.nav-in { display: flex; align-items: center; height: 46px; }
.nav-logo {
  font-size: 18px; font-weight: 800; color: #fff; letter-spacing: .02em;
  padding-right: 22px; margin-right: 4px;
  border-right: 1px solid rgba(255, 255, 255, .28); white-space: nowrap;
}
.nav-logo span { color: #ffd9a8; }
.nav-logo span:first-child { color: #fff; }
.nav-links { list-style: none; display: flex; margin: 0; padding: 0; height: 100%; flex: 1; }
.nav-links li { height: 100%; border-left: 1px solid rgba(255, 255, 255, .16); }
.nav-links li:first-child { border-left: 0; }
.nav-links a {
  display: flex; align-items: center; height: 100%; padding: 0 15px;
  color: rgba(255, 255, 255, .92); font-size: 13px; white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.nav-links li.on a { color: #fff; font-weight: 700; box-shadow: inset 0 -3px 0 #ffce8a; }
.nav-toggle { display: none; }

/* Banner */
.banner { margin-top: 3px; }
.banner .wrap { padding: 0; }
.banner-pic { display: block; }
.banner img { width: 100%; height: auto; display: block; }

/* 产品列表 3×2 */
.soft-list {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-top: 12px;
}
.soft-card {
  min-height: 188px; background: var(--card); border-radius: 10px;
  border: 1px solid #e7e7e7; overflow: hidden; padding: 0;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.soft-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -14px rgba(15, 60, 130, .28);
  border-color: #cddcf0;
}
.sc-mainlink {
  display: grid; grid-template-columns: 38% 62%; min-height: 188px;
  color: inherit; text-decoration: none;
}
.sc-left {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 16px 8px;
  border-right: 1px solid #e2e2e2;
}
.sc-logo {
  width: 72px; height: 72px; display: flex; align-items: center; justify-content: center;
}
.sc-logo img { max-width: 72px; max-height: 72px; width: auto; height: auto; object-fit: contain; }
.sc-tag {
  background: var(--tag); color: #fff; font-size: 12px; line-height: 1;
  padding: 5px 9px; border-radius: 3px; white-space: nowrap;
}
.sc-right { padding: 20px 16px 16px; display: flex; flex-direction: column; min-width: 0; }
.sc-right h4 { margin: 0 0 8px; font-size: 15px; font-weight: 700; color: #222; }
/* 价格：品牌蓝强调，置于标题下方 */
.sc-price {
  margin: -2px 0 8px; font-size: 12.5px; font-weight: 700; color: var(--blue);
  display: inline-flex; align-items: center; align-self: flex-start;
  padding: 3px 9px; border-radius: 5px;
  background: linear-gradient(180deg, #eaf2ff 0%, #dfeaff 100%);
  border: 1px solid #cfe0fb;
}
.sc-desc {
  margin: 0; font-size: 12.5px; line-height: 1.75; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;
  overflow: hidden;
}
/* 详情介绍：位于右侧栏内、描述下方并右对齐（与原站 .xqjs 一致） */
.sc-more {
  display: block; text-align: right; margin: 10px 0 0;
  font-size: 12px; color: var(--blue); line-height: 1.4;
}
.soft-card:hover .sc-more { text-decoration: underline; }

/* 合作权益（底部三档卡片）——不设硬边色块，整块融进全局底纹，白卡片浮于其上 */
.partner-wrap {
  background: transparent;
  padding: 54px 0 60px;
}
.partner-wrap > .wrap {
  background: transparent;
}
.pt-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; margin-bottom: 26px; }
.pt-head-l { min-width: 0; }
.pt-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: #2f6bdd; font-size: 11px; font-weight: 700; letter-spacing: .22em;
}
.pt-kicker i { display: block; width: 22px; height: 2px; background: #2f6bdd; border-radius: 2px; }
.pt-title { margin: 8px 0 0; font-size: 30px; font-weight: 800; color: #12294d; letter-spacing: .02em; }
.pt-note { margin: 0 0 4px; max-width: 380px; font-size: 12.5px; line-height: 1.9; color: #5d6b82; text-align: right; }
.pt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
/* 档位主题色：默认按顺序 青绿 → 品牌蓝 → 琥珀金；后台可为每个档位单独指定 */
.pt-card:nth-child(1) { --pt-accent: #12a594; }
.pt-card:nth-child(2) { --pt-accent: #0a6cf1; }
.pt-card:nth-child(3) { --pt-accent: #d18616; }
.pt-card:nth-child(4) { --pt-accent: #7c5cff; }
.pt-card:nth-child(5) { --pt-accent: #e0457b; }
.pt-card {
  position: relative; background: #fff; border: 1px solid #e3ebf7; border-radius: 16px;
  padding: 26px 24px 24px; display: flex; flex-direction: column;
  box-shadow: 0 12px 32px -20px rgba(18, 60, 130, .34);
  transition: transform .22s, box-shadow .22s, border-color .22s;
  /* 小字号文字用加深一档的主题色，保证对比度可读 */
  --pt-ink: color-mix(in srgb, var(--pt-accent, #33415c) 75%, #0d1b2e);
}
.pt-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -22px rgba(18, 60, 130, .38); border-color: #c4d8f4; }
.pt-card.hot { border: 2px solid #2f8bff; box-shadow: 0 22px 46px -22px rgba(31, 110, 235, .45); }
.pt-badge {
  position: absolute; top: -11px; right: 20px;
  background: linear-gradient(90deg, #2f8bff, #1d5fb8); color: #fff;
  font-size: 11.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
  box-shadow: 0 6px 14px -6px rgba(31, 110, 235, .6);
}
/* 档位名：主题色文字 + 同色圆点，视觉上三档一眼可分 */
.pt-name {
  display: inline-flex; align-items: center; gap: 9px; align-self: flex-start;
  font-size: 16px; font-weight: 800; letter-spacing: .03em;
  color: var(--pt-ink, var(--pt-accent, #33415c));
}
.pt-name::before {
  content: ''; flex: none; width: 9px; height: 9px; border-radius: 50%;
  background: var(--pt-accent, #33415c);
  box-shadow: 0 0 0 4px rgba(47, 139, 255, .12);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--pt-accent, #33415c) 14%, transparent);
}
.pt-price { margin: 10px 0 6px; display: flex; align-items: baseline; gap: 4px; }
.pt-price b {
  font-size: 34px; font-weight: 800; letter-spacing: -.01em;
  color: var(--pt-accent, #1d5fb8);
  font-family: Arial, "Microsoft YaHei", sans-serif;
}
.pt-price span { font-size: 13px; color: #8b95a6; }
.pt-desc { margin: 0 0 16px; font-size: 12.5px; color: #7a8496; line-height: 1.7; }
.pt-rows { border-top: 1px solid #eef2f8; margin-bottom: 14px; }
.pt-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid #eef2f8; font-size: 12.5px;
}
.pt-row span { color: #8b95a6; }
.pt-row b { color: #2b3b55; font-weight: 600; text-align: right; }
.pt-feats { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pt-feats li { position: relative; padding-left: 20px; font-size: 12.5px; color: #44506a; line-height: 1.6; }
.pt-feats li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--pt-ink, var(--pt-accent, #2f8bff)); font-weight: 800; font-size: 12px;
}
.pt-btn {
  margin-top: auto; display: block; text-align: center;
  padding: 11px 14px; border-radius: 10px; font-size: 13.5px; font-weight: 600;
  color: var(--pt-ink, var(--pt-accent, #1d5fb8));
  background: #eef4ff;
  background: color-mix(in srgb, var(--pt-accent, #2f6bdd) 10%, #fff);
  border: 1px solid #d8e6fb;
  border-color: color-mix(in srgb, var(--pt-accent, #2f6bdd) 24%, #fff);
  transition: background .2s, color .2s, box-shadow .2s;
}
.pt-btn:hover {
  background: #e0edff;
  background: color-mix(in srgb, var(--pt-accent, #2f6bdd) 18%, #fff);
}
.pt-card.hot .pt-btn {
  color: #fff; border-color: transparent;
  background: linear-gradient(90deg, #2f8bff, #1d6fe0);
  background: linear-gradient(90deg, var(--pt-accent, #2f8bff), color-mix(in srgb, var(--pt-accent, #2f8bff) 76%, #08213f));
  box-shadow: 0 10px 22px -10px rgba(31, 110, 235, .65);
}
.pt-card.hot .pt-btn:hover { filter: brightness(1.05); }

/* ===== 文章板块：案例分享 / 答疑解惑 ===== */
.art-head {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  margin-bottom: 32px; text-align: center;
}
.art-wm {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 14px; border-radius: 999px;
  background: #eef4ff; border: 1px solid #dbe8fb; color: #2f6bdd;
  font: 700 11px/1 Arial, sans-serif; letter-spacing: .2em;
  user-select: none; white-space: nowrap;
}
.art-title {
  margin: 0; font-size: 26px; font-weight: 800; color: #16233a; letter-spacing: .01em;
}
.art-title i {
  display: block; width: 46px; height: 3px; margin: 12px auto 0; border-radius: 2px;
  background: var(--orange);
}

/* 案例分享：三列图文卡片 */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 22px; margin-bottom: 56px; }
.news-item {
  position: relative; display: grid; grid-template-columns: 128px 1fr; overflow: hidden;
  background: #fff; border: 1px solid #e8eef7; border-radius: 14px;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.news-item:hover {
  transform: translateY(-3px); border-color: #cbdcf5;
  box-shadow: 0 18px 34px -22px rgba(18, 60, 130, .42);
}
.news-thumb {
  position: relative; display: flex; align-items: center; justify-content: center;
  padding: 10px; background: linear-gradient(160deg, #eef4ff 0%, #dce9fd 100%);
  border-right: 1px solid #eef2f8;
}
.news-thumb img {
  width: 100%; height: auto; border-radius: 7px;
  box-shadow: 0 8px 18px -12px rgba(16, 60, 140, .5);
  transition: transform .3s;
}
.news-item:hover .news-thumb img { transform: scale(1.05); }
.news-body {
  position: relative; min-width: 0; padding: 14px 16px 13px;
  display: flex; flex-direction: column;
}
.news-idx {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  min-width: 24px; height: 22px; padding: 0 6px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font: 800 12px/1 Arial, sans-serif; color: #fff; letter-spacing: .02em;
  background: linear-gradient(135deg, #2f8bff, #1d5fb8);
  box-shadow: 0 4px 10px -4px rgba(16, 60, 140, .6);
  pointer-events: none; user-select: none;
}
.news-t {
  position: relative; margin: 0 0 8px; padding-right: 0;
  font-size: 14px; font-weight: 700; line-height: 1.5; color: #1b2a44;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .2s;
}
.news-t a { color: inherit; text-decoration: none; }
.news-t a:hover { color: #1d5fb8; }
.news-item:hover .news-t { color: #1d5fb8; }
/* 文章元信息：分类 / 日期 / 阅读时长（窄卡内必须单行，故用小字号 + 省略） */
.news-meta { display: flex; align-items: center; flex-wrap: nowrap; gap: 5px; margin: -2px 0 8px; overflow: hidden; }
.news-meta > span { font-size: 10px; line-height: 1; color: #97a1b0; white-space: nowrap; flex: none; }
.news-meta .nm-cat {
  padding: 3px 6px; border-radius: 999px; font-weight: 600;
  background: #eaf2ff; color: #0a6cf1;
  max-width: 68px; overflow: hidden; text-overflow: ellipsis;
}
.news-meta .nm-date::before { content: '·'; margin-right: 5px; color: #ccd3dc; }
.news-meta .nm-read { margin-left: auto; }
.news-d {
  margin: 0 0 11px; font-size: 12.5px; line-height: 1.8; color: #7b879c;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  gap: 8px; padding-top: 10px; border-top: 1px solid #eef2f8;
}
.news-more {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; color: #1d5fb8; line-height: 1; white-space: nowrap;
}
.news-foot .nm-date { font-size: 10.5px; line-height: 1; color: #a3adbb; white-space: nowrap; }
.news-more i { font-style: normal; transition: transform .2s; }
.news-more:hover i { transform: translateX(4px); }

/* ============================================================
   答疑解惑：分组卡片（色块头 + 编号问题列表）
   ============================================================ */
.qa-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 24px; margin-bottom: 56px; align-items: start; }
/* 分类数为奇数时，最后一张卡片横跨整行（内部改双列列表，避免右侧大片留白） */
.qa-grid > .qa-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.qa-grid > .qa-card:last-child:nth-child(odd) .qa-card-list {
  display: grid; grid-template-columns: 1fr 1fr;
}
.qa-grid > .qa-card:last-child:nth-child(odd) .qa-li:nth-child(2n) { border-left: 1px solid #f2f5fa; }
.qa-grid > .qa-card:last-child:nth-child(odd) .qa-li:nth-child(-n+2) { border-top: 0; }
.qa-card {
  background: #fff; border: 1px solid #ecf0f6; border-radius: 12px; overflow: hidden;
  transition: border-color .22s, box-shadow .22s;
}
.qa-card:hover { border-color: var(--qa-line, #d5e3fb); box-shadow: 0 10px 24px -20px rgba(18, 60, 130, .34); }
/* 卡片头：单行轻量标题条（白底，无色块压头） */
.qa-card-hd {
  display: flex; align-items: center; gap: 9px;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid #f0f4f9;
}
/* 彩色小圆点，唯一的分类标识 */
.qa-card-ic {
  flex: none; width: 22px; height: 22px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--qa-a2, #2f6bdd);
  background: var(--qa-bg1, #eff5ff);
}
.qa-card-t {
  margin: 0; font-size: 15px; font-weight: 700; line-height: 1.3;
  color: var(--qa-ink, #1b4488); letter-spacing: .01em; white-space: nowrap;
}
.qa-card-d {
  margin: 0; font-size: 12px; line-height: 1.4; color: var(--qa-ink2, #6d7b90);
  flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* 右侧问题计数徽章 */
.qa-card-n {
  flex: none; min-width: 20px; height: 19px; padding: 0 6px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; line-height: 1;
  color: var(--qa-a2, #2f6bdd); background: var(--qa-bg1, #eff5ff);
}
/* ---- 各分类配色（浅色系） ---- */
.qa-tone-blue   { --qa-a1: #6ea1f0; --qa-a2: #2f6bdd; --qa-ink: #17407f; --qa-ink2: #64748f; --qa-bg1: #eff5ff; --qa-bg2: #e1ebfd; --qa-line: #d5e3fb; }
.qa-tone-teal   { --qa-a1: #35c2ae; --qa-a2: #0d9384; --qa-ink: #0a6b61; --qa-ink2: #5f7d7c; --qa-bg1: #e9f9f5; --qa-bg2: #d8f2ec; --qa-line: #cbeae2; }
.qa-tone-orange { --qa-a1: #f8b45c; --qa-a2: #e8800f; --qa-ink: #9c5a06; --qa-ink2: #7d7566; --qa-bg1: #fff5e9; --qa-bg2: #ffeacf; --qa-line: #f8e0c2; }
.qa-tone-purple { --qa-a1: #a98cff; --qa-a2: #7549ee; --qa-ink: #5431b3; --qa-ink2: #736b8c; --qa-bg1: #f4f0ff; --qa-bg2: #e9e1ff; --qa-line: #ddd3fb; }
.qa-tone-green  { --qa-a1: #5cc287; --qa-a2: #28955a; --qa-ink: #1c7343; --qa-ink2: #667a6e; --qa-bg1: #ecf9f0; --qa-bg2: #ddf2e5; --qa-line: #cfe9da; }
/* 卡片体：编号问题列表 */
.qa-card-list { list-style: none; margin: 0; padding: 4px 0; }
.qa-li {
  display: grid; grid-template-columns: 18px 1fr; gap: 9px; align-items: flex-start;
  padding: 8px 16px; cursor: pointer; position: relative;
  transition: background .18s;
}
.qa-li + .qa-li { border-top: 1px solid #f4f7fb; }
.qa-li:hover { background: #f8fbff; }
/* 编号：浅底彩字，弱化为辅助信息 */
.qa-li-n {
  flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font: 700 10.5px/1 Arial, sans-serif;
  color: var(--qa-a2, #2f6bdd); background: var(--qa-bg1, #eff5ff);
}
.qa-li-body { min-width: 0; }
.qa-li-q {
  margin: 0; font-size: 13.5px; font-weight: 500; line-height: 1.6; color: #2b3a52;
  transition: color .18s;
}
.qa-li:hover .qa-li-q { color: var(--qa-a2, #2f6bdd); }
.qa-li-a {
  margin: 0; font-size: 12.5px; line-height: 1.8; color: #6b7789;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .28s ease, opacity .24s ease, margin-top .28s ease;
}
.qa-li.on .qa-li-a { max-height: 220px; opacity: 1; margin-top: 6px; }
.qa-li.on .qa-li-q { color: var(--qa-a2, #2f6bdd); }
/* 展开指示箭头 */
.qa-li-q::after {
  content: ''; display: inline-block; vertical-align: middle;
  width: 6px; height: 6px; margin-left: 7px;
  border-right: 1.6px solid #b3c0d2; border-bottom: 1.6px solid #b3c0d2;
  transform: rotate(45deg) translateY(-1px);
  transition: transform .24s;
}
.qa-li.on .qa-li-q::after { transform: rotate(-135deg) translateY(-1px); border-color: var(--qa-a2, #2f6bdd); }

/* 招商联系 */
.recruit-wrap { padding: 0 0 40px; }
.recruit {
  width: 100%;
  background: linear-gradient(180deg, #eef4ff 0%, #f7faff 60%, #ffffff 100%);
  border: 1px solid #e4edfb; border-radius: 22px;
  padding: 34px 34px 24px;
}
.recruit-head { text-align: center; }
.recruit-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  color: #2f6bdd; font-size: 11px; font-weight: 700; letter-spacing: .22em;
}
.recruit-kicker i { width: 26px; height: 1px; background: #9dbcfa; }
.recruit-head h2 { margin: 12px 0 8px; font-size: 27px; color: #16233a; font-weight: 800; letter-spacing: -.01em; }
.recruit-head p { margin: 0; font-size: 13px; line-height: 1.8; color: #7b889c; }
.recruit-grid {
  display: grid; grid-template-columns: 1.1fr 1fr 1.1fr 1fr;
  gap: 14px; margin-top: 26px;
}
.rc-card { background: #fff; border-radius: 14px; box-shadow: 0 8px 24px -14px rgba(30, 70, 150, .25); }
.rc-person { padding: 16px 16px 14px; border-left: 3px solid #2f6bdd; display: flex; flex-direction: column; }
.rc-person:nth-of-type(3) { border-left-color: #1fae86; }
.rc-person-top { display: flex; align-items: center; gap: 10px; }
.rc-avatar {
  width: 38px; height: 38px; flex: none; border-radius: 9px; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700;
}
.rc-avatar-blue { background: #2f6bdd; }
.rc-avatar-green { background: #1fae86; }
.rc-person-meta { min-width: 0; }
.rc-name { font-size: 14px; font-weight: 700; color: #1b2433; display: flex; align-items: center; gap: 6px; }
.rc-badge { font-size: 10px; font-weight: 500; padding: 1px 6px; border-radius: 3px; }
.rc-badge-blue { color: #2f6bdd; background: #eaf1ff; }
.rc-badge-green { color: #12946e; background: #e4f6ef; }
.rc-role { font-size: 11px; color: #97a1b0; margin-top: 2px; }
.rc-note { font-size: 11px; line-height: 1.6; color: #8b95a5; margin: 12px 0 10px; flex: 1; }
.rc-tel {
  display: block; text-align: center; color: #fff; font-size: 13px; font-weight: 600;
  padding: 9px 6px; border-radius: 7px; letter-spacing: .02em;
}
.rc-tel-blue { background: #2f6bdd; }
.rc-tel-green { background: #1fae86; }
.rc-tel:hover { filter: brightness(.95); }
.rc-wechat {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 9px; padding: 7px 10px; background: #f7f9fc; border-radius: 6px;
  font-size: 11px; color: #8b95a5;
}
.rc-wechat b { color: #4a5568; font-weight: 600; }
.rc-copy {
  border: 0; background: none; color: #2f6bdd; font-size: 11px; cursor: pointer; padding: 0;
}
.rc-copy:hover { text-decoration: underline; }
.rc-qr, .rc-enterprise { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14px 10px 10px; }
/* 二维码随卡片宽度自适应（不再是固定 px），保证放大后仍居中且不溢出 */
.rc-qr img { width: 100%; max-width: 132px; aspect-ratio: 1 / 1; height: auto; object-fit: contain; }
.rc-qr p, .rc-enterprise p { margin: 8px 0 0; font-size: 11px; color: #8b95a5; }
.rc-enterprise { background: linear-gradient(160deg, #2f6bdd, #1f52c4); }
.rc-ent-title { color: #fff; font-size: 12px; font-weight: 700; }
.rc-ent-qr { background: #fff; padding: 7px; border-radius: 8px; margin-top: 10px; }
.rc-ent-qr img { width: 100%; max-width: 116px; aspect-ratio: 1 / 1; height: auto; object-fit: contain; }
.rc-enterprise p { color: rgba(255, 255, 255, .8); }
.recruit-foot { text-align: center; margin: 18px 0 0; font-size: 11px; color: #9aa5b5; }

/* 页脚 — 深色三栏（品牌 + 链接列 + 版权友链） */
.site-foot {
  background: #2b313c; color: #c7cdd8;
  padding: 46px 0 24px;
  border-top: 3px solid var(--orange, #e2592e);
}
.sf-main {
  display: grid; grid-template-columns: minmax(280px, 1.35fr) 2.4fr;
  gap: 48px; padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.sf-logo { display: flex; align-items: center; gap: 11px; }
.sf-logo img { width: 40px; height: 40px; flex: none; }
.sf-logo-txt { display: flex; flex-direction: column; line-height: 1.1; }
.sf-logo-txt b { color: #fff; font-size: 22px; font-weight: 800; letter-spacing: .02em; }
.sf-logo-txt span { color: #8f99a9; font-size: 9px; letter-spacing: .28em; margin-top: 4px; }
.sf-logo em {
  font-style: normal; font-size: 11px; font-weight: 700; color: #f0b64a;
  border: 1px solid rgba(240, 182, 74, .5); border-radius: 3px;
  padding: 2px 5px; margin-left: 2px; align-self: flex-start; margin-top: 2px;
}
.sf-desc { margin: 20px 0 0; font-size: 12.5px; line-height: 1.9; color: #98a2b1; max-width: 40em; }
.sf-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ft-col { display: flex; flex-direction: column; gap: 11px; }
.ft-col-t { margin: 0 0 3px; color: #fff; font-size: 14px; font-weight: 700; }
.ft-col > a { color: #98a2b1; font-size: 12.5px; transition: color .18s; }
.ft-col > a:hover { color: #fff; }
.ft-desc { margin: 0; font-size: 12px; line-height: 1.85; color: #8f99a9; }
.ft-qq {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  background: #3a4150; color: #e7ebf1; font-size: 12.5px;
  padding: 8px 12px; border-radius: 5px; margin-top: 2px;
  transition: background .18s, color .18s;
}
.ft-qq:hover { background: var(--orange, #e2592e); color: #fff; }
.ft-qq-i {
  width: 16px; height: 16px; flex: none; border-radius: 3px; background: #12b7f5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cellipse cx='8' cy='9' rx='5.5' ry='5' fill='white'/%3E%3Cellipse cx='5.3' cy='8.3' rx='.85' ry='1.1' fill='%2312b7f5'/%3E%3Cellipse cx='10.7' cy='8.3' rx='.85' ry='1.1' fill='%2312b7f5'/%3E%3C/svg%3E");
  background-size: cover;
}
.sf-bottom { text-align: center; padding-top: 22px; }
.sf-copy { margin: 0 0 10px; font-size: 12px; color: #7d8797; }
.sf-friends { margin: 0; font-size: 11.5px; color: #7d8797; line-height: 1.8; }
.sf-friends > span:first-child { color: #8f99a9; }
.sf-friends a { color: #8f99a9; margin: 0 6px; transition: color .18s; }
.sf-friends a:hover { color: #fff; }

/* 导航在 1000px 以下收起为菜单，避免菜单项被挤压或横向溢出 */
@media (max-width: 1000px) {
  .nav-in { height: auto; flex-wrap: wrap; padding: 8px 0; }
  .nav-logo { height: 36px; border-right: 0; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 4px;
    margin-left: auto; width: 40px; height: 36px; border: 0; background: none; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; }
  .nav-links { display: none; flex-basis: 100%; flex-direction: column; height: auto; }
  .nav-links.show { display: flex; }
  .nav-links li { border-left: 0; }
  .nav-links a { height: 40px; padding: 0 8px; }
}
/* 1001~1151px：压缩导航间距，保证一行放得下 */
@media (min-width: 1001px) and (max-width: 1151px) {
  .nav-logo { font-size: 17px; padding-right: 14px; margin-right: 2px; }
  .nav-links a { padding: 0 9px; font-size: 12.5px; }
}

/* 响应式 */
@media (max-width: 820px) {
  .qa-grid { grid-template-columns: 1fr; }
  .qa-grid > .qa-card:last-child:nth-child(odd) .qa-card-list { grid-template-columns: 1fr; }
  .qa-grid > .qa-card:last-child:nth-child(odd) .qa-li:nth-child(2n) { border-left: 0; }
  .qa-grid > .qa-card:last-child:nth-child(odd) .qa-li:nth-child(3) { border-top: 1px solid #f2f5fa; }
  .news-grid { grid-template-columns: 1fr; gap: 16px; }
  .recruit-grid { grid-template-columns: repeat(2, 1fr); }
  .soft-list { grid-template-columns: repeat(2, 1fr); }
  .pt-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .pt-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .pt-note { text-align: left; max-width: none; }
}
@media (max-width: 560px) {
  .news-grid { grid-template-columns: 1fr; gap: 16px; }
  .news-item { grid-template-columns: 112px 1fr; }
  .news-thumb { padding: 8px; }
  .news-body { padding: 12px 13px 11px; }
  .news-idx { font-size: 20px; top: 7px; right: 10px; }
  .news-t { font-size: 13.8px; padding-right: 0; }
  .news-d { font-size: 12.2px; -webkit-line-clamp: 2; }
  .qa-card-hd { padding: 13px 14px; }
  .qa-card-t { font-size: 14.5px; }
  .qa-li { padding: 9px 14px; }
  .qa-li-q { font-size: 13px; }
  .recruit { padding: 26px 18px 20px; border-radius: 16px; }
  .recruit-head h2 { font-size: 21px; }
  .recruit-grid { grid-template-columns: 1fr; }
  .rc-qr, .rc-enterprise { padding: 18px; }
  .welcome-time { display: none; }
  .soft-list { grid-template-columns: 1fr; }
  .soft-card { min-height: 168px; }
  .sc-mainlink { grid-template-columns: 34% 66%; }
  .sf-main { grid-template-columns: 1fr; gap: 30px; }
  .sf-cols { grid-template-columns: repeat(2, 1fr); gap: 26px 20px; }
}

/* ============================================================
   产品详情页 detail.html — 沿用原站结构配色
   ============================================================ */
.detail-page { background: #fff; }
.content { display: grid; grid-template-columns: 230px 1fr; gap: 20px; margin-top: 14px; align-items: start; }

/* 左栏 */
.content_left { border: 1px solid #e2e2e2; border-radius: 10px; overflow: hidden; background: #fff; }
.cl-head { padding: 0 0 18px; text-align: center; border-bottom: 1px solid #eee; }
.cl-title { margin: 0; height: 40px; line-height: 40px; background: #f7f7f7; border-bottom: 2px solid #fff; font-size: 15px; color: #333; }
.cl-phone { padding: 16px 12px 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.cl-phone p { margin: 3px 0; font-size: 14px; color: #444; font-family: Arial, sans-serif; text-align: center; }
.cl-phone p.cl-c { display: inline-flex; align-items: center; gap: 7px; }
.cl-ico { width: 17px; height: 17px; flex: none; display: inline-block; background-repeat: no-repeat; background-position: center; background-size: contain; }
.cl-ico-tel { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231e88cc' d='M6.6 10.8a15 15 0 006.6 6.6l2.2-2.2a1 1 0 011-.24c1.1.37 2.3.57 3.6.57a1 1 0 011 1V20a1 1 0 01-1 1A17 17 0 013 4a1 1 0 011-1h3.5a1 1 0 011 1c0 1.3.2 2.5.57 3.6a1 1 0 01-.24 1L6.6 10.8z'/%3E%3C/svg%3E"); }
.cl-ico-qq { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='13' rx='8' ry='7.5' fill='%2312b7f5'/%3E%3Cellipse cx='8.5' cy='12' rx='1.2' ry='1.6' fill='white'/%3E%3Cellipse cx='15.5' cy='12' rx='1.2' ry='1.6' fill='white'/%3E%3C/svg%3E"); }
.cl-wx-title { font-size: 15px; font-weight: 700; text-align: center; margin: 8px 0 10px; color: #333; }
.cl-wx { display: flex; justify-content: center; }
.cl-wx img { width: 190px; height: 190px; object-fit: contain; }
.cl-nav { padding-top: 0; }
.cl-nav-title { margin: 0; height: 38px; line-height: 38px; background: linear-gradient(90deg, #dfe9f6, #eef4fb); color: #0aa5d4; font-weight: 700; padding-left: 14px; font-size: 14px; }
.cl-nav ul { list-style: none; margin: 0; padding: 0; border-top: 0; }
.cl-nav li { border-bottom: 1px dotted #ccc; }
.cl-nav a { display: block; padding: 0 12px; height: 34px; line-height: 34px; font-size: 12.5px; color: #333; }
.cl-nav a::before { content: '➤'; color: #2a7fd4; font-size: 10px; margin-right: 7px; }
.cl-nav a:hover, .cl-nav a.on { color: var(--blue); background: #f4f9ff; }

/* 右栏 */
.cr-top { display: grid; grid-template-columns: 1fr 132px; gap: 14px; }
.cr-intro { border: 2px solid #ccc; border-radius: 15px; padding: 20px 18px; min-width: 0; }
.cr-intro h1, .cr-intro h2 { margin: 0 0 14px; color: var(--red); font-size: 20px; font-weight: 700; }
.cr-shots { display: flex; flex-wrap: wrap; gap: 8px; }
.cr-shots img { width: calc(50% - 4px); height: 150px; object-fit: cover; border: 1px solid #eee; border-radius: 4px; background: #fafafa; }
.cr-shots img:only-child { width: 100%; height: auto; }
.cr-desc { margin: 14px 0 10px; font-size: 14px; line-height: 1.9; color: #333; font-weight: 700; display: flex; align-items: flex-start; gap: 4px; }
.dq { flex: none; width: 12px; height: 14px; margin-top: 4px; background: no-repeat center/contain; }
.dq-l { background-image: url(../img/msleft.jpg); }
.dq-r { background-image: url(../img/msright.jpg); }
.cr-price { margin: 6px 0 0; color: #f60; font-weight: 700; font-size: 14px; }
/* 左栏服务承诺：填充导航下方空白 */
.cl-promise { margin-top: 14px; border-top: 1px solid #eee; padding: 14px 12px 16px; }
.cl-promise-title {
  margin: 0 0 12px; font-size: 14px; font-weight: 700; color: #0aa5d4;
  background: linear-gradient(90deg, #dfe9f6, #eef4fb); border-radius: 3px;
  height: 32px; line-height: 32px; padding-left: 12px;
}
.cl-promise ul { list-style: none; margin: 0; padding: 0; }
.cl-promise li { display: flex; align-items: flex-start; gap: 9px; padding: 9px 2px; border-bottom: 1px dotted #e0e0e0; }
.cl-promise li:last-child { border-bottom: 0; }
.cp-ico {
  flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  background: #eaf4ff; color: #1173d6; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.cp-txt { min-width: 0; display: flex; flex-direction: column; }
.cp-txt b { font-size: 12.5px; color: #333; font-weight: 600; }
.cp-txt small { font-size: 11px; color: #999; margin-top: 2px; line-height: 1.5; }

/* 右侧按钮下方扫码咨询 */
.cr-aside { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cr-actions { display: flex; flex-direction: column; gap: 9px; }
.cr-consult {
  border: 1px solid #d7e6f7; border-radius: 12px; background: #f4f9ff;
  padding: 12px 8px 13px; text-align: center;
}
.crc-title { margin: 0 0 8px; font-size: 12.5px; font-weight: 700; color: #1173d6; }
.cr-consult img { width: 96px; height: 96px; margin: 0 auto; object-fit: cover; border: 1px solid #e2e8f0; border-radius: 5px; background: #fff; }
.crc-text { margin: 8px 0 0; font-size: 10.5px; color: #8a96a5; }
.cra {
  position: relative;
  display: flex; align-items: center; gap: 8px;
  height: 56px; padding: 0 10px;
  border: 1px solid #d9e8f8; border-radius: 10px;
  background: linear-gradient(135deg, #fbfdff, #eef6ff);
  color: #1173d6; font-size: 12px; font-weight: 700; letter-spacing: .2px;
  box-shadow: 0 2px 8px rgba(17, 115, 214, .06);
  transition: transform .2s, border-color .2s, box-shadow .2s, background .2s;
}
.cra::after { content: "›"; margin-left: auto; color: #9dbde0; font-size: 17px; line-height: 1; }
.cra:hover {
  transform: translateY(-2px);
  border-color: #f0a35c;
  background: linear-gradient(135deg, #fffaf4, #fff4e8);
  color: #d9661a;
  box-shadow: 0 7px 16px rgba(240, 129, 43, .16);
}
.cra:hover::after { color: #f0a35c; }
.cra:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(240, 129, 43, .12); }
.cra:last-child {
  border-color: transparent;
  background: linear-gradient(135deg, #ff9a4d, var(--red));
  color: #fff;
  box-shadow: 0 6px 16px rgba(237, 84, 95, .24);
}
.cra:last-child .cra-ico { background-color: rgba(255, 255, 255, .94); box-shadow: none; }
.cra:last-child::after { color: rgba(255, 255, 255, .85); }
.cra:last-child:hover { filter: brightness(1.04); box-shadow: 0 9px 20px rgba(237, 84, 95, .3); }
.cra-ico {
  flex: 0 0 30px; width: 30px; height: 30px;
  display: block; background: #fff no-repeat center/contain;
  border-radius: 8px; box-shadow: inset 0 0 0 1px #dce9f7;
}
#icoGn { background-image: url(../img/gnjs.png); }
#icoVideo { background-image: url(../img/视频演示.png); }
#icoDown { background-image: url(../img/soft_download.png); }
#icoPay { background-image: url(../img/soft_pay.png); }

/* 图文文章：功能介绍（文字与图片混排，合为一体） */
.cr-article { margin-top: 24px; }
.cr-art-title {
  position: relative;
  margin: 0 0 6px; height: 44px; line-height: 44px; padding: 0 16px 0 20px;
  font-size: 16px; font-weight: 700; color: #2b313b; letter-spacing: .5px;
  background: linear-gradient(90deg, #fff5ec 0%, #fdfaf6 62%, #fff 100%);
  border: 1px solid #f1e4d9; border-radius: 6px;
}
.cr-art-title::before {
  content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #ff9a4d, #ED545F);
}
.cr-art-title::after {
  content: ''; position: absolute; left: 20px; bottom: 0; width: 52px; height: 2px;
  border-radius: 2px; background: linear-gradient(90deg, #ff9a4d, #ED545F);
}
.cr-art-body { padding: 4px 0 8px; }
.ca-b { margin: 18px 0; font-size: 13.5px; line-height: 2; color: #5a6069; text-indent: 2em; }
.ca-b:first-child { margin-top: 8px; }
.ca-fig { margin: 16px 0 26px; text-align: center; }
.ca-fig img {
  display: block; width: 100%; border: 1px solid #e6e6e6; border-radius: 6px;
  box-shadow: 0 4px 16px rgba(20, 40, 70, .06); background: #fff;
}
.ca-fig figcaption { margin-top: 9px; font-size: 12px; color: #98a0aa; }
.ca-empty { margin: 24px 0; text-align: center; color: #98a0aa; font-size: 13px; }

/* 富文本文章（后台编辑器输出）：沿用原站正文质感 */
.cr-art-body p { margin: 16px 0; font-size: 13.5px; line-height: 2; color: #5a6069; text-indent: 2em; }
.cr-art-body p:first-child { margin-top: 8px; }
.cr-art-body h2, .cr-art-body h3, .cr-art-body h4 {
  margin: 22px 0 10px; font-size: 15px; font-weight: 700; color: #28323f; line-height: 1.6; text-indent: 0;
}
.cr-art-body h3::before {
  content: ''; display: inline-block; width: 3px; height: 14px; margin-right: 8px; vertical-align: -2px;
  border-radius: 2px; background: linear-gradient(180deg, var(--orange), var(--red));
}
.cr-art-body ul, .cr-art-body ol { margin: 14px 0; padding-left: 2em; font-size: 13.5px; line-height: 2; color: #5a6069; }
.cr-art-body li { margin: 4px 0; }
.cr-art-body blockquote {
  margin: 18px 0; padding: 10px 16px; border-left: 3px solid var(--blue); background: #f5f9ff;
  color: #556170; font-size: 13.5px; line-height: 1.9; text-indent: 0;
}
.cr-art-body a { color: #0a6cf1; text-decoration: underline; }
.cr-art-body hr { border: 0; border-top: 1px solid #e6e6e6; margin: 22px 0; }
.cr-art-body img { max-width: 100%; height: auto; }
.cr-art-body figure { margin: 16px 0 26px; text-align: center; }
.cr-art-body figure img {
  display: block; max-width: 100%; margin: 0 auto; border: 1px solid #e6e6e6; border-radius: 6px;
  box-shadow: 0 4px 16px rgba(20, 40, 70, .06); background: #fff; text-indent: 0;
}
.cr-art-body figcaption { margin-top: 9px; font-size: 12px; color: #98a0aa; text-indent: 0; }
.cr-art-body p img, .cr-art-body div img { display: inline-block; max-width: 100%; }

/* ============================================================
   文章详情页（article.html）
   两栏：正文主栏 + 侧栏（目录 / 要点 / 相关产品 / 咨询）
   ============================================================ */
.art-wrap { padding: 26px 0 56px; background: #f7f9fc; min-height: 60vh; }

/* 面包屑 */
.art-crumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  padding: 0 0 16px; font-size: 12.5px; color: #8b95a6;
}
.art-crumb a { color: #6b7789; text-decoration: none; }
.art-crumb a:hover { color: var(--blue); }
.art-crumb-sep { color: #c3cbd6; }
.art-crumb-cur { color: #33415c; font-weight: 600; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 主栏 / 侧栏布局 */
.art-layout { display: grid; grid-template-columns: minmax(0, 1fr) 268px; gap: 22px; align-items: start; }
.art-main {
  background: #fff; border: 1px solid #e8eef7; border-radius: 14px;
  padding: 32px 38px 34px; box-shadow: 0 12px 34px -26px rgba(18, 60, 130, .3);
  min-width: 0;
}

/* 文章头 */
.art-head { padding-bottom: 18px; border-bottom: 1px solid #eef2f8; }
.art-head-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.art-cat {
  display: inline-block; padding: 3px 11px; border-radius: 999px;
  background: #eaf2ff; color: #0a6cf1; font-size: 12px; font-weight: 700;
}
.art-date, .art-read { font-size: 12.5px; color: #8b95a6; }
.art-date::before, .art-read::before { content: '·'; margin-right: 8px; color: #c8d0da; }
.art-head-meta > :first-child::before { content: none; margin: 0; }

.art-title {
  margin: 0 0 12px; font-size: 27px; line-height: 1.45; font-weight: 800;
  color: #1b2534; letter-spacing: -.01em;
}
.art-author { margin: 0; font-size: 13px; color: #8b95a6; }

/* 封面图 */
.art-cover { margin: 22px 0 0; }
.art-cover img {
  display: block; width: 100%; height: auto; border-radius: 10px;
  border: 1px solid #e8eef7; background: #f7f9fc;
}

/* 摘要 */
.art-lead {
  margin: 20px 0 0; padding: 15px 18px;
  background: #f6f9fe; border-left: 3px solid var(--blue); border-radius: 0 8px 8px 0;
  font-size: 14px; line-height: 1.9; color: #4a5668;
}

/* 正文 */
.art-body { margin-top: 24px; }
.art-body p { margin: 16px 0; font-size: 15px; line-height: 2; color: #4c5665; text-indent: 2em; }
.art-body > p:first-child { margin-top: 0; }
.art-body h2 {
  margin: 34px 0 14px; font-size: 19px; font-weight: 800; color: #1b2534; line-height: 1.5;
  padding-left: 13px; border-left: 4px solid var(--blue); letter-spacing: -.01em;
}
.art-body h3 {
  margin: 26px 0 12px; font-size: 16px; font-weight: 700; color: #26303d; line-height: 1.6;
}
.art-body h4 { margin: 20px 0 10px; font-size: 15px; font-weight: 700; color: #26303d; }
.art-body ul, .art-body ol { margin: 14px 0; padding-left: 1.6em; font-size: 15px; line-height: 2; color: #4c5665; }
.art-body li { margin: 7px 0; }
.art-body li b { color: #26303d; }
.art-body blockquote {
  margin: 22px 0; padding: 15px 20px; border-left: 3px solid var(--orange);
  background: #fff8f2; border-radius: 0 8px 8px 0;
  color: #6b5236; font-size: 14.5px; line-height: 1.95;
}
.art-body a { color: #0a6cf1; text-decoration: underline; }
.art-body hr { border: 0; border-top: 1px solid #eef2f8; margin: 26px 0; }
.art-body img { max-width: 100%; height: auto; border-radius: 8px; }
.art-body figure { margin: 20px 0 26px; text-align: center; }
.art-body figure img { display: block; margin: 0 auto; border: 1px solid #e8eef7; }
.art-body figcaption { margin-top: 9px; font-size: 12.5px; color: #98a0aa; }
.art-empty { margin: 24px 0; text-align: center; color: #98a0aa; font-size: 14px; }

/* 标签 */
.art-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding-top: 20px; border-top: 1px solid #eef2f8; }
.art-tag {
  padding: 4px 12px; border-radius: 999px; font-size: 12.5px;
  background: #f2f5fa; color: #5a6b85; border: 1px solid #e4ebf5;
}

/* 作者卡片 */
.art-authorbox {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 22px; padding: 18px 20px;
  background: #f7f9fc; border: 1px solid #e8eef7; border-radius: 10px;
}
.ab-avatar {
  width: 46px; height: 46px; flex: none; border-radius: 50%;
  background: linear-gradient(135deg, #2f8bff, #1d5fb8); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 700;
}
.ab-name { margin: 0 0 5px; font-size: 14.5px; font-weight: 700; color: #26303d; }
.ab-desc { margin: 0; font-size: 13px; line-height: 1.8; color: #7a8496; }

/* 上一篇 / 下一篇 */
.art-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.ap-item {
  display: block; padding: 14px 18px; border: 1px solid #e8eef7; border-radius: 10px;
  background: #fff; text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s;
  min-width: 0;
}
.ap-item:hover { border-color: #c4d8f4; transform: translateY(-2px); box-shadow: 0 8px 20px -14px rgba(18, 60, 130, .34); }
.ap-label { display: block; margin-bottom: 6px; font-size: 12px; color: #9aa4b2; }
.ap-item b { display: block; font-size: 13.5px; font-weight: 600; color: #33415c; line-height: 1.6; }
.ap-next { text-align: right; }
.ap-empty { background: #f7f9fc; cursor: default; }
.ap-empty:hover { transform: none; box-shadow: none; border-color: #e8eef7; }
.ap-empty b { color: #a8b0bc; font-weight: 400; }

/* 延伸阅读 */
.art-relate { margin-top: 36px; }
.art-sec-title {
  display: flex; align-items: center; gap: 10px; margin: 0 0 16px;
  font-size: 17px; font-weight: 700; color: #1b2534;
}
.art-sec-title i { flex: 1; height: 1px; background: linear-gradient(90deg, #e3eaf4, transparent); }
.art-relate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.art-relate-card {
  display: block; text-decoration: none; overflow: hidden;
  border: 1px solid #e8eef7; border-radius: 10px; background: #fff;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.art-relate-card:hover { transform: translateY(-3px); border-color: #c4d8f4; box-shadow: 0 12px 26px -18px rgba(18, 60, 130, .4); }
.arc-img { display: block; background: #f4f7fb; }
.arc-img img { display: block; width: 100%; height: auto; }
.arc-body { display: block; padding: 12px 14px 14px; }
.arc-body b { display: block; font-size: 13.5px; font-weight: 700; color: #26303d; line-height: 1.6; margin-bottom: 6px; }
.arc-body small { display: block; font-size: 12.5px; line-height: 1.75; color: #8b95a6; }
.arc-body em { display: block; margin-top: 8px; font-style: normal; font-size: 11.5px; color: #a8b0bc; }

/* 底部 CTA */
.art-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 34px; padding: 24px 28px; border-radius: 12px;
  background: linear-gradient(120deg, #1b4fa0 0%, #2f8bff 62%, #4aa3ff 100%);
  color: #fff;
}
.art-cta-copy { min-width: 0; }
.art-cta-copy h3 { margin: 0 0 7px; font-size: 18px; font-weight: 700; color: #fff; }
.art-cta-copy p { margin: 0; font-size: 13.5px; line-height: 1.85; color: rgba(255, 255, 255, .88); max-width: 520px; }
.art-cta-ops { display: flex; gap: 10px; flex: none; }
.art-cta-btn {
  display: inline-block; padding: 11px 22px; border-radius: 9px;
  font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
  background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .38);
  transition: background .2s, transform .2s;
}
.art-cta-btn:hover { background: rgba(255, 255, 255, .28); transform: translateY(-1px); }
.art-cta-btn.primary { background: #fff; color: #1b4fa0; border-color: #fff; }
.art-cta-btn.primary:hover { background: #f2f7ff; }

/* ============ 侧栏 ============ */
.art-side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 74px; }
.as-card {
  background: #fff; border: 1px solid #e8eef7; border-radius: 12px; padding: 16px 18px;
  box-shadow: 0 8px 22px -20px rgba(18, 60, 130, .3);
}
.as-title {
  margin: 0 0 12px; font-size: 13.5px; font-weight: 700; color: #26303d;
  padding-left: 10px; border-left: 3px solid var(--blue);
}

/* 目录 */
.as-toc-list { display: flex; flex-direction: column; gap: 2px; max-height: 320px; overflow: auto; }
.as-toc-list a {
  display: block; padding: 6px 9px; border-radius: 6px;
  font-size: 13px; line-height: 1.6; color: #6b7789; text-decoration: none;
  transition: background .18s, color .18s;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.as-toc-list a:hover { background: #f2f6fc; color: #0a6cf1; }
.as-toc-list a.on { background: #eaf2ff; color: #0a6cf1; font-weight: 600; }
.as-toc-list a.toc-h3 { padding-left: 20px; font-size: 12.5px; color: #8b95a6; }
.as-toc-list a.toc-h3.on { color: #0a6cf1; }

/* 要点 */
.as-points-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.as-points-list li { display: flex; gap: 8px; font-size: 13px; line-height: 1.75; color: #556170; }
.pt-check {
  flex: none; width: 17px; height: 17px; margin-top: 2px; border-radius: 50%;
  background: #eaf2ff; color: #0a6cf1; font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* 相关产品 */
.as-products-list { display: flex; flex-direction: column; gap: 9px; }
.as-product {
  display: flex; gap: 10px; align-items: center; text-decoration: none;
  padding: 9px 10px; border: 1px solid #eef2f8; border-radius: 9px; background: #fbfcfe;
  transition: border-color .2s, background .2s, transform .2s;
}
.as-product:hover { border-color: #c4d8f4; background: #f6f9fe; transform: translateX(2px); }
.asp-logo { flex: none; width: 38px; height: 38px; border-radius: 8px; background: #fff; border: 1px solid #eef2f8; overflow: hidden; }
.asp-logo img { width: 100%; height: 100%; object-fit: contain; }
.asp-body { min-width: 0; display: block; }
.asp-body b { display: block; font-size: 13px; font-weight: 700; color: #33415c; line-height: 1.5; }
.asp-body em {
  display: block; font-style: normal; font-size: 11.5px; color: #d18616; margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.asp-body small { display: block; font-size: 11.5px; color: #98a0aa; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 咨询卡 */
.as-service { background: linear-gradient(150deg, #1b4fa0, #2f8bff); border-color: transparent; }
.as-service .as-title { color: #fff; border-left-color: rgba(255, 255, 255, .7); }
.as-service-txt { margin: 0 0 12px; font-size: 12.5px; color: rgba(255, 255, 255, .85); }
.as-service-btn {
  display: block; text-align: center; padding: 9px 14px; border-radius: 8px;
  background: #fff; color: #1b4fa0; font-size: 13.5px; font-weight: 700; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.as-service-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .4); }

/* 文章不存在 */
.art-missing { text-align: center; padding: 40px 0 20px; }
.art-missing p { color: #8b95a6; font-size: 14.5px; margin: 0 0 20px; text-indent: 0; }
.art-missing .art-cta-btn { background: #0a6cf1; color: #fff; border-color: #0a6cf1; }
.art-missing .art-cta-btn:hover { background: #095ad6; }

/* ============ 响应式 ============ */
@media (max-width: 1000px) {
  .art-layout { grid-template-columns: minmax(0, 1fr); }
  .art-side { position: static; }
  .as-toc-list { max-height: none; }
}
@media (max-width: 820px) {
  .art-main { padding: 22px 20px 26px; border-radius: 12px; }
  .art-title { font-size: 22px; }
  .art-body p, .art-body ul, .art-body ol { font-size: 14.5px; }
  .art-body h2 { font-size: 17.5px; margin-top: 28px; }
  .art-relate-grid { grid-template-columns: 1fr; }
  .art-pager { grid-template-columns: 1fr; }
  .ap-next { text-align: left; }
  .art-cta { padding: 20px; }
  .art-cta-ops { width: 100%; }
  .art-cta-btn { flex: 1; text-align: center; }
}
@media (max-width: 560px) {
  .art-crumb-cur { max-width: 100%; }
  .art-lead { font-size: 13.5px; padding: 13px 15px; }
  .art-body p { text-indent: 2em; font-size: 14.5px; line-height: 1.95; }
}

@media (max-width: 820px) {
  .content { grid-template-columns: 1fr; }
  .content_left { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
  .cl-head { border-bottom: 0; border-right: 1px solid #eee; }
  .cr-top { grid-template-columns: 1fr; }
  .cr-actions { flex-direction: row; flex-wrap: wrap; }
  .cra { flex: 1 1 40%; }
}
@media (max-width: 560px) {
  .content_left { grid-template-columns: 1fr; }
  .cl-head { border-right: 0; }
  .ca-b { font-size: 13px; }
  .ca-fig img { width: 100%; height: auto; }
  .cr-art-body p { font-size: 13px; }
  .cr-art-body figure img { width: 100%; height: auto; }
  .cr-shots img { width: 100%; height: auto; }
}

/* ===== 左下角滚动动态提示 ===== */
.live-feed {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 80;
  width: 268px;
  pointer-events: none;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}
.live-feed__list { display: flex; flex-direction: column; }
.live-feed__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  margin-top: 8px;
  padding: 8px 12px 8px 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 103, 224, .18);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(238, 246, 255, .96));
  box-shadow: 0 10px 28px rgba(22, 68, 130, .14);
  color: #203852;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: liveFeedIn .42s cubic-bezier(.22, .9, .32, 1.2) both;
}
.live-feed__item::before {
  content: "";
  position: absolute;
  left: 0; top: 9px; bottom: 9px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #ffab5e, var(--red));
}
.live-feed__dot {
  position: relative;
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 103, 224, .14);
  animation: liveDotPulse 1.8s ease-in-out infinite;
}
.live-feed__text {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  letter-spacing: .2px;
}
.live-feed__item.is-out { animation: liveFeedOut .36s ease-in forwards; }

@keyframes liveFeedIn {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes liveFeedOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-12px); }
}
@keyframes liveDotPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(0, 103, 224, .14); }
  50% { box-shadow: 0 0 0 7px rgba(0, 103, 224, .03); }
}
@media (max-width: 560px) {
  .live-feed { left: 12px; bottom: 12px; width: min(236px, calc(100vw - 24px)); }
  .live-feed__item { font-size: 11px; min-height: 34px; padding: 7px 10px 7px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .live-feed__item, .live-feed__dot { animation: none !important; }
}

/* ===== 站点大背景轻设计（不满意删除本段即可恢复纯白） ===== */
body, body.detail-page {
  background-color: #f8fafc;
  background-image:
    radial-gradient(760px 420px at 3% -12%, rgba(0, 103, 224, .10), transparent 68%),
    radial-gradient(620px 380px at 97% 2%, rgba(240, 129, 43, .08), transparent 70%),
    radial-gradient(720px 460px at 50% 112%, rgba(17, 115, 214, .05), transparent 72%),
    linear-gradient(180deg, #fbfcfe 0%, #f5f8fd 48%, #f9fbfd 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}
/* 1000px 内容区保持纯白，设计只出现在两侧留白 */
body > .wrap { background: #fff; }

/* ===== 右侧悬浮客服栏 ===== */
.side-service {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 85;
  width: 58px;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 1px solid #dce9f8;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(243,249,255,.96));
  box-shadow: 0 12px 32px rgba(22, 68, 130, .14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}
.ss-head {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 700; letter-spacing: 1px; color: #1173d6;
}
.ss-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #0067E0;
  box-shadow: 0 0 0 4px rgba(0, 103, 224, .14);
}
.ss-btn {
  position: relative;
  width: 44px; min-height: 46px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border: 0; border-radius: 12px;
  background: transparent; color: #1173d6; text-decoration: none;
  cursor: pointer;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.ss-btn:hover { transform: translateX(-2px); background: #eaf3ff; }
.ss-ico {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 8px; background: #eaf3ff;
  font-size: 11px; font-weight: 700; line-height: 1;
}
.ss-label { font-size: 9px; font-weight: 700; line-height: 1.1; }
.ss-primary {
  background: linear-gradient(135deg, #ff9a4d, var(--red));
  color: #fff;
  box-shadow: 0 6px 14px rgba(237, 84, 95, .24);
}
.ss-primary .ss-ico { background: rgba(255,255,255,.92); color: #d9661a; }
.ss-primary:hover { background: linear-gradient(135deg, #ff9a4d, var(--red)); filter: brightness(1.04); }
.ss-tip {
  position: absolute; right: calc(100% + 10px); top: 50%;
  transform: translateY(-50%) translateX(4px);
  padding: 6px 10px; border-radius: 8px;
  background: #203852; color: #fff; font-size: 11px; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.ss-btn:hover .ss-tip { opacity: 1; transform: translateY(-50%) translateX(0); }
.ss-wx .ss-pop {
  position: absolute; right: calc(100% + 10px); top: 50%;
  transform: translateY(-50%) translateX(6px);
  width: 150px; padding: 10px;
  border: 1px solid #dce9f8; border-radius: 12px;
  background: #fff; box-shadow: 0 12px 28px rgba(22, 68, 130, .18);
  text-align: center;
  opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.ss-wx:hover .ss-pop, .ss-wx:focus-within .ss-pop {
  opacity: 1; transform: translateY(-50%) translateX(0);
}
.ss-pop img { width: 110px; height: 110px; object-fit: cover; border-radius: 6px; border: 1px solid #eee; }
.ss-pop b { display: block; margin-top: 7px; font-size: 11px; color: #203852; }
.ss-pop small { display: block; margin-top: 2px; font-size: 10px; color: #8a96a5; }
@media (max-width: 820px) {
  .side-service { right: 8px; width: 48px; padding: 6px 4px; gap: 5px; }
  .ss-btn { width: 38px; min-height: 40px; }
  .ss-ico { width: 23px; height: 23px; }
}
@media (max-width: 560px) {
  .side-service { top: auto; bottom: 14px; transform: none; }
  .ss-head { display: none; }
}

/* 右侧悬浮客服栏不遮挡正文：窄桌面为内容区预留右侧安全边距 */
@media (min-width: 821px) and (max-width: 1151px) {
  .has-side .wrap { max-width: calc(100% - 160px); }
}
@media (min-width: 561px) and (max-width: 820px) {
  .has-side .wrap { max-width: calc(100% - 120px); }
}

/* ============================================================
   在线购买页 checkout.html
   ============================================================ */
.checkout { padding: 22px 0 60px; min-height: 560px; }
.ck-crumb { font-size: 12px; color: var(--ink-3); margin-bottom: 16px; }
.ck-crumb a { color: var(--ink-3); }
.ck-crumb a:hover { color: var(--blue); }
.ck-crumb span { color: var(--ink-2); }
.ck-title { margin: 0 0 22px; font-size: 22px; color: var(--red); font-weight: 700; }
.ck-grid { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
.ck-block { background: #fff; border: 1px solid #ececec; border-radius: 8px; padding: 20px 22px; margin-bottom: 18px; }
.ck-h { margin: 0 0 18px; font-size: 16px; color: var(--ink); font-weight: 700; display: flex; align-items: center; }
.ck-h span { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--red)); color: #fff; font-size: 13px; margin-right: 10px; }
.ck-loading { color: var(--ink-3); font-size: 13px; }

/* 套餐卡：2 个时并排大卡，套餐多时自动收缩成三列网格 */
.pkg-list { display: block; }
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(186px, 1fr)); gap: 12px; }
.pkg-list.pkg-few .pkg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pkg {
  position: relative; display: block; cursor: pointer; border: 2px solid #e6e6e6; border-radius: 10px;
  padding: 14px 14px; background: #fcfdff; transition: border-color .18s, background .18s, transform .18s;
}
.pkg:hover { border-color: #f3b48c; transform: translateY(-1px); }
.pkg.on { border-color: var(--red); background: #fff7f3; box-shadow: 0 4px 14px -8px rgba(237,84,95,.4); }
.pkg.hidden-pkg { display: none; }
.pkg input { position: absolute; opacity: 0; pointer-events: none; }
.pkg-top { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.pkg-name { font-size: 15px; font-weight: 700; color: var(--ink); }
.pkg-duration { font-size: 11.5px; color: var(--ink-3); white-space: nowrap; }
.pkg-price { margin: 8px 0 2px; color: var(--red); font-weight: 700; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.pkg-price b { font-size: 23px; }
.pkg-price s { color: var(--ink-3); font-weight: 400; font-size: 11.5px; }
.pkg-save { font-size: 10.5px; font-weight: 700; color: #16a06a; background: #e9f7ef; border-radius: 4px; padding: 1px 5px; }
.pkg-desc {
  margin: 4px 0 0; font-size: 11.5px; color: var(--ink-2); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pkg-badge { position: absolute; top: -1px; right: -1px; background: var(--red); color: #fff; font-size: 11px; padding: 2px 9px; border-radius: 0 9px 0 9px; }
.pkg-more { margin-top: 14px; text-align: center; }
.pkg-more-btn {
  border: 1px dashed #d8c2b8; background: #fff; color: var(--red); border-radius: 22px;
  padding: 8px 22px; font-size: 13px; cursor: pointer; transition: background .18s, border-color .18s;
}
.pkg-more-btn:hover { background: #fff7f3; border-color: var(--red); }

/* 窄屏：套餐改为单列，便于阅读 */
@media (max-width: 560px) {
  .pkg-grid, .pkg-list.pkg-few .pkg-grid { grid-template-columns: 1fr; }
  .pkg-desc { -webkit-line-clamp: 3; }
}

/* 下单页提示与须知 */
.ck-tip { margin: -6px 0 16px; font-size: 12.5px; color: var(--ink-3); line-height: 1.8; padding: 10px 13px; background: #f4f9ff; border: 1px solid #d8e8fb; border-radius: 8px; }
.ck-tip b { color: var(--blue); }
.ck-rules { margin: 0; padding-left: 20px; font-size: 12.5px; color: var(--ink-2); line-height: 2; }
.ck-rules strong { color: var(--ink); }

/* 表单 */
.ck-field label { display: block; font-size: 13px; color: var(--ink); font-weight: 600; margin-bottom: 8px; }
.ck-field input[type=text] {
  width: 100%; height: 42px; border: 1px solid #dcdcdc; border-radius: 6px; padding: 0 12px;
  font-size: 14px; color: var(--ink); outline: none; transition: border-color .18s, box-shadow .18s;
}
.ck-field input[type=text]:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,103,224,.1); }
.ck-help { margin: 8px 0 0; font-size: 12px; color: var(--ink-3); }

/* 支付方式 */
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-m { position: relative; display: flex; align-items: center; gap: 10px; cursor: pointer; border: 2px solid #e6e6e6; border-radius: 9px; padding: 13px 14px; transition: border-color .18s, background .18s; }
.pay-m:hover { border-color: #bcd3f0; }
.pay-m.on { border-color: var(--blue); background: #f4f9ff; }
.pay-m input { position: absolute; opacity: 0; pointer-events: none; }
.pm-ico { flex: none; width: 34px; height: 34px; border-radius: 8px; color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.pm-wx { background: #16a06a; } .pm-ali { background: #1677ff; }
.pm-txt { display: flex; flex-direction: column; line-height: 1.4; }
.pm-txt b { font-size: 14px; color: var(--ink); }
.pm-txt small { font-size: 11px; color: var(--ink-3); }
.pm-check { margin-left: auto; color: var(--blue); font-weight: 700; opacity: 0; }
.pay-m.on .pm-check { opacity: 1; }

/* 订单摘要 */
.ck-summary { background: #fff; border: 1px solid #ececec; border-radius: 10px; padding: 20px; position: sticky; top: 16px; }
.ck-summary h3 { margin: 0 0 16px; font-size: 16px; color: var(--ink); }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 13px; color: var(--ink-2); border-bottom: 1px dashed #eee; }
.sum-row b { color: var(--ink); text-align: right; font-weight: 600; }
.sum-total { display: flex; align-items: baseline; justify-content: space-between; margin: 14px 0 18px; }
.sum-total span { font-size: 13px; color: var(--ink-2); }
.sum-total b { font-size: 28px; color: var(--red); }
.ck-pay-btn { display: block; width: 100%; border: 0; border-radius: 8px; padding: 13px; background: linear-gradient(135deg, var(--orange), var(--red)); color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; text-align: center; text-decoration: none; transition: filter .18s; }
.ck-pay-btn:hover:not(:disabled) { filter: brightness(1.06); }
.ck-pay-btn:disabled { background: #c9cdd4; cursor: not-allowed; }
.ck-secure { margin: 12px 0 0; font-size: 11px; color: var(--ink-3); text-align: center; line-height: 1.6; }

/* 支付弹层 */
.pay-modal { position: fixed; inset: 0; background: rgba(15,25,40,.55); display: none; align-items: center; justify-content: center; z-index: 300; padding: 20px; backdrop-filter: blur(3px); }
.pay-modal.show { display: flex; }
.pm-box { position: relative; width: 100%; max-width: 380px; background: #fff; border-radius: 14px; padding: 30px 26px 26px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.2); }
.pm-close { position: absolute; right: 12px; top: 10px; border: 0; background: none; font-size: 24px; color: var(--ink-3); cursor: pointer; line-height: 1; }
.pm-box h3 { margin: 0 0 18px; font-size: 18px; color: var(--ink); }
.pm-qr { width: 200px; height: 200px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; border: 1px solid #eee; border-radius: 8px; background: #fff; min-height: 200px; }
.pm-amount { margin: 0 0 8px; font-size: 14px; color: var(--ink-2); }
.pm-amount b { color: var(--red); font-size: 20px; }
.pm-status { margin: 0; font-size: 12px; color: var(--ink-3); }
.pm-mock { margin-top: 16px; }
.done-ico { width: 56px; height: 56px; border-radius: 50%; background: #eaf7f0; color: #16a06a; font-size: 30px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.pm-done p { font-size: 13px; color: var(--ink-2); line-height: 1.7; }
.code-box { background: #f4f9ff; border: 1px dashed #bcd3f0; border-radius: 8px; padding: 12px; margin: 14px 0; }
.code-box span { display: block; font-size: 12px; color: var(--ink-3); margin-bottom: 6px; }
.code-box code { display: block; font-size: 17px; color: var(--blue); font-weight: 700; word-break: break-all; }
.code-box button { margin-top: 9px; border: 1px solid var(--blue); background: #fff; color: var(--blue); border-radius: 5px; padding: 5px 16px; cursor: pointer; font-size: 12px; }

@media (max-width: 820px) {
  .ck-grid { grid-template-columns: 1fr; }
  .ck-summary { position: static; }
}
@media (max-width: 560px) {
  .checkout { padding: 16px 0 40px; }
  .ck-title { font-size: 19px; }
  .ck-block { padding: 16px; }
  .pkg-list, .pay-methods { grid-template-columns: 1fr; }
  .ck-h { font-size: 15px; }
}

/* ============================================================
   用户登录 / 注册 / 我的订单
   ============================================================ */
.nav-acct a { color: #ffd9a8; }
.nav-acct a:hover { color: #fff; }

/* 登录门 */
.ck-login-gate {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  background: linear-gradient(135deg, #fff8ec, #fff4e8);
  border: 1px solid #f3dfb8; border-radius: 8px; padding: 12px 16px;
  font-size: 13px; color: #9a6a20; margin-bottom: 16px;
}
.ck-login-gate a { font-weight: 700; color: #d9661a; }
.ck-login-gate a:hover { text-decoration: underline; }
.ck-back { display: inline-block; margin-top: 10px; color: var(--ink-3); font-size: 12px; }
.ck-back:hover { color: var(--blue); }

/* 登录 / 注册页 */
.auth-page { background: var(--foot); min-height: 100vh; }
.auth-wrap { padding: 48px 0 70px; display: flex; justify-content: center; }
.auth-card {
  width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 32px 34px 26px; box-shadow: 0 10px 36px rgba(20,60,120,.07);
}
.auth-head { text-align: center; margin-bottom: 22px; }
.auth-head h1 { margin: 0 0 8px; font-size: 22px; color: var(--red); }
.auth-head p { margin: 0; font-size: 12.5px; color: var(--ink-3); }
.auth-tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.auth-tabs button {
  flex: 1; border: 0; background: none; padding: 11px 0; cursor: pointer;
  font-size: 14px; font-weight: 700; color: var(--ink-3);
  border-bottom: 3px solid transparent;
}
.auth-tabs button.on { color: var(--blue); border-bottom-color: var(--blue); }
.auth-field { margin-bottom: 14px; }
.auth-field label { display: block; font-size: 12.5px; color: var(--ink-2); margin-bottom: 6px; font-weight: 600; }
.auth-field input {
  width: 100%; height: 40px; border: 1px solid #d8dee7; border-radius: 7px;
  padding: 0 12px; font-size: 13.5px; font-family: inherit; background: #fbfdff;
}
.auth-field input:focus { outline: none; border-color: var(--blue); background: #fff; }
.auth-err { min-height: 18px; margin: 2px 0 10px; font-size: 12.5px; color: var(--red); }
.auth-submit {
  width: 100%; height: 42px; border: 0; border-radius: 7px; cursor: pointer;
  color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .1em;
  background: linear-gradient(135deg, #1173d6, #0757b4);
}
.auth-submit.reg { background: linear-gradient(135deg, var(--orange), var(--red)); }
.auth-submit:hover { filter: brightness(1.06); }
.auth-foot { margin: 20px 0 0; text-align: center; font-size: 12px; color: var(--ink-3); }
.auth-foot a { color: var(--blue); }

/* 我的订单 */
.orders-page { background: var(--foot); min-height: 100vh; }
.orders-wrap { padding: 26px 0 70px; }
.orders-head { margin: 18px 0 22px; }
.orders-head h1 { margin: 0 0 6px; font-size: 22px; color: var(--red); }
.acct-line { margin: 0; font-size: 12.5px; color: var(--ink-3); }
.acct-line a { color: var(--blue); }
.acct-line b { color: var(--ink-2); }
.orders-list { display: flex; flex-direction: column; gap: 14px; }
.ord-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; }
.ord-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ord-top b { font-size: 15px; color: var(--ink); }
.ord-pkg { margin-left: 10px; font-size: 12px; color: var(--ink-3); }
.ord-status { flex: none; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 12px; }
.s-pending { background: #fff3e0; color: #d9822b; }
.s-paid { background: #e7f0ff; color: #0a6cf1; }
.s-delivered { background: #e9f7ef; color: #16a06a; }
.s-closed { background: #f0f1f3; color: #8b919a; }
.ord-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; font-size: 12px; color: var(--ink-3); }
.ord-meta code { font-family: monospace; color: var(--ink-2); }
.ord-meta b { color: var(--red); }
.ord-code { margin-top: 14px; background: #f4f9ff; border: 1px dashed #bcd3f0; border-radius: 8px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ord-code span { font-size: 12px; color: var(--ink-3); }
.ord-code code { font-size: 15px; font-weight: 700; color: var(--blue); word-break: break-all; }
.ord-code button { border: 1px solid var(--blue); background: #fff; color: var(--blue); border-radius: 5px; padding: 4px 12px; cursor: pointer; font-size: 12px; }
.ord-tip { margin-top: 12px; font-size: 12px; color: var(--ink-3); }
.orders-empty { background: #fff; border: 1px dashed var(--line); border-radius: 10px; padding: 50px 20px; text-align: center; color: var(--ink-3); }
.orders-empty p { margin: 0 0 12px; font-size: 15px; }
.orders-empty a { color: var(--blue); font-weight: 700; }

@media (max-width: 560px) {
  .auth-wrap { padding: 24px 0 50px; }
  .auth-card { padding: 24px 20px 20px; }
  .orders-wrap { padding: 18px 0 50px; }
  .ord-meta { gap: 6px 14px; }
}

/* 我的订单页顶部提示 */
.orders-note {
  margin-top: 10px; padding: 11px 14px; border-radius: 9px;
  background: linear-gradient(135deg, #eaf3ff, #f4f9ff); border: 1px solid #d5e6fb;
  font-size: 12.5px; color: #3a5f96; line-height: 1.8;
}
.orders-note b { color: var(--blue); }

/* 注册页补充说明 */
.auth-opt { font-size: 11px; color: var(--ink-3); font-weight: 400; margin-left: 4px; }
.auth-note { margin: 12px 0 0; font-size: 11.5px; color: var(--ink-3); text-align: center; line-height: 1.7; }

/* ============================================================
   内容更新提示条（后台保存后，前台已打开的页面提示刷新）
   ============================================================ */
.yk-update-bar{position:fixed;left:50%;bottom:26px;transform:translateX(-50%);z-index:9999;
  display:flex;align-items:center;gap:14px;background:#1b2b44;color:#fff;
  border-radius:10px;padding:11px 14px 11px 18px;box-shadow:0 10px 30px rgba(10,30,60,.28);
  font-size:13px;animation:ykUp .25s ease;}
.yk-update-bar a{color:#7db8ff;font-weight:600;text-decoration:none;white-space:nowrap;}
.yk-update-bar a:hover{text-decoration:underline;}
.yk-update-bar button{border:0;background:none;color:#9fb2cc;font-size:19px;cursor:pointer;line-height:1;padding:0 2px;}
.yk-update-bar button:hover{color:#fff;}
@keyframes ykUp{from{opacity:0;transform:translate(-50%,14px);}to{opacity:1;transform:translate(-50%,0);}}
@media(max-width:560px){
  .yk-update-bar{left:12px;right:12px;bottom:14px;transform:none;flex-wrap:wrap;}
  @keyframes ykUp{from{opacity:0;transform:translateY(14px);}to{opacity:1;transform:translateY(0);}}
}

/* ---- 内容同步诊断角标（低调，不遮挡正文；仅在点击后展开） ---- */
#ykDiag{position:fixed;right:16px;bottom:16px;z-index:2147483000;font-family:inherit;}
#ykDiagFab{width:34px;height:34px;border-radius:50%;border:1px solid #cfe3d4;background:#f2fbf5;color:#2f8a4e;
  font-size:16px;line-height:1;cursor:pointer;box-shadow:0 4px 14px rgba(20,60,40,.14);transition:transform .18s,background .18s;}
#ykDiagFab:hover{transform:scale(1.08);background:#e7f7ee;}
#ykDiag.abnormal #ykDiagFab{border-color:#f0cf9a;background:#fff6e8;color:#c47a12;}
#ykDiagPanel{position:absolute;right:0;bottom:44px;width:320px;max-width:calc(100vw - 32px);
  background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 16px 40px -18px rgba(18,42,74,.42);
  overflow:hidden;font-size:12.5px;color:#243044;}
.ykd-h{display:flex;align-items:center;justify-content:space-between;padding:11px 14px;background:#f7f9fc;border-bottom:1px solid #edf1f6;}
.ykd-h b{font-size:13.5px;color:#1b2a44;}
.ykd-h button{border:0;background:none;font-size:19px;line-height:1;color:#8b95a5;cursor:pointer;padding:0 2px;}
.ykd-h button:hover{color:#333;}
.ykd-b{padding:12px 14px;}
.ykd-row{display:flex;gap:8px;align-items:flex-start;margin-bottom:8px;line-height:1.6;}
.ykd-row>span{flex:none;width:62px;color:#7a8698;}
.ykd-row>b{font-weight:600;color:#1b2a44;}
.ykd-row>code{font-family:Consolas,Monaco,monospace;font-size:11px;word-break:break-all;color:#2f6bdd;background:#f0f5fd;padding:1px 5px;border-radius:4px;}
.ykd-sub{margin-top:10px;padding-top:9px;border-top:1px dashed #e6ecf3;color:#6b7789;line-height:1.6;}
.ykd-warn{margin-top:10px;padding:9px 11px;background:#fff7ea;border:1px solid #f5dfb8;border-radius:8px;color:#935d0d;line-height:1.85;}
.ykd-warn code{font-family:Consolas,Monaco,monospace;background:#ffedcf;padding:1px 4px;border-radius:3px;}
.ykd-err{color:#c0392b;margin:0;}
@media(max-width:560px){#ykDiag{right:10px;bottom:10px;}#ykDiagPanel{width:290px;}}

/* ---- 无障碍：键盘焦点可见 ---- */
:focus-visible {
  outline: 2px solid #2f6bdd;
  outline-offset: 2px;
  border-radius: 3px;
}
.nav a:focus-visible, .nav button:focus-visible { outline-color: #ffd166; }
.qa-li:focus-visible, .qa-li a:focus-visible { outline-color: #2f6bdd; }
.sr-only:focus { position: static; width: auto; height: auto; }
