/* 由 portal/scripts/site-chrome.mjs 生成，不手改 */
:host {
  --font: "PingFang SC", "Microsoft YaHei", "微软雅黑", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-num: "DIN Alternate", "Bahnschrift", "Helvetica Neue", Arial, var(--font);

  /* 品牌红：取自华万 logo 扇面 #D7261E */
  --brand-50: #fef2f1;
  --brand-100: #fde3e1;
  --brand-200: #fac4c0;
  --brand-300: #f4948d;
  --brand-400: #e9584f;
  --brand-500: #d7261e;
  --brand-600: #b91c15;
  --brand-700: #971711;
  --brand-rgb: 215, 38, 30;
  --grad-brand: linear-gradient(120deg, #d7261e 0%, #e5402a 55%, #ff6a3d 100%);
  --grad-brand-soft: linear-gradient(135deg, #fff6f4 0%, #fff0ed 50%, #fff5ee 100%);

  /* 暖橙点缀：渐变尾色、强调字、光晕 */
  --warm-400: #ff7a3d;
  --warm-700: #c2500f;
  --warm-50: #fff4ec;
  --warm-25: #fff8f2;
  --warm-gray-50: #fbf7f5;
  --warm-rgb: 255, 122, 61;

  /* 深色背景：石墨（页脚、转化横条、深色轮播） */
  --dark-950: #12151b;
  --dark-900: #181c24;
  --dark-800: #20252f;
  --dark-700: #2b313d;
  --dark-rgb: 24, 28, 36;
  /* 辅助顶栏：左暖右深，品牌红光晕在左，向右逐渐加深 */
  --grad-topbar:
    radial-gradient(560px 48px at 0% 50%, rgba(215, 38, 30, .55), transparent 68%),
    radial-gradient(380px 40px at 22% 110%, rgba(255, 122, 61, .28), transparent 72%),
    linear-gradient(90deg, #2a1513 0%, #1c1918 38%, #12151b 100%);
  --topbar-bg: var(--grad-topbar);
  --grad-dark: linear-gradient(120deg, #15191f 0%, #1c2028 55%, #232831 100%);
  --green-600: #14965a;
  --green-50: #e8f7ef;

  /* 用色规则：红色只给主按钮、价格、当前态和品牌点缀；不用粉色底，标签、图标底、悬停底一律中性灰
     每屏实心红按钮不超过两处，其余用描边按钮 */
  --price: var(--brand-500);
  --accent: #ff6a1f;
  --accent-600: #f25a0f;
  --accent-50: #fff3eb;
  --accent-200: #ffcfb3;
  --brand-red: var(--brand-500);

  /* 中性色：纯灰，不带蓝调。tokens.css 以外的样式不直接写十六进制色值，npm run check 会报错 */
  --white: #fff;
  --black: #000;
  --title: #262626;
  --text: #3b4048;
  --sub: #595959;
  --muted: #8c8c8c;
  --placeholder: #bfbfbf;
  --line-strong: #d9d9d9;
  --line: #e8e8e8;
  --line-soft: #f0f0f0;
  --fill-3: #ebebeb;
  --fill-2: #f3f3f3;
  --fill-1: #f8f8f8;
  --page-bg: #f8f8f8;
  --footer-bg: var(--dark-950);

  /* 兼容旧变量名 */
  --navy-950: var(--dark-950);
  --navy-900: var(--dark-900);
  --navy-800: var(--dark-800);
  --navy-700: var(--dark-700);
  --navy-rgb: var(--dark-rgb);
  --grad-navy: var(--grad-dark);
  --cyan-400: var(--warm-400);
  --cyan-700: var(--warm-700);
  --cyan-50: var(--warm-50);
  --indigo-500: var(--brand-400);
  --indigo-50: var(--brand-50);
  --red: var(--brand-500);
  --red-strong: var(--brand-500);
  --red-soft: var(--brand-50);
  --grad-red: var(--brand-500);
  --link: var(--brand-500);
  --gray-bg: var(--fill-2);

  /* 字号阶梯：区块标题 36，卡片大标题 28，卡片标题 18–20，说明 16，标签 14，元信息 12 */
  --fs-12: 12px;
  --fs-14: 14px;
  --fs-16: 16px;
  --fs-18: 18px;
  --fs-20: 20px;
  --fs-24: 24px;
  --fs-28: 28px;
  --fs-36: 36px;
  --fs-44: 44px;

  /* 布局：全站区块、页头、转化条与页脚两侧统一用 --wrap-x（≥1334 宽为 1200 居中栏，否则 5%）；--pad-x 只给页头导航、抽屉等全宽控件 */
  --header-h: 60px;
  --header-h-tall: 72px;
  --topbar-h: 32px;
  --ad-bar-h: 60px;
  --pad-x: 5%;
  --wrap: 1200px;
  --wrap-x: max(var(--pad-x), calc((100% - var(--wrap)) / 2));
  --sec-y: 96px;
  --sec-y-md: 72px;
  --sec-y-sm: 48px;

  /* 圆角 */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 8px;
  --r-card: 12px;
  --r-lg: 16px;
  --r-pill: 999px;

  /* 阴影：卡片只用阴影不加描边。静止 / 悬停 / 弹层 */
  --sh-1: 0 0 1px rgba(0, 0, 0, .28), 0 6px 24px rgba(0, 0, 0, .04);
  --sh-2: 0 0 1px rgba(0, 0, 0, .3), 0 16px 40px rgba(0, 0, 0, .08);
  --sh-3: 0 0 1px rgba(0, 0, 0, .2), 0 16px 48px rgba(0, 0, 0, .12);
  --shadow-card: var(--sh-1);
  --shadow-soft: var(--sh-1);
  --shadow-pop: var(--sh-3);
  --ring: 0 0 0 3px rgba(var(--brand-rgb), .14);
  --glow: 0 6px 16px rgba(var(--brand-rgb), .24);

  /* 动效 */
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-1: 150ms;
  --dur-2: 240ms;
  --dur-3: 400ms;
}

/* 隔离层复位：只作用于 Shadow DOM 内，不碰到站点包页面 */
:host {
  display: block;
  position: relative;
  z-index: 400;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
*, *::before, *::after { box-sizing: border-box; }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:where(img[width][height]) { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
input:focus, button:focus { outline: none; }
:focus-visible { outline: 2px solid rgba(var(--brand-rgb), .55); outline-offset: 2px; border-radius: var(--r-xs); }
[hidden] { display: none !important; }
@media (max-width: 900px) {
  :host { --pad-x: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
}

.ico {
display: inline-block; flex: none; vertical-align: middle; overflow: visible; --ico-c: var(--brand-500); --ico-f: var(--fill-3); --ico-w: 2.2;
}
.ico .f {
fill: var(--ico-f);
}
.ico .p {
fill: var(--ico-c);
}
.ico .s, .ico .fs {
stroke: var(--ico-c); stroke-width: var(--ico-w); stroke-linecap: round; stroke-linejoin: round;
}
.ico .s {
fill: none;
}
.ico .fs {
fill: var(--ico-f);
}
.ico .o {
opacity: .45;
}
.ico--light {
--ico-c: var(--white); --ico-f: rgba(255, 255, 255, .16);
}
.ico--soft {
--ico-c: var(--brand-400); --ico-f: var(--fill-2);
}
.ico--thin {
--ico-w: 1.6;
}
.ico-halo {
position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: var(--halo, 72px);
  height: var(--halo, 72px);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, var(--white) 0%, var(--fill-1) 60%, var(--fill-3) 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .04), 0 8px 20px rgba(0, 0, 0, .06);
}
.ico-tile {
display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: var(--tile, 48px);
  height: var(--tile, 48px);
  border-radius: var(--r-card);
  background: linear-gradient(145deg, var(--white) 0%, var(--fill-2) 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05);
}
.logo-tile {
--lt: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: var(--lt);
  height: var(--lt);
  padding: calc(var(--lt) * .16);
  border: 1px solid var(--line);
  border-radius: calc(var(--lt) * .22);
  background: var(--white);
  overflow: hidden;
}
.logo-tile img {
width: 100%; height: 100%; object-fit: contain;
}
.logo-tile--icon {
padding: 0;
}
.logo-tile--mark {
padding: 0; background: var(--fill-1); color: var(--title); font-family: var(--font-num); font-size: calc(var(--lt) * .36); font-weight: 700; line-height: 1;
}
.logo-tile--mark.is-long {
font-size: calc(var(--lt) * .26);
}
.topbar {
position: relative;
  z-index: 110;
  height: var(--topbar-h);
  overflow: visible;
  background: var(--topbar-bg);
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  line-height: 32px;
}
.topbar::after {
content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(var(--warm-rgb), .16) 12%, rgba(var(--brand-rgb), .22) 28%, transparent 78%);
  pointer-events: none;
}
.topbar-in {
display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--wrap-x);
}
.topbar-left, .topbar-right {
display: flex; align-items: center; height: 100%;
}
.topbar-group {
display: flex; align-items: center; gap: 20px; height: 100%;
}
.topbar-sep {
flex: none; width: 1px; height: 12px; margin: 0 16px; background: rgba(255, 255, 255, .16);
}
.topbar-item {
position: relative; display: flex; align-items: center; height: 100%;
}
.topbar-item.is-open {
z-index: 2;
}
.topbar-btn, .topbar-link {
display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  line-height: 32px;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--dur-1);
}
.topbar-btn svg:not(.caret), .topbar-link svg {
width: 14px; height: 14px; flex: none;
}
.topbar-btn .caret {
width: 8px; height: 5px; margin-left: 2px;
}
.topbar-link span {
color: var(--white); font-weight: 500;
}
.topbar-btn:hover, .topbar-link:hover, .topbar-item.is-open > .topbar-btn {
color: var(--white);
}
.topbar-item.is-open .caret {
transform: rotate(180deg); color: var(--white);
}
.topbar-sites {
display: flex; flex-direction: column; min-width: 180px;
}
.topbar-sites a {
display: block;
  padding: 10px 22px;
  color: var(--text);
  font-size: 14px;
  line-height: 22px;
  white-space: nowrap;
}
.topbar-sites a:hover {
color: var(--brand-500); background: var(--fill-1);
}
.topbar-btn svg.topbar-brand {
width: 16px; height: 16px;
}
.topbar-qr {
display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 200px;
  padding: 16px 16px 14px;
  text-align: center;
  white-space: normal;
}
.topbar-qr-head {
display: flex; align-items: center; gap: 8px; align-self: stretch; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft);
}
.topbar-qr-head b {
font-size: 14px; font-weight: 600; line-height: 22px; color: var(--title);
}
.topbar-qr-ico {
width: 20px; height: 20px; flex: none;
}
.topbar-qr img {
display: block; width: 120px; height: 120px; padding: 4px; border: 1px solid var(--line-soft); border-radius: var(--r-xs); background: var(--white);
}
.topbar-qr small {
align-self: stretch; font-size: 12px; line-height: 18px; color: var(--muted); text-align: center; white-space: normal;
}
.topbar-qr-empty {
display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 120px;
  height: 120px;
  border-radius: var(--r-xs);
  background: var(--fill-1);
}
.topbar-qr-logo {
width: 44px; height: 44px;
}
.topbar-qr-empty em {
font-size: 12px; font-style: normal; line-height: 18px; color: var(--sub);
}
.pop.topbar-lang {
left: auto; right: 0; display: flex; flex-direction: column; min-width: 180px; transform-origin: calc(100% - 24px) 0;
}
.topbar-lang-opt {
display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 22px;
  font-size: 14px;
  line-height: 22px;
  white-space: nowrap;
}
.topbar-lang-opt.is-current {
color: var(--brand-500); background: var(--fill-1);
}
.topbar-lang-opt svg {
width: 14px; height: 14px; flex: none;
}
.topbar-lang-opt.is-off {
color: var(--muted); cursor: not-allowed;
}
.topbar-lang-opt small {
font-size: 12px; color: var(--muted);
}
.topbar-item > .pop.pop--down {
top: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}
.topbar-item > .pop.pop--down:not(.topbar-qr) {
min-width: 180px; padding: 6px 0;
}
.topbar-item > .pop.pop--down::before {
top: 0;
  left: var(--caret-x, 32px);
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 0;
  background: var(--white);
  clip-path: none;
  box-shadow: none;
  transform: translate(-50%, -50%) rotate(45deg);
}
.topbar-item > .pop::after {
content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 8px;
}
.topbar-item:hover > .pop,
.topbar-item:focus-within > .pop {
opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(.98);
}
.topbar-item.is-open > .pop,
.topbar-item.is-open:hover > .pop,
.topbar-item.is-open:focus-within > .pop {
opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}
.topbar-panel {
position: absolute;
  left: var(--wrap-x);
  right: var(--wrap-x);
  top: 100%;
  z-index: 1;
  padding: 28px 32px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: var(--r-lg);
  border-bottom-right-radius: var(--r-lg);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2);
}
.topbar-panel::before {
content: "";
  position: absolute;
  top: 0;
  right: var(--caret-right, 96px);
  width: 10px;
  height: 10px;
  background: var(--white);
  pointer-events: none;
  transform: translate(50%, -50%) rotate(45deg);
}
.topbar-map {
display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px 24px;
}
.topbar-map h4 {
margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  color: var(--title);
}
.topbar-map a {
display: block;
  font-size: 13px;
  line-height: 28px;
  color: var(--sub);
}
.topbar-map a:hover {
color: var(--brand-500);
}
.topbar-map-foot {
display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 24px -32px -28px;
  padding: 16px 32px;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  background: var(--fill-1);
}
.topbar-map-info {
display: flex; flex-wrap: wrap; gap: 8px 32px; min-width: 0;
}
.topbar-map-info span {
display: inline-flex; align-items: center; gap: 6px; font-size: 13px; line-height: 20px; color: var(--sub); white-space: nowrap;
}
.topbar-map-info svg {
width: 16px; height: 16px; flex: none; color: var(--muted);
}
.topbar-map-info b {
font-weight: 600; color: var(--title);
}
.topbar-map-info i {
margin-left: 4px; font-style: normal; color: var(--muted);
}
.topbar-map-info a {
display: inline; font-size: 13px; line-height: 20px; color: var(--title);
}
.topbar-map-info a:hover {
color: var(--brand-500);
}
.topbar-map-acts {
display: flex; flex: none; gap: 12px;
}
.topbar-panel.is-open {
opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.site-header {
position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  max-height: var(--header-h);
  box-shadow: 0 1px 0 rgba(20, 24, 33, .06);
  transition: height 320ms var(--ease-out), max-height 320ms var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.site-header::before {
content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  transition: background var(--dur-2) var(--ease-out);
}
.site-header.is-scrolled {
box-shadow: 0 1px 0 rgba(20, 24, 33, .06), 0 8px 24px rgba(20, 24, 33, .06);
}
.site-header.is-scrolled::before {
background: rgba(255, 255, 255, .92);
}
.site-header.is-solid::before {
background: var(--white);
}
@media (min-width: 901px) {
.site-header {
height: var(--header-h-tall); max-height: var(--header-h-tall);
}
.site-header.is-scrolled {
height: var(--header-h); max-height: var(--header-h);
}
.site-header .hd-logo img {
height: 32px;
}
.site-header.is-scrolled .hd-logo img {
height: 30px;
}
}
@media (prefers-reduced-motion: reduce) {
.site-header, .hd-logo img {
transition: none;
}
}
.hd-inner {
display: flex; align-items: center; justify-content: space-between; height: 100%; padding: 0 var(--wrap-x);
}
.hd-left {
display: flex; align-items: center; gap: 36px; height: 100%;
}
.hd-logo {
display: flex; flex: none; align-items: center; height: 100%;
}
.hd-logo img {
height: 30px; width: auto; transition: height 320ms var(--ease-out);
}
.hd-nav {
display: flex; align-items: center; gap: 30px; height: 100%;
}
.hd-nav > a,
.hd-drop > a,
.hd-drop > button {
position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 16px;
  color: var(--text);
  white-space: nowrap;
  transition: color var(--dur-2) var(--ease-out);
}
.hd-nav > a:hover,
.hd-drop:hover > a,
.hd-drop:hover > button,
.hd-drop.is-open > a,
.hd-drop.is-open > button {
color: var(--brand-500);
}
.caret {
width: 10px; height: 6px; margin-left: 6px; color: var(--muted); transition: transform var(--dur-2) var(--ease-out), color var(--dur-2);
}
.caret path {
fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round;
}
.hd-drop:hover .caret, .hd-drop.is-open .caret {
transform: rotate(180deg); color: var(--brand-500);
}
.hd-more, .hd-more [data-fold] {
display: none;
}
.hd-ink {
position: absolute;
  left: 0;
  bottom: 0;
  width: 1px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-500);
  opacity: 0;
  transform-origin: left center;
  pointer-events: none;
}
.ink-ready > .hd-ink {
transition: transform 320ms var(--ease-out), opacity var(--dur-2);
}
.hd-ink.is-on {
opacity: 1;
}
.hd-drop {
position: relative; height: 100%;
}
.hd-menu {
position: absolute;
  top: calc(100% + 8px);
  left: -12px;
  min-width: 288px;
  padding: 10px 8px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  background: var(--white);
  box-shadow: var(--sh-3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--dur-2) var(--ease-out) 100ms, transform var(--dur-2) var(--ease-out) 100ms, visibility 0s linear 340ms;
}
.hd-menu::before {
content: "";
  position: absolute;
  top: -5px;
  left: calc(var(--arrow-x, 32px) + 12px);
  width: 12px;
  height: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  background: var(--white);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  transform: translateX(-50%) rotate(45deg);
}
.hd-menu::after {
content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px;
}
.hd-drop:not(.hd-drop--mega):hover .hd-menu,
.hd-drop:focus-within .hd-menu,
.hd-drop.is-open .hd-menu {
opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.hd-menu > a {
position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  color: var(--title);
  white-space: nowrap;
  transition: background var(--dur-1), color var(--dur-1);
}
.hd-menu > a.is-current {
background: var(--fill-2); color: var(--brand-500);
}
.hd-menu > a.is-current::before {
content: ""; position: absolute; top: 12px; bottom: 12px; left: 0; width: 2px; border-radius: 2px; background: var(--brand-500);
}
.hd-menu .ico {
--ico-w: 2.6;
}
.hd-menu > a b {
display: block; font-size: 14px; font-weight: 500; line-height: 20px;
}
.hd-menu > a small {
display: block; margin-top: 2px; font-size: 12px; line-height: 18px; color: var(--muted);
}
.hd-menu > a:hover {
background: var(--fill-2); color: var(--brand-500);
}
.hd-menu > a:hover small {
color: var(--sub);
}
.hd-drop--mega {
position: static;
}
.hd-mega {
top: 100%;
  left: 0;
  right: 0;
  min-width: 0;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--line-soft);
  border-radius: 0;
  box-shadow: 0 12px 24px rgba(20, 24, 33, .10);
  transform: none;
  pointer-events: none;
  transition: opacity 160ms var(--ease-out), visibility 0s linear 160ms;
}
.hd-mega::before {
display: none;
}
.hd-mega::after {
content: "";
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 100vh;
  background: rgba(16, 22, 34, .22);
  pointer-events: none;
}
.hd-drop--mega.is-open > .hd-mega,
.hd-drop--mega:focus-within > .hd-mega {
display: block; opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 160ms var(--ease-out);
}
.hd-drop--mega:not(.is-open):not(:focus-within) > .hd-mega {
display: none;
}
.hd-nav.has-mega .hd-drop--mega:not(.is-open) > .hd-mega {
transition: none;
}
.mega-in {
display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 24px; padding: 20px var(--wrap-x) 16px;
}
.mega-in--market {
grid-template-columns: 220px minmax(0, 1fr);
}
.mega-side {
display: flex; flex-direction: column; gap: 4px;
}
.mega-tab {
position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 8px; color: var(--title); transition: background var(--dur-1), color var(--dur-1);
}
.mega-tab > span:last-child {
min-width: 0;
}
.mega-tab b {
display: block; overflow: hidden; font-size: 14px; font-weight: 500; line-height: 20px; white-space: nowrap; text-overflow: ellipsis;
}
.mega-tab small {
display: block; margin-top: 2px; overflow: hidden; font-size: 12px; line-height: 18px; color: var(--muted); white-space: nowrap; text-overflow: ellipsis;
}
.mega-tab:hover {
background: var(--fill-1);
}
.mega-in--self .mega-tab-ico {
background: linear-gradient(135deg, var(--brand-400), var(--brand-600));
}
.mega-in--self .mega-tab-ico .ico {
--ico-c: var(--white); --ico-f: rgba(255, 255, 255, .2);
}
.mega-in--self .mega-tab.is-on {
background: var(--brand-50);
}
.mega-in--self .mega-tab.is-on b {
color: var(--brand-500); font-weight: 600;
}
.mega-in--self .mega-tab.is-on small {
color: var(--sub);
}
.mega-in--self .mega-tab.is-on:hover {
background: var(--brand-50);
}
.mega-in--market .mega-tab {
height: 36px; padding: 0 12px;
}
.mega-in--market .mega-tab b {
flex: 1; min-width: 0;
}
.mega-in--market .mega-tab small {
display: block; flex: none; margin: 0; font-size: 12px; line-height: 20px; color: var(--muted);
}
.mega-in--market .mega-tab.is-on {
background: var(--brand-500); color: var(--white);
}
.mega-in--market .mega-tab.is-on b, .mega-in--market .mega-tab.is-on small {
color: var(--white);
}
.mega-in--market .mega-tab.is-on:hover {
background: var(--brand-500);
}
.mega-tab-ico {
display: flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--brand-50);
}
.mega-panes {
display: grid; min-width: 0;
}
.mega-pane {
grid-area: 1 / 1; align-self: start; min-width: 0; visibility: hidden; padding: 20px 24px; border: 1px solid var(--line-soft); border-radius: 12px; background: var(--fill-1);
}
.mega-pane.is-on {
visibility: visible; animation: mega-fade 160ms var(--ease-out);
}
@keyframes mega-fade {
from { opacity: 0; }
}
.mega-pane-head {
display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px;
}
.mega-pane-head b {
display: block; font-size: 18px; font-weight: 600; line-height: 26px; color: var(--title);
}
.mega-pane-head span {
display: block; margin-top: 2px; font-size: 13px; line-height: 20px; color: var(--sub);
}
.mega-pane-head > a, .mega-foot a {
display: inline-flex; align-items: center; gap: 6px; flex: none; font-size: 13px; color: var(--brand-500); white-space: nowrap;
}
.mega-grid, .mega-grid--sol {
display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
}
.mega-grid--sol {
min-height: 312px;
}
.mega-card, .mega-sol {
display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); box-shadow: 0 1px 2px rgba(20, 24, 33, .04); transition: border-color var(--dur-1), box-shadow var(--dur-1);
}
.mega-card:hover, .mega-sol:hover {
border-color: var(--brand-200); background: var(--white); box-shadow: 0 6px 16px rgba(20, 24, 33, .08);
}
.mega-card-txt {
min-width: 0; flex: 1;
}
.mega-card b, .mega-sol b {
display: -webkit-box; overflow: hidden; font-size: 14px; font-weight: 600; line-height: 20px; color: var(--title); -webkit-line-clamp: 1; -webkit-box-orient: vertical;
}
.mega-card b .tag {
margin-left: 6px; vertical-align: 1px;
}
.mega-card small, .mega-sol small {
display: -webkit-box; margin-top: 2px; overflow: hidden; font-size: 12px; line-height: 18px; color: var(--sub); -webkit-line-clamp: 1; -webkit-box-orient: vertical;
}
.mega-card .tag {
height: 18px; padding: 0 5px; font-size: 12px; font-weight: 400;
}
.mega-card .logo-tile {
border-radius: 10px; border-color: var(--line); background: var(--white);
}
.mega-card .logo-tile--icon {
border: 1px solid var(--line); background: var(--white);
}
.mega-card .mega-tab-ico, .mega-sol .mega-tab-ico {
width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--white);
}
.mega-card img[data-src] {
visibility: hidden;
}
.mega-card--ask {
border-style: dashed;
}
.mega-split {
display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 0; padding-top: 12px; border-top: 1px solid var(--line-soft);
}
.mega-group {
min-width: 0; padding-right: 20px;
}
.mega-group--intl {
padding: 0 0 0 20px; border-left: 1px solid var(--line-soft);
}
.mega-group-label {
display: flex; align-items: center; gap: 6px; margin-bottom: 10px; font-size: 12px; line-height: 18px; color: var(--sub);
}
.mega-group-label::before {
content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-500);
}
.mega-group--intl .mega-group-label::before {
background: var(--accent);
}
.mega-grid--home {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mega-grid--intl {
grid-template-columns: minmax(0, 1fr);
}
.mega-picks {
display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px;
}
.mega-intro {
gap: 0;
}
.mega-intro b {
font-size: 18px; font-weight: 600; line-height: 26px; color: var(--title);
}
.mega-intro p {
margin: 8px 0 20px; font-size: 13px; line-height: 22px; color: var(--sub);
}
.mega-intro .btn {
align-self: flex-start;
}
.mega-foot {
border: 0; background: var(--white);
}
.mega-foot-in {
display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 48px; margin: 0 var(--wrap-x); padding-left: 12px; border-top: 1px solid var(--line-soft);
}
.mega-foot-links {
display: flex; gap: 28px; min-width: 0;
}
.mega-foot .mega-foot-links a {
color: var(--sub); transition: color var(--dur-1);
}
.mega-foot .mega-foot-links a:hover {
color: var(--brand-500);
}
.hd-right {
display: flex; flex: none; align-items: center; gap: 4px; height: 100%;
}
.hd-icon {
display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: var(--text); transition: background var(--dur-1), color var(--dur-1);
}
.hd-icon:hover, .hd-icon[aria-expanded="true"] {
background: var(--fill-2); color: var(--brand-500);
}
.hd-icon svg {
width: 18px; height: 18px;
}
.hd-link {
display: flex; align-items: center; gap: 6px; margin: 0 12px 0 4px; font-size: 14px; color: var(--text); white-space: nowrap; transition: color var(--dur-1);
}
.hd-link svg {
width: 16px; height: 16px;
}
.hd-link:hover {
color: var(--brand-500);
}
.hd-console {
display: flex;
  align-items: center;
  height: 32px;
  padding: 0 16px;
  margin-right: 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--white);
  font-size: 14px;
  color: var(--title);
  white-space: nowrap;
  transition: color var(--dur-1), border-color var(--dur-1);
}
.hd-console:hover {
color: var(--brand-500); border-color: var(--brand-300);
}
.hd-login {
display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 18px;
  border-radius: var(--r-pill);
  background: var(--brand-500);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background var(--dur-1), box-shadow var(--dur-2);
}
.hd-login:hover {
background: var(--brand-600); box-shadow: var(--glow);
}
.hd-account {
display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px 0 4px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--white); font-size: 14px; color: var(--title); white-space: nowrap; transition: border-color var(--dur-1), color var(--dur-1);
}
.hd-account:hover {
border-color: var(--brand-300); color: var(--brand-500);
}
.hd-account[hidden] {
display: none;
}
.hd-avatar {
display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-500); color: var(--white); font-size: 12px; font-weight: 500;
}
.hd-account-name {
max-width: 96px; overflow: hidden; font-family: var(--font-num); letter-spacing: .3px; text-overflow: ellipsis;
}
.hd-burger {
display: none; position: relative; width: 40px; height: 40px; border-radius: var(--r-sm);
}
.hd-burger i {
position: absolute; left: 11px; width: 18px; height: 1.6px; border-radius: 2px; background: var(--title); transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-1);
}
.hd-burger i:nth-child(1) {
top: 14px;
}
.hd-burger i:nth-child(2) {
top: 19.5px;
}
.hd-burger i:nth-child(3) {
top: 25px;
}
.hd-burger[aria-expanded="true"] i:nth-child(1) {
transform: translateY(5.5px) rotate(45deg);
}
.hd-burger[aria-expanded="true"] i:nth-child(2) {
opacity: 0;
}
.hd-burger[aria-expanded="true"] i:nth-child(3) {
transform: translateY(-5.5px) rotate(-45deg);
}
:host([data-section="index"]) .hd-nav [data-nav="index"],
:host([data-section="products"]) [data-nav="products"] > a,
:host([data-section="solutions"]) [data-nav="solutions"] > a,
:host([data-section="pricing"]) [data-nav="pricing"],
:host([data-section="market"]) [data-nav="market"] > a,
:host([data-section="partners"]) [data-nav="partners"],
:host([data-section="services"]) [data-nav="services"] > a,
:host([data-section="docs"]) [data-nav="services"] > a,
:host([data-section="news"]) [data-nav="news"],
:host([data-section="about"]) [data-nav="about"] > a {
color: var(--brand-500); font-weight: 500;
}
.hd-search {
position: absolute; top: 100%; left: 0; right: 0; padding: 28px var(--wrap-x) 32px; border-top: 1px solid var(--line-soft); background: var(--white); box-shadow: 0 24px 48px rgba(20, 24, 33, .12); animation: panel-in var(--dur-3) var(--ease-out) both;
}
.hd-search > * {
max-width: 760px; margin-left: auto; margin-right: auto;
}
.hd-search-box {
display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 4px 0 16px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); transition: border-color var(--dur-1), box-shadow var(--dur-1);
}
.hd-search-box:focus-within {
border-color: var(--brand-400); box-shadow: var(--ring);
}
.hd-search-box > svg {
width: 18px; height: 18px; flex: none; fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round;
}
.hd-search-box input {
flex: 1; min-width: 0; height: 100%; border: 0; background: none; font-size: 16px;
}
.hd-search-box input::placeholder {
color: var(--placeholder);
}
.hd-search-box .btn {
height: 38px;
}
.hd-search-hot {
display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 16px; font-size: 14px;
}
.hd-search-hot span {
color: var(--muted);
}
.hd-search-hot a {
color: var(--text); transition: color var(--dur-1);
}
.hd-search-hot a:hover {
color: var(--brand-500);
}
.hd-search-res {
display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; margin-top: 12px;
}
.hd-search-res .mega-empty {
grid-column: 1 / -1; padding: 24px 0; font-size: 14px; color: var(--sub); text-align: center;
}
.hd-search-res .mega-empty a {
color: var(--brand-500);
}
.mega-item {
display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: var(--r-sm); transition: background var(--dur-1);
}
.mega-item:hover {
background: var(--fill-1);
}
.mega-item-txt {
min-width: 0;
}
.mega-item b {
display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; line-height: 20px; color: var(--title); transition: color var(--dur-1);
}
.mega-item:hover b {
color: var(--brand-500);
}
.mega-item small {
display: block; margin-top: 4px; font-size: 12px; line-height: 18px; color: var(--sub);
}
.mega-item .tag {
height: 18px; padding: 0 5px; font-size: 12px; font-weight: 400;
}
.drawer {
position: fixed; top: var(--drawer-top, var(--header-h)); left: 0; right: 0; bottom: 0; z-index: 99; display: flex; flex-direction: column; background: var(--white); border-top: 1px solid var(--line-soft); animation: panel-in var(--dur-2) var(--ease-out) both;
}
.drawer-body {
flex: 1; overflow-y: auto; padding: 4px 0 16px; overscroll-behavior: contain;
}
.drawer-link, .drawer-group > summary {
display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 var(--pad-x); border-bottom: 1px solid var(--line-soft); font-size: 16px; color: var(--title); cursor: pointer; list-style: none;
}
.drawer-group > summary::-webkit-details-marker {
display: none;
}
.drawer-group[open] > summary {
color: var(--brand-500);
}
.drawer-group[open] > summary .caret {
transform: rotate(180deg); color: var(--brand-500);
}
.drawer-links {
display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; padding: 8px var(--pad-x) 12px; background: var(--fill-1); border-bottom: 1px solid var(--line-soft);
}
.drawer-links a {
display: flex; align-items: center; height: 40px; font-size: 14px; color: var(--text);
}
.drawer-foot {
display: flex; gap: 12px; padding: 12px var(--pad-x) calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-soft);
}
.drawer-foot .btn {
flex: 1;
}
.btn {
display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-out);
}
.btn:active {
transform: scale(.98);
}
.btn[disabled], .btn.is-disabled {
opacity: .45; pointer-events: none;
}
.btn-red {
background: var(--brand-500); color: var(--white);
}
.btn-red:hover {
background: var(--brand-600); box-shadow: var(--glow);
}
.btn-line {
border-color: var(--line-strong); background: var(--white); color: var(--title);
}
.btn-line:hover {
border-color: var(--brand-300); color: var(--brand-500);
}
.btn-line-red, .btn-soft {
border-color: rgba(var(--brand-rgb), .32); background: var(--white); color: var(--brand-500);
}
.btn-line-red:hover, .btn-soft:hover {
border-color: var(--brand-500); background: var(--brand-500); color: var(--white);
}
.btn-line-white {
border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .06); color: var(--white);
}
.btn-line-white:hover {
border-color: var(--white); background: var(--white); color: var(--brand-600);
}
.btn-white {
background: var(--white); color: var(--brand-600);
}
.btn-white:hover {
background: var(--fill-1); box-shadow: var(--sh-3);
}
.btn-red {
height: 32px; padding: 0 18px;
}
.btn-sm {
height: 32px; padding: 0 16px; font-size: 14px;
}
.btn-md {
height: 40px; padding: 0 28px; font-size: 14px;
}
.btn-lg {
height: 48px; padding: 0 32px; font-size: 16px;
}
.arrow-r {
width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--dur-2) var(--ease-out);
}
a:hover > .arrow-r, .btn:hover .arrow-r {
transform: translateX(3px) rotate(45deg);
}
.btn-circle {
display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-right: -8px;
  border-radius: 50%;
  background: currentColor;
  transition: transform var(--dur-2) var(--ease-out);
}
.btn-circle svg {
width: 10px; height: 10px;
}
.btn-circle path {
fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.btn-white .btn-circle path {
stroke: var(--white);
}
.btn:hover .btn-circle {
transform: translateX(3px);
}
.tag {
display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: var(--r-xs);
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}
.tag-blue, .tag-gray, .tag-fee {
background: var(--fill-2); color: var(--sub);
}
.tag-rec {
background: var(--brand-500); color: var(--white); font-weight: 500;
}
.tag-trial, .tag-cert {
box-shadow: inset 0 0 0 1px var(--line-strong); background: var(--white); color: var(--text);
}
.pop {
position: absolute;
  z-index: 5;
  padding: 16px 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  background: var(--white);
  box-shadow: var(--sh-3);
  color: var(--sub);
  font-size: 14px;
  line-height: 22px;
  text-align: left;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2);
}
.pop::before {
content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  background: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.pop--left {
top: 50%; right: calc(100% + 14px); transform: translate(10px, -50%) scale(.98); transform-origin: 100% 50%;
}
.pop--left::before {
top: 50%; right: -5px; transform: translateY(-50%) rotate(45deg);
}
.pop--top {
bottom: calc(100% + 14px); left: 50%; transform: translate(-50%, 10px) scale(.98); transform-origin: 50% 100%;
}
.pop--top::before {
bottom: -5px; left: 50%; transform: translateX(-50%) rotate(135deg);
}
.pop--down {
top: calc(100% + 10px); left: 0; transform: translateY(-8px) scale(.98); transform-origin: 16px 0;
}
.pop--down::before {
top: -6px; left: 16px; transform: rotate(45deg);
}
.pop.is-open, :hover > .pop, :focus-within > .pop {
opacity: 1; visibility: visible; transition-delay: 0s;
}
.pop--left.is-open, :hover > .pop--left, :focus-within > .pop--left {
transform: translate(0, -50%) scale(1);
}
.pop--top.is-open, :hover > .pop--top, :focus-within > .pop--top {
transform: translate(-50%, 0) scale(1);
}
.pop--down.is-open, :hover > .pop--down, :focus-within > .pop--down {
transform: translateY(0) scale(1);
}
.ink-ready > .tab-ink {
transition: transform 360ms var(--ease-out), opacity var(--dur-2);
}
@keyframes panel-in {
from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; }
}
@media (max-width: 1360px) {
.hd-left {
gap: 28px;
}
.hd-nav {
gap: 22px;
}
}
@media (max-width: 1279px) and (min-width: 901px) {
.hd-account {
padding: 0 3px;
}
.hd-account-name {
position: absolute; width: 1px; height: 1px; clip: rect(0 0 0 0);
}
}
@media (max-width: 1199px) and (min-width: 901px) {
.topbar-md-hide {
display: none;
}
.topbar-map {
grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px;
}
.hd-nav > [data-fold="1"] {
display: none;
}
.hd-more {
display: block;
}
.hd-more [data-fold="1"] {
display: flex;
}
.mega-in {
grid-template-columns: 272px minmax(0, 1fr); gap: 20px;
}
.mega-in--market {
grid-template-columns: 208px minmax(0, 1fr);
}
.mega-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mega-split {
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.mega-grid--home, .mega-grid--intl {
grid-template-columns: minmax(0, 1fr);
}
:host([data-section="news"]) .hd-more > button,
  :host([data-section="about"]) .hd-more > button {
color: var(--brand-500); font-weight: 500;
}
}
@media (max-width: 1079px) and (min-width: 901px) {
.hd-nav > [data-fold="2"] {
display: none;
}
.hd-more [data-fold="2"] {
display: flex;
}
:host([data-section="partners"]) .hd-more > button {
color: var(--brand-500); font-weight: 500;
}
}
@media (max-width: 1023px) and (min-width: 901px) {
.hd-left {
gap: 24px;
}
.hd-nav {
gap: 18px;
}
.hd-nav > [data-fold="3"] {
display: none;
}
.hd-more [data-fold="3"] {
display: flex;
}
:host([data-section="solutions"]) .hd-more > button {
color: var(--brand-500); font-weight: 500;
}
}
@media (max-width: 900px) {
.topbar {
display: none;
}
.hd-inner {
padding: 0 8px 0 var(--pad-x);
}
.hd-left {
gap: 16px;
}
.hd-nav, .hd-link, .hd-console {
display: none;
}
.hd-login {
padding: 0 14px;
}
.hd-burger {
display: block;
}
.hd-search {
padding: 16px var(--pad-x) 20px;
}
.hd-search-res {
grid-template-columns: 1fr;
}
.hd-search-box .btn {
padding: 0 16px;
}
:host([data-section="flow"]) .m-bar {
display: none;
}
:host([data-section="flow"]) {
padding-bottom: 0;
}
.hd-icon {
width: 40px; height: 40px;
}
}

/* 总站页头在站内站里随页面滚走，不吸顶（上滚滑回由 site-chrome.js 加 is-pinned） */
:host { background: #fff; }
.site-header, .site-header.is-scrolled { position: relative; background: #fff; box-shadow: none; }
.site-header::before, .site-header.is-scrolled::before { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
:host([data-pinned]) {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
}
:host([data-pinned]) .topbar { display: none; }
:host([data-pinned]) {
  transform: translateY(-100%);
}
:host([data-pinned][data-shown]) {
  transform: translateY(0);
}
:host([data-pinned]) .site-header {
  height: var(--header-h);
  max-height: var(--header-h);
  transition: none;
  background: #fff;
  box-shadow: none;
}
:host([data-pinned]) .site-header::before {
  background: #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
:host([data-pinned]) .site-header .hd-logo img { height: 30px; }
@media (prefers-reduced-motion: reduce) {
  :host([data-pinned]) { transition: none; }
}
:host([data-pinned]) {
  transition: transform 200ms cubic-bezier(.22, .61, .36, 1);
}

