/* Won Tech 全局页头（各产品官网共用同一份样式，每个站点各拷一份，兼容严格 CSP）
   五个官网里的位置、字体、字号、间距完全一致：固定 64px 高，内容区 1080px 居中，
   Logo 在左、产品导航在正中、语言 / 主题在右。页脚（.wonfoot）同理，各站共用同一份。背景透明，直接用所在页面的底色。
   各站只允许改两个变量：--wb-ink（文字颜色，深色模式下自动变浅）与 --wb-acc（当前项小圆点）。
   页头在页面顶部显示；向下滚动离开后，才出现各站自己的导航（html.wb-top 由 wonbar.js 维护）。 */
.wonbar { --wb-h: 64px; position: relative; z-index: 80; height: var(--wb-h); background: transparent; color: var(--wb-ink, #1d1d1f); }
.wonbar, .wonbar * { box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", Roboto, "Helvetica Neue", Arial, sans-serif !important; letter-spacing: normal !important; text-transform: none !important; }
.wonbar { font-size: 14px !important; font-weight: 500 !important; line-height: 1 !important; -webkit-font-smoothing: antialiased; }
.wonbar a { color: inherit; text-decoration: none; background: none; }
.wonbar ul, .wonbar li { margin: 0; padding: 0; list-style: none; }
.wonbar.over { position: absolute; top: 0; left: 0; right: 0; }
.wonbar-in { width: min(1080px, 100% - 48px); height: 100%; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; }
.wonbar .wb-logo { justify-self: start; display: inline-flex; align-items: center; height: 100%; color: var(--wb-ink, #1d1d1f); transition: opacity .15s; }
.wonbar .wb-logo:hover { opacity: .7; }
.wonbar .wb-word { display: block; height: 20px; width: auto; }
.wonbar .wb-list { display: flex; align-items: center; justify-content: center; gap: 0; min-width: 0; }
.wonbar .wb-it { position: relative; display: inline-flex; align-items: center; height: 32px; padding: 0 21px; border-radius: 999px; white-space: nowrap; font-size: 14px !important; font-weight: 500 !important; color: var(--wb-ink, #1d1d1f); transition: background .15s; }
.wonbar .wb-it:hover { background: color-mix(in srgb, var(--wb-ink, #1d1d1f) 8%, transparent); }
.wonbar .wb-it[aria-current="page"] { -webkit-text-stroke: .5px currentColor; }
.wonbar .wb-it[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--wb-acc, #2563eb); }
.wonbar .wb-end { justify-self: end; display: flex; flex-direction: row-reverse; align-items: center; gap: 12px; }
.wonbar .wb-lang { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 9px; border-radius: 999px; color: var(--wb-ink, #1d1d1f); font-size: 13.5px !important; font-weight: 600 !important; transition: background .15s; }
.wonbar .wb-lang[hidden] { display: none; }
.wonbar .wb-lang svg, .wonbar .wb-theme svg { width: 17px; height: 17px; display: block; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wonbar .wb-theme { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; padding: 0; border: 0; background: none; color: var(--wb-ink, #1d1d1f); cursor: pointer; transition: background .15s; }
.wonbar .wb-theme svg { width: 18px; height: 18px; }
.wonbar .wb-lang:hover, .wonbar .wb-theme:hover { background: color-mix(in srgb, var(--wb-ink, #1d1d1f) 8%, transparent); }
.wonbar .wb-logo:focus-visible, .wonbar .wb-it:focus-visible, .wonbar .wb-theme:focus-visible, .wonbar .wb-lang:focus-visible { outline: 2px solid var(--wb-acc, #2563eb); outline-offset: 2px; }
@media (max-width: 900px) {
  .wonbar { --wb-h: 56px; }
  .wonbar-in { width: calc(100% - 32px); display: flex; }
  .wonbar .wb-word { height: 18px; }
  .wonbar .wb-list { flex: 1; justify-content: flex-start; margin-left: 10px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10px, #000 calc(100% - 22px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 10px, #000 calc(100% - 22px), transparent); padding: 0 16px 0 6px; }
  .wonbar .wb-list::-webkit-scrollbar { display: none; }
  .wonbar .wb-end { padding-left: 2px; gap: 6px; }
}
@media (max-width: 560px) {
  .wonbar .wb-it { padding: 0 11px; }
  .wonbar .wb-lang { padding: 0 8px; } .wonbar .wb-lang span { display: none; }
}

/* ===== 全局页脚（五个产品入口）：各站同一份，无卡片、无背景 ===== */
.wonfoot, .wf-legal { color: var(--wb-ink, #1d1d1f); background: transparent; }
.wonfoot, .wonfoot *, .wf-legal, .wf-legal * { box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", Roboto, "Helvetica Neue", Arial, sans-serif !important; letter-spacing: normal !important; text-transform: none !important; }
.wonfoot { position: relative; z-index: 2; padding: 84px 0 0; font-size: 13.5px !important; font-weight: 500 !important; line-height: 1.4 !important; -webkit-font-smoothing: antialiased; }
.wonfoot a, .wf-legal a { color: inherit; text-decoration: none; background: none; }
.wonfoot ul, .wonfoot li, .wonfoot p { margin: 0; padding: 0; list-style: none; }
.wf-in { width: min(1080px, 100% - 48px); margin-inline: auto; }
.wf-top { display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid color-mix(in srgb, var(--wb-ink, #1d1d1f) 13%, transparent); }
.wonfoot .wf-logo { display: inline-flex; color: var(--wb-ink, #1d1d1f); transition: opacity .15s; } .wonfoot .wf-logo:hover { opacity: .7; }
.wonfoot .wf-word { display: block; height: 22px; width: auto; }
.wonfoot .wf-tag { font-size: 14px !important; font-weight: 500 !important; color: color-mix(in srgb, var(--wb-ink, #1d1d1f) 60%, transparent); }
.wonfoot .wf-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 16px; }
.wonfoot .wf-it { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; height: 100%; padding: 30px 6px 32px 0; transition: color .2s; }
.wonfoot .wf-it.k-nm { --c: #2aa5f2; } .wonfoot .wf-it.k-cpe { --c: #3b5bf0; } .wonfoot .wf-it.k-wl { --c: #0fa89a; } .wonfoot .wf-it.k-pm { --c: #7059f0; } .wonfoot .wf-it.k-ms { --c: #19a85a; }
/* 可跳转的提示：顶部一小段产品色短线，悬停 / 聚焦时沿分隔线向右铺满；标题下方同色细线随之展开；图标轻微上浮 */
.wonfoot .wf-it::after { content: ""; position: absolute; left: 0; top: -1px; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 28%, transparent)); transition: width .55s cubic-bezier(.2, .7, .2, 1); }
.wonfoot .wf-it:hover::after, .wonfoot .wf-it:focus-visible::after { width: calc(100% - 6px); }
.wonfoot .wf-mark { width: 30px; height: 30px; display: block; flex: none; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.wonfoot .wf-it:hover .wf-mark, .wonfoot .wf-it:focus-visible .wf-mark { transform: translateY(-4px) scale(1.06); }
.wonfoot .wf-t { display: grid; gap: 4px; min-width: 0; justify-items: start; }
.wonfoot .wf-t b { font-size: 15px !important; font-weight: 650 !important; color: var(--wb-ink, #1d1d1f); line-height: 1.3 !important; padding-bottom: 3px; background: linear-gradient(var(--c), var(--c)) 0 100% / 0 1.5px no-repeat; transition: background-size .45s cubic-bezier(.2, .7, .2, 1), color .25s; }
.wonfoot .wf-it:hover .wf-t b, .wonfoot .wf-it:focus-visible .wf-t b { background-size: 100% 1.5px; color: color-mix(in srgb, var(--c) 72%, var(--wb-ink, #1d1d1f)); }
.wonfoot .wf-t small { font-size: 12.5px !important; font-weight: 500 !important; line-height: 1.5 !important; color: color-mix(in srgb, var(--wb-ink, #1d1d1f) 56%, transparent); }
.wonfoot .wf-it:focus-visible { outline: 2px solid var(--wb-acc, #2563eb); outline-offset: 2px; border-radius: 8px; }
.wf-legal { position: relative; z-index: 2; font-size: 12.5px !important; font-weight: 500 !important; line-height: 1.5 !important; padding-bottom: 36px; }
.wf-legal .wf-in { display: flex; justify-content: space-between; gap: 8px 28px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid color-mix(in srgb, var(--wb-ink, #1d1d1f) 13%, transparent); color: color-mix(in srgb, var(--wb-ink, #1d1d1f) 56%, transparent); }
.wf-legal .wf-lg { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.wf-legal a:hover { color: var(--wb-ink, #1d1d1f); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1000px) { .wonfoot .wf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .wonfoot { padding-top: 60px; }
  .wonfoot .wf-grid { grid-template-columns: 1fr; }
  .wonfoot .wf-it { flex-direction: row; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid color-mix(in srgb, var(--wb-ink, #1d1d1f) 9%, transparent); }
  .wonfoot .wf-it::after { top: auto; bottom: -1px; }
  .wf-in { width: calc(100% - 32px); }
}
