/* 官网首页改版：主打电脑自动化（2026-11-22，用户在线程里同意上线）。类名一律 ah- 开头。
   首页（.client-story）原有版块保留在页面里但隐藏，只显示 .ah-root；其它路由（软件广场、详情、自动化软件、帮助）不受影响。 */
.client-story.ah-on>:not(.ah-root){display:none!important}
.client-story.ah-on{display:block;max-width:none;margin:0;padding:0}
.ah-root{--ah-ink:#14201c;--ah-ink2:#2b3934;--ah-muted:#5d6b66;--ah-faint:#7d8a85;--ah-line:#e4e9e6;--ah-paper:#f5f7f6;--ah-green:#0e9f74;--ah-green-d:#0a7d5b;
  color:var(--ah-ink);font-size:16px;line-height:1.7;overflow-x:clip}
.ah-root *,.ah-root *::before,.ah-root *::after{box-sizing:border-box}
.ah-root img{display:block;max-width:100%;height:auto}
.ah-root h1,.ah-root h2,.ah-root h3,.ah-root p,.ah-root ol,.ah-root ul,.ah-root figure{margin:0}
.ah-wrap{width:min(1200px,calc(100% - 48px));margin:0 auto}
.ah-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:48px;padding:0 24px;border-radius:10px;font-size:16px;font-weight:600;white-space:nowrap;text-decoration:none;transition:background .15s,border-color .15s,color .15s}
.ah-btn-primary{background:var(--ah-green);color:#fff}
.ah-btn-primary:hover{background:var(--ah-green-d);color:#fff}
.ah-btn-lg{height:64px;padding:0 44px;border-radius:14px;font-size:20px;gap:12px;box-shadow:0 14px 30px -12px rgba(14,159,116,.55)}
.ah-btn-lg svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ah-btn-lg:hover{box-shadow:0 16px 34px -12px rgba(10,125,91,.6)}
.ah-btn-line{border:1px solid #cfd8d4;background:#fff;color:var(--ah-ink)}
.ah-btn-line:hover{border-color:var(--ah-green);color:var(--ah-green-d)}
.ah-btn:focus-visible,.ah-link:focus-visible,.ah-apps button:focus-visible,.ah-cats a:focus-visible{outline:2px solid var(--ah-green);outline-offset:3px}
.ah-link{color:var(--ah-green-d);font-weight:600;text-decoration:none}
.ah-link:hover{text-decoration:underline}
.ah-kicker{font-size:14px;font-weight:600;color:var(--ah-green-d);letter-spacing:.04em;margin-bottom:12px!important}
.ah-root h2{font-size:36px;line-height:1.3;font-weight:700;letter-spacing:.01em}
.ah-sub{color:var(--ah-muted);font-size:17px;margin-top:14px!important;max-width:660px}

/* 首屏 */
.ah-hero{background:
  radial-gradient(720px 420px at 92% 4%,#ffe8ef 0%,rgba(255,232,239,0) 64%),
  radial-gradient(640px 480px at 6% 100%,#e2f5ec 0%,rgba(226,245,236,0) 62%),
  linear-gradient(180deg,#fffdfb,#f7fbf9);border-bottom:1px solid #eef1f0}
.ah-hero .ah-wrap{display:grid;grid-template-columns:1fr 1.08fr;gap:56px;align-items:center;padding:68px 0 88px}
.ah-hero h1{font-size:52px;line-height:1.22;font-weight:800;letter-spacing:.01em;color:var(--ah-ink)}
.ah-hero h1 span{color:var(--ah-green)}
.ah-hero h1.ah-claim{font-size:min(56px,4.6vw);line-height:1.18;letter-spacing:.02em}
.ah-hero h1.ah-claim span{display:inline-block;margin-top:6px;white-space:nowrap}
.ah-lead{font-size:18px;color:var(--ah-muted);margin-top:22px!important;max-width:500px}
.ah-cta{display:flex;flex-wrap:wrap;gap:14px;margin-top:34px}
.ah-meta{margin-top:18px!important;font-size:14px;color:var(--ah-faint)}
.ah-meta b{color:var(--ah-green-d);font-weight:600}
.ah-pic{position:relative;margin:0 26px 30px 0!important}
.ah-photo{width:100%;aspect-ratio:5/4;object-fit:cover;object-position:28% 30%;border-radius:20px;box-shadow:0 30px 60px -24px rgba(20,40,60,.35)}
.ah-win{border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 26px 50px -16px rgba(20,40,60,.40),0 0 0 1px rgba(20,40,60,.08)}
.ah-win-bar{display:flex;align-items:center;gap:6px;height:26px;padding:0 12px;background:#f4f6f8;border-bottom:1px solid #e9edf0;font-size:12px;color:var(--ah-faint)}
.ah-win-bar i{width:8px;height:8px;border-radius:50%;background:#d5dbe0}
.ah-win-bar b{margin-left:6px;font-weight:500}
.ah-pic .ah-win{position:absolute;width:72%;right:-26px;bottom:-30px}

/* 客户端亮点：左边功能、右边真实界面/录屏 */
.ah-tour{padding:88px 0 84px;background:#fff}
.ah-tour-body{display:grid;grid-template-columns:330px 1fr;gap:48px;margin-top:44px;align-items:start}
.ah-feats{list-style:none;padding:0!important;border-top:1px solid var(--ah-line)}
.ah-feats li{border-bottom:1px solid var(--ah-line)}
.ah-feats button,.ah-soon{appearance:none;display:block;width:100%;margin:0;padding:14px 14px 14px 16px;border:0;border-left:3px solid transparent;background:none;font:inherit;color:inherit;text-align:left}
.ah-feats button{cursor:pointer;transition:background .15s}
.ah-feats button:hover{background:var(--ah-paper)}
.ah-feats button.on{background:var(--ah-paper);border-left-color:var(--ah-green)}
.ah-feats button:focus-visible{outline:2px solid var(--ah-green);outline-offset:-2px}
.ah-feats strong{display:block;font-size:16px}
.ah-feats span{display:block;font-size:14px;color:var(--ah-muted);line-height:1.5}
.ah-feats span{display:none}
.ah-soon{color:var(--ah-faint)}
.ah-soon span{display:none!important}
.ah-soon em{font-style:normal;font-size:12px;font-weight:500;margin-left:8px;padding:1px 8px;border-radius:999px;background:#f0f3f2;color:var(--ah-muted)}
.ah-tour-stage .ah-win{box-shadow:0 34px 70px -30px rgba(20,40,60,.35),0 0 0 1px rgba(20,40,60,.08)}
.ah-tour-view{position:relative;aspect-ratio:1200/794;background:#f6f8fa}
.ah-tour-view img,.ah-tour-view video{position:absolute;inset:0;width:100%;height:100%!important;object-fit:contain;object-position:center top;background:#fff}
.ah-tour-cap{margin-top:18px!important;color:var(--ah-muted);font-size:15px}

/* 自动化软件页（#automation）的搜索框 */
.ah-xs{display:flex;align-items:center;gap:10px;max-width:640px;height:52px;margin:0 0 22px;padding:0 6px 0 16px;border:1px solid #d6e0eb;border-radius:14px;background:#fff}
.ah-xs:focus-within{border-color:#245eea;box-shadow:0 0 0 3px rgba(36,94,234,.12)}
.ah-xs svg{flex:none;width:20px;height:20px;fill:none;stroke:#7b8794;stroke-width:2;stroke-linecap:round}
.ah-xs input{flex:1;min-width:0;height:100%;border:0;outline:0;background:none;font:inherit;font-size:15px;color:#1f2a37}
.ah-xs input::-webkit-search-cancel-button{cursor:pointer}
.ah-xs button{flex:none;height:40px;padding:0 18px;border:0;border-radius:10px;background:#eef3ff;color:#245eea;font:inherit;font-weight:600;cursor:pointer}
.ah-xs button:hover{background:#e1eaff}
.ah-xs-none{margin:8px 0 0;color:#667085;font-size:15px}
.ah-xs-none a{color:#245eea}

/* 小欣键鼠 */
.ah-km{padding:88px 0 84px;background:#fff}
.ah-km-head{display:flex;justify-content:space-between;align-items:flex-end;gap:40px}
.ah-km-acts{display:flex;gap:12px;flex:none}
.ah-km-shot{margin-top:48px}
.ah-km-shot .ah-win{box-shadow:0 40px 80px -30px rgba(20,40,60,.35),0 0 0 1px rgba(20,40,60,.08)}
.ah-points{display:grid;grid-template-columns:repeat(3,1fr);gap:48px;margin-top:48px}
.ah-points div{padding-top:18px;border-top:2px solid var(--ah-ink)}
.ah-points h3{font-size:18px;margin-bottom:6px!important}
.ah-points p{color:var(--ah-muted);font-size:15px}
.ah-km-note{margin-top:40px!important;padding-top:22px;border-top:1px solid var(--ah-line);display:flex;flex-wrap:wrap;gap:8px 28px;font-size:15px;color:var(--ah-muted)}

/* 自动化软件 */
.ah-shelf{padding:84px 0;background:var(--ah-paper);border-top:1px solid var(--ah-line);border-bottom:1px solid var(--ah-line)}
.ah-shelf-body{display:grid;grid-template-columns:330px 1fr;gap:48px;margin-top:44px;align-items:start}
.ah-apps{list-style:none;padding:0!important;border-top:1px solid var(--ah-line)}
.ah-apps li{border-bottom:1px solid var(--ah-line)}
.ah-apps button{appearance:none;display:block;width:100%;margin:0;padding:14px 14px 14px 16px;border:0;border-left:3px solid transparent;background:none;font:inherit;color:inherit;text-align:left;cursor:pointer;transition:background .15s}
.ah-apps button:hover{background:#fff}
.ah-apps button.on{background:#fff;border-left-color:var(--ah-green)}
.ah-apps strong{display:block;font-size:16px}
.ah-apps span{display:block;font-size:14px;color:var(--ah-muted);line-height:1.5}
.ah-apps em{font-style:normal;font-size:12px;color:var(--ah-faint);margin-left:8px;font-weight:400}
.ah-view{position:relative;aspect-ratio:3/2;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 30px 60px -26px rgba(20,40,60,.30),0 0 0 1px rgba(20,40,60,.08)}
.ah-view img{position:absolute;inset:0;width:100%;height:100%!important;object-fit:contain;object-position:center top}
.ah-stage-cap{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:20px}
.ah-stage-cap p{color:var(--ah-muted);font-size:15px}

/* 开始用 */
.ah-start{padding:84px 0;background:#fff}
.ah-steps{display:grid;grid-template-columns:repeat(3,1fr);margin-top:44px!important;padding:0!important;counter-reset:ah;border-top:1px solid var(--ah-line)}
.ah-steps li{list-style:none;padding:26px 32px 0 0}
.ah-steps li::before{counter-increment:ah;content:"0" counter(ah);display:block;font-size:14px;font-weight:700;color:var(--ah-green-d);margin-bottom:8px}
.ah-steps h3{font-size:18px;margin-bottom:6px!important}
.ah-steps p{color:var(--ah-muted);font-size:15px}

/* 顺手好用 */
.ah-daily{padding:84px 0;background:var(--ah-paper);border-top:1px solid var(--ah-line)}
.ah-daily-body{display:grid;grid-template-columns:1.05fr 1fr;gap:56px;margin-top:44px;align-items:start}
.ah-ba{position:relative;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 24px 50px -24px rgba(20,40,60,.35)}
.ah-ba img{width:100%;aspect-ratio:1120/750;object-fit:cover;object-position:top center}
.ah-ba figcaption{position:absolute;left:14px;bottom:14px;padding:5px 12px;border-radius:999px;background:rgba(20,32,28,.72);color:#fff;font-size:13px}
.ah-cats>div{display:grid;grid-template-columns:96px 1fr;gap:16px;padding:16px 0;border-bottom:1px solid var(--ah-line)}
.ah-cats>div:first-child{padding-top:0}
.ah-cats h3{font-size:15px;line-height:1.9}
.ah-cats p{font-size:15px;line-height:1.9;color:var(--ah-ink2);display:flex;flex-wrap:wrap;gap:0 20px}
.ah-cats a{color:inherit;text-decoration:none}
.ah-cats a:hover{color:var(--ah-green-d)}
.ah-daily-foot{margin-top:28px!important;font-size:15px;color:var(--ah-muted)}

/* 小欣相册展示 */
.ah-album{display:grid;grid-template-columns:330px 1fr;gap:48px;align-items:center;margin-top:64px;padding-top:56px;border-top:1px solid var(--ah-line)}
.ah-album h3{font-size:26px;line-height:1.35;margin-bottom:12px!important}
.ah-album-desc{color:var(--ah-muted);font-size:15px;min-height:4.8em}
.ah-album-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 20px}
.ah-album-tabs button{appearance:none;padding:6px 14px;border:1px solid var(--ah-line);border-radius:999px;background:#fff;font:inherit;font-size:14px;color:var(--ah-ink2);cursor:pointer}
.ah-album-tabs button:hover{border-color:var(--ah-green)}
.ah-album-tabs button.on{border-color:var(--ah-green);color:var(--ah-green-d);font-weight:600}
.ah-album-tabs button:focus-visible{outline:2px solid var(--ah-green);outline-offset:2px}
.ah-album-shot{margin:0!important;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 30px 60px -26px rgba(20,40,60,.35),0 0 0 1px rgba(20,40,60,.08)}
.ah-album-shot img{width:100%;aspect-ratio:1240/800;object-fit:cover}
@media (max-width:980px){.ah-album{grid-template-columns:1fr;gap:28px}.ah-album-desc{min-height:0}}
@media (max-width:600px){.ah-album{margin-top:44px;padding-top:40px}.ah-album h3{font-size:22px}}

/* 结尾 */
.ah-end{padding:84px 0 88px;text-align:center;background:#fff}
.ah-end h2{font-size:32px}
.ah-end .ah-sub{margin-left:auto;margin-right:auto}
.ah-end .ah-cta{justify-content:center}

/* 顶部“找小欣键鼠”横条：换成和新首页一致的克制样式（内容和链接不变） */
.kmg-bar{background:#14201c}
.kmg-bar::after{display:none}
.kmg-go{color:#14201c;box-shadow:none}
.kmg-go:hover{transform:none;box-shadow:none;background:#e7f6f0}

@media (max-width:980px){
  .ah-hero .ah-wrap{grid-template-columns:1fr;gap:44px;padding:44px 0 64px}
  .ah-hero h1{font-size:40px}
  .ah-hero h1.ah-claim{font-size:46px}
  .ah-pic{margin:0 14px 24px 0!important}
  .ah-km-head{flex-direction:column;align-items:flex-start}
  .ah-points{grid-template-columns:1fr;gap:26px}
  .ah-shelf-body,.ah-tour-body{grid-template-columns:1fr}
  .ah-daily-body{grid-template-columns:1fr;gap:40px}
}
@media (max-width:600px){
  .ah-wrap{width:calc(100% - 32px)}
  .ah-root h2{font-size:28px}
  .ah-hero h1{font-size:34px}
  .ah-hero h1.ah-claim{font-size:36px}
  .ah-lead{font-size:16px}
  .ah-cta .ah-btn{flex:1 1 100%}
  .ah-btn-lg{height:58px;font-size:18px;padding:0 24px}
  .ah-pic .ah-win{width:66%;right:-14px;bottom:-24px}
  .ah-km,.ah-shelf,.ah-start,.ah-daily,.ah-end,.ah-tour{padding:64px 0}
  .ah-feats{display:flex;overflow-x:auto;border:0;gap:8px;padding-bottom:6px!important;scrollbar-width:none}
  .ah-feats li{border:0;flex:none}
  .ah-feats button,.ah-soon{padding:8px 14px;border:1px solid var(--ah-line);border-radius:999px;background:#fff}
  .ah-feats button.on{border-color:var(--ah-green);color:var(--ah-green-d);background:#fff}
  .ah-feats span{display:none!important}
  .ah-feats strong{font-size:14px}
  .ah-xs{height:48px}
  .ah-xs button{display:none}
  .ah-km-acts{width:100%}
  .ah-km-acts .ah-btn{flex:1;padding:0 12px}
  .ah-apps{display:flex;overflow-x:auto;border:0;gap:8px;padding-bottom:6px!important;scrollbar-width:none}
  .ah-apps li{border:0;flex:none}
  .ah-apps button{padding:8px 14px;border:1px solid var(--ah-line);border-radius:999px;background:#fff}
  .ah-apps button.on{border-color:var(--ah-green);color:var(--ah-green-d)}
  .ah-apps span,.ah-apps em{display:none}
  .ah-apps strong{font-size:14px}
  .ah-stage-cap{flex-direction:column;align-items:flex-start}
  .ah-steps{grid-template-columns:1fr}
  .ah-steps li{padding-right:0}
  .ah-cats>div{grid-template-columns:1fr;gap:4px}
}
@media (prefers-reduced-motion:reduce){.ah-root *{transition:none!important}}

/* 11-24 首屏两款主推软件并排（小欣键鼠自动化软件 / 小欣软件管家） */
.ah-hero h1.ah-claim{font-size:min(50px,3.9vw)}
.ah-hero .ah-lead{max-width:600px;text-wrap:balance}
.ah-hero .ah-wrap:has(.ah-pick){grid-template-columns:1.15fr .85fr;gap:48px}
.ah-pick{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:28px}
.ah-pick-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--ah-line,#e4e9e6);border-radius:16px;padding:18px 18px 16px;box-shadow:0 12px 28px -20px rgba(20,40,60,.35)}
.ah-pick-card h2{margin:0 0 6px;font-size:19px;line-height:1.35;font-weight:700;color:var(--ah-ink)}
.ah-pick-card p{margin:0 0 14px;font-size:14px;line-height:1.7;color:var(--ah-muted);flex:1}
.ah-pick-acts{display:flex;align-items:center;gap:12px;flex-wrap:nowrap}
.ah-pick-acts .ah-btn{height:42px;padding:0 16px;font-size:15px;gap:6px}
.ah-pick-acts .ah-btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ah-pick-acts .ah-link{font-size:14px;white-space:nowrap}
.ah-pick-tip{margin-top:14px!important;font-size:14px;line-height:1.7;color:var(--ah-muted);max-width:600px}
.ah-pick-tip b{color:var(--ah-green-d);font-weight:600;margin-right:4px}
.ah-end .ah-btn-km{box-shadow:none}
@media (max-width:1080px){.ah-hero h1.ah-claim{font-size:44px}.ah-hero .ah-wrap:has(.ah-pick){grid-template-columns:1fr}}
@media (max-width:640px){
  .ah-hero h1.ah-claim{font-size:30px}
  .ah-hero h1.ah-claim span{white-space:normal}
  .ah-pick{grid-template-columns:1fr}
  .ah-pick-acts .ah-btn{flex:1 1 auto}
  .ah-end .ah-btn-km{font-size:16px}
}
/* 11-24 首屏大图上两款软件各一张真实界面，带名字小标签 */
.ah-pic .ah-win-km{width:52%;right:-26px;top:-24px;bottom:auto}
.ah-pic .ah-win-hub{width:66%;right:-26px;bottom:-30px}
.ah-win-tag{position:absolute;left:8px;top:8px;z-index:1;padding:3px 10px;border-radius:999px;background:#14201c;color:#fff;font-size:12px;font-weight:600;line-height:1.5;white-space:nowrap;box-shadow:0 6px 14px -6px rgba(0,0,0,.4)}
.ah-win-hub .ah-win-tag{background:#0e9f74}
@media (max-width:640px){
  .ah-pic .ah-win-km{width:56%;right:-14px;top:-16px}
  .ah-pic .ah-win-hub{width:64%;right:-14px;bottom:-24px}
  .ah-win-tag{font-size:11px;padding:2px 8px;top:6px;left:6px}
}

/* 11-24 顶栏“免费下载”展开两款 */
.header-actions.ah-hdl-on>a[data-client-download]{display:none!important}
.ah-hdl{position:relative;flex:none}
.ah-hdl-btn{display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 14px;border:0;border-radius:10px;background:#0e9f74;color:#fff;font:600 15px/1 inherit;font-family:inherit;cursor:pointer;white-space:nowrap}
.ah-hdl-btn:hover,.ah-hdl.on .ah-hdl-btn{background:#0a7d5b}
.ah-hdl-btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ah-hdl-btn i{width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);margin-left:2px;transition:transform .15s}
.ah-hdl.on .ah-hdl-btn i{transform:translateY(2px) rotate(-135deg)}
.ah-hdl-btn:focus-visible,.ah-hdl-item:focus-visible{outline:2px solid #0e9f74;outline-offset:3px}
.ah-hdl-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:60;width:320px;max-width:calc(100vw - 24px);padding:8px;background:#fff;border:1px solid #e4e9e6;border-radius:14px;box-shadow:0 20px 40px -16px rgba(20,40,60,.35)}
.ah-hdl-menu[hidden]{display:none}
.ah-hdl-s{display:none}
.ah-hdl-item{display:block;padding:10px 12px;border-radius:10px;color:#14201c;text-decoration:none}
.ah-hdl-item+.ah-hdl-item{margin-top:4px}
.ah-hdl-item:hover{background:#f0f7f4}
.ah-hdl-item strong{display:block;font-size:15px;font-weight:700}
.ah-hdl-item span{display:block;margin-top:2px;font-size:13px;line-height:1.55;color:#5d6b66}
@media (max-width:640px){
  .ah-hdl-btn{height:36px;padding:0 10px;font-size:14px;gap:4px}
  .ah-hdl-btn svg{display:none}
  .ah-hdl-l{display:none}
  .ah-hdl-s{display:inline}
  .ah-hdl-menu{position:fixed;left:12px;right:12px;top:auto;width:auto;max-width:none;margin-top:8px}
}

/* 11-24 软件广场不显示“全部软件”分类（搜索照样搜全部） */
.ah-noall .chip[data-category="全部软件"]{display:none}